/* =========================================================================
   News & events  listing, detail and shared card layout.
   ========================================================================= */

.news-hero.page-hero {
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: clamp(28px, 4vw, 48px);
    background:
        radial-gradient(80% 100% at 10% 0%, rgba(227, 6, 19, 0.1), transparent 50%),
        var(--bg);
}

.news-page {
    padding-top: 0;
}

.news-page__grid {
    margin-top: 8px;
}

.news-page__empty {
    color: var(--text-muted);
    text-align: center;
    padding: 48px 16px;
}

.news-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
}

.news-back::before {
    content: '\2190';
    font-size: 1.05em;
    line-height: 1;
}

.news-back:hover {
    color: var(--red-600);
}

.news-back--light {
    color: rgba(255, 255, 255, 0.92);
}

.news-back--light:hover {
    color: #fff;
}

/* Detail hero */
.news-detail-hero {
    position: relative;
    min-height: clamp(280px, 42vw, 460px);
    display: flex;
    align-items: flex-end;
    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;
}

.news-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.82) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 70%);
}

.news-detail-hero__inner {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: calc(var(--header-h) + 36px) 0 clamp(36px, 5vw, 56px);
    max-width: 820px;
}

.news-detail-hero__tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.news-detail-hero__date {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
}

.news-detail-hero__title {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* Detail body */
.news-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.news-detail__main {
    min-width: 0;
}

.news-detail__source {
    margin-top: 24px;
    font-size: 0.92rem;
}

.news-detail__source a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}

.news-detail__source a:hover {
    text-decoration: underline;
}

.news-detail__content {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text);
}

.news-detail__content p {
    margin: 0 0 1.1em;
}

.news-detail__content p:last-child {
    margin-bottom: 0;
}

.news-detail__content h2,
.news-detail__content h3 {
    margin: 1.4em 0 0.6em;
    line-height: 1.25;
}

.news-detail__content ul,
.news-detail__content ol {
    margin: 0 0 1.1em;
    padding-left: 1.25em;
}

.news-detail__content a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news-detail__cta {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3vw, 28px);
    box-shadow: var(--shadow-lg);
}

.news-detail__cta h2 {
    font-size: 1.25rem;
    margin: 0 0 8px;
}

.news-detail__cta p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

.news-detail__cta .btn--block {
    width: 100%;
    justify-content: center;
}

.news-detail__cta .btn--block + .btn--block {
    margin-top: 10px;
}

.news-related {
    padding-top: 0;
    background: var(--bg-soft);
}

.news-related__title {
    margin-bottom: 28px;
}

.news-related__grid {
    margin-top: 0;
}

@media (max-width: 960px) {
    .news-detail__grid {
        grid-template-columns: 1fr;
    }

    .news-detail__cta {
        position: static;
    }
}

@media (max-width: 640px) {
    .news-detail-hero__inner {
        padding-bottom: 28px;
    }
}
