/* Rotating Highlights Block */

.rh {
    padding: 64px 0;
}

.rh__container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background themes */
.rh--light {
    background: #fff;
}

.rh--dark {
    background: #1B2838;
}

.rh--cool-neutral {
    background: #F0F5F7;
}

.rh--blue {
    background: #0074BC;
}

/* Screen reader only utility */
.rh .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Dark / Blue theme text overrides */
.rh--dark .rh__eyebrow,
.rh--blue .rh__eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

.rh--dark .rh__heading,
.rh--blue .rh__heading {
    color: #fff;
}

.rh--dark .rh__intro,
.rh--dark .rh__intro p,
.rh--blue .rh__intro,
.rh--blue .rh__intro p {
    color: rgba(255, 255, 255, 0.95);
}

.rh--dark .rh__slide-heading,
.rh--blue .rh__slide-heading {
    color: #fff;
}

.rh--dark .rh__slide-body,
.rh--dark .rh__slide-body p,
.rh--blue .rh__slide-body,
.rh--blue .rh__slide-body p {
    color: rgba(255, 255, 255, 0.95);
}

.rh--dark .rh__slide-cta,
.rh--blue .rh__slide-cta {
    background: #fff;
    color: #1B2838;
    border-color: #fff;
}

.rh--dark .rh__slide-cta:hover,
.rh--blue .rh__slide-cta:hover {
    background: #F0F5F7;
    border-color: #F0F5F7;
}

.rh--dark .rh__btn,
.rh--blue .rh__btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.rh--dark .rh__btn:hover:not(:disabled),
.rh--blue .rh__btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.rh--dark .rh__btn:disabled,
.rh--blue .rh__btn:disabled {
    opacity: 0.25;
}

.rh--dark .rh__dot,
.rh--blue .rh__dot {
    background: rgba(255, 255, 255, 0.3);
}

.rh--dark .rh__dot--active,
.rh--blue .rh__dot--active {
    background: #fff;
}

/* Header */
.rh__header {
    margin-bottom: 40px;
}

.rh__eyebrow {
    display: inline-block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #264583;
    margin-bottom: 8px;
}

.rh__heading {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.5px;
    color: #0074BC;
    margin-bottom: 16px;
}

.rh__intro,
.rh__intro p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #272725;
    max-width: none;
}

.rh__intro a {
    color: #00549F;
    text-decoration: none;
}

/* Carousel */
.rh__carousel {
    position: relative;
}

/* Slides */
.rh__slide {
    display: none;
}

.rh__slide--active {
    display: block;
    animation: rhFadeIn 0.35s ease;
}

@keyframes rhFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Slide row — text + media side by side on desktop */
.rh__slide-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Media */
.rh__slide-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e4ecf0;
}

.rh__slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rh__video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.rh__video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rh__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 116, 188, 0.9);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.rh__play-button span {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.rh__play-button:hover {
    background: rgba(0, 116, 188, 1);
    transform: translate(-50%, -50%) scale(1.08);
}

.rh__play-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Content */
.rh__slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rh__slide-heading {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0074BC;
    margin-bottom: 12px;
    line-height: 1.3;
}

.rh__slide-body,
.rh__slide-body p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #272725;
    margin-bottom: 16px;
}

.rh__slide-body a {
    color: #00549F;
}

.rh__slide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid #0074BC;
    background: #0074BC;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    min-height: 48px;
    align-self: flex-start;
    margin-top: 8px;
}

.rh__slide-cta:hover {
    background: #264583;
    border-color: #264583;
    color: #fff;
    text-decoration: none;
}

.rh__slide-cta:focus-visible {
    outline: 2px solid #264583;
    outline-offset: 2px;
}

.rh--dark .rh__slide-cta:focus-visible,
.rh--blue .rh__slide-cta:focus-visible {
    outline-color: #fff;
}

/* Controls */
.rh__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.rh__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #0074BC;
    background: transparent;
    color: #0074BC;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.rh__btn svg {
    width: 18px;
    height: 18px;
}

.rh__btn:hover:not(:disabled) {
    background: #0074BC;
    color: #fff;
}

.rh__btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.rh__btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.rh__dots {
    display: flex;
    gap: 8px;
}

.rh__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #c8d8f0;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.rh__dot:focus-visible {
    outline: 2px solid #0074BC;
    outline-offset: 2px;
}

.rh--dark .rh__dot:focus-visible,
.rh--blue .rh__dot:focus-visible {
    outline-color: #fff;
}

.rh__dot--active {
    background: #0074BC;
    transform: scale(1.3);
}

/* ============================================================
   Responsive — Tablet (640px+)
   ============================================================ */
@media (min-width: 640px) {
    .rh__slide-media {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================================
   Responsive — Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    .rh__container {
        padding: 0 32px;
    }

    .rh__heading {
        font-size: 2.25rem;
    }

    .rh__slide-row {
        flex-direction: row;
        gap: 48px;
        align-items: center;
    }

    .rh__slide-media {
        flex: 1 1 50%;
        min-width: 0;
        aspect-ratio: 4 / 3;
        height: auto;
        max-height: 520px;
    }

    .rh__slide-content {
        flex: 1 1 50%;
        min-width: 0;
    }

    /* Reverse: image on left, text on right */
    .rh__slide-row--reverse {
        flex-direction: row-reverse;
    }
}
