/* VA Wine Guide. A wine-label look: linen paper, Bordeaux, a muted gold hairline.
   Cormorant Garamond for display and names; Jost for reading text and controls. */
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant.woff2") format("woff2-variations"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-italic.woff2") format("woff2-variations"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f6f2eb;
  --panel: #eee7db;
  --ink: #2a2420;
  --muted: #6f6458;
  --rule: #dccfbd;
  --wine: #5a1e2c;
  --wine-deep: #43141f;
  --gold: #a8894f;
  --gold-text: #7a5f2c;
  --display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --text: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--text); }
button, input, select { font-family: var(--text); }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--wine-deep); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.005em; font-variant-numeric: lining-nums; }
[class*="name"], .choice-title, .total, .search-bar p, .cal-head h2 { font-variant-numeric: lining-nums; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 2rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 40rem; margin: 0; }
.small { font-size: .85rem; }

/* Buttons */
.button {
  display: inline-block; font: 500 .95rem/1 var(--text); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  background: var(--wine); color: var(--paper); border: 1px solid var(--wine); padding: .85rem 1.3rem; border-radius: 2px;
}
.button:hover { background: var(--wine-deep); color: var(--paper); }
.button.quiet { background: transparent; color: var(--wine); }
.button.quiet:hover { background: var(--panel); color: var(--wine-deep); }
.link { font: inherit; color: var(--wine); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); box-shadow: 0 3px 0 -2px var(--rule); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.brand-name { font: 600 1.65rem/1 var(--display); letter-spacing: .005em; color: var(--ink); }
.brand-sub { margin-top: .35rem; font: 500 .68rem/1 var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.masthead nav { display: flex; gap: .3rem 1.6rem; flex-wrap: wrap; font-size: .95rem; }
.masthead nav a { color: var(--ink); text-decoration: none; padding: .3rem 0; border-bottom: 1px solid transparent; }
.masthead nav a:hover, .masthead nav a[aria-current] { border-bottom-color: var(--gold); }

/* Home: hero */
.hero { text-align: center; padding: 5rem 0 3.5rem; }
.hero-kicker { margin: 0 0 1.4rem; font-size: .95rem; color: var(--gold-text); letter-spacing: .04em; }
.hero h1 { margin: 0 auto 1.5rem; font-weight: 500; font-size: clamp(3rem, 7.4vw, 6rem); line-height: .98; letter-spacing: -.015em; }
.hero .lede { margin: 0 auto; text-align: center; }

/* Home: steps */
.steps { padding-bottom: 3rem; }
.step { padding: 2.5rem 0 1rem; border-top: 1px solid var(--rule); }
.step h2 { display: flex; align-items: baseline; gap: .9rem; margin: 0 0 1.6rem; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; }
.step-n { font-style: italic; color: var(--gold-text); font-size: 1.1em; }
.adventures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.adventure {
  width: 100%; height: 100%; text-align: center; cursor: pointer; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 2.1rem 1.6rem 1.7rem;
  background: #fbf8f3; border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: -7px;
  transition: background .2s, border-color .2s;
}
.adventure:hover { border-color: var(--gold); outline-color: var(--gold); }
.adventure[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); outline-color: rgba(246, 242, 235, .45); color: var(--paper); }
.adv-title { font: 600 1.75rem/1.1 var(--display); }
.adv-blurb { font-size: .95rem; line-height: 1.5; color: var(--muted); max-width: 18rem; }
.adv-count { margin-top: .3rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.adventure[aria-pressed="true"] .adv-blurb, .adventure[aria-pressed="true"] .adv-count { color: rgba(246, 242, 235, .82); }
.choices { display: flex; flex-wrap: wrap; gap: .75rem; }
.choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; min-width: 11rem; cursor: pointer; text-align: left;
  padding: .9rem 1.2rem; background: #fbf8f3; border: 1px solid var(--rule); color: var(--ink);
}
.choice:hover:not(:disabled) { border-color: var(--gold); }
.choice:disabled { opacity: .45; cursor: default; }
.choice[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--paper); }
.choice-title { font: 600 1.35rem/1.15 var(--display); }
.choice-day { font-size: .9rem; }
.choice-sub { font-size: .8rem; color: var(--muted); }
.choice[aria-pressed="true"] .choice-sub { color: rgba(246, 242, 235, .8); }
.choice.date { min-width: 6.6rem; align-items: center; text-align: center; }
.choice.weekend:not([aria-pressed="true"]) { border-color: #cdb991; }

/* Home: the suggested day */
.result { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 3.5rem 0 3rem; }
.result-head h2 { margin: 0 0 .5rem; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; }
.trip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem; margin-top: 2rem; align-items: start; }
.map { width: 100%; background: #e7e0d2; border: 1px solid var(--rule); }
.map-trip { height: 34rem; position: sticky; top: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 2rem; }
.alts { margin-top: 2.5rem; }
.alts h3 { font-size: 1.6rem; margin: 0 0 .75rem; font-weight: 500; }
.alt-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.alt-list li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.alt-list a { font: 600 1.15rem/1.3 var(--display); text-decoration: none; color: var(--ink); }
.alt-list a:hover { color: var(--wine); }
.alt-list span { display: block; font-size: .85rem; color: var(--muted); }

/* Stops (home result and planner) */
.stops { list-style: none; margin: 0; padding: 0; }
.stop { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; }
.stop-n {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--wine); color: var(--paper); font: 600 1.25rem/1 var(--display); font-variant-numeric: lining-nums;
}
.stop-body h3 { margin: 0; font-size: 1.75rem; line-height: 1.1; font-weight: 600; }
.stop-body h3 a { color: var(--ink); text-decoration: none; }
.stop-body h3 a:hover { color: var(--wine); }
.stop-town { margin: .15rem 0 .5rem; font-size: .9rem; color: var(--muted); }
.stop-notes { margin: 0; font-size: .95rem; }
.stop-hours { margin: .45rem 0 0; font-size: .85rem; color: var(--muted); }
.stop-remove { margin-top: .5rem; font-size: .85rem; }
.leg { margin: .4rem 0 .4rem 1.15rem; padding: .7rem 0 .7rem 2.2rem; border-left: 1px dashed var(--gold); font: italic 500 1.05rem/1 var(--display); color: var(--muted); }

