/* Keep keyboard focus visible on both light panels and dark or photographic surfaces. */
body:is(.td-page,.tv-page) :is(a,button,input,select,textarea,summary):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #092449;
}

/* Footer links need a light hover color against the dark background. */
body.td-page .td-footer a:not(.td-btn):is(:hover,:focus-visible),
body.tv-page .tv-footer a:is(:hover,:focus-visible) {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}
body.td-page .td-footer .td-socials a:is(:hover,:focus-visible),
body.tv-page .tv-footer .tv-socials a:is(:hover,:focus-visible) {
    background: #e4f1fc;
    color: #092449;
}

/* The alternate homepage uses coral for both labels and filled actions. */
body.tv-page { --tv-coral: #bf2a23; }

/* Keep the handwritten caption legible on the homepage photograph. */
body.td-page.page-template-tourista-design-preview-php .td-hero-note {
    -webkit-text-stroke: 3px #092449;
    paint-order: stroke fill;
}
