.guide-page {
  min-height: 100vh;
  background: #17110d;
  color: #f2ece5;
}

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

.guide-hero {
  padding: 62px 0 46px;
  border-bottom: 1px solid rgba(239, 188, 113, .14);
  background: radial-gradient(circle at 82% 0%, rgba(223, 154, 94, .12), transparent 38%), #1c1510;
}

.guide-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 34px;
  color: #b6aa9f;
  font-size: .8rem;
}

.guide-breadcrumbs a { color: #f0b06b; text-decoration: none; }
.guide-breadcrumbs a:hover { text-decoration: underline; }

.guide-eyebrow, .guide-section-kicker {
  margin: 0 0 12px;
  color: #f0b06b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff7ef;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.guide-dek {
  max-width: 820px;
  margin: 22px 0 0;
  color: #d1c4b8;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
  color: #9f9185;
  font-size: .82rem;
}

.guide-layout { padding: 54px 0 88px; }
.guide-content { width: min(820px, 100%); margin: 0 auto; }

.guide-answer {
  margin-bottom: 26px;
  padding: 23px 25px;
  border: 1px solid rgba(240, 176, 107, .28);
  border-radius: 18px;
  background: rgba(44, 32, 22, .76);
}

.guide-answer-label { margin: 0 0 11px; color: #ffd4a7; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-answer p:last-child { margin-bottom: 0; }

.guide-content p, .guide-content li { color: #c8bbb0; font-size: 1rem; line-height: 1.82; overflow-wrap: anywhere; }
.guide-content p { margin: 0 0 18px; }
.guide-content ul { display: grid; gap: 9px; margin: 18px 0 22px; padding-left: 1.3rem; }
.guide-content li::marker { color: #f0b06b; }

.guide-figure { margin: 34px 0; }
.guide-figure img { display: block; width: 100%; height: auto; border: 1px solid rgba(239, 188, 113, .18); border-radius: 18px; background: #211811; box-shadow: 0 20px 55px rgba(0, 0, 0, .23); }
.guide-figure figcaption { margin-top: 10px; color: #94867a; font-size: .78rem; line-height: 1.55; }
.guide-feature-figure img { aspect-ratio: 16 / 9; object-fit: cover; }
.guide-inline-figure { max-width: 720px; }
.guide-inline-figure img { aspect-ratio: 1 / 1; object-fit: cover; }

.guide-toc {
  margin: 38px 0 46px;
  padding: 22px 25px;
  border: 1px solid rgba(239, 188, 113, .16);
  border-radius: 16px;
  background: #211811;
}

.guide-toc p { margin: 0 0 12px; color: #f0e7de; font-weight: 800; }
.guide-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 0; padding-left: 1.3rem; }
.guide-toc li { color: #f0b06b; font-size: .9rem; line-height: 1.5; }
.guide-toc a { color: #d7c8ba; text-decoration: none; }
.guide-toc a:hover { color: #ffd4a7; text-decoration: underline; }

.guide-section { margin-top: 62px; scroll-margin-top: 28px; }
.guide-section h2, .guide-summary h2, .guide-related h2, .guide-callout h2 { margin: 0 0 18px; color: #fff7ef; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.18; letter-spacing: -.025em; overflow-wrap: anywhere; }
.guide-section h3 { margin: 30px 0 10px; color: #f7eadd; font-size: 1.15rem; line-height: 1.35; overflow-wrap: anywhere; }

.guide-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid rgba(239, 188, 113, .16); border-radius: 15px; }
.guide-table-wrap table { width: 100%; min-width: 660px; border-collapse: collapse; background: #211811; }
.guide-table-wrap th, .guide-table-wrap td { padding: 15px 16px; border-bottom: 1px solid rgba(239, 188, 113, .12); text-align: left; vertical-align: top; }
.guide-table-wrap th { color: #ffe0bd; font-size: .77rem; letter-spacing: .06em; text-transform: uppercase; }
.guide-table-wrap td { color: #c8bbb0; font-size: .9rem; line-height: 1.6; }
.guide-table-wrap tr:last-child td { border-bottom: 0; }

.guide-callout { margin-top: 62px; padding: 25px 27px; border-left: 3px solid #df9a5e; border-radius: 0 16px 16px 0; background: rgba(53, 39, 30, .72); }
.guide-callout p { margin-bottom: 0; }

.guide-faq-list { display: grid; gap: 10px; }
.guide-faq-list details { padding: 0 18px; border: 1px solid rgba(239, 188, 113, .14); border-radius: 12px; background: #211811; }
.guide-faq-list summary { padding: 18px 0; color: #f4eee8; font-weight: 750; cursor: pointer; list-style-position: outside; }
.guide-faq-list details p { padding: 0 0 18px; margin: 0; }

.guide-sources ul { margin-top: 20px; padding-left: 0; list-style: none; }
.guide-sources li { display: grid; gap: 4px; padding: 15px 0; border-bottom: 1px solid rgba(239, 188, 113, .12); }
.guide-sources li:last-child { border-bottom: 0; }
.guide-sources a { color: #f0b06b; font-weight: 750; }
.guide-sources span { color: #9f9185; font-size: .88rem; line-height: 1.6; }

.guide-summary { margin-top: 62px; padding-top: 34px; border-top: 1px solid rgba(239, 188, 113, .16); }
.guide-related { margin-top: 52px; padding: 28px; border: 1px solid rgba(239, 188, 113, .17); border-radius: 18px; background: linear-gradient(135deg, #2c2016, #211811); }
.guide-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-related-card { position: relative; display: grid; gap: 7px; min-width: 0; padding: 18px; border: 1px solid rgba(239, 188, 113, .18); border-radius: 13px; color: #f2ece5; text-decoration: none; background: rgba(23, 17, 13, .38); }
.guide-related-card:hover, .guide-related-card:focus-visible { border-color: rgba(240, 176, 107, .55); outline: none; transform: translateY(-1px); }
.guide-related-card strong { padding-right: 18px; color: #ffe0bd; }
.guide-related-card span:not(.guide-related-arrow) { padding-right: 18px; color: #b6aa9f; font-size: .84rem; line-height: 1.55; }
.guide-related-arrow { position: absolute; right: 16px; top: 18px; color: #f0b06b; }

@media (max-width: 700px) {
  .guide-container { width: min(100% - 28px, 1120px); }
  .guide-hero { padding-top: 39px; }
  .guide-breadcrumbs { margin-bottom: 25px; }
  .guide-layout { padding-top: 34px; }
  .guide-content p, .guide-content li { font-size: .95rem; }
  .guide-answer { padding: 19px 18px; }
  .guide-toc ol, .guide-related-grid { grid-template-columns: 1fr; }
  .guide-toc { padding: 18px; }
  .guide-section { margin-top: 48px; }
  .guide-callout, .guide-related { padding: 20px 18px; }
  .guide-table-wrap { margin-right: -2px; }
}
