.blog-index-page {
  background: var(--paper);
}

.blog-index-page .site-header .brand img {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.blog-index-page .site-header nav a[aria-current="page"] {
  color: var(--accent);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 84% 22%, rgba(78, 184, 139, .2), transparent 28%),
    linear-gradient(135deg, #10271f 0%, #163f30 58%, #0e2b21 100%);
}

.blog-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
  pointer-events: none;
}

.blog-hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 780px) 250px;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  padding-top: 112px;
  padding-bottom: 86px;
}

.blog-eyebrow,
.blog-section-label {
  margin: 0;
  color: #62c99d;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
}

.blog-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.blog-hero h1 {
  max-width: 820px;
  margin: 24px 0 26px;
  font: 500 clamp(58px, 7vw, 94px)/.95 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.blog-hero h1 em {
  display: block;
  color: #91d9bb;
  font-weight: 400;
}

.blog-hero-lead {
  max-width: 650px;
  margin: 0;
  color: #c8d8d1;
  font-size: 19px;
  line-height: 1.65;
}

.blog-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding-bottom: 7px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.blog-hero-link span {
  color: #62c99d;
  transition: transform .2s ease;
}

.blog-hero-link:hover span {
  transform: translateY(4px);
}

.blog-hero-note {
  position: relative;
  z-index: 1;
  padding: 26px 0 8px 24px;
  border-left: 1px solid rgba(255, 255, 255, .24);
}

.blog-note-number {
  display: block;
  margin-bottom: 50px;
  color: #62c99d;
  font: 700 12px ui-monospace, monospace;
}

.blog-hero-note p {
  margin: 0;
  color: #afc3ba;
  font-size: 13px;
  line-height: 1.65;
}

.blog-hero-note strong {
  display: block;
  margin-bottom: 7px;
  color: white;
  font: 500 20px/1.25 Georgia, serif;
}

.featured-section {
  padding-top: 110px;
  padding-bottom: 120px;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-label-row > span {
  color: var(--muted);
  font-size: 12px;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr);
  min-height: 500px;
  overflow: hidden;
  color: white;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(20, 37, 31, .13);
  text-decoration: none;
}

.featured-image-wrap,
.post-card-image {
  position: relative;
  overflow: hidden;
}

.featured-image-wrap::after,
.post-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 25, 19, .24));
  pointer-events: none;
}

.featured-image-wrap img,
.post-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.featured-post:hover .featured-image-wrap img,
.post-card:hover .post-card-image img {
  transform: scale(1.045);
}

.featured-badge {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 22px;
  padding: 8px 12px;
  color: var(--ink);
  background: #d8f1e5;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 9px;
  font-weight: 850;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 48px;
}

.post-category {
  margin: 0 0 18px;
  color: #44ac7f;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 850;
}

.featured-copy h2 {
  margin: 0;
  color: white;
  font: 500 42px/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.featured-copy > p:not(.post-category) {
  margin: 24px 0 34px;
  color: #b8c8c1;
  font-size: 15px;
  line-height: 1.7;
}

.read-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 13px;
  font-weight: 750;
}

.read-more b {
  color: #62c99d;
  font-size: 20px;
  transition: transform .2s ease;
}

.featured-post:hover .read-more b {
  transform: translate(3px, -3px);
}

.posts-section {
  padding: 112px 0 126px;
  background: #edf2ee;
}

.posts-heading {
  display: grid;
  grid-template-columns: minmax(0, 700px) 300px;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
}

.posts-heading h2,
.blog-calculator-cta h2 {
  margin: 14px 0 0;
  font: 500 clamp(42px, 5vw, 66px)/1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.posts-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr);
  min-height: 330px;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(20, 37, 31, .08);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(20, 37, 31, .045);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 54px rgba(20, 37, 31, .12);
}

.post-card-image > span {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  color: white;
  background: rgba(15, 40, 31, .78);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
}

.post-card-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 34px;
}

.post-card-copy h3 {
  margin: 0;
  font: 500 30px/1.13 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}

.post-card-copy > p:not(.post-category) {
  margin: 18px 0 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.card-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-top: auto;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font-size: 18px;
  transition: transform .2s ease, background .2s ease;
}

.post-card:hover .card-arrow {
  background: var(--accent-dark);
  transform: translateX(5px);
}

.post-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
}

.blog-calculator-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  justify-content: space-between;
  gap: 70px;
  padding-top: 112px;
  padding-bottom: 112px;
}

.cta-action > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.cta-action .button {
  width: 100%;
}

.blog-index-page .site-footer .footer-inner > div:first-child p {
  max-width: 430px;
}

@media (max-width: 980px) {
  .blog-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .blog-hero-note {
    max-width: 580px;
  }

  .blog-note-number {
    margin-bottom: 18px;
  }

  .featured-post,
  .post-card,
  .post-card-wide {
    grid-template-columns: 1fr;
  }

  .featured-image-wrap {
    min-height: 420px;
  }

  .post-card-image {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .blog-hero-grid {
    gap: 44px;
    padding-top: 76px;
    padding-bottom: 64px;
  }

  .blog-hero h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .featured-section,
  .posts-section,
  .blog-calculator-cta {
    padding-top: 76px;
    padding-bottom: 80px;
  }

  .featured-image-wrap {
    min-height: 320px;
  }

  .featured-copy {
    padding: 38px 28px;
  }

  .featured-copy h2 {
    font-size: 36px;
  }

  .posts-heading,
  .blog-calculator-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .blog-hero h1 {
    font-size: 48px;
  }

  .blog-hero-lead {
    font-size: 17px;
  }

  .section-label-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-image-wrap,
  .post-card-image {
    min-height: 240px;
  }

  .featured-copy h2,
  .posts-heading h2,
  .blog-calculator-cta h2 {
    font-size: 36px;
  }

  .post-card-copy {
    padding: 30px 25px;
  }

  .post-card-copy h3 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-image-wrap img,
  .post-card-image img,
  .post-card,
  .card-arrow,
  .read-more b,
  .blog-hero-link span {
    transition: none;
  }
}
