:root {
  --seo-bg: #080a09;
  --seo-panel: #111510;
  --seo-panel-soft: #171c16;
  --seo-text: #eee3cd;
  --seo-muted: #b6a98f;
  --seo-gold: #d3a24d;
  --seo-gold-bright: #efc66f;
  --seo-border: rgba(211, 162, 77, .36);
  --seo-link: #f1c977;
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.seo-page {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  color: var(--seo-text);
  background:
    radial-gradient(circle at 50% 0, rgba(211, 162, 77, .10), transparent 30rem),
    linear-gradient(180deg, #080a09, #0d100d 50%, #080a09);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.65;
}

.seo-shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--seo-border);
  background: rgba(8, 10, 9, .94);
  backdrop-filter: blur(10px);
}

.seo-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.seo-brand {
  color: var(--seo-gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
}

.seo-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.seo-nav a {
  min-height: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--seo-text);
  text-decoration: none;
  font-size: .88rem;
}

.seo-nav a:hover,
.seo-nav a:focus-visible,
.seo-nav a[aria-current="page"] {
  border-color: var(--seo-border);
  color: var(--seo-gold-bright);
  background: rgba(211, 162, 77, .08);
  outline: none;
}

.seo-breadcrumb {
  padding-top: 22px;
  color: var(--seo-muted);
  font-size: .82rem;
}

.seo-breadcrumb a {
  color: inherit;
  text-underline-offset: 3px;
}

.seo-hero {
  padding: clamp(42px, 8vw, 86px) 0 46px;
}

.seo-kicker {
  margin: 0 0 10px;
  color: var(--seo-gold);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.seo-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--seo-gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: -.025em;
}

.seo-lead {
  max-width: 800px;
  margin: 24px 0 0;
  color: #d8ccb4;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

.seo-actions {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.seo-button {
  min-height: 46px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--seo-gold);
  border-radius: 6px;
  color: #17120b;
  background: linear-gradient(180deg, #efc66f, #c18d35);
  font-weight: 700;
  text-decoration: none;
}

.seo-button.secondary {
  color: var(--seo-gold-bright);
  background: transparent;
}

.seo-grid {
  padding: 10px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.seo-content section {
  padding: 28px 0;
  border-top: 1px solid var(--seo-border);
}

.seo-content h2,
.seo-related h2 {
  margin: 0 0 14px;
  color: var(--seo-gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.seo-content h3 {
  margin: 24px 0 8px;
  color: #ead7af;
  font-size: 1.1rem;
}

.seo-content p,
.seo-content li {
  color: #d7cbb4;
}

.seo-content a,
.seo-aside a,
.seo-footer a {
  color: var(--seo-link);
  text-underline-offset: 3px;
}

.seo-aside {
  position: sticky;
  top: 94px;
  padding: 20px;
  border: 1px solid var(--seo-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(211, 162, 77, .06), rgba(17, 21, 16, .94));
}

.seo-aside h2 {
  margin: 0 0 12px;
  color: var(--seo-gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.seo-aside ul {
  margin: 0;
  padding-left: 19px;
}

.seo-aside li + li { margin-top: 8px; }

.seo-note {
  padding: 16px 18px;
  border-left: 3px solid var(--seo-gold);
  background: rgba(211, 162, 77, .07);
  color: #ddd0b8;
}

.seo-related {
  padding: 38px 0 54px;
  border-top: 1px solid var(--seo-border);
}

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

.seo-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--seo-border);
  border-radius: 9px;
  background: var(--seo-panel);
}

.seo-card h3 {
  margin: 0 0 8px;
  color: var(--seo-gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.seo-card p {
  margin: 0 0 14px;
  color: var(--seo-muted);
  font-size: .92rem;
}

.seo-card a {
  color: var(--seo-link);
  font-weight: 700;
}

.seo-footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--seo-border);
  color: var(--seo-muted);
  font-size: .85rem;
}

.seo-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .seo-header { position: static; }
  .seo-header-inner {
    padding-block: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .seo-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  .seo-nav a { flex: 0 0 auto; }
  .seo-grid { grid-template-columns: 1fr; }
  .seo-aside { position: static; }
  .seo-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .seo-shell { width: min(100% - 22px, 1120px); }
  .seo-hero { padding-top: 34px; }
  .seo-actions { display: grid; }
  .seo-button { width: 100%; }
  .seo-nav a { min-height: 46px; padding-inline: 10px; }
}

@media (pointer: coarse) {
  .seo-nav a,
  .seo-button,
  .seo-content a,
  .seo-aside a {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


.seo-entity-hero {
  padding-bottom: 34px;
}

.seo-entity-facts {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.seo-entity-facts > div {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--seo-border);
}

.seo-entity-facts dt {
  color: var(--seo-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.seo-entity-facts dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--seo-text);
}

.seo-directory-list {
  columns: 3 220px;
  column-gap: 28px;
  padding-left: 19px;
}

.seo-directory-list li {
  break-inside: avoid;
  margin: 0 0 8px;
}

.seo-sources {
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  .seo-entity-facts {
    grid-template-columns: 1fr;
  }

  .seo-directory-list {
    columns: 1;
  }
}
