/**
 * Single News Article
 */

.news-article {
    --Neutrals-01: #EEEDED;
}

/* ---- 100vh Parallax image section ---- */
.news-parallax-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.news-parallax-section__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.news-parallax-section__spacer {
    display: block;
    height: 100vh;
    pointer-events: none;
}

/* ---- Heading with description section (max-width 70%, centered, left-aligned) ---- */
.news-heading-desc-section {
    padding: 3rem 1.25rem;
}

@media (min-width: 768px) {
    .news-heading-desc-section {
        padding: 4rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .news-heading-desc-section {
        padding: 5rem clamp(3rem, 5vw, 5rem);
    }
}

.news-heading-desc-inner {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

@media (min-width: 1024px) {
    .news-heading-desc-inner {
        max-width: 70%;
    }
}

/* Desktop/Heading/H1 */
.news-block-heading {
    color: var(--Neutrals-01);
    font-family: "forma-djr-text", sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    margin: 0 0 1rem;
}

@media (max-width: 767px) {
    .news-block-heading {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
}

/* Desktop/Body/Medium */
.news-block-desc {
    color: var(--Neutrals-01);
    font-family: "forma-djr-text", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.4px;
    margin: 0;
}

.news-block-desc p:first-child {
    margin-top: 0;
}

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

/* ---- Two images section (50%–50% on desktop, stacked on small screens, gap and side margins) ---- */
.news-two-images-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    padding: 3rem 1.25rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .news-two-images-section {
        padding: 4rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .news-two-images-section {
        padding: 4rem clamp(3rem, 5vw, 5rem);
    }
}

.news-two-images-inner {
    flex: 1;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

@media (min-width: 1024px) {
    .news-two-images-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 1.5rem;
    }
}

.news-two-images-item {
    position: relative;
    overflow: hidden;
    background: #1a1512;
    min-height: 0;
}

.news-two-images-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Related News (Figma: cards with diagonal overlay, orange content, Read Article →) ---- */
.news-related-section {
    --Neutrals-01: #EEEDED;
    --Secondary-100: #F65B1B;
    --Primary-100: #0B0B0B;
    --Related-Orange: #F65B1B;
    --Related-Meta: rgba(238, 237, 237, 0.75);
    padding: 4rem 1.25rem;
    background: #000;
    color: var(--Neutrals-01);
}

@media (min-width: 768px) {
    .news-related-section {
        padding: 5rem 1.5rem;
    }
}

.news-related-section .section-container {
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .news-related-section .section-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .news-related-section .section-container {
        max-width: 80%;
    }
}

/* Desktop/Heading/H3 */
.news-related-title {
    color: var(--Neutrals-01);
    font-family: "forma-djr-text", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 0 0 2.5rem;
}

@media (max-width: 767px) {
    .news-related-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

.news-related-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

/* Tablet: 2 cards per row */
@media (min-width: 768px) {
    .news-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop: 3 cards per row */
@media (min-width: 1200px) {
    .news-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-related-item {
    margin: 0;
    display: flex;
}

.news-related-link {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-related-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Card image with diagonal orange overlay */
.news-related-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1a1512;
}

/* News image fills the card image area; zooms on hover */
.news-related-card-image .news-related-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-related-link:hover .news-related-card-image .news-related-card-img {
    transform: scale(1.08);
}

.news-related-card-img--placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2a2520 0%, #1a1512 100%);
    transition: transform 0.4s ease;
}

.news-related-link:hover .news-related-card-img--placeholder {
    transform: scale(1.08);
}

/* Diagonal overlay – full card height so no black gap; clipped shape sits over image */
.news-related-card-image-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(246, 91, 27, 0.70) 0%, rgba(102, 31, 23, 0.70) 100%), #0B0B0B;
    clip-path: polygon(0 45%, 100% 20%, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: 0;
    transition: clip-path 0.4s ease;
}

/* Hover: diagonal moves up slightly (overlay “expands” into image) */
.news-related-link:hover .news-related-card-image-overlay {
    clip-path: polygon(0 35%, 100% 10%, 100% 100%, 0 100%);
}

/* Content block: fixed height so all cards equal; title uses remaining space */
.news-related-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 1.25rem 1.25rem 1.5rem;
    color: var(--Neutrals-01);
    height: 11rem;
}

@media (min-width: 768px) {
    .news-related-card-content {
        padding: 1.5rem;
        height: 12rem;
    }
}

/* Category /// Date – lighter/desaturated */
.news-related-card-meta {
    font-family: "forma-djr-text", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: var(--Related-Meta);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .news-related-card-meta {
        font-size: 13px;
        margin-bottom: 0.6rem;
    }
}

.news-related-card-meta-sep {
    margin: 0 0.25rem;
    color: #F65B1B;
}

/* Card title – white, prominent; grows to fill space so longer titles show more lines */
.news-related-card-title {
    font-family: "forma-djr-text", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--Neutrals-01);
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
    .news-related-card-title {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
}

/* Read Article → – fade in on hover, fade out on blur; fixed at bottom; natural width only */
/* Desktop/Body/Large */
.news-related-card-cta {
    flex: 0 0 auto;
    align-self: flex-start;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--Neutrals-01, #EEEDED);
    color: var(--Neutrals-01, #EEEDED);
    font-family: "forma-djr-text", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.news-related-link:hover .news-related-card-cta {
    opacity: 1;
}

.news-related-card-cta-arrow {
    font-style: normal;
}

/* Single news main: no extra container so banner/parallax can be full width */
.single-news-main .news-article {
    padding: 0;
}
