:root {
  --guide-ink: #172033;
  --guide-muted: #526076;
  --guide-paper: #fffdf8;
  --guide-rule: #d9dee8;
  --guide-teal: #176b67;
  --guide-red: #a83b32;
  --guide-gold: #aa7415;
}

.guide-body {
  margin: 0;
  background: var(--guide-paper);
  color: var(--guide-ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.75;
}

.guide-hero {
  padding: 84px 24px 66px;
  color: #fff;
  background: linear-gradient(135deg, #172033 0%, #244b57 65%, #176b67 100%);
}

.guide-hero-inner,
.guide-layout,
.guide-index {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.guide-hero-inner {
  max-width: 880px;
}

.guide-kicker {
  margin: 0 0 14px;
  color: #f5c36a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: 1.04;
}

.guide-hero p {
  max-width: 760px;
  margin: 0;
  color: #e6edf0;
  font-size: 1.12rem;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: #c8d5d9;
  font-size: .86rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 260px;
  gap: 64px;
  padding: 60px 0 90px;
}

.guide-article h2,
.guide-article h3 {
  color: var(--guide-ink);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}

.guide-article h2 {
  margin: 50px 0 14px;
  font-size: 2rem;
}

.guide-article h3 {
  margin: 30px 0 10px;
  font-size: 1.35rem;
}

.guide-article p,
.guide-article li {
  color: #334158;
  font-size: 1.02rem;
}

.guide-article a,
.guide-sidebar a {
  color: var(--guide-teal);
  text-underline-offset: 3px;
}

.guide-article ul,
.guide-article ol {
  padding-left: 24px;
}

.guide-note {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--guide-gold);
  background: #fff7e6;
}

.guide-note strong {
  display: block;
  margin-bottom: 4px;
}

.guide-checklist {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.guide-checklist li {
  position: relative;
  margin: 10px 0;
  padding-left: 31px;
}

.guide-checklist li::before {
  position: absolute;
  left: 0;
  color: var(--guide-teal);
  content: "✓";
  font-weight: 900;
}

.guide-sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--guide-rule);
  border-radius: 12px;
  background: #fff;
}

.guide-sidebar h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.guide-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-sidebar li {
  margin: 10px 0;
}

.source-list {
  padding-top: 24px;
  border-top: 1px solid var(--guide-rule);
}

.source-list li {
  margin-bottom: 12px;
  font-size: .92rem;
}

.guide-index {
  padding: 64px 0 90px;
}

.guide-index-intro {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--guide-muted);
  font-size: 1.08rem;
}

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

.guide-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--guide-rule);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(23, 32, 51, .1);
}

.guide-card-tag {
  color: var(--guide-red);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-card h2 {
  margin: 16px 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.18;
}

.guide-card p {
  color: var(--guide-muted);
}

.guide-card-cta {
  margin-top: auto;
  color: var(--guide-teal);
  font-weight: 800;
}

.chs-ad-placement {
  margin: 34px 0;
  padding: 14px 0;
  border-top: 1px solid var(--guide-rule);
  border-bottom: 1px solid var(--guide-rule);
}

.chs-ad-placement[hidden] {
  display: none;
}

.chs-ad-label {
  margin: 0 0 8px;
  color: var(--guide-muted);
  font-size: .7rem;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

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

  .guide-sidebar {
    position: static;
  }

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