/* =========================================================
   AADPLUS BLOG PAGE — MODERN EDITORIAL UI
   Blog-specific styling only
   ========================================================= */

:root {
  --blog-navy: #061729;
  --blog-blue: #213c69;
  --blog-red: #d03d2f;
  --blog-red-dark: #ad3026;
  --blog-text: #4c5968;
  --blog-muted: #75808d;
  --blog-light: #f3f6fa;
  --blog-soft-blue: #edf2f8;
  --blog-border: #dfe5ec;
  --blog-white: #ffffff;
  --blog-shadow: 0 18px 50px rgba(6, 23, 41, 0.08);
  --blog-shadow-hover: 0 28px 65px rgba(6, 23, 41, 0.14);
}

/* =========================================================
   GENERAL
   ========================================================= */

.blog-main-hero {
  position: relative;
  overflow: hidden;
}

.blog-main-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -210px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(208, 61, 47, 0.08);
  pointer-events: none;
}

.blog-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-section {
      height: 90vh;
      width: 100%;
      background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(10, 10, 10, 0.3)),
            url('../images/blog.png') no-repeat center center / cover;

      display: flex;
      align-items: center;
      padding: 0 5%;
    }

    .hero-content {
      max-width: 800px;
      color: white;
    }

    .hero-content .tagline {
      color: #d13d2f;
      font-size: 1rem;
      font-weight: 400;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .hero-content h1 {
      font-size: 2.5rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-content p {
      font-size: 1rem;
      line-height: 1.6;
      color: #e0e0e0;
      max-width: 90%;
    }

    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 1.5rem;
      }
      .hero-content p {
        font-size: 0.95rem;
      }

      .hero-section {
      height: 60vh;
    }
    }

/* =========================================================
   INTRODUCTION
   ========================================================= */

.blog-intro {
  position: relative;
  padding: 104px 0 52px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(208, 61, 47, 0.07),
      transparent 25%
    ),
    radial-gradient(
      circle at 4% 85%,
      rgba(33, 60, 105, 0.07),
      transparent 26%
    ),
    var(--blog-white);
}

.blog-intro::before {
  content: "";
  position: absolute;
  top: 58px;
  right: 7%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(33, 60, 105, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(33, 60, 105, 0.025),
    0 0 0 68px rgba(208, 61, 47, 0.018);
  pointer-events: none;
}

.section-heading {
  position: relative;
  max-width: 850px;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: var(--blog-red);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--blog-red);
}

.section-heading h2,
.blog-cta h2 {
  margin: 0 0 20px;
  color: var(--blog-navy);
    font-size: 2rem;
  font-weight: 500;
  line-height: 1.2; 
}

.section-heading p {
  max-width: 740px;
  margin: 0;
  color: var(--blog-text);
  font-size: 18px;
  line-height: 1.8;
}

/* =========================================================
   SEARCH AND FILTERS
   ========================================================= */

.blog-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 46px;
  padding: 14px;
  border: 1px solid var(--blog-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 45px rgba(6, 23, 41, 0.07);
  backdrop-filter: blur(12px);
}

.blog-search {
  width: min(420px, 100%);
  height: 54px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--blog-light);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-search:focus-within {
  border-color: rgba(33, 60, 105, 0.32);
  background: var(--blog-white);
  box-shadow: 0 0 0 4px rgba(33, 60, 105, 0.08);
}

.blog-search i {
  color: var(--blog-blue);
  font-size: 16px;
}

.blog-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--blog-navy);
  background: transparent;
  font: inherit;
  font-size: 15px;
}

.blog-search input::placeholder {
  color: #89929d;
}

.blog-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid var(--blog-border);
  border-radius: 999px;
  background: var(--blog-white);
  color: var(--blog-blue);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.filter-btn:hover {
  color: var(--blog-red);
  border-color: rgba(208, 61, 47, 0.32);
  transform: translateY(-2px);
}

.filter-btn.active {
  color: var(--blog-white);
  border-color: var(--blog-red);
  background: var(--blog-red);
  box-shadow: 0 8px 20px rgba(208, 61, 47, 0.22);
}

/* =========================================================
   FEATURED ARTICLE
   ========================================================= */

.featured-blog-section {
  padding: 34px 0 80px;
  background: var(--blog-white);
}

