/* Public Health Advisory — frontend */

/* Standalone advisory layout (no site mega-menu) */
.pha-standalone-body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--pha-text, #1e293b);
    background: var(--pha-bg, #f4f8fb);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.pha-standalone-main {
    flex: 1;
}
.pha-standalone-header {
    background: #fff;
    border-bottom: 1px solid var(--pha-border, #d8e6ef);
    box-shadow: 0 1px 0 rgba(8, 69, 102, 0.06);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.pha-standalone-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 0.85rem 0;
}
.pha-standalone-brand img {
    max-height: 52px;
    width: auto;
    display: block;
}
.pha-standalone-header-text {
    flex: 1;
    min-width: 180px;
}
.pha-standalone-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pha-muted, #64748b);
}
.pha-standalone-site-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pha-primary, #0c5f8a);
    line-height: 1.25;
}
.pha-standalone-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: auto;
}
.pha-btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
}
.pha-standalone-footer {
    background: var(--pha-primary-dark, #084566);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.25rem 0;
    margin-top: 2rem;
}
.pha-standalone-footer a {
    color: #fff;
    text-decoration: underline;
}
.pha-advisory-title {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

:root {
    --pha-primary: #0c5f8a;
    --pha-primary-dark: #084566;
    --pha-accent: #1a8f5c;
    --pha-warm: #c45c26;
    --pha-bg: #f4f8fb;
    --pha-border: #d8e6ef;
    --pha-text: #1e293b;
    --pha-muted: #64748b;
}

/* Sticky ribbon */
.pha-ribbon {
    position: relative;
    z-index: 1040;
    background: linear-gradient(90deg, var(--pha-primary-dark) 0%, var(--pha-primary) 55%, #0d7a8c 100%);
    color: #fff;
    font-size: 0.9rem;
    padding: 0.55rem 0;
    box-shadow: 0 2px 8px rgba(8, 69, 102, 0.2);
}
.pha-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    text-align: center;
}
.pha-ribbon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.pha-ribbon a.pha-ribbon-link {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pha-ribbon a.pha-ribbon-link:hover {
    color: #e0f4ff;
}

/* Modal overlay */
.pha-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.pha-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.pha-modal-overlay.is-open .pha-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.pha-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: linear-gradient(165deg, #ffffff 0%, var(--pha-bg) 100%);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(8, 69, 102, 0.18), 0 0 0 1px var(--pha-border);
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.pha-modal-header {
    background: linear-gradient(135deg, var(--pha-primary-dark) 0%, var(--pha-primary) 100%);
    color: #fff;
    padding: 1.35rem 1.5rem 1.1rem;
    text-align: center;
}
.pha-modal-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.pha-modal-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.35rem;
}
.pha-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.pha-modal-body {
    padding: 1.35rem 1.5rem 1.25rem;
    color: var(--pha-text);
}
.pha-modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--pha-muted);
    margin-bottom: 1rem;
}
.pha-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}
.pha-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--pha-border);
    color: var(--pha-text);
}
.pha-meta-chip i {
    color: var(--pha-accent);
}
.pha-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.pha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.pha-btn-primary {
    background: var(--pha-primary);
    color: #fff;
    flex: 1;
    min-width: 140px;
}
.pha-btn-primary:hover {
    background: var(--pha-primary-dark);
    color: #fff;
}
.pha-btn-ghost {
    background: transparent;
    color: var(--pha-muted);
    border: 1px solid var(--pha-border);
}
.pha-btn-ghost:hover {
    background: #fff;
    color: var(--pha-text);
}
.pha-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}
.pha-modal-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Detail page */
.pha-page-hero {
    position: relative;
    padding: 2.5rem 0 2rem;
    background: linear-gradient(135deg, var(--pha-primary-dark) 0%, var(--pha-primary) 50%, #0d7a8c 100%);
    color: #fff;
    overflow: hidden;
}
.pha-page-hero.has-banner {
    min-height: 220px;
}
.pha-page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}
.pha-page-hero-inner {
    position: relative;
    z-index: 1;
}
.pha-page-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.25rem 0.85rem;
    margin-bottom: 0.75rem;
}
.pha-page-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.pha-page-lead {
    max-width: 720px;
    opacity: 0.92;
    font-size: 1rem;
    line-height: 1.55;
}
.pha-hero-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.pha-hero-actions .pha-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.pha-hero-actions .pha-btn:hover {
    background: #fff;
    color: var(--pha-primary);
}

