/*
 * Handyman Tech Base: structure only. Every colour, font and radius is a custom property that each
 * design (child theme) sets in its own style.css; brand colours (--htr-brand etc.) come from the core plugin.
 */

:root {
	--bg: #fff;
	--surface: #f5f7fa;
	--surface-2: #eef2f7;
	--text: #111827;
	--muted: #4b5563;
	--line: #d6dde6;
	--primary: var(--htr-brand);
	--on-primary: #fff;
	--link: var(--htr-brand);
	--focus: var(--htr-brand);
	--radius: 12px;
	--radius-sm: 8px;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: var(--font-body);
	--font-mono: ui-monospace, "Cascadia Code", Consolas, monospace;
	--wrap: 1200px;
	--gap: clamp(1rem, 2.5vw, 1.75rem);
	--section: clamp(3rem, 7vw, 5.5rem);
	--header-h: 80px; /* sticky .htr-header: 76px row plus the thickest design border */
}

*,
*::before,
*::after { box-sizing: border-box; }

/* Keep focused elements and #anchors clear of the sticky header (WCAG 2.4.11). */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font-body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
[role="list"] { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.htr-main:focus { outline: none; }

.htr-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.htr-icon { width: 1.5rem; height: 1.5rem; flex: none; }
.htr-icon--sm { width: 1.1rem; height: 1.1rem; }
.htr-sr-inline { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Skip link */
.htr-skip { position: absolute; left: 1rem; top: .5rem; z-index: 2000; padding: .75rem 1rem; background: #000; color: #fff; border-radius: var(--radius-sm); transform: translateY(-200%); }
.htr-skip:focus { transform: none; }

/* Buttons */
.htr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem; border: 2px solid transparent; border-radius: var(--radius-sm); font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s, color .15s; }
.htr-btn:hover { transform: translateY(-1px); text-decoration: none; }
.htr-btn--primary { background: var(--primary); color: var(--on-primary); }
.htr-btn--ghost { background: transparent; color: var(--text); border-color: currentColor; }
.htr-btn--light { background: transparent; color: inherit; border-color: currentColor; }
.htr-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

/* Top bar and header */
.htr-topbar { font-size: .9rem; }
.htr-topbar__in { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; padding-top: .45rem; padding-bottom: .45rem; }
.htr-topbar__item { display: flex; align-items: center; gap: .4rem; margin: 0; }
.htr-topbar a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; font-weight: 700; text-decoration: none; }
.htr-header { position: sticky; top: 0; z-index: 500; }
.htr-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 76px; }
.htr-logo { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: var(--radius-sm); }
.htr-logo__img { display: block; width: auto; height: 56px; }
.htr-footer .htr-logo__img { height: 72px; }
@media (max-width: 480px) { .htr-logo__img { height: 44px; } }

.htr-nav__toggle { display: none; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .9rem; border: 2px solid currentColor; border-radius: var(--radius-sm); background: transparent; color: inherit; font: 700 1rem var(--font-body); cursor: pointer; }
.htr-nav__close { display: none; }
.htr-nav__panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1.25rem; }
.htr-nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; }
.htr-nav__list a { display: block; padding: .6rem .7rem; color: inherit; font-weight: 600; text-decoration: none; border-radius: var(--radius-sm); }
.htr-nav__list a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .45em; }
.htr-nav__call { min-height: 44px; }

/*
 * Collapse to the Menu button when the header is under 60rem wide. A container query (not a media query) so
 * rem follows the page's root font size: with text at 200% the menu collapses instead of wrapping into a
 * header that fills half the screen. Browser text-size settings move it the same way.
 */
.htr-header { container: htr-header / inline-size; }
@media (max-width: 60em) { .htr-topbar__addr { display: none; } }
@container htr-header (max-width: 60rem) {
	.htr-nav__toggle { display: inline-flex; }
	/* nav.js sets the exact max-height on open; this is the fallback. Short screens scroll inside the panel. */
	.htr-nav__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 1rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem; }
	.htr-nav.is-open .htr-nav__panel { display: flex; }
	.htr-nav__panel > * { flex-shrink: 0; }
	.htr-nav.is-open .htr-nav__open { display: none; }
	.htr-nav.is-open .htr-nav__close { display: block; }
	.htr-nav__list { flex-direction: column; }
	.htr-nav__list a { padding: .8rem .5rem; font-size: 1.1rem; }
}

