.dtc-topbar-slider {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #c9003f;
    color: #fff;
}

.dtc-topbar-slider__inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 50px;
}

.dtc-topbar-slider__viewport {
    position: relative;
    min-width: 0;
    height: 1.5em;
    overflow: hidden;
    text-align: center;
}

.dtc-topbar-slider__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.dtc-topbar-slider__slide.is-active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dtc-topbar-slider__message {
    display: block;
    width: 100%;
    color: inherit;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.dtc-topbar-slider__message:hover,
.dtc-topbar-slider__message:focus {
    color: inherit;
    text-decoration: underline;
}

.dtc-topbar-slider__arrow {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    width: 30px;
    height: 40px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    opacity: .95;
    transition: opacity .2s ease, transform .2s ease;
}

.dtc-topbar-slider__arrow:hover,
.dtc-topbar-slider__arrow:focus-visible {
    opacity: 1;
    transform: scale(1.08);
    outline: none;
}

@media (max-width: 767px) {
    .dtc-topbar-slider__inner {
        column-gap: 12px;
        padding: 0 8px;
    }

    .dtc-topbar-slider__message {
        font-size: 12px;
        white-space: nowrap;
    }

    .dtc-topbar-slider__arrow {
        width: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dtc-topbar-slider__slide,
    .dtc-topbar-slider__arrow {
        transition: none;
    }
}
