:root {
  --navy: #16324f;
  --glacier: #2e6f95;
  --ice: #e9f2f7;
  --ice2: #f5f9fb;
  --gold: #d9982f;
  --text: #22313f;
  --muted: #5b6b7a;
  --line: #d8e4ec;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(22, 50, 79, 0.1);
}

.seo-guide-page {
  margin: 0;
  background:
    linear-gradient(180deg, #07172d 0, #102a52 280px, var(--ice2) 281px),
    var(--ice2);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.seo-guide-page *,
.seo-guide-page *::before,
.seo-guide-page *::after {
  box-sizing: border-box;
}

.seo-guide-page .seo-wrap {
  width: min(1360px, calc(100% - 32px));
  margin-inline: auto;
}

.seo-guide-page .seo-hero {
  padding: 54px 0 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 86% 12%, rgba(217, 152, 47, 0.2), transparent 30%),
    radial-gradient(circle at 8% 18%, rgba(46, 111, 149, 0.22), transparent 28%),
    linear-gradient(135deg, #07172d, #102a52 60%, #16324f);
}

.seo-guide-page .seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
}

.seo-guide-page .seo-breadcrumbs a {
  color: #cfe8f7;
}

.seo-guide-page .seo-kicker,
.seo-guide-page .seo-meta span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--glacier);
  font-size: 0.75rem;
  font-weight: 800;
}

.seo-guide-page .seo-hero h1 {
  max-width: 720px;
  margin: 14px 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.seo-guide-page .seo-hero p {
  max-width: 760px;
  margin: 0;
  color: #d8e4ec;
  font-size: 1.16rem;
  line-height: 1.7;
}

.seo-guide-page .seo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.seo-guide-page .seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) 300px;
  justify-content: center;
  gap: 28px;
  align-items: start;
  padding: 0 0 60px;
  margin-top: -38px;
}

.seo-guide-page .seo-article {
  min-width: 0;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 100% 0, rgba(46, 111, 149, 0.1), transparent 30%),
    var(--card);
  box-shadow: 0 24px 60px rgba(22, 50, 79, 0.12);
}

.seo-guide-page .seo-article section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.seo-guide-page .seo-article section:first-child {
  padding-top: 0;
  border-top: 0;
}

.seo-guide-page .seo-article h2,
.seo-guide-page .seo-article h3 {
  color: var(--navy);
}

.seo-guide-page .seo-article h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.2;
}

.seo-guide-page .seo-article h3 {
  margin: 0 0 7px;
  font-size: 1.05rem;
}

.seo-guide-page .seo-article p,
.seo-guide-page .seo-article li {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.seo-guide-page .seo-article a {
  color: var(--glacier);
  font-weight: 700;
}

.seo-guide-page .seo-lead,
.seo-guide-page .seo-callout {
  padding: 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--ice2);
}

.seo-guide-page .seo-lead p,
.seo-guide-page .seo-callout p {
  margin: 0;
}

.seo-guide-page .seo-steps,
.seo-guide-page .seo-card-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.seo-guide-page .seo-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-guide-page .seo-step,
.seo-guide-page .seo-mini-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, var(--ice2));
  box-shadow: 0 10px 24px rgba(22, 50, 79, 0.06);
}

.seo-guide-page .seo-proof-section,
.seo-guide-page .seo-check-section {
  border-radius: 16px;
}

.seo-guide-page .seo-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.seo-guide-page .seo-proof-card {
  padding: 20px;
  border: 1px solid rgba(46, 111, 149, 0.32);
  border-left: 5px solid var(--glacier);
  border-radius: 10px;
  background: #e9f2f7;
  color: #16324f;
  box-shadow: none;
}

.seo-guide-page .seo-proof-card:nth-child(2n) {
  border-color: rgba(217, 152, 47, 0.42);
  border-left-color: var(--gold);
  background: #fff7e4;
}

.seo-guide-page .seo-proof-card span {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #245f83;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seo-guide-page .seo-proof-card:nth-child(2n) span {
  color: #81500d;
}

.seo-guide-page .seo-proof-card p {
  margin: 0;
}

