:root {
  --seo-content: 1180px;
}

.seo-page {
  background: var(--white);
}

.seo-page .site-header {
  border-bottom: 1px solid rgba(6, 52, 111, 0.08);
}

.seo-page .nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.seo-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #eef8ff;
}

.seo-hero > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 38%, rgba(255, 255, 255, 0.95) 48%, rgba(255, 255, 255, 0.28) 72%, rgba(6, 52, 111, 0.08) 100%);
}

.seo-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(100%, var(--seo-content));
  min-height: 430px;
  margin: 0 auto;
  padding: 58px 28px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--blue);
}

.breadcrumbs span[aria-hidden="true"] {
  color: rgba(73, 98, 127, 0.55);
}

.seo-hero-copy {
  max-width: 690px;
}

.seo-eyebrow {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-hero h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.seo-hero-copy > p:not(.seo-eyebrow) {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.seo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.seo-actions .button {
  font-weight: 500;
}

.seo-band {
  padding: 64px 28px;
}

.seo-band.soft {
  background: #f2f9fe;
}

.seo-band.navy {
  color: var(--white);
  background: var(--navy);
}

.seo-container {
  width: min(100%, var(--seo-content));
  margin: 0 auto;
}

.seo-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.seo-section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.seo-section-heading h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.05;
}

.seo-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.seo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(6, 52, 111, 0.09);
}

.seo-card-icon {
  width: 72px;
  height: 64px;
  margin-bottom: 18px;
  object-fit: contain;
}

.seo-card-category {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.seo-card h2,
.seo-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.42rem;
  line-height: 1.12;
}

.seo-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.seo-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-weight: 500;
}

.seo-card-link::after {
  content: "\2192";
  font-size: 1.35em;
  line-height: 1;
}

.featured-guide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 360px;
  overflow: hidden;
  background: var(--navy);
  border-radius: 8px;
}

.featured-guide-copy {
  display: grid;
  align-content: center;
  padding: 44px;
}

.featured-guide .seo-card-category {
  color: #8ee098;
}

.featured-guide h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.04;
}

.featured-guide p {
  color: rgba(255, 255, 255, 0.84);
}

.featured-guide .seo-card-link {
  justify-self: start;
  margin-top: 12px;
  color: var(--white);
}

.featured-guide img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 290px;
  gap: 64px;
  align-items: start;
  width: min(100%, var(--seo-content));
  margin: 0 auto;
  padding: 70px 28px;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin: 48px 0 14px;
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.08;
}

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

.article-content h3 {
  margin: 30px 0 10px;
  color: var(--navy);
  font-size: 1.35rem;
}

.article-content p,
.article-content li {
  color: #294b72;
  font-size: 1rem;
  line-height: 1.75;
}

.article-content a:not(.button) {
  color: #056fc1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}

.article-intro {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 1.15rem !important;
}

.article-callout {
  margin: 34px 0;
  padding: 24px 26px;
  background: #eef8ff;
  border-left: 5px solid var(--blue);
  border-radius: 0 8px 8px 0;
}

.article-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-table-wrap {
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.article-table th {
  color: var(--white);
  background: var(--navy);
  font-weight: 600;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table td {
  color: #294b72;
}

.article-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
}

.article-nav,
.sidebar-cta {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-nav {
  background: var(--white);
}

.article-nav h2,
.sidebar-cta h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 1.25rem;
}

.article-nav ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-nav a {
  color: var(--muted);
}

.sidebar-cta {
  color: var(--white);
  background: var(--navy);
}

.sidebar-cta h2 {
  color: var(--white);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.sidebar-cta .button {
  width: 100%;
  font-weight: 500;
}

.seo-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  width: min(100%, var(--seo-content));
  margin: 0 auto;
  padding: 38px 44px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.seo-cta-band h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.seo-cta-band p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.seo-cta-band .button {
  min-width: 190px;
  font-weight: 500;
}

.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-links a {
  padding: 9px 13px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
}

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

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

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

@media (max-width: 760px) {
  .seo-hero,
  .seo-hero-inner {
    min-height: 390px;
  }

  .seo-hero > img {
    width: 100%;
    opacity: 0.18;
  }

  .seo-hero::before {
    background: rgba(255, 255, 255, 0.86);
  }

  .seo-hero-inner {
    padding: 38px 20px;
  }

  .seo-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .seo-band,
  .article-shell {
    padding: 46px 20px;
  }

  .seo-card-grid,
  .featured-guide,
  .article-sidebar,
  .seo-cta-band {
    grid-template-columns: 1fr;
  }

  .featured-guide-copy {
    padding: 30px 24px;
  }

  .featured-guide img {
    min-height: 230px;
  }

  .article-shell {
    gap: 36px;
  }

  .seo-cta-band {
    padding: 28px 24px;
  }

  .seo-cta-band .button {
    width: 100%;
  }
}