/* Hero */
.htr-hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.htr-hero__title { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -.02em; }
.htr-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40rem; }
.htr-hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; font-weight: 600; }
.htr-hero__facts li { display: flex; align-items: center; gap: .4rem; }
/* Container query in rem so the hero stacks when text is enlarged, not only on narrow screens. */
.htr-hero { container-type: inline-size; }
@container (max-width: 54rem) { .htr-hero__in { grid-template-columns: 1fr; } .htr-hero__art { max-width: 460px; } }

.htr-eyebrow { margin: 0 0 .75rem; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Page head */
.htr-pagehead__in { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.htr-pagehead__row { display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.htr-pagehead__title { font-size: clamp(1.75rem, 1rem + 3.6vw, 3.25rem); letter-spacing: -.015em; margin-bottom: .35em; }
/* Safety net for long single words (e.g. TROUBLESHOOTING in an uppercase design) at 320px: break rather than overflow. */
.htr-hero__title, .htr-pagehead__title, .htr-section__title, .htr-cta__title { overflow-wrap: anywhere; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.htr-pagehead__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 46rem; margin: 0; }
.htr-pagehead__icon { flex: none; display: grid; place-items: center; width: clamp(88px, 12vw, 128px); aspect-ratio: 1; border-radius: var(--radius); }
.htr-pagehead__icon .htr-icon { width: 55%; height: 55%; }
@media (max-width: 640px) { .htr-pagehead__icon { display: none; } }
.htr-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .92rem; }
.htr-crumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; opacity: .6; }
.htr-crumbs a { color: inherit; }

/* Sections */
/*
 * Vertical rhythm: every section pads its top; only the last of a run pads its bottom, so the gap between two
 * sections is always one --section. Designs that tint a section (a "band") give it padding-bottom and, when it
 * follows another section, margin-top: var(--section), so the gap outside and inside the band stays one --section.
 */
.htr-section { padding: var(--section) 0 0; }
.htr-section:not(:has(+ .htr-section)) { padding-bottom: var(--section); }
.htr-section__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
.htr-section__lead { font-size: 1.125rem; max-width: 46rem; }
.htr-section__more { margin: 2rem 0 0; }

.htr-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.htr-split--faq, .htr-split--faq-home { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); }
.htr-split--faq .htr-split__side, .htr-split--faq-home .htr-split__side { order: -1; }
.htr-split--faq .htr-toc { position: sticky; top: 100px; }
@media (max-width: 860px) { .htr-split, .htr-split--faq, .htr-split--faq-home { grid-template-columns: 1fr; } .htr-split--faq .htr-toc { position: static; } }

.htr-prose { max-width: 46rem; }
.htr-prose ul { padding-left: 1.25em; }
.htr-prose li { margin-bottom: .4em; }
.htr-prose > :last-child { margin-bottom: 0; }
.htr-prose h2 { margin-top: 2rem; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.6rem); }
.htr-prose h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.htr-prose > :first-child { margin-top: 0; }

