/* ============================================================================
   HealthyReads — the Wellness Magazine layer
   Loads LAST, after theme-variables.css and main.css. This file is the only
   place site styling lives; main.css is the shared core and is never edited.

   Design source: Stitch project 16374503995853145673 (2026-08-19) —
   calm teal, Lexend display over Work Sans, soft rounded cards, light footer.
   ========================================================================= */

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

body {
    background: var(--hr-surface);
    color: var(--hr-ink);
    font-family: var(--hr-text);
    font-size: var(--hr-size-body);
    line-height: var(--hr-lh-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hr-display);
    color: var(--hr-ink);
    line-height: var(--hr-lh-head);
    font-weight: 600;
}

a { color: var(--hr-primary); }
a:hover { color: var(--hr-primary-dark); }

.site-container {
    max-width: var(--hr-page-max);
    margin: 0 auto;
    padding-left: var(--hr-gutter);
    padding-right: var(--hr-gutter);
}

.hr-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--hr-primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 2000;
    border-radius: 0 0 var(--hr-radius-sm) 0;
}
.hr-skip-link:focus { left: 0; color: #fff; }

.hr-meta {
    font-size: var(--hr-size-meta);
    letter-spacing: var(--hr-track-meta);
    text-transform: uppercase;
    color: var(--hr-meta);
    font-family: var(--hr-text);
    font-weight: 500;
    margin: 0;
}

.hr-kicker {
    font-size: var(--hr-size-meta);
    letter-spacing: var(--hr-track-meta);
    text-transform: uppercase;
    color: var(--hr-primary);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.hr-label {
    font-size: var(--hr-size-meta);
    letter-spacing: var(--hr-track-meta);
    text-transform: uppercase;
    color: var(--hr-meta);
    font-weight: 600;
}

/* Category chip — solid teal label */
.hr-chip {
    display: inline-block;
    background: var(--hr-primary);
    color: #fff;
    font-family: var(--hr-text);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1.4;
}
a.hr-chip:hover { background: var(--hr-primary-dark); color: #fff; }
.hr-chip-overlay {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
}

/* --- Masthead -------------------------------------------------------------
   Sticky white bar: brand | nav | actions. The nav hooks menu.js needs are
   preserved; main.css supplies the ≤1024px drawer mechanics. */

.hr-masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--hr-rule);
}

.hr-masthead-inner {
    max-width: var(--hr-page-max);
    margin: 0 auto;
    padding: 0 var(--hr-gutter);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1.5rem;
    min-height: 72px;
    position: relative;
}

.hr-brand { display: flex; align-items: center; }
.hr-brand a { text-decoration: none; display: flex; align-items: center; }
.hr-brand img { max-height: 44px; width: auto; display: block; }

.hr-wordmark {
    font-family: var(--hr-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--hr-ink);
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}
.hr-brand a:hover .hr-wordmark { color: var(--hr-primary); }

.hr-masthead .main-navigation { justify-self: end; }
.hr-masthead .primary-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hr-masthead .main-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: var(--hr-nav-tap);
    padding: 0 0.9rem;
    font-family: var(--hr-text);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--hr-ink);
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}
.hr-masthead .main-navigation a:hover { color: var(--hr-primary); }
/* Underline as a positioned ::after, never a real border — a border adds
   height and shifts the whole row on hover. */
.hr-masthead .main-navigation a::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.6rem;
    height: 2px;
    border-radius: 1px;
    background: var(--hr-primary);
    opacity: 0;
}
.hr-masthead .main-navigation a:hover::after { opacity: 0.35; }
.hr-masthead .main-navigation .current-menu-item > a,
.hr-masthead .main-navigation .current_page_item > a,
.hr-masthead .main-navigation .current-cat > a { color: var(--hr-primary); }
.hr-masthead .main-navigation .current-menu-item > a::after,
.hr-masthead .main-navigation .current_page_item > a::after,
.hr-masthead .main-navigation .current-cat > a::after { opacity: 1; }

