/* Give the independent controls row a white background across the full hero. */
.cs-home .cl-hero { background: #fff; }

/* The controls follow the complete active slide in normal document flow. */
.cl-hero > .cl-hero-controls {
    position: relative;
    inset: auto;
    z-index: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: min(1280px, calc(100% - 80px));
    height: auto;
    margin: 0 auto;
    padding: 12px 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.cl-hero > .cl-hero-controls button {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #c7dddf;
    border-radius: 50%;
    background: #fff;
    color: #254d55;
    line-height: 1;
    transition: background .2s, border-color .2s;
}

.cl-hero > .cl-hero-controls button:hover {
    border-color: #8abdc5;
    background: #f4fbfb;
}

.cl-hero > .cl-hero-controls button:focus-visible {
    outline: 2px solid #088fa2;
    outline-offset: 4px;
}

.cl-hero > .cl-hero-controls span {
    min-width: 54px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
    .cl-hero > .cl-hero-controls {
        width: calc(100% - 50px);
        gap: 10px;
        padding: 14px 0 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cl-hero > .cl-hero-controls button { transition: none; }
}
