/* Tags Carousel Layout */
.sports-carousel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.sports-carousel .holder {
    display: block;
    width: 100%;
    min-height: 300px;
}

.sports-carousel .tags-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.sports-carousel .top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}
.sports-carousel .left {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}
.sports-carousel .left h2{
    /* Overline */
    color: var(--theme-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-overline);
    font-weight: var(--theme-font-weight-overline);
    line-height: var(--theme-line-height-overline);
    letter-spacing: var(--theme-letter-spacing-overline);
    text-transform: uppercase;
}
.sports-carousel .left h2 span {
    /* H1 */
    color: var(--theme-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-h1);
    font-weight: var(--theme-font-weight-h1);
    line-height: var(--theme-line-height-h1);
    letter-spacing: var(--theme-letter-spacing-h1);
}
.sports-carousel .left p,
.sports-carousel .left a{
    /* Action Small */
    color: var(--theme-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-action-sm);
    font-weight: var(--theme-font-weight-action-sm);
    line-height: var(--theme-line-height-action-sm);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}
.sports-carousel .nav-buttons {
    display: flex;
    align-items: center;
    column-gap: 12px;
    position: relative;
    min-width: 120px;
    min-height: 48px;
    justify-content: flex-start;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next,
.swiper-button-prev {
    margin: 0;
    margin-top: 12px;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--e-global-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--e-global-color-accent);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

/* Swiper container and slide setup for coverflow */
.sports-carousel .swiper-container {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: 100%;
    position: relative;
}

.sports-carousel .swiper-slide {
    /* Base width for inactive slides */
    /* width: calc(25% - 20px) !important;  */
    /* padding-right: 20px; */
    transition: all 0.3s ease;
    border-radius: 24px;
    height: 100%;
    width: 30%;
}

/* Active slide (center slide) */
.sports-carousel .swiper-slide-active {
    /* width: calc(50% - 20px) !important;  */
    opacity: 1;
}

.sports-carousel .swiper-slide-active,
.sports-carousel .swiper-slide-active+.swiper-slide {
    margin-right: 20px !important;
}

/* Tag item styling */
.sports-carousel .tag-item {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 20px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-decoration: none;
    color: white;
    /* min-height: 300px; */
    aspect-ratio: 1/1;
}

.sports-carousel .tag-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(243deg, rgba(0, 0, 0, 0.00) 12.35%, #000 92.8%);
    border-radius: 24px;
    z-index: 1;
}

.sports-carousel .tag-item .bottom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.sports-carousel .tag-item .tag-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.sports-carousel .tag-item .tag-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

.sports-carousel .tag-item .shop-now {
    /* Date */
    color: var(--theme-color-text-inverse);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-date);
    font-weight: var(--theme-font-weight-date);
    line-height: var(--theme-line-height-date);
    letter-spacing: var(--theme-letter-spacing-date);
    text-transform: uppercase;
}

/* Pagination styling */
.sports-carousel .swiper-pagination {
    display: none; /* Hidden by default on desktop */
    position: relative;
    bottom: 10px;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    width: 100% !important;
}

/* Force the correct bullet size with high specificity and !important */
.sports-carousel .swiper-container .swiper-pagination-bullet,
.sports-carousel .swiper-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    display: inline-block !important;
    border-radius: 50% !important;
    background: #D9D9D9 !important;
    opacity: 0.5 !important;
    margin: 0 4px !important;
    transition: all 0.3s !important;
}

/* Active bullet styling with high specificity */
.sports-carousel .swiper-container .swiper-pagination-bullet-active,
.sports-carousel .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background: #e1052c !important;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .sports-carousel {
        grid-template-columns: 1fr;
    }
    
    /* Show pagination on mobile */
    .sports-carousel .swiper-pagination {
        display: block;
    }

    .sports-carousel-nav-buttons{
        display: none !important;
    }
}