.hr-masthead .header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.hr-masthead .desktop-search-toggle,
.hr-masthead .mobile-search-toggle,
.hr-masthead .mobile-menu-toggle {
    width: var(--hr-tap);
    height: var(--hr-tap);
    min-width: var(--hr-tap);
    color: var(--hr-ink);
}
.hr-masthead .desktop-search-toggle svg,
.hr-masthead .mobile-search-toggle svg { color: var(--hr-ink); }
.hr-masthead .desktop-search-toggle:hover svg,
.hr-masthead .mobile-search-toggle:hover svg { color: var(--hr-primary); }
.hr-masthead .hamburger-line { background: var(--hr-ink); }

.hr-masthead .desktop-search-form,
.hr-masthead .mobile-search-form {
    grid-column: 1 / -1;
    background: var(--hr-band);
    border-top: 1px solid var(--hr-rule);
    margin-bottom: 0;
}
.hr-masthead .search-field {
    font-family: var(--hr-text);
    font-size: 1rem;
    min-height: var(--hr-tap);
    border-radius: var(--hr-radius-sm);
    border: 1px solid var(--hr-rule);
}
.hr-masthead .desktop-search-form button,
.hr-masthead .mobile-search-form button {
    min-height: var(--hr-tap);
    border-radius: var(--hr-radius-sm);
    font-family: var(--hr-text);
    font-weight: 600;
}

/* --- Homepage: hero + Editor's Picks -------------------------------------- */

.hr-lead-section { padding: 2.5rem 0 3rem; }

.hr-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--hr-col-gap);
    align-items: stretch;
}

.hr-hero {
    position: relative;
    border-radius: var(--hr-radius-lg);
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--hr-shadow);
    display: flex;
}
.hr-hero-img,
.hr-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hr-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0, 32, 33, 0.88) 0%,
        rgba(0, 32, 33, 0.42) 45%,
        rgba(0, 32, 33, 0.08) 100%);
}
.hr-hero-body {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    max-width: 40rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}
.hr-hero-title {
    font-size: var(--hr-h1-hero);
    margin: 0;
}
.hr-hero-title a { color: #fff; text-decoration: none; }
.hr-hero-title a:hover { color: #D7EEEB; }
.hr-hero-excerpt {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.0625rem;
    margin: 0;
    line-height: 1.6;
}
.hr-hero-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    min-height: var(--hr-tap);
    display: inline-flex;
    align-items: center;
}
.hr-hero-link:hover { color: #D7EEEB; }

.hr-picks {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.hr-picks-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--hr-size-meta);
    letter-spacing: var(--hr-track-meta);
    text-transform: uppercase;
    font-weight: 600;
    color: var(--hr-ink);
    margin: 0 0 0.25rem;
}
.hr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hr-primary);
    flex-shrink: 0;
}

.hr-pick {
    border-left: 3px solid transparent;
    padding-left: 1rem;
    transition: border-color 0.2s ease;
}
.hr-pick:hover { border-left-color: var(--hr-primary); }
.hr-pick + .hr-pick { border-top: 0; }
.hr-picks .hr-pick:not(:last-child) {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--hr-rule);
}
.hr-pick-cat { color: var(--hr-primary); margin-bottom: 0.35rem; }
.hr-pick-title {
    font-size: 1.1875rem;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}
.hr-pick-title a { color: var(--hr-ink); text-decoration: none; }
.hr-pick-title a:hover { color: var(--hr-primary); }

/* --- Tonal band + section head + 3-column grid ---------------------------- */

.hr-band {
    background: var(--hr-band);
    padding: 3.5rem 0 4rem;
    margin: 0 calc(-1 * var(--hr-gutter));
}
.hr-band-flush { margin-top: 2rem; }
.hr-band-inner {
    max-width: var(--hr-page-max);
    margin: 0 auto;
    padding: 0 var(--hr-gutter);
}

.hr-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}
.hr-section-name {
    font-size: var(--hr-h2);
    margin: 0;
}
.hr-section-link {
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
    min-height: var(--hr-tap);
    display: inline-flex;
    align-items: center;
}

.hr-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

