/* ============================================================================
   Healthy Habits — "B · The Check-up" (hhc-theme 1.0.0, 2026-10-27)
   Loads after theme-variables.css and main.css. All site styling lives here.
   Stitch direction B (user pick): a quiet health "issue" — a centred
   wordmark with the logo's head-and-heart mark, a cover photo in a thin ruled
   frame beside an "In this issue" contents panel, then text-only lists by
   topic. Warm paper, ONE deep coral ink for everything interactive (the logo
   coral is decoration only), the logo's pale blue for the newsletter, a
   blush panel for contents. Vollkorn for headlines and numerals, Fira Sans
   for reading text and UI. 4px corners, 1px rules, no shadows, no pills.
   Photos sit in their own frame — never text on them.
   ========================================================================= */

/* --- Base ------------------------------------------------------------------- */

html { overflow-x: clip; background: var(--hh-ground); }
body {
    background: var(--hh-ground);
    color: var(--hh-text);
    font-family: var(--hh-body);
    font-size: var(--hh-size-body);
    line-height: var(--hh-lh-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--hh-display); color: var(--hh-ink); line-height: var(--hh-lh-head); font-weight: 700; letter-spacing: -0.005em; }
a { color: var(--hh-brand); }
a:hover { color: var(--hh-brand-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--hh-brand); outline-offset: 2px; }
button, input, select, textarea { font-family: var(--hh-ui); }
::selection { background: var(--hh-plum-tint); color: var(--hh-ink); }

/* main.css styles .search-results (padding + white) and WP puts that class on <body> on search pages. */
body.search-results { padding: 0; background: var(--hh-ground); }
.site-container { max-width: var(--hh-page-max); margin: 0 auto; padding-left: var(--hh-gutter); padding-right: var(--hh-gutter); }
.site-main { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.hhc-skip-link { position: absolute; left: -9999px; top: 0; background: var(--hh-brand); color: #fff; padding: 0.75rem 1rem; z-index: 2000; font-weight: 600; border-radius: var(--hh-radius); }
.hhc-skip-link:focus { left: 1rem; top: 1rem; }

/* Small caps for labels: Fira Sans 600, tracked uppercase. */
.hhc-label, .hhc-kicker, .hhc-issue-cat, .hhc-contents-cat, .hhc-list-title, .hhc-label-title, .hhc-fhead, .hhc-breadcrumb,
.hhc-article-meta, .hhc-archive-count, .hhc-newsletter-label, .hhc-util-line, .hhc-toc-count {
    font-family: var(--hh-ui); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.hhc-label { margin: 0; font-size: var(--hh-label); color: var(--hh-meta); }
.hhc-meta { margin: 0; font-family: var(--hh-ui); font-size: 0.875rem; line-height: 1.5; color: var(--hh-meta); }
.hhc-meta a { color: inherit; text-decoration: none; }
.hhc-dot { color: var(--hh-meta); padding: 0 0.35em; }
.hhc-kicker { display: flex; flex-wrap: wrap; align-items: center; margin: 0; font-size: 0.75rem; line-height: 1.4; color: var(--hh-brand); }
.hhc-kicker a { color: var(--hh-brand); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.hhc-kicker a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.hhc-more { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-family: var(--hh-ui); font-size: 0.9375rem; font-weight: 600; color: var(--hh-brand); text-decoration: none; white-space: nowrap; }
.hhc-more span { transition: transform 0.2s; }
.hhc-more:hover { color: var(--hh-brand-dark); }
.hhc-more:hover span { transform: translateX(3px); }

/* Ruled photo frame: a 1px rule, a paper mat, the photo inside. */
.hhc-cover-photo, .hhc-acover-photo, .hhc-hero .hhc-frame, .hhc-nrow-thumb, .hhc-keep-thumb {
    display: block; overflow: hidden; padding: 6px; background: var(--hh-card); border: 1px solid var(--hh-rule); border-radius: var(--hh-radius);
}
.hhc-cover-photo img, .hhc-acover-photo img, .hhc-hero .hhc-frame img, .hhc-nrow-thumb img, .hhc-keep-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.hhc-frame img { display: block; width: 100%; height: auto; }

/* --- Masthead: utility line, centred lockup, topics between hairlines ------------- */

.hhc-masthead { position: relative; z-index: 100; background: var(--hh-ground); }
.hhc-mast-inner {
    max-width: var(--hh-page-max); margin: 0 auto; padding: 0 var(--hh-gutter);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "util tools" "brand brand" "nav nav"; align-items: center;
}
.hhc-util-line { grid-area: util; margin: 0; min-height: 44px; display: flex; align-items: center; font-size: 0.75rem; color: var(--hh-meta); border-bottom: 1px solid var(--hh-rule); }
.hhc-util-name { color: var(--hh-ink); }
.hhc-nav-tools { grid-area: tools; display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; min-height: 44px; border-bottom: 1px solid var(--hh-rule); }
.hhc-masthead .hhc-search-toggle { display: inline-flex; align-items: center; gap: 0.4rem; min-width: 44px; height: 44px; padding: 0 0.6rem; background: transparent; border: 0; border-radius: var(--hh-radius); color: var(--hh-ink) !important; font-family: var(--hh-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.hhc-masthead .hhc-search-toggle:hover, .hhc-masthead .hhc-search-toggle[aria-expanded="true"] { color: var(--hh-brand) !important; }
.hhc-mast-sub { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.6rem; font-family: var(--hh-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hh-brand); text-decoration: none; }
.hhc-mast-sub:hover { color: var(--hh-brand-dark); text-decoration: underline; text-underline-offset: 0.25em; }
.hhc-masthead .mobile-menu-toggle { display: none; }

.hhc-brand { grid-area: brand; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.1rem, 2vw, 1.5rem); text-align: center; }
.hhc-brand-name { margin: 0; font-size: inherit; line-height: 1; font-weight: inherit; letter-spacing: inherit; }
.hhc-wordmark, .hhc-wordmark:hover, .hhc-wordmark:focus, .hhc-footer-word, .hhc-footer-word:hover { text-decoration: none !important; }
.hhc-wordmark { display: inline-flex; align-items: center; min-height: 48px; }
.hhc-logo { display: inline-flex; align-items: center; gap: clamp(0.6rem, 1.2vw, 0.9rem); }
.hhc-mark { display: block; width: clamp(44px, 4vw, 60px); height: auto; aspect-ratio: 1 / 1; flex: none; }
.hhc-name { font-family: var(--hh-display); font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.01em; color: var(--hh-brand); white-space: nowrap; }
.hhc-tagline { margin: 0.55rem 0 0; font-family: var(--hh-display); font-style: italic; font-weight: 400; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); color: var(--hh-meta); }
.hhc-tagline::before { content: "\201C"; }
.hhc-tagline::after { content: "\201D"; }

.hhc-mast-nav { grid-area: nav; display: flex; justify-content: center; min-width: 0; border-top: 1px solid var(--hh-rule); border-bottom: 1px solid var(--hh-rule); }
.hhc-drawer-clip { display: contents; }
.hhc-mast-nav .main-navigation { min-width: 0; display: flex; }
.hhc-mast-nav .primary-menu { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0 clamp(1.25rem, 3vw, 2.75rem); list-style: none; margin: 0; padding: 0; }
.hhc-mast-nav .main-navigation li { margin: 0; }
.hhc-mast-nav .main-navigation a {
    display: inline-flex; align-items: baseline; gap: 0.4rem; padding-top: 0.95rem; min-height: 54px; position: relative; white-space: nowrap;
    font-family: var(--hh-ui); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--hh-ink); text-decoration: none;
}
.hhc-nav-count { font-size: 0.8125rem; font-weight: 400; color: var(--hh-meta); font-variant-numeric: tabular-nums; }
.hhc-nav-count::before { content: "("; }
.hhc-nav-count::after { content: ")"; }
.hhc-mast-nav .main-navigation a:hover { color: var(--hh-brand); }
.hhc-mast-nav .main-navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--hh-brand); opacity: 0; transition: opacity 0.2s; }
.hhc-mast-nav .main-navigation a:hover::after, .hhc-mast-nav .main-navigation .current-cat > a::after { opacity: 1; }
.hhc-mast-nav .main-navigation .current-cat > a { color: var(--hh-brand); }
.hhc-mast-nav .main-navigation .hhc-drawer-label, .hhc-mast-nav .main-navigation .hhc-drawer-sub { display: none; }

/* Search opens as a row under the masthead (main.css made it a fixed overlay). */
.hhc-masthead .mobile-search-form { position: static; transform: none; box-shadow: none; z-index: auto; padding: 0.9rem var(--hh-gutter); background: var(--hh-tint); border-bottom: 1px solid var(--hh-tint-rule); }
.hhc-masthead .mobile-search-form form { max-width: 760px; margin: 0 auto; }
.hhc-masthead .search-field { font-size: 1.0625rem; min-height: 50px; border-radius: var(--hh-radius); border: 1px solid var(--hh-rule); background: var(--hh-card); color: var(--hh-ink); }
.hhc-masthead .mobile-search-form button[type="submit"] { min-height: 50px; border-radius: var(--hh-radius); font-weight: 600; background: var(--hh-brand); color: #fff; border: 0; }
.hhc-masthead .mobile-search-close { background: transparent !important; color: var(--hh-ink) !important; min-width: 44px; min-height: 44px; }

/* --- Breadcrumb -------------------------------------------------------------------- */

.hhc-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; margin: 0; font-size: 0.75rem; color: var(--hh-meta); }
.hhc-breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; color: var(--hh-meta); text-decoration: none; }
.hhc-breadcrumb a:hover { color: var(--hh-brand); text-decoration: underline; }
.hhc-breadcrumb [aria-current], .hhc-breadcrumb a:last-of-type:not(:first-child) { color: var(--hh-brand); }
.hhc-breadcrumb .sep { color: var(--hh-meta); }