.seo-guide-page .seo-check-section {
  padding: 22px;
  border: 1px solid rgba(217, 152, 47, 0.28);
  background:
    radial-gradient(circle at 100% 0, rgba(217, 152, 47, 0.14), transparent 28%),
    linear-gradient(135deg, #fff, #fffaf0);
  box-shadow: 0 14px 32px rgba(22, 50, 79, 0.06);
}

.seo-guide-page .seo-check-section ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.seo-guide-page .seo-check-section li {
  position: relative;
  padding-left: 28px;
}

.seo-guide-page .seo-check-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(217, 152, 47, 0.12);
}

.seo-guide-page .seo-tool-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  margin: 28px 0 6px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(46, 111, 149, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0, rgba(217, 152, 47, 0.2), transparent 35%),
    radial-gradient(circle at 7% 100%, rgba(46, 111, 149, 0.14), transparent 38%),
    linear-gradient(135deg, #fff, var(--ice2));
  box-shadow: 0 24px 54px rgba(22, 50, 79, 0.12);
}

.seo-guide-page .seo-preview-copy h2 {
  margin-top: 14px;
}

.seo-guide-page .seo-preview-copy p {
  max-width: 48ch;
}

.seo-guide-page .seo-preview-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(46, 111, 149, 0.25);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(8, 123, 85, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 251, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 36px rgba(22, 50, 79, 0.08);
}

.seo-guide-page .dashboard-style-preview {
  position: relative;
  overflow: hidden;
}

.seo-guide-page .dashboard-style-preview::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--glacier), #17a565);
}

.seo-guide-page .preview-snapshot-card,
.seo-guide-page .preview-bill-card {
  position: relative;
  margin-left: 6px;
  border: 1px solid rgba(46, 111, 149, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(22, 50, 79, 0.07);
}

.seo-guide-page .preview-snapshot-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(23, 165, 101, 0.12), transparent 34%),
    linear-gradient(135deg, #fff, #f2fff8);
}

.seo-guide-page .preview-snapshot-card span,
.seo-guide-page .preview-bill-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.seo-guide-page .preview-snapshot-card strong {
  color: #087b55;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.seo-guide-page .preview-snapshot-card em {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #c8f5d9;
  color: #075d41;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.seo-guide-page .preview-check-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-left: 6px;
}

.seo-guide-page .preview-check-strip span {
  display: inline-flex;
  justify-content: center;
  padding: 7px 8px;
  border: 1px solid rgba(46, 111, 149, 0.22);
  border-radius: 999px;
  background: var(--ice);
  color: var(--glacier);
  font-size: 0.72rem;
  font-weight: 900;
}

.seo-guide-page .preview-bill-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
}

.seo-guide-page .preview-bill-card strong,
.seo-guide-page .preview-bill-card b {
  color: var(--navy);
  font-weight: 900;
}

.seo-guide-page .preview-bill-card b {
  justify-self: end;
}

.seo-guide-page .preview-bill-card div {
  display: grid;
  gap: 2px;
}

.seo-guide-page .preview-paycheck,
.seo-guide-page .preview-due,
.seo-guide-page .preview-snowball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
}

.seo-guide-page .preview-paycheck {
  background: #dcecff;
  color: #0f5e9c;
}

.seo-guide-page .preview-due {
  background: #ffe0e5;
  color: #a80f2e;
}

.seo-guide-page .preview-snowball {
  background: #d7f8df;
  color: #087747;
}

.seo-guide-page .preview-bill-card.is-due {
  border-color: rgba(168, 15, 46, 0.18);
  background: linear-gradient(135deg, #fff, #fff7f8);
}

.seo-guide-page .preview-bill-card.is-target {
  border-color: rgba(8, 123, 85, 0.24);
  background: linear-gradient(135deg, #fff, #f2fff8);
}

.seo-guide-page .seo-preview-stat,
.seo-guide-page .seo-preview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ice2);
}

.seo-guide-page .seo-preview-stat.safe {
  border-color: rgba(46, 111, 149, 0.25);
  background: linear-gradient(135deg, #fff, rgba(233, 242, 247, 0.95));
}

.seo-guide-page .seo-preview-stat span,
.seo-guide-page .seo-preview-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seo-guide-page .seo-preview-stat strong,
.seo-guide-page .seo-preview-row strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.seo-guide-page .seo-preview-stat strong {
  color: #087b55;
  font-size: 1.8rem;
}

.seo-guide-page .seo-preview-row em {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--glacier);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.seo-guide-page .seo-preview-row.due {
  border-color: rgba(217, 152, 47, 0.34);
}

.seo-guide-page .seo-preview-row.due em {
  background: rgba(217, 152, 47, 0.16);
  color: #8a5711;
}

.seo-guide-page .seo-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
}