/* Cards */
.htr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gap); margin-top: 2rem; }
.htr-cards--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
/* Column count from the number of cards (htr_grid_class) so rows fill; see render.php. */
@media (min-width: 640px) {
	.htr-cards--c2, .htr-cards--c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.htr-cards--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.htr-cards--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.htr-cards--hubs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.htr-card { display: flex; }
.htr-card__link, .htr-card--static { display: flex; flex-direction: column; gap: .6rem; width: 100%; padding: 1.5rem; color: inherit; text-decoration: none; border-radius: var(--radius); }
.htr-card--static { flex-direction: column; }
.htr-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-sm); }
.htr-card__title { display: block; margin: 0; font: 700 1.2rem/1.25 var(--font-head); }
.htr-card__text { display: block; margin: 0; color: var(--muted); }
.htr-card__meta { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.htr-card__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .5rem; font-weight: 700; }
.htr-card__link:hover .htr-card__title { text-decoration: underline; text-underline-offset: .2em; }
/* Stretched link: the title link's ::after covers the whole card (or press item), so the card is one target. */
.htr-card__link, .htr-press__link { position: relative; cursor: pointer; }
.htr-card__a { color: inherit; text-decoration: none; }
.htr-card__a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
/* Ring the whole card, not just the title text, when the title link has keyboard focus. */
.htr-card__link:has(.htr-card__a:focus-visible), .htr-press__link:has(.htr-card__a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
@supports selector(:has(a)) { .htr-card__a:focus-visible { outline: none; } }
.htr-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; margin-top: auto; padding-top: .5rem; }
.htr-card__foot .htr-card__more { margin-top: 0; padding-top: 0; }
.htr-card__time { color: var(--muted); font-size: .9rem; font-weight: 600; white-space: nowrap; }

/* Phones: tighter cards so long lists scroll less. Icon sits beside the title; text stays full width. */
@media (max-width: 480px) {
	.htr-cards { gap: .85rem; margin-top: 1.5rem; }
	.htr-card__link, .htr-card--static { gap: .45rem; padding: 1.1rem 1.15rem; }
	.htr-card__link:has(> .htr-card__icon) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .85rem; align-items: center; }
	.htr-card__link:has(> .htr-card__icon) > :not(.htr-card__icon, .htr-card__title) { grid-column: 1 / -1; }
	.htr-card__link > .htr-card__icon { width: 44px; height: 44px; }
	.htr-card__link > .htr-card__icon .htr-icon { width: 1.35rem; height: 1.35rem; }
	.htr-card__more { padding-top: .25rem; }
}

/* Steps */
.htr-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--gap); margin-top: 2rem; counter-reset: s; }
.htr-step { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; border-radius: var(--radius); }
.htr-step__n { font: 800 1.1rem/1 var(--font-mono); }
.htr-step__title { font-size: 1.2rem; margin: 0 0 .35rem; }
.htr-step p { margin: 0; color: var(--muted); }

/* Checklist */
.htr-checks { display: grid; gap: .7rem; }
.htr-checks li { display: flex; gap: .6rem; align-items: flex-start; }
.htr-checks .htr-icon { margin-top: .25rem; }

.htr-panel { padding: 1.5rem; border-radius: var(--radius); }
.htr-panel__title { font-size: 1.25rem; margin-bottom: 1rem; }
.htr-panel + .htr-panel { margin-top: var(--gap); }
.htr-linklist { display: grid; gap: .25rem; }
.htr-linklist a { display: flex; gap: .6rem; align-items: center; padding: .5rem 0; color: inherit; font-weight: 600; }

/* FAQ */
.htr-faq { display: grid; gap: .75rem; }
.htr-faq__item { border-radius: var(--radius-sm); }
.htr-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; }
.htr-faq__q::-webkit-details-marker { display: none; }
.htr-faq__qt { margin: 0; font: 700 1.08rem/1.35 var(--font-head); }
.htr-faq__icon { transition: transform .2s; }
.htr-faq__item[open] .htr-faq__icon { transform: rotate(45deg); }
.htr-faq__a { padding: 0 1.25rem 1.1rem; }
.htr-faq__a > :last-child { margin-bottom: 0; }
.htr-faq-group { margin-bottom: 2.5rem; }
.htr-faq-group__title { font-size: 1.5rem; }
.htr-toc ul { display: grid; gap: .25rem; }
.htr-toc a { display: block; padding: .45rem 0; color: inherit; font-weight: 600; }
.htr-split--faq { padding-top: var(--section); padding-bottom: var(--section); }

