.ah-069c596a-container {
    display: inline;
    line-height: inherit;
    text-align: left;
}

.ah-069c596a-break-yes .ah-069c596a-animated {
    display: block;
    margin-top: 0.2em;
}

.ah-069c596a-inline-yes .ah-069c596a-container {
    display: block;
}
.ah-069c596a-inline-yes .ah-069c596a-before,
.ah-069c596a-inline-yes .ah-069c596a-after {
    display: inline;
}

.ah-069c596a-animated {
    display: inline-block;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    isolation: isolate;
    padding: 0.02em 0.18em 0.08em;
    border-radius: 0.16em;
    vertical-align: baseline;
}

.ah-069c596a-text {
    display: inline-block;
}

@media (max-width: 767px) {
    .ah-069c596a-nowrap-mobile-yes .ah-069c596a-animated {
        white-space: nowrap;
    }
}

/* Highlight Rewind Specific Styles */
.ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated {
    --ah-rewind-duration: 4.8s;
    --ah-rotation: -1deg;
    --ah-color-inactive: #ffffff;
    --ah-color-active: #681340;
    
    white-space: nowrap;
    animation: ah-069c596a-text-color var(--ah-rewind-duration) cubic-bezier(0.7, 0, 0.2, 1) infinite;
}

.ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated::before {
    content: "";
    position: absolute;
    left: -0.045em;
    right: -0.045em;
    top: 0.08em;
    bottom: 0.04em;
    border-radius: 0.16em;
    transform: scaleX(0) rotate(var(--ah-rotation));
    transform-origin: left center;
    z-index: -1;
    animation: ah-069c596a-reveal var(--ah-rewind-duration) cubic-bezier(0.7, 0, 0.2, 1) infinite;
}

.ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated::after {
    content: "";
    position: absolute;
    top: 0.02em;
    bottom: 0.02em;
    width: 0.08em;
    left: -0.08em;
    border-radius: 999px;
    opacity: 0;
    z-index: 2;
    animation: ah-069c596a-cursor var(--ah-rewind-duration) cubic-bezier(0.7, 0, 0.2, 1) infinite;
}

@keyframes ah-069c596a-reveal {
    0% {
        transform: scaleX(0) rotate(var(--ah-rotation));
        transform-origin: left center;
    }
    24% {
        transform: scaleX(1) rotate(var(--ah-rotation));
        transform-origin: left center;
    }
    62% {
        transform: scaleX(1) rotate(var(--ah-rotation));
        transform-origin: right center;
    }
    86% {
        transform: scaleX(0) rotate(var(--ah-rotation));
        transform-origin: right center;
    }
    100% {
        transform: scaleX(0) rotate(var(--ah-rotation));
        transform-origin: left center;
    }
}

@keyframes ah-069c596a-text-color {
    0%, 12% {
        color: var(--ah-color-inactive);
    }
    24%, 62% {
        color: var(--ah-color-active);
    }
    86%, 100% {
        color: var(--ah-color-inactive);
    }
}

@keyframes ah-069c596a-cursor {
    0% {
        opacity: 0;
        left: -0.08em;
    }
    6% {
        opacity: 1;
    }
    24% {
        opacity: 1;
        left: calc(100% + 0.04em);
    }
    34%, 60% {
        opacity: 0;
        left: calc(100% + 0.04em);
    }
    66% {
        opacity: 1;
        left: calc(100% + 0.04em);
    }
    86% {
        opacity: 1;
        left: -0.08em;
    }
    96%, 100% {
        opacity: 0;
        left: -0.08em;
    }
}

@media (max-width: 767px) {
    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated {
        padding: 0.02em 0.16em 0.08em;
    }
}

@media (max-width: 390px) {
    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated,
    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated::before,
    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated::after {
        animation: none !important;
    }
    
    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated {
        color: var(--ah-color-active);
    }
    
    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated::before {
        transform: scaleX(1) rotate(var(--ah-rotation));
    }
    
    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated::after {
        display: none;
    }
}

/* =========================================================
   A42 MOBILE OVERFLOW FIX - Added manually
   Prevents the animated headline from creating horizontal scroll
   ========================================================= */

.ah-069c596a-container,
.ah-069c596a-container * {
    box-sizing: border-box;
}

.ah-069c596a-container {
    max-width: 100%;
    width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}

.ah-069c596a-before,
.ah-069c596a-after,
.ah-069c596a-text {
    overflow-wrap: break-word;
    word-break: normal;
}

@media (max-width: 767px) {
    .ah-069c596a-container {
        display: block;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }

    .ah-069c596a-animated,
    .ah-069c596a-text {
        max-width: 100%;
    }

    .ah-069c596a-container[data-type="highlight_rewind"] .ah-069c596a-animated,
    .ah-069c596a-nowrap-mobile-yes .ah-069c596a-animated {
        white-space: normal;
    }
}