.seo-guide-page .seo-step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--glacier);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.seo-guide-page .seo-step p,
.seo-guide-page .seo-mini-card p {
  margin: 0;
  font-size: 0.95rem;
}

.seo-guide-page .seo-example {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.seo-guide-page table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.seo-guide-page th,
.seo-guide-page td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.seo-guide-page th {
  background: var(--ice);
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.seo-guide-page .seo-result-row td {
  background: #fff8e8;
  color: var(--navy);
  font-weight: 800;
}

.seo-guide-page .seo-faq {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.seo-guide-page .seo-faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.seo-guide-page .seo-faq summary {
  cursor: pointer;
  padding: 15px 16px;
  color: var(--navy);
  font-weight: 700;
}

.seo-guide-page .seo-faq details p {
  margin: 0;
  padding: 0 16px 16px;
}

.seo-guide-page .seo-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 16px;
}

.seo-guide-page .seo-sidebar-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 152, 47, 0.08), transparent 34%),
    #fff;
  box-shadow: 0 16px 34px rgba(22, 50, 79, 0.1);
}

.seo-guide-page .seo-sidebar-card h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.12rem;
}

.seo-guide-page .seo-sidebar-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.seo-guide-page .seo-sidebar-card a,
.seo-guide-page .seo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(217, 152, 47, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #f4c865, var(--gold));
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(217, 152, 47, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.seo-guide-page .seo-sidebar-card a:hover,
.seo-guide-page .seo-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow: 0 14px 28px rgba(217, 152, 47, 0.24);
}

.seo-guide-page .seo-download-cta {
  min-height: 44px;
  padding-inline: 18px;
  border-color: rgba(46, 111, 149, 0.18);
  background:
    linear-gradient(135deg, var(--gold), #f3c55e 55%, #fff1c2);
}

.seo-guide-page .seo-download-cta::after {
  content: "↓";
  margin-left: 9px;
  font-size: 1rem;
}

.seo-guide-page .seo-related {
  display: grid;
  gap: 9px;
}

.seo-guide-page .seo-related a {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--glacier);
  font-weight: 700;
  text-decoration: none;
}

.seo-guide-page .seo-disclaimer {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.seo-guide-page a:focus-visible,
.seo-guide-page summary:focus-visible {
  outline: 3px solid rgba(46, 111, 149, 0.4);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .seo-guide-page .seo-layout {
    grid-template-columns: 1fr;
  }

  .seo-guide-page .seo-sidebar {
    position: static;
  }

  .seo-guide-page .seo-tool-preview {
    grid-template-columns: 1fr;
  }

  .seo-guide-page .preview-bill-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .seo-guide-page .preview-bill-card b {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .seo-guide-page .seo-wrap {
    width: min(100% - 20px, 1120px);
  }

  .seo-guide-page .seo-hero {
    padding: 34px 0 44px;
  }

  .seo-guide-page .seo-card-grid {
    grid-template-columns: 1fr;
  }

  .seo-guide-page .seo-step {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 15px;
  }
}

/* ============================================================
   Outro standard: calculator CTA banner, share cluster,
   support link, free-printables + workbook notes.
   Fuller, more finished feel with brand gradients.
   ============================================================ */
.seo-guide-page .seo-outro {
  padding: 4px 0 54px;
}

.seo-guide-page .seo-cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 3.5vw, 34px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 152, 47, 0.22), transparent 42%),
    linear-gradient(135deg, var(--navy), var(--glacier));
  color: #fff;
  box-shadow: var(--shadow);
}

.seo-guide-page .seo-cta-banner .seo-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.seo-guide-page .seo-cta-banner h2 {
  margin: 12px 0 6px;
  color: #fff;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.15;
}

.seo-guide-page .seo-cta-banner p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.seo-guide-page .seo-cta-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, #f4c865, var(--gold));
  color: var(--navy);
  font-weight: 900;
  font-size: 0.96rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.seo-guide-page .seo-value-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.seo-guide-page .seo-value-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, var(--ice2));
  box-shadow: 0 8px 20px rgba(22, 50, 79, 0.06);
}

