/*
Theme Name: DAHS
Description: Refresh of the Dansville Area Historical Society site. Keeps the 2022 "history" theme look (PT Serif, Lora, Abril Fatface, gold and black) with a cleaner, accessible build.
Version: 1.3.1
Requires PHP: 8.0
Text Domain: dahs
*/

/* Palette and fonts measured from the live site (2026-10-19). */
:root {
	--ink: #111;
	--ink-2: #2a2a2a;        /* top bar */
	--text: #333;
	--muted: #595959;        /* live used #777, darkened for AA contrast */
	--gold: #e2b13c;         /* live footer */
	--gold-dark: #7a5a0c;    /* gold for text on white (AA) */
	--yellow: #ffd91c;       /* live hero highlight */
	--soft: #f4f4f4;         /* live section background */
	--line: #dedfe0;
	--serif: "PT Serif", Georgia, serif;
	--head: "Lora", Georgia, serif;
	--display: "Abril Fatface", Georgia, serif;
	--ui: "Poppins", system-ui, sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; } /* site.js sets the real header height */
body { margin: 0; background: #fff; color: var(--text); font: 17px/1.7 var(--serif); overflow-x: hidden; }
img, object { max-width: 100%; height: auto; }
iframe { max-width: 100%; border: 0; }
a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--gold-dark); }
a[href^="mailto:"] { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.25; font-weight: 700; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 21px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 8px; }
#main:focus { outline: none; }

