/*
 * Accessibility overrides (UX audit 2026-12-01, #35, #42, #44).
 * Loaded after every page stylesheet so these win without !important.
 */

:root {
    /* Gold for text on light grounds: 5.0:1 on white (brand --gold is 2.5:1). */
    --gold-text: #8a6420;
}

/* Gold text on light backgrounds: kickers, prices, stars. */
.section-kicker,
.td-price span,
.td-widget-price strong,
.td-widget-price .stars,
.td-pricing-type-head strong,
.tour-bottom .price strong,
.journey-step span {
    color: var(--gold-text);
}

/* Keep the bright gold where the ground is dark. */
.dark .section-kicker,
.dark .journey-step span,
.td-final-cta .section-kicker,
.blog-newsletter-card .section-kicker,
footer .section-kicker {
    color: var(--gold-2);
}

/* Promo "Apply" button: white on the darker gold passes AA. */
.td-promo-controls button {
    background: var(--gold-text);
    color: #fff;
}

/* Visible keyboard focus everywhere. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--gold-text);
    outline-offset: 2px;
}

footer a:focus-visible,
footer button:focus-visible,
.td-final-cta a:focus-visible,
.mobile-footer a:focus-visible {
    outline-color: var(--gold-2);
}

/* Skip link: hidden until focused. */
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: 999px;
    background: #0f1d33;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}