.pha-content-wrap {
    padding: 2rem 0 3rem;
}
.pha-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border-bottom: 2px solid var(--pha-border);
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}
.pha-tab-btn {
    border: none;
    background: transparent;
    color: var(--pha-muted);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.65rem 1rem;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.pha-tab-btn:hover,
.pha-tab-btn[aria-selected="true"] {
    color: var(--pha-primary);
    background: #fff;
}
.pha-tab-btn[aria-selected="true"] {
    box-shadow: inset 0 -3px 0 var(--pha-primary);
}
.pha-tab-panel {
    display: none;
    animation: phaFadeIn 0.35s ease;
}
.pha-tab-panel.is-active {
    display: block;
}
@keyframes phaFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.pha-tab-content {
    background: #fff;
    border: 1px solid var(--pha-border);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    line-height: 1.65;
    color: var(--pha-text);
}
.pha-tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.pha-contact-box {
    background: var(--pha-bg);
    border-left: 4px solid var(--pha-accent);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
}
.pha-downloads li {
    margin-bottom: 0.5rem;
}
.pha-downloads a {
    font-weight: 600;
    color: var(--pha-primary);
}

/* Tab media attachments */
.pha-tab-media {
    border-top: 1px solid var(--pha-border);
    padding-top: 1.25rem;
}
.pha-media-section {
    margin-bottom: 1.35rem;
}
.pha-media-section:last-child {
    margin-bottom: 0;
}
.pha-media-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pha-primary-dark);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pha-media-grid {
    display: grid;
    gap: 1rem;
}
/* Video/audio grid (media coverage style) */
.pha-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}
.pha-video-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(8, 69, 102, 0.12);
    transition: transform 0.25s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}
