
	
	
	/* ==========================================
   SGD - Homepage Hero Slider
   ========================================== */

.sgd-hero-slider {
    position: relative;
    width: 100%;
}

.sgd-hero-slides {
    position: relative;
    overflow: hidden;
    border-radius: 25px !important;
}

.sgd-hero-slide {
    width: 100%;
}

.sgd-hero-slider [hidden] {
    display: none !important;
}

.sgd-hero-slide picture,
.sgd-hero-slide a {
    display: block;
    width: 100%;
}

.sgd-hero-slide img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Fade transition */

.sgd-hero-slide.is-active {
    animation: sgdHeroFade 0.6s ease;
}

@keyframes sgdHeroFade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Navigation arrows */

.sgd-hero-prev,
.sgd-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.sgd-hero-prev {
    left: 15px;
}

.sgd-hero-next {
    right: 15px;
}

.sgd-hero-prev:hover,
.sgd-hero-next:hover {
    background: #0A6CCF;
}

/* Pagination controls */

.sgd-hero-controls {
    height: 30px;
}

.sgd-hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 30px;
}

.sgd-hero-dot {
    width: 9px;
    height: 9px;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #bcbcbc;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sgd-hero-dot.is-active {
    width: 24px;
    background: #0A6CCF;
}

/* Pause button */

.sgd-hero-pause {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 30px;
    padding: 0 8px;
    border: none;
    background: transparent;
    color: #666666;
    font-size: 12px;
    cursor: pointer;
}

.sgd-hero-slider button:focus-visible {
    outline: 2px solid #0A6CCF;
    outline-offset: 3px;
}

/* Mobile styling */

@media (max-width: 767px) {

    .sgd-hero-prev,
    .sgd-hero-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .sgd-hero-prev {
        left: 8px;
    }

    .sgd-hero-next {
        right: 8px;
    }

    .sgd-hero-slides {
        touch-action: pan-y;
    }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .sgd-hero-slide.is-active {
        animation: none;
    }

    .sgd-hero-slider button {
        transition: none;
    }
}
	
	
	
	/* Slider END */
	
	
	.sgd-homepage-hero .sgd-hero-slider {
    position: relative !important;
}

.sgd-homepage-hero .sgd-hero-prev,
.sgd-homepage-hero .sgd-hero-next {
    position: absolute !important;
    top: calc(50% - 15px) !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    z-index: 10 !important;
}

.sgd-homepage-hero .sgd-hero-prev {
    left: 15px !important;
}

.sgd-homepage-hero .sgd-hero-next {
    right: 15px !important;
}


	



/* ==========================================
   SGD - Slider / Mega Menu Layer Correction
   ========================================== */

.sgd-homepage-hero .sgd-hero-slider {
    position: relative;
    z-index: 0;
    isolation: isolate;
}
	
	