﻿/* Style 15 - Horizontal Scrolling Cards */

.style15-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#scrollContainerStyle15 {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
}

/* WebKit scrollbar styling */
#scrollContainerStyle15::-webkit-scrollbar {
    height: 10px;
}

#scrollContainerStyle15::-webkit-scrollbar-track {
    background: transparent;
}

#scrollContainerStyle15::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 5px;
}

#scrollContainerStyle15::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

/* Prevent layout shift */
#scrollContainerStyle15 {
    overscroll-behavior-x: contain;
}

/* Cards container */
.style15-cards-container {
    display: flex;
    gap: 20px;
    padding-bottom: 0;
    width: fit-content;
    min-width: 100%;
}

/* Individual card */
.style15-card {
    display: block;
    flex: 0 0 auto;
    width: 356px;
    height: 533px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    transition: all 0.5s ease;
}

.style15-card img {
    transition: transform 0.5s ease;
}

.style15-card:hover img {
    transform: scale(1.08);
}

.style15-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.style15-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100px;
    padding-bottom: 25px;
}

.style15-card h3 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    line-height: 1.15;
    color: #ffffff;
    word-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    padding-left: 12px;
    font-family: 'PrimaryFontMedium';
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .style15-card {
        width: 74vw;
        max-width: 320px;
        height: 420px;
    }

    .style15-card h3 {
        font-size: 21px;
        line-height: 1.2;
        hyphens: none;
    }
}

@media (max-width: 480px) {
    .style15-card {
        width: 80vw;
        max-width: 300px;
        height: 360px;
    }

    .style15-cards-container {
        gap: 0.75rem;
    }

    .style15-card-content {
        padding-bottom: 16px;
    }

    .style15-card h3 {
        font-size: 19px;
        padding-left: 8px;
    }
}