/* Events lists */
.evlist { list-style: none; margin: .75rem 0 0; padding: 0; }
.ev { display: grid; grid-template-columns: 6.2rem 1fr; gap: .9rem; padding: .55rem 0; border-top: 1px solid var(--rule); font-size: .92rem; }
.ev-when { color: var(--wine); font-weight: 500; }
.ev-body { display: flex; flex-direction: column; }
.ev-title a { color: var(--ink); text-decoration: none; }
.ev-title a:hover { color: var(--wine); text-decoration: underline; }
.ev-where, .ev-meta { font-size: .85rem; color: var(--muted); }
.ev-add { font-size: .85rem; margin-top: .2rem; }
.ev.k-closed .ev-title, .ev.k-closed .ev-when { color: var(--muted); font-style: italic; }
.evlist.big .ev { grid-template-columns: 6.5rem 1fr; padding: .9rem 0; font-size: 1rem; }
.evlist.big .ev-title { font: 600 1.3rem/1.25 var(--display); }

/* Teaser on home */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-top: 3rem; padding-bottom: 4.5rem; }
.teaser h2 { margin: 0 0 .75rem; font-size: 1.9rem; font-weight: 500; }
.teaser p { margin: .4rem 0; }

/* Inner page heads */
.page-head { padding-top: 3.75rem; padding-bottom: 2rem; }
.page-head h1 { margin: 0 0 .75rem; font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 500; line-height: 1; }
.intro { padding-top: 4rem; padding-bottom: 4rem; }
.intro h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; margin: 0 0 1rem; }

/* Forms */
.field { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; color: var(--muted); }
.field.inline { flex-direction: row; align-items: center; gap: .6rem; }
input[type="search"], input[type="date"], select {
  font: 400 1rem/1.3 var(--text); color: var(--ink); background: #fbf8f3; border: 1px solid var(--rule); border-radius: 2px;
  padding: .65rem .75rem; width: 100%;
}
.field.inline select { width: auto; }
input:focus, select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(168, 137, 79, .2); }
input[type="checkbox"] { accent-color: var(--wine); width: 1rem; height: 1rem; margin: 0; flex: none; }

