/* Generated from src/styles; edit source, not this file. */
@font-face {
  font-weight: 1 999;
  font-family: "Anek Telugu";
  src: url("/assets/fonts/AnekTelugu-VariableFont.ttf") format("truetype-variations");
}
.blog-article-preview {
  position: relative;
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 14px;
  background-color: #fff;
}
.blog-article-preview h2 {
  position: relative;
  padding-bottom: 1rem;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  text-transform: uppercase;
}
.blog-article-preview h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 60px);
  width: 120px;
  display: block;
  border-bottom: 3px dotted rgba(112, 111, 111, 0.3);
}
.blog-article-preview .image-wrapper {
  width: 100%;
}
.blog-article-preview .image-wrapper img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 14px;
  aspect-ratio: 6/4;
}
.blog-article-preview .excerpt {
  font-size: 20px;
  line-height: 26px;
}
.blog-article-preview .read-more-button {
  margin-left: auto;
  width: -moz-max-content;
  width: max-content;
  padding: 0 2rem;
  display: block;
  border-radius: 15px;
  background-color: #cde61f;
}
.blog-article-preview .read-more-button span {
  position: relative;
  display: block;
  font-weight: 700;
  font-size: 20px;
  color: #706f6f;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(3px);
}
.blog-article-preview .read-more-button:hover {
  background-color: #a9c108;
}
.blog-article-preview .read-more-button:hover span {
  color: #fff;
}

.blog-header {
  position: relative;
  z-index: 2;
  width: 100%;
  background-color: white;
}
.blog-header img {
  position: relative;
  margin: auto;
  width: calc(100% - 25px);
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0 0 14px 14px;
  aspect-ratio: 6/4;
}
.blog-header .card {
  position: relative;
  margin: auto;
  width: calc(100% - 50px);
  padding: 30px 20px;
  border-radius: 14px;
  background-color: #fff;
  transform: translateY(-3rem);
}
.blog-header .card h1 {
  position: relative;
  font-weight: 700;
  font-size: 38px;
  line-height: 44px;
  text-align: center;
}
.blog-header .card h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: calc(50% - 80px);
  width: 160px;
  display: block;
  border-bottom: 3px solid #cde61f;
}
.blog-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 80%;
  display: block;
  background-color: #f5f5f5;
}

.blog-body {
  background-color: #f5f5f5;
}
.blog-body .container {
  margin: auto;
  width: calc(100% - 50px);
  padding-bottom: 3rem;
}
.blog-body .container .posts-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1000px) {
  .blog-header img {
    height: 224px;
  }
  .blog-header .card {
    width: -moz-max-content;
    width: max-content;
    padding: 50px 10px;
  }
  .blog-header .card h1 {
    margin: auto;
    width: 75%;
    font-size: 55px;
    line-height: 65px;
  }
  .blog-header .card h1::after {
    left: calc(50% - 120px);
    width: 240px;
  }
  .blog-body .container .posts-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5rem 6rem;
    justify-content: space-between;
  }
}