/* Header: black phone tab top right, logo left, small caps menu with gold underline (as live). */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0); z-index: 30; transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 2px 14px rgba(0,0,0,.1); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } } /* WP admin bar stops being fixed here */
.topbar { display: flex; justify-content: flex-end; }
.topbar a { display: flex; align-items: center; gap: 8px; color: #fff; background: var(--ink-2); text-decoration: none; min-height: 44px; }
.topbar__phone { padding: 0 24px 0 40px; font: 600 16px var(--ui); clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%); }
.topbar__phone svg { color: var(--gold); }
.topbar__icon { width: 52px; justify-content: center; border-left: 1px solid #444; }
.topbar a:hover { color: var(--gold); }
.masthead { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 16px; transition: padding .2s; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { display: block; width: 210px; height: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; gap: 32px; }
.primary-nav a { display: block; padding: 10px 0; font: 600 13px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--gold-dark); border-bottom-color: var(--gold); }
.primary-nav li { position: relative; }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.primary-nav .sub-menu { position: absolute; left: -16px; top: 100%; min-width: 260px; background: #fff; border-top: 2px solid var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px 0; visibility: hidden; opacity: 0; transition: opacity .15s; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.primary-nav .sub-menu a { padding: 8px 16px; letter-spacing: .06em; border: 0; }
.menu-toggle, .call-btn { display: none; }
@media (max-width: 1200px) and (min-width: 961px) { .primary-nav > ul { gap: 20px; } .primary-nav a { letter-spacing: .08em; } }

@media (max-width: 960px) {
	.menu-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: none; border: 1px solid var(--ink); border-radius: 4px; font: 600 13px var(--ui); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
	.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
	.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
	.masthead { flex-wrap: wrap; gap: 8px; }
	.menu-toggle { padding: 0 12px !important; }
	.brand { margin-right: auto; }
	.call-btn { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; background: var(--ink); color: #fff; border-radius: 4px; font: 600 13px var(--ui); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
	.call-btn svg { color: var(--gold); }
	.primary-nav.is-open { max-height: calc(100svh - 80px); overflow-y: auto; overscroll-behavior: contain; } /* site.js sets the exact space left */
	.primary-nav { display: none; width: 100%; }
	.primary-nav.is-open { display: block; }
	.primary-nav > ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
	.primary-nav li { border-bottom: 1px solid var(--line); }
	.primary-nav a { padding: 13px 0; font-size: 14px; }
	.primary-nav .sub-menu { position: static; visibility: visible; opacity: 1; box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0; }
	.primary-nav .sub-menu li { border: 0; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.topbar { background: var(--ink-2); }
	.topbar__phone { margin-right: auto; clip-path: none; padding-left: 16px; }
}
@media (max-width: 600px) { .brand img { width: 140px; } .masthead { padding: 10px 16px; } }
@media (max-width: 380px) { .call-btn span, .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Home */
.hero { position: relative; min-height: min(80svh, 700px); display: grid; place-items: center; background: #6b6a58; } /* no overflow clip: tall text on short phones grows the hero */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,10,.05) 30%, rgba(20,18,10,.55) 100%); }
.hero__text { position: relative; z-index: 1; text-align: center; padding: 96px 20px 72px; max-width: 1200px; }
.hero__eyebrow { display: inline-block; margin: 0 0 22px; padding: 6px 14px; background: rgba(17,17,17,.82); color: #fff; font: 600 12px var(--ui); letter-spacing: .16em; text-transform: uppercase; border-radius: 3px; }
.hero mark { background: var(--yellow); color: var(--ink); padding: .05em .25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 3px; }
.hero h1, .hero__sub { text-wrap: balance; }
.hero h1 { margin: 0 0 24px; font-size: clamp(24px, 3.2vw, 40px); text-transform: uppercase; line-height: 1.5; }
.hero__sub { margin: 0; font: 700 clamp(30px, 4.2vw, 56px)/1.3 var(--head); text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 40px 0 0; }
@media (max-width: 600px) { .hero { min-height: min(74svh, 560px); } .hero__text { padding: 56px 16px 40px; } .hero__actions .btn { flex: 1 1 100%; } }

/* Buttons: 48px tall, 4px corners (DESIGN.md scale). */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 48px; padding: 0 26px; border-radius: 4px; font: 600 15px var(--ui); letter-spacing: .04em; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-2); color: var(--yellow); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--yellow); color: var(--ink); }
.btn--outline { color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .btn, .site-header, .masthead { transition: none; } }

.visit-strip { background: var(--ink-2); color: #fff; }
.visit-strip__inner { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.visit-strip p { margin: 0; font-size: 16px; }
.visit-strip strong { display: block; font: 600 12px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.visit-strip__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto !important; }
@media (max-width: 760px) { .visit-strip__actions { margin-left: 0 !important; } }

.tiles { background: var(--soft); padding: 72px 0; }
.tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile h2 { font: 400 24px var(--serif); text-transform: uppercase; margin: 24px 0 8px; }
.tile p { color: var(--muted); font-size: 16px; margin: 0 0 12px; }
@media (max-width: 860px) { .tiles__grid { grid-template-columns: 1fr; } .tiles { padding: 48px 0; } }

.display-title { font: 400 clamp(28px, 3vw, 36px) var(--display); text-transform: uppercase; text-align: center; margin: 0 0 40px; letter-spacing: .01em; }
.events { padding: 64px 0; }
.event-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px; }
.event { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: start; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; background: #fff; }
.event__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.event__time { white-space: nowrap; }
.event__date { margin: 0 0 4px; font: 600 12px var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.event__title { margin: 0 0 8px; font-size: 21px; }
.event__body p { font-size: 16px; margin: 0 0 8px; }
.event__meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.content .event-list { margin: 0; }
@media (max-width: 480px) { .event { grid-template-columns: 1fr; } .event__img img { aspect-ratio: auto; } }
.support { background: #fff; padding: 72px 0; }
.support__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.support__item { background: var(--soft); padding: 28px; border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; }
.support__item h3 { margin: 0 0 8px; font-size: 21px; }
.support__item p { color: var(--muted); font-size: 16px; margin: 0 0 14px; }
.events__more { text-align: center; margin-top: 32px; color: var(--muted); font-size: 16px; }
.events__more .cta { margin-left: 8px; }

/* Stand-alone links: semibold, gold, arrow moves on hover (DESIGN.md). */
.cta { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--ui); letter-spacing: .04em; color: var(--gold-dark); text-decoration: none; }
.cta .arrow { transition: transform .15s; }
.cta:hover .arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .cta .arrow, .primary-nav .sub-menu { transition: none; } }

/* Inner pages */
.content { padding-top: 48px; padding-bottom: 72px; }
.page-title { font: 400 clamp(32px, 4vw, 44px) var(--head); margin: 0 0 24px; padding-bottom: 16px; border-bottom: 2px solid var(--gold); display: inline-block; }
.eyebrow { margin: 0 0 8px; font: 600 12px var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow a { color: var(--gold-dark); text-decoration: none; }
.entry { max-width: 70ch; } /* one readable column; boxes, maps and figures share its edge */
.content--text { max-width: calc(920px + 48px); } /* text pages: title and text centred as one column (Joe: open up 15-20%) */
.content--text .entry { max-width: none; }
/* Section rhythm (Joe 2026-10-20): a short gold rule between sections, and now and then a light grey band that runs edge to edge. */
.entry hr, hr.rule { width: 96px; height: 0; margin: 56px auto; border: 0; border-top: 2px solid var(--gold); clear: both; }
.band { position: relative; clear: both; margin: 56px 0; padding: 48px 0; background: var(--soft); box-shadow: 0 0 0 100vmax var(--soft); clip-path: inset(0 -100vmax); }
.band > :first-child { margin-top: 0; } .band > :last-child { margin-bottom: 0; }
.content--text .card-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.content--text .join-grid { grid-template-columns: 1fr; gap: 24px; } /* three full-width panels read better than three narrow cards in the column */
.content--text .event-list { max-width: none; }
@media (max-width: 600px) { .content--text { max-width: none; } }
.entry img { display: block; margin: 16px 0; }
.entry figure { margin: 24px 0; max-width: 100% !important; }
.entry .alignright { float: right; margin: 0 0 16px 24px; }
.entry .alignleft { float: left; margin: 0 24px 16px 0; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .entry .alignright, .entry .alignleft { float: none; margin: 16px 0; } }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry table:not(.shop_table) { display: block; overflow-x: auto; } /* Woo cart and order tables keep table layout */
.entry td, .entry th { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.entry iframe[src*="google.com/maps"], .su-gmap iframe { display: block; width: 100%; height: 400px; background: var(--soft); }
@media (max-width: 600px) { .entry iframe[src*="google.com/maps"], .su-gmap iframe { height: 280px; } } /* maps only: reCAPTCHA and PayPal iframes keep their own size */
.entry ul { padding-left: 1.2em; }
.single-thumb { float: right; margin: 4px 0 16px 32px; max-width: 280px; }
@media (max-width: 600px) { .single-thumb { float: none; margin: 0 0 16px; } }
.section-title { margin: 48px 0 16px; }

/* Document rows: the whole row is the link. */
.doc-list { list-style: none; margin: 0; padding: 0; max-width: 760px; border-top: 1px solid var(--line); }
.doc-list__year { font: 600 13px var(--ui); letter-spacing: .12em; color: var(--gold-dark); padding: 20px 8px 6px; border-bottom: 1px solid var(--line); }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.doc-row:hover { background: var(--soft); color: var(--ink); }
.tag { font: 600 11px var(--ui); letter-spacing: .1em; border: 1px solid var(--gold-dark); color: var(--gold-dark); border-radius: 3px; padding: 2px 6px; }

.card-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.card a { display: block; text-decoration: none; }
.card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: var(--soft); }
.card__title { font-size: 18px; margin: 12px 0 0; }

.wide-photo { margin: 0 0 40px; }
.wide-photo img { display: block; width: 100%; height: auto; }
.visit-grid, .join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.visit-grid h2 { font-size: 22px; margin: 0 0 8px; }
.visit-grid h2:not(:first-child) { margin-top: 32px; }
.panel { background: var(--soft); padding: 28px; border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; }
.panel h2 { font-size: 22px; margin-top: 0; }
.support__item, .panel { display: flex; flex-direction: column; }
.support__item > :last-child, .panel > :last-child { margin-top: auto; margin-bottom: 0; }
.panel > h2 + *, .support__item > h3 + * { margin-top: 0; } /* flex columns do not collapse margins */ /* links line up across cards */
.lead { font-size: 19px; color: var(--muted); max-width: 760px; margin: 0 0 32px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; margin-top: 48px; background: var(--soft); }

/* Imported page content: long text, floated images, leftover Shortcodes Ultimate markup (its CSS is not loaded). */
.entry h2, .entry h3, .entry .su-heading { clear: both; }
.entry h4 { font-size: 19px; }
.entry h5 { font: italic 400 17px/1.6 var(--serif); color: var(--muted); }
.entry .alignright, .entry .alignleft { max-width: min(45%, 380px) !important; }
.entry .alignright img, .entry .alignleft img { width: 100%; margin: 0; }
@media (max-width: 600px) { .entry .alignright, .entry .alignleft { max-width: 100% !important; } }
.su-heading { margin: 56px 0 12px !important; text-align: left !important; }
.entry > .su-heading:first-child { margin-top: 0 !important; }
.su-heading-inner { font: 700 clamp(22px, 2.4vw, 26px)/1.3 var(--head) !important; color: var(--ink) !important; padding: 20px 0 0 !important; border-top: 1px solid var(--line); }
.single .entry > .su-heading:first-child .su-heading-inner { font: 400 19px var(--serif) !important; color: var(--muted) !important; border: 0; padding: 0 !important; }
.entry > .single-thumb:first-child + .su-heading { clear: none; margin-top: 0 !important; }
.single .entry > .single-thumb:first-child + .su-heading .su-heading-inner { font: 400 19px var(--serif) !important; color: var(--muted) !important; border: 0; padding: 0 !important; }
.su-heading + h4 { font: 400 15px/1.7 var(--ui); color: var(--ink-2); background: var(--soft); border-left: 3px solid var(--gold); padding: 14px 18px; margin: 0 0 20px; }
.su-divider { width: 96px !important; border: 0 !important; border-top: 2px solid var(--gold) !important; margin: 56px auto !important; height: 0 !important; } /* same short gold rule as .entry hr */
.su-divider a { display: none; }
.people, .roster { list-style: none; padding: 0 !important; }
.people li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.roster { columns: 2 280px; column-gap: 40px; }
.roster li { break-inside: avoid; padding: 4px 0; }

/* Hall of Fame: the old Content Views list printed each inductee's photo twice plus an excerpt; show compact cards instead. */
.pt-cv-wrapper .pt-cv-view, .pt-cv-wrapper .pt-cv-page { margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; }
.pt-cv-page { display: grid; gap: 16px; margin: 0 0 48px; }
.pt-cv-content-item { width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.pt-cv-ifield { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; padding: 16px; background: var(--soft); border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; }
.pt-cv-ifield > p:empty { display: none; }
.pt-cv-thumbnail { display: block; width: 96px; height: 96px; object-fit: cover; margin: 0 !important; }
.pt-cv-title { margin: 0 0 2px; font-size: 19px; }
.pt-cv-title a { text-decoration: none; }
.pt-cv-content { color: var(--muted); font-size: 15px; }
.pt-cv-content figure, .pt-cv-content > p { display: none; }
.pt-cv-rmwrap { margin: 6px 0 0; padding: 0; }
.pt-cv-colwrap > :last-child, .pt-cv-content > :last-child { margin-bottom: 0 !important; }
/* :is(#dahs) lifts this over Content Views' own "#pt-cv-view-… .pt-cv-readmore { … !important }" orange button */
.pt-cv-wrapper :is(.pt-cv-view, #dahs) .pt-cv-readmore, .pt-cv-wrapper :is(.pt-cv-view, #dahs) .pt-cv-readmore:hover { display: inline; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; font: 600 14px var(--ui) !important; letter-spacing: .04em; color: var(--gold-dark) !important; text-decoration: none; }
.pt-cv-readmore::after { content: " \2192"; }

/* Forms (WPForms on Contact only; Woo checkout fields keep their own styles) */
.wpforms-container input[type=text], .wpforms-container input[type=email], .wpforms-container input[type=tel], .wpforms-container textarea { width: 100%; max-width: 560px; padding: 10px 12px; border: 1px solid #8a8a8a; border-radius: 4px; font: inherit; background: #fff; }
.wpforms-container label { display: block; font: 600 14px var(--ui); margin: 16px 0 6px; }
.entry div.wpforms-container-full .wpforms-form button.wpforms-submit, .entry .wpforms-submit { min-height: 48px; padding: 0 26px; border: 0; border-radius: 4px; background: var(--ink); color: #fff; font: 600 15px var(--ui); cursor: pointer; }
.entry div.wpforms-container-full .wpforms-form button.wpforms-submit:hover, .entry .wpforms-submit:hover { background: var(--ink-2); color: var(--yellow); }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font: 600 14px var(--ui); }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* WooCommerce, kept simple */
@media (max-width: 600px) { .shop ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; } .shop .woocommerce-loop-product__title { font-size: 16px; } }
.shop ul.products { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.shop ul.products::before, .shop ul.products::after { display: none; }
.shop ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.shop .woocommerce-products-header__title { font: 400 clamp(32px, 4vw, 44px) var(--head); padding-bottom: 16px; border-bottom: 2px solid var(--gold); display: inline-block; }
.shop ul.products li.product img { aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); margin-bottom: 16px !important; }
.shop-intro { max-width: 760px; color: var(--muted); }
.shop .woocommerce-loop-product__title { font: 700 18px var(--head); }
.shop .price { color: var(--ink) !important; font-weight: 700; }
.shop .button, .shop button.button { background: var(--ink) !important; color: #fff !important; border-radius: 4px !important; font: 600 14px var(--ui) !important; padding: 12px 20px !important; }
.shop .button:hover { background: var(--gold-dark) !important; }
.shop div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.shop div.product .woocommerce-product-gallery, .shop div.product .summary { width: auto !important; float: none !important; }
.shop div.product .woocommerce-tabs, .shop div.product .related { grid-column: 1 / -1; }
@media (max-width: 760px) { .shop div.product { grid-template-columns: 1fr; } }
.shop div.product { align-items: start; }
.shop .product_title { font: 400 clamp(30px, 3.5vw, 40px) var(--head); padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.shop .woocommerce-product-gallery img { width: 100% !important; max-width: 440px; margin: 0 auto; }
.shop .woocommerce-tabs { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 8px; }
.shop .woocommerce-tabs ul.tabs { display: none; }
.shop .woocommerce-tabs .panel { display: block; background: none; border: 0; border-radius: 0; padding: 24px 0 0; max-width: 760px; }
.shop .product_meta { display: none; }
.shop form.cart { display: flex; gap: 12px; align-items: center; }
.shop form.cart::before, .shop form.cart::after { display: none; }
.shop div.product .summary, .shop div.product .woocommerce-product-gallery { margin-bottom: 0 !important; }
.shop .quantity .qty { width: 64px; min-height: 48px; padding: 0 8px; border: 1px solid #8a8a8a; border-radius: 4px; font: 16px var(--serif); }
.shop .single_add_to_cart_button { min-height: 48px; }
.woocommerce-cart .entry, .woocommerce-checkout .entry, .woocommerce-account .entry { max-width: none; }
.wc-block-grid__product-link { text-decoration: none; }
.wc-block-grid__product-image img { aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.wc-block-grid__product-add-to-cart .wp-block-button__link { background: var(--ink); color: #fff; border-radius: 4px; font: 600 14px var(--ui); padding: 12px 20px; }
.wc-block-cart .wp-block-separator { display: none; }

/* Footer: the live gold band, now with content. */
.site-footer { background: var(--gold); color: var(--ink); padding: 56px 0 0; font-size: 16px; }
.site-footer a { color: var(--ink); text-decoration-color: var(--ink); }
.site-footer .cta { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-title { font: 400 22px var(--display); margin: 0 0 12px; letter-spacing: .01em; }
.footer-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 16px; padding-bottom: 24px; font-size: 14px; }
.footer-base::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid rgba(0,0,0,.25); } /* rule lines up with the columns, not the wrap padding */
@media (max-width: 600px) { .footer-base::before { left: 16px; right: 16px; } }
.footer-base p { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.scroll-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; display: grid; place-items: center; background: var(--ink); color: #fff; border: 0; border-radius: 4px; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 20; }
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--gold-dark); }
@media (min-width: 1100px) { .visit-strip__inner > p:not(.visit-strip__actions) { white-space: nowrap; } .visit-strip__inner { display: grid; grid-template-columns: minmax(0, max-content) max-content 1fr; gap: 40px; } .visit-strip__actions { justify-content: flex-end; flex-wrap: nowrap; } }
.panel a[href^="mailto:"] { font-size: 15px; }
/* Hall of Fame singles: assets/r5-hof.css (loaded on inductee pages only) */

/* ===== Round 5: r5-about (merged from assets/r5-about.css) ===== */
/* r5 About Us: hero photo + "Dansville through the years" timeline (merge into style.css) */
.about-hero { margin: 0 0 48px; }
.about-hero img { width: 100%; height: auto; max-height: 460px; object-fit: cover; margin: 0; border-radius: 4px; }

.timeline-title { font: 400 clamp(28px, 3vw, 36px) var(--display); text-transform: uppercase; text-align: center; letter-spacing: .01em; margin-bottom: 40px; }
.timeline { --rail: 0px; list-style: none; position: relative; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: calc(var(--rail) + 7px); top: 8px; bottom: 8px; border-left: 2px solid var(--gold); }
.timeline li { position: relative; margin: 0; padding: 0 0 28px calc(var(--rail) + 36px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: var(--rail); top: 6px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; background: var(--soft); border: 3px solid var(--gold); }
.timeline__year { display: block; font: 700 17px/1.4 var(--head); color: var(--gold-dark); padding-top: 4px; }
.timeline li p { margin: 4px 0 0; }
/* Society milestones: filled dot, white card */
.timeline .timeline__society::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(226,177,60,.25); }
.timeline .timeline__society p { background: #fff; border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 4px 4px 0; }
.timeline-more { margin: 40px 0 0; text-align: center; font: 600 14px var(--ui); letter-spacing: .04em; }
.timeline-more a { color: var(--gold-dark); }

@media (min-width: 760px) {
	/* year sits in its own column left of the rail */
	.timeline { --rail: 184px; }
	.timeline__year { position: absolute; left: 0; top: 0; width: 160px; text-align: right; padding-top: 0; }
	.timeline li p { margin-top: 0; }
	.timeline li { padding-bottom: 32px; }
}

/* ===== Round 5: r5-civil-citizens (merged from assets/r5-civil-citizens.css) ===== */
/* r5: Civil War (page civil-war) and Citizens of the Year (page citizens-of-the-year) */

/* shared small label */
.cw-label, .coy-eyebrow { font: 600 12px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 12px; }

/* ---------- Civil War ---------- */
.cw-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.cw-lead { font-size: 19px; line-height: 1.65; color: var(--ink-2); margin-top: 0; }
.cw-stat { display: flex; align-items: center; gap: 18px; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.cw-stat__num { font: 400 88px/0.9 var(--display); color: var(--gold-dark); }
.cw-stat__label { font: 400 20px/1.35 var(--head); color: var(--ink); max-width: 15em; }
.cw-intro__fig { margin: 0; }
.cw-intro__fig img { display: block; width: 100%; border-radius: 4px; box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.cw-intro__fig figcaption { margin-top: 10px; font: 400 14px/1.5 var(--ui); }

.cw-drop::first-letter { float: left; font: 400 64px/0.85 var(--display); color: var(--gold-dark); margin: 6px 10px 0 0; }
.cw-pull { margin: 32px 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--gold); }
.cw-pull p { margin: 0; font: italic 400 clamp(21px, 2.4vw, 25px)/1.45 var(--head); color: var(--ink); }

.cw-zouaves { display: grid; grid-template-columns: 300px 1fr; gap: 0; margin: 24px 0 28px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; background: #fff; }
.cw-officers { margin: 0; padding: 22px 24px; background: var(--soft); }
.cw-officers > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted #c9c9c9; }
.cw-officers > div:last-child { border-bottom: 0; }
.cw-officers dt { font: 600 12px/1.9 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cw-officers dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.cw-privates { padding: 22px 24px; }
.entry .cw-privates ul { list-style: none; margin: 0; padding: 0; columns: 3 130px; column-gap: 20px; }
.cw-privates li { break-inside: avoid; padding: 3px 0; font-size: 16px; }

.cw-honor h2 { margin-top: 0; }
.cw-honor__eyebrow { margin-bottom: 4px; }
.entry .cw-roll { list-style: none; margin: 24px 0 0; padding: 0; columns: 3 240px; column-gap: 16px; }
.cw-roll li { break-inside: avoid; margin: 0 0 12px; padding: 12px 14px; background: #fff; border-left: 3px solid var(--gold); border-radius: 0 4px 4px 0; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cw-roll strong { display: block; font: 700 16px/1.35 var(--head); color: var(--ink); }
.cw-roll strong a { text-decoration-color: var(--gold); }
.cw-roll span { display: block; margin-top: 3px; font: 400 13.5px/1.5 var(--ui); color: var(--muted); }
.cw-roll .cw-moh { border-left-color: var(--gold-dark); background: #fffaf0; }
.cw-roll span.cw-tag { display: inline-block; margin-top: 6px; padding: 1px 7px; font: 600 10.5px/1.6 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); border: 1px solid var(--gold-dark); border-radius: 3px; }

.cw-monument { max-width: min(38%, 320px) !important; }
.cw-monument img { border-radius: 4px; box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.cw-posts__title { clear: both; margin: 40px 0 16px; font: 700 22px var(--head); }
.cw-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cw-post { background: var(--soft); padding: 24px; border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; }
.cw-post__name { margin: 0; font: 700 19px/1.3 var(--head); color: var(--ink); }
.cw-post__years { margin: 2px 0 12px; font: 600 12px var(--ui); letter-spacing: .1em; color: var(--gold-dark); }
.entry .cw-post ul { list-style: none; margin: 0; padding: 0; }
.cw-post li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.cw-post li:last-child { border-bottom: 0; }
.cw-post p:last-child { margin-bottom: 0; }
.cw-note { margin-top: 24px; font: italic 400 15px/1.6 var(--serif); color: var(--muted); text-align: center; }

@media (max-width: 760px) {
	.cw-intro, .cw-zouaves, .cw-posts { grid-template-columns: 1fr; }
	.cw-intro { gap: 24px; }
	.cw-stat__num { font-size: 68px; }
}

/* ---------- Citizens of the Year ---------- */
.coy-eyebrow { margin-bottom: 14px; }
.coy-lead { font-size: 19px; line-height: 1.7; color: var(--ink-2); padding-left: 24px; border-left: 4px solid var(--gold); }
.coy-title { margin: 0 0 24px; text-align: center; }
.entry .coy-register { list-style: none; margin: 0; padding: 0; columns: 2 360px; column-gap: 20px; }
.coy-register > li { break-inside: avoid; display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: start; margin: 0 0 14px; padding: 16px 18px; background: #fff; border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.coy-year { font: 400 30px/1 var(--display); color: var(--gold-dark); padding-top: 2px; }
.coy-register p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.coy-register p + p { margin-top: 10px; padding-top: 10px; border-top: 1px dotted #c9c9c9; }
.coy-register strong { font-family: var(--head); color: var(--ink); }
@media (max-width: 420px) {
	.coy-register > li { grid-template-columns: 1fr; gap: 6px; }
}

/* ===== Round 5: r5-pages (merged from assets/r5-pages.css) ===== */
/* ===== Round 5: Visit, Events, Contact pages ===== */
.ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--gold-dark); }
.lead--center { text-align: center; margin-left: auto; margin-right: auto; }
.content--text .display-title { margin-bottom: 32px; }

/* Visit: photo with an hours card laid over it */
.visit-hero { position: relative; margin: 8px 0 56px; }
.visit-hero img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 60%; border-radius: 6px; }
.visit-hero__card { position: absolute; left: 32px; bottom: 32px; width: min(400px, calc(100% - 64px)); padding: 26px 28px; background: var(--ink-2); color: #fff; border-top: 4px solid var(--gold); border-radius: 0 0 6px 6px; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.visit-hero__card p { margin: 0; }
.visit-hero__eyebrow { font: 600 12px var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.visit-hero__days { margin-top: 6px !important; font: 400 30px/1.15 var(--display); }
.visit-hero__time { font: 400 20px var(--head); color: #e8e8e8; }
.visit-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.visit-hero__actions .btn--primary { background: transparent; border-color: rgba(255,255,255,.6); }
.visit-hero__actions .btn--primary:hover { border-color: var(--yellow); }
@media (max-width: 700px) {
	.visit-hero img { border-radius: 6px 6px 0 0; }
	.visit-hero__card { position: static; width: auto; box-shadow: none; border-top: 0; border-bottom: 4px solid var(--gold); border-radius: 0 0 6px 6px; padding: 22px 20px; }
	.visit-hero__actions .btn { flex: 1 1 100%; }
}

/* Visit: Hours / Find us / Contact */
.info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.info h2 { font-size: 21px; margin: 12px 0 8px; }
.info p { font-size: 16px; margin: 0 0 12px; }
.info__email, .contact-card__email { overflow-wrap: anywhere; font-size: 14.5px; }
.visit-map .map iframe { margin-top: 0; border-radius: 6px; }
.explore { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.explore a { display: block; position: relative; overflow: hidden; border-radius: 6px; text-decoration: none; color: #fff; background: var(--ink); }
.explore img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .72; transition: opacity .2s, transform .3s; }
.explore a:hover img { opacity: .55; transform: scale(1.03); }
.explore__title { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font: 700 21px var(--head); }
.explore__title .arrow { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .explore img { transition: none; } }

/* Events */
.events-page > .entry.lead { margin-bottom: 56px; }
.events-page > .entry.lead p { margin: 0; }
.empty-card { max-width: 640px; margin: 0 auto; padding: 40px 32px; text-align: center; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 0 0 6px 6px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.empty-card h3 { font-size: 24px; margin: 12px 0 8px; }
.empty-card p { color: var(--muted); margin: 0 0 24px; }
.empty-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 !important; }
@media (max-width: 480px) { .empty-card { padding: 32px 20px; } .empty-card__actions .btn { flex: 1 1 100%; } }
.events-page .band { margin-top: 72px; padding: 64px 0; }
.events-page .event-list { grid-template-columns: 1fr; gap: 32px; }
.events-page .event { grid-template-columns: minmax(0, 300px) 1fr; gap: 32px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.events-page .event__img img { aspect-ratio: auto; }
.events-page .event__title { font-size: 26px; }
.events-page .event__body p { font-size: 17px; }
.events-page .event-list--past .event__date { color: var(--muted); }
@media (max-width: 640px) { .events-page .event { grid-template-columns: 1fr; gap: 20px; padding: 20px; } }
.events-page__join { text-align: center; color: var(--muted); font-size: 16px; margin: 0; }
.events-page__join .cta { margin-left: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-form h2 { margin-top: 0; font-size: 26px; }
.contact-form > p:first-of-type { color: var(--muted); }
.contact-join { margin-top: 40px; padding: 18px 20px; background: var(--soft); border-left: 3px solid var(--gold); font-size: 16px; }
.contact-join a { font: 600 15px var(--ui); color: var(--gold-dark); white-space: nowrap; }
.contact-card { background: var(--ink-2); color: #fff; padding: 30px 28px; border-top: 4px solid var(--gold); border-radius: 0 0 6px 6px; }
.contact-card h2 { color: #fff; font: 400 24px/1.25 var(--display); margin: 0 0 20px; }
.contact-card dl { margin: 0; }
.contact-card dt { font: 600 11px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 16px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 2px 0 0; font-size: 16px; line-height: 1.55; color: #ececec; }
.contact-card a { color: #fff; }
.contact-card a:hover { color: var(--yellow); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.contact-card__actions .btn { color: var(--ink); } .contact-card__actions .btn--outline { color: #fff; }
.contact-page .band { margin-top: 72px; margin-bottom: 0; }
.contact-page .map iframe { margin-top: 0; border-radius: 6px; }
.contact-page.content { padding-bottom: 0; }
.contact-page .band:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
	.info-row { gap: 28px; }
	.info { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; }
	.info > :not(.ico) { grid-column: 2; }
	.info h2 { margin-top: 0; }
	.explore img { aspect-ratio: 16 / 9; }
	.visit-map .map iframe, .contact-page .map iframe { height: 300px; }
	.contact-page .band { margin-top: 48px; padding: 32px 0; }
}

/* Events (CPT) */
/* The closing line comes from page content, so its link gets the theme arrow from CSS instead of dahs_arrow(). */
.events-page__end .cta::after { content: ""; width: 14px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .15s; }
.events-page__end .cta:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .events-page__end .cta::after { transition: none; } }

/* ===== Round 5 QA: one band-heading style, rules never doubled, no white gap before the footer ===== */
.coy-title, .cw-honor > h2 { font: 400 clamp(28px, 3vw, 36px) var(--display); text-transform: uppercase; text-align: center; letter-spacing: .01em; margin: 0 0 32px; }
.cw-honor__eyebrow { text-align: center; }
.entry hr:has(+ .band), .su-divider:has(+ .band) { display: none; }
.entry > .band:last-child { margin-bottom: 0; }
.content:has(.entry > .band:last-child), .content:has(.entry > :last-child > .band:last-child) { padding-bottom: 0; }
@media (max-width: 600px) { .coy-lead { font-size: 17px; padding-left: 16px; } }

/* Consent banner + cart link (round 6) */
.dahs-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--ink-2); color: #fff; font: 15px/1.5 var(--serif); box-shadow: 0 -4px 18px rgba(0,0,0,.18); }
.dahs-consent[hidden] { display: none; }
.dahs-consent__text { margin: 0; max-width: 62ch; }
.dahs-consent a { color: #fff; text-decoration-color: var(--gold); }
.dahs-consent a:hover { color: var(--gold); }
.dahs-consent__gpc { display: block; font-size: 14px; color: #d6d6d6; }
.dahs-consent__actions { display: flex; gap: 12px; }
.dahs-consent__btn { min-width: 110px; min-height: 44px; padding: 0 18px; background: var(--gold); color: var(--ink); border: 0; border-radius: 4px; font: 600 13px var(--ui); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.dahs-consent__btn:hover { background: #fff; }
.dahs-consent :focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) { .dahs-consent { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); } .dahs-consent__actions { width: 100%; } .dahs-consent__btn { flex: 1; } }
.footer-links__btn { padding: 0; background: none; border: 0; font: inherit; color: var(--ink); text-decoration: underline 2px var(--ink); text-underline-offset: 3px; cursor: pointer; }
.site-footer :focus-visible { outline-color: var(--ink); }

.cart-link { order: 2; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; font: 600 13px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.cart-link:hover { color: var(--gold-dark); }
.cart-link__count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 11px; line-height: 20px; letter-spacing: 0; text-align: center; }
@media (max-width: 960px) {
	.cart-link { order: 0; justify-content: center; min-width: 44px; padding: 0 10px; border: 1px solid var(--ink); border-radius: 4px; letter-spacing: .1em; }
	.cart-link__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 440px) { .call-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } } /* room for the cart button; the link keeps its aria-label */
@media (max-width: 960px) { .cart-link { position: relative; } .cart-link__count { position: absolute; top: -8px; right: -8px; } } /* badge on the corner so the count never widens the button */
