:root {
  --article-ink: #111827;
  --article-muted: #64748b;
  --article-line: #e2e8f0;
  --article-brand: #172554;
  --article-accent: #dc147f;
  --article-surface: #f8fafc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--article-ink);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 14px;
  color: #fff;
  background: var(--article-brand);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.article-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 48px;
  align-items: end;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--article-line);
}

.article-kicker {
  margin: 0 0 12px;
  color: var(--article-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-heading h1 {
  max-width: 900px;
  margin: 0;
  color: var(--article-ink);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

.article-heading > div > p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--article-muted);
  font-size: 18px;
  line-height: 1.65;
}

.article-heading-meta {
  display: grid;
  gap: 2px;
  padding: 18px 0 4px 24px;
  border-left: 3px solid var(--article-accent);
}

.article-heading-meta strong {
  color: var(--article-brand);
  font-size: 40px;
  line-height: 1;
}

.article-heading-meta span {
  color: var(--article-muted);
  font-size: 13px;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  min-height: 420px;
  margin-top: 38px;
  overflow: hidden;
  background: var(--article-surface);
  border: 1px solid var(--article-line);
  border-radius: 8px;
}

.featured-article > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--article-muted);
  font-size: 12px;
}

.article-meta span {
  color: #173b8f;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-copy h2 {
  margin: 18px 0 14px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.featured-copy h2 a,
.article-card h3 a {
  overflow-wrap: anywhere;
  text-decoration: none;
}

.featured-copy h2 a:hover,
.article-card h3 a:hover {
  color: #173b8f;
}

.featured-copy p,
.article-card p {
  color: var(--article-muted);
  line-height: 1.58;
}

.article-read-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--article-brand);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.article-catalog {
  padding-top: 64px;
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 24px;
}

.catalog-heading h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.catalog-heading span {
  color: var(--article-muted);
  font-size: 14px;
}

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

.article-card {
  display: flex;
  min-height: 470px;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--article-line);
  border-radius: 8px;
}

.article-card > img {
  width: 100%;
  height: 164px;
  object-fit: cover;
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.article-card h3 {
  margin: 14px 0 10px;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0;
}

.article-card p {
  display: -webkit-box;
  margin: 0 0 20px;
  overflow: hidden;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 42px;
}

.article-pagination a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--article-brand);
  background: #fff;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.article-pagination a[aria-current="page"] {
  color: #fff;
  background: var(--article-brand);
  border-color: var(--article-brand);
}

.article-empty {
  padding: 72px 0;
  text-align: center;
}

@media (max-width: 980px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .featured-article > img {
    min-height: 300px;
    max-height: 380px;
  }
}

@media (max-width: 700px) {
  main {
    width: calc(100% - 28px);
    padding: 30px 0 52px;
  }

  .article-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .article-heading h1 {
    font-size: 36px;
  }

  .article-heading > div > p:last-child {
    font-size: 16px;
  }

  .article-heading-meta {
    grid-template-columns: auto 1fr;
    align-items: end;
  }

  .featured-article {
    min-height: 0;
  }

  .featured-article > img {
    min-height: 220px;
  }

  .featured-copy {
    padding: 24px;
  }

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

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

  .article-card {
    min-height: 0;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
.article-index-mobile-lead-cta {
  display: none;
}

@media (max-width: 767px) {
  .article-index-page-with-mobile-lead .site-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .article-index-mobile-lead-cta {
    position: fixed;
    z-index: 350;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 14px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    color: #fff;
    border: 1px solid #147a45;
    border-radius: 9px;
    background: #178c4b;
    box-shadow: 0 10px 26px rgba(16, 72, 44, 0.28);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
  }

  .article-index-mobile-lead-cta:focus-visible {
    outline: 3px solid rgba(23, 69, 163, 0.28);
    outline-offset: 3px;
  }

  body.site-contact-open .article-index-mobile-lead-cta {
    display: none;
  }
}