/* Card */
.hr-card {
    background: var(--hr-card);
    border-radius: var(--hr-radius);
    overflow: hidden;
    box-shadow: var(--hr-shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}
.hr-card:hover {
    box-shadow: var(--hr-shadow);
    transform: translateY(-2px);
}
.hr-card-figure {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.hr-card-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hr-card:hover .hr-card-figure img { transform: scale(1.04); }
.hr-card-body {
    padding: 1.4rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.hr-card-date { color: var(--hr-meta); }
.hr-card-title {
    font-size: var(--hr-card-title);
    margin: 0;
    line-height: 1.3;
}
.hr-card-title a { color: var(--hr-ink); text-decoration: none; }
.hr-card-title a:hover { color: var(--hr-primary); }
.hr-card-excerpt {
    color: var(--hr-meta);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Spotlight ------------------------------------------------------------ */

.hr-spotlight { padding: 3.5rem 0 4rem; }
.hr-spotlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: var(--hr-col-gap);
    align-items: center;
}
.hr-spotlight-title { font-size: var(--hr-h2); margin: 0 0 0.75rem; }
.hr-spotlight-desc { color: var(--hr-meta); margin: 0 0 1rem; }
.hr-spotlight-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.hr-spot-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--hr-radius);
    overflow: hidden;
    box-shadow: var(--hr-shadow-sm);
}
.hr-spot-img,
.hr-spot-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hr-spot-card:hover img { transform: scale(1.04); }
.hr-spot-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(25, 28, 29, 0.88) 0%,
        rgba(25, 28, 29, 0.3) 55%,
        rgba(25, 28, 29, 0) 100%);
}
.hr-spot-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem;
    z-index: 2;
}
.hr-spot-title { font-size: 1.25rem; margin: 0 0 0.4rem; }
.hr-spot-title a { color: #fff; text-decoration: none; }
.hr-spot-title a:hover { color: #D7EEEB; }
.hr-spot-body .hr-meta { color: rgba(255, 255, 255, 0.75); }

/* --- Newsletter band -------------------------------------------------------- */

.hr-newsletter {
    background: var(--hr-primary);
    padding: 4rem var(--hr-gutter);
}
.hr-newsletter-inner {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}
.hr-newsletter h2 { color: #fff; font-size: var(--hr-h2); margin: 0; }
.hr-newsletter p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.hr-newsletter .hr-newsletter-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
}
.hr-newsletter .newsletter-form {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 32rem;
    margin-top: 0.5rem;
    position: relative;
}
.hr-newsletter .newsletter-form input[type="email"] {
    flex: 1;
    min-height: 52px;
    border: none;
    border-radius: var(--hr-radius-sm);
    padding: 0 1.1rem;
    font-family: var(--hr-text);
    font-size: 1rem;
    background: #fff;
    color: var(--hr-ink);
}
.hr-newsletter .newsletter-form button {
    min-height: 52px;
    padding: 0 1.6rem;
    border: none;
    border-radius: var(--hr-radius-sm);
    background: var(--hr-ink);
    color: #fff;
    font-family: var(--hr-text);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}
.hr-newsletter .newsletter-form button:hover { background: #000; }
.hr-newsletter .newsletter-message.success { color: #D7EEEB; }
.hr-newsletter .newsletter-message.error { color: #FFDAD6; }

/* --- Footer (light, three columns) ----------------------------------------- */

.hr-footer {
    background: var(--hr-footer-bg);
    border-top: 1px solid var(--hr-footer-rule);
    padding: 4rem 0 2.5rem;
}
.hr-footer-inner {
    max-width: var(--hr-page-max);
    margin: 0 auto;
    padding: 0 var(--hr-gutter);
}
.hr-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.hr-footer h3 {
    font-size: var(--hr-size-meta);
    letter-spacing: var(--hr-track-meta);
    text-transform: uppercase;
    color: var(--hr-meta);
    margin: 0 0 1.1rem;
    font-family: var(--hr-text);
    font-weight: 700;
}
.hr-footer .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.hr-footer .footer-menu a {
    color: var(--hr-ink);
    text-decoration: none;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}
.hr-footer .footer-menu a:hover { color: var(--hr-primary); }

.hr-footer-news p { font-size: 0.9375rem; color: var(--hr-meta); margin: 0 0 1rem; }
.hr-footer-news .newsletter-form {
    display: flex;
    gap: 0.6rem;
    position: relative;
}
.hr-footer-news .newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    min-height: var(--hr-tap);
    border: 1px solid var(--hr-rule);
    border-radius: var(--hr-radius-sm);
    padding: 0 0.9rem;
    font-family: var(--hr-text);
    font-size: 0.9375rem;
    background: var(--hr-surface);
    color: var(--hr-ink);
}
.hr-footer-news .newsletter-form button {
    min-height: var(--hr-tap);
    padding: 0 1.1rem;
    border: none;
    border-radius: var(--hr-radius-sm);
    background: var(--hr-primary);
    color: #fff;
    font-family: var(--hr-text);
    font-weight: 600;
    cursor: pointer;
}
.hr-footer-news .newsletter-form button:hover { background: var(--hr-primary-dark); }

.hr-footer-bottom {
    border-top: 1px solid var(--hr-footer-rule);
    padding-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.hr-footer-bottom p { margin: 0; font-size: 0.875rem; color: var(--hr-meta); }
.hr-footer-brand a {
    font-family: var(--hr-display);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--hr-ink);
    text-decoration: none;
}
.hr-footer-brand a:hover { color: var(--hr-primary); }

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

.hr-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding: 2.5rem 0 3.5rem;
    align-items: start;
}

.hr-article { min-width: 0; }

.hr-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: var(--hr-size-meta);
    letter-spacing: var(--hr-track-meta);
    text-transform: uppercase;
    color: var(--hr-meta);
    margin-bottom: 1.1rem;
}
.hr-breadcrumb a { color: var(--hr-meta); text-decoration: none; }
.hr-breadcrumb a:hover { color: var(--hr-primary); }
.hr-breadcrumb .sep { color: var(--hr-rule); }

.hr-article-head { margin-bottom: 1.75rem; }
.hr-article-head .hr-chip { margin-bottom: 1rem; }

.hr-title {
    font-size: var(--hr-h1);
    margin: 0.75rem 0 1rem;
    letter-spacing: -0.01em;
}

.hr-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hr-rule);
}
.hr-article-meta .sep { color: var(--hr-rule); }

