/*
Theme Name: Herald Theme
Theme URI: https://example.com
Description: A responsive news theme for multisite WordPress with ACF options
Version: 1.0
Author: Your Name
Author URI: https://example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: herald-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --red-primary: #DC2626;
    --red-hover: color-mix(in srgb, var(--red-primary) 80%, black);
}

h1.section-header {
    font-size: 1.75rem;
}

/* ── Newsletter WPForms block styling ── */
.bg-dark .wpforms-container,
.bg-dark .wpforms-form {
    width: 100%;
}

/* Hide the honeypot label text that renders visibly */
.bg-dark .wpforms-field-label {
    display: none !important;
}

/* Email input — full width, white background */
.bg-dark .wpforms-field-container .wpforms-field-email input,
.bg-dark .wpforms-field-container .wpforms-field input[type="email"] {
    width: 100% !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px !important;
    font-size: 1rem !important;
    background: #fff !important;
    color: #111 !important;
    box-sizing: border-box !important;
}

/* Submit button — full width, red, uppercase */
.bg-dark .wpforms-submit-container {
    margin-top: 0.5rem;
}
.bg-dark .wpforms-submit-container .wpforms-submit {
    width: 100% !important;
    background-color: var(--red-primary) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 14px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}
.bg-dark .wpforms-submit-container .wpforms-submit:hover {
    background-color: var(--red-hover) !important;
}



html {
    overflow-x: hidden;
}
body {
    font-family: 'Inter', sans-serif !important;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Tag pills — btn-light matches the f8f9fa body bg, force white so they are visible */
.btn.btn-light.rounded-pill {
    background-color: #fff !important;
    border-color: #dee2e6 !important;
    color: #1a1a1a !important;
}
.btn.btn-light.rounded-pill:hover,
.btn.btn-light.rounded-pill:focus {
    background-color: #f0f0f0 !important;
    border-color: #bbb !important;
    color: #1a1a1a !important;
}
@media (max-width: 767px) {
    body > .container,
    body > header .container,
    body > footer .container,
    .container {
        padding-left: 5%;
        padding-right: 5%;
        max-width: 100%;
    }
}
a,
a:hover,
a:visited {
    color: var(--red-primary);
}
@media (min-width: 1200px) {
    .h3, h3 {
        font-size: 1.25rem;
    }
}
.btn {
      transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover {
    transform: translateY(-1px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
  filter: brightness(1.02);
}
.serif-font {
    font-family: "adobe-caslon-pro", Georgia, serif !important;
    font-weight: 400;
    font-style: normal;
}

.article-content {
    font-family: "adobe-caslon-pro", Georgia, serif;
    font-size: 20px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0;
}

.article-body {
    font-family: "adobe-caslon-pro", Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #1a1a1a;
}
.single-post .article-body p {
    margin: 1.5rem 0;
}

/* article-content — all elements full body column width */
.article-content > .naviga-inline-image,
.article-content > .naviga-image,
.article-content > .naviga-slider,
.article-content > .wp-block-image,
.article-content > figure {
    max-width: 100%;
}

/* Legacy selector */
.article-body .naviga-inline-image,
.article-body .naviga-slider,
.article-body .naviga-image,
.article-body .wp-block-image {
    max-width: 100%;
}

.article-body:first-of-type p:first-of-type:first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 0.9;
    margin-right: 0.5rem;
    margin-top: 0.15rem;
    color: var(--red-primary);
}

.section-header {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: none;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.red-rule {
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--red-primary);
}

.red-rule-full {
    position: relative;
    padding-bottom: 0.5rem;
}

.red-rule-full::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--red-primary);
}

