/*
Theme Name: Local Guide
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: local-guide
License: GPL-2.0-or-later
*/
:root { --map: #f4f0e4; --route: #24384a; --marker: #9b3c25; --quiet: #68747b; --guide-width: 76rem; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--route); background: var(--map); font-family: ui-serif, Georgia, serif; line-height: 1.65; }
a { color: var(--marker); text-decoration-thickness: .1em; text-underline-offset: .2em; }
a:focus-visible { outline: .25rem double var(--route); outline-offset: .3rem; }
img { max-width: 100%; height: auto; }
.guide-skip { position: absolute; left: -100vw; padding: 1rem; background: var(--route); color: var(--map); }
.guide-skip:focus { left: 1rem; top: 1rem; z-index: 9; }
.guide-banner { max-width: var(--guide-width); margin: auto; padding: 1.4rem 2rem; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; border-bottom: 1px solid var(--route); }
.guide-banner div { display: grid; }
.guide-banner div > span { color: var(--quiet); font: 700 .75rem system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.guide-banner div > a { color: var(--route); font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.guide-banner ul, .guide-colophon ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; margin: .5rem 0; padding: 0; list-style: none; }
.guide-layout { max-width: var(--guide-width); margin: auto; padding: 1.5rem 2rem 5rem; display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 3fr); gap: 2rem 4rem; }
.guide-trail { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; font: 700 .85rem system-ui, sans-serif; }
.guide-intro { grid-column: 1 / -1; padding: clamp(2rem, 6vw, 6rem) 0; border-bottom: .35rem solid var(--marker); }
.guide-intro > p:first-child, .guide-status { color: var(--quiet); font: 800 .76rem system-ui, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
h1 { max-width: 16ch; margin: .2rem 0; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .95; }
.guide-lead { max-width: 52ch; font-size: 1.3rem; }
.guide-index { grid-row: span 2; padding-right: 2rem; border-right: 1px solid var(--route); }
.guide-index h2 { margin-top: 2rem; font-size: 1rem; font-family: system-ui, sans-serif; text-transform: uppercase; }
.guide-index ul { padding-left: 1.2rem; }
.guide-index li { margin: .55rem 0; }
.guide-article { max-width: 48rem; }
.guide-prose > * + * { margin-top: 1.3rem; }
.guide-records { display: grid; gap: 1.5rem; }
.guide-record { display: grid; grid-template-columns: minmax(9rem, 1fr) 2fr; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--route); }
.guide-record figure { margin: 0; }
.guide-record img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.guide-record h2, .guide-record h3 { margin: .25rem 0; }
.guide-notes { grid-column: 2; padding: 1.5rem; background: #e5dfcd; }
.guide-stream { grid-column: 2; }
.guide-stream article { padding: 1.5rem 0; border-bottom: 1px dotted var(--route); }
.guide-colophon { max-width: var(--guide-width); margin: auto; padding: 2rem; border-top: 1px solid var(--route); display: grid; grid-template-columns: 1fr 2fr auto; gap: 1rem; }
@media (max-width: 48rem) { .guide-banner, .guide-layout, .guide-colophon { grid-template-columns: 1fr; } .guide-layout > *, .guide-notes, .guide-stream { grid-column: 1; } .guide-index { border-right: 0; border-bottom: 1px solid var(--route); } .guide-banner ul { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .guide-intro, .guide-index, .guide-record { border-color: CanvasText; } }