.hr-lead-photo {
    margin: 0 0 1.75rem;
    border-radius: var(--hr-radius-lg);
    overflow: hidden;
}
.hr-lead-photo img { width: 100%; height: auto; display: block; }
.hr-caption {
    font-size: 0.8125rem;
    color: var(--hr-meta);
    padding: 0.6rem 0.25rem 0;
}

/* Medical-information callout */
.hr-callout {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: var(--hr-band);
    border-left: 4px solid var(--hr-primary);
    border-radius: 0 var(--hr-radius-sm) var(--hr-radius-sm) 0;
    padding: 1rem 1.25rem;
    margin-bottom: 2.25rem;
}
.hr-callout svg { color: var(--hr-primary); flex-shrink: 0; margin-top: 0.2rem; }
.hr-callout p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--hr-meta);
    line-height: 1.6;
}

.hr-article .entry-content {
    font-size: var(--hr-size-body);
    line-height: var(--hr-lh-body);
}
.hr-article .entry-content > * { max-width: 100%; }
.hr-article .entry-content h2 { font-size: var(--hr-h2); margin: 2.25rem 0 1rem; }
.hr-article .entry-content h3 { font-size: var(--hr-h3); margin: 1.75rem 0 0.8rem; }
.hr-article .entry-content img { border-radius: var(--hr-radius); }
.hr-article .entry-content blockquote {
    border-left: 4px solid var(--hr-primary);
    background: var(--hr-band);
    border-radius: 0 var(--hr-radius-sm) var(--hr-radius-sm) 0;
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    font-family: var(--hr-display);
    font-size: 1.1875rem;
    font-style: normal;
    color: var(--hr-ink);
}

.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
.table-scroll table { min-width: 560px; }

.hr-page-links { margin: 1.75rem 0; display: flex; gap: 0.5rem; align-items: center; }
.hr-page-links span { padding: 0.25rem 0.6rem; }

.hr-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.25rem 0 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--hr-rule);
    border-bottom: 1px solid var(--hr-rule);
}
.hr-share a {
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    min-height: var(--hr-tap);
    display: inline-flex;
    align-items: center;
}

