﻿.news-experience-page {
    --news-primary: var(--theme-primary, #075985);
    --news-secondary: var(--theme-secondary, #0f766e);
    --news-text: var(--theme-text, #172033);
    --news-muted: var(--theme-muted, #64748b);
    --news-surface: var(--theme-surface, #ffffff);
    --news-background: var(--theme-background, #f8fafc);
    --news-radius: max(18px, var(--theme-radius, 18px));
    --news-shadow: var(--theme-shadow, 0 18px 45px rgba(15, 23, 42, .10));
    color: var(--news-text);
}

.news-experience-page a {
    text-decoration: none;
}

.news-experience-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 92px) 0;
    background:
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--news-secondary) 22%, transparent), transparent 36%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--news-primary) 92%, #07111f),
            color-mix(in srgb, var(--news-secondary) 76%, #07111f));
    color: #fff;
}

.news-experience-hero::after {
    content: "";
    position: absolute;
    inset-inline-end: -90px;
    top: -130px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 70px solid rgba(255,255,255,.06);
}

.news-experience-hero .hospital-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.news-experience-hero-copy {
    max-width: 780px;
}

.news-kicker,
.news-section-heading span,
.news-aside-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: color-mix(in srgb, currentColor 82%, transparent);
    font-weight: 700;
    letter-spacing: .02em;
}

.news-experience-hero h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2rem, 4.6vw, 4rem);
    line-height: 1.15;
    font-weight: 800;
}

.news-experience-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.9;
    color: rgba(255,255,255,.82);
}

.news-experience-hero-stat {
    min-width: 150px;
    padding: 20px 24px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.news-experience-hero-stat strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
}

.news-experience-hero-stat span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.78);
}

.news-experience-content,
.news-article-shell {
    padding: clamp(32px, 5vw, 64px) 0 76px;
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--news-background) 92%, #fff),
            var(--news-background));
}

.news-filter-panel {
    margin-top: -72px;
    position: relative;
    z-index: 3;
    padding: 20px;
    border: 1px solid color-mix(in srgb, var(--news-text) 8%, transparent);
    border-radius: var(--news-radius);
    background: color-mix(in srgb, var(--news-surface) 96%, transparent);
    box-shadow: var(--news-shadow);
    backdrop-filter: blur(12px);
}

.news-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
}

.news-search-box {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid color-mix(in srgb, var(--news-text) 13%, transparent);
    border-radius: 14px;
    background: var(--news-surface);
}

.news-search-box:focus-within {
    border-color: var(--news-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--news-primary) 14%, transparent);
}

.news-search-box i {
    color: var(--news-muted);
}

.news-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--news-text);
}

.news-search-submit,
.news-filter-reset,
.news-primary-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border: 0;
    border-radius: 13px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.news-search-submit,
.news-primary-link {
    background: var(--news-primary);
    color: #fff;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--news-primary) 24%, transparent);
}

.news-search-submit:hover,
.news-primary-link:hover {
    transform: translateY(-1px);
    color: #fff;
}

.news-filter-reset {
    background: color-mix(in srgb, var(--news-text) 6%, transparent);
    color: var(--news-text);
}

.news-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid color-mix(in srgb, var(--news-text) 8%, transparent);
}

.news-category-chips a {
    padding: 9px 15px;
    border: 1px solid color-mix(in srgb, var(--news-text) 10%, transparent);
    border-radius: 999px;
    color: var(--news-text);
    background: color-mix(in srgb, var(--news-surface) 94%, transparent);
    font-weight: 650;
}

.news-category-chips a:hover,
.news-category-chips a.is-active {
    border-color: var(--news-primary);
    background: var(--news-primary);
    color: #fff;
}

.news-feature-story {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
    overflow: hidden;
    margin-top: 32px;
    border: 1px solid color-mix(in srgb, var(--news-text) 8%, transparent);
    border-radius: calc(var(--news-radius) + 4px);
    background: var(--news-surface);
    box-shadow: var(--news-shadow);
}

.news-feature-media,
.news-modern-card-media {
    position: relative;
    overflow: hidden;
    background: color-mix(in srgb, var(--news-primary) 6%, var(--news-surface));
}

.news-feature-media {
    min-height: 430px;
}

