  /**
 * Image Slider Carousel Styles
 * Hero carousel with background images, text overlay, and call-to-action buttons
 */
 body > main { 
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}
/* Base Carousel Structure */
.image-slider-carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* background-color: #000; */
}

.image-slider-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-x pan-y pinch-zoom;
    /* background-color: #000; */
}

.image-slider-carousel-container {
    display: flex;
    flex-shrink: 0;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.image-slider-carousel-item {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    position: relative;
    display: block;
}

/* Slide Content */
.image-slider-slide-content {
    position: relative;
    width: 100%;
    min-height: 716px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}
.image-slider-slide-content.ck-no-slides{
    min-height: 419px;
    align-items: flex-end;
    justify-content: flex-start;
}
.image-slider-slide-content.ck-no-slides .image-slider-content-wrapper{
    padding: 0 0px 30px;
}
.image-slider-slide-content.ck-no-slides .image-slider-title {
    margin: 0 0 18px 0;
}
.image-slider-slide-content.ck-no-slides .image-slider-details{
    line-height: 20px;
}
.image-slider-slide-content.ck-no-slides .image-slider-content{
    width: 100%;
}
/* Background Image */
.image-slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.image-slider-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

/* Content Wrapper */
.image-slider-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.image-slider-content {
    width: 50%;
    color: rgba(255, 255, 255, 1);
}

/* Title */
.image-slider-title {
    font-size: 42px;
    font-weight: bold;
    color: rgba(255, 255, 255, 1);
    margin: 0 0 40px 0;
    line-height: 1.2;
    
}

/* Details/Description */
.image-slider-details {
    font-size: 42px;
    color: rgba(255, 255, 255, 1);
    width: 100%;
    margin: 0 0 30px 0;
    line-height: 1.3;
    font-family: "SharpSans-Book" !important;
}

.image-slider-details p {
    margin: 0;
    font-size: 42px;
    color: rgba(255, 255, 255, 1);
}

.image-slider-details strong,
.image-slider-details b {
    font-weight: bold;
    font-family: "SharpSans-Bold" !important;
}

/* Call to Action Button */
.image-slider-button {
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    height: 52px;
    border-radius: 6px;
    background-color: rgba(52, 168, 246, 1);
    color: rgba(255, 255, 255, 1);
    font-family: var(--font-family-bold);
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    line-height: 52px;
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-slider-button:hover {
    background-color: rgba(42, 158, 236, 1);
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-slider-button:focus {
    outline: 2px solid rgba(255, 255, 255, 1);
    outline-offset: 2px;
}

.image-slider-button:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.image-slider-button span {
    display: inline-block;
}

/* Video Container */
.image-slider-video {
    margin-top: 20px;
}

/* Navigation Controls */
.carousel-control.image-slider-carousel-prev,
.carousel-control.image-slider-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.carousel-control.image-slider-carousel-prev {
    left: 20px;
}

.carousel-control.image-slider-carousel-next {
    right: 20px;
}

.carousel-control.image-slider-carousel-prev:hover,
.carousel-control.image-slider-carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-control-icon {
    width: 16px;
    height: 16px;
    border-top: 2px solid rgba(255, 255, 255, 1);
    border-right: 2px solid rgba(255, 255, 255, 1);
}

.carousel-control.image-slider-carousel-prev .carousel-control-icon {
    transform: rotate(225deg);
    margin-left: 10px;
}

.carousel-control.image-slider-carousel-next .carousel-control-icon {
    transform: rotate(45deg);
    margin-right: 10px;
}

/* Indicators */
.image-slider-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.image-slider-carousel-indicators .carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    padding: 0;
}

.image-slider-carousel-indicators .carousel-indicator.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.image-slider-carousel-indicators .carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.card-carousel-indicators{
    bottom: -53px !important;
}
.image-slider-details sup {
    position: absolute;
    top: -16px;
}
@media (max-width: 877px) {
    .image-slider-details sup {
        top: -10px;
    }
}

.image-slider-details p {
    position: relative;
}

@media (min-width: 1024px) and (max-width: 1296px) {
    .image-slider-background {
        background-position: 40% center;
    }

    .image-slider-slide-content.ck-no-slides .image-slider-content-wrapper{
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
    .image-slider-content-wrapper {
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
        max-width: 100% !important;
    }
}
/* Responsive Styles - Tablet */
@media (min-width: 878px) and (max-width: 1199px) {
    .image-slider-slide-content {
        min-height: 716px;
    }
    .image-slider-content-wrapper {
        padding: 54px 72px 0;
    }
    
    .image-slider-content {
        width: 75%;
    }
    
    .image-slider-details {
        width: 100%;
        font-size: 36px;
    }
    
    .image-slider-details p {
        font-size: 36px;
    }
    
    .image-slider-title {
        font-size: 42px;
        margin: 0 0 14px 0 !important;
    }
    .image-slider-slide-content.ck-no-slides .image-slider-details{
        font-size: 15px !important;
        line-height: 26px;
        margin: 0 0 53px 0 !important;
    }
    .carousel-control.image-slider-carousel-prev, 
    .carousel-control.image-slider-carousel-next{
        display: none;
    }
    .image-slider-slide-content.ck-no-slides{
        min-height: 409px;
    }
}

/* Responsive Styles - Mobile */
@media (max-width: 877px) {
    .image-slider-slide-content {
        min-height: 607px;
    }
    
    .image-slider-content-wrapper {
        padding: 54px 38px 0 38px;
    }
    
    .image-slider-content {
        width: 100%;
    }
    
    .image-slider-details {
        width: 100%;
        font-size: 26px;
    }
    
    .image-slider-details p {
        font-size: 26px;
    }
    
    .image-slider-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .image-slider-button {
        width: max-content;
        max-width: 300px;
    }
    
    .carousel-control.image-slider-carousel-prev,
    .carousel-control.image-slider-carousel-next {
        width: 40px;
        height: 40px;
        display: none;
    }
    
    .carousel-control.image-slider-carousel-prev {
        left: 10px;
    }
    
    .carousel-control.image-slider-carousel-next {
        right: 10px;
    }
    
    .image-slider-carousel-indicators {
        bottom: 20px;
    }
    .image-slider-slide-content.ck-no-slides .image-slider-content-wrapper {
        padding: 0 0px 30px;
    }
    .image-slider-slide-content.ck-no-slides{
        min-height: 438px !important;
    }
    .image-slider-slide-content.ck-no-slides .image-slider-details {
        line-height: 25px;
    }
    .image-slider-slide-content.ck-no-slides .image-slider-title {
        margin: 0 0 13px 0;
        font-size: 26px;
    }
}

/* Focus Styles for Accessibility */
.image-slider-carousel-wrapper:focus {
    outline: 2px solid rgba(255, 255, 255, 1);
    outline-offset: 2px;
}

.image-slider-carousel-wrapper:focus:not(:focus-visible) {
    outline: none;
}

.image-slider-carousel-wrapper:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 1);
    outline-offset: 2px;
}