.hr-related { margin-top: 3rem; }

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

.hr-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    min-width: 0;
}

.hr-widget {
    background: var(--hr-container);
    border-radius: var(--hr-radius-lg);
    padding: 1.6rem;
}
.hr-widget-title {
    font-size: 1.125rem;
    margin: 0 0 1.1rem;
}

.hr-widget .search-form { display: flex; gap: 0.6rem; }
.hr-widget .search-field {
    flex: 1;
    min-width: 0;
    min-height: var(--hr-tap);
    border: 1px solid var(--hr-rule);
    border-radius: var(--hr-radius-sm);
    padding: 0 0.9rem;
    font-family: var(--hr-text);
    font-size: 0.9375rem;
    background: #fff;
}
.hr-widget .search-submit {
    min-height: var(--hr-tap);
    padding: 0 1rem;
    border: none;
    border-radius: var(--hr-radius-sm);
    background: var(--hr-primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.hr-widget .search-submit:hover { background: var(--hr-primary-dark); }

.hr-cat-list { list-style: none; margin: 0; padding: 0; }
.hr-cat-list li + li { border-top: 1px solid var(--hr-rule); }
.hr-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--hr-tap);
    color: var(--hr-ink);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
}
.hr-cat-list a:hover { color: var(--hr-primary); }
.hr-cat-count {
    font-size: 0.8125rem;
    color: var(--hr-meta);
    background: #fff;
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
}

