/* =========================================
   BLOG SECTION
========================================= */

.blogs-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 50px 0;

  background: #f8faf8;
}


/* =========================================
   BACKGROUND GLOW
========================================= */

.blogs-glow {
  position: absolute;

  width: 500px;
  height: 500px;

  top: 40px;
  left: 50%;

  transform: translateX(-50%);

  border-radius: 50%;

  background: rgba(180, 220, 190, 0.30);

  filter: blur(140px);

  pointer-events: none;
}


/* =========================================
   SECTION HEADING
========================================= */

.blogs-heading {
  position: relative;
  z-index: 2;

  margin-bottom: 80px;
}

.blogs-badge {
  display: inline-flex;
  align-items: center;

  padding: 5px 16px;

  border: 1px solid #98e6a4;
  border-radius: 50px;

  background: #eff8f0;

   color: #059669;

  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}


.blogs-heading h2 {
  margin: 24px 0 0;

  color: #202923;

  font-size: 36px;
  line-height: 1.25;

  font-weight: 700;
}


.blogs-heading h2 span {
  color: #059669;
}


.blogs-heading p {
  max-width: 760px;

  margin: 16px auto 0;

  color: #66736b;

  font-size: 15px;
  line-height: 28px;
}


/* =========================================
   FEATURED BLOG
========================================= */

.featured-blog {
  position: relative;
  z-index: 2;

  margin-bottom: 56px;

  padding: 20px;

  overflow: hidden;

  border-radius: 32px;

  background: #ffffff;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);

  transition:
    box-shadow 0.5s ease,
    transform 0.5s ease;
}


.featured-blog:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
}


/* =========================================
   FEATURED IMAGE
========================================= */

.featured-blog-image {
  position: relative;

  height: 500px;

  overflow: hidden;

  border-radius: 24px;
}


.featured-blog-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.7s ease;
}


.featured-blog:hover .featured-blog-image img {
  transform: scale(1.05);
}


.featured-image-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(32, 41, 35, 0.40),
    transparent 60%
  );
}


.featured-label {
  position: absolute;

  top: 20px;
  left: 20px;

  display: inline-flex;
  align-items: center;

  padding: 5px 12px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.90);

  color: #202923;

  font-size: 11px;
  line-height: 18px;

  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.8px;

  backdrop-filter: blur(10px);
}


/* =========================================
   FEATURED CONTENT
========================================= */

.featured-blog-content {
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 8px 16px 8px 0;
}


.blog-category {
  display: inline-flex;
  width: fit-content;

  padding: 5px 12px;

  border-radius: 50px;

  background: #eff8f0;

  color: #059669;

  font-size: 12px;
  line-height: 18px;

  font-weight: 500;
  margin-left: 30px;
}



.featured-blog-content h2 {
 margin: 152px 30px 24px;

  color: #202923;

  font-size: 30px;
  line-height: 1.25;

  font-weight: 600;
}


.featured-blog-content p {
  max-width: 520px;

  margin: -10px 33px -1px;

  color: #66736b;

  font-size: 14px;
  line-height: 28px;
}


/* =========================================
   META
========================================= */

.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 13px;

  margin-top: 24px;

  color: #7b847e;

  font-size: 14px;
  line-height: 20px;
  margin-left: 30px;
}


.meta-dot {
  width: 4px;
  height: 4px;

  flex: 0 0 4px;

  border-radius: 50%;

  background: #d4d9d5;
}


/* =========================================
   FEATURED BUTTON
========================================= */

.featured-button-wrap {
  margin-top: 32px;
}


.read-article-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 12px 16px;
  margin-left: 30px;
  border: 0;
  border-radius: 50px;

  background: #f3d15f;

  color: #202923;

  font-size: 14px;
  line-height: 20px;

  font-weight: 500;

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}


.read-article-btn:hover {
  background: #059669;
  color: #ffffff;

  box-shadow: 0 10px 25px rgba(104, 133, 57, 0.25);
}