.seo-guide-page .seo-value-card strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.seo-guide-page .seo-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.seo-guide-page .seo-value-card a {
  margin-top: auto;
  color: var(--glacier);
  font-weight: 800;
  text-decoration: none;
}

.seo-guide-page .seo-share-support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.seo-guide-page .seo-share-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.9rem;
}

.seo-guide-page .seo-share-links {
  display: inline-flex;
  gap: 8px;
}

.seo-guide-page .seo-share-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.seo-guide-page .seo-share-links a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.seo-guide-page .share-fb { background: #1877f2; }
.seo-guide-page .share-x { background: #111827; }
.seo-guide-page .share-in { background: #0a66c2; }
.seo-guide-page .share-pin { background: #e60023; }

.seo-guide-page .seo-support-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.seo-guide-page .seo-support-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glacier);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.seo-guide-page .seo-support-btn:hover { background: var(--navy); }

@media (max-width: 640px) {
  .seo-guide-page .seo-cta-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .seo-guide-page .seo-cta-banner a { width: 100%; }
  .seo-guide-page .seo-value-row { grid-template-columns: 1fr; }
  .seo-guide-page .seo-share-support { flex-direction: column; align-items: stretch; }
  .seo-guide-page .seo-support-note { justify-content: space-between; }
}


/* Guides hub index */
.seo-guide-page .guides-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.seo-guide-page .guides-hub-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, var(--ice2));
  box-shadow: 0 8px 22px rgba(22, 50, 79, 0.07);
}

.seo-guide-page .guides-hub-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.18rem;
}

.seo-guide-page .guides-hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.seo-guide-page .guides-link-list {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.seo-guide-page .guides-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--glacier);
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.seo-guide-page .guides-link-list a:hover {
  border-color: var(--glacier);
  transform: translateY(-1px);
}

.seo-cluster-hub {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ice2), #fff 58%, rgba(217, 152, 47, .1));
  box-shadow: var(--shadow);
  padding: 24px;
}

.seo-cluster-hub p {
  color: var(--muted);
}

.seo-cluster-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.seo-cluster-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.seo-cluster-links a:hover {
  border-color: var(--glacier);
  color: var(--glacier);
}

.seo-guide-page .guides-tool-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 560px) {
  .seo-guide-page .guides-hub-grid {
    grid-template-columns: 1fr;
  }

  .seo-guide-page .guides-link-list a {
    padding: 11px 12px;
  }
}

/* Sitewide SEO guide polish: match the darker core Snowball visual system. */
.seo-guide-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(217, 152, 47, 0.2), transparent 28%),
    radial-gradient(circle at 92% 2%, rgba(46, 111, 149, 0.28), transparent 32%),
    linear-gradient(180deg, #07172d 0, #16324f 300px, var(--ice) 301px, var(--ice2) 100%) !important;
}

.seo-guide-page .seo-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(217, 152, 47, 0.18), transparent 30%),
    radial-gradient(circle at 12% 18%, rgba(46, 111, 149, 0.38), transparent 36%),
    linear-gradient(135deg, #07172d 0%, #16324f 58%, #2e6f95 140%) !important;
}

.seo-guide-page .seo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--glacier), #1aa36f, var(--gold));
}

.seo-guide-page .seo-kicker,
.seo-guide-page .seo-meta span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.13) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.seo-guide-page .seo-layout {
  gap: clamp(22px, 3vw, 34px);
}

.seo-guide-page .seo-article {
  border-color: rgba(216, 228, 236, 0.96) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 111, 149, 0.11), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 251, 0.94)) !important;
  box-shadow: 0 26px 66px rgba(22, 50, 79, 0.15) !important;
}

.seo-guide-page .seo-article section {
  margin: 0 0 clamp(20px, 3vw, 30px);
  padding: clamp(22px, 3vw, 32px) !important;
  border: 1px solid rgba(216, 228, 236, 0.92) !important;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 111, 149, 0.08), transparent 30%),
    linear-gradient(145deg, #fff 0%, rgba(245, 249, 251, 0.94) 100%);
  box-shadow: 0 14px 32px rgba(22, 50, 79, 0.07);
}