.hr-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.hr-recent li { display: flex; gap: 0.9rem; align-items: flex-start; }
.hr-recent-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--hr-radius-sm);
    overflow: hidden;
    display: block;
}
.hr-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hr-recent-title {
    color: var(--hr-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.25rem;
}
.hr-recent-title:hover { color: var(--hr-primary); }

/* Newsletter card — the teal feature card at the end of the rail */
.hr-widget-news {
    background: var(--hr-primary);
    text-align: center;
}
.hr-widget-news .hr-widget-title { color: #fff; }
.hr-widget-news p { color: rgba(255, 255, 255, 0.85); font-size: 0.9375rem; margin: 0 0 1rem; }
.hr-widget-news .hr-newsletter-note { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); margin: 0.75rem 0 0; }
.hr-widget-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; position: relative; }
.hr-widget-news .newsletter-form input[type="email"] {
    min-height: var(--hr-tap);
    border: none;
    border-radius: var(--hr-radius-sm);
    padding: 0 0.9rem;
    font-family: var(--hr-text);
    font-size: 0.9375rem;
    background: #fff;
    color: var(--hr-ink);
}
.hr-widget-news .newsletter-form button {
    min-height: var(--hr-tap);
    border: none;
    border-radius: var(--hr-radius-sm);
    background: var(--hr-ink);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.hr-widget-news .newsletter-form button:hover { background: #000; }
.hr-widget-news .newsletter-message.success { color: #D7EEEB; }
.hr-widget-news .newsletter-message.error { color: #FFDAD6; }

/* The rail runs shorter than the article; the last module stays in view. */
.hr-sidebar-sticky { position: sticky; top: 96px; }

/* Ad slots */
.hr-ad { text-align: center; }
.hr-ad-placeholder {
    border: 2px dashed var(--hr-rule);
    border-radius: var(--hr-radius);
    padding: 2rem 1rem;
    color: var(--hr-meta);
    font-size: 0.875rem;
}

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

.hr-archive-head {
    padding: 2.5rem 0 2rem;
    max-width: 48rem;
}
.hr-archive-title {
    font-size: var(--hr-h1);
    margin: 0.5rem 0 0.9rem;
    letter-spacing: -0.01em;
}
.hr-archive-description {
    color: var(--hr-meta);
    font-size: 1.0625rem;
    line-height: 1.7;
}
.hr-archive-description p { margin: 0; }

.hr-archive-grid { padding-bottom: 1rem; }

/* Pager */
.hr-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.75rem 0 3.5rem;
}
.hr-pager .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}
.hr-pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--hr-tap);
    min-height: var(--hr-tap);
    padding: 0 0.9rem;
    border: 1px solid var(--hr-rule);
    border-radius: var(--hr-radius-sm);
    background: #fff;
    color: var(--hr-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
}
.hr-pager a.page-numbers:hover {
    border-color: var(--hr-primary);
    color: var(--hr-primary);
}
.hr-pager .page-numbers.current {
    background: var(--hr-primary);
    border-color: var(--hr-primary);
    color: #fff;
}
.hr-pager .page-numbers.dots { border: none; background: none; }
.hr-pager-count { color: var(--hr-meta); }

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

.hr-page {
    max-width: 46rem;
    margin: 0 auto;
    padding: 2.5rem 0 3.5rem;
}
.hr-page-title { font-size: var(--hr-h1); margin: 0 0 1.75rem; }

.hr-empty {
    max-width: 38rem;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0 3rem;
}
.hr-empty h1 { font-size: var(--hr-h1); margin: 0.5rem 0 1rem; }
.hr-empty p { color: var(--hr-meta); margin-bottom: 1.5rem; }
.hr-empty .search-form {
    display: flex;
    gap: 0.6rem;
    max-width: 26rem;
    margin: 0 auto;
}
.hr-empty .search-field {
    flex: 1;
    min-width: 0;
    min-height: var(--hr-tap);
    border: 1px solid var(--hr-rule);
    border-radius: var(--hr-radius-sm);
    padding: 0 0.9rem;
    background: #fff;
}
.hr-empty .search-submit {
    min-height: var(--hr-tap);
    padding: 0 1.1rem;
    border: none;
    border-radius: var(--hr-radius-sm);
    background: var(--hr-primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.comments-area { margin-top: 3rem; }
.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 .submit {
    background: var(--hr-primary);
    border: none;
    border-radius: var(--hr-radius-sm);
    color: #fff;
    font-weight: 600;
    min-height: var(--hr-tap);
    padding: 0 1.5rem;
    cursor: pointer;
}
.comments-area .submit:hover { background: var(--hr-primary-dark); }

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

@media (max-width: 1024px) {
    .hr-masthead-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 60px;
    }
    .hr-wordmark { font-size: clamp(1.125rem, 5.2vw, 1.4rem); }

    /* main.css turns .main-navigation into a fixed drawer at this width. It
       relied on `.header-main .main-navigation{display:block!important}` for
       the display switch, and this masthead has no .header-main — so supply
       it here. Everything else (position:fixed, padding-top) comes from
       main.css's own !important rules and still applies. */
    .hr-masthead .main-navigation {
        display: block;
        justify-self: auto;
    }
    .hr-masthead .primary-menu,
    .hr-masthead .main-navigation ul {
        display: block;
        text-align: left;
    }
    .hr-masthead .main-navigation li { border-bottom: 1px solid var(--hr-rule); }
    .hr-masthead .main-navigation a {
        min-height: var(--hr-nav-tap);
        padding: 0 1.5rem;
        font-size: 1rem;
    }
    .hr-masthead .main-navigation a::after { display: none; }

    .hr-masthead .header-actions { margin-left: auto; grid-column: 2; }

    /* When the drawer opens, the toggle becomes its close button — it moves
       to the drawer's top-right corner. main.css reserves the space with
       padding-top on the open drawer. */
    .hr-masthead .mobile-menu-toggle.active {
        position: fixed;
        top: 0.75rem;
        right: 0.75rem;
        z-index: 1002;
    }

    .hr-lead-grid { grid-template-columns: minmax(0, 1fr); }
    .hr-hero { min-height: 360px; }
    .hr-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }

    .hr-single { grid-template-columns: minmax(0, 1fr); }
    .hr-sidebar-sticky { position: static; }

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

@media (max-width: 640px) {
    .hr-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .hr-hero { min-height: 320px; }
    .hr-hero-body { padding: 1.25rem; }
    .hr-spotlight-cards { grid-template-columns: minmax(0, 1fr); }
    .hr-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .hr-footer-bottom { flex-direction: column; align-items: flex-start; }
    .hr-newsletter .newsletter-form { flex-direction: column; }
    .hr-section-head { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .hr-lead-section { padding-top: 1.5rem; }
    .hr-band { padding: 2.5rem 0 3rem; }
}