.news-feature-media picture,
.news-feature-media img,
.news-modern-card-media img {
    width: 100%;
    height: 100%;
    display: block;
}

.news-feature-media img,
.news-modern-card-media img {
    object-fit: cover;
    transition: transform .5s ease;
}

.news-feature-story:hover .news-feature-media img,
.news-modern-card:hover .news-modern-card-media img {
    transform: scale(1.025);
}

.news-feature-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 4vw, 48px);
}

.news-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--news-muted);
    font-size: .9rem;
}

.news-meta-line span {
    font-weight: 700;
    color: var(--news-primary);
}

.news-feature-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-warning, #f59e0b) 16%, transparent);
    color: color-mix(in srgb, var(--theme-warning, #f59e0b) 70%, #5b3a00);
    font-weight: 800;
    font-size: .82rem;
}

.news-feature-body h2 {
    margin: 16px 0 12px;
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    line-height: 1.3;
}

.news-feature-body h2 a,
.news-modern-card h3 a {
    color: var(--news-text);
}

.news-feature-body p,
.news-modern-card p {
    color: var(--news-muted);
    line-height: 1.85;
}

.news-feature-body .news-primary-link {
    width: fit-content;
    margin-top: 12px;
}

.news-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 42px 0 18px;
}

.news-section-heading span {
    margin: 0 0 5px;
    color: var(--news-primary);
    font-size: .84rem;
}

.news-section-heading h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.news-section-heading > a {
    color: var(--news-primary);
    font-weight: 700;
}

.news-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-modern-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--news-text) 8%, transparent);
    border-radius: var(--news-radius);
    background: var(--news-surface);
    box-shadow: 0 12px 30px rgba(15,23,42,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(15,23,42,.11);
}

.news-modern-card-media {
    display: block;
    aspect-ratio: 16 / 10;
}

.news-card-featured {
    position: absolute;
    inset-block-start: 14px;
    inset-inline-end: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--theme-warning, #f59e0b);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: color-mix(in srgb, var(--news-primary) 62%, #fff);
    background:
        linear-gradient(135deg,
            color-mix(in srgb, var(--news-primary) 12%, #fff),
            color-mix(in srgb, var(--news-secondary) 12%, #fff));
}

.news-image-placeholder i {
    font-size: 2.6rem;
}

.news-modern-card-body {
    padding: 20px;
}

.news-modern-card h3 {
    margin: 13px 0 10px;
    font-size: 1.18rem;
    line-height: 1.55;
}

.news-modern-card p {
    margin: 0 0 16px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--news-primary);
    font-weight: 800;
}

.news-modern-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.news-modern-pagination a,
.news-modern-pagination span {
    min-width: 42px;
    min-height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--news-text) 10%, transparent);
    border-radius: 12px;
    background: var(--news-surface);
    color: var(--news-text);
    font-weight: 700;
}

.news-modern-pagination .is-active {
    border-color: var(--news-primary);
    background: var(--news-primary);
    color: #fff;
}

.news-empty-state {
    margin-top: 32px;
    padding: 64px 24px;
    text-align: center;
    border: 1px dashed color-mix(in srgb, var(--news-text) 18%, transparent);
    border-radius: var(--news-radius);
    background: var(--news-surface);
}

.news-empty-state > i {
    font-size: 3rem;
    color: var(--news-primary);
}

.news-empty-state h2 {
    margin: 14px 0 8px;
}

.news-empty-state p {
    color: var(--news-muted);
}

.news-empty-state a {
    display: inline-block;
    margin-top: 8px;
    color: var(--news-primary);
    font-weight: 800;
}

/* Article details */
.news-article-shell {
    padding-top: 28px;
}

.news-modern-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--news-muted);
    font-size: .9rem;
}

.news-modern-breadcrumb a {
    color: var(--news-primary);
}

.news-modern-breadcrumb i {
    font-size: .68rem;
    opacity: .55;
}

.news-article-header {
    max-width: 980px;
    margin-inline: auto;
    text-align: center;
}

.news-article-header .news-meta-line {
    justify-content: center;
}

.news-article-header h1 {
    margin: 18px 0;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.22;
    font-weight: 850;
}

.news-article-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--news-muted);
}