.seo-guide-page .seo-article section:nth-of-type(2n) {
  background:
    radial-gradient(circle at 100% 0%, rgba(26, 163, 111, 0.12), transparent 32%),
    linear-gradient(145deg, #fff 0%, rgba(235, 250, 244, 0.92) 100%);
}

.seo-guide-page .seo-article section:nth-of-type(3n) {
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 152, 47, 0.13), transparent 32%),
    linear-gradient(145deg, #fff 0%, rgba(255, 249, 235, 0.92) 100%);
}

.seo-guide-page .seo-article section:first-child {
  border-top: 1px solid rgba(216, 228, 236, 0.92) !important;
}

.seo-guide-page .seo-lead,
.seo-guide-page .seo-callout {
  border: 1px solid rgba(216, 228, 236, 0.92);
  border-left: 5px solid var(--gold) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at right, rgba(217, 152, 47, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 249, 235, 0.82), #fff) !important;
}

.seo-guide-page .seo-step,
.seo-guide-page .seo-mini-card,
.seo-guide-page .guides-hub-card,
.seo-guide-page .seo-value-card,
.seo-guide-page .seo-sidebar-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(216, 228, 236, 0.95) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 111, 149, 0.10), transparent 30%),
    linear-gradient(145deg, #fff, rgba(245, 249, 251, 0.95)) !important;
  box-shadow: 0 16px 36px rgba(22, 50, 79, 0.09) !important;
}

.seo-guide-page .seo-card-grid .seo-mini-card:nth-child(2n),
.seo-guide-page .guides-hub-card:nth-child(2n),
.seo-guide-page .seo-value-card:nth-child(2n) {
  background:
    radial-gradient(circle at 100% 0%, rgba(26, 163, 111, 0.12), transparent 30%),
    linear-gradient(145deg, #fff, rgba(235, 250, 244, 0.93)) !important;
}

.seo-guide-page .seo-card-grid .seo-mini-card:nth-child(3n),
.seo-guide-page .guides-hub-card:nth-child(3n),
.seo-guide-page .seo-value-card:nth-child(3n) {
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 152, 47, 0.13), transparent 30%),
    linear-gradient(145deg, #fff, rgba(255, 249, 235, 0.93)) !important;
}

.seo-guide-page .seo-tool-preview {
  border-color: rgba(46, 111, 149, 0.34) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(217, 152, 47, 0.20), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(26, 163, 111, 0.15), transparent 38%),
    linear-gradient(135deg, #fff, rgba(233, 242, 247, 0.94)) !important;
}

.seo-guide-page .seo-sidebar {
  position: sticky;
  top: 18px;
}

.seo-guide-page .seo-sidebar-card {
  overflow: hidden;
}

.seo-guide-page .seo-sidebar-card::before,
.seo-guide-page .guides-hub-card::before,
.seo-guide-page .seo-mini-card::before,
.seo-guide-page .seo-step::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  margin: 0;
  background: linear-gradient(90deg, var(--glacier), #1aa36f, var(--gold));
}

.seo-guide-page .guides-hub-card::before {
  margin: 0;
}

.seo-guide-page .seo-step > .seo-step-number {
  grid-column: 1;
}

.seo-guide-page .seo-step > div {
  grid-column: 2;
  min-width: 0;
}

.seo-guide-page .seo-sidebar-card a,
.seo-guide-page .seo-cta,
.seo-guide-page .guides-link-list a,
.seo-guide-page .seo-cluster-links a,
.seo-guide-page .seo-support-btn {
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--glacier), #138764) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(46, 111, 149, 0.18);
}

.seo-guide-page .seo-cta-banner {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 152, 47, 0.19), transparent 30%),
    linear-gradient(135deg, #07172d, #16324f 58%, #2e6f95) !important;
  box-shadow: 0 24px 58px rgba(22, 50, 79, 0.18);
}

.seo-guide-page .seo-cta-banner a {
  background: linear-gradient(135deg, var(--gold), #f0b449) !important;
  color: var(--navy) !important;
}

.seo-guide-page .seo-share-support {
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 111, 149, 0.12), transparent 30%),
    linear-gradient(145deg, #fff, rgba(245, 249, 251, 0.95)) !important;
  box-shadow: 0 14px 32px rgba(22, 50, 79, 0.08);
}

