/* UiCore Carousel Frontend Styles - Custom Layout */
.uicore-carousel-wrapper {
    margin: 75px 0 25px 0;
    position: relative;
}

.uicore-carousel {
    max-width: 100%;
    margin: 0 auto;
}

.carousel-slide {
    position: relative;
    outline: none;
    padding: 0;
}

/* Image styling - equal heights */
.carousel-slide img {
    width: 100%;
    height: auto; /* Fixed height - adjust as needed */
    object-fit: cover; /* This ensures images maintain aspect ratio while filling the space */
    display: block;
    margin: 0;
}


/* Text content positioning - under image, left aligned */
.carousel-slide .slide-content {
    position: static;
    background: none;
    color: inherit;
    text-align: left;
	padding-top: 10px
}

.carousel-slide h3 {
    font-size: 1.5em;
    margin: 0 0 8px 0;
    color: #333; /* Change from white to dark */
    text-align: left;
}

.carousel-slide p {
    font-size: 1em;
    line-height: 1.4;
    color: #666; /* Change from white to gray */
    margin: 0;
    text-align: left;
}

/* Custom Arrow Styles - Bottom Right */
.uicore-carousel .slick-prev,
.uicore-carousel .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute !important;
    bottom: 20px;
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    transform: none;
}

.uicore-carousel .slick-prev:hover,
.uicore-carousel .slick-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Position arrows next to each other in bottom right */
.uicore-carousel .slick-prev {
    right: 50px;
    bottom: -35px;
    top: auto;
    left: auto;
}

.uicore-carousel .slick-next {
    right: 0px;
    bottom: -35px;
    top: auto;
    left: auto;
}

.uicore-carousel .slick-prev:before,
.uicore-carousel .slick-next:before {
    font-family: 'slick';
    font-size: 16px;
    line-height: 1;
    opacity: 1;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.uicore-carousel .slick-prev:before {
    content: '←';
}

.uicore-carousel .slick-next:before {
    content: '→';
}

/* Hide default dots since we're using custom arrows */
.uicore-carousel .slick-dots {
    display: none !important;
}

/* Alternative: 
 * If you want dots, position them differently */
.uicore-carousel.show-dots .slick-dots {
    position: absolute;
    bottom: -35px;
    display: block !important;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.uicore-carousel.show-dots .slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.uicore-carousel.show-dots .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.uicore-carousel.show-dots .slick-dots li button:before {
    font-size: 12px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: 0.5;
    color: #fff;
}

.uicore-carousel.show-dots .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 300px; /* Smaller height on mobile */
    }
    
    .carousel-slide .slide-content {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 12px 15px;
    }
    
    .carousel-slide h3 {
        font-size: 1.3em;
        margin-bottom: 5px;
    }
    
    .carousel-slide p {
        font-size: 0.9em;
    }
    
    .uicore-carousel .slick-prev,
    .uicore-carousel .slick-next {
        width: 35px;
        height: 35px;
    }
    
    
    .uicore-carousel .slick-prev:before,
    .uicore-carousel .slick-next:before {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        height: 250px;
    }
    
    .carousel-slide .slide-content {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px 12px;
    }
    
    .carousel-slide h3 {
        font-size: 1.2em;
    }
    
    .carousel-slide p {
        font-size: 0.85em;
    }
    
    .uicore-carousel .slick-prev,
    .uicore-carousel .slick-next {
        width: 30px;
        height: 30px;
    }
    
}

/* UiCore carousel placeholder for empty carousel */
.uicore-carousel-placeholder {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #666;
    font-style: italic;
}
.carousel-persistent-counter {
    text-align: left;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
	position: relative;
	bottom: 25px;
}