/* AE24 Logo Carousel - Frontend v3.3.0 */

/* ===== BASE STYLES ===== */
.ae24-lc {
    --ae24-height: 60px;
    --ae24-width: auto;
    --ae24-spacing: 30px;
    --ae24-radius: 0px;
    --ae24-border: 0px;
    --ae24-border-color: #e0e0e0;
    --ae24-bg: transparent;
    --ae24-opacity: 1;
    width: 100%;
    padding: 20px 0;
    padding-bottom: 10px;
    overflow: visible;
}

.ae24-lc-wrap {
    position: relative;
}

/* ===== FADE MASK EFFECT ===== */
.ae24-lc--fade {
    --ae24-fade-size: 80px;
}

.ae24-lc--fade .ae24-lc-wrap {
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black var(--ae24-fade-size),
        black calc(100% - var(--ae24-fade-size)),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black var(--ae24-fade-size),
        black calc(100% - var(--ae24-fade-size)),
        transparent 100%
    );
}

.ae24-lc-swiper {
    overflow: hidden;
}

/* ===== SLIDES ===== */
.ae24-lc-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

/* Marquee mode: auto width slides */
.ae24-lc--marquee .ae24-lc-slide {
    width: auto !important;
}

/* Carousel mode: equal width slides controlled by slidesPerView */
.ae24-lc:not(.ae24-lc--marquee) .ae24-lc-slide {
    /* Width is automatically handled by Swiper's slidesPerView */
}

.ae24-lc-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px;
}

/* ===== IMAGE STYLING ===== */
.ae24-lc-img {
    display: block !important;
    visibility: visible !important;
    height: var(--ae24-height);
    width: var(--ae24-width);
    max-width: 100%;
    object-fit: contain;
    opacity: var(--ae24-opacity) !important;
    border-radius: var(--ae24-radius);
    border: var(--ae24-border) solid var(--ae24-border-color);
    background: var(--ae24-bg);
    box-sizing: border-box;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Auto width for marquee mode */
.ae24-lc--marquee .ae24-lc-img {
    width: auto;
    max-width: none;
}

/* ===== MARQUEE MODE: Continuous Scroll ===== */
.ae24-lc--marquee .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* ===== GRAYSCALE ===== */
.ae24-lc--grayscale .ae24-lc-img {
    filter: grayscale(100%);
    opacity: 0.5 !important;
}
.ae24-lc--grayscale .ae24-lc-slide:hover .ae24-lc-img {
    filter: grayscale(0%);
    opacity: 1 !important;
}

/* ===== HOVER EFFECTS ===== */
.ae24-lc--hover-scale .ae24-lc-slide:hover .ae24-lc-img { transform: scale(1.1); }
.ae24-lc--hover-grow .ae24-lc-slide:hover .ae24-lc-img { transform: scale(1.15); }
.ae24-lc--hover-shrink .ae24-lc-slide:hover .ae24-lc-img { transform: scale(0.92); }
.ae24-lc--hover-float .ae24-lc-slide:hover .ae24-lc-img { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.ae24-lc--hover-sink .ae24-lc-slide:hover .ae24-lc-img { transform: translateY(5px); }
.ae24-lc--hover-rotate .ae24-lc-slide:hover .ae24-lc-img { transform: rotate(5deg) scale(1.05); }
.ae24-lc--hover-shadow .ae24-lc-slide:hover .ae24-lc-img { box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.ae24-lc--hover-glow .ae24-lc-slide:hover .ae24-lc-img { box-shadow: 0 0 25px rgba(59, 130, 246, 0.5); }
.ae24-lc--hover-bright .ae24-lc-slide:hover .ae24-lc-img { filter: brightness(1.2); }

/* ===== TITLES ===== */
.ae24-lc-name {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}
.ae24-lc--titles .ae24-lc-name { 
    display: block; 
}

/* ===== NAVIGATION ARROWS ===== */
.ae24-lc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    padding: 0;
}

.ae24-lc-nav:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    background: #fafafa;
}

.ae24-lc-nav svg {
    width: 40%;
    height: 40%;
    stroke: #666;
    stroke-width: 2;
    fill: none;
}

.ae24-lc-nav:hover svg { 
    stroke: #333; 
}

.ae24-lc-prev { left: 0; }
.ae24-lc-next { right: 0; }

.ae24-lc-nav.swiper-button-disabled { 
    opacity: 0.35; 
    cursor: default; 
    pointer-events: none;
}

/* ===== PAGINATION DOTS ===== */
.ae24-lc-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.ae24-lc-dots .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ae24-lc-dots .swiper-pagination-bullet:hover {
    background: #999;
}

.ae24-lc-dots .swiper-pagination-bullet-active {
    background: #333;
    transform: scale(1.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ae24-lc-nav { 
        width: 36px; 
        height: 36px; 
    }
    .ae24-lc-link {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .ae24-lc-nav { 
        width: 32px; 
        height: 32px; 
    }
    .ae24-lc-name { 
        font-size: 11px; 
    }
    .ae24-lc-dots .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}