/* --- Front: the cover ------------------------------------------------------------------- */

.hhc-front { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.hhc-cover { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; margin: 0 0 clamp(2.5rem, 5vw, 3.75rem); padding-bottom: clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid var(--hh-rule); }
.hhc-cover-lead { min-width: 0; }
.hhc-cover-photo { aspect-ratio: 16 / 10; }
.hhc-cover-text { margin-top: 1.25rem; }
.hhc-cover-title { margin: 0.35rem 0 0; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.875rem); line-height: 1.06; text-wrap: balance; }
.hhc-cover-title a { color: var(--hh-ink); text-decoration: none; }
.hhc-cover-title a:hover { color: var(--hh-brand); }
.hhc-cover-dek { margin: 0.85rem 0 0; max-width: 40em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--hh-meta); }
.hhc-cover-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; margin: 1.1rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--hh-rule); font-family: var(--hh-ui); font-size: 0.875rem; color: var(--hh-meta); }

/* "In this issue": the blush contents panel, coral Vollkorn numerals 01–06. */
.hhc-issue { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2.25rem) 0.5rem; background: var(--hh-tint); border: 1px solid var(--hh-tint-rule); border-radius: var(--hh-radius); }
.hhc-issue-title { margin: 0 0 0.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hh-tint-rule); font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem); color: var(--hh-brand); }
.hhc-issue-list { list-style: none; margin: 0; padding: 0; }
.hhc-issue-list li { display: flex; gap: 1rem; align-items: flex-start; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--hh-tint-rule); }
.hhc-issue-list li:last-child { border-bottom: 0; }
.hhc-issue-num { flex: none; min-width: 2.1rem; font-family: var(--hh-display); font-size: 1.625rem; font-weight: 700; line-height: 1; color: var(--hh-brand); font-variant-numeric: oldstyle-nums; }
.hhc-issue-text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.hhc-issue-cat { font-size: 0.6875rem; color: var(--hh-brand); }
.hhc-issue-link { font-family: var(--hh-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.28; color: var(--hh-ink); text-decoration: none; }
.hhc-issue-link:hover { color: var(--hh-brand); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }

/* --- Front: the topic lists, two columns ------------------------------------------------- */

.hhc-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.25rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem); }
.hhc-list { min-width: 0; }
.hhc-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--hh-brand); }
.hhc-list-title { margin: 0; font-size: 0.875rem; line-height: 1.3; color: var(--hh-brand); }
.hhc-list-title a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.hhc-list-title a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.hhc-list-count { font-family: var(--hh-ui); font-size: 0.875rem; color: var(--hh-meta); font-variant-numeric: tabular-nums; text-decoration: none; }
span.hhc-list-count::before { content: "("; }
span.hhc-list-count::after { content: ")"; }
a.hhc-list-count { display: inline-flex; align-items: center; min-height: 40px; color: var(--hh-brand); font-weight: 600; }
.hhc-list-rows { list-style: none; margin: 0; padding: 0; }
.hhc-list-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; margin: 0; padding: 0.85rem 0; border-bottom: 1px solid var(--hh-rule); }
.hhc-list-rows a { font-family: var(--hh-display); font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); font-weight: 600; line-height: 1.3; color: var(--hh-ink); text-decoration: none; min-width: 0; }
.hhc-list-rows a:hover { color: var(--hh-brand); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.hhc-list-rows time { flex: none; font-family: var(--hh-ui); font-size: 0.8125rem; color: var(--hh-meta); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hhc-list-all { margin-top: 0.35rem; }

/* --- Ad frames: labelled, reserved; nothing for readers when unfilled ----------------- */

.hhc-ad { text-align: center; background: var(--hh-card); border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); padding: 0.75rem 0.5rem 1rem; min-height: 290px; }
.hhc-ad::before { content: "Advertisement"; display: block; font-family: var(--hh-ui); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hh-meta); margin-bottom: 0.6rem; }
.hhc-ad:has(ins[data-ad-status="unfill-optimized"]), .hhc-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.hhc-ad--wide { grid-column: 1 / -1; min-height: 130px; }
.hhc-ad-placeholder { border: 1px dashed var(--hh-rule); border-radius: var(--hh-radius); padding: 2rem 1rem; color: var(--hh-meta); font-size: 0.875rem; margin: 0 0.5rem; }

