/* Guide, city and hub pages (built by tools/site_seo.py). Loaded after styles.css. */
.doc__head { --col: 780px; padding: 40px max(24px, calc((100% - var(--col)) / 2 + 24px)) 34px; border-bottom: 1px solid var(--line); margin-bottom: 36px; background: linear-gradient(180deg, var(--paper), var(--cream)); }
.doc__head .eyebrow { margin: 22px 0 12px; }
.doc__head h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: 16px; }
.doc__lead { font-size: 1.15rem; color: var(--muted); }
.byline { font-size: .88rem; color: var(--muted); margin-top: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--ink); }
.crumbs a:hover { color: var(--oak-dark); }
.lead-img, .doc__body, .related { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.lead-img { margin-bottom: 30px; }
.lead-img img { width: 100%; border-radius: var(--radius); max-height: 480px; object-fit: cover; }
.doc__body p, .doc__body li { line-height: 1.75; }
.doc__body p { margin: 0 0 16px; }
.doc__body h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 48px 0 14px; scroll-margin-top: 90px; }
.doc__body h3 { font-size: 1.25rem; margin: 30px 0 8px; scroll-margin-top: 90px; }
.doc__body a { text-decoration-color: var(--oak); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.doc__body a:hover { color: var(--oak-dark); }
.doc__body ul, .doc__body ol { padding-left: 1.3em; margin: 0 0 18px; }
.doc__body li { margin-bottom: 6px; }
.doc__body figure { margin: 28px 0; }
.doc__body figure img { width: 100%; border-radius: 12px; }
.doc__body figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.doc__body svg.fig { width: 100%; height: auto; display: block; margin: 24px 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.doc__body table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 540px; }
.doc__body th, .doc__body td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.doc__body thead th { background: var(--stone); font-weight: 600; }
.doc__body tbody th { font-weight: 600; }
.doc__body tr:last-child th, .doc__body tr:last-child td { border-bottom: 0; }
.note { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--oak); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 26px 0; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note__title { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px !important; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; margin: 24px 0 8px; }
.toc__title { font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-dark); margin-bottom: 6px !important; }
.toc ol { margin: 0; }
.toc a { text-decoration: none; }
.cta-box { background: var(--night); color: rgba(247,244,239,.85); border-radius: var(--radius); padding: 28px; margin: 38px 0; }
.cta-box__title { font-family: var(--serif); font-size: 1.45rem; color: var(--cream); margin-bottom: 8px !important; }
.cta-box__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.doc__body .cta-box .btn { text-decoration: none; }
.doc__body .cta-box .btn--light { color: var(--ink); }
.doc__body .cta-box .btn--ghost-light { color: var(--cream); }
.related { margin-top: 52px; margin-bottom: 72px; }
.related h2 { font-size: 1.7rem; margin-bottom: 4px; }
.hubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 30px; }
.hubcard { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none !important; color: var(--ink); transition: border-color .15s; }
.hubcard:hover { border-color: var(--oak); }
.hubcard__title { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; margin-bottom: 6px; }
.hubcard__text { display: block; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.doc--hub .doc__body, .doc--hub .related { max-width: 1040px; }
.doc--hub .doc__head { --col: 1040px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 22px 0; }
.swatches figure { margin: 0 !important; }
.swatches img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.swatches figcaption { font-size: .85rem !important; color: var(--ink) !important; margin-top: 6px !important; }
@media (max-width: 600px) {
  .doc__head { padding-top: 24px; padding-bottom: 26px; margin-bottom: 26px; }
  .cta-box .btn { flex: 1 1 100%; }
}
