/* ============================================================
   Hurricane Mortgage Losses post — "Do Hurricanes Affect Mortgage Losses?"
   Migrated out of the post's embedded <style> block.

   Location: 2023SRA/css/hurricane.css
   Loaded by sra_enqueue_page_bundles() in functions.php, only on singular
   content whose post_content contains "hurricane-container". Depends on the
   'chld_thm_cfg_child' handle, so it always loads after style.css.
   Versioned by filemtime() — uploading a new copy busts the cache.

   THREE DELIBERATE CHANGES FROM THE ORIGINAL (see notes at bottom):
     1. All custom properties namespaced --hur-* . The originals
        (--primary, --accent, --text-light, --text-dark) collided with
        existing :root declarations in this file.
     2. The bare `* { }` reset is scoped with :where(.hurricane-container),
        which keeps its specificity at exactly (0,0,0,0) so rendering
        inside the article is unchanged, but stops it resetting the
        whole site.
     3. Three rules that were provably dead have been dropped.
   ============================================================ */

/* -- Namespaced tokens. Values identical to the originals. -- */
:root {
    --hur-primary: #303158;
    --hur-secondary: #3a4373;
    --hur-accent: #4a61a3;
    --hur-light-bg: #f8f9fa;
    --hur-text-dark: #1a1a1a;
    --hur-text-light: #4a4a4a;
    --hur-red: #e74c3c;
    --hur-green: #27ae60;
    --hur-precrisis-blue: #4a6b9f;
    --hur-postcrisis-blue: #3a4373;
}

/* ============================================ */
/* SCOPED RESET                                  */
/* :where() contributes zero specificity, so this */
/* behaves exactly like the original `*` inside   */
/* the article and not at all outside it.         */
/* ============================================ */

:where(.hurricane-container),
:where(.hurricane-container) * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 100%;
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */

.hurricane-label-uppercase {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #545964 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.hurricane-container {
    background: #ffffff;
    padding: 0;
    margin: 0;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.hurricane-example {
    width: 100%;
}

.hurricane-example-title {
    display: none;
}

.hurricane-example-content {
    background: linear-gradient(to bottom, #ffffff 0%, var(--hur-light-bg) 100%) !important;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem !important;
    width: 100% !important;
}

/* ============================================ */
/* NARRATIVE HEADLINES */
/* ============================================ */

.hurricane-narrative-headline {
    font-size: clamp(.85rem, 3.5vw, 1.2rem) !important;
    font-weight: 700 !important;
    color: var(--hur-primary) !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.02em !important;
}

.hurricane-narrative-subheading {
    font-size: 0.9rem !important;
    color: var(--hur-text-light) !important;
    max-width: 800px !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.6 !important;
}

/* ============================================ */
/* EVENTS SECTION */
/* ============================================ */

.hurricane-events-section {
    margin-bottom: 2rem;
}

.hurricane-framework-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--hur-primary) !important;
    margin-bottom: 1.5rem !important;
    text-align: left !important;
}

.hurricane-events-alternating {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: flex-start !important;
}

.hurricane-event-alt {
    /* line-height and font-family are inherited explicitly: these are now
       <button> elements, and the UA stylesheet would otherwise give them
       line-height: normal and its own font, changing the pill height. */
    line-height: inherit;
    font-family: inherit;
    padding: 1rem 1.25rem !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    min-width: 120px !important;
    position: relative !important;
}

.hurricane-event-alt::after {
    content: '↗';
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 0.65rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hurricane-event-alt:hover::after {
    opacity: 1;
}

.hurricane-event-alt-precrisis {
    background: var(--hur-precrisis-blue) !important;
    color: white !important;
    border-color: var(--hur-precrisis-blue) !important;
}

.hurricane-event-alt-precrisis:hover {
    background: #5a7bb0 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.hurricane-event-alt-postcrisis {
    background: var(--hur-postcrisis-blue) !important;
    color: white !important;
    border-color: var(--hur-postcrisis-blue) !important;
}

.hurricane-event-alt-postcrisis:hover {
    background: #4a5486 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================ */
/* STUDY SECTION */
/* ============================================ */

.hurricane-study-section {
    background: white !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 2rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.hurricane-study-section-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--hur-primary) !important;
    margin-bottom: 1rem !important;
    text-align: left !important;
}

.hurricane-study-section-content {
    font-size: 0.95rem !important;
    color: var(--hur-text-light) !important;
    line-height: 1.7 !important;
}

.hurricane-study-section-content p {
    margin-bottom: 1rem !important;
}

.hurricane-study-section-content strong {
    color: var(--hur-text-dark) !important;
    font-weight: 600 !important;
}

.hurricane-methodology-toggle-btn {
    background: linear-gradient(135deg, var(--hur-accent), var(--hur-secondary)) !important;
    color: white !important;
    border: none !important;
    padding: 0.65rem 1.25rem !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 1rem !important;
}

.hurricane-methodology-toggle-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(74, 97, 163, 0.3) !important;
}

/* ============================================ */
/* QUESTIONS SECTION */
/* ============================================ */

