/* Slide2 Gallery - Single Image Slider */
.c-slider2-container {
    width: 100%;
    position: relative;
}

/* Slider Container */
.c-slider2 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Slides Container */
.c-slider2-slides {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

/* Individual Slide - Single Image */
.c-slider2-slide {
    display: flex;
    width: 100%;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    justify-content: center; /* Center single image */
    align-items: center;
}

/* Single Image Item in Slide */
.c-slider2-item {
    width: 100%; /* Full width for single image */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0; /* No rounded corners like other galleries */
    box-shadow: none; /* No shadows like other galleries */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Same transition as other galleries */
}

.c-slider2-item:hover {
    transform: none; /* No transform on hover like other galleries */
    box-shadow: none; /* No shadows on hover like other galleries */
}

.c-slider2-item:hover .c-slider2-image {
    transform: scale(1.1); /* Same scale as other galleries */
}

.c-slider2-image {
    width: 100%;
    height: auto; /* Preserve aspect ratio */
    display: block;
    transition: transform 300ms ease-in-out; /* Same transition as other galleries */
    opacity: 0;
    object-fit: contain; /* Show full image without cropping */
    object-position: center;
}

.c-slider2-image.c-loaded {
    opacity: 1;
    transition: transform 300ms ease-in-out, opacity 0.5s ease; /* Same as other galleries */
}

/* Image Placeholder with Loader */
.c-image-placeholder2-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%); /* Same as other galleries */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px; /* Minimum height for single image */
}

.c-loader2-slide {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #666666;
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Same animation as other galleries */
}

/* Navigation Container - Same as original slide gallery */
.c-slider2-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 4rem;
}

/* Navigation Arrows - Same as original slide gallery */
.c-slider2-nav {
    color: black;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-slider2-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Dots Navigation - Same as original slide gallery */
.c-slider2-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.c-slider2-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.c-slider2-dot.c-active {
    background: #000;
}

.c-slider2-dot:hover {
    background: #666;
}

/* Mobile Responsive - Same as original slide gallery */
@media (max-width: 768px) {
    .c-slider2-navigation {
        gap: 15px;
    }

    .c-slider2-nav {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }

    .c-image-placeholder2-slide {
        min-height: 200px;
    }
}

/* Loading State */
.c-slider2.loading {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-slider2.loading::before {
    content: "Loading images...";
    color: #666;
    font-size: 16px;
}

/* Error State */
.c-slider2.error {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.c-slider2.error::before {
    content: "Failed to load images";
    color: #999;
    font-size: 16px;
}
