.blog-page {
  color: #171717;
  background: #ffffff;
}

.blog-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #171717;
  background: #eef2f4;
}

.blog-hero-media {
  position: absolute;
  inset: 0;
}

.blog-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-hero::after {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: 66px 0 76px;
  text-align: left;
}

.blog-hero .eyebrow,
.blog-hero .hero-inner h1,
.blog-hero .hero-lede {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.52);
}

.blog-hero .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-inner h1 {
  margin: 0;
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(44px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 510px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.58;
}

.section {
  background: #ffffff;
}

.featured-section {
  padding: 80px 0 64px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 0;
  background: #f7f9fa;
}

.featured-image {
  min-height: 520px;
  overflow: hidden;
  background: #e9eef1;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.035);
}

.featured-body {
  padding: clamp(34px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-body h2,
.section-head h2 {
  margin: 0;
  color: #171717;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.featured-body > p:not(.eyebrow),
.article-card p {
  color: #535862;
  line-height: 1.65;
}

.featured-body > p:not(.eyebrow) {
  margin: 24px 0 0;
  font-size: 17px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0;
  color: #69707d;
  font-size: 13px;
}

.meta span {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-right: 18px;
  background: #b7c2c8;
}

.meta.compact {
  margin: 0 0 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #171717;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.text-link [data-lucide] {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.text-link:hover [data-lucide] {
  transform: translateX(3px);
}

.article-section {
  padding: 74px 0 82px;
  background: #f4f7f9;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 0;
  background: #ffffff;
  transition: border-color 180ms ease;
}

.article-card:hover {
  border-color: rgba(23, 23, 23, 0.22);
}

.article-image {
  display: block;
  aspect-ratio: 1.24;
  overflow: hidden;
  background: #e9eef1;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.article-card:hover .article-image img {
  transform: scale(1.045);
}

.article-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.article-card h3 {
  margin: 0;
  color: #171717;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.article-card p {
  margin: 18px 0 24px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card .text-link {
  margin-top: auto;
}

.article-card.is-hidden {
  display: none;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination:empty {
  display: none;
}

.page-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #171717;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.page-button:hover,
.page-button.active {
  color: #ffffff;
  border-color: #171717;
  background: #171717;
}

.page-button:disabled {
  color: #b8c0c8;
  border-color: rgba(23, 23, 23, 0.08);
  background: transparent;
  cursor: not-allowed;
}

.page-button:disabled:hover {
  color: #b8c0c8;
  border-color: rgba(23, 23, 23, 0.08);
  background: transparent;
}

.page-control svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.page-ellipsis {
  min-width: 22px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #7b8490;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .blog-hero,
  .hero-inner {
    min-height: 460px;
  }

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

  .featured-image {
    min-height: 380px;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .blog-hero,
  .hero-inner {
    min-height: 430px;
  }

  .blog-hero-media img {
    object-position: center top;
  }

  .blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.68) 34%, rgba(255, 255, 255, 0.08) 66%, rgba(255, 255, 255, 0) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.4) 48%, rgba(255, 255, 255, 0) 100%);
  }

  .hero-inner {
    justify-content: flex-start;
    padding: 24px 0 0;
  }

  .blog-hero .eyebrow,
  .blog-hero .hero-inner h1,
  .blog-hero .hero-lede {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .blog-hero .eyebrow {
    margin-bottom: 16px;
    color: #1377c9;
  }

  .hero-inner h1 {
    max-width: 360px;
    color: #171717;
    font-size: 34px;
    line-height: 1.04;
  }

  .hero-lede {
    max-width: 330px;
    margin-top: 18px;
    color: #22272f;
    font-size: 16px;
    line-height: 1.45;
  }

  .featured-section,
  .article-section {
    padding: 52px 0;
  }

  .featured-image {
    min-height: 260px;
  }

  .featured-body {
    padding: 28px 20px;
  }

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

  .article-body {
    padding: 24px 20px;
  }

  .meta span + span::before {
    margin-right: 10px;
  }
}
