
.sgps-slider {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #579FC8;
    isolation: isolate;
}

/* Shared background image */
.sgps-shared-background {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    max-width: none !important;
    max-height: none !important;
    display: block;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 0;
    pointer-events: none;
}

/* Remove blue overlay */
.sgps-background-overlay {
    position: absolute;
    inset: 0;
    background: transparent !important;
    z-index: 1;
    pointer-events: none;
}

/* Slider track */
.sgps-track {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: inherit;
    height: 100%;
    transition: transform .65s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

/* Individual slide */
.sgps-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
}

/* Slide layout */
.sgps-slide-inner {
    width: min(calc(100% - 48px), 1500px);
    min-height: inherit;
    margin: 0 auto;
    padding: 36px 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(35px, 8vw, 150px);
}

/* Featured image column */
.sgps-image-column {
    flex: 0 0 38%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

/* Featured image */
.sgps-featured-image {
    display: block;
    width: 75%;
    height: auto;
    max-width: 100%;
    object-fit: var(--sgps-image-fit, contain);
    object-position: center;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.sgps-image-placeholder {
    width: 100%;
    min-height: 340px;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.12);
    color: #fff;
}

/* Right content column */
.sgps-content-column {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
}

.sgps-content-wrap {
    width: 100%;
    max-width: var(--sgps-content-width, 650px);
}

/* Post title */
.sgps-title {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.15;
    font-weight: 700;
}

/* Slide description */
.sgps-slide-text {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(17px, 1.6vw, 25px);
    line-height: 1.55;
    font-weight: 500;
}

.sgps-slide-text p {
    margin: 0 0 12px;
}

/* Button */
.sgps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 9px;
    background: #fff;
    color: #579FC8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}

.sgps-button:hover,
.sgps-button:focus {
    background: #173d55;
    color: #fff;
}

/* Navigation arrows */
.sgps-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease;
    outline: none;
}

.sgps-arrow:hover,
.sgps-arrow:focus {
    background: transparent !important;
    box-shadow: none !important;
    color: #fff;
    opacity: .7;
}

.sgps-prev {
    left: 20px;
}

.sgps-next {
    right: 20px;
}


/* Pagination */
.sgps-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 9;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.sgps-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid #173d55;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.sgps-dot.is-active {
    background: #173d55;
}

.sgps-empty {
    padding: 18px;
    border: 1px dashed #aaa;
}

/* Mobile responsive */
@media (max-width: 767px) {

    
    .sgps-track,
    .sgps-slide {
        min-height: unset;
    }

    .sgps-slide-inner {
        width: 100%;
        min-height: unset;
        padding: 42px 28px 60px;
        flex-direction: column;
        gap: 24px;
    }

    .sgps-image-column {
        flex: 0 0 auto;
        width: min(78%, 340px);
    }


    .sgps-content-column {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .sgps-title {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .sgps-slide-text {
        font-size: 16px;
        margin-bottom: 18px;
    }

     .sgps-arrow {
        width: 34px;
        height: 34px;
    }

    .sgps-arrow svg {
        width: 24px;
        height: 24px;
    }

    .sgps-prev {
        left: 5px;
    }

    .sgps-next {
        right: 5px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .sgps-track {
        transition: none;
    }
}