/* Search */
.search { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; padding-bottom: 5rem; align-items: start; }
.filters { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; padding-right: .5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.facet { border: 0; margin: 0; padding: 0 0 1rem; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: .35rem; }
.facet legend { padding: 0; margin-bottom: .45rem; font: 600 1.2rem/1.2 var(--display); color: var(--ink); }
.facet label { display: flex; gap: .55rem; align-items: center; font-size: .92rem; cursor: pointer; }
.facet.near .field { margin-bottom: .3rem; }
.search-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.search-bar p { margin: 0; font: 600 1.35rem/1 var(--display); }
.map-search { height: 22rem; margin-bottom: 1.5rem; }
.results { list-style: none; margin: 0; padding: 0; }
.res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .1rem 2rem; padding: 1.05rem 0; border-top: 1px solid var(--rule); }
.res-name { font: 600 1.45rem/1.15 var(--display); color: var(--ink); text-decoration: none; }
.res-name:hover { color: var(--wine); }
.res-town { grid-column: 1; font-size: .85rem; color: var(--muted); }
.res-notes { grid-column: 2; grid-row: 1 / span 2; font-size: .92rem; align-self: center; }
.res-event { grid-column: 2; font-size: .85rem; color: var(--wine); }
.res-none { padding: 2rem 0; color: var(--muted); }