/* --- Archive: ruled head on paper, small cover, numbered list ------------------------------ */

.hhc-archive { padding-top: clamp(1.25rem, 2.5vw, 2rem); }
.hhc-archive-head { margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem); padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem); border-bottom: 3px double var(--hh-rule); }
.hhc-archive-inner { min-width: 0; }
.hhc-archive-title { margin: 0.25rem 0 0; font-size: clamp(2.5rem, 1.7rem + 3vw, 3.75rem); line-height: 1; text-wrap: balance; }
.hhc-archive-line { margin: 0.9rem 0 0; max-width: 42em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--hh-meta); }
.hhc-archive-count { margin: 1rem 0 0; font-size: 0.75rem; color: var(--hh-brand); }
.hhc-archive-head--search .search-form { display: flex; gap: 0.5rem; max-width: 560px; margin: 1.25rem 0 0; }
.hhc-archive-head--search .search-field, .hhc-empty .search-field { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 1rem; border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); background: var(--hh-card); color: var(--hh-ink); font-size: 1.0625rem; }
.hhc-archive-head--search .search-submit, .hhc-empty .search-submit { min-height: 50px; padding: 0 1.25rem; border: 0; border-radius: var(--hh-radius); background: var(--hh-brand); color: #fff; font-weight: 600; cursor: pointer; }

.hhc-acover { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; margin: 0 0 clamp(2.25rem, 4.5vw, 3.25rem); background: var(--hh-tint); border: 1px solid var(--hh-tint-rule); border-radius: var(--hh-radius); }
.hhc-acover--text { grid-template-columns: minmax(0, 1fr); }
.hhc-acover-photo { margin: 8px; aspect-ratio: 16 / 10; }
.hhc-acover-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 0.8rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.hhc-acover .hhc-kicker { gap: 0.6rem; }
.hhc-acover .hhc-issue-num { min-width: 0; font-size: 1.375rem; letter-spacing: 0; }
.hhc-acover-title { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; text-wrap: balance; }
.hhc-acover-title a { color: var(--hh-ink); text-decoration: none; }
.hhc-acover-title a:hover { color: var(--hh-brand); }
.hhc-acover-dek { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--hh-meta); }
.hhc-acover-date { margin: 0.25rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--hh-tint-rule); font-family: var(--hh-ui); font-size: 0.875rem; color: var(--hh-meta); }

.hhc-numlist { list-style: none; margin: 0; padding: 0; }
.hhc-nrow { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) 112px; gap: 0 1.25rem; align-items: start; margin: 0; padding: 1.5rem 0; border-bottom: 1px solid var(--hh-rule); }
.hhc-nrow:first-child { padding-top: 0.25rem; }
.hhc-nrow--text { grid-template-columns: 3.25rem minmax(0, 1fr); }
.hhc-nrow-num { font-family: var(--hh-display); font-size: 1.75rem; font-weight: 700; line-height: 1.05; color: var(--hh-brand); font-variant-numeric: oldstyle-nums; }
.hhc-nrow-body { min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.hhc-nrow-title { margin: 0; font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem); line-height: 1.2; text-wrap: balance; }
.hhc-nrow-title a { color: var(--hh-ink); text-decoration: none; }
.hhc-nrow-title a:hover { color: var(--hh-brand); }
.hhc-nrow-dek { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--hh-meta); }
.hhc-nrow-date { margin: 0.1rem 0 0; font-family: var(--hh-ui); font-size: 0.8125rem; color: var(--hh-meta); }
.hhc-nrow-thumb { padding: 4px; aspect-ratio: 1 / 1; }