/* Guides */
.htr-guide { padding: var(--section) 0; }
.htr-guide__h { font-size: 1.6rem; margin-top: 2.5rem; }
.htr-guide__steps { display: grid; gap: 1.25rem; }
.htr-guide__step { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; }
.htr-guide__step .htr-step__n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.htr-guide__step h3 { font-size: 1.2rem; margin: .35rem 0 .4rem; }
.htr-guide__step p:last-child { margin-bottom: 0; }
.htr-guide__aside { position: sticky; top: 100px; }
@media (max-width: 860px) { .htr-guide__aside { position: static; } }
.htr-callout { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; margin: 2rem 0; border-radius: var(--radius); }
.htr-callout__title { font-size: 1.25rem; margin-bottom: .5rem; }
.htr-callout > div > :last-child { margin-bottom: 0; }

/* Repairs index */
.htr-hubrow__head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; }
.htr-hubrow__head p { margin: 0; color: var(--muted); max-width: 40rem; }
.htr-hubrow__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-sm); }
.htr-section--hub + .htr-section--hub { padding-top: calc(var(--section) * .6); }
.htr-section--hub + .htr-section--hub > .htr-wrap::before { content: ""; display: block; margin-bottom: calc(var(--section) * .6); border-top: 1px solid var(--line); }
.htr-cards--single { margin-top: 1rem; }
@media (max-width: 760px) { .htr-hubrow__head { grid-template-columns: 1fr; } .htr-hubrow__icon { display: none; } .htr-hubrow__head .htr-btn { justify-self: start; } }

/* Products */
.htr-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--gap); margin-top: 2rem; }
.htr-product { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
.htr-product__img img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.htr-product__img--none { display: grid; place-items: center; aspect-ratio: 4/3; }
.htr-product__img--none .htr-icon { width: 3rem; height: 3rem; }
.htr-product__body { padding: 1.25rem 1.5rem 1.5rem; }
.htr-product__title { font-size: 1.2rem; }
.htr-product__price { font: 800 1.35rem var(--font-head); margin: .5rem 0 0; }
.htr-shoplist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.htr-shoplist li { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; border-radius: var(--radius); font-weight: 700; }
.htr-shoplist .htr-icon { width: 2rem; height: 2rem; }

/* About */
.htr-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--gap); margin-top: 2rem; }
.htr-value { padding: 1.5rem; border-radius: var(--radius); }
.htr-value h3 { margin: 1rem 0 .4rem; font-size: 1.2rem; }
.htr-value p { margin: 0; color: var(--muted); }