.read-arrow {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #ffffff;

  color: #202923;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}


.read-arrow svg {
  width: 16px;
  height: 16px;
}


.read-article-btn:hover .read-arrow {
  background: rgba(255, 255, 255, 0.20);
  color: #ffffff;
}


/* =========================================
   BLOG GRID
========================================= */

.blogs-grid {
  position: relative;
  z-index: 2;
}


/* =========================================
   BLOG CARD
========================================= */

.blog-card {
  height: 100%;

  overflow: hidden;

  cursor: pointer;

  border: 1px solid #e9eeea;

  border-radius: 32px;

  background: #ffffff;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);

  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}


.blog-card:hover {
  transform: translateY(-8px);

  border-color: #dcebdc;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}


/* =========================================
   CARD IMAGE
========================================= */

.blog-card-image {
  position: relative;

  height: 240px;

  overflow: hidden;
}


.blog-card-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.7s ease;
}


.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}


.blog-image-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(32, 41, 35, 0.40),
    rgba(32, 41, 35, 0.05) 55%,
    transparent
  );
}


.blog-image-category {
  position: absolute;

  top: 20px;
  left: 20px;

  padding: 7px 16px;

  border: 1px solid rgba(255, 255, 255, 0.20);

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.90);

  color: #3c443f;

  font-size: 12px;
  line-height: 18px;

  font-weight: 500;

  backdrop-filter: blur(10px);
}


/* =========================================
   CARD CONTENT
========================================= */

.blog-card-content {
  padding: 28px;
}


/* =========================================
   CARD META
========================================= */

.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 16px;

  color: #7b847e;

  font-size: 12px;
  line-height: 18px;
}


.meta-item {
  display: flex;
  align-items: center;

  gap: 6px;
}


.meta-item svg {
  width: 14px;
  height: 14px;

  color: #a0aaa3;

  stroke-width: 2;
}


/* =========================================
   CARD TITLE
========================================= */

.blog-card h3 {
  margin: 16px 0 0;

  color: #202923;

  font-size: 18px;
  line-height: 1.25;

  font-weight: 600;

  transition: color 0.3s ease;
}


.blog-card:hover h3 {
   color: #059669;
}


/* =========================================
   CARD DESCRIPTION
========================================= */

.blog-card p {
  margin: 16px 0 0;

  color: #4d6054;
    font-size: 13px;
  line-height: 28px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  overflow: hidden;
}


/* =========================================
   DIVIDER
========================================= */

.blog-divider {
  height: 1px;

  margin-top: 24px;

  background: #e9eeea;
}


/* =========================================
   CARD FOOTER
========================================= */

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 20px;
}


.blog-read {
  color: #202923;

  font-size: 14px;
  line-height: 20px;

  font-weight: 600;

  transition: color 0.3s ease;
}

.blog-read {
  text-decoration: none;
  cursor: pointer;
}

.blog-card:hover .blog-read {
  color: #059669;
}


/* =========================================
   ARROW
========================================= */