/* Pager: square 44px boxes, the current page coral. */
.hhc-pager { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin: 2.5rem 0 0; }
.hhc-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.hhc-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.5rem; border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); background: var(--hh-card); color: var(--hh-ink); font-family: var(--hh-ui); font-size: 1rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.hhc-pager a.page-numbers:hover { border-color: var(--hh-brand); color: var(--hh-brand); }
.hhc-pager .page-numbers.current { background: var(--hh-brand); border-color: var(--hh-brand); color: #fff; }
.hhc-pager .page-numbers.dots { border: 0; background: transparent; min-width: 24px; }
.hhc-pager-count { margin: 0; font-size: 0.8125rem; }

/* --- Single: centred head, framed photo ------------------------------------------------- */

.hhc-single-main { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.hhc-article-head { max-width: 880px; margin: 0 auto; padding: 0; border: 0; text-align: center; }
.hhc-article-head .hhc-breadcrumb { justify-content: center; }
.hhc-title { margin: 0.4rem 0 0; font-size: var(--hh-title); line-height: 1.08; color: var(--hh-brand); text-wrap: balance; }
.hhc-standfirst { margin: 1rem auto 0; max-width: 38em; font-family: var(--hh-display); font-style: italic; font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); line-height: 1.55; color: var(--hh-text); }
.hhc-article-meta { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.25rem 0.1rem; margin: 1.25rem 0 0; padding-bottom: 0.75rem; border-bottom: 1px solid var(--hh-rule); font-size: 0.75rem; color: var(--hh-meta); }
.hhc-mg { display: inline-flex; flex-wrap: nowrap; align-items: center; }
.hhc-byline a { color: var(--hh-brand); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.hhc-byline a:hover { text-decoration: underline; }
.hhc-hero { max-width: 880px; margin: clamp(1.75rem, 3.5vw, 2.5rem) auto clamp(2rem, 4vw, 3rem); }
.hhc-hero .hhc-frame img { aspect-ratio: 16 / 9; height: auto; }
.hhc-caption { font-family: var(--hh-ui); font-size: 0.8125rem; line-height: 1.5; color: var(--hh-meta); padding: 0.6rem 0.1rem 0; text-align: left; }

/* Reading column + sidebar. */
.hhc-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--hh-sidebar); gap: 2.5rem clamp(2rem, 4vw, 4rem); align-items: start; }
.hhc-layout-main { min-width: 0; }
.hhc-disclosure { margin: 0 0 1.5rem; padding: 0.85rem 1.1rem; background: var(--hh-card); border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); font-size: 0.9375rem; line-height: 1.55; color: var(--hh-meta); }
.hhc-disclosure a { color: var(--hh-brand); font-weight: 600; white-space: nowrap; }

.hhc-article { min-width: 0; }
.hhc-article .entry-content { font-size: var(--hh-size-body); line-height: var(--hh-lh-body); color: var(--hh-text); }
.hhc-article .entry-content > * { max-width: 100%; }
.hhc-article .entry-content p { text-wrap: pretty; }
.hhc-article .entry-content h2 { font-size: var(--hh-h2); line-height: 1.15; margin: 2.75rem 0 1rem; padding: 0.9rem 0 0; border: 0; border-top: 1px solid var(--hh-rule); color: var(--hh-ink); scroll-margin-top: 1.5rem; text-wrap: balance; }
.hhc-h2-num { color: var(--hh-brand); margin-right: 0.15em; font-variant-numeric: oldstyle-nums; }
.hhc-article .entry-content h3 { font-size: clamp(1.3125rem, 1.2rem + 0.4vw, 1.5625rem); line-height: 1.2; margin: 2.5rem 0 0.75rem; scroll-margin-top: 1.5rem; text-wrap: balance; }
.hhc-article .entry-content > h2:first-child { margin-top: 0.5rem; border-top: 0; padding-top: 0; }
.hhc-item-no { display: inline-block; margin-right: 0.3em; color: var(--hh-brand); font-weight: 700; font-variant-numeric: oldstyle-nums; }
.hhc-article .entry-content h4 { font-family: var(--hh-display); font-weight: 700; font-size: 1.1875rem; }
.hhc-article .entry-content a { color: var(--hh-brand); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.hhc-article .entry-content a:hover { color: var(--hh-brand-dark); text-decoration-thickness: 2px; }
.hhc-article .entry-content strong { font-weight: 600; color: var(--hh-ink); }
.hhc-article .entry-content figure { margin: 2.25rem 0; }
.hhc-article .entry-content figure img, .hhc-article .entry-content p > img { display: block; height: auto; border-radius: var(--hh-radius); box-shadow: none; }
.hhc-article .entry-content figcaption { text-align: left; font-style: normal; font-size: 0.8125rem; line-height: 1.5; color: var(--hh-meta); padding-top: 0.6rem; }
.hhc-article .entry-content ol, .hhc-article .entry-content ul { padding-left: 1.5rem; }
.hhc-article .entry-content li { margin-bottom: 0.6rem; }
.hhc-article .entry-content ul li::marker { color: var(--hh-brand); }
.hhc-article .entry-content ol li::marker { color: var(--hh-brand); font-family: var(--hh-display); font-weight: 700; }
.hhc-article .entry-content blockquote { border: 0; border-left: 3px solid var(--hh-stripe); background: var(--hh-tint-soft); border-radius: 0 var(--hh-radius) var(--hh-radius) 0; margin: 2rem 0; padding: 1.1rem 1.4rem; font-family: var(--hh-display); font-style: italic; font-size: 1.1875rem; line-height: 1.55; color: var(--hh-text); }
.hhc-article .entry-content blockquote p { margin: 0; }
.hhc-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.hhc-article .entry-content hr { border: 0; border-top: 1px solid var(--hh-rule); }
.table-scroll { overflow-x: auto; margin: 2rem 0; -webkit-overflow-scrolling: touch; background: var(--hh-card); border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); }
.table-scroll table { min-width: 560px; margin: 0; }
.hhc-article .entry-content table { border-collapse: collapse; width: 100%; font-size: 0.95em; line-height: 1.5; background: transparent; }
.hhc-article .entry-content th { background: var(--hh-tint); color: var(--hh-ink); font-family: var(--hh-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--hh-tint-rule); }
.hhc-article .entry-content td, .hhc-article .entry-content th { border-bottom: 1px solid var(--hh-rule); padding: 0.8rem 1rem; vertical-align: top; min-width: 9rem; }
.hhc-article .entry-content tr:last-child td { border-bottom: 0; }
.hhc-article .entry-content td:first-child, .hhc-article .entry-content th:first-child { position: sticky; left: 0; z-index: 1; }
.hhc-article .entry-content td:first-child { background: var(--hh-card); font-weight: 600; color: var(--hh-ink); }

