/* GW guide pages (3 Oct 2026) — extends site.css; Thai-only pages, nothing hidden from search engines. */
.page .site-header { position: fixed; }
.page-hero { padding: 150px 0 clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 85% 20%, rgba(176, 141, 87, .16), transparent 60%),
              radial-gradient(50% 60% at 0% 100%, rgba(40, 70, 110, .35), transparent 70%); }
.page-hero .wrap { position: relative; }
.crumbs { font-size: 14px; color: var(--on-dark-muted); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--gold-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.25; color: #f7f2e7; max-width: 920px; }
.page-hero h1 .accent { color: var(--gold-soft); }
.page-hero .lead { margin-top: 22px; max-width: 720px; color: var(--on-dark-muted); font-size: clamp(16.5px, 1.6vw, 19px); font-weight: 300; line-height: 1.85; }
.page-hero .hero-cta { margin-top: 34px; }
.meta-line { margin-top: 26px; font-size: 13.5px; color: var(--on-dark-muted); letter-spacing: .02em; }

.doc { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 104px; border-left: 1px solid var(--line); padding-left: 20px; font-size: 14.5px; }
.toc b { display: block; font-family: var(--serif); font-weight: 500; margin-bottom: 10px; color: var(--gold-text); }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; line-height: 1.5; }
.toc a:hover { color: var(--text); }
@media (max-width: 960px) { .doc { grid-template-columns: 1fr; } .toc { display: none; } }

.prose { max-width: 760px; }
.prose > section + section { margin-top: clamp(48px, 6vw, 72px); }
.prose h2 { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.35; margin-bottom: 18px; }
.prose h3 { font-size: 20px; line-height: 1.45; margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 22px; margin: 8px 0; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 1px; background: var(--gold); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 40px; margin: 12px 0; counter-increment: n; }
.prose ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--serif); color: var(--gold); }
.prose a { color: var(--gold-text); text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.note { border: 1px solid var(--line); background: var(--paper); padding: 18px 20px; margin: 22px 0; font-size: 15.5px; }
.note b { color: var(--gold-text); }
.note.warn { border-color: #e5c7a0; background: #fff7ea; }

.tbl { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 15.5px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tbl th { font-weight: 600; background: var(--paper); white-space: nowrap; }
.tbl td:first-child { font-weight: 500; }

.check { border-top: 1px solid var(--line); }
.check li { padding: 14px 0 14px 34px !important; border-bottom: 1px solid var(--line); margin: 0 !important; }
.check li::before { content: "✓" !important; width: auto !important; height: auto !important; background: none !important;
  top: 14px !important; color: var(--gold); font-weight: 600; }

.calc { border: 1px solid var(--gold-line); background: var(--ink); color: var(--on-dark); padding: clamp(20px, 3vw, 32px); margin: 24px 0; }
.calc h3 { color: #f7f2e7; margin-top: 0; }
.calc .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 16px 0; }
.calc label { display: block; font-size: 14px; color: var(--on-dark-muted); margin-bottom: 6px; }
.calc input, .calc select { width: 100%; min-height: 46px; background: var(--ink-2); border: 1px solid var(--gold-line); color: var(--on-dark); padding: 0 12px; }
.calc .out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.calc .out div { border: 1px solid var(--gold-line); padding: 14px; }
.calc .out b { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold-soft); font-weight: 500; }
.calc .out small { color: var(--on-dark-muted); font-size: 13.5px; }
.calc .fine { font-size: 13.5px; color: var(--on-dark-muted); margin-top: 14px; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.related a { display: block; border: 1px solid var(--line); background: var(--paper); padding: 20px; text-decoration: none; transition: border-color .2s; }
.related a:hover { border-color: var(--gold); }
.related b { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.45; margin-bottom: 6px; }
.related span { color: var(--muted); font-size: 14.5px; }

.cta-band { text-align: left; }
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.35; max-width: 760px; }
.cta-band p { margin-top: 14px; color: var(--on-dark-muted); max-width: 640px; }
.cta-band .hero-cta { margin-top: 28px; }
.sources { font-size: 14px; color: var(--muted); }
.sources li { margin: 6px 0; padding-left: 0 !important; }
.sources li::before { display: none; }
.sources a { color: var(--gold-text); word-break: break-word; }
.faq-wrap .faq details { background: var(--paper); }

@media (max-width: 640px) {
  .tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; width: 100%; }
  .tbl.stack tr.head { display: none; }
  .tbl.stack tr { border: 1px solid var(--line); background: var(--paper); margin: 0 0 12px; padding: 4px 0; }
  .tbl.stack td { border: 0; padding: 8px 14px; }
  .tbl.stack td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; font-size: 12.5px; letter-spacing: .03em; color: var(--gold-text); font-weight: 600; margin-bottom: 2px; }
  .tbl.stack td:first-child { font-family: var(--serif); font-size: 17px; }
}
