/* ===== Hero Video Section ===== */
.heroSection.heroSection--video {
    position: relative;
    min-height: 420px;
    max-height: 85vh;
    height: 75vh;
    overflow: hidden;
}

.heroSection.heroSection--video .imageContainer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.heroSection.heroSection--video .imageContainer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
    pointer-events: none;
}

.heroSection .imageContainer {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.heroSection .heroVideo,
.heroSection video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0f0f0f;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.heroSection .heroVideo.loaded {
    opacity: 1;
}

.heroVideoOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 35%, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.hero-headline {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    z-index: 2;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 4px 24px rgba(0, 0, 0, 0.3);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.hero-tagline {
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    max-width: 520px;
}

.hero-video-wrapper {
    position: relative;
}

.hero-video-controls {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 5;
    pointer-events: none;
}

.hero-video-controls .hero-video-btn {
    pointer-events: auto;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-video-controls .hero-video-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.hero-video-controls .hero-video-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.hero-video-controls .hero-video-icon {
    font-size: 1.1rem;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-controls .hero-video-icon--play {
    opacity: 1;
}

.hero-video-controls .hero-video-icon--pause {
    opacity: 0;
}

.hero-video-controls .hero-video-btn.is-playing .hero-video-icon--play {
    opacity: 0;
}

.hero-video-controls .hero-video-btn.is-playing .hero-video-icon--pause {
    opacity: 1;
}

.hero-video-controls .hero-video-icon--unmute {
    opacity: 1;
}

.hero-video-controls .hero-video-icon--mute {
    opacity: 0;
}

.hero-video-controls .hero-video-btn.is-muted .hero-video-icon--unmute {
    opacity: 0;
}

.hero-video-controls .hero-video-btn.is-muted .hero-video-icon--mute {
    opacity: 1;
}

[dir=rtl] .hero-video-controls {
    left: auto;
    right: 1.25rem;
}

.hero-sound-prompt {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 1rem 1.5rem;
}

.hero-sound-prompt i {
    font-size: 1.5rem;
}

.hero-sound-prompt:hover {
    background: rgba(0, 0, 0, 0.45);
}

.hero-sound-prompt.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (min-width: 992px) {
    .heroSection.heroSection--video {
        border-radius: 0 0 20px 20px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }
}
.heroSection video::-webkit-media-controls {
    display: none !important;
}

.heroSection video::-webkit-media-controls-panel {
    display: none !important;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 768px) {
    .heroSection.heroSection--video {
        min-height: 280px;
        height: 50vh;
        max-height: 420px;
    }

    .heroSection.heroSection--video .imageContainer::after {
        height: 45%;
    }

    .hero-video-controls {
        bottom: 1rem;
        left: 1rem;
        gap: 0.5rem;
    }

    .hero-video-controls .hero-video-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .hero-video-controls .hero-video-icon {
        font-size: 0.95rem;
    }

    .hero-sound-prompt {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .hero-sound-prompt i {
        font-size: 1.25rem;
    }

    [dir=rtl] .hero-video-controls {
        right: 1rem;
    }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 576px) {
    .hero-headline {
        padding: 1rem 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .heroSection.heroSection--video {
        min-height: 220px;
        height: 40vh;
        max-height: 320px;
    }

    .heroSection.heroSection--video .imageContainer::after {
        height: 55%;
    }

    .heroVideoOverlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
    }

    .hero-video-controls {
        bottom: 0.75rem;
        left: 0.75rem;
        gap: 0.4rem;
    }

    .hero-video-controls .hero-video-btn {
        width: 2.25rem;
        height: 2.25rem;
    }

    .hero-video-controls .hero-video-icon {
        font-size: 0.85rem;
    }

    .hero-sound-prompt {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-sound-prompt span {
        display: none;
    }

    .hero-sound-prompt i {
        font-size: 1.5rem;
    }

    [dir=rtl] .hero-video-controls {
        right: 0.75rem;
    }
}

/* ===== News Card Title ===== */
.news-card-title {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #1f1f1f;
    line-height: 1.4;
    margin-bottom: 12px;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