.news-article-deck {
    margin: 22px auto 0;
    max-width: 840px;
    color: var(--news-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.9;
}

.news-article-hero-media {
    display: block;
    overflow: hidden;
    max-width: 1240px;
    margin: 38px auto 0;
    aspect-ratio: 16 / 8.6;
    border-radius: calc(var(--news-radius) + 6px);
    background: #e8eef5;
    box-shadow: var(--news-shadow);
}

.news-article-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: clamp(28px, 5vw, 64px);
    max-width: 1180px;
    margin: 42px auto 0;
    align-items: start;
}

.news-article-content {
    font-size: 1.08rem;
    line-height: 2.05;
}

.news-article-content p {
    margin: 0 0 1.35em;
}

.news-article-aside {
    position: sticky;
    top: 110px;
}

.news-aside-card {
    padding: 22px;
    border: 1px solid color-mix(in srgb, var(--news-text) 9%, transparent);
    border-radius: var(--news-radius);
    background: var(--news-surface);
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.news-aside-label {
    color: var(--news-primary);
}

.news-aside-card dl {
    margin: 10px 0 20px;
}

.news-aside-card dl > div {
    padding: 12px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--news-text) 8%, transparent);
}

.news-aside-card dt {
    color: var(--news-muted);
    font-size: .82rem;
}

.news-aside-card dd {
    margin: 3px 0 0;
    font-weight: 750;
}

.news-aside-card .news-primary-link {
    width: 100%;
}

.news-article-gallery {
    margin-top: 48px;
}

.news-gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--news-radius);
    background: #07111f;
    box-shadow: var(--news-shadow);
}

.news-gallery-viewport {
    position: relative;
}

.news-gallery-slide {
    display: none;
    color: #fff;
}

.news-gallery-slide.is-active {
    display: block;
}

.news-gallery-media-frame {
    display: grid;
    place-items: center;
    min-height: 460px;
    background: #07111f;
}

.news-gallery-media-frame img,
.news-gallery-media-frame video,
.news-gallery-media-frame iframe {
    width: 100%;
    max-height: 680px;
    display: block;
}

.news-gallery-media-frame img,
.news-gallery-media-frame video {
    object-fit: contain;
}

.news-gallery-media-frame iframe {
    min-height: 520px;
    border: 0;
}

.news-gallery-caption {
    padding: 18px 22px;
    background: rgba(7,17,31,.96);
}

.news-gallery-caption h3 {
    margin: 0 0 7px;
    font-size: 1.05rem;
}

.news-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #07111f;
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

.news-gallery-arrow-previous {
    inset-inline-start: 16px;
}

.news-gallery-arrow-next {
    inset-inline-end: 16px;
}

.news-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px;
    background: #07111f;
    color: #fff;
}

.news-gallery-dots {
    display: flex;
    gap: 6px;
}

.news-gallery-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
}

.news-gallery-dot.is-active {
    width: 22px;
    border-radius: 99px;
    background: #fff;
}

.news-gallery-autoplay {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: transparent;
    color: #fff;
}

.news-related-section {
    max-width: 1180px;
    margin: 64px auto 0;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--news-text) 8%, transparent);
}

@media (max-width: 991.98px) {
    .news-experience-hero .hospital-container {
        align-items: start;
        flex-direction: column;
    }

    .news-experience-hero-stat {
        min-width: 0;
    }

    .news-feature-story {
        grid-template-columns: 1fr;
    }

    .news-feature-media {
        min-height: 340px;
    }

    .news-modern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-article-layout {
        grid-template-columns: 1fr;
    }

    .news-article-aside {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .news-experience-content {
        padding-top: 28px;
    }

    .news-filter-panel {
        margin-top: -48px;
    }

    .news-search-form {
        grid-template-columns: 1fr;
    }

    .news-search-submit,
    .news-filter-reset {
        width: 100%;
    }

    .news-feature-media {
        min-height: 260px;
    }

    .news-modern-grid {
        grid-template-columns: 1fr;
    }

    .news-article-header {
        text-align: start;
    }

    .news-article-header .news-meta-line {
        justify-content: flex-start;
    }

    .news-article-hero-media {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .news-gallery-media-frame {
        min-height: 280px;
    }

    .news-gallery-media-frame iframe {
        min-height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-modern-card,
    .news-feature-media img,
    .news-modern-card-media img,
    .news-primary-link,
    .news-search-submit {
        transition: none;
    }
}