.pha-video-card:hover {
    transform: translateY(-4px);
}
.pha-video-card video,
.pha-video-card .pha-v-thumb,
.pha-video-card img.pha-v-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pha-audio-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, var(--pha-primary-dark), var(--pha-primary));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}
.pha-audio-thumb i {
    font-size: 1.75rem;
}
.pha-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
    pointer-events: none;
}
.pha-play-overlay svg {
    width: 56px;
    height: 56px;
    fill: #fff;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.pha-video-card-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    pointer-events: none;
}
.pha-media-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: rgba(15, 23, 42, 0.92);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.pha-media-modal.is-open {
    display: flex;
}
.pha-media-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    border: none;
    background: transparent;
    z-index: 2;
}
.pha-media-modal-player {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}
.pha-media-modal-iframe {
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    max-height: 85vh;
    border: 0;
    border-radius: 8px;
}
.pha-is-hidden {
    display: none !important;
}
.pha-media-grid--playable {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.pha-media-grid--images {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.pha-media-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--pha-border);
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.pha-media-card:hover {
    box-shadow: 0 8px 24px rgba(8, 69, 102, 0.1);
    transform: translateY(-2px);
    color: inherit;
}
.pha-media-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--pha-bg);
    overflow: hidden;
}
.pha-media-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pha-media-card-thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pha-primary-dark), var(--pha-primary));
}
.pha-media-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    background: rgba(8, 69, 102, 0.25);
}
.pha-media-card-title {
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pha-text);
    line-height: 1.35;
}
.pha-media-card-meta {
    padding: 0 0.75rem 0.65rem;
    font-size: 0.72rem;
    color: var(--pha-muted);
    margin-top: -0.35rem;
}
.pha-media-card--image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.pha-media-card--image .pha-media-card-title {
    font-size: 0.8rem;
}
.pha-media-docs {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.pha-media-doc-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--pha-border);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, border-color 0.2s;
}
.pha-media-doc-card:hover {
    background: var(--pha-bg);
    border-color: var(--pha-primary);
    color: var(--pha-primary-dark);
}
.pha-media-doc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(12, 95, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--pha-primary);
}
.pha-media-doc-title {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
}
.pha-media-doc-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--pha-muted);
    margin-top: 0.15rem;
}
@media (max-width: 575.98px) {
    .pha-media-grid--playable,
    .pha-media-grid--images {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile accordion */
@media (max-width: 767.98px) {
    .pha-tabs-nav {
        display: none;
    }
    .pha-accordion-item {
        border: 1px solid var(--pha-border);
        border-radius: 10px;
        margin-bottom: 0.5rem;
        overflow: hidden;
        background: #fff;
    }
    .pha-accordion-trigger {
        width: 100%;
        text-align: left;
        padding: 0.85rem 1rem;
        font-weight: 600;
        background: var(--pha-bg);
        border: none;
        color: var(--pha-primary);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .pha-accordion-trigger[aria-expanded="true"] {
        background: #fff;
        border-bottom: 1px solid var(--pha-border);
    }
    .pha-accordion-panel {
        display: none;
        padding: 1rem;
    }
    .pha-accordion-panel.is-open {
        display: block;
    }
    .pha-tab-panel.d-md-block {
        display: none !important;
    }
}
@media (min-width: 768px) {
    .pha-accordion-mobile {
        display: none;
    }
}

.pha-sidebar-card {
    background: #fff;
    border: 1px solid var(--pha-border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.pha-sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pha-primary);
    margin-bottom: 0.75rem;
}
.pha-alert-card {
    border: 1px solid var(--pha-border);
    border-radius: 12px;
    padding: 1.25rem;
    background: #fff;
    height: 100%;
    transition: box-shadow 0.2s;
}
.pha-alert-card:hover {
    box-shadow: 0 8px 24px rgba(8, 69, 102, 0.08);
}
.pha-alert-card h3 {
    font-size: 1.05rem;
    color: var(--pha-primary);
}

@media (prefers-reduced-motion: reduce) {
    .pha-modal-overlay,
    .pha-modal,
    .pha-tab-panel,
    .pha-home-banner-icon-wrap,
    .pha-home-banner-cta {
        transition: none;
        animation: none;
    }
    .pha-home-banner-cta:hover {
        transform: none;
    }
}

/* Homepage static advisory card — high-visibility, in document flow */
.pha-home-banner {
    padding: 1.25rem 0 0.75rem;
    margin-bottom: 0.25rem;
    background: linear-gradient(180deg, rgba(12, 95, 138, 0.06) 0%, transparent 100%);
}
.pha-home-banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(12, 95, 138, 0.22);
    box-shadow:
        0 4px 6px rgba(8, 69, 102, 0.06),
        0 12px 32px rgba(8, 69, 102, 0.12),
        inset 4px 0 0 var(--pha-primary);
    max-width: 100%;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.pha-home-banner-card:hover {
    box-shadow:
        0 6px 10px rgba(8, 69, 102, 0.08),
        0 16px 40px rgba(8, 69, 102, 0.14),
        inset 4px 0 0 var(--pha-primary-dark);
}
.pha-home-banner-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 0%, rgba(12, 95, 138, 0.07) 0%, transparent 70%);
    pointer-events: none;
}
.pha-home-banner-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(90deg, var(--pha-primary-dark) 0%, var(--pha-primary) 55%, #0d7a8c 100%);
    color: #fff;
}
.pha-home-banner-header-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pha-home-banner-header-label i {
    font-size: 1rem;
    opacity: 0.95;
}
.pha-home-banner-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #9a3412;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.pha-home-banner-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ea580c;
    flex-shrink: 0;
}
.pha-home-banner-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.15rem 1.5rem;
    align-items: center;
    padding: 1.25rem 1.35rem 1.35rem;
    position: relative;
    z-index: 1;
}
.pha-home-banner-visual {
    flex-shrink: 0;
}
.pha-home-banner-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(12, 95, 138, 0.12) 0%, rgba(13, 122, 140, 0.18) 100%);
    border: 2px solid rgba(12, 95, 138, 0.2);
    box-shadow: 0 4px 14px rgba(12, 95, 138, 0.15);
}
.pha-home-banner-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pha-primary-dark) 0%, var(--pha-primary) 100%);
    color: #fff;
    font-size: 1.85rem;
}
.pha-home-banner-img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid rgba(12, 95, 138, 0.2);
    box-shadow: 0 4px 14px rgba(12, 95, 102, 0.12);
}
.pha-home-banner-body {
    min-width: 0;
}
.pha-home-banner-title {
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    font-weight: 800;
    color: var(--pha-primary-dark);
    margin: 0 0 0.5rem;
    line-height: 1.28;
    letter-spacing: -0.02em;
}
.pha-home-banner-desc {
    margin: 0 0 1rem;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 62ch;
}
.pha-home-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
}
.pha-home-banner-cta {
    flex: 0 1 auto;
    min-width: 200px;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(12, 95, 138, 0.35);
    text-transform: none;
    letter-spacing: 0.01em;
}
.pha-home-banner-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(12, 95, 138, 0.4);
    color: #fff;
}
.pha-home-banner-cta-arrow {
    display: inline-block;
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
}
.pha-home-banner-cta:hover .pha-home-banner-cta-arrow {
    transform: translateX(4px);
}
.pha-home-banner-helpline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pha-primary-dark);
    padding: 0.5rem 0.85rem;
    background: rgba(12, 95, 138, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(12, 95, 138, 0.15);
}
.pha-home-banner-helpline strong {
    color: var(--pha-primary);
    font-weight: 700;
}
@media (max-width: 767.98px) {
    .pha-home-banner {
        padding: 1rem 0 0.5rem;
    }
    .pha-home-banner-header {
        padding: 0.6rem 1rem;
        justify-content: center;
        text-align: center;
    }
    .pha-home-banner-main {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.1rem 1rem 1.25rem;
    }
    .pha-home-banner-visual {
        margin: 0 auto;
    }
    .pha-home-banner-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .pha-home-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .pha-home-banner-cta {
        width: 100%;
        min-width: 0;
    }
    .pha-home-banner-helpline {
        justify-content: center;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .pha-home-banner-icon-wrap {
        animation: pha-soft-pulse 3.5s ease-in-out infinite;
    }
}
@keyframes pha-soft-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(12, 95, 138, 0.15); }
    50% { transform: scale(1.03); box-shadow: 0 6px 20px rgba(12, 95, 138, 0.22); }
}

