:root {
  --content-gold: #f6b93b;
  --content-bg: #0b1e15;
  --content-panel: #143728;
  --content-panel-soft: #103224;
  --content-text: #bfd8c5;
  --content-muted: #8fa99a;
  --content-border: rgba(255,255,255,.1);
}

.guide-main { padding: 3.5rem 0 5rem; }
.guide-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.guide-breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.4rem; color: var(--content-muted); font-size: .88rem; }
.guide-breadcrumbs a { color: var(--content-text); }
.guide-breadcrumbs a:hover { color: var(--content-gold); }
.guide-kicker { display: inline-flex; padding: .3rem .75rem; margin-bottom: 1rem; border: 1px solid rgba(246,185,59,.35); border-radius: 999px; color: var(--content-gold); background: rgba(246,185,59,.1); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.guide-title { max-width: 960px; margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.12; letter-spacing: -.035em; }
.guide-dek { max-width: 850px; margin-bottom: 1rem; color: var(--content-text); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.guide-meta { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin-bottom: 1.6rem; color: var(--content-muted); font-size: .88rem; }
.guide-hero { overflow: hidden; margin: 1.4rem 0 2rem; border: 1px solid var(--content-border); border-radius: 20px; background: var(--content-panel); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.guide-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-disclosure { margin: 0 0 2rem; padding: .9rem 1rem; border-left: 3px solid var(--content-gold); color: var(--content-text); background: rgba(246,185,59,.08); font-size: .92rem; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; align-items: start; }
.guide-article { min-width: 0; }
.guide-article p, .guide-article li { color: var(--content-text); }
.guide-article p { margin: 0 0 1.2rem; }
.guide-article a { color: var(--content-gold); text-decoration: underline; text-underline-offset: 3px; }
.guide-article h2 { scroll-margin-top: 110px; margin: 2.6rem 0 1rem; font-size: clamp(1.55rem, 3vw, 2.05rem); }
.guide-article h3 { margin: 1.6rem 0 .75rem; font-size: 1.25rem; }
.guide-article ul, .guide-article ol { margin: 0 0 1.4rem 1.25rem; padding: 0; }
.guide-article li { margin-bottom: .6rem; }
.guide-article strong { color: #fff; }
.quick-answer, .key-takeaways, .guide-callout, .source-box, .related-guides, .calculator-box { margin: 0 0 1.7rem; padding: 1.25rem; border: 1px solid var(--content-border); border-radius: 14px; background: linear-gradient(145deg, rgba(20,55,40,.94), rgba(16,50,36,.8)); }
.quick-answer { border-color: rgba(46,204,113,.35); }
.quick-answer h2, .key-takeaways h2, .source-box h2, .related-guides h2, .calculator-box h2 { margin-top: 0; }
.key-takeaways { border-color: rgba(246,185,59,.28); }
.guide-callout { border-left: 4px solid var(--content-gold); }
.guide-callout.warning { border-left-color: #ff8a00; }
.guide-callout.safe { border-left-color: #2ecc71; }
.guide-callout p:last-child, .quick-answer p:last-child { margin-bottom: 0; }
.guide-table-wrap { overflow-x: auto; margin: 1.2rem 0 1.8rem; border: 1px solid var(--content-border); border-radius: 12px; }
.guide-table { width: 100%; min-width: 610px; border-collapse: collapse; background: rgba(16,50,36,.65); }
.guide-table th, .guide-table td { padding: .85rem .9rem; border-bottom: 1px solid var(--content-border); text-align: left; vertical-align: top; }
.guide-table th { color: #101a13; background: var(--content-gold); font-size: .86rem; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-table td { color: var(--content-text); }
.faq-list details { margin-bottom: .75rem; border: 1px solid var(--content-border); border-radius: 12px; background: rgba(20,55,40,.7); }
.faq-list summary { cursor: pointer; padding: 1rem 1.1rem; color: #fff; font-weight: 700; }
.faq-list details p { padding: 0 1.1rem 1rem; margin: 0; }
.guide-sidebar { position: sticky; top: 105px; }
.toc { padding: 1rem; border: 1px solid var(--content-border); border-radius: 14px; background: rgba(16,50,36,.88); }
.toc strong { display: block; margin-bottom: .65rem; color: #fff; }
.toc ol { margin: 0; padding-left: 1.15rem; }
.toc li { margin-bottom: .42rem; color: var(--content-muted); }
.toc a { color: var(--content-text); font-size: .88rem; }
.toc a:hover { color: var(--content-gold); }
.responsible-note { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(246,185,59,.22); border-radius: 14px; color: var(--content-text); background: rgba(246,185,59,.07); font-size: .86rem; }
.responsible-note a { color: var(--content-gold); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.related-grid a { display: block; padding: .85rem; border: 1px solid var(--content-border); border-radius: 10px; color: var(--content-text); background: rgba(11,30,21,.5); text-decoration: none; }
.related-grid a:hover { border-color: var(--content-gold); color: var(--content-gold); }
.source-box ul { margin-bottom: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.calc-field label { display: block; margin-bottom: .35rem; color: #fff; font-weight: 600; }
.calc-field input { width: 100%; padding: .75rem; border: 1px solid var(--content-border); border-radius: 8px; color: #fff; background: #0b1e15; font: inherit; }
.calc-result { margin-top: 1rem; padding: 1rem; border-radius: 10px; color: #111; background: var(--content-gold); font-weight: 800; }
.guide-footer { border-top: 1px solid var(--content-border); background: #08150f; }
.guide-footer-inner { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2.3rem 0 6rem; }
.guide-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.5rem; }
.guide-footer h2, .guide-footer h3 { margin-bottom: .6rem; }
.guide-footer p, .guide-footer a { color: var(--content-muted); }
.guide-footer a:hover { color: var(--content-gold); }
.guide-footer-links { display: grid; gap: .45rem; }
.guide-footer-bottom { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--content-border); color: var(--content-muted); font-size: .84rem; }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; order: -1; }
  .toc ol { columns: 2; }
}

@media (max-width: 680px) {
  .guide-main { padding-top: 2rem; }
  .guide-shell { width: min(100% - 1.25rem, 1120px); }
  .toc ol { columns: 1; }
  .related-grid, .guide-footer-grid, .calc-grid { grid-template-columns: 1fr; }
  .quick-answer, .key-takeaways, .guide-callout, .source-box, .related-guides, .calculator-box { padding: 1rem; }
}