.featured-blog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--blog-border);
  border-radius: 32px;
  background: var(--blog-white);
  box-shadow: var(--blog-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.featured-blog:hover {
  transform: translateY(-4px);
  box-shadow: var(--blog-shadow-hover);
}

.featured-blog-visual {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 25% 20%,
      rgba(208, 61, 47, 0.4),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      var(--blog-blue) 0%,
      var(--blog-navy) 100%
    );
  background-position: center;
  background-size: cover;
  transition: background-size 0.5s ease;
}

.featured-blog-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 23, 41, 0.04) 15%,
      rgba(6, 23, 41, 0.65) 100%
    );
}

.featured-blog-visual::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.035),
    0 0 0 84px rgba(255, 255, 255, 0.02);
}

.featured-icon {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  color: var(--blog-white);
  background: rgba(208, 61, 47, 0.92);
  box-shadow: 0 18px 38px rgba(6, 23, 41, 0.24);
  backdrop-filter: blur(10px);
  font-size: 29px;
}

.visual-label {
  position: absolute;
  left: 28px;
  bottom: 27px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: var(--blog-white);
  background: rgba(6, 23, 41, 0.52);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.visual-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6c5e;
  box-shadow: 0 0 0 4px rgba(255, 108, 94, 0.18);
}

.featured-blog-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(246, 248, 251, 0.55),
      rgba(255, 255, 255, 0) 52%
    ),
    var(--blog-white);
}

.featured-blog-content::after {
  content: "FEATURED";
  position: absolute;
  right: -22px;
  bottom: 25px;
  color: rgba(33, 60, 105, 0.035);
  font-size: 78px;
  font-weight: 900;
  letter-spacing: -5px;
  pointer-events: none;
}

.article-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blog-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.featured-blog-content h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 21px;
  color: var(--blog-navy);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2; 
}

.featured-blog-content p {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  max-width: 580px;
  margin: 0 0 31px;
  overflow: hidden;
  color: var(--blog-text);
  font-size: 17px;
  line-height: 1.78;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.blog-read-more,
.blog-card > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
  font-weight: 600;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.blog-read-more {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--blog-white);
  background: var(--blog-red);
  box-shadow: 0 12px 28px rgba(208, 61, 47, 0.24);
}

.blog-read-more:hover {
  color: var(--blog-white);
  background: var(--blog-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(208, 61, 47, 0.3);
}

.blog-read-more i,
.blog-card > a i {
  transition: transform 0.22s ease;
}

.blog-read-more:hover i,
.blog-card > a:hover i {
  transform: translateX(5px);
}

/* =========================================================
   ARTICLES GRID
   ========================================================= */

.blog-grid-section {
  position: relative;
  padding: 88px 0 110px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #f6f8fb 0%,
      #eef2f7 100%
    );
}

.blog-grid-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1240px, calc(100% - 48px));
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(33, 60, 105, 0.18),
    transparent
  );
  transform: translateX(-50%);
}