/* Guides hub category labels: keep card pills readable after the dark hero pill styling. */
.seo-guide-page .guides-hub-card > .seo-kicker {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(46, 111, 149, 0.16) !important;
  background: linear-gradient(135deg, #e9f2f7, #ffffff) !important;
  color: #16324f !important;
  box-shadow: 0 10px 22px rgba(22, 50, 79, 0.08) !important;
  text-shadow: none !important;
}

@media (max-width: 960px) {
  .seo-guide-page .seo-sidebar {
    position: static;
  }
}

/* Clear-funnel pages: information looks like information, and actions look clickable. */
.seo-guide-page.syd-clear-funnel .seo-kicker,
.seo-guide-page.syd-clear-funnel .seo-meta span,
.seo-guide-page.syd-clear-funnel .guides-hub-card > .seo-kicker {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--glacier) !important;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seo-guide-page.syd-clear-funnel .seo-hero .seo-kicker,
.seo-guide-page.syd-clear-funnel .seo-hero .seo-meta span {
  color: #d8e4ec !important;
}

.seo-guide-page.syd-clear-funnel .guides-hub-card {
  padding: 18px 4px 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.seo-guide-page.syd-clear-funnel .guides-hub-card::before {
  display: none;
}

.seo-guide-page.syd-clear-funnel .guides-link-list {
  gap: 4px;
}

.seo-guide-page.syd-clear-funnel .guides-link-list a {
  display: block;
  padding: 7px 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--glacier) !important;
  box-shadow: none !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.seo-guide-page.syd-clear-funnel .guides-link-list a:hover {
  color: var(--navy) !important;
  transform: none;
}

.seo-guide-page.syd-clear-funnel .guides-link-list a.syd-primary-download {
  width: fit-content;
  margin: 4px 0;
  padding: 12px 18px;
  border-radius: 10px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  box-shadow: 0 8px 18px rgba(217, 152, 47, 0.2) !important;
  text-decoration: none;
}

.seo-guide-page.syd-clear-funnel .seo-article > section {
  padding: 22px 4px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.seo-guide-page.syd-clear-funnel .seo-article > section:last-of-type {
  border-bottom: 0 !important;
}

/* Guides directory hierarchy: headings organize, links navigate, only downloads look like buttons. */
.seo-guide-page.syd-guides-directory .seo-lead,
.seo-guide-page.syd-guides-directory .seo-callout {
  padding: 16px 0 16px 18px !important;
  border: 0 !important;
  border-left: 3px solid var(--glacier) !important;
  background: transparent !important;
}

.seo-guide-page.syd-guides-directory .guides-hub-grid {
  display: block;
}

.seo-guide-page.syd-guides-directory .guides-hub-card {
  padding: 24px 0 !important;
}

.seo-guide-page.syd-guides-directory .guides-hub-card h2 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.seo-guide-page.syd-guides-directory .guides-hub-card > p {
  max-width: 760px;
  margin: 0 0 10px;
  color: var(--muted);
}

.seo-guide-page.syd-guides-directory .guides-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 0;
}

.seo-guide-page.syd-guides-directory .guides-link-list a {
  position: relative;
  padding: 8px 20px 8px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 228, 236, 0.7) !important;
}

.seo-guide-page.syd-guides-directory .guides-link-list a:not(.syd-primary-download)::after {
  content: "›";
  position: absolute;
  right: 2px;
  color: var(--glacier);
  font-size: 1.15rem;
  line-height: 1;
}

.seo-guide-page.syd-guides-directory .guides-link-list a:hover,
.seo-guide-page.syd-guides-directory .guides-link-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .seo-guide-page.syd-guides-directory .guides-link-list {
    grid-template-columns: 1fr;
  }
}

/* Keep the bill-organizing sidebar inside the reading area and below the sticky site header. */
.seo-guide-page.syd-sidebar-below-hero .seo-layout {
  margin-top: 28px;
}

.seo-guide-page.syd-sidebar-below-hero .seo-sidebar {
  top: 96px;
}

@media (max-width: 960px) {
  .seo-guide-page.syd-sidebar-below-hero .seo-layout {
    margin-top: 18px;
  }

  .seo-guide-page.syd-sidebar-below-hero .seo-sidebar {
    top: auto;
  }
}

/* Shared sticky-sidebar clearance for every guide page beneath the sticky site navigation. */
@media (min-width: 961px) {
  .seo-guide-page .seo-sidebar {
    top: 96px !important;
  }
}

/* Guide content begins below the hero. Do not float article or sidebar cards over the section above. */
.seo-guide-page .seo-layout {
  margin-top: 28px;
}