.blog-arrow {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #f5f7f5;

  color: #202923;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}


.blog-arrow svg {
  width: 16px;
  height: 16px;

  transition: transform 0.3s ease;
}


.blog-card:hover .blog-arrow {
  background: #f3d15f;
  color: #202923;
}


.blog-card:hover .blog-arrow svg {
  transform: translateX(4px);
}


/* =========================================
   LARGE TABLET
========================================= */

@media (max-width: 991.98px) {

  .blogs-section {
    padding: 70px 0;
  }

  .blogs-heading {
    margin-bottom: 60px;
  }

  .blogs-heading h2 {
    font-size: 36px;
  }

  .featured-blog-image {
    height: 420px;
  }

  .featured-blog-content {
    padding: 10px 10px 20px;
  }

  .featured-blog-content h2 {
    font-size: 28px;
  }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 767.98px) {

  .blogs-section {
    padding: 60px 0;
  }

  .blogs-heading {
    margin-bottom: 45px;
  }

  .blogs-heading h2 {
    font-size: 32px;
  }

  .blogs-heading p {
    font-size: 14px;
    line-height: 24px;
  }

  .featured-blog {
    padding: 14px;
    border-radius: 24px;
  }

  .featured-blog-image {
    height: 350px;
    border-radius: 18px;
  }

  .featured-blog-content {
    padding: 10px 8px 15px;
  }

  .featured-blog-content h2 {
    font-size: 25px;
  }

  .blog-card-image {
    height: 230px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 575.98px) {

  .blogs-section {
    padding: 50px 0;
  }

  .blogs-glow {
    width: 300px;
    height: 300px;

    filter: blur(100px);
  }

  .blogs-heading {
    margin-bottom: 35px;
  }

  .blogs-badge {
    font-size: 12px;
  }

  .blogs-heading h2 {
    margin-top: 18px;

    font-size: 27px;
    line-height: 1.3;
  }

  .blogs-heading p {
    margin-top: 12px;

    font-size: 14px;
    line-height: 23px;
  }

  .featured-blog {
    margin-bottom: 40px;

    padding: 10px;

    border-radius: 20px;
  }

  .featured-blog-image {
    height: 260px;

    border-radius: 16px;
  }

  .featured-label {
    top: 14px;
    left: 14px;

    font-size: 10px;
  }

  .featured-blog-content {
    padding: 8px 8px 12px;
  }

  .featured-blog-content h2 {
    font-size: 23px;
  }

  .featured-blog-content p {
    font-size: 14px;
    line-height: 24px;
  }

  .blog-meta {
    font-size: 12px;
  }

  .blog-card {
    border-radius: 24px;
  }

  .blog-card-image {
    height: 220px;
  }

  .blog-card-content {
    padding: 22px;
  }

  .blog-card h3 {
    font-size: 19px;
  }

  .blog-card p {
    font-size: 13px;
    line-height: 24px;
  }

}

/* =========================================
   BLOG DETAIL SECTION
========================================= */

.blog-detail-section {
  padding: 50px 0 100px;

  background: #f8faf9;

  min-height: 100vh;
}


/* =========================================
   CONTAINER
========================================= */

.blog-detail-container {
  max-width: 1140px;
}


/* =========================================
   BACKGROUND GLOWS
========================================= */

.blog-glow {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;

  filter: blur(120px);
}


/* PRIMARY GLOW */

.blog-glow-primary {
  width: 700px;
  height: 700px;

  top: 80px;
  left: 50%;

  transform: translateX(-50%);

  background: rgba(190, 235, 210, 0.5);
}


/* GOLD GLOW */

.blog-glow-gold {
  width: 400px;
  height: 400px;

  top: 0;
  right: 0;

  background: rgba(255, 231, 170, 0.6);
}


/* =========================================
   BLOG HEADER
========================================= */

.blog-detail-header {
  position: relative;
  z-index: 2;
}


/* =========================================
   CATEGORY
========================================= */

.blog-detail-category {
  padding: 7px 16px;

border: 1px solid #9ecfb3;

  background: #effbf4;

  color: #248052;

  border-radius: 50px;

  font-size: 12px;
  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.5px;
}


/* CATEGORY DOT */

.category-dot {
  width: 8px;
  height: 8px;

  flex-shrink: 0;

  background: #39a96b;

  border-radius: 50%;
}


/* =========================================
   TITLE
========================================= */

.blog-detail-title {
  max-width: 800px;

  margin-top: 24px;
  margin-bottom: 0;

  color: #17231d;

  font-size: 36px;
  line-height: 1.2;

  font-weight: 700;
}


/* =========================================
   DESCRIPTION
========================================= */

.blog-detail-description {
  max-width: 720px;

  margin-top: 16px;
  margin-bottom: 0;

  color: #68736d;

  font-size: 15px;

  line-height: 1.75;
}


/* =========================================
   META
========================================= */

.blog-detail-meta {
  gap: 12px;

  margin-top: 24px;

  color: #7b8580;

  font-size: 14px;
}


/* META DOT */

.blog-meta-dot {
  width: 4px;
  height: 4px;

  display: inline-block;

  flex-shrink: 0;

  background: #cbd1cd;

  border-radius: 50%;
}


/* =========================================
   FEATURED IMAGE BOX
========================================= */

.blog-detail-image-box {
  position: relative;
  z-index: 2;

  margin-top: 48px;

  padding: 12px;

  background: #ffffff;

  border: 1px solid #e5e9e6;

  border-radius: 32px;

  box-shadow: 0 15px 40px rgba(30, 50, 40, 0.08);
}


/* =========================================
   IMAGE
========================================= */

.blog-detail-image {
  width: 100%;
  height: 420px;

  display: block;

  object-fit: cover;

  border-radius: 24px;
}


/* =========================================
   BLOG CONTENT
========================================= */

.blog-detail-content {
  position: relative;
  z-index: 3;

  max-width: 850px;

  margin: 64px auto 0;

  color: #29352f;
}


/* =========================================
   ARTICLE
========================================= */

.blog-content {
  width: 100%;
}


/* =========================================
   ARTICLE HEADING
========================================= */

.blog-content h2 {
  margin-top: 42px;
  margin-bottom: 14px;

  color: #18251e;

  font-size: 26px;
  line-height: 1.35;

  font-weight: 700;
}


/* First heading */

.blog-content h2:first-child {
  margin-top: 0;
}


/* =========================================
   ARTICLE PARAGRAPH
========================================= */

.blog-content p {
  margin-bottom: 5px;

  color: #59655f;

  font-size: 16px;

  line-height: 1.85;
}


/* =========================================
   BLOCKQUOTE
========================================= */

.blog-content blockquote {
  margin: 35px 0;

  padding: 22px 25px;

  border-left: 4px solid #39a96b;

  background: #eff9f3;

  color: #315341;

  border-radius: 0 12px 12px 0;

  font-size: 17px;

  line-height: 1.7;

  font-style: italic;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

  .blog-detail-section {
    padding: 70px 0 80px;
  }

  .blog-detail-title {
    font-size: 36px;
  }

  .blog-detail-description {
    font-size: 15px;
  }

  .blog-detail-image-box {
    margin-top: 40px;

    border-radius: 28px;
  }

  .blog-detail-image {
    height: 380px;

    border-radius: 21px;
  }

  .blog-detail-content {
    margin-top: 55px;

    max-width: 800px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

  .blog-detail-section {
    padding: 55px 0 65px;
  }

  .blog-detail-container {
    padding-left: 20px;
    padding-right: 20px;
  }


  /* CATEGORY */

  .blog-detail-category {
    padding: 6px 13px;

    font-size: 10px;
  }


  /* TITLE */

  .blog-detail-title {
    margin-top: 18px;

    font-size: 30px;

    line-height: 1.25;
  }


  /* DESCRIPTION */

  .blog-detail-description {
    margin-top: 14px;

    font-size: 14px;

    line-height: 1.7;
  }


  /* META */

  .blog-detail-meta {
    margin-top: 20px;

    gap: 9px;

    font-size: 12px;
  }


  /* IMAGE BOX */

  .blog-detail-image-box {
    margin-top: 32px;

    padding: 8px;

    border-radius: 22px;
  }


  /* IMAGE */

  .blog-detail-image {
    height: 260px;

    border-radius: 17px;
  }


  /* CONTENT */

  .blog-detail-content {
    margin-top: 42px;
  }


  /* CONTENT HEADING */

  .blog-content h2 {
    margin-top: 32px;

    font-size: 22px;
  }


  /* CONTENT PARAGRAPH */

  .blog-content p {
    font-size: 14px;

    line-height: 1.75;
  }


  /* BLOCKQUOTE */

  .blog-content blockquote {
    margin: 28px 0;

    padding: 18px;

    font-size: 14px;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575.98px) {

  .blog-detail-title {
    font-size: 26px;
  }

  .blog-detail-image {
    height: 230px;
  }

  .blog-detail-meta {
    line-height: 1.6;
  }

}
.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card-link:hover {
  color: inherit;
  text-decoration: none;
}

.blog-card {
  cursor: pointer;
  height: 100%;
}