/* ============================================================================
   Helpful Resources for Seniors — "F · Warm Horizon" (hrs-theme 1.0.0, 2026-10-20)
   Loads after theme-variables.css and main.css. All site styling lives here.
   Alabaster ground, white cards with one soft shadow, ONE teal for everything
   interactive; the compass logo's amber only as rules, dots, top borders and
   the cream panels (amber text = --hr-amber-ink). Epilogue headlines and UI
   over IBM Plex Serif reading text. 12px corners on cards and photos, 8px on
   buttons and fields. Photos sit in their own frame — never text on them.
   ========================================================================= */

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

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

.site-container { max-width: var(--hr-page-max); margin: 0 auto; padding-left: var(--hr-gutter); padding-right: var(--hr-gutter); }
.site-main { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 0; }

.hrs-skip-link { position: absolute; left: -9999px; top: 0; background: var(--hr-teal); color: #fff; padding: 0.75rem 1rem; z-index: 2000; font-family: var(--hr-display); font-weight: 700; border-radius: var(--hr-radius-sm); }
.hrs-skip-link:focus { left: 1rem; top: 1rem; }

/* Labels: Epilogue small caps, tracked. */
.hrs-label, .hrs-kicker, .hrs-fhead, .hrs-drawer-label, .hrs-toc-count, .hrs-contents-cat, .hrs-newsletter-label {
    font-family: var(--hr-display); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700;
}
.hrs-label { margin: 0; font-size: var(--hr-label); color: var(--hr-meta); }
.hrs-meta { margin: 0; font-family: var(--hr-display); font-size: 0.875rem; line-height: 1.5; font-weight: 500; color: var(--hr-meta); }
.hrs-meta a { color: inherit; text-decoration: none; }
.hrs-dot { color: var(--hr-meta); padding: 0 0.2em; }
.hrs-kicker { margin: 0; font-size: var(--hr-label); line-height: 1.4; }
.hrs-kicker a { color: var(--hr-teal); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.hrs-kicker a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Badge: the topic as an amber pill. */
.hrs-badge {
    display: inline-flex; align-items: center; align-self: flex-start; min-height: 30px; padding: 0 0.75rem;
    background: var(--hr-amber-soft); color: var(--hr-amber-ink); border-radius: 6px;
    font-family: var(--hr-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
}
.hrs-badge:hover { color: var(--hr-amber-dark); background: #FBE8D2; }

/* Count pill. */
.hrs-pill {
    display: inline-flex; align-items: center; min-height: 28px; padding: 0 0.75rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.8); border: 1px solid var(--hr-rule);
    font-family: var(--hr-display); font-size: 0.875rem; font-weight: 600; color: var(--hr-meta); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.hrs-pill--white { background: var(--hr-panel); color: var(--hr-amber-ink); border-color: var(--hr-cream-rule); }

/* Framed photo: rounded, its own block, a hairline so pale photos keep an edge. */
.hrs-frame { display: block; overflow: hidden; background: var(--hr-sage); }
.hrs-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hrs-frame--wide img { aspect-ratio: 16 / 9; }
.hrs-frame--card img { aspect-ratio: 16 / 10; }
.hrs-frame--photo img { aspect-ratio: 3 / 2; }
.hrs-frame--four img { aspect-ratio: 4 / 3; }
.hrs-frame--square img { aspect-ratio: 1 / 1; }
.hrs-frame--hero { border-radius: var(--hr-radius); border: 1px solid var(--hr-rule); }
.hrs-frame--hero img { aspect-ratio: 16 / 9; height: auto; }

.hrs-more { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; font-family: var(--hr-display); font-size: 0.9375rem; font-weight: 700; color: var(--hr-teal); text-decoration: none; white-space: nowrap; }
.hrs-more span { transition: transform 0.2s; }
.hrs-more:hover span { transform: translateX(3px); }

/* --- Masthead -------------------------------------------------------------------- */

.hrs-masthead { position: sticky; top: 0; z-index: 100; background: var(--hr-panel); border-bottom: 1px solid var(--hr-rule); }
.admin-bar .hrs-masthead { top: 32px; }
.hrs-mast-inner { max-width: var(--hr-page-max); margin: 0 auto; padding: 0 var(--hr-gutter); min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.hrs-brand { min-width: 0; }
.hrs-brand-name { margin: 0; font-size: inherit; line-height: 1; font-weight: inherit; letter-spacing: inherit; }
.hrs-wordmark, .hrs-wordmark:hover, .hrs-wordmark:focus, .hrs-wordmark *, .hrs-footer-word, .hrs-footer-word:hover, .hrs-footer-word * { text-decoration: none !important; }
.hrs-wordmark { display: inline-flex; color: var(--hr-ink); }
.hrs-logo { display: inline-flex; align-items: center; gap: 0.85rem; min-width: 0; }
.hrs-logo-mark { flex: none; width: 48px; height: 48px; display: block; transition: transform 0.2s; }
.hrs-wordmark:hover .hrs-logo-mark { transform: rotate(-12deg); }
.hrs-logo-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.hrs-logo-name { font-family: var(--hr-display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--hr-ink); white-space: nowrap; }
.hrs-logo-tag { font-family: var(--hr-display); font-weight: 500; font-size: 0.8125rem; line-height: 1.3; letter-spacing: 0.01em; color: var(--hr-meta); white-space: nowrap; }

.hrs-mast-nav { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.hrs-drawer-clip { display: contents; }
.hrs-mast-nav .main-navigation { min-width: 0; display: flex; }
.hrs-mast-nav .primary-menu { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0 1.85rem; list-style: none; margin: 0; padding: 0; }
.hrs-mast-nav .main-navigation li { margin: 0; }
.hrs-mast-nav .main-navigation a {
    display: inline-flex; align-items: center; min-height: 48px; position: relative; white-space: nowrap;
    font-family: var(--hr-display); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; color: var(--hr-ink); text-decoration: none;
}
.hrs-mast-nav .main-navigation a:hover { color: var(--hr-teal); }
.hrs-mast-nav .main-navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; border-radius: 2px; background: var(--hr-teal); opacity: 0; transition: opacity 0.2s; }
.hrs-mast-nav .main-navigation a:hover::after, .hrs-mast-nav .main-navigation .current-cat > a::after { opacity: 1; }
.hrs-mast-nav .main-navigation .current-cat > a { color: var(--hr-teal); font-weight: 700; }
.hrs-mast-nav .main-navigation .hrs-drawer-label, .hrs-mast-nav .main-navigation .hrs-drawer-sub { display: none; }

.hrs-nav-tools { display: flex; align-items: center; gap: 0.25rem; }
.hrs-search-toggle {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--hr-panel); border: 1px solid var(--hr-rule); border-radius: 50%; color: var(--hr-ink); cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.hrs-search-toggle:hover, .hrs-search-toggle[aria-expanded="true"] { color: var(--hr-teal); border-color: var(--hr-teal); background: var(--hr-teal-subtle); }
.hrs-masthead .mobile-menu-toggle { display: none; }
/* Search opens as a row under the masthead (main.css made it a fixed overlay). */
.hrs-masthead .mobile-search-form { position: static; transform: none; box-shadow: none; z-index: auto; padding: 0.9rem var(--hr-gutter); background: var(--hr-ground); border-top: 1px solid var(--hr-rule); }
.hrs-masthead .mobile-search-form form { max-width: 760px; margin: 0 auto; }
.hrs-masthead .search-field { font-family: var(--hr-display); font-size: 1.0625rem; min-height: 50px; border-radius: var(--hr-radius-sm); border: 1px solid var(--hr-rule); background: var(--hr-panel); color: var(--hr-ink); }
.hrs-masthead .mobile-search-form button[type="submit"] { min-height: 50px; border-radius: var(--hr-radius-sm); font-weight: 700; background: var(--hr-teal); color: #fff; border: 0; }
.hrs-masthead .mobile-search-close { background: transparent !important; color: var(--hr-ink) !important; min-width: 44px; min-height: 44px; }

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

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

/* --- Cards ----------------------------------------------------------------------------- */

.hrs-grid { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); }
.hrs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hrs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hrs-pcard, .hrs-wcard, .hrs-lead {
    min-width: 0; display: flex; flex-direction: column; overflow: hidden;
    background: var(--hr-panel); border: 1px solid var(--hr-rule); border-radius: var(--hr-radius); box-shadow: var(--hr-shadow);
    transition: box-shadow 0.2s, border-color 0.2s;
}
.hrs-pcard:hover, .hrs-wcard:hover, .hrs-lead:hover { box-shadow: 0 6px 18px rgba(29, 39, 38, 0.09); border-color: #D8D5CC; }
.hrs-pcard .hrs-frame, .hrs-wcard .hrs-frame, .hrs-lead .hrs-frame { border-radius: 0; }
.hrs-pcard .hrs-frame img, .hrs-wcard .hrs-frame img, .hrs-lead .hrs-frame img { transition: transform 0.3s; }
.hrs-pcard:hover .hrs-frame img, .hrs-wcard:hover .hrs-frame img, .hrs-lead:hover .hrs-frame img { transform: scale(1.03); }

.hrs-pcard-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.25rem 1.4rem 1.2rem; min-width: 0; }
.hrs-pcard-title { margin: 0; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.hrs-pcard-title a, .hrs-wcard-title a, .hrs-lead-title a, .hrs-grow-title a { color: var(--hr-ink); text-decoration: none; }
.hrs-pcard-title a:hover, .hrs-wcard-title a:hover, .hrs-lead-title a:hover, .hrs-grow-title a:hover { color: var(--hr-teal); }
/* The whole card is the headline's target (the photo link is aria-hidden). */
.hrs-pcard { position: relative; }
.hrs-pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hrs-pcard .hrs-kicker a { position: relative; z-index: 2; }
.hrs-pcard-dek { margin: 0.15rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--hr-meta); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hrs-pcard-foot { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid #EFEDE7; font-size: 0.8125rem; }
.hrs-pcard-title + .hrs-pcard-foot { margin-top: auto; }
.hrs-pcard-body > .hrs-pcard-title:last-child { margin-bottom: 0; }
.hrs-pcard--text .hrs-pcard-body { padding-top: 1.5rem; }
/* Date above the headline, after an amber dot (archives, search). */
.hrs-dotdate { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.hrs-dotdate::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hr-amber); flex: none; }

/* Wide feature card: photo left 7/12, text right. */
.hrs-wcard { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hrs-wcard .hrs-frame { position: relative; min-height: 300px; }
.hrs-wcard .hrs-frame img { position: absolute; inset: 0; aspect-ratio: auto; }
.hrs-wcard--text { grid-template-columns: minmax(0, 1fr); }
.hrs-wcard-body { display: flex; flex-direction: column; gap: 0.85rem; padding: clamp(1.5rem, 3vw, 2.25rem); min-width: 0; }
.hrs-wcard-title { margin: 0; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
.hrs-wcard-dek { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--hr-meta); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.hrs-lead-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid #EFEDE7; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; }
.hrs-when { font-size: 0.875rem; }

/* --- Front: lead + Essential guides ------------------------------------------------- */

.hrs-top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 2.5vw, 2rem); align-items: stretch; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.hrs-lead-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.hrs-lead-title { margin: 0.1rem 0 0; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
.hrs-lead-dek { margin: 0; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.65; color: var(--hr-meta); max-width: 62ch; }

.hrs-essentials {
    display: flex; flex-direction: column; min-width: 0; padding: 1.6rem 1.6rem 1.25rem;
    background: var(--hr-cream); border: 1px solid var(--hr-cream-rule); border-top: 3px solid var(--hr-amber); border-radius: var(--hr-radius); box-shadow: var(--hr-shadow);
}
.hrs-essentials-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #EDE0CC; }
.hrs-essentials-head h2 { margin: 0; font-size: 1.3125rem; font-weight: 700; }
.hrs-dotmark { width: 10px; height: 10px; border-radius: 50%; background: var(--hr-amber); flex: none; }
.hrs-essentials-list { flex: 1 1 auto; }
.hrs-grow { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 1rem; align-items: start; padding: 1.15rem 0; border-bottom: 1px solid #EDE0CC; }
.hrs-grow:last-child { border-bottom: 0; }
.hrs-grow .hrs-frame { border-radius: var(--hr-radius-sm); }
.hrs-grow-body { min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.hrs-grow-title { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.hrs-grow .hrs-meta { margin-top: 0.25rem; font-size: 0.8125rem; }
.hrs-essentials-more { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; margin-top: 0.25rem; padding-top: 0.75rem; border-top: 1px solid #EDE0CC; font-family: var(--hr-display); font-size: 0.9375rem; font-weight: 700; color: var(--hr-amber-ink); text-decoration: none; }
.hrs-essentials-more:hover { color: var(--hr-amber-dark); text-decoration: underline; text-underline-offset: 0.2em; }

/* --- Front: topic bands ---------------------------------------------------------------- */

.hrs-band { margin: 0 calc(50% - 50vw); padding: clamp(2.5rem, 5vw, 3.5rem) calc(50vw - 50%); }
.hrs-band--sage { background: var(--hr-sage); border-top: 1px solid var(--hr-sage-rule); border-bottom: 1px solid var(--hr-sage-rule); }
.hrs-band--plain { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.hrs-band + .hrs-band--plain, .hrs-ad--band + .hrs-band { margin-top: 0; }
.hrs-band-inner { max-width: var(--hr-page-max); margin: 0 auto; }
.hrs-band--plain .hrs-wcard { margin-bottom: clamp(1.25rem, 2.2vw, 1.75rem); }
.hrs-band:last-child { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Topic head: title + pill, link right, 2px hairline with a 96px amber stretch. */
.hrs-bhead { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; margin: 0 0 clamp(1.5rem, 3vw, 2rem); padding-bottom: 1.1rem; border-bottom: 2px solid rgba(29, 39, 38, 0.1); }
.hrs-bhead::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 96px; height: 3px; background: var(--hr-amber); border-radius: 2px; }
.hrs-bhead-name { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; min-width: 0; }
.hrs-bhead-title { margin: 0; font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem); font-weight: 800; letter-spacing: -0.02em; }
.hrs-bhead-link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-family: var(--hr-display); font-size: 0.9375rem; font-weight: 700; color: var(--hr-teal); text-decoration: none; }
.hrs-bhead-link:hover { color: var(--hr-teal-dark); text-decoration: underline; text-underline-offset: 0.2em; }

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

.hrs-ad { text-align: center; background: var(--hr-panel); border: 1px solid var(--hr-rule); border-radius: var(--hr-radius); padding: 0.7rem 0.5rem 1rem; min-height: 290px; }
.hrs-ad::before { content: "Advertisement"; display: block; font-family: var(--hr-display); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hr-meta); margin-bottom: 0.6rem; }
.hrs-ad:has(ins[data-ad-status="unfill-optimized"]), .hrs-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.hrs-ad-placeholder { border: 1px dashed var(--hr-rule); border-radius: var(--hr-radius-sm); padding: 2rem 1rem; color: var(--hr-meta); font-family: var(--hr-display); font-size: 0.875rem; margin: 0 0.5rem; }
.hrs-ad--band { max-width: 760px; margin: clamp(2rem, 4vw, 3rem) auto; background: transparent; border-style: dashed; }

/* --- Archive ---------------------------------------------------------------------------- */

.hrs-archive-head { background: var(--hr-sage); border-bottom: 1px solid var(--hr-sage-rule); }
.hrs-archive-inner { max-width: var(--hr-page-max); margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.25rem) var(--hr-gutter) clamp(2rem, 4vw, 2.75rem); }
.site-container > .hrs-archive-head { margin: 0 calc(50% - 50vw); }
.hrs-archive-titlerow { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.5rem; padding-bottom: 1.1rem; }
.hrs-archive-titlerow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 96px; height: 3px; border-radius: 2px; background: var(--hr-amber); }
.hrs-archive-title { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.hrs-archive-line { margin: 1.1rem 0 0; max-width: 46em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.65; color: #3F4B49; }
.hrs-archive-head--search .search-form { display: flex; gap: 0.5rem; max-width: 560px; margin: 1.25rem 0 0; }
.hrs-archive-head--search .search-field, .hrs-empty .search-field { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 1rem; border: 1px solid var(--hr-rule); border-radius: var(--hr-radius-sm); background: var(--hr-panel); color: var(--hr-ink); font-family: var(--hr-display); font-size: 1.0625rem; }
.hrs-archive-head--search .search-submit, .hrs-empty .search-submit { min-height: 50px; padding: 0 1.25rem; border: 0; border-radius: var(--hr-radius-sm); background: var(--hr-teal); color: #fff; font-family: var(--hr-display); font-weight: 700; cursor: pointer; }

.hrs-alist .hrs-wcard { margin-bottom: clamp(1.25rem, 2.2vw, 1.75rem); }

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

/* --- Single ------------------------------------------------------------------------------ */

.hrs-article-head { margin: 0 0 1.75rem; }
.hrs-article-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; }
.hrs-title { margin: 0.75rem 0 0; font-size: var(--hr-title); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.hrs-standfirst { margin: 1rem 0 0; max-width: 42em; font-family: var(--hr-text); font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.6; color: #3F4B49; }
.hrs-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin: 1.25rem 0 0; padding: 0 0 1.25rem; border-bottom: 1px solid var(--hr-rule); font-family: var(--hr-display); font-size: 0.9375rem; font-weight: 500; color: var(--hr-meta); }
.hrs-mg { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 0 0.5rem; }
.hrs-mg--by::before { content: "·"; color: var(--hr-meta); margin-right: 0; }
.hrs-byline a, .hrs-ep-link { color: var(--hr-teal); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.hrs-byline a:hover, .hrs-ep-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Reading column + sidebar. */
.hrs-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--hr-sidebar); gap: var(--hr-side-gap) clamp(2rem, 4vw, 3.5rem); align-items: start; }
.hrs-layout-main { min-width: 0; }
.hrs-hero { margin: 0 0 2rem; }
.hrs-disclosure { margin: 0 0 1.5rem; padding: 0.85rem 1.1rem; background: var(--hr-panel); border: 1px solid var(--hr-rule); border-radius: var(--hr-radius-sm); font-family: var(--hr-display); font-size: 0.9375rem; line-height: 1.55; color: var(--hr-meta); }
.hrs-disclosure a { color: var(--hr-teal); font-weight: 600; white-space: nowrap; }
.hrs-caption { display: flex; gap: 0.5rem; font-family: var(--hr-display); font-size: 0.9375rem; line-height: 1.5; color: var(--hr-meta); padding: 0.7rem 0.1rem 0; }

.hrs-article { min-width: 0; }
.hrs-article .entry-content { font-size: var(--hr-size-body); line-height: var(--hr-lh-body); color: var(--hr-ink); }
.hrs-article .entry-content > * { max-width: 100%; }
.hrs-article .entry-content p { text-wrap: pretty; }
/* H2: a short amber rule above, Epilogue, teal-ink. */
.hrs-article .entry-content h2 { position: relative; font-size: var(--hr-h2); font-weight: 800; line-height: 1.2; margin: 3rem 0 1rem; padding: 1.1rem 0 0; border: 0; color: #143C38; letter-spacing: -0.02em; scroll-margin-top: 110px; text-wrap: balance; }
.hrs-article .entry-content h2::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; border-radius: 2px; background: var(--hr-amber); }
.hrs-article .entry-content h3 { font-size: var(--hr-h3); font-weight: 700; margin: 2.25rem 0 0.75rem; scroll-margin-top: 110px; text-wrap: balance; }
.hrs-article .entry-content > h2:first-child { margin-top: 0.5rem; }
.hrs-item-no { display: inline-block; margin-right: 0.3em; color: var(--hr-teal); font-weight: 800; }
.hrs-article .entry-content h4 { font-family: var(--hr-display); font-weight: 700; font-size: 1.125rem; }
.hrs-article .entry-content a { color: var(--hr-teal); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.hrs-article .entry-content a:hover { color: var(--hr-teal-dark); text-decoration-thickness: 2px; }
.hrs-article .entry-content strong { font-weight: 600; color: var(--hr-ink); }
.hrs-article .entry-content figure { margin: 2.25rem 0; }
.hrs-article .entry-content figure img, .hrs-article .entry-content p > img { display: block; height: auto; border-radius: var(--hr-radius); box-shadow: none; }
.hrs-article .entry-content figcaption { text-align: left; font-style: normal; font-family: var(--hr-display); font-size: 0.9375rem; line-height: 1.5; color: var(--hr-meta); padding-top: 0.6rem; }
.hrs-article .entry-content ol, .hrs-article .entry-content ul { padding-left: 1.5rem; }
.hrs-article .entry-content li { margin-bottom: 0.6rem; }
.hrs-article .entry-content ul li::marker { color: var(--hr-teal); }
.hrs-article .entry-content ol li::marker { color: var(--hr-teal); font-family: var(--hr-display); font-weight: 700; }
.hrs-article .entry-content blockquote { border: 0; border-left: 4px solid var(--hr-teal); background: var(--hr-sage); border-radius: 0 var(--hr-radius-sm) var(--hr-radius-sm) 0; margin: 2rem 0; padding: 1.1rem 1.4rem; font-size: 1.0625rem; line-height: 1.65; color: var(--hr-ink); }
.hrs-article .entry-content blockquote p { margin: 0; }
.hrs-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.hrs-article .entry-content hr { border: 0; border-top: 1px solid var(--hr-rule); }
.table-scroll { overflow-x: auto; margin: 2rem 0; -webkit-overflow-scrolling: touch; background: var(--hr-panel); border: 1px solid var(--hr-rule); border-radius: var(--hr-radius); box-shadow: var(--hr-shadow); }
.table-scroll table { min-width: 560px; margin: 0; }
.hrs-article .entry-content table { border-collapse: collapse; width: 100%; font-family: var(--hr-display); font-size: 0.95em; line-height: 1.5; background: transparent; }
.hrs-article .entry-content th { background: var(--hr-teal-subtle); color: var(--hr-ink); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--hr-sage-rule); }
.hrs-article .entry-content td, .hrs-article .entry-content th { border-bottom: 1px solid #EFEDE7; padding: 0.85rem 1rem; vertical-align: top; min-width: 9rem; }
.hrs-article .entry-content tr:last-child td { border-bottom: 0; }
.hrs-article .entry-content td:first-child, .hrs-article .entry-content th:first-child { position: sticky; left: 0; z-index: 1; }
.hrs-article .entry-content td:first-child { background: var(--hr-panel); font-weight: 600; }

/* "In this guide" (the article's own contents block, hrs_toc_panel): cream, amber top border. */
.hrs-toc { margin: 1.5rem 0 2.25rem; background: var(--hr-cream); border: 1px solid var(--hr-cream-rule); border-top: 3px solid var(--hr-amber); border-radius: var(--hr-radius); }
.hrs-toc summary { display: flex; align-items: center; gap: 1rem; min-height: 60px; padding: 0.5rem 1.5rem; cursor: pointer; list-style: none; }
.hrs-toc summary::-webkit-details-marker { display: none; }
.hrs-toc summary::after { content: "+"; font-family: var(--hr-display); font-size: 1.5rem; font-weight: 600; color: var(--hr-amber-ink); margin-left: 0.25rem; }
.hrs-toc[open] summary::after { content: "−"; }
.hrs-toc-title { font-family: var(--hr-display); font-size: 1.25rem; font-weight: 700; color: var(--hr-ink); }
.hrs-toc-count { margin-left: auto; font-size: 0.75rem; color: var(--hr-meta); }
.hrs-article .entry-content .hrs-toc-list { list-style: none; margin: 0; padding: 0.25rem 1.5rem 1.25rem; counter-reset: hrstoc; columns: 2; column-gap: 2rem; }
.hrs-article .entry-content .hrs-toc-list li { margin: 0; padding: 0; counter-increment: hrstoc; break-inside: avoid; }
.hrs-article .entry-content .hrs-toc-list li::marker { content: none; }
.hrs-article .entry-content .hrs-toc-list a { display: flex; gap: 0.7rem; align-items: flex-start; min-height: 44px; padding: 0.45rem 0; color: var(--hr-amber-ink); text-decoration: none; font-family: var(--hr-display); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.hrs-article .entry-content .hrs-toc-list a::before { content: counter(hrstoc); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; margin-top: -0.05rem; border-radius: 50%; background: var(--hr-amber-soft); font-size: 0.75rem; font-weight: 700; color: var(--hr-amber-ink); }
.hrs-article .entry-content .hrs-toc-list a:hover { color: var(--hr-amber-dark); text-decoration: underline; }

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

.hrs-team { margin: 2.75rem 0 0; padding: 1.35rem 1.5rem; background: var(--hr-sage); border-left: 4px solid var(--hr-teal); border-radius: 0 var(--hr-radius-sm) var(--hr-radius-sm) 0; }
.hrs-team-title { margin: 0 0 0.5rem; font-family: var(--hr-display); font-size: 1.125rem; font-weight: 700; color: var(--hr-ink); }
.hrs-team p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--hr-ink); }
.hrs-team .hrs-team-more { margin-top: 0.5rem; }
.hrs-team-more a { display: inline-flex; align-items: center; min-height: 40px; font-family: var(--hr-display); font-weight: 700; }

.hrs-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; margin: 2rem 0 0; padding: 0.3rem 0; border-top: 1px solid var(--hr-rule); border-bottom: 1px solid var(--hr-rule); }
.hrs-share .hrs-label { color: var(--hr-ink); }
.hrs-share a { font-family: var(--hr-display); text-decoration: none; font-weight: 600; font-size: 0.9375rem; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.hrs-share a:hover { text-decoration: underline; }

.hrs-related { margin: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--hr-rule); }

/* main.css sets content-visibility:auto (500px placeholder) on the comments; the form is taller,
   so it painted late and shifted the page (visual QA 2026-10-08 on the fork). */
.comments-area { margin-top: 2rem; padding-top: 0; border-top: 0; content-visibility: visible; contain-intrinsic-size: none; }
.comments-area .comments-title, .comments-area .comment-reply-title { font-size: var(--hr-h3); }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-respond { margin: 0; background: var(--hr-panel); border: 1px solid var(--hr-rule); border-radius: var(--hr-radius); }
.comments-area label, .comments-area .comment-notes, .comments-area .logged-in-as { color: var(--hr-meta); }
.comments-area input:not([type="checkbox"]):not([type="submit"]), .comments-area textarea { border-radius: var(--hr-radius-sm); border: 1px solid var(--hr-rule); background: var(--hr-panel); color: var(--hr-ink); }
.comments-area input:focus, .comments-area textarea:focus { border-color: var(--hr-teal); outline: none; }
.comments-area .submit, .comments-area #submit { background: var(--hr-teal) !important; border: none; border-radius: var(--hr-radius-sm) !important; color: #fff !important; font-family: var(--hr-display); font-weight: 700; min-height: 48px; padding: 0 1.5rem; cursor: pointer; }
.comments-area .submit:hover, .comments-area #submit:hover { background: var(--hr-teal-dark) !important; }
.comments-area .comment-body { background: transparent; border: 0; border-bottom: 1px solid var(--hr-rule); border-radius: 0; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 0.5rem; }
.comment-form-cookies-consent input { flex: 0 0 auto; margin: 0.3rem 0 0; }
.comment-form-cookies-consent label { margin: 0; }

/* --- Sidebar --------------------------------------------------------------------------------- */

.hrs-sidebar { display: flex; flex-direction: column; gap: 1.75rem; min-width: 0; }
.hrs-box { padding: 1.4rem 1.5rem 1rem; background: var(--hr-panel); border: 1px solid var(--hr-rule); border-radius: var(--hr-radius); box-shadow: var(--hr-shadow); }
.hrs-box-title { margin: 0 0 0.25rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--hr-rule); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }

/* Most read: big teal numerals, the date under each headline. */
.hrs-contents { list-style: none; margin: 0; padding: 0; }
.hrs-contents li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; padding: 0.9rem 0; border-bottom: 1px solid #EFEDE7; }
.hrs-contents li:last-child { border-bottom: 0; }
.hrs-contents-num { flex: none; min-width: 1.25rem; font-family: var(--hr-display); font-weight: 800; font-size: 1.625rem; line-height: 1; color: var(--hr-teal); font-variant-numeric: tabular-nums lining-nums; }
.hrs-contents-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.hrs-contents-cat { font-size: 0.6875rem; color: var(--hr-meta); }
.hrs-contents-title { font-family: var(--hr-display); font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--hr-ink); text-decoration: none; }
.hrs-contents-title:hover { color: var(--hr-teal); text-decoration: underline; text-decoration-thickness: 1px; }
.hrs-contents-date { font-family: var(--hr-display); font-size: 0.8125rem; color: var(--hr-meta); }
.hrs-box .hrs-contents-cat { display: none; }

.hrs-deptlist { list-style: none; margin: 0; padding: 0; }
.hrs-deptlist li { margin: 0; border-bottom: 1px solid #EFEDE7; }
.hrs-deptlist li:last-child { border-bottom: 0; }
.hrs-deptlist a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; color: var(--hr-ink); text-decoration: none; font-family: var(--hr-display); font-size: 1.0625rem; font-weight: 600; }
.hrs-deptlist a > span:first-child { display: inline-flex; align-items: center; gap: 0.6rem; }
.hrs-deptlist a > span:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C9CFCD; flex: none; }
.hrs-deptlist a:hover, .hrs-deptlist a.is-current { color: var(--hr-teal); }
.hrs-deptlist a.is-current > span:first-child::before, .hrs-deptlist a:hover > span:first-child::before { background: var(--hr-amber); }
.hrs-deptlist .hrs-count { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 1.6rem; padding: 0 0.55rem; border-radius: 999px; background: #F3F2EE; font-size: 0.8125rem; font-weight: 600; color: var(--hr-meta); font-variant-numeric: tabular-nums; }

.hrs-widget-news { padding: 1.5rem; background: var(--hr-cream); border: 1px solid var(--hr-cream-rule); border-top: 3px solid var(--hr-amber); border-radius: var(--hr-radius); }
.hrs-newsletter-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hr-amber-soft); color: var(--hr-amber-ink); }
.hrs-widget-news .hrs-box-title { margin-top: 0.9rem; padding: 0; border: 0; font-size: 1.25rem; text-wrap: balance; }
.hrs-widget-news .hrs-newsletter-note { margin: 0.5rem 0 1rem; font-family: var(--hr-display); font-size: 0.875rem; line-height: 1.5; color: var(--hr-meta); }
.hrs-widget-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.hrs-widget-news input[type="email"], .hrs-newsletter input[type="email"], .hrs-inline-news input[type="email"] {
    min-height: 50px; padding: 0 1rem; border: 1px solid #D9CDB8; border-radius: var(--hr-radius-sm); background: var(--hr-panel); color: var(--hr-ink); font-family: var(--hr-display); font-size: 1rem;
}
.hrs-widget-news input[type="email"]:focus, .hrs-newsletter input[type="email"]:focus, .hrs-inline-news input[type="email"]:focus { outline: 2px solid var(--hr-teal); outline-offset: 1px; border-color: var(--hr-teal); }
.hrs-widget-news button, .hrs-newsletter button, .hrs-inline-news button {
    min-height: 50px; padding: 0 1.4rem; border: 0; border-radius: var(--hr-radius-sm); background: var(--hr-amber-ink); color: #fff;
    font-family: var(--hr-display); font-weight: 700; font-size: 1.0625rem; cursor: pointer; transition: background 0.2s;
}
.hrs-widget-news button:hover, .hrs-newsletter button:hover, .hrs-inline-news button:hover { background: var(--hr-amber-dark); }
.hrs-sidebar .hrs-ad { min-height: 290px; }
.newsletter-message { margin-top: 0.75rem; font-family: var(--hr-display); font-weight: 600; }

/* --- Newsletter card (every template, above the footer) ----------------------------------- */

.hrs-newsletter { max-width: calc(960px + 2 * var(--hr-gutter)); margin: clamp(2.5rem, 5vw, 4rem) auto clamp(3rem, 6vw, 4.5rem); padding: 0 var(--hr-gutter); }
/* 1.0.2 (2026-10-20): the teal watercolor (an older couple on a bench, a man
   with his dog under the amber sun — behaviorsecrets newsletter-box style,
   redesign-stitch/newsletter-art/art-A.png, cropped at the ground line, rows
   0–774) is the card's background, anchored to the bottom edge; no extra height (user: 1.0.1's band made the box too big).
   A paper-coloured wash dims it behind the text and form and fades out toward
   the corners so the figures stay visible. Ground #FEF9ED = the art's paper. */
.hrs-newsletter-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
    background-color: #FEF9ED;
    background-image: radial-gradient(ellipse 50% 62% at 50% 50%, rgba(254, 249, 237, 0.8) 0%, rgba(254, 249, 237, 0.55) 55%, rgba(254, 249, 237, 0) 100%), var(--hrs-nl-art);
    background-repeat: no-repeat;
    background-position: center, center bottom;
    background-size: 100% 100%, cover; border: 1px solid var(--hr-cream-rule); border-top: 4px solid var(--hr-amber); border-radius: 16px; box-shadow: var(--hr-shadow); }
.hrs-newsletter .hrs-newsletter-icon { width: 52px; height: 52px; margin-bottom: 1rem; }
.hrs-newsletter h2 { margin: 0 0 0.6rem; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.hrs-newsletter-dek { margin: 0 auto 1.6rem; max-width: 36em; font-size: 1.0625rem; line-height: 1.65; color: var(--hr-meta); }
.hrs-newsletter .newsletter-form { display: flex; flex-direction: row; gap: 0.6rem; width: 100%; max-width: 480px; }
.hrs-newsletter input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 52px; }
.hrs-newsletter button { min-height: 52px; white-space: nowrap; flex: none; }
.hrs-newsletter-note { margin: 0.8rem 0 0; font-family: var(--hr-display); font-size: 0.875rem; color: var(--hr-meta); }

/* --- Footer: deep teal -------------------------------------------------------------------------- */

.hrs-footer { background: var(--hr-footer); color: var(--hr-on-footer); }
.hrs-footer-inner { max-width: var(--hr-page-max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 3.5rem) var(--hr-gutter) 2rem; }
.hrs-footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.hrs-footer-word { display: inline-flex; text-decoration: none; }
.hrs-footer .hrs-logo-mark { width: 44px; height: 44px; }
.hrs-footer .hrs-logo-name { color: var(--hr-on-footer); font-size: 1.375rem; }
.hrs-footer .hrs-logo-tag { color: var(--hr-on-footer-meta); }
.hrs-footer-about { margin: 0; max-width: 30rem; font-family: var(--hr-display); font-size: 0.9375rem; line-height: 1.6; color: var(--hr-on-footer-meta); }
.hrs-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; padding: 2rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.hrs-footer-cols > nav { min-width: 0; }
.hrs-fhead { margin: 0 0 0.6rem; font-size: 0.75rem; letter-spacing: 0.14em; color: var(--hr-on-footer-head); }
.hrs-flist { list-style: none; margin: 0; padding: 0; }
.hrs-flist:empty { display: none; }
.hrs-flist li { margin: 0; }
.hrs-flist a { display: inline-flex; align-items: center; min-height: 40px; color: var(--hr-on-footer-meta); font-family: var(--hr-display); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.hrs-flist a:hover { color: var(--hr-on-footer); text-decoration: underline; text-underline-offset: 0.25em; }
.hrs-flist--topics li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 15rem; }
.hrs-fcount { font-family: var(--hr-display); font-size: 0.8125rem; font-weight: 600; color: var(--hr-on-footer-meta); font-variant-numeric: tabular-nums; }
.hrs-footer-small { padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.hrs-footer-owner, .hrs-colophon { margin: 0; max-width: 64rem; font-family: var(--hr-display); font-size: 0.8125rem; line-height: 1.6; color: var(--hr-on-footer-meta); }
.hrs-footer-owner a { color: var(--hr-on-footer); display: inline-flex; min-height: 32px; align-items: center; }
.hrs-footer .hrs-footer-note { color: var(--hr-on-footer-meta); }

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

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

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

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

/* Inline newsletter card inside long numbered lists (hrs_inline_newsletter). */
.hrs-inline-news { margin: 2.25rem 0; padding: 1.25rem 1.4rem; background: var(--hr-cream); border: 1px solid var(--hr-cream-rule); border-top: 3px solid var(--hr-amber); border-radius: var(--hr-radius); }
.hrs-inline-news .hrs-newsletter-label { margin: 0 0 0.25rem; font-size: 0.6875rem; color: var(--hr-amber-ink); }
.hrs-inline-news-title { margin: 0 0 0.85rem !important; font-family: var(--hr-display); font-weight: 700; font-size: 1.25rem; color: var(--hr-ink); }
.hrs-inline-news .newsletter-form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; }
.hrs-inline-news input[type=email] { flex: 1 1 220px; width: auto; min-width: 0; }
.hrs-inline-news button { flex: 0 0 auto; }
.hrs-editor + .hrs-team { margin-top: 1rem; }
.hrs-editor-name { font-family: var(--hr-display); font-weight: 700; font-size: 1.125rem; margin-bottom: 0.35rem !important; }
.hrs-editor-name a { color: var(--hr-teal); text-decoration: none; }

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

@media (max-width: 1180px) {
    .hrs-mast-nav .primary-menu { gap: 0 1.25rem; }
    .hrs-logo-tag { display: none; }
    .hrs-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

@media (max-width: 1024px) {
    /* Masthead: lockup left; search + menu right; topics in the drawer. */
    .hrs-mast-inner { min-height: 72px; }
    .hrs-logo-mark { width: 40px; height: 40px; }
    .hrs-logo-tag { display: block; font-size: 0.75rem; }
    .hrs-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; }
    .hrs-masthead .hamburger-line { background: var(--hr-ink); }
    .hrs-masthead .mobile-menu-toggle.active .hamburger-line { background: var(--hr-ink); }
    .hrs-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .hrs-drawer-clip .main-navigation { position: absolute; pointer-events: auto; background: var(--hr-panel); overflow-y: auto; padding: 0; max-width: none; display: block; }
    .hrs-mast-nav .primary-menu, .hrs-mast-nav .main-navigation ul.primary-menu { display: block; text-align: left; margin: 0; }
    .hrs-mast-nav .main-navigation .primary-menu li { border-bottom: 1px solid var(--hr-rule); }
    .hrs-mast-nav .main-navigation a { min-height: 60px; width: 100%; padding: 0 1.5rem; font-size: 1.375rem; font-weight: 700; color: var(--hr-ink); }
    .hrs-mast-nav .main-navigation a::after { display: none; }
    .hrs-mast-nav .main-navigation .current-cat > a { background: var(--hr-teal-subtle); }
    .hrs-mast-nav .main-navigation .hrs-drawer-label { display: block; margin: 1.25rem 1.5rem 0.5rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--hr-amber); font-size: 0.75rem; color: var(--hr-amber-ink); }
    .hrs-mast-nav .main-navigation .hrs-drawer-sub { display: flex; align-items: center; justify-content: center; width: auto; margin: 1.5rem; min-height: 52px; padding: 0 1rem; font-family: var(--hr-display); font-size: 1.0625rem; font-weight: 700; background: var(--hr-amber-ink); color: #fff; border-radius: var(--hr-radius-sm); text-decoration: none; }
    .hrs-masthead .mobile-menu-toggle.active { position: fixed; top: 0.75rem; left: auto; right: 0.75rem; z-index: 1002; }

    .hrs-layout { grid-template-columns: minmax(0, 1fr); }
    .hrs-layout > .hrs-sidebar { margin-top: 1rem; }
    .hrs-sidebar .hrs-widget-news, .hrs-sidebar .hrs-widget-topics { display: none; }

    .hrs-top { grid-template-columns: minmax(0, 1fr); }
    .hrs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hrs-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
    .admin-bar .hrs-masthead { top: 46px; }
}

@media (max-width: 720px) {
    .hrs-grid--3, .hrs-grid--2 { grid-template-columns: minmax(0, 1fr); }
    .hrs-wcard { grid-template-columns: minmax(0, 1fr); }
    .hrs-wcard .hrs-frame { min-height: 0; }
    .hrs-wcard .hrs-frame img { position: static; aspect-ratio: 16 / 10; height: auto; }
    .hrs-lead-dek { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
    .hrs-lead-foot .hrs-more { display: none; }
    .hrs-newsletter .newsletter-form { flex-direction: column; }
    .hrs-newsletter-inner { background-size: 100% 100%, 100% auto; background-image: radial-gradient(ellipse 90% 60% at 50% 45%, rgba(254, 249, 237, 0.85) 0%, rgba(254, 249, 237, 0.6) 60%, rgba(254, 249, 237, 0) 100%), var(--hrs-nl-art); }
    .hrs-page .entry-content .hrs-onpage ol { columns: 1; }
    .hrs-article .entry-content .hrs-toc-list { columns: 1; }
    .hrs-bhead-link { font-size: 0.875rem; }
    .hrs-article-meta { flex-direction: column; align-items: flex-start; gap: 0; }
    .hrs-mg--by::before { display: none; }
}

@media (max-width: 480px) {
    .hrs-logo { gap: 0.6rem; }
    .hrs-logo-mark { width: 36px; height: 36px; }
    .hrs-logo-name { font-size: 1.0625rem; white-space: normal; }
    .hrs-logo-tag { display: none; }
    .hrs-grow { grid-template-columns: 80px minmax(0, 1fr); }
    .hrs-footer-cols { grid-template-columns: minmax(0, 1fr); }
    .hrs-essentials { padding: 1.25rem 1.1rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
    .hrs-pcard:hover .hrs-frame img, .hrs-wcard:hover .hrs-frame img, .hrs-lead:hover .hrs-frame img { transform: none; }
}
