:root {
    --scroll-offset: 88px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-offset);
}

main,
section,
.page-wrapper,
#notfound {
    scroll-margin-top: var(--scroll-offset);
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 2000;
    transform: translateY(-180%);
    padding: 0.65rem 0.9rem;
    border-radius: 0.5rem;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 2px solid #d9ad26;
    outline-offset: 2px;
}

.page-wrapper h1,
.page-wrapper h2,
.section-title,
.program-title {
    color: #5f4a00 !important;
}

.page-wrapper a {
    color: #5f4a00 !important;
}

.section-subtitle,
.testimonial-author {
    color: #4a3f1e !important;
}

.badge.bg-light.text-primary,
.badge.bg-primary-subtle.text-primary {
    color: #1d3f72 !important;
}

#cookie-consent-decline {
    color: #374151;
    border-color: #6b7280;
    background-color: #fff;
}

#cookie-consent-decline:hover,
#cookie-consent-decline:focus-visible {
    color: #111827;
    background-color: #f3f4f6;
}

.btn-outline-secondary {
    color: #374151;
    border-color: #4b5563;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus-visible {
    color: #111827;
    background-color: #e5e7eb;
    border-color: #4b5563;
}

.color-swatch-brand,
.color-swatch-accent {
    color: #1f2937 !important;
}

.color-swatch-accent {
    background-color: #f3e7b7 !important;
}

.color-swatch-brand .opacity-75,
.color-swatch-accent .opacity-75 {
    opacity: 0.95 !important;
}

.hero-block--dark .btn-warning {
    color: #1f2937 !important;
    border-color: #f0c94a !important;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
