.slide-horizontal-showcase {
    background: #000000;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    min-height: 100vh;
    height: 100vh;
    position: relative;
}

.slide-horizontal-showcase > * {
    margin-bottom: 0;
}

.horizontal-gallery {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    border: none;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 70%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    order: 1;
    flex-shrink: 0;
    margin-top: 0;
    position: relative;
}

/* Left and Right Fade Overlays */
.horizontal-gallery::before,
.horizontal-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.horizontal-gallery::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

.horizontal-gallery::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

.horizontal-track {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: scrollShowcase 30s linear infinite;
    padding: 30px;
}

.horizontal-item {
    min-width: 320px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.horizontal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: transform 0.6s ease;
}

.horizontal-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15));
    pointer-events: none;
}

.horizontal-item:hover img {
    transform: scale(1.05);
}

.horizontal-caption {
    text-align: left;
    max-width: 800px;
    padding: 0 20px 40px 40px;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    left: auto;
    bottom: auto;
    order: 2;
    flex-shrink: 0;
}

/* Desktop: Move content to bottom */
@media (min-width: 1025px) {
    .horizontal-caption {
        padding: 0 20px 40px 40px;
    }
}

.showcase-title {
    font-size: 2.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(-20px);
    text-align: left;
}

.showcase-title .query-bracket {
    color: #ff0000;
    font-weight: bold;
}

.showcase-description {
    font-size: 1.1rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(-20px);
    text-align: left;
}

@keyframes scrollShowcase {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes wowFadeDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-horizontal-showcase.active-slide .showcase-title {
    animation: wowFadeDown 0.8s ease forwards;
}

.slide-horizontal-showcase.active-slide .showcase-description {
    animation: wowFadeDown 0.8s ease 0.3s forwards;
}

@media (max-width: 1024px) {
    .slide-horizontal-showcase {
        flex-direction: column;
        justify-content: flex-end;
    }

    .horizontal-gallery {
        order: 1;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .horizontal-caption {
        order: 2;
        position: relative;
        left: auto;
        bottom: auto;
        padding: 0 20px 100px 40px;
        margin-top: 0;
    }

    .horizontal-item {
        min-width: 260px;
        height: 170px;
    }

    .showcase-title {
        font-size: 1.8rem;
    }

    .showcase-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .slide-horizontal-showcase {
        padding: 0 0 30px 0;
        gap: 0;
        justify-content: flex-end;
        align-items: flex-start;
        flex-direction: column;
    }

    .horizontal-gallery {
        order: 1;
        width: 100%;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .horizontal-gallery::before,
    .horizontal-gallery::after {
        width: 100px;
    }

    .horizontal-caption {
        order: 2;
        padding: 0 20px 100px 20px;
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
    }

    .horizontal-track {
        gap: 12px;
        padding: 20px;
        animation-duration: 25s;
    }

    .horizontal-item {
        min-width: 220px;
        height: 150px;
    }

    .showcase-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .slide-horizontal-showcase {
        padding: 0 0 40px 0;
        gap: 0;
        justify-content: flex-end;
        align-items: flex-start;
        flex-direction: column;
    }

    .horizontal-gallery {
        order: 1;
        width: 100%;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .horizontal-gallery::before,
    .horizontal-gallery::after {
        width: 60px;
    }

    .horizontal-caption {
        order: 2;
        padding: 0 20px 80px 20px;
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
    }

    .horizontal-track {
        padding: 15px;
        gap: 10px;
    }

    .horizontal-item {
        min-width: 180px;
        height: 130px;
    }

    .showcase-title {
        font-size: 1.4rem;
    }

    .showcase-description {
        font-size: 0.9rem;
    }
}