/* Calendar */
.cal-tools { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font: 500 .85rem/1 var(--text); padding: .55rem .85rem; border: 1px solid var(--rule); background: #fbf8f3; color: var(--ink); cursor: pointer; border-radius: 2px; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.toggle { display: flex; gap: .55rem; align-items: center; font-size: .9rem; color: var(--muted); }
.at { margin: 0; }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; padding-bottom: 5rem; align-items: start; }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.cal-head h2 { margin: 0; font-size: 2.1rem; font-weight: 500; }
.dow, .grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.dow span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); padding: 0 0 .5rem .35rem; }
.grid { border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.cell {
  aspect-ratio: 1 / .92; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: .4rem .45rem; background: transparent; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  cursor: pointer; color: var(--ink); text-align: left;
}
.cell.blank { cursor: default; }
.cell .num { font: 500 1.35rem/1 var(--display); font-variant-numeric: lining-nums; }
.cell .cnt { font-size: .72rem; color: var(--wine); line-height: 1.2; }
.cell.past { color: var(--muted); background: transparent; }
.cell.past .num { opacity: .75; }
.cell.past .cnt { color: var(--muted); }
.cell.today .num { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.cell.has:not(.past) { background: #fbf8f3; }
.cell:hover:not(.blank) { background: var(--panel); }
.cell.cell[aria-pressed="true"] { background: var(--wine); color: var(--paper); }
.cell.cell[aria-pressed="true"] .cnt { color: rgba(246, 242, 235, .85); }
div[data-day] h2 { margin: 0 0 .5rem; font-size: 2rem; font-weight: 500; }
.none { color: var(--muted); }

/* Planner */
.planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; padding-bottom: 5rem; align-items: start; }
.plan-controls { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; margin-bottom: 2rem; }
.plan-empty { color: var(--muted); }
.planner .stops .stop { padding: 0; }
.total { width: 100%; margin: 0 0 .25rem; font: 600 1.3rem/1.3 var(--display); }
.map-plan { height: 40rem; position: sticky; top: 1rem; }
.suggest { margin-top: 2.5rem; }
.suggest h2 { margin: 0 0 .5rem; font-size: 1.6rem; font-weight: 500; }
.sugg { list-style: none; margin: 0; padding: 0; }
.sugg li { display: grid; grid-template-columns: 3rem 1fr; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.sugg a { font: 600 1.2rem/1.2 var(--display); color: var(--ink); text-decoration: none; }
.sugg a:hover { color: var(--wine); }
.sugg-m, .sugg-ev { display: block; font-size: .85rem; color: var(--muted); }
.sugg-ev { color: var(--wine); }

/* Winery page: the label */
.label { background: var(--panel); border-bottom: 1px solid var(--rule); text-align: center; padding: 2.5rem 0; }
.label .frame { max-width: 52rem; margin: 0 auto; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 2rem 1rem 1.8rem; position: relative; }
.label .frame::before, .label .frame::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; height: 1px; background: var(--gold); opacity: .55; }
.label .frame::before { top: 4px; }
.label .frame::after { bottom: 4px; }
.label-region { margin: 0 0 .9rem; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); }
.label-region a { color: inherit; text-decoration: none; }
.label h1 { margin: 0; font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 500; line-height: 1; }
.label-town { margin: .7rem 0 0; font: italic 500 1.35rem/1.2 var(--display); color: var(--muted); }
.label-notes { margin: 1.1rem auto 0; max-width: 36rem; font: italic 500 1.2rem/1.45 var(--display); color: var(--ink); }
.winery-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4rem; padding-top: 3rem; padding-bottom: 5rem; align-items: start; }
.answers h2, .side-block h2 { margin: 0 0 .75rem; font-size: 2rem; font-weight: 500; }
.answers dl { margin: 0; }
.qa { padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.qa dt { font-size: .9rem; color: var(--muted); }
.qa dd { margin: .2rem 0 0; }
.qa .a { margin: 0; font: 600 1.55rem/1.25 var(--display); }
.qa .detail { margin: .35rem 0 0; }
.qa .src { margin: .45rem 0 0; font-size: .8rem; color: var(--muted); }
.qa .src a { color: inherit; }
.qa.unknown .a { font-weight: 500; font-style: italic; color: var(--muted); font-size: 1.3rem; }
.map-small { height: 17rem; }
.address { margin: .8rem 0 0; font-size: .92rem; color: var(--muted); }
.side-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }
.side-block { margin-top: 2.5rem; }
.side-block h2 { font-size: 1.6rem; }
.nearby { list-style: none; margin: 0; padding: 0; }
.nearby li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.nearby a { font: 600 1.15rem/1.2 var(--display); color: var(--ink); text-decoration: none; }
.nearby a:hover { color: var(--wine); }
.nearby span { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.price { color: var(--muted); }

/* County pages */
.region { padding-bottom: 5rem; }
.map-region { height: 28rem; margin-bottom: 2rem; }
.roster { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.roster li { break-inside: avoid; border-top: 1px solid var(--rule); }
.roster a { display: block; padding: .8rem 0; text-decoration: none; color: var(--ink); }
.r-name { display: block; font: 600 1.4rem/1.15 var(--display); }
.roster a:hover .r-name { color: var(--wine); }
.r-town, .r-notes { display: block; font-size: .85rem; color: var(--muted); }

/* Colophon */
.colophon { border-top: 1px solid var(--rule); background: var(--panel); color: var(--muted); font-size: .92rem; }
.colophon .wrap { padding-top: 2.5rem; padding-bottom: 3rem; max-width: 72rem; }
.colophon p { max-width: 44rem; margin: 0 0 .75rem; }
.colophon .brand-name { font-size: 1.4rem; color: var(--ink); }
.colophon a { color: inherit; }

/* Map pins and popups */
.pin { width: 14px; height: 14px; border-radius: 50%; background: var(--wine); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--wine); cursor: pointer; padding: 0; }
.pin-n { width: 28px; height: 28px; display: grid; place-items: center; font: 600 15px/1 var(--display); font-variant-numeric: lining-nums; color: var(--paper); }
.pin-here { background: var(--gold); box-shadow: 0 0 0 1px var(--gold); width: 18px; height: 18px; }
.maplibregl-popup-content { font-family: var(--text); padding: .6rem .8rem; border-radius: 2px; background: var(--paper); box-shadow: 0 2px 10px rgba(42, 36, 32, .18); }
.maplibregl-popup-tip { border-top-color: var(--paper) !important; border-bottom-color: var(--paper) !important; }
.pop-name { display: block; font: 600 1.15rem/1.2 var(--display); color: var(--ink); text-decoration: none; }
.pop-town { font-size: .8rem; color: var(--muted); }

@media (max-width: 60rem) {
  .adventures { grid-template-columns: 1fr 1fr; }
  .trip, .planner, .winery-body, .cal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .map-trip, .map-plan { position: static; height: 24rem; }
  .search { grid-template-columns: 1fr; gap: 1.5rem; }
  .filters { position: static; max-height: none; }
  .teaser { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 40rem) {
  .wrap { padding: 0 1rem; }
  .masthead nav { gap: .2rem 1.1rem; font-size: .9rem; }
  .hero { padding: 3rem 0 2.25rem; }
  .adventures { grid-template-columns: 1fr; }
  .adventure { padding: 1.5rem 1.25rem 1.3rem; }
  .choice { min-width: 0; flex: 1 1 9rem; }
  .choice.date { flex: 1 1 5.5rem; }
  .alt-list, .roster { columns: 1; }
  .res { grid-template-columns: 1fr; }
  .res-notes, .res-event { grid-column: 1; grid-row: auto; }
  .plan-controls { grid-template-columns: 1fr; }
  .label { padding: 2rem 0; }
  .label .wrap::before, .label .wrap::after { left: 1rem; right: 1rem; }
  .ev { grid-template-columns: 4.5rem 1fr; }
  .cell .cnt { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Breadcrumbs */
.crumbs { padding-top: 1rem; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs .sep { margin: 0 .35rem; color: var(--gold); }
.crumbs + main .page-head { padding-top: 2rem; }
.crumbs + main .label { margin-top: 1rem; }

/* Winery page extras */
.action-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; padding-top: 1.5rem; }
.qa.long .a { font: 500 1.05rem/1.55 var(--text); }
table.hours { border-collapse: collapse; margin: .5rem 0 0; font-size: .95rem; }
table.hours th { text-align: left; font-weight: 500; padding: .2rem 1.5rem .2rem 0; }
table.hours td { padding: .2rem 0; }
.stop-hours.warn { color: var(--wine); font-weight: 500; }
.drive-note { margin: 1.25rem 0 0; font-size: .85rem; color: var(--muted); }
.res-open { grid-column: 2; font-size: .85rem; color: var(--gold-text); }

/* Lists of links (guides, counties) */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--rule); }
.link-list li span { color: var(--muted); font-size: .85rem; }
.link-list.big a { font: 600 1.35rem/1.25 var(--display); }
.teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Guide pages */
.guide { padding-bottom: 4rem; }
.guide .map-region { height: 24rem; }
.g-group { margin-top: 2.5rem; }
.g-group > h2 { font-size: 2rem; font-weight: 500; margin: 0 0 .5rem; }
.g-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.g-list li { break-inside: avoid; padding: 1rem 0; border-top: 1px solid var(--rule); }
.g-list h3 { margin: 0; font-size: 1.45rem; }
.g-list h3 a { color: var(--ink); text-decoration: none; }
.g-list h3 a:hover { color: var(--wine); }
.g-town { margin: .1rem 0 .4rem; font-size: .85rem; color: var(--muted); }
.g-list p { margin: .25rem 0 0; }
.g-extra { font-size: .92rem; }
.src { font-size: .8rem; color: var(--muted); }
.src a { color: inherit; }
.faq dl { margin: 0; max-width: 46rem; }
.faq .qa dt { font: 600 1.25rem/1.3 var(--display); color: var(--ink); }
.more-guides { margin-top: 2.5rem; color: var(--muted); }
.region-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; }
.region-cols aside h2 { font-size: 1.6rem; font-weight: 500; margin: 0 0 .5rem; }
.region-cols .roster { columns: 1; }

/* Events page (server-rendered list for no-JS and crawlers) and the weekend page */
.ev-static h3 { margin: 2rem 0 .25rem; font-size: 1.6rem; font-weight: 500; }
.weekend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 4rem; }
.weekend.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.weekend.n1 { grid-template-columns: minmax(0, 46rem); }
.wk-day h2 { margin: 0 0 .25rem; font-size: 1.8rem; font-weight: 500; }
.weekend .evlist.big .ev { grid-template-columns: 4.5rem 1fr; }

