/*--------------------------------------------------------------
  SHU — Policy & Advocacy / NHIS Redesigned Section
  Namespace: .shu-nhis-*
  Design System Tokens:
    - Primary Blue:  #1f76bd
    - Primary Green: #43A443
    - Headings/Body: 'Merriweather', Georgia, serif
    - Labels/Nav:    'Jost', -apple-system, sans-serif
--------------------------------------------------------------*/

/* ── Outer Section Container ──────────────────────────────── */
.shu-nhis-section {
    background: #f4f8fb !important;
    border: 1px solid #e2ecf5 !important;
    border-radius: 20px !important;
    padding: clamp(36px, 4.5vw, 56px) clamp(24px, 4vw, 50px) !important;
    margin: 48px 0 !important;
    box-shadow: 0 10px 30px rgba(31, 118, 189, 0.06) !important;
    box-sizing: border-box !important;
    clear: both !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.shu-nhis-section > .wp-block-group__inner-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
}

/* ── Two-Column Layout ────────────────────────────────────── */
.shu-nhis-inner {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.shu-nhis-inner > .wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    gap: clamp(36px, 4vw, 56px) !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.shu-nhis-inner:not(:has(> .wp-block-group__inner-container)) {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    gap: clamp(36px, 4vw, 56px) !important;
    align-items: stretch !important;
    width: 100% !important;
}

@media (max-width: 991px) {
    .shu-nhis-inner > .wp-block-group__inner-container,
    .shu-nhis-inner:not(:has(> .wp-block-group__inner-container)) {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* ── LEFT COLUMN: Two-Image Layered Collage ────────────────── */
.shu-nhis-collage-col,
.shu-nhis-collage-col > .wp-block-group__inner-container {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    display: block !important;
}

.shu-nhis-collage {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    box-sizing: border-box !important;
    display: block !important;
}

@media (max-width: 991px) {
    .shu-nhis-collage-col,
    .shu-nhis-collage-col > .wp-block-group__inner-container,
    .shu-nhis-collage {
        min-height: 420px !important;
    }
}

@media (max-width: 576px) {
    .shu-nhis-collage-col,
    .shu-nhis-collage-col > .wp-block-group__inner-container,
    .shu-nhis-collage {
        min-height: 350px !important;
    }
}

/* Main Image (Top-Left, 78% width, 68% height) */
.shu-nhis-img-main {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 78% !important;
    height: 68% !important;
    min-height: 310px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12) !important;
    z-index: 1 !important;
    margin: 0 !important;
    background: #e2ecf5 !important;
}

@media (max-width: 576px) {
    .shu-nhis-img-main {
        min-height: 220px !important;
    }
}

.shu-nhis-img-main figure,
.shu-nhis-img-main .wp-block-image {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.shu-nhis-img-main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 14px !important;
    transition: transform 0.4s ease !important;
}

.shu-nhis-img-main:hover img {
    transform: scale(1.02) !important;
}

/* "Policy & Advocacy" Tag pinned top-left of main image */
.shu-nhis-tag {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 6 !important;
    background: #1f76bd !important;
    color: #ffffff !important;
    font-family: 'Jost', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(31, 118, 189, 0.4) !important;
    line-height: 1 !important;
    margin: 0 !important;
    pointer-events: none !important;
    display: inline-block !important;
}

/* Second Overlapping Image (Bottom-Right, 62% width, 52% height) */
.shu-nhis-img-second {
    position: absolute !important;
    bottom: 14px !important;
    right: 0 !important;
    width: 62% !important;
    height: 52% !important;
    min-height: 240px !important;
    border-radius: 14px !important;
    border: 4px solid #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18) !important;
    z-index: 2 !important;
    margin: 0 !important;
    background: #e2ecf5 !important;
}

@media (max-width: 576px) {
    .shu-nhis-img-second {
        min-height: 170px !important;
    }
}

.shu-nhis-img-second figure,
.shu-nhis-img-second .wp-block-image {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.shu-nhis-img-second img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 10px !important;
    transition: transform 0.4s ease !important;
}

.shu-nhis-img-second:hover img {
    transform: scale(1.03) !important;
}

/* Floating Sky Blue Caption Card */
.shu-nhis-caption {
    position: absolute !important;
    bottom: -10px !important;
    left: 8px !important;
    z-index: 5 !important;
    background: #B4D6E3 !important;
    color: #000000 !important;
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: clamp(11px, 1.1vw, 12.5px) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    max-width: 82% !important;
    box-shadow: 0 6px 20px rgba(180,214,227,0.45) !important;
    margin: 0 !important;
    display: block !important;
}

.shu-nhis-caption em {
    font-style: italic !important;
    color: #000000 !important;
}

/* ── RIGHT COLUMN: Policy Content & Timeline ──────────────── */
.shu-nhis-text-col,
.shu-nhis-text-col > .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: 100% !important;
}

/* Eyebrow Label */
.shu-nhis-eyebrow {
    font-family: 'Jost', -apple-system, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #d96b0c !important;
    margin: 0 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.shu-nhis-eyebrow::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 2px;
    background: #d96b0c;
    flex-shrink: 0;
    border-radius: 1px;
}

/* Section Heading */
.shu-nhis-heading {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: clamp(19px, 2.1vw, 24px) !important;
    font-weight: 700 !important;
    color: #1f76bd !important;
    line-height: 1.45 !important;
    margin: 0 0 12px !important;
}

/* Small Orange Underline Accent */
.shu-nhis-accent {
    width: 44px;
    height: 3px;
    background: #d96b0c;
    border-radius: 2px;
    margin: 0 0 24px;
    display: block;
}

/* ── Numbered Timeline List ──────────────────────────────── */
.shu-nhis-timeline {
    position: relative !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Vertical connecting line — all orange */
.shu-nhis-timeline::before {
    content: '' !important;
    position: absolute !important;
    left: 18px !important;
    top: 20px !important;
    bottom: 24px !important;
    width: 2px !important;
    background: #d96b0c !important;
    z-index: 1 !important;
    border-radius: 1px !important;
}

/* Timeline Item */
.shu-nhis-timeline-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Circular Numbered Badge — orange */
.shu-nhis-badge {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    border-radius: 50% !important;
    background: #d96b0c !important;
    color: #ffffff !important;
    font-family: 'Jost', -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 3px 10px rgba(217,107,12,0.32) !important;
    margin: 0 !important;
    line-height: 1 !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

.shu-nhis-timeline-item:hover .shu-nhis-badge {
    background: #c05e08 !important;
    transform: scale(1.08) !important;
}

/* Item Description Text */
.shu-nhis-item-text {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #3b4550 !important;
    line-height: 1.72 !important;
    padding-top: 4px !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
}

.shu-nhis-item-text strong {
    color: #1e293b !important;
    font-weight: 700 !important;
}

/* ── Stagger Timing Fallbacks ────────────────────────────── */
.shu-nhis-timeline-item:nth-child(1).animated { animation-delay: 100ms !important; }
.shu-nhis-timeline-item:nth-child(2).animated { animation-delay: 220ms !important; }
.shu-nhis-timeline-item:nth-child(3).animated { animation-delay: 340ms !important; }
.shu-nhis-timeline-item:nth-child(4).animated { animation-delay: 460ms !important; }
.shu-nhis-timeline-item:nth-child(5).animated { animation-delay: 580ms !important; }

/* ── Full-Width Callout Band ──────────────────────────────── */
.shu-nhis-callout {
    background: #B4D6E3 !important;
    border: 1px solid #93c4d6 !important;
    border-radius: 16px !important;
    padding: clamp(24px, 3vw, 32px) clamp(24px, 3.5vw, 36px) !important;
    box-shadow: 0 4px 16px rgba(180,214,227,0.25) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    clear: both !important;
    margin-top: 12px !important;
    display: block !important;
}

.shu-nhis-callout > .wp-block-group__inner-container,
.shu-nhis-callout:not(:has(> .wp-block-group__inner-container)) {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 0 !important;
    align-items: center !important;
    width: 100% !important;
}

@media (max-width: 640px) {
    .shu-nhis-callout > .wp-block-group__inner-container,
    .shu-nhis-callout:not(:has(> .wp-block-group__inner-container)) {
        grid-template-columns: 1fr !important;
    }
}

/* Stat Side (2002 / ESTABLISHED) */
.shu-nhis-stat {
    padding-right: clamp(24px, 3vw, 40px) !important;
    border-right: 2px solid #d96b0c !important;
    margin-right: clamp(24px, 3vw, 40px) !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    display: block !important;
}

@media (max-width: 640px) {
    .shu-nhis-stat {
        border-right: none !important;
        border-bottom: 2px solid #d96b0c !important;
        padding-right: 0 !important;
        padding-bottom: 16px !important;
        margin-right: 0 !important;
        margin-bottom: 16px !important;
        text-align: left !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 12px !important;
    }
}

.shu-nhis-stat__number {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: clamp(42px, 5vw, 56px) !important;
    font-weight: 900 !important;
    color: #1f76bd !important;
    line-height: 1 !important;
    display: block !important;
}

.shu-nhis-stat__label {
    font-family: 'Jost', -apple-system, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #d96b0c !important;
    display: block !important;
    margin-top: 6px !important;
    line-height: 1.2 !important;
}

/* Callout Text Side */
.shu-nhis-callout-text,
.shu-nhis-callout-text > .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.shu-nhis-callout-text h4,
.shu-nhis-callout-text .wp-block-heading {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: clamp(18px, 1.8vw, 21px) !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 6px !important;
    line-height: 1.35 !important;
}

.shu-nhis-callout-text p {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 14.5px !important;
    color: #475569 !important;
    line-height: 1.75 !important;
    margin: 0 !important;
}