/* "In this article": a ruled white box, coral numbers (hhc_items_toc / hhc_toc_panel). */
.hhc-toc { margin: 0 0 2.25rem; background: var(--hh-card); border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); }
.hhc-toc summary { display: flex; align-items: center; gap: 1rem; min-height: 60px; padding: 0.6rem 1.4rem; cursor: pointer; list-style: none; }
.hhc-toc summary::-webkit-details-marker { display: none; }
.hhc-toc summary::after { content: "+"; font-family: var(--hh-display); font-size: 1.5rem; font-weight: 700; color: var(--hh-brand); margin-left: 0.25rem; }
.hhc-toc[open] summary::after { content: "\2212"; }
.hhc-toc-title { font-family: var(--hh-display); font-size: 1.3125rem; font-weight: 700; color: var(--hh-ink); }
.hhc-toc-count { margin-left: auto; font-size: 0.6875rem; color: var(--hh-meta); }
.hhc-article .entry-content .hhc-toc-list { list-style: none; margin: 0; padding: 0 1.4rem 1.1rem; counter-reset: hhtoc; }
.hhc-article .entry-content .hhc-toc-list--cols { columns: 2; column-gap: 2rem; }
.hhc-article .entry-content .hhc-toc-list li { margin: 0; padding: 0; counter-increment: hhtoc; break-inside: avoid; }
.hhc-article .entry-content .hhc-toc-list li::marker { content: none; }
.hhc-article .entry-content .hhc-toc-list a { display: flex; gap: 0.6rem; align-items: baseline; min-height: 44px; padding: 0.55rem 0; color: var(--hh-brand); text-decoration: none; font-family: var(--hh-ui); font-size: 1rem; font-weight: 400; line-height: 1.4; }
.hhc-toc:not(.hhc-toc--items) .hhc-toc-list a::before { content: counter(hhtoc) "."; flex: none; font-variant-numeric: tabular-nums; }
.hhc-toc-no { flex: none; font-variant-numeric: tabular-nums; }
.hhc-article .entry-content .hhc-toc-list a:hover span:last-child { text-decoration: underline; text-underline-offset: 0.18em; }

/* Split posts: a full-width "Next: <item>" link, then the page numbers. */
.hhc-article .entry-content a.hhc-next-page { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.25rem 1rem; margin: 2.5rem 0 0; padding: 1rem 1.25rem; min-height: 64px; background: var(--hh-brand); border-radius: var(--hh-radius); color: #fff; text-decoration: none; }
.hhc-article .entry-content h3 strong, .hhc-article .entry-content h2 strong { font-weight: inherit; }
.hhc-article .entry-content a.hhc-next-page:hover { background: var(--hh-brand-dark); color: #fff; }
.hhc-next-label { font-family: var(--hh-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.hhc-next-title { font-family: var(--hh-display); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.hhc-next-arrow { font-size: 1.5rem; line-height: 1; }

/* Article pager (posts split with <!--nextpage-->): numbers only. */
.hhc-page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 2.25rem 0 0.5rem; }
.entry-content .hhc-page-links .post-page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.6rem;
    border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); background: var(--hh-card); color: var(--hh-ink);
    font-family: var(--hh-ui); font-size: 1rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums;
}
.entry-content .hhc-page-links a.post-page-numbers:hover { border-color: var(--hh-brand); color: var(--hh-brand); }
.entry-content .hhc-page-links .post-page-numbers.current { background: var(--hh-brand); border-color: var(--hh-brand); color: #fff; }

.hhc-team { margin: 2.75rem 0 0; padding: 1.25rem 1.5rem; background: var(--hh-blue); border: 1px solid var(--hh-blue-rule); border-radius: var(--hh-radius); }
.hhc-team-title { margin: 0 0 0.5rem; font-family: var(--hh-display); font-size: 1.25rem; font-weight: 700; color: var(--hh-ink); }
.hhc-team p { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--hh-text); }
.hhc-team .hhc-team-more { margin-top: 0.5rem; }
.hhc-team-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* "Keep reading": six text rows with small square thumbs, two columns. */
.hhc-related { margin: clamp(3rem, 6vw, 4.5rem) 0 0; }
.hhc-related .hhc-list-title a { display: inline; min-height: 0; }
.hhc-keep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 3.5rem); }
.hhc-keep { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 1.25rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--hh-rule); min-width: 0; }
.hhc-keep-body { min-width: 0; }
.hhc-keep-title { margin: 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.28; text-wrap: balance; }
.hhc-keep-title a { color: var(--hh-ink); text-decoration: none; }
.hhc-keep-title a:hover { color: var(--hh-brand); }
.hhc-keep-date { margin: 0.35rem 0 0; font-family: var(--hh-ui); font-size: 0.8125rem; color: var(--hh-meta); }
.hhc-keep-thumb { padding: 3px; aspect-ratio: 1 / 1; }

/* main.css sets content-visibility:auto (500px placeholder) on the comments. */
.comments-area { margin-top: 2rem; padding-top: 0; border-top: 0; content-visibility: visible; contain-intrinsic-size: none; }

/* --- Sidebar: sections under a coral rule, on paper ----------------------------------------- */