/* Client-uploaded full-width homepage banner */
.pha-home-banner--has-image {
    padding: 0.75rem 0 0.5rem;
    margin-bottom: 0;
    background: linear-gradient(180deg, rgba(12, 95, 138, 0.04) 0%, transparent 100%);
}
.pha-home-banner-image-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(12, 95, 138, 0.2);
    box-shadow:
        0 4px 8px rgba(8, 69, 102, 0.08),
        0 16px 40px rgba(8, 69, 102, 0.14);
    background: var(--pha-primary-dark);
}
.pha-home-banner-image-link {
    display: block;
    line-height: 0;
    text-decoration: none;
}
.pha-home-banner-image-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
}
/* Homepage banner image — fixed display height (upload file unchanged) */
.pha-home-banner-image-full {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(10.5vw, 80px);
    min-height: 30px;
    object-fit: cover;
    object-position: center center;
}
/* Slim blue strip below image — does not affect image height */
.pha-home-banner-image-bar {
    background: linear-gradient(90deg, var(--pha-primary-dark) 0%, var(--pha-primary) 100%);
    color: #fff;
    padding: 0.15rem 0.55rem;
    line-height: 1.1;
}
.pha-home-banner-image-bar-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.3rem 0.5rem;
    min-height: 0;
}
.pha-home-banner-image-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: clamp(0.68rem, 1.2vw, 0.8rem);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pha-home-banner--has-image .pha-home-banner-image-bar .pha-home-banner-status {
    flex-shrink: 0;
    padding: 0.08rem 0.35rem;
    font-size: 0.55rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
    gap: 0.25rem;
}
.pha-home-banner--has-image .pha-home-banner-image-bar .pha-home-banner-status::before {
    width: 4px;
    height: 4px;
}
.pha-home-banner--has-image .pha-home-banner-image-bar .pha-home-banner-cta--compact {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    padding: 0.12rem 0.45rem;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.1;
    border-radius: 4px;
    gap: 0.15rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.pha-home-banner--has-image .pha-home-banner-image-bar .pha-home-banner-cta--compact .pha-home-banner-cta-arrow {
    margin-left: 0.1rem;
    font-size: 0.85em;
}
@media (max-width: 767.98px) {
    .pha-home-banner--has-image {
        padding: 0.5rem 0 0.35rem;
    }
    .pha-home-banner-image-full {
        max-height: 50px;
        min-height: 28px;
    }
    .pha-home-banner-image-bar {
        padding: 0.12rem 0.45rem;
    }
    .pha-home-banner-image-bar-inner {
        gap: 0.25rem 0.35rem;
    }
    .pha-home-banner-image-title {
        font-size: 0.65rem;
    }
    .pha-home-banner--has-image .pha-home-banner-image-bar .pha-home-banner-cta--compact {
        font-size: 0.62rem;
        padding: 0.1rem 0.4rem;
    }
}