@media (max-width: 960px) {
  .seo-guide-page .seo-layout {
    margin-top: 18px;
  }
}

/* Classroom-ready action hierarchy: one clear action, with supporting links that look like links. */
.seo-guide-page .seo-sidebar-card > a,
.seo-guide-page .seo-cta,
.seo-guide-page .seo-download-cta {
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(46, 111, 149, 0.3) !important;
  border-radius: 10px !important;
  background: #2e6f95 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(22, 50, 79, 0.14) !important;
  font-size: 0.88rem;
  line-height: 1.2;
  text-align: center;
}

.seo-guide-page .seo-download-cta,
.seo-guide-page .seo-cta-banner a,
.seo-guide-page a.syd-primary-download {
  border-color: rgba(217, 152, 47, 0.5) !important;
  background: #d9982f !important;
  color: #16324f !important;
}

.seo-guide-page .seo-sidebar-card > a:hover,
.seo-guide-page .seo-sidebar-card > a:focus-visible,
.seo-guide-page .seo-cta:hover,
.seo-guide-page .seo-cta:focus-visible,
.seo-guide-page .seo-download-cta:hover,
.seo-guide-page .seo-download-cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(0.97);
  box-shadow: 0 10px 22px rgba(22, 50, 79, 0.18) !important;
}

.seo-guide-page .seo-related,
.seo-guide-page .seo-cluster-links {
  display: grid;
  gap: 0;
}

.seo-guide-page .seo-sidebar-card .seo-related a,
.seo-guide-page .seo-cluster-links a {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 8px 18px 8px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(216, 228, 236, 0.82) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #2e6f95 !important;
  box-shadow: none !important;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  transform: none !important;
}

.seo-guide-page .seo-sidebar-card .seo-related a:hover,
.seo-guide-page .seo-sidebar-card .seo-related a:focus-visible,
.seo-guide-page .seo-cluster-links a:hover,
.seo-guide-page .seo-cluster-links a:focus-visible {
  background: transparent !important;
  color: #16324f !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-guide-page .seo-support-btn {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(46, 111, 149, 0.28) !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  color: #2e6f95 !important;
  box-shadow: none !important;
}

@media (max-width: 520px) {
  .seo-guide-page .seo-sidebar-card > a,
  .seo-guide-page .seo-cta,
  .seo-guide-page .seo-download-cta {
    width: 100%;
  }
}

/* Guides directory hierarchy: headings organize, links navigate, only downloads look like buttons. */
.seo-guide-page.syd-guides-directory .seo-lead,
.seo-guide-page.syd-guides-directory .seo-callout {
  padding: 16px 0 16px 18px !important;
  border: 0 !important;
  border-left: 3px solid var(--glacier) !important;
  background: transparent !important;
}

.seo-guide-page.syd-guides-directory .guides-hub-grid {
  display: block;
}

.seo-guide-page.syd-guides-directory .guides-hub-card {
  padding: 24px 0 !important;
}

.seo-guide-page.syd-guides-directory .guides-hub-card h2 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.seo-guide-page.syd-guides-directory .guides-hub-card > p {
  max-width: 760px;
  margin: 0 0 10px;
  color: var(--muted);
}

.seo-guide-page.syd-guides-directory .guides-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 0;
}

.seo-guide-page.syd-guides-directory .guides-link-list a {
  position: relative;
  padding: 8px 20px 8px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 228, 236, 0.7) !important;
}

.seo-guide-page.syd-guides-directory .guides-link-list a:not(.syd-primary-download)::after {
  content: "›";
  position: absolute;
  right: 2px;
  color: var(--glacier);
  font-size: 1.15rem;
  line-height: 1;
}

.seo-guide-page.syd-guides-directory .guides-link-list a:hover,
.seo-guide-page.syd-guides-directory .guides-link-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .seo-guide-page.syd-guides-directory .guides-link-list {
    grid-template-columns: 1fr;
  }
}

.seo-guide-page.syd-guides-directory .seo-layout {
  grid-template-columns: minmax(0, 1120px);
}

@media (max-width: 640px) {
  .seo-guide-page .seo-proof-grid {
    grid-template-columns: 1fr;
  }

  .seo-guide-page .seo-article section {
    padding: 18px !important;
  }
}
