/* Frontend Styles - assets/style.css */
.my-coverflow-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Additions to prevent FOUC */
.my-coverflow-container.loading .my-coverflow-swiper {
    visibility: hidden;
    opacity: 0;
}

.my-coverflow-container.loaded .my-coverflow-swiper {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

.my-coverflow-slide img {
    width: 100%;
    border-radius: 12px;
}

.my-coverflow-swiper {
    padding-bottom: 40px;
}

.my-coverflow-text .my-slide-title-display { /* Updated selector */
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.my-coverflow-text .my-slide-description-display { /* Updated selector */
    font-size: 16px;
    color: #373737;
    font-family: 'Inter', sans-serif;
}

.my-coverflow-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.my-coverflow-pagination .swiper-pagination-bullet {
    background-color: #aaa;
    opacity: 1;
    margin: 0 4px;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.my-coverflow-pagination .swiper-pagination-bullet-active {
    background-color: #ff5733;
    width: 14px;
    height: 14px;
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
    .my-coverflow-text .my-slide-title-display { /* Updated selector */
        font-size: 24px;
        font-weight: 600;
        padding-bottom: 10px;
    }

    .my-coverflow-text .my-slide-description-display { /* Updated selector */
        font-size: 14px;
    }
}

/* Tablets (portrait) - 768px and up */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .my-coverflow-text .my-slide-title-display { /* Updated selector */
        font-size: 28px;
        font-weight: 600;
        padding-bottom: 10px;
    }
}
