.news-detail {
    background-color: #f7f8fa;
    color: #1a1a1a;
}

.news-detail-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(12, 21, 65, 0.9) 0%, rgba(19, 37, 103, 0.9) 100%);
    color: #ffffff;
    padding: 4rem 0;
    overflow: hidden;
    isolation: isolate;
}

.news-detail-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.news-detail-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
    position: relative;
    z-index: 0;
}

.news-detail-hero-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(12, 21, 65, 0.7) 0%, rgba(12, 21, 65, 0.05) 50%, rgba(12, 21, 65, 0.85) 100%);
    z-index: 1;
}

.news-detail-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
}

.news-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.news-detail-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.news-detail-breadcrumb a:hover,
.news-detail-breadcrumb a:focus {
    color: #ffffff;
}

.news-detail-breadcrumb-separator {
    opacity: 0.6;
}

.news-detail-breadcrumb-current {
    opacity: 0.9;
}

.news-detail-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.12);
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-detail-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.15;
    margin: 0;
}

.news-detail-subtitle {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
}

.news-detail-main {
    padding: 3.5rem 0 2.5rem;
}

.news-detail-article {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgba(18, 37, 103, 0.08);
    padding: clamp(2rem, 4vw, 3rem);
}

.news-detail-cover {
    margin: 0 0 2rem;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #0c1541;
    position: relative;
}

.news-detail-cover img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 420px;
}

.news-detail-cover figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(10, 29, 55, 0) 0%, rgba(10, 29, 55, 0.75) 100%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.news-detail-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #24304e;
}

.news-detail-content p:last-child {
    margin-bottom: 0;
}

.news-detail-content--empty {
    text-align: center;
    color: #6a7285;
}

.news-detail-back {
    margin-top: 2.5rem;
}

.news-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #132567;
    text-decoration: none;
}

.news-detail-back-link:hover,
.news-detail-back-link:focus {
    text-decoration: underline;
}

.news-detail-contact {
    padding: 3rem 0 4rem;
}

.news-detail-contact-inner {
    background: linear-gradient(120deg, #0c1541 0%, #1f3b85 100%);
    color: #ffffff;
    border-radius: 1.1rem;
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.news-detail-contact-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.news-detail-contact h2 {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.5;
    max-width: 520px;
}

.news-detail-contact p {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
}

.news-detail-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    background-color: #ffffff;
    color: #132567;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(12, 21, 65, 0.2);
}

.news-detail-contact-button:hover,
.news-detail-contact-button:focus {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .news-detail-hero {
        padding: 3rem 0;
    }

    .news-detail-main {
        padding: 2.5rem 0 2rem;
    }

    .news-detail-article {
        padding: 1.75rem;
    }

    .news-detail-cover {
        margin-bottom: 1.5rem;
    }

    .news-detail-cover img {
        max-height: 320px;
    }

    .news-detail-contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-detail-contact-button {
        width: 100%;
    }
}
