/* Fullscreen Editorial Homepage - Custom Stylesheet */

/* Set Fullscreen Layout Context */
.fullscreen-editorial-widget {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Background Media & Blur Effect */
.fullscreen-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: filter 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Page Overlay Blur Trigger */
.fullscreen-editorial-widget.has-card-hovered .fullscreen-bg-media {
    filter: blur(4px) brightness(0.9);
}

/* Header Adjustments */
.fullscreen-editorial-widget header {
    position: relative;
    z-index: 10;
    padding: 2rem 3rem;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Carousel Overlay Alignment & Position */
.editorial-post-carousel {
    position: absolute !important;
    bottom: 12vh;
    right: 5vw;
    width: 450px;
    max-width: 90vw;
    z-index: 10;
    transition: all 0.5s ease;
}

@media (max-width: 1024px) {
    .editorial-post-carousel {
        bottom: 15vh;
        right: 50%;
        transform: translateX(50%);
        width: 80%;
    }
}

@media (max-width: 767px) {
    .editorial-post-carousel {
        position: relative !important;
        bottom: auto;
        right: auto;
        transform: none;
        width: 100%;
        margin-top: auto;
        padding: 2rem 1.5rem;
    }
}

/* Individual Post Card Styling */
.editorial-carousel-card {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    background: transparent;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

/* Active Hover Card Actions */
.editorial-carousel-card:hover {
    transform: scale(1.04);
    z-index: 20;
}

/* Blur all cards when one is hovered */
.editorial-post-carousel:hover .editorial-carousel-card:not(:hover) {
    filter: blur(2px) grayscale(40%);
    opacity: 0.6;
}

/* Card Content Overlay styling */
.editorial-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 5;
}

.editorial-carousel-card:hover .editorial-card-overlay {
    opacity: 1;
}

.editorial-card-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.editorial-card-excerpt {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 300;
}

/* Footer layout rules */
.editorial-footer {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 2.5rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
