/* Accessibility adjustments, kept separate from the original theme. */
[hidden] { display: none !important; }

/* A two-colour focus ring remains visible on light, dark and image backgrounds. */
body :focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #121212 !important;
}
.gallery-items__item-thumb:focus-visible {
    outline-offset: -6px;
    box-shadow: inset 0 0 0 9px #121212 !important;
}
.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 50000;
    padding: 1rem 1.5rem;
    background: #121212;
    color: #fff;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: #fff; }

/* Keep the existing icon buttons when using native button semantics. */
.s-header__menu-toggle,
.s-header__nav-close-btn {
    padding: 0;
    margin: 0;
    letter-spacing: normal;
}
.s-header__menu-toggle { border: 0; }
.s-header__menu-toggle, .s-intro__scroll-down {
    background-color: #d6b469f7;
    border-radius: 13px;
}
.s-header__menu-toggle span { background-color: #121212; }
.s-header__nav-close-btn {
    background: transparent;
    min-width: 30px;
    border-color: #bcaea1;
}
.s-header__nav-close-btn:hover,
.s-header__nav-close-btn:focus { background: #3f3a36; }
.s-header__nav {
    margin: 0;
    border: 0;
    max-width: none;
    max-height: none;
    height: 100dvh;
    overscroll-behavior: contain;
}
.s-header__nav:not([open]),
#cookie-consent-banner:not([open]) { display: none; }
.s-header__nav::backdrop,
#cookie-consent-banner::backdrop { background: rgba(5, 5, 5, .7); }
.menu-is-open { overflow: hidden; }
.s-header__section-links {
    list-style: none;
    margin: var(--vspace-1) 0 var(--vspace-1_5);
    font-size: var(--text-md);
    line-height: 1.3;
}
.s-header__section-links li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.s-header__section-links a {
    display: block;
    padding: 1.2rem 0;
    min-height: 44px;
    overflow-wrap: anywhere;
}
.s-header__nav-social svg { opacity: 1; }
.s-header__nav-social svg path,
.s-header__nav-social svg circle { fill: #d6b469; }
.no-js .s-header__menu-toggle { display: none; }
.ss-home .s-header__block { opacity: 1; transition: none; }

/* Dark text preserves the gold buttons while providing sufficient contrast. */
.btn--primary {
    --color-btn-primary-text: #121212;
    --color-btn-primary-hover-text: #121212;
    color: #121212;
}
.s-footer .link-list a.btn--primary,
.s-footer .link-list a.btn--primary:hover,
.s-footer .link-list a.btn--primary:focus { color: #121212; }
.s-testimonials__cite span { color: #69615a; }
.s-footer { color: #bcaea1; }
.s-footer .link-list a:not(.btn) { color: #bcaea1; }
.ss-go-top span { color: #bcaea1; }
.s-gallery > .u-screen-reader-text { color: #fff; }
.s-testimonials .swiper-pagination-bullet { background: #7d746b; }
.s-testimonials .swiper-pagination-bullet-active { background: #121212; }

/* Preserve the original heading sizes after correcting heading levels. */
.footer-heading, .dish-heading {
    font-size: var(--text-md);
    line-height: 1.1111;
    margin-top: var(--vspace-1_75);
    margin-bottom: var(--vspace-0_75);
}
.s-footer .footer-heading { color: var(--color-body-bg); margin-top: 0; }
.villa-heading {
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.061;
    margin-top: var(--vspace-2);
    margin-bottom: var(--vspace-1);
}
.footer-link {
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
    color: inherit;
    height: auto;
    line-height: inherit;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-decoration: underline;
    white-space: normal;
}
.footer-link:hover, .footer-link:focus { background: transparent; color: inherit; }

.motion-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    max-width: 100%;
    background: #121212;
    color: #fff;
    border: 1px solid #d6b469;
    border-radius: 50%;
    padding: 0;
    margin: 1rem 0;
    height: 44px;
    min-height: 44px;
    font: 500 1.4rem/1.5 var(--font-3);
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
}
.motion-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.motion-toggle:hover, .motion-toggle:focus { background: #3f3a36; color: #fff; }
.motion-toggle--intro {
    position: absolute;
    z-index: 3;
    bottom: var(--vspace-1);
    left: var(--gutter);
    margin: 0;
    max-width: calc(100% - 10rem);
}
/* Video elements do not render the theme's ::before/::after overlays. */
.s-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .65);
    pointer-events: none;
}
.s-intro {
    height: auto;
    min-height: max(var(--content-min-height), 100svh);
}
.s-intro__content { min-height: inherit; }
.s-intro__scroll-down svg path { fill: #121212; }

/* A native cookie dialog retains the existing bottom-right card design. */
#cookie-consent-banner {
    margin: 0;
    top: auto;
    left: auto;
    border: 0;
    opacity: 1;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    justify-content: flex-start;
    overscroll-behavior: contain;
}
#cookie-consent-banner > * { flex-shrink: 0; }
#cookie-consent-banner h2 {
    font: 700 30px/37px system-ui, sans-serif;
    text-align: center;
    margin: 0 0 20px;
    color: #000;
}
#cookie-consent-banner .cookie-consent-buttons button {
    padding: 10px;
    height: auto;
    min-height: 50px;
    max-width: 100%;
    white-space: normal;
    letter-spacing: normal;
    text-transform: none;
}
#cookie-consent-banner .footer-link { color: #000; font-size: 16px; }
body:has(dialog[open]) { overflow: hidden; }

/* Bigger hit areas retain the small visual pagination dots. */
.s-testimonials .swiper-pagination-bullet {
    width: 24px;
    height: 24px;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background-clip: content-box;
    margin: 0 .4rem;
}
.menublock-btn-prev, .menublock-btn-next { padding: 0; border: 0; }
.s-footer a, .s-footer p { overflow-wrap: anywhere; }

/* Keep all content available without scripts, at narrow widths and when zoomed. */
.no-js #preloader { display: none; }
.no-js .swiper-wrapper { display: block; transform: none !important; }
.no-js .swiper-slide { margin-bottom: var(--vspace-2); }
@media (max-width: 600px) {
    #cookie-consent-banner h2 { font-size: 20px; line-height: 25px; }
    .s-intro__content { padding-bottom: 14rem; }
    .ss-copyright span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
}
@media (forced-colors: active) {
    body :focus-visible { outline: 3px solid Highlight !important; }
    .swiper-pagination-bullet { border: 2px solid ButtonText !important; }
    .swiper-pagination-bullet-active { background: Highlight !important; }
}
