.hero-news-slider {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--furniture-border);
    border-bottom: 1px solid var(--furniture-border);
    background: var(--furniture-charcoal);
    box-shadow: var(--furniture-shadow);
}

.hero-news-swiper {
    width: 100%;
    height: clamp(460px, 64vh, 660px);
    position: relative;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-slide.swiper-slide-active {
    pointer-events: auto;
    z-index: 2;
}

.hero-slide__hitbox {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.hero-slide__image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--furniture-charcoal) 84%, transparent) 0%,
        color-mix(in srgb, var(--furniture-charcoal) 42%, transparent) 38%,
        color-mix(in srgb, var(--furniture-charcoal) 10%, transparent) 68%,
        transparent 100%
    );
}

.hero-slide__content {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: clamp(34px, 7vh, 76px);
    z-index: 3;
    width: min(calc(100% - 48px), 1220px);
    transform: translateX(-50%);
    display: grid;
    color: #fffdf8;
    pointer-events: none;
}

.hero-slide__content a {
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

.hero-slide__floating-top {
    position: absolute;
    top: clamp(18px, 4vh, 34px);
    left: 50%;
    right: auto;
    z-index: 4;
    width: min(calc(100% - 48px), 1220px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-slide__category,
.hero-slide__timestamp {
    width: fit-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(255, 253, 248, 0.22);
    border-radius: var(--furniture-radius-full);
    background: rgba(255, 253, 248, 0.14);
    color: #fffdf8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.hero-slide__category:hover,
.hero-slide__category:focus-visible {
    background: rgba(255, 253, 248, 0.28);
    color: #ffffff;
}

.hero-slide__body,
.hero-slide__body--publication {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.hero-slide__publication-head {
    display: grid;
    gap: 16px;
}

.hero-slide__title {
    margin: 0;
    font-family: "Marcellus", Georgia, serif;
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1;
    max-width: 13ch;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-slide__title a {
    color: #fffdf8;
    text-decoration: none;
}

.hero-slide__title a:hover,
.hero-slide__title a:focus-visible {
    color: #d8b58d;
}

.hero-slide__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 253, 248, 0.76);
}

.hero-slide__author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-slide__avatar {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--furniture-surface) 25%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--furniture-surface) 12%, transparent);
}

.hero-slide__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__avatar-initials {
    color: var(--furniture-surface);
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-slide__author-copy {
    display: grid;
    gap: 2px;
}

.hero-slide__author-name {
    color: rgba(255, 253, 248, 0.88);
    font-size: 0.88rem;
    font-weight: 800;
}

.hero-slider__controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-slider__controls--fixed {
    position: absolute;
    right: clamp(20px, 3vw, 44px);
    bottom: clamp(20px, 4.5vh, 46px);
    z-index: 10;
}

.hero-news-swiper-button-prev,
.hero-news-swiper-button-next {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 253, 248, 0.35);
    border-radius: var(--furniture-radius-full);
    background: rgba(20, 16, 12, 0.45);
    color: #fffdf8;
    backdrop-filter: blur(12px);
    box-shadow: var(--furniture-shadow-soft);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-news-swiper-button-prev:hover,
.hero-news-swiper-button-next:hover,
.hero-news-swiper-button-prev:focus-visible,
.hero-news-swiper-button-next:focus-visible {
    background: #ffffff;
    color: #191613;
    border-color: #ffffff;
}

.hero-news-swiper-pagination {
    position: absolute;
    left: 50% !important;
    right: auto !important;
    bottom: clamp(16px, 4vh, 30px) !important;
    width: min(calc(100% - 48px), 1220px) !important;
    transform: translateX(-50%);
    z-index: 5;
    text-align: left;
}

.hero-news-swiper-pagination .swiper-pagination-bullet {
    width: 22px;
    height: 4px;
    border-radius: var(--furniture-radius-full);
    background: rgba(255, 253, 248, 0.55);
    opacity: 1;
    box-shadow: var(--furniture-shadow-soft);
}

.hero-news-swiper-pagination .swiper-pagination-bullet-active {
    background: #c09d75;
}

@media (max-width: 767.98px) {
    .hero-news-swiper {
        height: 500px;
    }

    .hero-slide__floating-top {
        top: 16px;
        width: calc(100% - 32px);
        justify-content: flex-start;
    }

    .hero-slide__content {
        width: calc(100% - 32px);
        bottom: 52px;
    }

    .hero-slide__title {
        font-size: 2.45rem;
        max-width: 11ch;
    }

    .hero-slide__category,
    .hero-slide__timestamp {
        min-height: 31px;
        padding: 0 10px;
        font-size: 0.68rem;
    }

    .hero-news-swiper-button-prev,
    .hero-news-swiper-button-next {
        width: 34px;
        height: 34px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .hero-slide__title {
        font-size: 3.4rem;
    }
}

/* Play Button Overlay Styles */
.hero-slide__video-trigger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(20, 16, 12, 0.45);
    border: 1px solid rgba(255, 253, 248, 0.35);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fffdf8;
    font-size: 2.2rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none; /* Hitbox handles mouse clicks */
    box-shadow: var(--furniture-shadow-soft);
}

.hero-slide.swiper-slide-active:hover .hero-slide__video-trigger {
    background: #ffffff;
    color: #191613;
    border-color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
}

.play-btn-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 253, 248, 0.25);
    animation: playPulse 2s infinite;
    pointer-events: none;
}

@keyframes playPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Video Lightbox Modal Styles */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.88);
    backdrop-filter: blur(15px);
}

.video-lightbox__container {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 32px), 960px);
    background: #14110f;
    border: 1px solid rgba(255, 253, 248, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-lightbox.is-open .video-lightbox__container {
    transform: scale(1);
}

.video-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 253, 248, 0.15);
    background: rgba(255, 253, 248, 0.06);
    color: rgba(255, 253, 248, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.video-lightbox__close:hover {
    background: #ffffff;
    color: #100a06;
    border-color: #ffffff;
    transform: rotate(90deg);
}

.video-lightbox__content {
    padding: clamp(16px, 3vw, 24px);
    display: grid;
    gap: 16px;
}

.video-lightbox__title {
    margin: 0;
    padding-right: 48px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fffdf8;
    line-height: 1.2;
}

.video-lightbox__video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-lightbox__video-wrapper video,
.video-lightbox__video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.video-lightbox__video-wrapper video {
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .hero-slide__video-trigger {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .video-lightbox__close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .video-lightbox__content {
        padding: 12px;
        gap: 12px;
    }
    
    .video-lightbox__title {
        font-size: 1.2rem;
        padding-right: 36px;
    }
}

