.rshs-slider {
    position: relative;
    height: 440px;
    overflow: hidden;
    /* Neutral fallback instead of a full black flash while images load. */
    background: #ece8e1;
    isolation: isolate;
}

.rshs-item {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transition: opacity .8s ease-in-out;
    will-change: opacity;
}

.rshs-item.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
}

.rshs-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ece8e1;
}

.rshs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .46);
}

.rshs-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(86%, 820px);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 16px #000;
}

.rshs-content h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    margin: 0 0 12px;
}

.rshs-content p {
    color: #fff;
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.4;
    margin: 0 auto 20px;
}

.rshs-eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    margin-bottom: 10px;
}

.rshs-content a {
    display: inline-block;
    background: #0f4c81;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 22px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 800;
}

.rshs-prev,
.rshs-next {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: #0008;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.rshs-prev {
    left: 20px;
}

.rshs-next {
    right: 20px;
}

.rshs-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.rshs-dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.rshs-dots button.is-active {
    background: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .rshs-item {
        transition: none;
    }
}

@media (max-width: 700px) {
    .rshs-slider {
        height: 340px;
    }

    .rshs-content {
        width: min(82%, 620px);
    }

    .rshs-content h1 {
        font-size: clamp(25px, 8vw, 36px);
    }

    .rshs-content p {
        font-size: 15px;
    }

    .rshs-prev {
        left: 8px;
    }

    .rshs-next {
        right: 8px;
    }
}