/* About */
.prose { max-width: 44rem; padding-bottom: 4rem; }
.prose h2 { font-size: 1.8rem; font-weight: 500; margin: 2rem 0 .5rem; }

/* Footer */
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.colophon h2 { font-size: 1.3rem; font-weight: 500; margin: 0 0 .5rem; }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { margin: .25rem 0; }

/* Search filters: a panel on small screens */
.filter-bar, .filter-actions .button { display: none; }

@media (min-width: 60.01rem) {
  .trip .map-trip, .planner .map-plan { order: 2; }
}
@media (max-width: 60rem) {
  .filter-bar { display: block; position: sticky; top: 0; z-index: 3; background: var(--paper); padding: .5rem 0; }
  .filters { display: none; }
  .filters.open { display: flex; }
  .filter-actions .button { display: inline-block; }
  .filter-actions { display: flex; justify-content: space-between; align-items: center; }
  .map-trip, .map-plan { height: 18rem; }
  .weekend, .foot-grid, .region-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .teaser { grid-template-columns: 1fr; }
  .g-list { columns: 1; }
}
@media (max-width: 40rem) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; }
  .action-bar .button { text-align: center; padding: .85rem .6rem; }
  .action-bar .button:first-child { grid-column: 1 / -1; }
  .facet label { min-height: 44px; }
  input[type="checkbox"] { width: 1.2rem; height: 1.2rem; }
  .chip, .choice, .reg { min-height: 44px; }
  .link { padding: .5rem 0; }
  .label .frame { padding: 1.5rem .5rem 1.4rem; }
  .label .frame::before, .label .frame::after { left: .75rem; right: .75rem; }
  .map-small { height: 13rem; }
  .crumbs { font-size: .8rem; }
}