/* Visit / facts */
.htr-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); margin: 1.5rem 0 0; }
/* Address and phone stack on the left, hours on the right; boxes keep their own height. */
.htr-visit__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); align-items: start; margin-top: 1.5rem; }
.htr-visit__grid .htr-facts { grid-template-columns: minmax(0, 1fr); align-items: start; margin: 0; }
.htr-split__side .htr-visit__grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.htr-split__side .htr-facts { grid-template-columns: 1fr; gap: 1rem; }
.htr-facts dt { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.htr-facts dd { margin: .3rem 0 0; font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere; }

/* Contact */
.htr-split--contact { padding-top: var(--section); padding-bottom: var(--section); }
.htr-form-note { color: var(--muted); }
.htr-form p { margin: 0 0 1.1rem; }
.htr-form label { display: block; font-weight: 700; margin-bottom: .35rem; }
.htr-form input[type="text"], .htr-form input[type="email"], .htr-form input[type="tel"], .htr-form select, .htr-form textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: inherit; }
.htr-form textarea { min-height: 150px; }
.htr-form input:focus-visible, .htr-form select:focus-visible, .htr-form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.htr-form .wpcf7-list-item { display: inline-flex; margin: 0 1.25rem .25rem 0; }
.htr-form .wpcf7-list-item label { display: inline-flex; gap: .45rem; align-items: center; font-weight: 500; }
.htr-form input[type="radio"] { width: 1.2rem; height: 1.2rem; accent-color: var(--primary); }
.htr-form fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.htr-form fieldset p { margin: 0; }
.htr-form .wpcf7-list-item { margin-bottom: 0; }
/* Cloudflare Turnstile in interaction-only mode is invisible until it needs a click: no empty line box. */
.htr-form .cf-turnstile { line-height: 0; }
.htr-form legend { font-weight: 700; margin-bottom: .35rem; padding: 0; }
/* Same box as .htr-btn.htr-btn--primary; each design adds it to its button selectors. */
.htr-form .wpcf7-submit { min-height: 48px; padding: .7rem 1.3rem; border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--primary); color: var(--on-primary); font: 700 1rem/1.2 var(--font-body); cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s, color .15s; }
.htr-form .wpcf7-submit:hover { transform: translateY(-1px); }
.htr-form .wpcf7-not-valid-tip { color: #b00020; font-weight: 600; }
.htr-form .wpcf7-response-output { margin: 1rem 0 0 !important; padding: .9rem 1rem !important; border-radius: var(--radius-sm); }

/* CTA band */
.htr-cta__in { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.htr-cta__title { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.htr-cta__text p { margin: 0; max-width: 38rem; }
.htr-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Footer */
.htr-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 2rem; }
.htr-footer__brand p { margin-top: 1rem; max-width: 22rem; }
.htr-footer__h { font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.htr-footer ul { display: grid; gap: .45rem; }
.htr-footer .htr-hours { gap: .15rem 1rem; }
.htr-footer a { color: inherit; }
.htr-footer__legal { padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .88rem; }
.htr-footer__legal p { margin: 0; }
@media (max-width: 860px) { .htr-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .htr-footer__grid { grid-template-columns: 1fr; } }

/* Phone call bar (small screens only) */
.htr-callbar { display: none; }
@media (max-width: 640px) {
	html { scroll-padding-bottom: 72px; }
	body { padding-bottom: 56px; }
	.htr-footer .htr-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; background: var(--primary); color: var(--on-primary); font-weight: 800; text-decoration: none; }
	/* Inset ring: the bar touches the screen edges, so an outside ring would be mostly offscreen. */
	.htr-footer .htr-callbar:focus-visible { outline: 3px solid var(--on-primary); outline-offset: -7px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
@media print {
	.htr-topbar, .htr-nav, .htr-callbar, .htr-cta, .htr-footer { display: none; }
}

/* Opening hours: day + time rows */
.htr-hours { display: grid; grid-template-columns: max-content 1fr; gap: .15rem 1rem; list-style: none; padding: 0; margin: 0; font-weight: inherit; }
.htr-hours li { display: contents; }
.htr-facts .htr-hours { font-size: 1rem; }
.htr-hours__day { font-weight: 700; }
.htr-footer__h--sub { margin-top: 1.5rem; margin-bottom: .5rem; }

/* In the news: video thumbnails that link out */
.htr-press { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--gap); list-style: none; padding: 0; margin: 0; }
.htr-press__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius); color: inherit; text-decoration: none; }
.htr-press__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.htr-press__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.htr-press__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 12, 42, .82); color: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 20px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); transition: transform .15s; }
.htr-press__link:hover .htr-press__play { transform: translate(-50%, -50%) scale(1.06); }
.htr-press__play .htr-icon { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.htr-press__body { display: flex; flex: 1; flex-direction: column; gap: .4rem; padding: 1.1rem 1.25rem 1.3rem; }
.htr-press__body .htr-card__more { margin-top: auto; }
.htr-press__title { font: 700 1.2rem/1.3 var(--font-head); }
.htr-press__link:hover .htr-press__title { text-decoration: underline; text-underline-offset: .18em; }
.htr-press__summary { color: var(--muted); }
.htr-facts__note { display: block; margin-top: .35rem; font-size: 1rem; font-weight: 400; color: var(--muted); }

/* Temporary shop notice (holiday closure etc.) at the top of <main>. Designs recolour it. */
.htr-notice { background: var(--text); color: var(--bg); }
.htr-notice__in { display: flex; align-items: flex-start; gap: .6rem; margin-block: 0; padding-top: .85rem; padding-bottom: .85rem; font-weight: 600; }
.htr-notice__icon { margin-top: .05rem; }
.htr-notice a { color: inherit; font-weight: 700; }