.blog-grid {
  counter-reset: blog-card-number;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.blog-card {
  counter-increment: blog-card-number;
  position: relative;
  min-width: 0;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--blog-border);
  border-radius: 24px;
  background: var(--blog-white);
  box-shadow: 0 10px 30px rgba(6, 23, 41, 0.045);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--blog-blue),
    var(--blog-red)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.blog-card::after {
  content: counter(blog-card-number, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 25px;
  color: rgba(33, 60, 105, 0.075);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  pointer-events: none;
}

.blog-card:hover {
  border-color: rgba(208, 61, 47, 0.22);
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(6, 23, 41, 0.11);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card[hidden] {
  display: none !important;
}

.blog-card-icon {
  width: 61px;
  height: 61px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(33, 60, 105, 0.08);
  border-radius: 17px;
  color: var(--blog-blue);
  background: var(--blog-soft-blue);
  font-size: 24px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.blog-card:nth-child(3n + 2) .blog-card-icon {
  color: var(--blog-red);
  background: rgba(208, 61, 47, 0.075);
}

.blog-card:nth-child(3n + 3) .blog-card-icon {
  color: #7a4d19;
  background: rgba(235, 168, 73, 0.11);
}

.blog-card:hover .blog-card-icon {
  color: var(--blog-white);
  background: var(--blog-blue);
  transform: rotate(-4deg) scale(1.06);
}

.blog-card .article-meta {
  max-width: calc(100% - 60px);
  margin-bottom: 15px;
  color: var(--blog-red);
}

.blog-card h3 {
  margin: 0 0 15px;
  color: var(--blog-navy);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.45px;
}

.blog-card p {
  display: -webkit-box;
  margin: 0 0 25px;
  overflow: hidden;
  color: var(--blog-text);
  font-size: 15px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.blog-card > a {
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 5px;
  color: var(--blog-red);
  font-size: 14px;
}

.blog-card > a:hover {
  color: var(--blog-red-dark);
}

/* =========================================================
   EMPTY AND ERROR STATES
   ========================================================= */

.blog-loading,
.blog-connection-error {
  width: 100%;
  padding: 56px 30px;
  border: 1px solid var(--blog-border);
  border-radius: 24px;
  color: var(--blog-text);
  text-align: center;
  background: var(--blog-white);
  box-shadow: var(--blog-shadow);
}

.blog-loading i {
  margin-right: 9px;
  color: var(--blog-red);
}

.blog-connection-error h2,
.blog-connection-error h3 {
  margin: 0 0 11px;
  color: var(--blog-navy);
}

.blog-connection-error p {
  margin: 0;
  line-height: 1.7;
}

.blog-connection-error small {
  display: block;
  margin-top: 11px;
  color: var(--blog-muted);
}

.blog-empty {
  padding: 75px 20px;
  color: var(--blog-text);
  text-align: center;
}

.blog-empty i {
  display: block;
  margin-bottom: 17px;
  color: var(--blog-blue);
  font-size: 46px;
}

.blog-empty h3 {
  margin: 0 0 8px;
  color: var(--blog-navy);
  font-size: 25px;
}

/* =========================================================
   ARTICLE DETAIL
   ========================================================= */

.blog-detail-section {
  padding: 80px 0 110px;
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(33, 60, 105, 0.06),
      transparent 25%
    ),
    var(--blog-light);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 27px;
  color: var(--blog-red);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    gap 0.22s ease,
    color 0.22s ease;
}

.blog-back-link:hover {
  gap: 13px;
  color: var(--blog-red-dark);
}

.blog-detail {
  max-width: 940px;
  margin: 0 auto;
  padding: 58px;
  border: 1px solid var(--blog-border);
  border-radius: 30px;
  background: var(--blog-white);
  box-shadow: var(--blog-shadow);
}

.blog-detail-cover {
  width: 100%;
  max-height: 500px;
  display: block;
  margin-bottom: 38px;
  border-radius: 22px;
  object-fit: cover;
}

.blog-detail h1 {
  margin: 0 0 21px;
  color: var(--blog-navy);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -1.8px;
}

.blog-detail-summary {
  margin: 0 0 35px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--blog-border);
  color: var(--blog-text);
  font-size: 20px;
  line-height: 1.75;
}

.blog-detail-body {
  color: #374453;
  font-size: 17px;
  line-height: 1.9;
}

.blog-detail-body h2 {
  margin: 42px 0 16px;
  color: var(--blog-navy);
  font-size: 31px;
  line-height: 1.25;
}

.blog-detail-body h3 {
  margin: 34px 0 13px;
  color: var(--blog-blue);
  font-size: 24px;
  line-height: 1.3;
}

.blog-detail-body p {
  margin: 0 0 22px;
}

.blog-detail-body ul,
.blog-detail-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.blog-detail-body li {
  margin-bottom: 9px;
}

.blog-detail-body blockquote {
  margin: 32px 0;
  padding: 23px 27px;
  border-left: 4px solid var(--blog-red);
  border-radius: 0 15px 15px 0;
  color: var(--blog-navy);
  background: var(--blog-light);
  font-size: 19px;
  font-weight: 600;
}

.blog-detail-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 28px auto;
  border-radius: 17px;
}

.blog-detail-body a {
  color: var(--blog-red);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =========================================================
   CTA
   ========================================================= */

.blog-cta-section {
  padding: 96px 0;
  background: var(--blog-white);
}

.blog-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 58px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(208, 61, 47, 0.42),
      transparent 26%
    ),
    linear-gradient(
      135deg,
      var(--blog-blue),
      var(--blog-navy)
    );
  box-shadow: 0 28px 70px rgba(6, 23, 41, 0.22);
}

.blog-cta::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.018);
}

.blog-cta > * {
  position: relative;
  z-index: 2;
}

.blog-cta .eyebrow {
  color: #ffb8b1;
}

.blog-cta .eyebrow::before {
  background: #ffb8b1;
}