.hhc-sidebar { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.hhc-rule-panel { min-width: 0; padding-top: 0.9rem; border-top: 2px solid var(--hh-brand); }
.hhc-label-title { margin: 0 0 0.25rem; font-size: 0.75rem; line-height: 1.3; color: var(--hh-brand); }

/* Most read: coral Vollkorn numerals 1–5, the topic over the headline. */
.hhc-contents { list-style: none; margin: 0; padding: 0; }
.hhc-contents li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; padding: 0.9rem 0; border-bottom: 1px solid var(--hh-rule); }
.hhc-contents li:last-child { border-bottom: 0; }
.hhc-contents-num { flex: none; min-width: 1.2rem; font-family: var(--hh-display); font-weight: 700; font-size: 1.625rem; line-height: 0.95; color: var(--hh-brand); font-variant-numeric: oldstyle-nums; }
.hhc-contents-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.hhc-contents-cat { font-size: 0.6875rem; color: var(--hh-meta); }
.hhc-contents-title { font-family: var(--hh-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: var(--hh-ink); text-decoration: none; }
.hhc-contents-title:hover { color: var(--hh-brand); }

.hhc-deptlist { list-style: none; margin: 0; padding: 0; }
.hhc-deptlist li { margin: 0; border-bottom: 1px solid var(--hh-rule); }
.hhc-deptlist li:last-child { border-bottom: 0; }
.hhc-deptlist a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; color: var(--hh-ink); text-decoration: none; font-family: var(--hh-ui); font-size: 1rem; font-weight: 600; }
.hhc-deptlist a:hover, .hhc-deptlist a.is-current { color: var(--hh-brand); }
.hhc-count { font-family: var(--hh-ui); font-size: 0.8125rem; font-weight: 400; color: var(--hh-meta); font-variant-numeric: tabular-nums; }

.hhc-widget-news { padding: 1.5rem; background: var(--hh-blue); border: 1px solid var(--hh-blue-rule); border-radius: var(--hh-radius); text-align: center; }
.hhc-newsletter-label { margin: 0 0 0.4rem; font-size: 0.75rem; color: var(--hh-brand); }
.hhc-widget-news-title { margin: 0; font-size: 1.5rem; line-height: 1.15; text-wrap: balance; }
.hhc-widget-news .hhc-newsletter-note { margin: 0.6rem 0 1rem; font-family: var(--hh-ui); font-size: 0.9375rem; line-height: 1.5; color: var(--hh-meta); }
.hhc-widget-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.hhc-widget-news input[type="email"], .hhc-newsletter input[type="email"], .hhc-inline-news input[type="email"] {
    min-height: 50px; padding: 0 1rem; border: 1px solid var(--hh-blue-rule); border-radius: var(--hh-radius); background: var(--hh-card); color: var(--hh-ink); font-size: 1rem;
}
.hhc-widget-news input[type="email"]:focus, .hhc-newsletter input[type="email"]:focus, .hhc-inline-news input[type="email"]:focus { outline: 2px solid var(--hh-brand); outline-offset: 1px; border-color: var(--hh-brand); }
.hhc-widget-news button, .hhc-newsletter button, .hhc-inline-news button {
    min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: var(--hh-radius); background: var(--hh-brand); color: #fff;
    font-family: var(--hh-ui); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.2s;
}
.hhc-widget-news button:hover, .hhc-newsletter button:hover, .hhc-inline-news button:hover { background: var(--hh-brand-dark); }
.hhc-sidebar .hhc-ad { min-height: 290px; }
.newsletter-message { margin-top: 0.75rem; font-weight: 600; }

/* --- Newsletter band (every template, above the footer): pale blue, centred ------------- */

.hhc-newsletter { padding: clamp(2.75rem, 5.5vw, 4rem) var(--hh-gutter); background: var(--hh-blue); border-top: 1px solid var(--hh-blue-rule); border-bottom: 1px solid var(--hh-blue-rule); }
.hhc-newsletter-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hhc-newsletter h2 { margin: 0.25rem 0 0.6rem; font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem); line-height: 1.1; text-wrap: balance; }
.hhc-newsletter-dek { margin: 0 0 1.5rem; max-width: 34em; font-size: 1.0625rem; line-height: 1.6; color: var(--hh-meta); }
.hhc-newsletter .newsletter-form { display: flex; flex-direction: row; gap: 0.6rem; width: 100%; max-width: 500px; }
.hhc-newsletter input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 54px; }
.hhc-newsletter button { min-height: 54px; white-space: nowrap; flex: none; }
.hhc-newsletter-note { margin: 0.85rem 0 0; font-family: var(--hh-ui); font-size: 0.875rem; color: var(--hh-meta); }

/* --- Footer: on paper under a coral double rule ------------------------------------------ */

.hhc-footer { background: var(--hh-footer); color: var(--hh-footer-text); border-top: 4px double var(--hh-brand); }
.hhc-footer-inner { max-width: var(--hh-page-max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 3.5rem) var(--hh-gutter) 2rem; }
.hhc-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 2rem 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--hh-rule); }
.hhc-footer-grid > * { min-width: 0; }
.hhc-footer-word { display: inline-flex; }
.hhc-logo--footer .hhc-mark { width: 40px; }
.hhc-logo--footer .hhc-name { font-size: 1.75rem; }
.hhc-footer-about { margin: 0.9rem 0 0; max-width: 22rem; font-size: 0.9375rem; line-height: 1.6; color: var(--hh-footer-meta); }
.hhc-footer-mail { margin: 0.75rem 0 0; font-family: var(--hh-ui); font-size: 0.9375rem; overflow-wrap: anywhere; }
.hhc-footer-mail a, .hhc-social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hh-brand); font-family: var(--hh-ui); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.hhc-social a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.hhc-social { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: 0.5rem 0 0; padding: 0; }
.hhc-fhead { margin: 0 0 0.5rem; font-size: 0.75rem; color: var(--hh-brand); }
.hhc-flist { list-style: none; margin: 0; padding: 0; }
.hhc-flist:empty { display: none; }
.hhc-flist li { margin: 0; }
.hhc-flist a { display: inline-flex; align-items: center; min-height: 40px; color: var(--hh-footer-text); font-family: var(--hh-ui); font-size: 0.9375rem; text-decoration: none; }
.hhc-flist a:hover { color: var(--hh-brand); text-decoration: underline; text-underline-offset: 0.25em; }
.hhc-flist--topics li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.hhc-fcount { font-family: var(--hh-ui); font-size: 0.8125rem; color: var(--hh-footer-meta); font-variant-numeric: tabular-nums; }
.hhc-footer-small { padding-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.hhc-footer-owner, .hhc-colophon { margin: 0; max-width: 60rem; font-family: var(--hh-ui); font-size: 0.875rem; line-height: 1.6; color: var(--hh-footer-meta); }
.hhc-footer-owner { color: var(--hh-footer-text); }
.hhc-footer .hhc-footer-note { color: var(--hh-footer-meta); }

/* --- Static pages, empty states ------------------------------------------------------------ */

.hhc-page { max-width: 820px; margin: 0 auto 0.5rem; }
.hhc-empty { max-width: 680px; margin: 0 auto 2rem; padding: 2.5rem 1.5rem; text-align: center; background: var(--hh-card); border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); }
.hhc-empty h1, .hhc-empty h2 { font-size: var(--hh-title); margin: 0.5rem 0 0.75rem; }
.hhc-empty .search-form { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
.hhc-deptlist--chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.hhc-deptlist--chips li { border-bottom: 0; }
.hhc-deptlist--chips a { padding: 0 1rem; border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); background: var(--hh-card); }
.hhc-deptlist--chips a:hover { border-color: var(--hh-brand); color: var(--hh-brand); }

