/* WCAG 2.2 AA. New file so the CDN does not keep an older stylesheet. */

html {
    scroll-padding-top: 5.5rem;
    scroll-padding-bottom: 4.5rem;
}

body:has(.cky-consent-container:not(.cky-hide)) {
    scroll-padding-bottom: 14rem;
}

#continut:focus {
    outline: 2px solid #2d5a1b;
    outline-offset: 2px;
}

.search-overlay-input:focus,
.search-overlay-input:focus-visible {
    outline: 2px solid #2d5a1b;
    outline-offset: 3px;
}

button.slider-dot:focus-visible,
button.zestrea-dot:focus-visible,
.udlb-motion-pause:focus-visible {
    outline: 2px solid #2d5a1b;
    outline-offset: 2px;
}

/* Same 10px green dot. The extra box is only the hit area. */
button.zestrea-dot {
    position: relative;
    overflow: visible;
}

button.zestrea-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
}

.taine-titlu {
    padding-top: 3.5rem;
}

/* Scroll fade must not leave this paragraph below 4.5:1. */
.brand-story-p {
    opacity: 1 !important;
}

/* White controls on a light photograph need a dark edge. Fill stays white.
   Scale only the dot. transition:all was also repainting the ring and the border,
   which made the 14px circle step from pixel to pixel. */
button.slider-dot {
    box-shadow: 0 0 0 1px #231f20;
    transform: translateZ(0) scale(1);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    backface-visibility: hidden;
}

button.slider-dot.active {
    transform: translateZ(0) scale(1.2);
}

@media (min-width: 992px) {
    .simple-scroll-slider .slider-dots-right {
        top: 0;
        bottom: 0;
        height: auto;
        transform: none;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    button.slider-dot {
        transition: none;
    }
}

button.simple-slider-arrow {
    text-shadow:
        0 0 0 #231f20,
        1px 0 0 #231f20,
        -1px 0 0 #231f20,
        0 1px 0 #231f20,
        0 -1px 0 #231f20;
}

.udlb-motion-pause {
    position: fixed;
    z-index: 40;
    top: 5.5rem;
    right: 0.85rem;
    padding: 0.18rem 0.55rem;
    border: 1px solid rgba(45, 90, 27, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #231f20;
    font-family: "EB Garamond", Georgia, serif;
    font-size: 0.78rem;
    line-height: 1.15;
    cursor: pointer;
}

html.udlb-motion-off *,
html.udlb-motion-off *::before,
html.udlb-motion-off *::after {
    animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
    html:not(.udlb-motion-on) *,
    html:not(.udlb-motion-on) *::before,
    html:not(.udlb-motion-on) *::after {
        animation-play-state: paused !important;
    }
}

html.udlb-motion-on *,
html.udlb-motion-on *::before,
html.udlb-motion-on *::after {
    animation-play-state: running !important;
}