.hover-scale {
    transition: transform 0.2s;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Scale only the image inside the link, not the whole card */
.hover-scale-img img {
    transition: transform 0.2s;
}
.hover-scale-img:hover img {
    transform: scale(1.03);
}

.logo-img {
    height: 60px;
    width: auto;
}

/* Header buttons */
.btn-subscribe {
    background-color: var(--red-primary);
    color: #fff;
    border: 2px solid var(--red-primary);
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.btn-subscribe:visited,
.btn-subscribe:hover,
.btn-subscribe:active {
    background-color: var(--red-hover);
    border-color: var(--red-hover);
    color: #fff;
}
.btn-subscribe:visited {
    background-color: var(--red-primary);
    border-color: var(--red-primary);
}

.btn-login {
    background-color: #000;
    color: #fff;
    border: 2px solid var(--red-primary);
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.btn-login:hover {
    background-color: #1a1a1a;
    color: #fff;
    border-color: var(--red-primary);
}

/* Tablet responsive fixes — prevent header crunch at md breakpoint */
@media (min-width: 768px) and (max-width: 991px) {
    .logo-img {
        height: 44px;
    }
    /* Shrink social icons slightly */
    header .d-none.d-md-flex .fab,
    header .d-none.d-md-flex .fas {
        font-size: 0.95rem !important;
    }
    /* Tighten social gap */
    header .d-none.d-md-flex.gap-3 {
        gap: 0.6rem !important;
    }
    /* Nav links smaller */
    header nav .nav-item a {
        font-size: 0.75rem;
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }
    header nav .nav.gap-3 {
        gap: 0.25rem !important;
    }
    header nav .nav.gap-lg-4 {
        gap: 0.25rem !important;
    }
}

@media (max-width: 767px) {
    .logo-img {
        height: 40px;
    }
}



.columnist-photo {
    filter: grayscale(100%);
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
}

.bg-red-600 {
    background-color: var(--red-primary) !important;
}

.bg-red-700:hover {
    background-color: var(--red-hover) !important;
}

.text-red-600,
a.text-red-600,
a.text-red-600:hover,
a.text-red-600:visited,
span.text-red-600 {
    color: var(--red-primary) !important;
}

.text-red-500 {
    color: var(--red-primary) !important;
}

.hover-text-red:hover {
    color: var(--red-primary) !important;
}

header,
footer {
    background-color: #000 !important;
}

.page-template-weather-page .footer-main {
    margin-top: 0px !important;
}

/* ── Pre-Footer CTA Strip (Block 38) ── */
.prefooter-cta {
    background: #111;
    color: #fff;
    padding: 3.5rem 0;
}
.prefooter-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.prefooter-cta__text {
    flex: 1 1 auto;
    min-width: 0;
}
.prefooter-cta__headline {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.15;
}
.prefooter-cta__subtext {
    color: #aaa;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}
.prefooter-cta__action {
    flex: 0 0 auto;
}

/* Buttons mode */
.prefooter-cta__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.prefooter-cta__btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}
.prefooter-cta__btn--primary {
    background: var(--red-primary);
    color: #fff;
}
.prefooter-cta__btn--primary:hover {
    background: var(--red-hover);
    color: #fff;
}
.prefooter-cta__btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.prefooter-cta__btn--outline:hover {
    background: #fff;
    color: #111;
}

/* Form mode — inline email + submit */
.prefooter-cta__form {
    min-width: 340px;
    max-width: 420px;
}
/* WPForms overrides inside the CTA strip */
.prefooter-cta__form .wpforms-container,
.prefooter-cta__form .wpforms-form {
    margin: 0 !important;
}
.prefooter-cta__form .wpforms-field-label {
    display: none !important;
}
.prefooter-cta__form .wpforms-form .wpforms-field,
.prefooter-cta__form .wpforms-submit-container {
    margin: 0 !important;
    padding: 0 !important;
}
.prefooter-cta__form .wpforms-form {
    display: flex !important;
    gap: 0 !important;
    align-items: stretch !important;
}
.prefooter-cta__form .wpforms-field input[type="email"] {
    height: 48px;
    border: none;
    border-radius: 0;
    padding: 0 1rem;
    font-size: 0.9rem;
    background: #fff;
    color: #111;
    width: 100%;
    outline: none;
}
.prefooter-cta__form .wpforms-field input[type="email"]::placeholder {
    color: #999;
}
.prefooter-cta__form .wpforms-submit-container {
    flex-shrink: 0;
}
.prefooter-cta__form .wpforms-submit {
    height: 48px;
    padding: 0 1.5rem;
    background: var(--red-primary);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}
.prefooter-cta__form .wpforms-submit:hover {
    background: var(--red-hover);
}

/* Mobile: stack text above action */
@media (max-width: 767px) {
    .prefooter-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .prefooter-cta__action {
        width: 100%;
    }
    .prefooter-cta__form {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
    .prefooter-cta__buttons {
        width: 100%;
    }
    .prefooter-cta__btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* ── Footer ── */
.footer-logo {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: inline-block;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0;
}

.footer-nav-list li {
    margin-bottom: 0.5rem;
    list-style: none;
}

.footer-nav-list a {
    color: #9ca3af !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav-list a:hover {
    color: #fff !important;
}

.footer-newsletter-desc {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-subscribe-btn {
    display: inline-block;
    background-color: var(--red-primary);
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.footer-subscribe-btn:hover {
    background-color: var(--red-hover);
    color: #fff !important;
}

.footer-bottom {
    color: #6b7280;
    font-size: 0.85rem;
}

.footer-bottom a:hover {
    color: #fff !important;
}

/* Footer subscribe button — full width on its column */
.footer-subscribe-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--red-primary);
    color: #fff !important;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background-color 0.2s;
}

.footer-subscribe-btn:hover {
    background-color: var(--red-hover);
    color: #fff !important;
}

/* WPForms inside footer newsletter block */
.footer-newsletter-block .wpforms-container,
.footer-newsletter-block .wpforms-form {
    width: 100%;
}

.footer-newsletter-block .wpforms-field-label {
    display: none !important;
}

.footer-newsletter-block .wpforms-field input[type="email"] {
    width: 100% !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px !important;
    font-size: 0.9rem !important;
    background: #1f2937 !important;
    color: #fff !important;
    box-sizing: border-box !important;
}

.footer-newsletter-block .wpforms-field input[type="email"]::placeholder {
    color: #6b7280 !important;
}

.footer-newsletter-block .wpforms-submit-container {
    margin-top: 0.5rem;
}

.footer-newsletter-block .wpforms-submit {
    width: 100% !important;
    background-color: var(--red-primary) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 12px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

.footer-newsletter-block .wpforms-submit:hover {
    background-color: var(--red-hover) !important;
}

.bg-black {
    background-color: #000 !important;
}

.nav-link-custom,
.nav-link-custom:visited,
nav a.nav-link-custom,
nav a.nav-link-custom:visited,
nav span.nav-link-custom {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.2s;
}

/* Parent items with no URL render as <span> — pointer so dropdown still feels interactive */
nav span.nav-link-custom {
    cursor: pointer;
    user-select: none;
}

.nav-link-custom:hover,
.nav-link-custom:focus,
nav a.nav-link-custom:hover,
nav a.nav-link-custom:focus,
nav span.nav-link-custom:hover,
nav span.nav-link-custom:focus {
    color: var(--red-primary) !important;
}

.dropdown-menu-dark {
    background-color: #000;
    border: 1px solid #4B5563;
}

.dropdown-item-dark {
    color: #fff;
    padding: 0.5rem 1rem;
}

.dropdown-item-dark:hover {
    background-color: #1F2937;
    color: #fff;
}

.mobile-menu-collapse {
    background-color: #000;
}

/* Mobile menu links — white, no underline, override global red */
.mobile-menu-collapse a,
.mobile-menu-collapse a:hover,
.mobile-menu-collapse a:visited,
.mobile-menu-collapse .nav-link-custom,
.mobile-menu-collapse .nav-link-custom:hover {
    color: #fff !important;
    text-decoration: none !important;
}
.mobile-menu-collapse .nav-link-custom:hover {
    opacity: 0.8;
}
/* Dropdown child links inside mobile menu */
.mobile-menu-collapse .dropdown-item,
.mobile-menu-collapse .dropdown-item:hover,
.mobile-menu-collapse .dropdown-item:visited {
    color: #fff !important;
    text-decoration: none !important;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0.8), transparent);
    padding: 2rem;
}
/* ── Featured hero: text left, image right ───────────────────────── */
.hero-featured {
    display: grid !important;
    grid-template-columns: 1fr 57%;
    overflow: hidden;
    color: inherit;
    align-items: stretch;
}
.hero-featured__text a.hero-featured__headline-link,
.hero-featured__text a.hero-featured__headline-link:visited,
.hero-featured__text a.hero-featured__headline-link:link {
    color: #000;
    transition: color .2s;
}
.hero-featured__text a.hero-featured__headline-link:hover {
    color: var(--red-primary);
}
.hero-featured__img {
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.hero-featured__img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform .4s ease;
}
.hero-featured:hover .hero-featured__img img {
    transform: scale(1.03);
}
.hero-featured__text {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.hero-featured__headline {
    font-size: clamp(1.4rem, 2vw, 2.1rem);
    color: #1a1a1a;
    transition: color .2s;
    line-height: 1.15 !important;
}

/* Article page h1 tighter line-height */
.article-main-col h1.serif-font {
    line-height: 1.1 !important;
}
.hero-featured__deck {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}
.hero-featured__byline {
    font-size: .9rem;
    color: #333;
}
.hero-featured__byline a,
.hero-featured__byline .byline-name {
    color: var(--red-primary);
    font-weight: 600;
}
@media (max-width: 767px) {
    .hero-featured {
        display: flex !important; /* Override the base display:grid !important */
        flex-direction: column;
    }
    .hero-featured__img {
        height: auto;
        order: -1 !important; /* Image on top on mobile */
        width: 100%;
    }
    .hero-featured__text {
        padding: 1.25rem;
        order: 1 !important; /* Text below image on mobile */
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Article Card Titles — responsive sizing for readability
   ═══════════════════════════════════════════════════════════════════════════ */
.article-card-title {
    font-size: 1rem; /* 16px desktop */
}
.ap-card-title {
    font-size: 0.875rem; /* 14px desktop */
}
.hero-featured__headline {
    font-size: 1.75rem; /* desktop hero headline */
}

/* Card title base sizes — override Bootstrap h3 default (1.75rem) */
h3.article-card-title { font-size: 1rem; }
h3.ap-card-title      { font-size: 0.875rem; }

/* Legacy hero-media (kept for other templates) */
.hero-media {
    overflow: hidden;
    width: 100%;
    height: 500px;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
@media (max-width: 767px) {
    .hero-media {
        height: auto;
    }
    .hero-media img {
        height: auto;
        object-fit: unset;
    }
    /* Single article — first inline image should show full natural height on mobile */
    .article-content .naviga-inline-image img,
    .article-body .naviga-inline-image img {
        height: auto !important;
        object-fit: unset !important;
        max-height: none !important;
    }
}

.hero-bar{
    background: #fff;
    padding: 1.5rem 2rem;
}

/* Optional: a subtle fade that sits BELOW the image (on the bar only) */
.hero-bar{
    position: relative;
}
.hero-bar::before{
    display: none;
}

.hero-title-link:hover,
.hero-title-link:focus {
    color: var(--red-primary) !important;
}
.single-post .article-body p { font-size: 1.25rem; margin-bottom: 0.9rem; line-height: 1.5; }
.article-body figure { margin: 1.25rem 0; }
.article-body figure img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.article-body figure figcaption,
.article-body figure .caption,
.article-body figure figcaption .caption { font-size: 0.875rem; color: #6c757d; margin-top: 0.4rem; font-style: italic; display: block; }
.article-body figure figcaption .credit { font-size: 0.8rem; color: #999; margin-top: 0.2rem; display: block; }

/* Featured image — centered block with constrained caption */
.naviga-inline-image {
    display: block;
    margin: 0 auto 1.25rem;
    max-width: 900px;
    width: 100%;
    text-align: center;
}
.naviga-inline-image .naviga-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* On mobile: crop image to landscape, caption sits below in normal flow */
@media (max-width: 767px) {
    .naviga-inline-image {
        overflow: visible;
        position: static;
        width: 100%;
        height: auto;
        padding-bottom: 0;
        margin-bottom: 0.5rem;
    }
    .naviga-inline-image .naviga-image {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        object-fit: unset;
    }
    .naviga-inline-image figcaption {
        position: static;
        background: none;
        color: #6c757d;
        font-size: 0.8rem;
        font-style: italic;
        padding: 0.35rem 0 0;
        text-align: left;
        margin: 0;
    }
    .naviga-inline-image figcaption .photo-credit {
        color: #999;
        font-size: 0.75rem;
        margin-top: 0.1rem;
    }
}
.naviga-inline-image figcaption {
    display: block;
    max-width: 800px;
    margin: 0.4rem auto 0;
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
    text-align: left;
    line-height: 1.45;
}
.naviga-inline-image figcaption .caption { display: block; }
.naviga-inline-image figcaption .photo-credit {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.2rem;
}
/* ── Naviga inline image alignment ─────────────────────����────────────────────
   Override the centered-block defaults when an explicit alignment class is
   present. The figure floats, text wraps around it, and a clearfix is added
   after the last floated element to prevent container collapse.
   ───────────────────────────────────────────────────────────────────────── */

/* Remove grey box from all wp-block-image inline figures */
figure.wp-block-image.naviga-inline-image {
    max-width: 100% !important;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

/* Default: no explicit alignment — full-width, centered block (matches live Naviga renderer) */
figure.naviga-inline-image {
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0;
    display: block;
}

figure.naviga-inline-image .naviga-image {
    width: 100%;
    height: auto;
    display: block;
}

figure.naviga-inline-image figcaption {
    font-size: 0.8rem;
    font-style: italic;
    color: #555;
    line-height: 1.4;
    margin-top: 0.4rem;
}

figure.naviga-inline-image figcaption .credit {
    display: inline;
    font-size: 0.72rem;
    color: #888;
    margin-left: 0.25rem;
}

/* Left float — 45% wide so left+right pair fills the column side by side */
figure.naviga-inline-image.naviga-align-left,
figure.naviga-inline-image.alignleft {
    float: left;
    clear: none;
    width: 45%;
    max-width: 45%;
    margin-top: 10px !important;
    margin-right: 2% !important;
    margin-bottom: 10px !important;
    margin-left: 0 !important;
    text-align: left;
    box-sizing: border-box;
}

/* Right float — 45% wide, sits beside the left float */
figure.naviga-inline-image.naviga-align-right,
figure.naviga-inline-image.alignright {
    float: right;
    clear: none;
    width: 45%;
    max-width: 45%;
    margin-top: 10px !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    margin-left: 2% !important;
    text-align: left;
    box-sizing: border-box;
}


/* Center — 75% width centered, matching live Naviga "center large" treatment */
figure.naviga-inline-image.naviga-align-center,
figure.naviga-inline-image.aligncenter {
    float: none;
    clear: both;
    width: 75%;
    max-width: 75%;
    margin: 1.25rem auto;
    text-align: left;
    box-sizing: border-box;
}

/* No explicit alignment — full-width block */
figure.naviga-inline-image.alignnone {
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0;
    text-align: left;
}

/* Image fills the figure width */
figure.naviga-inline-image.naviga-align-left  .naviga-image,
figure.naviga-inline-image.naviga-align-right .naviga-image,
figure.naviga-inline-image.alignleft          .naviga-image,
figure.naviga-inline-image.alignright         .naviga-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Caption: dark, left-aligned beneath the floated image */
figure.naviga-inline-image.naviga-align-left  figcaption,
figure.naviga-inline-image.naviga-align-right figcaption,
figure.naviga-inline-image.alignleft          figcaption,
figure.naviga-inline-image.alignright         figcaption {
    font-size: 0.8rem;
    font-style: normal;
    color: #333;
    line-height: 1.4;
    margin-top: 0.5rem;
    text-align: left;
    max-width: 100%;
}

/* Credit: smaller, muted, sits below caption */
figure.naviga-inline-image.naviga-align-left  figcaption .credit,
figure.naviga-inline-image.naviga-align-right figcaption .credit,
figure.naviga-inline-image.alignleft          figcaption .credit,
figure.naviga-inline-image.alignright         figcaption .credit {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    font-style: normal;
    color: #888;
    margin-top: 0.2rem;
}

/* Clearfix after article content so floats don't bleed past article */
.article-content::after,
.article-body::after {
    content: '';
    display: table;
    clear: both;
}

/* Mobile: collapse all alignment variants to full-width stacked images */
@media (max-width: 767px) {
    figure.naviga-inline-image.naviga-align-left,
    figure.naviga-inline-image.naviga-align-right,
    figure.naviga-inline-image.naviga-align-center,
    figure.naviga-inline-image.alignleft,
    figure.naviga-inline-image.alignright,
    figure.naviga-inline-image.aligncenter {
        float: none;
        clear: both;
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
    }
}

figcaption {
    max-width: 100% !important;
}

.article-body img { max-width: 100%; height: auto; }
.article-body strong { font-weight: 700; }
.article-body .naviga-section-header { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #6c757d; margin: 1.75rem 0 0.2rem; padding-bottom: 0.35rem; border-bottom: 2px solid #dee2e6; }
/* Scoreboard / Factbox — collapsed: float left, clipped height */
.naviga-factbox,
.naviga-scoreboard {
    position: relative;
    box-sizing: border-box;
    width: 42%;
    max-width: 42%;
    float: left;
    clear: left;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1rem 1.25rem 2.5rem; /* bottom padding reserves space for the button */
    font-size: 0.95rem;
    overflow: hidden;
    max-height: 9em; /* collapsed clip height */
    transition: max-height 0.4s ease;
    margin: 10px 20px 10px 0 !important;
}

/* Gradient fade at the bottom when collapsed */
.naviga-scoreboard::after,
.naviga-factbox::after {
    content: '';
    position: absolute;
    bottom: 2rem; /* sits above the expand button */
    left: 0;
    right: 0;
    height: 2.5em;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    transition: opacity 0.25s;
}

/* Expanded state — full body width */
.naviga-scoreboard.naviga-scoreboard--open,
.naviga-factbox.naviga-scoreboard--open {
    width: 100%;
    max-width: 100%;
    float: none;
    clear: both;
    margin: 1rem 0 !important;
    max-height: 9999px;
    padding-bottom: 3.5rem;
}

/* Short factboxes (< 60 words) — full width, always open */
.naviga-scoreboard.naviga-scoreboard--short,
.naviga-factbox.naviga-scoreboard--short {
    width: 100%;
    max-width: 100%;
    float: none;
    clear: both;
    margin: 1rem 0 !important;
    padding-bottom: 1rem;
    max-height: 9999px;
    cursor: default;
}

/* Mobile — full width, no float, no side margin */
@media (max-width: 767px) {
    .naviga-factbox,
    .naviga-scoreboard {
        width: 100% !important;
        max-width: 100% !important;
        float: none;
        clear: both;
        margin: 1rem 0 1.25rem 0 !important;
    }
}

/* Hide the fade gradient when expanded or short */
.naviga-scoreboard.naviga-scoreboard--open::after,
.naviga-factbox.naviga-scoreboard--open::after,
.naviga-scoreboard.naviga-scoreboard--short::after,
.naviga-factbox.naviga-scoreboard--short::after {
    opacity: 0;
    pointer-events: none;
}

/* Factbox/scoreboard content — sans-serif, smaller, no drop cap */
.naviga-factbox,
.naviga-scoreboard {
    font-family: var(--font-sans, sans-serif);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* Override the global .article-body drop-cap rule which catches factbox first paragraphs */
.article-body .naviga-factbox p:first-of-type::first-letter,
.article-body .naviga-scoreboard p:first-of-type::first-letter,
.article-content .naviga-factbox p:first-of-type::first-letter,
.article-content .naviga-scoreboard p:first-of-type::first-letter,
.naviga-factbox p::first-letter,
.naviga-scoreboard p::first-letter {
    font-size: inherit !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    float: none !important;
    line-height: inherit !important;
    margin: 0 !important;
}

.article-body .naviga-scoreboard p,
.article-content .naviga-scoreboard p,
.article-body .naviga-factbox p,
.article-content .naviga-factbox p {
    max-width: 100% !important;
    margin: 0 0 0.5rem !important;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 0.875rem;
    font-family: var(--font-sans, sans-serif);
}
.article-body .naviga-scoreboard a,
.article-body .naviga-factbox a {
    overflow-wrap: break-word;
    word-break: break-word;
}
/* Expand / Close buttons — absolutely pinned to the bottom of the box */
.factbox-expand-btn,
.factbox-close-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    width: 100%;
    padding: 0.35rem 0;
    background: #fff;
    border: none;
    border-top: 1px solid #ddd;
    font-family: var(--font-sans, sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red-primary);
    text-align: center;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}
.factbox-expand-btn:hover,
.factbox-close-btn:hover {
    color: var(--red-hover);
    background: #fafafa;
}

/* Show Expand only when collapsed, Close only when open */
.naviga-scoreboard:not(.naviga-scoreboard--open) .factbox-close-btn,
.naviga-factbox:not(.naviga-scoreboard--open) .factbox-close-btn {
    display: none;
}
.naviga-scoreboard.naviga-scoreboard--open .factbox-expand-btn,
.naviga-factbox.naviga-scoreboard--open .factbox-expand-btn {
    display: none;
}

/* Hide any ad that somehow ends up inside a factbox/scoreboard */
.naviga-scoreboard .herald-ad,
.naviga-factbox .herald-ad {
    display: none !important;
}
.article-body object { display: none; } /* fallback: hide unconverted Naviga objects */
.naviga-social-embed,
.naviga-map { width: 100%; margin: 1.5rem 0; }
.naviga-social-embed iframe,
.naviga-map iframe { width: 100% !important; height: 400px; border: 0; display: block; }
.naviga-subheadline1 { font-weight: bold; }

/* Video embeds — centred, responsive 16:9 iframe */
.wp-block-embed.is-type-video,
/* ── Gallery cards ────────────────────────���────────────────────────────────── */
/* Cards use herald_article_card() so they automatically match the site style.
   Only the "N images" badge needs custom CSS. */

/* Wrapper that allows the badge to sit over the card image */
.gallery-badge-wrap {
    height: 100%;
}

/* "N images" badge — top-left corner of the card image,
   matching Naviga's gallery browser style */
.gallery-card__count {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 2px;
    letter-spacing: 0.02em;
    pointer-events: none;
    z-index: 2;
}

.naviga-video-embed {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.naviga-video-selfhosted video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    background: #000;
}
.naviga-video-selfhosted figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}
.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

span.credit,
figcaption .credit,
figure.wp-block-image figcaption .credit {
    display: none !important;
}
figure.wp-block-image figcaption .credit::before {
    display: none !important;
    content: none !important;
}

/* Share button */
.share-button-container { display: flex; }
button#shareArticleButton { margin: 0 auto; }
.share-button-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    background-color: #f0f0f0;
    color: #333333;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.share-button-link:hover  { background-color: #e2e2e2; }
.share-button-link:active { background-color: #d4d4d4; }

/* Naviga CMS article body paragraph class (double-underscore variant) */
.article-body p.article__body,
.article-body .article__body {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: inherit;
}

/* Naviga article deck/summary */
.article-body .article-summary,
.article-summary {
    font-size: 1.15rem;
    font-weight: 500;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Naviga inline image-container (old markup style) */
.article-body .image-container {
    margin: 1.5rem 0;
    cursor: pointer;
}
.article-body .image-container .image {
    width: 100%;
    overflow: hidden;
}
.article-body .image-container img.image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}
.article-body .image-container .bottom-container {
    padding: 0.4rem 0 0;
}
.article-body .image-container .caption {
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
    line-height: 1.4;
    display: block;
}
.article-body .image-container .byline {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.15rem;
    display: block;
}
/* Hide the expand icon and modal trigger affordance */
.article-body .image-container .expand { display: none; }

/* Share button */
.article-body .share-button-container {
    margin: 1.5rem 0;
}
.article-body .share-button-link {
    display: inline-block;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid #900;
    color: #900;
    background: transparent;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s, color 0.15s;
}
.article-body .share-button-link:hover {
    background: #900;
    color: #fff;
}
@media (max-width: 767px) {
    .hero-overlay {
        padding: 1.5rem;
    }
}

/* ── WordPress block editor overrides ────────────────────────────────────────
   Strip dark/coloured backgrounds that editors accidentally apply via Cover or
   Group blocks — keeps page templates clean and on-brand.                   */
.entry-content .wp-block-cover,
.entry-content .wp-block-group.has-background,
.entry-content [class*="has-"][class*="-background-color"] {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    min-height: 0 !important;
}
.entry-content .wp-block-cover__inner-container,
.entry-content .wp-block-group__inner-container {
    color: inherit !important;
}
/* Section headings inside page content should match site style */
.entry-content h1:first-child {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111;
}

/* ── Homepage column cards ──────────────────�����������─────────────────────────────── */
.column-card {
    padding: 1rem 0;
}
.column-card__photo {
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.card-img-fixed {
    display: block;
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    object-position: center top;
}

/* ── Shared share button base ─────────────────────────────────────────────── */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    border-radius: 3px;
    transition: opacity 0.15s, transform 0.15s;
    color: #fff !important;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.share-btn--facebook  { background: #1877f2; }
.share-btn--twitter   { background: #000; }
.share-btn--email     { background: var(--red-primary, #c00); }
.share-btn--copylink {
    background: #555;
    border: none;
    cursor: pointer;
}
.share-btn--copylink:hover { opacity: 0.85; }
.share-btn--copylink.copied { background: #2a9d2a; }

/* ── Homepage video carousel ────────────────────────────────────────────────── */

.hp-vid-arrow {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    transition: opacity 0.15s ease;
}
.hp-vid-arrow:hover { opacity: 0.8; }

.hp-vid-player {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}

.hp-vid-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    overflow: hidden;
}
.hp-vid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-vid-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hp-vid-iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.hp-vid-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hp-vid-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}
.hp-vid-counter {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    white-space: nowrap;
    padding-top: 0.15rem;
}

.hp-vid-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hp-vid-strip::-webkit-scrollbar { display: none; }

.hp-vid-strip-btn {
    position: relative;
    flex: 0 0 calc(20% - 5px);
    aspect-ratio: 16 / 9;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: #111;
    transition: border-color 0.15s ease;
}
.hp-vid-strip-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.65;
    transition: opacity 0.15s ease;
}
.hp-vid-strip-btn.is-active,
.hp-vid-strip-btn:hover {
    border-color: var(--red-primary);
}
.hp-vid-strip-btn.is-active img,
.hp-vid-strip-btn:hover img {
    opacity: 1;
}
.hp-vid-strip-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.hp-vid-strip-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 11px;
    border-color: transparent transparent transparent rgba(255,255,255,0.8);
}

/* ── Video archive page ─��───────────────────────────────────────────────────── */

.video-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    overflow: hidden;
}

.video-card__thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16 / 9;
}

.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.video-card__thumb:hover img,
.video-card__thumb:focus img {
    transform: scale(1.03);
    opacity: 0.85;
}

.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-card__play svg {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
    transition: transform 0.2s ease;
}

.video-card__thumb:hover .video-card__play svg,
.video-card__thumb:focus .video-card__play svg {
    transform: scale(1.1);
}

.video-card__body {
    padding: 0.85rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.video-card__cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red-primary);
    text-decoration: none;
}

.video-card__cat:hover {
    text-decoration: underline;
}

.video-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.video-card__title a:hover {
    color: var(--red-primary) !important;
}

.video-card__date {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: auto;
    padding-top: 0.4rem;
}

.video-pagination .page-link {
    color: #111;
    border-color: #dee2e6;
    padding: 0.45rem 0.8rem;
}
.video-pagination .page-item.active .page-link {
    background-color: var(--red-primary);
    border-color: var(--red-primary);
    color: #fff;
}
.video-pagination .page-link:hover {
    background-color: #f1f1f1;
    color: var(--red-primary);
}


/* ── Desktop fixed sidebar ──��───��─────────────────────���─��─�����────���────────── */
/* Hidden on all screens below 1500px */
.share-fixed {
    display: none;
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 1500px) {
    .share-fixed {
        display: flex;
    }
    .article-main-col {
        padding-left: 5.5rem;
    }
}

/* ── Article page two-column layout ─────────────────────────────────────────── */
/* Bootstrap col-12 col-lg-8 / col-lg-4 handles all responsive behaviour. */
@media (max-width: 991px) {
    .article-sidebar-col {
        display: block !important;
    }
}
.share-fixed__label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.share-fixed .share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1rem;
}

/* ── Mobile horizontal bar ────────────────────────────────────────────────── */
.share-mobile {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0;
    margin: 0.75rem 0 1.25rem;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
.share-mobile--bottom {
    margin-top: 1.5rem;
    margin-bottom: 0;
}
.share-mobile__label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #888;
    text-transform: uppercase;
    margin-right: 0.25rem;
    flex-shrink: 0;
    width: 100%;
}
.share-mobile .share-btn {
    padding: 0.45rem 0.75rem;
    border-radius: 3px;
    font-size: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
}
.share-mobile .share-btn--copylink {
    background: #555;
    color: #fff;
    border: none;
    cursor: pointer;
}
/* =====================================================
   PAGINATION (WP page-numbers + Bootstrap pagination)
   ===================================================== */

/* Strip white box from pagination nav wrapper */
nav.navigation,
nav.navigation.pagination,
.nav-previous,
.nav-next {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Container spacing + centering */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0 0;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Strip white box and red hover border from the pagination nav wrapper */
nav[aria-label="Page navigation"],
nav[aria-label="Page navigation"]:hover,
nav[aria-label="Page navigation"]:focus,
nav[aria-label="Page navigation"] ul.page-numbers,
nav[aria-label="Page navigation"] ul.page-numbers:hover {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Strip bullets from any ul wrapping page-numbers */
ul.page-numbers,
.nav-links ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: transparent !important;
    border: none !important;
}

ul.page-numbers li,
ul.page-numbers li::before,
ul.page-numbers li::marker {
    list-style: none !important;
    content: none !important;
}

/* WP default links: .page-numbers */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.65rem;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}

.page-numbers:hover {
    border-color: var(--red-primary);
    color: var(--red-primary);
    transform: translateY(-1px);
}

.page-numbers.current,
.page-numbers.current:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: #fff;
    cursor: default;
    transform: none;
}

.page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: #6c757d;
    min-width: auto;
    padding: 0 0.25rem;
}

/* Prev/Next buttons (WP uses .prev/.next) */
.page-numbers.prev,
.page-numbers.next {
    padding: 0 0.9rem;
}

/* Bootstrap pagination support if you output it that way */
.pagination .page-link {
    color: #111;
    border-radius: 0.375rem;
    font-weight: 600;
}

.pagination .page-link:hover {
    color: var(--red-primary);
    border-color: var(--red-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--red-primary);
    border-color: var(--red-primary);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
}
/* =====================================================
   PRIMARY NAV DROPDOWN FIX (your links use .nav-link-custom)
   ===================================================== */

/* Menu panel */
nav .dropdown-menu.dropdown-menu-dark {
    background-color: #000 !important;
    border: 1px solid #4B5563 !important;
    border-radius: 0.75rem;
    padding: 0.4rem 0;
    min-width: 16rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

/* Reset list items inside dropdown (your markup uses .nav-item li) */
nav .dropdown-menu.dropdown-menu-dark li {
    margin: 0;
    padding: 0;
}

/* The actual dropdown links (currently .nav-link-custom) */
nav .dropdown-menu.dropdown-menu-dark a.nav-link-custom {
    display: block;                 /* make full-width clickable rows */
    width: 100%;
    padding: 0.6rem 1rem;           /* proper menu spacing */
    color: #fff !important;
    font-size: 0.875rem;            /* normal dropdown size */
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;           /* stop the “shouty” look if inherited */
    line-height: 1.2;
    text-decoration: none;
    border-radius: 0;               /* keeps the row edges clean */
}

/* Hover/Focus */
nav .dropdown-menu.dropdown-menu-dark a.nav-link-custom:hover,
nav .dropdown-menu.dropdown-menu-dark a.nav-link-custom:focus {
    background-color: #1F2937;
    color: #fff !important;
}

/* Current item (WP often adds current-menu-item on the <li>) */
nav .dropdown-menu.dropdown-menu-dark li.current-menu-item > a.nav-link-custom {
    background-color: var(--red-primary);
    color: #fff !important;
}

/* Optional: tighten the dropdown toggle caret alignment */
nav a.dropdown-toggle.nav-link-custom::after {
    margin-left: 0.45rem;
    vertical-align: 0.12rem;
}

/* ── Desktop hover dropdowns ── */
@media (min-width: 768px) {
    /* Show dropdown on hover */
    nav .nav-item.menu-item-has-children:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
    /* Slight entrance animation */
    nav .dropdown-menu {
        margin-top: 0;
        animation: navDropIn 0.15s ease;
    }
    @keyframes navDropIn {
        from { opacity: 0; transform: translateY(-4px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}
/* ── Header Search ─────────────�������────────────────��──────────────────────────── */
.herald-search-toggle {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem 0.35rem;
    line-height: 1;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
}
.herald-search-toggle:hover,
.herald-search-toggle[aria-expanded="true"] {
    color: #fff;
}

.herald-search-bar {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, 95vw);
    background: #fff;
    border-top: 3px solid var(--red-primary);
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    z-index: 1050;
    padding: 0.875rem 1rem;
    border-radius: 0 0 4px 4px;
}

.herald-search-form {
    display: flex;
    gap: 0.5rem;
}

.herald-search-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
    color: #222;
}
.herald-search-input:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

.herald-search-submit {
    background: var(--red-primary);
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}
.herald-search-submit:hover { background: var(--red-hover); }

/* ── Search Results Page ─────────────�����───────────��─────��────���──────────────── */
.search-results-header {
    border-bottom: 3px solid var(--red-primary);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}
.search-results-count {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}
/* New search box above the refine bar */
.search-new-query .input-group .form-control {
    border-color: #ddd;
    font-size: 1rem;
}
.search-new-query .input-group .form-control:focus {
    border-color: var(--red-primary);
    box-shadow: none;
}

.search-refine-bar {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

/* Each label+select pair stays together and wraps as a unit */
.sr-filter-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 1 auto;
    min-width: 0;
}

.sr-filter-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.sr-filter-group select {
    font-size: 0.8125rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0.3rem 0.5rem;
    background: #fff;
    color: #222;
    cursor: pointer;
    max-width: 100%;
    min-width: 0;
}
.sr-filter-group select:focus { outline: none; border-color: var(--red-primary); }

.sr-clear {
    white-space: nowrap;
    margin-left: auto;
}

/* On mobile, each filter group takes full width */
@media (max-width: 575px) {
    .sr-filter-group {
        width: 100%;
    }
    .sr-filter-group select {
        flex: 1;
    }
    .sr-clear {
        margin-left: 0;
    }
}
.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-thumb {
    flex-shrink: 0;
    width: 220px;
    height: 150px;
    overflow: hidden;
    background: #f1f3f5;
}
.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.search-result-thumb .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
}
.search-result-body { flex: 1; min-width: 0; }
.search-result-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red-primary);
    margin-bottom: 0.25rem;
}
.search-result-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.3rem;
    color: #111;
}
.search-result-title a {
    color: inherit;
    text-decoration: none;
}
.search-result-title a:hover { color: var(--red-primary); }
.search-result-meta {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 0.35rem;
}
.search-result-excerpt {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.search-no-results .search-icon-lg { font-size: 3rem; color: #ddd; margin-bottom: 1rem; }
@media (max-width: 575px) {
    .search-result-thumb { width: 130px; height: 90px; }
    .search-result-title { font-size: 0.9375rem; }
}

/* Card image frame */
.card-img-frame {
  height: 160px;
  overflow: hidden;
  background: #f1f3f5;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Default: fill the frame (center crop) */
.card-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Portrait: show entire image, no cropping */
.card-img-frame.is-portrait img {
  object-fit: contain;
}
.object-fit-cover {
    object-position: top center;
}

/* =====================================================
   WEATHER PAGE  ��� immersive, light, editorial
   ===================================================== */

/* ── Temp colours ───────────────────────────────────── */
.weather-temp--hot    { color: var(--red-primary); }
.weather-temp--warm   { color: #d97706; }
.weather-temp--mild   { color: #16a34a; }
.weather-temp--cool   { color: #0369a1; }
.weather-temp--cold   { color: #1d4ed8; }
.weather-temp--freeze { color: #6d28d9; }

/* ══ PAGE ════════════════════════════════════════════ */
.wx-page { background: #eef2f7; min-height: 60vh; }

/* ══ HERO WRAP ══════════��══════════════════════════���═ */
.wx-hero-wrap { background: #fff; }

.wx-hero-sky {
    background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 40%, #e0f2fe 100%);
    padding: 2.5rem 0 2rem;
}

.wx-hero-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ── Main temp card ─────────────────────────────────── */
.wx-hero-main {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.85);
    padding: 1.75rem 1.75rem 1.25rem;
    box-shadow: 0 4px 24px rgba(30,64,175,0.1);
}

.wx-hero-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.2rem;
}
.wx-hero-location i { color: var(--red-primary); }

.wx-zip-pill {
    display: inline-block;
    background: rgba(30,64,175,0.1);
    color: #1e40af;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 99px;
    letter-spacing: 0.04em;
    vertical-align: middle;
}
.wx-zip-pill--sm { font-size: 0.58rem; padding: 0.08rem 0.35rem; background: #e2e8f0; color: #475569; }

.wx-hero-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 1rem;
}

.wx-hero-condition {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.wx-hero-icon-wrap i {
    font-size: 4.5rem;
    color: #f59e0b;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(245,158,11,.35));
}
.wx-hero-icon-wrap .fa-cloud     { color: #94a3b8; }
.wx-hero-icon-wrap .fa-cloud-sun { color: #f59e0b; }
.wx-hero-icon-wrap .fa-cloud-rain{ color: #3b82f6; }
.wx-hero-icon-wrap .fa-snowflake { color: #7dd3fc; }
.wx-hero-icon-wrap .fa-bolt      { color: #eab308; }
.wx-hero-icon-wrap .fa-smog      { color: #9ca3af; }
.wx-hero-icon-wrap .fa-wind      { color: #64748b; }
.wx-hero-icon-wrap .fa-moon      { color: #818cf8; }

.wx-hero-temp {
    font-family: 'Inter', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: #1e293b;
}
.wx-hero-temp sup {
    font-size: 2rem;
    font-weight: 600;
    vertical-align: super;
    opacity: 0.55;
}
.wx-hero-desc-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #334155;
    margin-top: 0.15rem;
}
.wx-hero-feels {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.wx-hero-hilow {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.wx-hi-badge, .wx-lo-badge, .wx-pop-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.wx-hi-badge  { background: #fee2e2; color: var(--red-primary); }
.wx-lo-badge  { background: #dbeafe; color: #1e40af; }
.wx-pop-badge { background: #e0f2fe; color: #0369a1; }
.wx-hi  { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1rem;   color: var(--red-primary); }
.wx-lo  { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.85rem; color: #64748b; }

.wx-hero-refresh {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.wx-hero-refresh a { color: #64748b; text-decoration: underline; }
.wx-hero-refresh a:hover { color: var(--red-primary); }

/* ── Tiles grid ────────��─────────────���───────────────��� */
.wx-hero-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    align-content: start;
}

.wx-tile {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 14px;
    padding: 0.9rem 0.85rem 0.8rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(30,64,175,0.07);
    transition: transform .12s, box-shadow .12s;
}
.wx-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(30,64,175,0.12); }

.wx-tile-icon {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}
.wx-tile-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}
.wx-tile-value {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: #1e293b;
}

/* ������������� BODY ════════════════════════════════════════════ */
/* ── Today's forecast description strip ───────��─────── */
.wx-hero-forecast-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}
.wx-hfs-item {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 14px;
    padding: 1rem 1.1rem 0.9rem;
    box-shadow: 0 2px 10px rgba(30,64,175,0.07);
}
.wx-hfs-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1e40af;
    margin-bottom: 0.35rem;
}
.wx-hfs-label i { color: var(--red-primary); }
.wx-hfs-short {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: #334155;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 0.1rem;
}
.wx-hfs-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.83rem;
    color: #334155;
    line-height: 1.55;
    margin: 0;
}

/* ── Extra zips 2-column grid ─────────��─────────────── */
.wx-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

/* ── Skeleton shimmer ─────────����─────────────────────── */
@keyframes wx-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.wx-extra-skeleton { min-height: 260px; }

.wx-skel {
    border-radius: 6px;
    background: linear-gradient(90deg, #e8edf2 25%, #f4f6f8 50%, #e8edf2 75%);
    background-size: 600px 100%;
    animation: wx-shimmer 1.4s infinite linear;
}
.wx-skel-icon  { width: 2.5rem; height: 2.5rem; border-radius: 50%; flex-shrink: 0; }
.wx-skel-title { height: 13px; width: 60%; margin-bottom: 0.55rem; }
.wx-skel-temp  { height: 20px; width: 40%; margin-bottom: 0.5rem;  }
.wx-skel-meta  { height: 11px; width: 75%; }
.wx-skel-row   { height: 11px; margin-bottom: 0.55rem; }
.wx-skel-row:last-child { margin-bottom: 0; }

/* ���─ River Flows ────���──────────────��────────────────────────────────────────── */
.wx-river-section { margin-bottom: 2.5rem; }

/* Tab strip */
.wx-river-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}
.wx-river-tab {
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.wx-river-tab:hover { background: #f3f4f6; }
.wx-river-tab--active {
    background: #7f1d1d;
    color: #fff;
    border-color: #7f1d1d;
}

/* Panels */
.wx-river-panel { display: none; }
.wx-river-panel--active { display: block; }

.wx-river-chart-head { text-align: center; margin-bottom: 0.5rem; }
.wx-river-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    font-family: 'Inter', sans-serif;
}
.wx-river-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* Canvas wrapper */
.wx-river-chart-wrap {
    position: relative;
    width: 100%;
}
.wx-river-canvas {
    display: block;
    width: 100%;
    height: 300px;
    cursor: crosshair;
}
.wx-river-yaxis-label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    font-size: 0.7rem;
    color: #888;
    white-space: nowrap;
    pointer-events: none;
    /* Visual label is drawn on canvas; this DOM el is for accessibility only */
    opacity: 0;
}

/* Current reading callout */
.wx-river-reading {
    max-width: 380px;
    margin: 1.25rem auto 0;
    background: #f4f4f4;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 0.85rem 1.25rem;
    text-align: center;
}
.wx-river-reading-date {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.35rem;
}
.wx-river-reading-cfs {
    font-size: 1.5rem;
    font-weight: 800;
    color: #900;
    letter-spacing: -0.01em;
}
.wx-river-reading--unavail {
    color: #888;
    font-style: italic;
    font-size: 0.85rem;
}

/* Year legend */
.wx-river-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.82rem;
}
.wx-river-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    user-select: none;
}
.wx-river-legend-item input[type="checkbox"] {
    width: 13px;
    height: 13px;
    accent-color: #900;
    cursor: pointer;
}
.wx-river-legend-swatch {
    display: inline-block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
}

/* ── End River Flows ────────────────────────────────────────────────────────── */

.wx-body-wrap { padding: 2rem 0 3rem; }

.wx-section { margin-bottom: 2.5rem; }

.wx-section-head {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.wx-sh-bar {
    display: inline-block;
    width: 3px;
    height: 16px;
    background: var(--red-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── Temperature line graph ─────────────────────────── */
.wx-graph-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.25rem 1rem 0.5rem;
    box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.wx-graph-legend {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #64748b;
}
.wx-legend-temp span, .wx-legend-rain span {
    display: inline-block;
    width: 18px;
    height: 3px;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 0.3rem;
}
.wx-legend-temp span { background: #900; }
.wx-legend-rain span { background: rgba(59,130,246,0.35); height: 10px; border-radius: 2px; }

.wx-temp-graph {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}
.wx-graph-temp {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    fill: #1e293b;
    text-anchor: middle;
}
.wx-graph-time {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    fill: #64748b;
    text-anchor: middle;
}
.wx-graph-pop {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    fill: #3b82f6;
    text-anchor: middle;
}
.wx-graph-dot {
    fill: #fff;
    stroke: #900;
    stroke-width: 2;
}

/* ── 7-day individual cards ─�����─���─���───────────────────── */
.wx-7day-cards {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
}

.wx-7day-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s, transform .15s;
}
.wx-7day-card:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.wx-7day-card--today {
    border-top: 3px solid var(--red-primary);
}

.wx-7day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.85rem 0.6rem;
    border-bottom: 1px solid #f1f5f9;
}
.wx-7day-date { line-height: 1.2; }
.wx-7day-dow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    color: #1e293b;
}
.wx-7day-mdate {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    color: #94a3b8;
}
.wx-7day-temps {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}
.wx-7day-temps .wx-hi {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--red-primary);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.wx-7day-temps .wx-lo {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.wx-7day-temps .wx-hi i, .wx-7day-temps .wx-lo i { font-size: 0.6rem; }

.wx-7day-half {
    padding: 0.75rem 0.85rem;
    flex: 1;
}
.wx-7day-half--day { background: #fff; }
.wx-7day-half--night {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.wx-7day-half-head {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.4rem;
}
.wx-7day-icon {
    font-size: 1.6rem;
    color: #f59e0b;
    flex-shrink: 0;
    line-height: 1;
}
.wx-7day-icon.fa-cloud     { color: #94a3b8; }
.wx-7day-icon.fa-cloud-sun { color: #f59e0b; }
.wx-7day-icon.fa-cloud-rain{ color: #3b82f6; }
.wx-7day-icon.fa-snowflake { color: #7dd3fc; }
.wx-7day-icon.fa-bolt      { color: #eab308; }
.wx-7day-icon.fa-smog      { color: #9ca3af; }
.wx-7day-icon.fa-moon      { color: #818cf8; }

.wx-7day-period-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
}
.wx-7day-short {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: #334155;
    line-height: 1.3;
}
.wx-7day-detail {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0.4rem 0 0.5rem;
}
.wx-7day-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #64748b;
}
.wx-7day-meta i { color: var(--red-primary); margin-right: 0.15rem; }

/* ─�� Compact day rows (for extra zip cards) ─────────── */
.wx-7day-list { display: flex; flex-direction: column; }

.wx-day-row {
    display: grid;
    grid-template-columns: 90px 60px 1fr 72px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background .1s;
}
.wx-day-row:last-child { border-bottom: none; }
.wx-day-row:hover { background: #f8fafc; }
.wx-day-row--today { background: #f0f7ff; }
.wx-day-row--compact { padding: 0.55rem 1rem; }

.wx-day-dow {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #1e293b;
    display: block;
}
.wx-day-mday {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #94a3b8;
    display: block;
}

.wx-day-row-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.wx-day-row-icon i {
    font-size: 1.5rem;
    color: #f59e0b;
}
.wx-day-row-icon .fa-cloud     { color: #94a3b8; }
.wx-day-row-icon .fa-cloud-sun { color: #f59e0b; }
.wx-day-row-icon .fa-cloud-rain{ color: #3b82f6; }
.wx-day-row-icon .fa-snowflake { color: #7dd3fc; }
.wx-day-row-icon .fa-bolt      { color: #eab308; }
.wx-day-row-icon .fa-smog      { color: #9ca3af; }
.wx-day-row-icon .fa-moon      { color: #818cf8; }
.wx-day-row-pop {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.wx-day-row-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.3;
}

.wx-day-row-temps {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: baseline;
}

/* ── Extra location cards ───────────────────────────── */
.wx-extra-stack { display: flex; flex-direction: column; gap: 1rem; }

.wx-extra-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.wx-extra-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.wx-extra-icon {
    font-size: 2.25rem;
    color: #f59e0b;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
}
.wx-extra-info { flex: 1; }
.wx-extra-city {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 0.3rem;
}
.wx-extra-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.wx-extra-temp {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
}
.wx-extra-cond-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #475569;
}
.wx-extra-meta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #94a3b8;
}
.wx-extra-updated { margin-left: auto; }

/* ── Extra zip 5-day forecast grid (wxe-*) ──────────── */
.wxe-forecast {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid #edf2f7;
}

.wxe-col {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #edf2f7;
    min-width: 0;
}
.wxe-col:last-child { border-right: none; }
.wxe-col--today { background: #fafcff; }

/* Column header — day name, date, hi/lo */
.wxe-col-head {
    padding: 0.65rem 0.75rem 0.5rem;
    border-bottom: 1px solid #edf2f7;
    background: #f8fafc;
}
.wxe-col--today .wxe-col-head { background: #f0f5ff; }

.wxe-dow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wxe-col--today .wxe-dow { color: #1e40af; }

.wxe-date {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}

.wxe-hilo {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.wxe-hi {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--red-primary, #b91c1c);
}
.wxe-lo {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #3b82f6;
}
.wxe-hi i, .wxe-lo i { font-size: 0.6rem; }

/* Day / Night period blocks */
.wxe-period {
    padding: 0.6rem 0.75rem;
    flex: 1;
}
.wxe-period--day   { background: #fff; }
.wxe-period--night {
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
}

.wxe-period-head {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.wxe-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.wxe-period--day   .wxe-icon { color: #f59e0b; }
.wxe-period--night .wxe-icon { color: #6366f1; }

.wxe-period-labels { min-width: 0; }

.wxe-period-tag {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    line-height: 1.2;
}

.wxe-period-cond {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wxe-detail {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 0.35rem;
}

.wxe-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.wxe-meta span {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.wxe-meta i { color: var(--red-primary, #b91c1c); font-size: 0.6rem; }

/* ── Credit ─���──����─────────────────��──────��─����─����─���────── */
.wx-credit {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 1rem;
}
.wx-credit a { color: #64748b; text-decoration: underline; }
.wx-credit a:hover { color: var(--red-primary); }

/* ─�� Responsive ───────���─────────────────────────────���─ */
@media (max-width: 1280px) {
    .wx-7day-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .wx-hero-tiles { grid-template-columns: repeat(4, 1fr); }
    .wx-7day-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .wx-hero-grid { grid-template-columns: 1fr; }
    .wx-hero-tiles { grid-template-columns: repeat(4, 1fr); }
    .wx-7day-cards { grid-template-columns: repeat(3, 1fr); }
    .wx-extra-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .wx-hero-temp { font-size: 3.75rem; }
    .wx-hero-icon-wrap i { font-size: 3.5rem; }
    .wx-hero-tiles { grid-template-columns: repeat(3, 1fr); }
    .wx-7day-cards { grid-template-columns: repeat(2, 1fr); }
    .wx-hero-forecast-strip { grid-template-columns: 1fr; }
    .wx-day-row { grid-template-columns: 72px 52px 1fr 64px; padding: 0.65rem 0.9rem; }
}
@media (max-width: 480px) {
    .wx-hero-tiles { grid-template-columns: repeat(2, 1fr); }
    .wx-hero-temp { font-size: 3rem; }
    .wx-7day-cards { grid-template-columns: 1fr 1fr; }
    .wx-day-row-desc { display: none; }
    .wx-day-row { grid-template-columns: 72px 52px 1fr; }
}

/* =====================================================
   NAVIGA GALLERY SLIDER  (.gallery-slider markup)
   ===================================================== */
.gallery-slider {
    margin: 1.5rem auto;
    max-width: 900px;
}

.naviga-slider {
    background: #e8e8e8; /* light grey background */
    position: relative;
    outline: none;
}

.naviga-slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8e8e8; /* light grey */
    display: flex;
    align-items: center;
    justify-content: center;
}

.naviga-slider-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* fit, no crop or stretch */
    display: block;
    margin: 0 auto; /* center image */
    transition: opacity 0.2s ease;
}

/* Controls bar */
.naviga-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8e8e8; /* light grey */
    padding: 0.5rem 1rem;
}

/* Arrows */
.naviga-slider-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
    line-height: 1;
}

.naviga-slider-arrow svg {
    width: 32px;
    height: 32px;
    display: block;
}

.naviga-slider-arrow:hover {
    color: var(--red-primary);
    transform: scale(1.1);
}

.naviga-slider-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

/* Counter */
.naviga-slider-counter {
    color: #222; /* dark text */
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Caption / byline bar */
.naviga-slider-caption-bar {
    background: #e8e8e8; /* light grey */
    padding: 0.5rem 1rem 0.75rem;
    max-width: 800px; /* constrain caption width */
    margin: 0 auto; /* center the caption block */
}

.naviga-slider-caption {
    font-size: 0.8125rem;
    color: #222; /* dark text */
    font-style: italic;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.naviga-slider-byline {
    font-size: 0.75rem;
    color: #555; /* slightly lighter for credit */
    font-style: normal;
    font-weight: 600;
    margin: 0.25rem 0 0;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 600px) {
    .naviga-slider-arrow svg {
        width: 26px;
        height: 26px;
    }
}

p.subheadline1 {
    font-weight: 600;
    font-size: 22px;
    color: #900;
}

div#everlit-audio-embed-container {
    max-width: 700px;
    width: 90%;
    margin: auto;
}

/* ============================================================
   Herald Ad Units
   ============================================================ */

/* All herald ad units: center the iframe/creative inside its container */
.herald-ad {
    text-align: center;
    overflow: hidden;
}

/* Leaderboard / in-body banner — equal padding top & bottom, clipped width */
.herald-ad--leaderboard {
    width: 100%;
    overflow: hidden;
    padding: 16px 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Masthead sits at the very top — no extra top margin */
.herald-ad--site-masthead.herald-ad--leaderboard {
    margin-top: 0;
}

/* Inline article ads — centred, full column width */
.article-content > .herald-ad,
.article-body > .herald-ad {
    display: flex;
    justify-content: center;
}

/* Inner GPT div must not exceed its container */
.herald-ad--leaderboard [id^="div-gpt-ad"],
.herald-ad--rail [id^="div-gpt-ad"] {
    max-width: 100%;
    overflow: hidden;
}

/* Top-of-page only (hp-masthead) — flush to top, dark background.
   Only applied to the single slot above the nav via herald-ad--site-masthead. */
.herald-ad--site-masthead {
    margin: 0;
    padding: 6px 0;
    background: #222;
    border-bottom: none;
}

/* Rail / rectangle ads */
.herald-ad--rail {
    width: 100%;
    overflow: hidden;
}

/* Sticky rail wrapper used in single.php sidebar */
.herald-ad-rail-sticky {
    position: sticky;
    top: 80px;
    z-index: 1;
}

/* Collapse completely when GPT collapseEmptyDivs() fires */
.herald-ad--leaderboard [id^="div-gpt-ad"]:empty,
.herald-ad--rail [id^="div-gpt-ad"]:empty {
    display: none;
}
.herald-ad--leaderboard:has([id^="div-gpt-ad"]:empty),
.herald-ad--rail:has([id^="div-gpt-ad"]:empty) {
    display: none;
}

/* ── Article form card ─────────────────────────────��─────────────────────── */
.herald-form-card {
    background: #eeeeee;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
}

.herald-form-card__header {
    padding: 16px 24px 12px;
    border-bottom: 1px solid #d9d9d9;
    background: #e4e4e4;
}

.herald-form-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.herald-form-card__body {
    padding: 24px;
}

/* Inputs inside the card — white background so they lift off the #eee */
.herald-form-card__body input[type="text"],
.herald-form-card__body input[type="email"],
.herald-form-card__body input[type="tel"],
.herald-form-card__body textarea,
.herald-form-card__body select {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ── Topic Archive ─────────────────────────────────────────────────── */
.topic-archive-page {
    background: #f8f9fa;
    min-height: 60vh;
}
.topic-archive-header {
    background: #111;
    color: #fff;
    padding: 2.5rem 0 2rem;
    border-bottom: 3px solid var(--red-primary);
}
.topic-archive-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    font-family: var(--font-serif, Georgia, serif);
}
.topic-archive-desc {
    color: #adb5bd;
    margin: 0;
    font-size: 1rem;
}
.topic-archive-container {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

/* 2-column grid, full width */
.topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 639px) {
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Card */
.topic-card {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Video embed — responsive 16:9 */
.topic-card__video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}
.topic-card__video figure,
.topic-card__video iframe {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    border: 0;
}

/* Thumbnail + play button */
.topic-card__thumb-link {
    display: block;
    text-decoration: none;
}
.topic-card__thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #e9ecef;
}
.topic-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.topic-card__thumb-link:hover .topic-card__thumb img {
    transform: scale(1.03);
}
.topic-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    transition: background 0.2s;
}
.topic-card__thumb-link:hover .topic-card__play {
    background: rgba(0,0,0,0.5);
}
.topic-card__play svg {
    width: 56px;
    height: 56px;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

/* Card body */
.topic-card__body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
}
.topic-card__cat {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--red-primary);
    margin-bottom: 0.4rem;
}
.topic-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.4rem;
}
.topic-card__title a {
    color: #111;
    text-decoration: none;
}
.topic-card__title a:hover {
    color: var(--red-primary);
}
.topic-card__meta {
    font-size: 0.78rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.topic-card__excerpt {
    font-size: 0.875rem;
    color: #495057;
    line-height: 1.5;
    margin: 0;
}

/* Pagination */
.topic-archive-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}
.topic-archive-empty {
    text-align: center;
    padding: 3rem 0;
    color: #6c757d;
}

/* ════════════════════════════════════════════════════════════���═════════════
   LANDING PAGE  (page-landing.php / Template Name: Landing Page)
═════════════════════════════════════════════════════���════════════════════ */

.lp-main {
    background: #fff;
}

/* Shared max-width container */
.lp-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* ── Hero video ─────────────────────────────────────────────────────── */
.lp-hero {
    background: #111;
    padding: 20px;
}
.lp-hero__video-wrap {
    position: relative;
    width: 70%;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
    border-radius: 0;
    margin: 0 auto;
}
.lp-hero__video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Skip to website button */
.lp-hero__skip {
    text-align: center;
    padding: 1.25rem 0 0.5rem;
}
.lp-hero__skip-btn,
.lp-hero__skip-btn:link,
.lp-hero__skip-btn:visited {
    display: inline-block;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 3px;
    transition: background 0.2s, border-color 0.2s;
}
.lp-hero__skip-btn:hover,
.lp-hero__skip-btn:focus {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: #fff !important;
    border: 0;
}

/* ── Intro text ───���─────────────────────────────────────────────────── */
.lp-intro {
    padding: 5rem 2.5rem 3rem;
    text-align: center;
}
.lp-intro__headline {
    font-family: "adobe-caslon-pro", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin-bottom: 1.75rem;
}
.lp-intro__headline::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--red-primary);
    margin: 1.25rem auto 0;
    border-radius: 2px;
}
.lp-intro__body {
    font-family: "adobe-caslon-pro", Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.75;
    color: #333;
    text-align: left;
    max-width: 860px;
    margin: 0 auto;
}
.lp-intro__body p + p { margin-top: 1.25rem; }

/* ── Staff grid ─────────────────────────────────────────────────────── */
.lp-staff {
    padding: 5rem 2.5rem;
    background: #f4f4f4;
}

/* Shane — large centered card above the 3-col grid */
.lp-staff__featured {
    text-align: center;
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lp-staff__avatar-wrap--lg {
    width: 190px;
    height: 190px;
    border: 4px solid var(--red-primary);
}
.lp-staff__featured .lp-staff__name {
    font-size: 1.25rem;
    margin-top: 1rem;
    text-align: center;
}
.lp-staff__featured .lp-staff__role {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-align: center;
}
.lp-staff__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
}
.lp-staff__card {
    text-align: center;
}
.lp-staff__avatar-wrap {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e5e5e5;
    margin: 0 auto 1rem;
    background: #ddd;
}
.lp-staff__avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lp-staff__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}
.lp-staff__role {
    font-size: 0.82rem;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .lp-staff__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
}
@media (max-width: 380px) {
    .lp-staff__grid { grid-template-columns: 1fr; }
}

/* ── Subscribe CTA strip ─────────────────────────────────────────────── */
.lp-cta {
    background: #111;
    padding: 4rem 2.5rem;
    margin-bottom: 0;
}



.lp-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.lp-cta__copy {
    font-family: "adobe-caslon-pro", Georgia, serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
    flex: 1 1 400px;
    line-height: 1.5;
}
.lp-cta__btn,
.lp-cta__btn:link,
.lp-cta__btn:visited,
.lp-cta__btn:hover,
.lp-cta__btn:focus {
    display: inline-block;
    background: var(--red-primary);
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.lp-cta__btn:hover,
.lp-cta__btn:focus {
    background: var(--red-hover);
}

/* ═════════════════��════════════════════════════════════════════════════════
   END LANDING PAGE
══════════════════════════════════���═══════════════════════════════════════ */

/* ── Scroll to top button (mobile only) ── */
#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--red-primary);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
#scroll-to-top.scroll-to-top--visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 767px) {
    #scroll-to-top {
        display: flex;
    }
}