.hhc-page-head { text-align: left; margin: 0 0 2rem; padding: 0 0 1.25rem; border-bottom: 3px double var(--hh-rule); }
.hhc-page-kicker { margin: 0 0 .5rem; font-family: var(--hh-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hh-brand); }
.hhc-page-head .hhc-page-title { margin: 0; font-family: var(--hh-display); font-size: var(--hh-title); font-weight: 700; line-height: 1.06; color: var(--hh-ink); text-wrap: balance; }
.hhc-page-standfirst { margin: .85rem 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--hh-meta); max-width: 40rem; }
.hhc-page-updated { margin: .9rem 0 0; font-family: var(--hh-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hh-meta); }
.hhc-page .entry-content { font-size: var(--hh-size-body); line-height: var(--hh-lh-body); }
.hhc-page .entry-content h2 { font-family: var(--hh-display); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); font-weight: 700; line-height: 1.12; margin: 2.5rem 0 .75rem; padding-top: .9rem; border-top: 1px solid var(--hh-rule); scroll-margin-top: 1.5rem; }
.hhc-page .entry-content h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.hhc-page .entry-content a { color: var(--hh-brand); }
.hhc-onpage { margin: 0 0 2rem; padding: 1.1rem 1.4rem; background: var(--hh-tint); border: 1px solid var(--hh-tint-rule); border-radius: var(--hh-radius); }
.hhc-onpage-title { margin: 0 0 .5rem; font-family: var(--hh-display); font-size: 1.25rem; font-weight: 700; color: var(--hh-ink); }
.hhc-page .entry-content .hhc-onpage ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.hhc-page .entry-content .hhc-onpage li { margin: 0; padding: 0; break-inside: avoid; }
.hhc-page .entry-content .hhc-onpage li::marker { content: none; }
.hhc-page .entry-content .hhc-onpage a { display: flex; gap: .6rem; align-items: baseline; min-height: 44px; padding: .45rem 0; color: var(--hh-ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.hhc-page .entry-content .hhc-onpage a:hover span:last-child { text-decoration: underline; color: var(--hh-brand); }
.hhc-onpage-num { flex: none; font-family: var(--hh-display); font-weight: 700; color: var(--hh-brand); }
.hhc-page-ask { margin: 2.25rem 0 0; padding: 1.25rem 1.5rem; background: var(--hh-blue); border: 1px solid var(--hh-blue-rule); border-radius: var(--hh-radius); }
.hhc-page-ask-title { margin: 0 0 .25rem; font-family: var(--hh-display); font-weight: 700; font-size: 1.25rem; }
.hhc-page-ask p { margin: 0; }
.hhc-page-ask a, .hhc-contact-email a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hh-brand); font-weight: 600; }
.hhc-contact-intro { margin: 0 0 1.5rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--hh-rule); }
.hhc-contact-intro p { margin: 0 0 .5rem; }
.hhc-contact-email { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Theme contact form (inc/contact-form.php): a white card. */
.hhc-contact-form { margin: 1.75rem 0 2rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--hh-card); border: 1px solid var(--hh-rule); border-top: 3px solid var(--hh-brand); border-radius: var(--hh-radius); }
.hhc-contact-form-title { margin: 0 0 1.25rem; font-family: var(--hh-display); font-weight: 700; font-size: 1.5rem; line-height: var(--hh-lh-head); color: var(--hh-ink); }
.hhc-contact-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 640px) { .hhc-contact-row { grid-template-columns: 1fr 1fr; } }
.hhc-page .inedit-form-group { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.hhc-page .inedit-form-group label { font-weight: 600; font-size: .9375rem; color: var(--hh-ink); }
.hhc-page .inedit-form-group input, .hhc-page .inedit-form-group select, .hhc-page .inedit-form-group textarea { width: 100%; box-sizing: border-box; font-size: 1.0625rem; min-height: 50px; padding: .6rem .85rem; border: 1px solid var(--hh-rule); border-radius: var(--hh-radius); background: var(--hh-card); color: var(--hh-ink); }
.hhc-page .inedit-form-group select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--hh-ink) 50%), linear-gradient(135deg, var(--hh-ink) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 52%, calc(100% - .85rem) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.hhc-page .hhc-contact-form textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.hhc-page .hhc-contact-form input:focus, .hhc-page .hhc-contact-form select:focus, .hhc-page .hhc-contact-form textarea:focus { outline: 2px solid var(--hh-brand); outline-offset: 1px; border-color: var(--hh-brand); }
.hhc-optional { font-weight: 400; color: var(--hh-meta); }
.hhc-contact-hint { margin: .1rem 0 0; font-size: .9375rem; color: var(--hh-meta); }
.hhc-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .5rem; }
.hhc-page .inedit-contact-submit { min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: var(--hh-radius); background: var(--hh-brand); color: #fff; font-weight: 600; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.hhc-page .inedit-contact-submit:hover { background: var(--hh-brand-dark); }
.hhc-page .inedit-contact-submit:disabled { opacity: .7; cursor: wait; }
.hhc-contact-privacy { margin: 0; font-size: .9375rem; color: var(--hh-meta); }
.hhc-contact-privacy a { color: var(--hh-brand); }
.hhc-contact-status { margin-top: 1rem; }
.hhc-contact-status:empty { display: none; }
.hhc-contact-status.is-ok, .hhc-contact-status.is-error { padding: .85rem 1rem; border-radius: var(--hh-radius); font-weight: 600; }
.hhc-contact-status.is-ok { background: #EAF1E8; color: #1E4D2B; border: 1px solid #B9D2B3; }
.hhc-contact-status.is-error { background: #F8EAE7; color: #7A2617; border: 1px solid #E3BDB4; }
.hhc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inline newsletter card inside long numbered lists (hhc_inline_newsletter). */
.hhc-inline-news { margin: 2.25rem 0; padding: 1.25rem 1.4rem; background: var(--hh-blue); border: 1px solid var(--hh-blue-rule); border-radius: var(--hh-radius); }
.hhc-inline-news .hhc-newsletter-label { margin: 0 0 0.25rem; }
.hhc-inline-news-title { margin: 0 0 0.85rem !important; font-family: var(--hh-display); font-weight: 700; font-size: 1.375rem; line-height: 1.15; color: var(--hh-ink); }
.hhc-inline-news .newsletter-form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; }
.hhc-inline-news input[type=email] { flex: 1 1 220px; width: auto; min-width: 0; }
.hhc-inline-news button { flex: 0 0 auto; }

/* --- Responsive ------------------------------------------------------------------------------ */

@media (max-width: 1100px) {
    .hhc-layout { grid-template-columns: minmax(0, 1fr); }
    .hhc-layout > .hhc-sidebar { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
    .hhc-sidebar .hhc-ad { grid-column: 1 / -1; }
    .hhc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hhc-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
    /* Masthead: one row — the lockup left, search + menu right; topics in the drawer. */
    .hhc-mast-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand tools"; min-height: 72px; border-bottom: 1px solid var(--hh-rule); }
    .hhc-util-line { display: none; }
    .hhc-nav-tools { border-bottom: 0; }
    .hhc-tool-label, .hhc-mast-sub { display: none; }
    .hhc-brand { align-items: flex-start; padding: 0.5rem 0; text-align: left; }
    .hhc-tagline { display: none; }
    .hhc-mark { width: 40px; }
    .hhc-name { font-size: 1.75rem; }
    .hhc-mast-nav { border: 0; }
    .hhc-masthead .mobile-menu-toggle { display: inline-flex !important; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: transparent; border: 0; }
    .hhc-masthead .hamburger-line { background: var(--hh-ink); }
    .hhc-masthead .mobile-menu-toggle.active .hamburger-line { background: var(--hh-ink); }
    .hhc-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .hhc-drawer-clip .main-navigation { position: absolute; pointer-events: auto; background: var(--hh-ground); overflow-y: auto; padding: 0; max-width: none; display: block; }
    .hhc-mast-nav .primary-menu, .hhc-mast-nav .main-navigation ul.primary-menu { display: block; text-align: left; margin: 0; }
    .hhc-mast-nav .main-navigation .primary-menu li { border-bottom: 1px solid var(--hh-rule); }
    .hhc-mast-nav .main-navigation a { align-items: center; justify-content: space-between; padding: 0 1.5rem; min-height: 60px; width: 100%; font-family: var(--hh-display); font-size: 1.5rem; font-weight: 700; color: var(--hh-ink); }
    .hhc-mast-nav .main-navigation a::after { display: none; }
    .hhc-mast-nav .main-navigation .current-cat > a { background: var(--hh-tint); color: var(--hh-brand); }
    .hhc-mast-nav .main-navigation .hhc-drawer-label { display: block; margin: 1.25rem 1.5rem 0.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--hh-brand); font-family: var(--hh-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hh-brand); }
    .hhc-mast-nav .main-navigation .hhc-drawer-sub { display: flex; align-items: center; justify-content: center; width: auto; margin: 1.5rem; min-height: 52px; padding: 0 1rem; font-family: var(--hh-ui); font-size: 1rem; font-weight: 600; background: var(--hh-brand); color: #fff; border-radius: var(--hh-radius); text-decoration: none; }
    .hhc-masthead .mobile-menu-toggle.active { position: fixed; top: 0.75rem; left: auto; right: 0.75rem; z-index: 1002; }

    .hhc-cover { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
    .hhc-lists { grid-template-columns: minmax(0, 1fr); }
    .hhc-acover { grid-template-columns: minmax(0, 1fr); }
    .hhc-acover-photo { margin: 6px 6px 0; }
    .hhc-keep-grid { grid-template-columns: minmax(0, 1fr); }
    .hhc-layout > .hhc-sidebar { grid-template-columns: minmax(0, 1fr); }
    .hhc-article .entry-content .hhc-toc-list--cols { columns: 1; }
}

@media (max-width: 720px) {
    .hhc-nrow { grid-template-columns: 2.25rem minmax(0, 1fr) 76px; gap: 0 0.85rem; padding: 1.1rem 0; }
    .hhc-nrow--text { grid-template-columns: 2.25rem minmax(0, 1fr); }
    .hhc-nrow-num { font-size: 1.375rem; }
    .hhc-nrow-dek { display: none; }
    .hhc-nrow-title { font-size: 1.125rem; }
    .hhc-list-rows li { flex-direction: column; gap: 0.2rem; }
    .hhc-newsletter .newsletter-form { flex-direction: column; }
    .hhc-page .entry-content .hhc-onpage ol { columns: 1; }
    .hhc-dot--wrap { display: none; }
    .hhc-byline { flex-basis: 100%; }
    .hhc-keep { grid-template-columns: minmax(0, 1fr) 72px; }
}

@media (max-width: 480px) {
    .hhc-footer-grid { gap: 1.75rem 1.25rem; }
    .hhc-name { font-size: 1.5rem; }
    .hhc-mark { width: 34px; }
}

@media (max-width: 359px) {
    .hhc-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