.blog-cta h2 {
  margin-bottom: 12px;
  color: var(--blog-white);
    font-size: 2rem;
  font-weight: 500;
  line-height: 1.2; 
}

.blog-cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.75;
}

.blog-cta-btn {
  flex: 0 0 auto;
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border-radius: 999px;
  color: var(--blog-white);
  background: linear-gradient(45deg, #b63434, #061729);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.blog-cta-btn:hover {
  color: var(--blog-white);
  background: linear-gradient(45deg, #a32727, #05192f);
  transform: translateY(-3px);
  box-shadow: 0 19px 35px rgba(0, 0, 0, 0.23);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {
  .blog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-search {
    width: 100%;
  }

  .featured-blog {
    grid-template-columns: 1fr;
  }

  .featured-blog-visual {
    min-height: 400px;
  }

  .featured-blog-content {
    padding: 50px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .blog-shell {
    width: min(100% - 28px, 1240px);
  }

  .blog-intro {
    padding: 68px 0 34px;
  }

  .blog-intro::before {
    display: none;
  }

  .section-heading h2 {
    font-size: 39px;
    letter-spacing: -1.2px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .blog-toolbar {
    margin-top: 33px;
    padding: 10px;
    border-radius: 17px;
  }

  .blog-filters {
    flex-wrap: nowrap;
    padding: 3px 0 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blog-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .featured-blog-section {
    padding: 26px 0 56px;
  }

  .featured-blog {
    min-height: auto;
    border-radius: 23px;
  }

  .featured-blog-visual {
    min-height: 310px;
  }

  .featured-icon {
    top: 20px;
    left: 20px;
    width: 59px;
    height: 59px;
    border-radius: 16px;
    font-size: 24px;
  }

  .visual-label {
    left: 20px;
    bottom: 20px;
  }

  .featured-blog-content {
    padding: 34px 25px 37px;
  }

  .featured-blog-content::after {
    display: none;
  }

  .featured-blog-content h2 {
    font-size: 32px;
    letter-spacing: -0.8px;
  }

  .featured-blog-content p {
    font-size: 15px;
  }

  .blog-grid-section {
    padding: 64px 0 78px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-card {
    min-height: 325px;
    padding: 28px;
    border-radius: 21px;
  }

  .blog-card h3 {
    font-size: 22px;
  }

  .blog-detail-section {
    padding: 55px 0 78px;
  }

  .blog-detail {
    padding: 30px 23px;
    border-radius: 23px;
  }

  .blog-detail-cover {
    margin-bottom: 27px;
    border-radius: 16px;
  }

  .blog-detail h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .blog-detail-summary {
    font-size: 17px;
  }

  .blog-detail-body {
    font-size: 16px;
  }

  .blog-detail-body h2 {
    font-size: 27px;
  }

  .blog-detail-body h3 {
    font-size: 22px;
  }

  .blog-cta-section {
    padding: 68px 0;
  }

  .blog-cta {
    padding: 38px 25px;
    border-radius: 24px;
  }

  .blog-cta h2 {
    font-size: 34px;
  }

  .blog-cta-btn {
    width: 100%;
  }
}

/* =========================================================
   BLOG CARD COVER IMAGES
   ========================================================= */

.blog-card-image-wrap {
  position: relative;
  width: calc(100% + 68px);
  aspect-ratio: 16 / 9;
  margin: -34px -34px 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--blog-border);
  background:
    linear-gradient(
      135deg,
      rgba(33, 60, 105, 0.12),
      rgba(208, 61, 47, 0.08)
    ),
    var(--blog-light);
}

.blog-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(6, 23, 41, 0.18) 100%
  );
  pointer-events: none;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.06);
}

/* Number badge above image */

.blog-card::after {
  top: 17px;
  right: 17px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #ffffff;
  background: rgba(6, 23, 41, 0.5);
  font-size: 20px;
  letter-spacing: -1px;
  backdrop-filter: blur(8px);
  z-index: 3;
}

/* Card without image keeps the original bulb position */

.blog-card > .blog-card-icon:first-child {
  margin-top: 0;
}

/* Tablet */

@media (max-width: 1050px) {
  .blog-card-image-wrap {
    width: calc(100% + 68px);
  }
}

/* Mobile */

@media (max-width: 700px) {
  .blog-card-image-wrap {
    width: calc(100% + 56px);
    margin:
      -28px
      -28px
      25px;
  }
}