.hurricane-questions-section {
    display: grid !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.hurricane-question-card {
    background: #f0f2f7 !important;
    border-radius: 6px !important;
    padding: 1.25rem 1.25rem 0.85rem 1.25rem !important;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s ease !important;
    overflow: visible !important;
}

.hurricane-question-header {
    background: none !important;
    color: inherit !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

.hurricane-question-number {
    flex-shrink: 0 !important;
    width: 36px !important;
    height: 36px !important;
    background: var(--hur-primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

.hurricane-question-content {
    flex: 1 !important;
    padding: 0 !important;
}

.hurricane-question-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--hur-primary) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.hurricane-question-body {
    padding: 0 !important;
    margin: 0 !important;
}

.hurricane-question-answer {
    font-size: 0.9rem !important;
    color: #333 !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}

.hurricane-question-answer p {
    font-size: 0.9rem !important;
    color: #333 !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}

.hurricane-question-answer p:last-child {
    margin-bottom: 0 !important;
}

.hurricane-question-answer div {
    font-size: 0.85rem !important;
}

.hurricane-question-answer div p {
    font-size: 0.85rem !important;
    color: #555 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}

.hurricane-stat-highlight {
    display: inline-block !important;
    background: linear-gradient(135deg, rgba(74, 97, 163, 0.1), rgba(74, 97, 163, 0.05)) !important;
    padding: 0.15em 0.5em !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    color: var(--hur-accent) !important;
}

.hurricane-insight-box {
    background: linear-gradient(135deg, rgba(74, 97, 163, 0.04), rgba(74, 97, 163, 0.02)) !important;
    border-left: 3px solid var(--hur-accent) !important;
    padding: 0.85rem 1rem !important;
    border-radius: 6px !important;
    margin-top: 1rem !important;
}

.hurricane-insight-box p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}

.hurricane-insight-label {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: var(--hur-accent) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.hurricane-insight-text {
    font-size: 0.9rem !important;
    color: var(--hur-text-dark) !important;
    line-height: 1.6 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}

/* ============================================ */
/* EVIDENCE/CALLOUT BOXES */
/* ============================================ */

.hurricane-evidence-box {
    background: #f8f9fa !important;
    border-radius: 6px !important;
    padding: 1rem 1.25rem !important;
    margin-top: 1rem !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s ease !important;
}

.hurricane-evidence-box:hover {
    background: #f0f2f7 !important;
    border-color: rgba(74, 97, 163, 0.2) !important;
}

.hurricane-evidence-heading {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: var(--hur-primary) !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
}

.hurricane-evidence-text {
    font-size: 0.9rem !important;
    color: var(--hur-text-dark) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}

/* ============================================ */
/* HURRICANE CARDS SECTION */
/* ============================================ */

.hurricane-cards-section {
    background: linear-gradient(to bottom, var(--hur-light-bg) 0%, #e8eaed 100%) !important;
    padding: 2rem 1.5rem 1.5rem 1.5rem !important;
    margin-top: 2rem !important;
    border-top: 3px solid var(--hur-accent) !important;
    border-bottom: 3px solid var(--hur-accent) !important;
    position: relative !important;
}

.hurricane-cards-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 100% !important;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 30m-1 0a1 1 0 1 1 2 0a1 1 0 1 1 -2 0' fill='%23303158' fill-opacity='0.02'/%3E%3C/svg%3E") !important;
    pointer-events: none !important;
}

.hurricane-cards-section-title {
    text-align: left !important;
    color: var(--hur-primary) !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* NOTE: the third selector in the original was
   `.hurricane-cards-section > p[style*="font-size"]`, which depended on an
   inline style that has now been removed. `> p` already covers that element,
   so the attribute selector has been dropped as dead. */
.hurricane-cards-section-subtitle,
.hurricane-cards-section > p {
    text-align: left !important;
    color: var(--hur-text-light) !important;
    font-size: 0.9rem !important;
    margin-bottom: 2rem !important;
    max-width: 700px !important;
    line-height: 1.6 !important;
    position: relative !important;
    z-index: 1 !important;
}

.hurricane-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.hurricane-card {
    background: white !important;
    border-radius: 10px !important;
    overflow: visible !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    padding: 0.75rem 1.25rem 1rem 1.25rem !important;
    border: 2px solid transparent !important;
    position: relative !important;
}

.hurricane-card::after {
    content: '↗';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 0.8rem;
    color: var(--hur-accent);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-weight: 700;
}

.hurricane-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    background: linear-gradient(135deg, rgba(74, 97, 163, 0.02), rgba(255, 255, 255, 1)) !important;
    border-color: var(--hur-accent) !important;
}

.hurricane-card:hover::after {
    opacity: 1;
    transform: translateX(2px);
}

.hurricane-card-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--hur-primary) !important;
    margin: 0 0 0.65rem 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
}

.hurricane-cards-grid .hurricane-card:nth-child(1) .hurricane-card-title,
.hurricane-cards-grid .hurricane-card:nth-child(2) .hurricane-card-title {
    color: var(--hur-precrisis-blue) !important;
}

.hurricane-cards-grid .hurricane-card:nth-child(3) .hurricane-card-title,
.hurricane-cards-grid .hurricane-card:nth-child(4) .hurricane-card-title,
.hurricane-cards-grid .hurricane-card:nth-child(5) .hurricane-card-title,
.hurricane-cards-grid .hurricane-card:nth-child(6) .hurricane-card-title,
.hurricane-cards-grid .hurricane-card:nth-child(7) .hurricane-card-title {
    color: var(--hur-postcrisis-blue) !important;
}

.hurricane-card-badge {
    font-size: 0.7rem !important;
    color: white !important;
    background: var(--hur-accent) !important;
    padding: 0.25rem 0.6rem !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.hurricane-card-stat {
    font-size: 0.85rem !important;
    padding: 0.2rem 0.2rem !important;
    background: var(--hur-light-bg) !important;
    border-radius: 6px !important;
    color: var(--hur-text-dark) !important;
    margin-bottom: 0.5rem !important;
    display: inline-block !important;
}

.hurricane-card-stat strong {
    color: var(--hur-accent) !important;
    font-weight: 700 !important;
}

.hurricane-card-conclusion {
    font-size: 0.85rem !important;
    color: var(--hur-text-light) !important;
    line-height: 1.5 !important;
    margin-top: 0.65rem !important;
}

/* ============================================ */
/* FINDINGS SECTION */
/* ============================================ */

.hurricane-findings-section {
    margin-top: -4rem !important;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem !important;
    background: white !important;
    border-radius: 0 !important;
    border: none !important;
}

.hurricane-findings-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--hur-primary) !important;
    margin-bottom: 0.5rem !important;
    text-align: left !important;
}

.hurricane-findings-subtitle,
.finding-text {
    font-size: 0.9rem !important;
    color: var(--hur-text-light) !important;
    margin-bottom: 1.5rem !important;
    text-align: left !important;
}

.hurricane-findings-grid {
    display: grid !important;
    gap: 1.25rem !important;
}

.hurricane-finding-item {
    display: flex !important;
    gap: 1.25rem !important;
    padding: 1.25rem !important;
    background: linear-gradient(135deg, rgba(74, 97, 163, 0.02), rgba(74, 97, 163, 0.01)) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(74, 97, 163, 0.1) !important;
    transition: all 0.3s ease !important;
}

.hurricane-finding-item:hover {
    background: linear-gradient(135deg, rgba(74, 97, 163, 0.05), rgba(74, 97, 163, 0.02)) !important;
    border-color: rgba(74, 97, 163, 0.2) !important;
    transform: translateX(4px) !important;
}

.hurricane-finding-number {
    flex-shrink: 0 !important;
    width: 8px !important;
    height: 8px !important;
    background: var(--hur-accent) !important;
    border-radius: 50% !important;
    margin-top: 0.5rem !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.hurricane-finding-content {
    flex: 1 !important;
}

.hurricane-finding-header {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--hur-primary) !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
}

.hurricane-finding-text {
    font-size: 0.95rem !important;
    color: var(--hur-text-light) !important;
    line-height: 1.6 !important;
}

.hurricane-finding-link {
    color: var(--hur-accent) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.hurricane-finding-link:hover {
    text-decoration: underline !important;
}

/* ============================================ */
/* FLOATING METHODOLOGY BUTTON */
/* ============================================ */

.hurricane-methodology-refresh {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    z-index: 1000 !important;
}

.hurricane-methodology-refresh-btn {
    background: linear-gradient(135deg, var(--hur-primary), var(--hur-secondary)) !important;
    color: white !important;
    border: none !important;
    padding: 0.85rem 1.25rem !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(48, 49, 88, 0.3) !important;
}

.hurricane-methodology-refresh-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(48, 49, 88, 0.4) !important;
    background: linear-gradient(135deg, var(--hur-secondary), #4a5486) !important;
}

/* ============================================ */
/* MODAL STYLES */
/* ============================================ */

.hurricane-modal {
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, z-index 0s 0.3s;
}

.hurricane-modal.active {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease, z-index 0s 0s;
}

.hurricane-modal-content {
    background: white;
    margin: 1.5% auto;
    width: 85%;
    max-width: 1200px;
    height: 94%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hurricane-modal-header {
    background: linear-gradient(135deg, var(--hur-primary), var(--hur-secondary), var(--hur-accent));
    color: white;
    padding: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hurricane-modal-header-content {
    flex: 1;
}

.hurricane-modal-title {
    font-size: clamp(1.1rem, 3.5vw, 1.2rem) !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: white !important;
}

.hurricane-modal-date {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    opacity: 0.9 !important;
    color: white !important;
}

.hurricane-modal-nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hurricane-modal-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hurricane-modal-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hurricane-modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hurricane-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 1.5rem;
    line-height: 1;
}

.hurricane-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hurricane-modal-body {
    height: calc(100% - 120px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 1.5rem !important;
    max-width: 100% !important;
}

.hurricane-modal-body .hurricane-modal-section-heading:first-of-type {
    margin-top: 0.5rem !important;
}

.hurricane-modal-paragraph {
    color: var(--hur-text-light);
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
    padding: 0;
    font-size: 0.95rem !important;
}

.hurricane-modal-section-heading {
    color: var(--hur-primary);
    margin: 1.5rem 0 0.85rem 0;
    padding: 0 0 0.5rem 0;
    border-bottom: 2px solid var(--hur-accent);
    font-size: 1.15rem !important;
    font-weight: 700;
    line-height: 1.2;
}

.hurricane-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
    align-items: start;
}

.hurricane-chart-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hurricane-chart-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

.hurricane-chart-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hurricane-chart-title {
    margin: 0.75rem 0 0.25rem 0;
    padding: 0;
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--hur-primary);
    text-align: center;
}

.hurricane-chart-caption {
    margin: 0.5rem 0 0 0;
    padding: 0;
    font-size: 0.85rem !important;
    color: var(--hur-text-light);
    line-height: 1.5;
    text-align: center;
}

.hurricane-text-image-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
    margin: 1.5rem 0;
}

.hurricane-iframe-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 600px !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 4px !important;
    background: white !important;
    position: relative !important;
    margin: 1.5rem 0 !important;
    grid-column: 1 / -1 !important;
    clear: both !important;
    display: block !important;
}

/* max-width: none is required here: the scoped reset applies max-width:100%
   to every descendant, which would otherwise clamp the 167% width below. */
.hurricane-iframe {
    width: 167% !important;
    max-width: none !important;
    height: 1000px !important;
    border: none !important;
    transform: scale(0.6) !important;
    transform-origin: top left !important;
    -webkit-transform: scale(0.6) !important;
    -webkit-transform-origin: top left !important;
    -moz-transform: scale(0.6) !important;
    -moz-transform-origin: top left !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
}

/* ============================================ */
/* METHODOLOGY POPUP STYLES */
/* ============================================ */

/* Changed from `display: none !important` to plain `display: none`, and the
   two `[style*="display: flex"]` escape hatches have been removed. The JS now
   toggles `.active` instead of writing an inline style, so the !important
   fight the attribute selectors existed to win no longer happens. */
.hurricane-methodology-popup {
    display: none;
    position: fixed !important;
    z-index: 1500 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(5px) !important;
    align-items: center !important;
    justify-content: center !important;
}

.hurricane-methodology-popup.active {
    display: flex;
}

.hurricane-methodology-popup-content {
    background: white !important;
    width: 90% !important;
    max-width: 900px !important;
    height: 90% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.hurricane-methodology-popup-header {
    background: linear-gradient(135deg, var(--hur-primary), var(--hur-secondary), var(--hur-accent)) !important;
    color: white !important;
    padding: 1.25rem 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.hurricane-methodology-popup-title {
    margin: 0 !important;
    font-size: 1.15rem !important;
    color: white !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.hurricane-methodology-popup-close {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    cursor: pointer !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: all 0.3s !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
}

.hurricane-methodology-popup-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.hurricane-methodology-popup-body {
    padding: 1.5rem !important;
    height: calc(100% - 80px) !important;
    overflow-y: auto !important;
}

.hurricane-methodology-heading {
    color: var(--hur-primary) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.85rem !important;
    margin-top: 1.25rem !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.hurricane-methodology-heading:first-child {
    margin-top: 0 !important;
}

.hurricane-methodology-paragraph {
    color: var(--hur-text-light) !important;
    line-height: 1.7 !important;
    margin-bottom: 0.75rem !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
}

.hurricane-methodology-list {
    margin: 0.85rem 0 !important;
    padding-left: 1.5rem !important;
    list-style: disc !important;
}

.hurricane-methodology-list-item {
    color: var(--hur-text-light) !important;
    line-height: 1.7 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.9rem !important;
}

.hurricane-methodology-list-item strong {
    color: var(--hur-primary) !important;
    font-weight: 700 !important;
}

.hurricane-methodology-colored-span {
    font-weight: 600 !important;
}

/* ============================================ */
/* LIGHTBOX STYLES */
/* ============================================ */

/* Was toggled by inline `display: block` from JS; now uses .active to match
   the modal and methodology popup. */
.hurricane-lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
}

.hurricane-lightbox.active {
    display: block;
}

.hurricane-lightbox-content {
    max-width: 95%;
    max-height: 95%;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.hurricane-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2001;
}

.hurricane-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

/* ============================================ */
/* IMAGE STYLES */
/* ============================================ */

.hurricane-small-inline-img {
    max-width: 100%;
    width: 400px;
    height: auto;
    display: block;
    margin: 1rem 0;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.hurricane-inline-image-wrapper {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.hurricane-inline-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.hurricane-inline-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hurricane-inline-image-caption {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.hurricane-note-image-inline {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 1.5rem 0;
}

.hurricane-note-text {
    flex: 1;
    min-width: 0;
}

.hurricane-note-image-wrapper {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
}

/* ============================================ */
/* REGULATORY CONTEXT SECTION */
/* ============================================ */

.hurricane-regulatory-context {
    margin: 0 0 1rem 0 !important;
    padding: 0.15rem 0 !important;
    border-top: 2px solid #3a4373;
    border-bottom: 2px solid #3a4373;
}

.hurricane-quote-section {
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px dashed #ccc;
}

.hurricane-quote-intro {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    margin: 0.25rem 0 0 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hurricane-quote-title {
    font-size: 1rem !important;
    font-weight: 600;
    color: #303158;
    margin: 0 0 0.3rem 0 !important;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hurricane-blockquote {
    margin: 0;
    padding: 0.4rem 0 0.4rem 1.5rem !important;
    border-left: 3px solid #3a4373;
    background: #fafafa;
    position: relative;
}

.hurricane-blockquote::before {
    content: '"';
    position: absolute;
    left: 0.3rem;
    top: 0.2rem;
    font-size: 2rem;
    color: #3a4373;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.hurricane-blockquote p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #333;
    margin: 0 0 0.3rem 0 !important;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
}

.hurricane-quote-attribution {
    font-size: 0.8rem;
    color: #666;
    margin: 0.25rem 0 0 1.5rem !important;
    font-style: normal;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hurricane-analysis-section {
    margin-top: 0.5rem !important;
}

.hurricane-analysis-section h3 {
    font-size: 1rem !important;
    font-weight: 600;
    color: #303158;
    margin: 0.3rem 0 0.3rem 0 !important;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hurricane-analysis-section p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #333;
    margin: 0 0 0.4rem 0 !important;
    font-family: 'Open Sans', 'Times New Roman', serif;
}

.hurricane-analysis-section p:last-child {
    margin-bottom: 0;
}

/* ============================================ */
/* TABLE OF CONTENTS */
/* ============================================ */

.hurricane-toc {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
}

.hurricane-toc-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.6rem 0.7rem !important;
    background: #f8f9fa !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
}

.hurricane-toc-link:hover {
    background: linear-gradient(135deg, rgba(74, 97, 163, 0.08), rgba(74, 97, 163, 0.04)) !important;
    border-left-color: var(--hur-accent) !important;
    transform: translateX(4px) !important;
}

.hurricane-toc-number {
    flex-shrink: 0 !important;
    width: 28px !important;
    height: 28px !important;
    background: var(--hur-primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

.hurricane-toc-link:hover .hurricane-toc-number {
    background: var(--hur-accent) !important;
    transform: scale(1.1) !important;
}

.hurricane-toc-text {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--hur-primary) !important;
    line-height: 1.3 !important;
}

/* ============================================ */
/* TOOLTIP STYLES */
/* ============================================ */

.hurricane-tooltip {
    position: relative !important;
    display: inline !important;
    border-bottom: 2px dotted var(--hur-accent) !important;
    cursor: help !important;
    color: var(--hur-accent) !important;
    font-weight: 600 !important;
}

.hurricane-tooltip::after {
    content: attr(data-tooltip) !important;
    position: absolute !important;
    bottom: 125% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--hur-primary) !important;
    color: white !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    width: 320px !important;
    max-width: 90vw !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    font-weight: 400 !important;
    text-align: left !important;
}

.hurricane-tooltip::before {
    content: '' !important;
    position: absolute !important;
    bottom: 115% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: 6px solid transparent !important;
    border-top-color: var(--hur-primary) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
}

.hurricane-tooltip:hover::after,
.hurricane-tooltip:hover::before {
    opacity: 1 !important;
    visibility: visible !important;
}

.hurricane-tooltip.active::after,
.hurricane-tooltip.active::before {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ============================================ */
/* EXTRACTED FROM INLINE style="" ATTRIBUTES */
/* ============================================ */

/* Footnotes block, 7 instances (one per modal) */
.hurricane-footnotes {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.hurricane-footnotes-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hur-primary);
    margin-bottom: 1rem;
}

.hurricane-footnotes-list {
    font-size: 0.8rem;
    color: var(--hur-text-light);
    line-height: 1.6;
}

.hurricane-footnotes-list p {
    margin-bottom: 0.75rem;
}

/* Superscript footnote reference in body copy, 13 instances */
.hurricane-fn-ref {
    cursor: pointer;
    color: var(--hur-accent);
    text-decoration: none;
    font-weight: 600;
}

/* Return arrow at the end of each footnote, 13 instances */
.hurricane-fn-back {
    color: var(--hur-accent);
    text-decoration: none;
    margin-left: 0.5rem;
    cursor: pointer;
}

/* Grey boxes around analytical dimensions (A)-(D) in the methodology popup */
.hurricane-methodology-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.hurricane-methodology-box .hurricane-methodology-heading {
    margin-top: 0 !important;
}

/* Path / non-path / hurricane-free colour legend */
.hurricane-legend-path {
    color: #ff0000 !important;
}

.hurricane-legend-nonpath {
    color: #0000ff !important;
}

.hurricane-legend-free {
    color: #339966 !important;
}

/* Visually hidden but crawlable: SEO summary + deep-link list */
.hurricane-sr-only {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================ */
/* MOBILE RESPONSIVE STYLES */
/* ============================================ */

@media (max-width: 1024px) {
    .hurricane-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .hurricane-text-image-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hurricane-modal-nav-buttons {
        flex-direction: column;
    }

    .hurricane-note-image-inline {
        flex-direction: column;
        gap: 1rem;
    }

    .hurricane-note-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hurricane-label-uppercase {
        font-size: 0.85rem !important;
    }

    .hurricane-example-content {
        padding: 1.25rem 1.25rem 2rem 1.25rem !important;
    }

    .hurricane-narrative-headline {
        font-size: 1.1rem !important;
    }

    .hurricane-narrative-subheading {
        font-size: 0.85rem !important;
    }

    .hurricane-events-alternating {
        gap: 0.75rem !important;
    }

    .hurricane-event-alt {
        padding: 0.75rem 0.85rem !important;
        font-size: 0.85rem !important;
        min-width: 100px !important;
    }

    .hurricane-study-section {
        padding: 1rem 1.25rem !important;
        margin-bottom: 1.5rem !important;
        margin-left: 1.25rem !important;
        margin-right: 1.25rem !important;
    }

    .hurricane-study-section-title {
        font-size: 1.1rem !important;
    }

    .hurricane-study-section-content {
        font-size: 0.85rem !important;
    }

    .hurricane-methodology-toggle-btn {
        font-size: 0.85rem !important;
    }

    .hurricane-question-header {
        padding: 0 !important;
        gap: 0.85rem !important;
    }

    .hurricane-question-number {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.9rem !important;
    }

    .hurricane-question-title {
        font-size: 0.85rem !important;
    }

    .hurricane-question-card {
        padding: 1rem 1rem 0.75rem 1rem !important;
        margin-left: 1.25rem !important;
        margin-right: 1.25rem !important;
    }

    .hurricane-question-answer {
        font-size: 0.85rem !important;
    }

    .hurricane-question-answer p {
        font-size: 0.85rem !important;
    }

    .hurricane-question-answer div {
        font-size: 0.85rem !important;
    }

    .hurricane-question-answer div p {
        font-size: 0.85rem !important;
    }

    .hurricane-insight-text {
        font-size: 0.85rem !important;
    }

    .hurricane-questions-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hurricane-cards-section {
        padding: 1.5rem 1.25rem 2rem 1.25rem !important;
        margin-top: 1.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hurricane-cards-section-title {
        font-size: 1.1rem !important;
    }

    .hurricane-cards-section-subtitle,
    .hurricane-cards-section > p {
        font-size: 0.85rem !important;
    }

    .hurricane-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .hurricane-framework-title {
        font-size: 1.1rem !important;
    }

    .hurricane-card {
        padding: 0.65rem 1rem 0.85rem 1rem !important;
    }

    .hurricane-card-title {
        font-size: 0.85rem !important;
    }

    .hurricane-card-badge {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.5rem !important;
    }

    .hurricane-card-stat {
        font-size: 0.8rem !important;
        padding: 0.25rem 0.55rem !important;
    }

    .hurricane-card-conclusion {
        font-size: 0.85rem !important;
    }

    .hurricane-findings-section {
        padding: 1.5rem 1.25rem 2rem 1.25rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hurricane-findings-title {
        font-size: 1.1rem !important;
    }

    .hurricane-findings-subtitle {
        font-size: 0.85rem !important;
    }

    .hurricane-finding-item {
        padding: 1rem !important;
        gap: 0.85rem !important;
    }

    .hurricane-finding-number {
        width: 6px !important;
        height: 6px !important;
        margin-top: 0.4rem !important;
    }

    .hurricane-finding-header {
        font-size: 0.85rem !important;
    }

    .hurricane-finding-text {
        font-size: 0.85rem !important;
    }

    .hurricane-modal-content {
        width: 95% !important;
        height: 96% !important;
        margin: 1% auto !important;
    }

    .hurricane-modal-header {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
        padding: 1.25rem !important;
    }

    .hurricane-modal-title {
        font-size: 1.1rem !important;
    }

    .hurricane-modal-date {
        font-size: 0.85rem !important;
    }

    .hurricane-modal-nav-buttons {
        width: 100% !important;
        flex-direction: row !important;
    }

    .hurricane-modal-nav-btn {
        flex: 1 !important;
        font-size: 0.85rem !important;
    }

    .hurricane-modal-body {
        padding: 1.25rem !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hurricane-modal-paragraph {
        font-size: 0.85rem !important;
    }

    .hurricane-modal-section-heading {
        font-size: 1.1rem !important;
    }

    .hurricane-charts-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .hurricane-chart-title {
        font-size: 0.85rem !important;
    }

    .hurricane-chart-caption {
        font-size: 0.85rem !important;
    }

    .hurricane-iframe-container {
        height: 350px !important;
        margin: 1.25rem 0 !important;
        overflow: hidden !important;
    }

    .hurricane-iframe {
        width: 222% !important;
        height: 778px !important;
        transform: scale(0.45) !important;
        -webkit-transform: scale(0.45) !important;
        -moz-transform: scale(0.45) !important;
        transform-origin: top left !important;
        -webkit-transform-origin: top left !important;
        -moz-transform-origin: top left !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    .hurricane-methodology-popup-content {
        width: 95% !important;
        height: 95% !important;
        margin: 2.5% auto !important;
    }

    .hurricane-methodology-popup-title {
        font-size: 1.1rem !important;
    }

    .hurricane-methodology-popup-body {
        padding: 1.25rem !important;
    }

    .hurricane-methodology-heading {
        font-size: 0.85rem !important;
    }

    .hurricane-methodology-paragraph {
        font-size: 0.85rem !important;
    }

    .hurricane-methodology-list-item {
        font-size: 0.85rem !important;
    }

    .hurricane-methodology-refresh {
        bottom: 1rem !important;
        right: 1rem !important;
    }

    .hurricane-methodology-refresh-btn {
        padding: 0.65rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .hurricane-lightbox {
        padding: 1rem !important;
    }

    .hurricane-lightbox-close {
        top: 0.5rem !important;
        right: 0.5rem !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 2rem !important;
    }

    .hurricane-inline-image-caption {
        font-size: 0.85rem !important;
    }

    .hurricane-evidence-box {
        padding: 0.875rem 1rem !important;
    }

    .hurricane-evidence-heading {
        font-size: 0.85rem !important;
    }

    .hurricane-evidence-text {
        font-size: 0.85rem !important;
    }

    .hurricane-toc-link {
        padding: 0.5rem 0.6rem !important;
        gap: 0.65rem !important;
    }

    .hurricane-toc-number {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.85rem !important;
    }

    .hurricane-toc-text {
        font-size: 0.85rem !important;
    }

    .hurricane-tooltip::after {
        width: 280px !important;
        font-size: 0.85rem !important;
        padding: 0.55rem 0.75rem !important;
    }

    .hurricane-regulatory-context {
        padding: 0.15rem 0;
        margin-bottom: 0.75rem;
    }

    .hurricane-quote-intro {
        font-size: 0.8rem;
        margin-top: 0.2rem;
    }

    .hurricane-quote-title {
        font-size: 0.85rem;
    }

    .hurricane-blockquote {
        padding: 0.35rem 0 0.35rem 1.2rem;
    }

    .hurricane-blockquote::before {
        font-size: 1.5rem;
        left: 0.2rem;
    }

    .hurricane-blockquote p {
        font-size: 0.85rem;
    }

    .hurricane-quote-attribution {
        font-size: 0.8rem;
        margin-left: 1.2rem;
    }

    .hurricane-analysis-section h3 {
        font-size: 0.85rem;
    }

    .hurricane-analysis-section p {
        font-size: 0.85rem;
    }

    .hurricane-small-inline-img {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hurricane-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hurricane-label-uppercase {
        font-size: 0.8rem !important;
    }

    .hurricane-example-content {
        padding: 1rem 1rem 1.5rem 1rem !important;
    }

    .hurricane-narrative-headline {
        font-size: 1.05rem !important;
    }

    .hurricane-narrative-subheading {
        font-size: 0.8rem !important;
    }

    .hurricane-event-alt {
        font-size: 0.8rem !important;
    }

    .hurricane-study-section-title {
        font-size: 1.05rem !important;
    }

    .hurricane-study-section-content {
        font-size: 0.8rem !important;
    }

    .hurricane-methodology-toggle-btn {
        font-size: 0.8rem !important;
    }

    .hurricane-question-title {
        font-size: 0.8rem !important;
    }

    .hurricane-question-answer {
        font-size: 0.8rem !important;
    }

    .hurricane-question-answer p {
        font-size: 0.8rem !important;
    }

    .hurricane-question-answer div {
        font-size: 0.8rem !important;
    }

    .hurricane-question-answer div p {
        font-size: 0.8rem !important;
    }

    .hurricane-card {
        padding: 0.55rem 0.85rem 0.75rem 0.85rem !important;
    }

    .hurricane-card-title {
        font-size: 0.8rem !important;
        gap: 0.5rem !important;
    }

    .hurricane-card-badge {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.45rem !important;
    }

    .hurricane-card-stat {
        font-size: 0.75rem !important;
    }

    .hurricane-card-conclusion {
        font-size: 0.8rem !important;
    }

    .hurricane-question-card {
        padding: 0.9rem 0.9rem 0.65rem 0.9rem !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .hurricane-study-section {
        padding: 1rem !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .hurricane-cards-section {
        padding: 1.25rem 1rem 1.75rem 1rem !important;
    }

    .hurricane-cards-section-title {
        font-size: 1.05rem !important;
    }

    .hurricane-cards-section-subtitle,
    .hurricane-cards-section > p {
        font-size: 0.8rem !important;
    }

    .hurricane-findings-section {
        padding: 1.25rem 1rem 1.75rem 1rem !important;
    }

    .hurricane-findings-title {
        font-size: 1.05rem !important;
    }

    .hurricane-findings-subtitle {
        font-size: 0.8rem !important;
    }

    .hurricane-finding-header {
        font-size: 0.8rem !important;
    }

    .hurricane-finding-text {
        font-size: 0.8rem !important;
    }

    .hurricane-questions-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hurricane-modal-title {
        font-size: 1.05rem !important;
    }

    .hurricane-modal-date {
        font-size: 0.8rem !important;
    }

    .hurricane-modal-nav-btn {
        font-size: 0.8rem !important;
    }

    .hurricane-modal-paragraph {
        font-size: 0.8rem !important;
    }

    .hurricane-modal-section-heading {
        font-size: 1.05rem !important;
    }

    .hurricane-chart-title {
        font-size: 0.8rem !important;
    }

    .hurricane-chart-caption {
        font-size: 0.8rem !important;
    }

    .hurricane-methodology-popup-title {
        font-size: 1.05rem !important;
    }

    .hurricane-methodology-heading {
        font-size: 0.8rem !important;
    }

    .hurricane-methodology-paragraph,
    .hurricane-methodology-list-item {
        font-size: 0.8rem !important;
    }

    .hurricane-methodology-refresh {
        bottom: 0.75rem !important;
        right: 0.75rem !important;
    }

    .hurricane-methodology-refresh-btn {
        padding: 0.55rem 0.85rem !important;
        font-size: 0.8rem !important;
    }

    .hurricane-iframe-container {
        height: 280px !important;
        margin: 1rem 0 !important;
        overflow: hidden !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .hurricane-iframe {
        width: 270% !important;
        height: 750px !important;
        transform: scale(0.38) !important;
        -webkit-transform: scale(0.38) !important;
        -moz-transform: scale(0.38) !important;
        transform-origin: top left !important;
        -webkit-transform-origin: top left !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    .hurricane-modal-body {
        padding: 1rem !important;
        overflow-x: hidden !important;
    }

    .hurricane-inline-image-caption {
        font-size: 0.8rem !important;
    }

    .hurricane-evidence-box {
        padding: 0.75rem 0.875rem !important;
        margin-top: 0.875rem !important;
    }

    .hurricane-evidence-heading {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
    }

    .hurricane-evidence-text {
        font-size: 0.8rem !important;
    }

    .hurricane-toc {
        gap: 0.4rem !important;
    }

    .hurricane-toc-link {
        padding: 0.45rem 0.55rem !important;
    }

    .hurricane-toc-number {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8rem !important;
    }

    .hurricane-toc-text {
        font-size: 0.8rem !important;
    }

    .hurricane-tooltip::after {
        width: 240px !important;
        font-size: 0.8rem !important;
        padding: 0.5rem 0.65rem !important;
        left: 0 !important;
        transform: translateX(0) !important;
    }

    .hurricane-tooltip::before {
        left: 20px !important;
        transform: translateX(0) !important;
    }
}

@media (max-width: 360px) {
    .hurricane-iframe-container {
        height: 240px !important;
        overflow: hidden !important;
    }

    .hurricane-iframe {
        width: 303% !important;
        height: 727px !important;
        transform: scale(0.33) !important;
        -webkit-transform: scale(0.33) !important;
        -moz-transform: scale(0.33) !important;
    }
}

/* ============================================ */
/* ACCESSIBILITY                                 */
/* ============================================ */

/* The narrative headline is an <h2>, not an <h1>. The theme already emits an
   <h1> carrying the post title, so the post was shipping two competing <h1>s.
   Demoting it also dissolves the empty-heading problem that the mobile hide
   used to create — the theme's <h1> is now the page's only one — so a plain
   display:none is correct again, matching the original behaviour. */
.hurricane-desktop-only {
    display: inline !important;
}

@media screen and (max-width: 768px) {
    .hurricane-desktop-only {
        display: none !important;
    }
}

/* Scroll lock while any dialog is open.
   A class on <html> rather than an inline style on <body>: the header code in
   sra-scripts.js clears inline body overflow on every click that lands outside
   #sraHeaderMobileNav, which wiped the lock the instant a modal opened.
   !important is required because the theme sets overflow-y on <body>.
   Both elements are locked because <html> is the document scroller here. */
html.hur-scroll-locked,
html.hur-scroll-locked body {
    overflow: hidden !important;
}

/* Chart wrapper. Shared by the <a> variants and by the <button> elements that
   now wrap the 27 charts which used to be bare clickable <img> tags — those
   were unreachable by keyboard. Resets the UA button chrome to nothing so both
   variants render identically. */
.hurricane-chart-link {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: center;
    cursor: pointer;
}

/* Visible focus for every interactive control in the article. Stated
   explicitly because a theme reset elsewhere can otherwise remove it. */
.hurricane-container :is(a, button, [role="button"], [tabindex]):focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--hur-accent);
}

.hurricane-cards-section :is(a, button, [role="button"], [tabindex]):focus-visible,
.hurricane-example-content :is(a, button, [role="button"], [tabindex]):focus-visible,
.hurricane-findings-section :is(a, button, [role="button"], [tabindex]):focus-visible {
    outline: 3px solid var(--hur-primary);
    outline-offset: 2px;
    box-shadow: none;
}

/* Keyboard users get the tooltip on focus, not just hover. */
.hurricane-tooltip:focus-visible::after,
.hurricane-tooltip:focus-visible::before {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
    .hurricane-container *,
    .hurricane-container *::before,
    .hurricane-container *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }

    .hurricane-card:hover,
    .hurricane-event-alt:hover,
    .hurricane-finding-item:hover,
    .hurricane-chart-image:hover,
    .hurricane-methodology-refresh-btn:hover,
    .hurricane-methodology-toggle-btn:hover,
    .hurricane-toc-link:hover,
    .hurricane-toc-link:hover .hurricane-toc-number {
        transform: none !important;
    }

    .hurricane-lightbox-close:hover {
        transform: none !important;
    }
}

/* ============================================================
   DROPPED AS DEAD — recorded here so the decisions are auditable:

   1. `.hurricane-label-spaced` (was inline margin-bottom: 24px on the
      "Two Critical Questions" label). `.hurricane-label-uppercase` sets
      margin-bottom: 1rem !important, which already beat the non-!important
      inline value. The rendered spacing has always been 16px, not 24px.

   2. `.hurricane-cards-intro` (was inline font-size: 0.95rem; color: #555;
      margin-bottom: 20px). `.hurricane-cards-section > p` sets all three
      with !important, so the inline values never applied.

   3. `.hurricane-cards-section > p[style*="font-size"]` — selector depended
      on the inline style that has now been removed. The `> p` selector in
      the same rule already matches the element.

   4. `.mobile-break` — never referenced by any markup in the post.

   5. `.desktop-only` — its single use, on the <h1> text, is now
      `.hurricane-h1-text`, which clips rather than removes.
   ============================================================ */
