h2 {
  margin-bottom: 20px;
}
.head {
  margin: 0;
  margin-top: 100px;
  padding: 0;
  min-height: 80vh;
  position: relative;
}

.head::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/blog/IMG_0913.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.head::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background-image: linear-gradient(to right, #fed9ac, #fed9ac83, #ffffff00);
  z-index: -1;
}

.head .container {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.head .container h1 {
  color: #2e3455;
}

.ql-1 {
  font-size: 24px;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.11);
}

.ql-2 {
  font-size: 42px;
  font-weight: bold;
}

/* blog */

.title-blogs {
  padding: 40px 0;
}

.title-blogs h2 {
  margin: 0;
  font-size: 40px;
  word-break: break-word;
}

.post-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* post */
.post-side {
  padding: 20px;
  padding-right: 40px;
  width: 70%;
  min-width: 500px;
}

.blog-post {
  margin-bottom: 20px;
}

.blog-post > * {
  margin-bottom: 20px;
}

.blog-post > h1 {
  font-size: 36px;
  font-family: TamilFont;
  word-break: break-word;
}

.blog-post .meta {
  margin-left: 5px;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.blog-post .meta span {
  margin-right: 20px;
  color: #6c757d;
}

.blog-post .meta span::before {
  content: "";
  display: inline-block;
  background-color: red;
  width: 8px;
  height: 8px;
  position: relative;
  left: -5px;
  border-radius: 100px;
}

.blog-post img {
  width: 100%;
  height: 400px;
  border-radius: 4px;
}

.blog-post .content {
  color: #343a40;
  font-size: 17px;
  font-family: TamilFont;
}

.content * {
  font-family: TamilFont !important;
  font-size: 17px !important;
}

.blog-post .content * {
  line-height: 1.5;
}

.content h1,
.content h2 {
  word-break: break-word;
  color: unset;
  text-align: unset;
  margin: 20px 0;
}

.content h1,
.container h1 * {
  font-size: 32px !important;
}

.content h2,
.content h2 * {
  font-size: 24px !important;
}

.content h2 span::before {
  display: none;
}

.blog-post li {
  padding-left: 40px;
  list-style: unset;
  list-style-position: inside;
}

/* blog category */
.blog-category {
  padding: 20px;
  width: 30%;
  min-width: 200px;
}

.blog-category h2 {
  text-align: left;
  font-size: 32px;
}

.blog-category li a {
  color: #212529;
  font-size: 20px;
  font-weight: bold;
}

/* anthorsection */
.author {
  margin: 20px 0;
  padding: 10px;
  background-color: #f1f3f5;
  width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text_ellipsis {
  display: -webkit-box;
  max-width: 100%;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.author > img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.author-details {
  padding: 10px;
}

.author-details > div {
  margin-bottom: 10px;
}

.author-tag {
  font-size: 14px;
}

.author-name {
  font-size: 24px;
  font-weight: bold;
  color: #ff0000;
}

.author-desc {
  font-size: 16px;
  color: #747474;
  margin-bottom: 20px;
  word-break: break-word;

}

/* mobile view */
@media (max-width: 800px) {
  /* head */
  .head {
    margin-top: 90px;
    min-height: 50vh;
  }

  .head::before {
    background-position: 80%;
  }

  .head::after {
    width: 40%;
  }

  .head .container {
    min-height: 50vh;
  }

  .head .container h1 {
    padding-left: 20px;
    color: white;
  }

  .ql-1 {
    font-size: 20px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  }

  .ql-2 {
    font-size: 38px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  }

  .title-blogs {
    padding: 20px 0;
  }

  .title-blogs h2 {
    margin: 0;
    font-size: 32px;
  }

  .post-side {
    padding: 0;
    width: 100%;
    min-width: 300px;
  }

  .blog-post > h1 {
    font-size: 32px;
  }

  .blog-post .meta {
    font-size: 15px;
  }

  .blog-post img {
    height: 180px;
  }

  .blog-post .content {
    font-size: 17px;
  }

  .content h1,
  .content h2 {
    margin: 10px 0;
  }

  .content h1,
  .container h1 * {
    font-size: 28px !important;
  }

  .content h2,
  .content h2 * {
    font-size: 22px !important;
  }

  .blog-post li {
    padding-left: 20px;
  }

  /* anthorsection */
  .author {
    width: 100%;
    flex-wrap: wrap;
  }

  .author > img {
    width: 220px;
    height: 220px;
  }

  .author-name {
    font-size: 20px;
  }
}
