/*
 * World's Toughest Row - site chrome (v267)
 * Fonts, colour settings, the main button, shared header, phone menu and footer.
 * Loaded after main.css on every page except Connect.
 */

@font-face {
    font-family: "Anton";
    src: url("../fonts/anton-latin-2.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-var.woff2") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Colour and type settings ---------- */
/* dark look is the default. Carsten's rule 0 (30 Oct): black, not navy.
   Changing the site's look means changing these values. */
:root {
    --wtr-c-bg: #000000;          /* main background: header, hero, sections, footer */
    --wtr-c-bg-2: #0d0d0d;        /* alternate sections */
    --wtr-c-header: #000000;
    --wtr-c-card: #161616;        /* cards, boxes, dropdown panels */
    --wtr-c-card-line: #262626;   /* thin border on cards and boxes */
    --wtr-c-accent: #62d0f5;      /* buttons, labels, 95% */
    --wtr-c-accent-hover: #8adcf8;
    --wtr-c-on-accent: #000000;
    --wtr-c-gold: #e8be6e;        /* Indian Ocean accent */
    --wtr-c-text: #ffffff;
    --wtr-c-text-soft: rgba(255, 255, 255, .85);
    --wtr-c-text-faint: rgba(255, 255, 255, .70);
    --wtr-c-line: #262626;
    --wtr-font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
    --wtr-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --wtr-header-h: 97px;
    --wtr-header-h-sm: 64px;
    --wtr-chrome-gutter: clamp(20px, 4vw, 56px);
    --wtr-chrome-rail: 1360px;
}
/* ======================================================================
 * 276.83: WTR Crisp (Carsten, 18 Nov): one photo grade for every photo and video on the site.
 * Change the values here and the whole site follows; a new page needs nothing (every photo and
 * video in the page content gets it), and anything else can use the class .wtr-crisp.
 * Logos and partner tiles keep their own colours. Black-and-white photos (About) stay black and
 * white with WTR Crisp on top.
 * ====================================================================== */
:root { --wtr-crisp: brightness(0.97) saturate(0.95) contrast(1.08); }
.wtr-crisp,
main :where(img, video):not(:where([src$=".svg"], [class*="logo"], [class*="avatar"])):not(:where([class*="logo"], [class*="avatar"], .wtr-home-map) *) {
    filter: var(--wtr-crisp) !important;
}
body main :where(.wtr-about-person-card, .wtr-about-bw-image) img { filter: grayscale(1) var(--wtr-crisp) !important; }

/* ======================================================================
 * 276.83: every photo's centre point and zoom, on every page (inc/photo-fields.php). A photo with
 * data-wtr-photo is cropped around --wtr-px/--wtr-py and zoomed by --wtr-pz; phones use the -m values
 * when set, otherwise the laptop ones. A zoomed photo's frame clips it.
 * ====================================================================== */
img[data-wtr-photo] {
    object-position: var(--wtr-px, 50%) var(--wtr-py, 50%);
    scale: var(--wtr-pz, 1);
    transform-origin: var(--wtr-px, 50%) var(--wtr-py, 50%);
}
@media (max-width: 767px) {
    img[data-wtr-photo] {
        object-position: var(--wtr-px-m, var(--wtr-px, 50%)) var(--wtr-py-m, var(--wtr-py, 50%));
        scale: var(--wtr-pz-m, var(--wtr-pz, 1));
        transform-origin: var(--wtr-px-m, var(--wtr-px, 50%)) var(--wtr-py-m, var(--wtr-py, 50%));
    }
}
:has(> img[data-wtr-photo][style*="--wtr-pz"]) { overflow: hidden; }

/* 276.84: no navy anywhere (Carsten's colour rule, again 19 Nov): Boats & Classes' photo frames and the team
   list's search boxes use the site's card colours instead of their old dark blue. */
.wtr-boat-size-photo { background-color: #161616 !important; }
/* Team pages (styled by the team importer plugin): black, near-black and the card colour instead of navy */
html body .wtr-tp-hero, html body .wtr-tp-next { background-color: #000 !important; }
html body .wtr-tp-story, html body .wtr-tp-boat { background-color: #0d0d0d !important; }
html body :is(.wtr-tp-rower, .wtr-tp-tip) { background-color: #161616 !important; border-color: #262626 !important; }
html body .wtr-team-directory .wtr-team-directory__controls :is(input, select) { background-color: #161616 !important; border-color: #262626 !important; color: #fff !important; }

/* 276.80: below 1100px the menu sits 20px from the screen edge (14px on the narrowest phones), so the page column
   does too: text lines up with the logo on small laptops and tablets as well, not 12-24px in from it.
   --wtr-site-gutter (main.css) sets the column of the pages built from sections; --wtr-chrome-gutter that of Home and LIVE. */
@media (max-width: 1099px) { :root { --wtr-chrome-gutter: 20px; --wtr-site-gutter: 20px; } }
@media (max-width: 359px) {
    :root { --wtr-chrome-gutter: 14px; --wtr-site-gutter: 14px; }
    .wtr-home-wrap, .wtr-v23-wrap, .wtr-v23-belief .wtr-v23-wrap, .wtr-h-main .wtr-h-wrap { width: calc(100% - 28px) !important; } /* main.css and home.css fix phones at 20px */
}
/* alternative look keeps its own palette so the site can still be switched. */
body.wtr-look-alt-base {
    --wtr-c-bg: #172c52;
    --wtr-c-bg-2: #1b2e58;
    --wtr-c-header: #5b75a9;
    --wtr-c-card: #223868;
    --wtr-c-card-line: rgba(255, 255, 255, .16);
    --wtr-c-accent: #91daf4;
    --wtr-c-accent-hover: #b4e7f9;
    --wtr-c-on-accent: #10223f;
    --wtr-c-line: rgba(255, 255, 255, .12);
}

/* dark look: pure black page background, header and dropdown panels (no navy). */
body.wtr-look-dark {
    background-color: var(--wtr-c-bg) !important;
}
body.wtr-look-dark .wtr-chrome-header {
    background: var(--wtr-c-header) !important;
    background-image: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--wtr-c-line) !important;
}
body.wtr-look-dark .wtr-chrome-header .wtr-nav-dropdown,
body.wtr-look-dark .wtr-chrome-header .wtr-nav-mega-dropdown {
    background: var(--wtr-c-card) !important;
    background-image: none !important;
    border-color: var(--wtr-c-card-line) !important;
}

/* ---------- Helpers ---------- */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.wtr-skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100000;
    padding: 12px 16px;
    background: var(--wtr-c-accent);
    color: var(--wtr-c-on-accent);
    font: 700 14px/1 var(--wtr-font-body);
    text-decoration: none;
    border-radius: 4px;
}
.wtr-skip-link:focus { top: 12px; }
.wtr-skip-target { position: relative; height: 0; outline: none; }

/* The € sign: Inter medium, as tall as the Anton digits, tight to the number. */
.wtr-euro {
    font-family: var(--wtr-font-body);
    font-weight: 500;
    font-size: 1.26em;
    line-height: 0;
    letter-spacing: 0;
    margin-right: -0.04em;
}

/* ---------- Main button: one style everywhere ---------- */
.wtr-btn-main,
body .wtr-v23-btn.primary,
body.wtr-look-dark .wtr-v23-btn.primary,
body.wtr-look-alt-base .wtr-v23-btn.primary,
body .wtr-lp-btn.primary,
body.wtr-landing-skin-dark .wtr-lp-btn.primary,
body .wtr-chrome-header .wtr-home-nav-cta {
    background: var(--wtr-c-accent) !important;
    background-image: none !important;
    color: var(--wtr-c-on-accent) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}
.wtr-btn-main:hover,
.wtr-btn-main:focus-visible,
body .wtr-v23-btn.primary:hover,
body .wtr-lp-btn.primary:hover,
body .wtr-chrome-header .wtr-home-nav-cta:hover {
    background: var(--wtr-c-accent-hover) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ---------- Header ---------- */
body .wtr-chrome-header .wtr-v23-nav-wrap {
    min-height: var(--wtr-header-h) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}
body .wtr-chrome-header .wtr-v23-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    background: transparent !important;
    padding: 0 !important;
}
body .wtr-chrome-header .wtr-v23-logo img {
    height: 60px !important;
    width: auto !important;
    max-width: none !important;
}
body .wtr-chrome-header .wtr-main-nav { margin-left: auto; }
body .wtr-chrome-header .wtr-home-header-socials { flex: 0 0 auto; }
body .wtr-chrome-header .wtr-home-nav-cta { flex: 0 0 auto; display: inline-flex !important; align-items: center; }

/* Indian dropdown: gold accent and a short note column. */
.wtr-nav-indian-note > span { color: var(--wtr-c-gold) !important; }
.wtr-nav-indian-note p {
    margin: 0;
    color: var(--wtr-c-text-soft);
    font: 400 14px/1.5 var(--wtr-font-body);
    letter-spacing: 0;
    text-transform: none;
}

/* Burger: phones and tablets only. */
.wtr-burger {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
}
.wtr-burger-lines { display: grid; gap: 5px; width: 24px; }
.wtr-burger-lines i { display: block; height: 2px; border-radius: 2px; background: currentColor; }

/* Laptops: tighten before switching to the burger. */
@media (max-width: 1439px) {
    body .wtr-chrome-header .wtr-v23-logo img { height: 50px !important; }
}
@media (max-width: 1279px) {
    body .wtr-chrome-header .wtr-v23-logo img { height: 42px !important; }
    body .wtr-chrome-header .wtr-home-header-socials { display: none !important; }
}

/* Phones and tablets: slim sticky header with logo, small button and burger. */
@media (max-width: 1099px) {
    body .wtr-chrome-header .wtr-v23-nav-wrap {
        min-height: var(--wtr-header-h-sm) !important;
        height: var(--wtr-header-h-sm);
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 20px !important;
        gap: 12px !important;
    }
    body .wtr-chrome-header .wtr-main-nav,
    body .wtr-chrome-header .wtr-home-header-socials { display: none !important; }
    body .wtr-chrome-header .wtr-v23-logo { margin-right: auto; min-width: 0; flex: 0 1 auto; }
    body .wtr-chrome-header .wtr-v23-logo img { height: 26px !important; }
    body .wtr-chrome-header .wtr-home-nav-cta {
        display: inline-flex !important;
        align-items: center;
        min-height: 36px !important;
        padding: 0 14px !important;
        border-radius: 4px !important;
        font-size: 10.5px !important;
        letter-spacing: .1em !important;
    }
    .wtr-burger { display: inline-flex; }
}
@media (max-width: 767px) {
    body .wtr-chrome-header .wtr-v23-logo img { height: auto !important; width: min(150px, 40vw) !important; }
    body .wtr-chrome-header .wtr-home-nav-cta { padding: 0 10px !important; font-size: 10px !important; letter-spacing: .08em !important; }
    body .wtr-chrome-header .wtr-home-nav-cta::after { display: none !important; }
}
@media (max-width: 359px) {
    body .wtr-chrome-header .wtr-v23-nav-wrap { padding: 0 14px !important; gap: 8px !important; }
    body .wtr-chrome-header .wtr-home-nav-cta { padding: 0 8px !important; font-size: 9px !important; letter-spacing: .05em !important; }
}

/* ---------- Phone and tablet menu ---------- */
.wtr-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 20px env(safe-area-inset-bottom, 0);
    background: var(--wtr-c-bg);
    color: var(--wtr-c-text);
    font-family: var(--wtr-font-body);
}
.wtr-mobile-menu[hidden] { display: none; }
html.wtr-menu-open,
html.wtr-menu-open body { overflow: hidden; }
.wtr-mobile-menu-bar {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--wtr-header-h-sm);
    margin: 0 -20px;
    padding: 0 20px;
    background: var(--wtr-c-bg);
    border-bottom: 1px solid var(--wtr-c-line);
}
.wtr-mobile-menu-logo img { display: none; width: min(150px, 40vw); height: auto; }
body.wtr-look-dark .wtr-mobile-menu-logo .wtr-logo-dark,
body.wtr-look-alt-base .wtr-mobile-menu-logo .wtr-logo-alt { display: block; }
.wtr-mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
}
.wtr-mobile-menu-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.wtr-mobile-menu-nav { width: 100%; max-width: 640px; margin: 0 auto; }
.wtr-mobile-menu-list { list-style: none; margin: 0; padding: 8px 0 24px; }
.wtr-mobile-menu-item { border-bottom: 1px solid var(--wtr-c-line); }
.wtr-mobile-menu-toggle,
.wtr-mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 60px;
    padding: 8px 0;
    background: none;
    border: 0;
    color: var(--wtr-c-text);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.wtr-mobile-menu-label {
    flex: 1 1 auto;
    font-family: var(--wtr-font-display);
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .005em;
    text-transform: uppercase;
}
.wtr-mobile-menu-toggle[aria-expanded="true"] .wtr-mobile-menu-label { color: var(--wtr-c-accent); }
.wtr-mobile-menu-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border: 1px solid var(--wtr-c-accent);
    border-radius: 999px;
    color: var(--wtr-c-accent);
    font: 700 11px/1 var(--wtr-font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}
.is-indian .wtr-mobile-menu-tag { border-color: var(--wtr-c-gold); color: var(--wtr-c-gold); }
.wtr-mobile-menu-tag.is-live { border-color: #44ff7a; color: #bfffd1; }
.wtr-mobile-menu-tag .wtr-nav-live-light { width: 8px !important; height: 8px !important; flex: 0 0 8px !important; }
.wtr-mobile-menu-icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; color: var(--wtr-c-accent); }
.wtr-mobile-menu-icon::before,
.wtr-mobile-menu-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2px;
    margin: -1px 0 0 -8px;
    border-radius: 2px;
    background: currentColor;
}
.wtr-mobile-menu-icon::after { transform: rotate(90deg); }
.wtr-mobile-menu-toggle[aria-expanded="true"] .wtr-mobile-menu-icon::after { display: none; }
.wtr-mobile-menu-arrow { flex: 0 0 auto; color: var(--wtr-c-text); font-size: 22px; line-height: 1; }
.wtr-mobile-menu-sub { list-style: none; margin: -4px 0 14px; padding: 0; }
.wtr-mobile-menu-sub[hidden] { display: none; }
.wtr-mobile-menu-sub a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    color: var(--wtr-c-text-soft);
    font: 500 16px/1.3 var(--wtr-font-body);
    text-decoration: none;
}
.wtr-mobile-menu-sub a span { color: var(--wtr-c-text-faint); }
.wtr-mobile-menu-sub a:hover,
.wtr-mobile-menu-sub a:hover span { color: var(--wtr-c-accent); }
.wtr-mobile-menu-foot { width: 100%; max-width: 640px; margin: auto auto 0; padding: 20px 0 28px; }
.wtr-mobile-menu-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    border-radius: 4px;
    font: 800 13px/1 var(--wtr-font-body);
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
}
.wtr-mobile-menu-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.wtr-mobile-menu-social a {
    color: var(--wtr-c-text-faint);
    font: 700 11px/1 var(--wtr-font-body);
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
}
.wtr-mobile-menu-social a:hover { color: var(--wtr-c-accent); }
.wtr-mobile-menu a:focus-visible,
.wtr-mobile-menu button:focus-visible,
.wtr-burger:focus-visible,
.wtr-site-footer a:focus-visible,
.wtr-site-footer summary:focus-visible {
    outline: 2px solid var(--wtr-c-accent);
    outline-offset: 3px;
    border-radius: 2px;
}
@media (min-width: 1100px) {
    .wtr-mobile-menu { display: none !important; }
}

/* ---------- Footer ---------- */
.wtr-site-footer {
    background: var(--wtr-c-bg);
    border-top: 1px solid var(--wtr-c-line);
    color: var(--wtr-c-text);
    font-family: var(--wtr-font-body);
}
.wtr-site-footer-inner,
.wtr-site-footer-base {
    width: min(calc(100% - (var(--wtr-chrome-gutter) * 2)), var(--wtr-chrome-rail));
    margin: 0 auto;
}
.wtr-site-footer-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.9fr);
    gap: 56px;
    padding: 72px 0 56px;
}
.wtr-site-footer-logo { display: inline-block; }
.wtr-site-footer-logo img { display: none; height: 60px; width: auto; max-width: 100%; }
body.wtr-look-dark .wtr-site-footer-logo .wtr-logo-dark,
body.wtr-look-alt-base .wtr-site-footer-logo .wtr-logo-alt { display: block; }
.wtr-site-footer-title {
    margin: 28px 0 10px;
    color: var(--wtr-c-text);
    font-family: var(--wtr-font-display);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: .005em;
    text-transform: uppercase;
}
.wtr-site-footer-text {
    max-width: 36ch;
    margin: 0 0 24px;
    color: var(--wtr-c-text-soft);
    font-size: 15px;
    line-height: 1.6;
}
.wtr-site-footer-socials { display: flex; align-items: center; gap: 18px; margin: 0; }
.wtr-site-footer-socials a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--wtr-c-text-soft) !important;
}
.wtr-site-footer-socials svg { width: 18px; height: 18px; fill: currentColor; }
.wtr-site-footer-socials a:hover { color: var(--wtr-c-accent) !important; }
.wtr-site-footer-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px 24px;
    align-content: start;
}
.wtr-site-footer-col summary {
    display: block;
    margin: 0 0 16px;
    color: var(--wtr-c-accent);
    font: 800 11px/1.2 var(--wtr-font-body);
    letter-spacing: .16em;
    text-transform: uppercase;
    list-style: none;
    cursor: default;
}
.wtr-site-footer-col summary::-webkit-details-marker { display: none; }
.wtr-site-footer-plus { display: none; }
.wtr-site-footer-col ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.wtr-site-footer-col a {
    color: var(--wtr-c-text);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}
.wtr-site-footer-col a:hover { color: var(--wtr-c-accent); }
.wtr-site-footer-base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 22px 0 30px;
    border-top: 1px solid var(--wtr-c-line);
    color: var(--wtr-c-text-faint);
    font-size: 13px;
}
.wtr-site-footer-legal { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.wtr-site-footer-legal li + li::before { content: "·"; margin: 0 9px; }
.wtr-site-footer-legal a { color: var(--wtr-c-text-faint); text-decoration: none; }
.wtr-site-footer-legal a:hover { color: var(--wtr-c-accent); }
/* Phones: the links wrap in tidy rows with a plain gap, so no line ever starts with a stray dot (276.36) */
@media (max-width: 560px) {
    .wtr-site-footer-legal { gap: 8px 22px; }
    .wtr-site-footer-legal li + li::before { content: none; }
}

@media (max-width: 1180px) {
    .wtr-site-footer-inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 1023px) {
    .wtr-site-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
}
@media (max-width: 767px) {
    .wtr-site-footer-inner { padding: 52px 0 28px; gap: 32px; }
    .wtr-site-footer-logo img { height: auto; width: min(260px, 70vw); }
    .wtr-site-footer-nav { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--wtr-c-line); }
    .wtr-site-footer-col { border-bottom: 1px solid var(--wtr-c-line); }
    .wtr-site-footer-col summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        margin: 0;
        font-size: 12px;
        cursor: pointer;
    }
    .wtr-site-footer-plus { display: block; position: relative; width: 16px; height: 16px; }
    .wtr-site-footer-plus::before,
    .wtr-site-footer-plus::after {
        content: "";
        position: absolute;
        left: 0;
        top: 7px;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }
    .wtr-site-footer-plus::after { transform: rotate(90deg); }
    .wtr-site-footer-col[open] .wtr-site-footer-plus::after { display: none; }
    .wtr-site-footer-col ul { gap: 0; padding: 0 0 14px; }
    .wtr-site-footer-col a { display: flex; align-items: center; min-height: 40px; font-size: 15px; }
    .wtr-site-footer-base { flex-direction: column; align-items: flex-start; }
}

/* v268: phone footer without the empty double-line band; WordPress admin bar scrolls away on phones. */
@media (max-width: 767px) {
    .wtr-site-footer-inner { padding-bottom: 0; }
    .wtr-site-footer-base { border-top: 0; padding-top: 22px; }
}
@media (max-width: 600px) {
    body.admin-bar .wtr-chrome-header { top: 0 !important; }
}

/* ---------- 272.1: menu dropdowns no longer flicker ----------
   A panel goes invisible the instant the pointer leaves its item and only
   fades when it opens, so two panels never show at once. While closing it
   ignores the mouse, but stays reachable for a moment so Tab can move into
   it. A panel opened by a mouse click no longer stays open while you hover
   another item; keyboard users still open panels with Tab. */
body .wtr-chrome-header .wtr-nav-item .wtr-nav-dropdown {
    pointer-events: none;
    transition: opacity 0s, transform 0s, visibility 0s linear .2s !important;
}
body .wtr-chrome-header .wtr-nav-item:hover .wtr-nav-dropdown,
body .wtr-chrome-header .wtr-nav-item:has(:focus-visible) .wtr-nav-dropdown {
    pointer-events: auto;
    transition: opacity .16s ease, transform .16s ease, visibility 0s !important;
}
body .wtr-chrome-header .wtr-nav-item:has(:focus-visible) .wtr-nav-dropdown {
    opacity: 1;
    visibility: visible;
}
body .wtr-chrome-header .wtr-nav-item:focus-within:not(:hover):not(:has(:focus-visible)) .wtr-nav-dropdown {
    opacity: 0 !important;
    pointer-events: none;
}

/* ---------- 272.2: menu text white again ----------
   271's colour change turned the old pale-cyan menu text into the strong
   light blue. Menu words are white; light blue is for hover, the column
   labels and the main button. */
body .wtr-chrome-header .wtr-nav-item > a,
body .wtr-chrome-header .wtr-nav-item > button,
body .wtr-chrome-header .wtr-nav-item > span,
body .wtr-chrome-header .wtr-nav-dropdown a:not(.wtr-nav-panel-cta) {
    color: var(--wtr-c-text) !important;
}
body .wtr-chrome-header .wtr-nav-item > a:hover,
body .wtr-chrome-header .wtr-nav-item:hover > a,
body .wtr-chrome-header .wtr-nav-item > a:focus-visible,
body .wtr-chrome-header .wtr-nav-dropdown a:not(.wtr-nav-panel-cta):hover,
body .wtr-chrome-header .wtr-nav-dropdown a:not(.wtr-nav-panel-cta):focus-visible {
    color: var(--wtr-c-accent) !important;
}


/* ---------- 272.3: menu fonts match Home ----------
   Same family as before (Inter, Carsten's rule for everything except
   headlines), but the weights and sizes now match Home: menu items like
   Home's buttons, dropdown links like Home's text, labels at Carsten's 12px. */
body .wtr-chrome-header .wtr-nav-item > a,
body .wtr-chrome-header .wtr-nav-item > button,
body .wtr-chrome-header .wtr-nav-item > span,
body .wtr-chrome-header .wtr-main-nav > a {
    font-family: var(--wtr-font-body) !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}
body .wtr-chrome-header .wtr-nav-dropdown a:not(.wtr-nav-panel-cta) {
    font-family: var(--wtr-font-body) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
}
body .wtr-chrome-header .wtr-nav-mega-col > span {
    color: var(--wtr-c-accent) !important;
    font-family: var(--wtr-font-body) !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}
/* CONTACT is a plain link (no dropdown): white like the others. */
body .wtr-chrome-header .wtr-main-nav > a { color: var(--wtr-c-text) !important; }
body .wtr-chrome-header .wtr-main-nav > a:hover,
body .wtr-chrome-header .wtr-main-nav > a:focus-visible { color: var(--wtr-c-accent) !important; }


/* v276.11: footer bottom bar - Atlantic Campaigns logo, then the copyright line; legal links on the right. */
.wtr-site-footer-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.wtr-site-footer-ac { display: block; height: 44px; width: auto; max-width: 100%; opacity: .8; }

/* ==========================================================================
   276.24 - Race mode (Carsten, 12 Nov 2026): the LIVE pill in the header on every page.
   Laptops and tablets: beside the logo. Phones: a slim bar just under the header.
   ========================================================================== */
.wtr-live-dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255, 59, 59, .55); animation: wtr-live-pulse 2s ease-out infinite; }
@keyframes wtr-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .55); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(255, 59, 59, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .wtr-live-dot { animation: none; }
}
.wtr-live-pill { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border: 1px solid rgba(255, 59, 59, .85); border-radius: 999px; background: rgba(255, 59, 59, .08); color: #fff !important; font: 800 11px/1 var(--wtr-font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; transition: background-color .2s ease; }
.wtr-live-pill:hover, .wtr-live-pill:focus-visible { background: rgba(255, 59, 59, .22); }

/* Live Race Hub: the teaser film while the race is on */
.wtr-hub-film { padding: 64px 0; background: #000; }
.wtr-hub-film-head { margin-bottom: 24px; }
.wtr-hub-film-head span { display: block; margin-bottom: 10px; color: var(--wtr-c-accent); font: 800 12px/1.3 var(--wtr-font-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-hub-film-head h2 { margin: 0; color: #fff; font-family: var(--wtr-font-display); font-size: clamp(32px, 2vw + 20px, 52px); line-height: 1; text-transform: uppercase; }
.wtr-hub-film-video { display: block; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; object-fit: cover; }

/* ==========================================================================
   276.28 - Race mode (Carsten, 13 Nov 2026), replacing the 12 Nov pill:
   the thin LIVE bar above the header on every page (it sits inside the header, so it stays with it when people scroll),
   and the TRACK THE TEAMS band on Home, straight under the hero.
   ========================================================================== */
.wtr-live-strip { display: flex; align-items: stretch; box-sizing: border-box; min-height: 34px; padding-left: max(var(--wtr-chrome-gutter), calc((100% - var(--wtr-chrome-rail)) / 2)); background: #000; border-bottom: 2px solid #e5322d; color: #fff !important; text-decoration: none !important; font: 800 12px/1 var(--wtr-font-body); letter-spacing: .14em; text-transform: uppercase; }
.wtr-live-strip-badge { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; background: #e5322d; color: #fff; }
.wtr-live-strip-badge b { font-weight: 900; }
.wtr-live-strip-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: wtr-strip-pulse 1.5s ease-in-out infinite; }
@keyframes wtr-strip-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.78); } }
.wtr-live-strip-text { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; color: #fff; }
.wtr-live-strip:hover .wtr-live-strip-text, .wtr-live-strip:focus-visible .wtr-live-strip-text { text-decoration: underline; text-underline-offset: 4px; }
.wtr-live-strip:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .wtr-live-strip-dot { animation: none; } }
@media (max-width: 1099px) { .wtr-live-strip { padding-left: 20px; } }
@media (max-width: 480px) { .wtr-live-strip { font-size: 11px; letter-spacing: .1em; } }

.wtr-lp-band { position: relative; border-top: 2px solid #e5322d; background: #0d0d0d; color: #fff; } /* 276.84: no navy */
.wtr-lp-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.wtr-lp-band .wtr-lp-band-label { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--wtr-c-accent, #8fd0ff); font: 800 12px/1.3 var(--wtr-font-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-lp-band .wtr-lp-band-text h2 { font-weight: 400; letter-spacing: .005em; text-shadow: none; margin: 0 0 16px; color: #fff; font-family: var(--wtr-font-display); font-size: clamp(42px, 5.2vw, 78px); line-height: .95; text-transform: uppercase; }
.wtr-lp-band .wtr-lp-band-line { max-width: 34ch; margin: 0 0 26px; color: rgba(255, 255, 255, .84); font-size: clamp(16px, 1vw + 11px, 20px); line-height: 1.45; }
.wtr-lp-band-route { min-width: 0; }
.wtr-lp-route { display: block; width: 100%; height: auto; overflow: visible; }
.wtr-lp-route-line { stroke: rgba(170, 216, 255, .78); stroke-width: 1.4; stroke-dasharray: .1 7; stroke-linecap: round; }
.wtr-lp-route-end { fill: rgba(143, 208, 255, .85); }
.wtr-lp-route-label { fill: rgba(255, 255, 255, .72); font: 700 11px var(--wtr-font-body); letter-spacing: .16em; }
.wtr-lp-dot { transform-box: fill-box; transform-origin: center; }
.wtr-lp-dot.is-sea { fill: #ff3b3b; animation: wtr-dot-pulse 2.4s ease-in-out infinite; }
.wtr-lp-dot.is-done { fill: #fff; }
@keyframes wtr-dot-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { .wtr-lp-dot.is-sea { animation: none; } }
@media (max-width: 899px) { .wtr-lp-route-label { font-size: 17px; } .wtr-lp-route-line { stroke-width: 3; } .wtr-lp-dot { r: 7px; } }
@media (max-width: 899px) {
    .wtr-lp-band-inner { grid-template-columns: 1fr; }
    .wtr-lp-band-route { order: -1; }
    .wtr-lp-band-btn { display: flex; width: 100%; justify-content: center; box-sizing: border-box; }
}
/* The small line at the top of a race page while it is live. */
.wtr-lp-raceline { margin: 0; padding: 10px 20px; background: #0b0f14; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: center; font: 700 13px/1.3 var(--wtr-font-body); letter-spacing: .04em; }
.wtr-lp-raceline a { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.wtr-lp-raceline a:hover, .wtr-lp-raceline a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* Race mode: YB's official tracker in a frame (Home and the Live Race Hub). It waits for the cookie OK or the button. */
.wtr-yb-official { position: relative; width: 100%; height: 100%; min-height: 360px; overflow: hidden; background: #000000; }
.wtr-yb-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.wtr-yb-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; color: #fff; }
.wtr-yb-gate .wtr-yb-load { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 0; border-radius: 3px; font: 800 12px/1 var(--wtr-font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.wtr-yb-gate .wtr-yb-open { color: rgba(255, 255, 255, .8); font: 700 13px/1.4 var(--wtr-font-body); }
.wtr-yb-gate p { max-width: 430px; margin: 0; color: rgba(255, 255, 255, .84); font: 500 15px/1.5 var(--wtr-font-body); }
.wtr-yb-open { color: var(--wtr-c-accent); font: 700 13px/1.3 var(--wtr-font-body); letter-spacing: .06em; text-decoration: none; }
.wtr-yb-open:hover, .wtr-yb-open:focus-visible { text-decoration: underline; }
.wtr-live-official { height: clamp(560px, 78vh, 860px); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: #000000; }

/* 276.41: the staff-only bars (Preview and Rehearsal) are small pills in the bottom left corner, so they no longer cover the
   footer or YB's own lists. Tap the Rehearsal pill to read the whole line. Both step aside while the live map is full screen. */
html body .wtr-cc-preview-banner { position: fixed; left: 12px; right: auto; bottom: 12px; z-index: 2147483000; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; max-width: calc(100% - 24px); margin: 0; padding: 7px 14px; border-radius: 999px; background: #62D0F5; color: #000; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); font: 600 12px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; box-sizing: border-box; }
html body .wtr-cc-preview-banner b { font-weight: 800; }
html body .wtr-cc-preview-banner a { color: #000; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
html body .wtr-rehearsal-bar { left: 12px; right: auto; bottom: 12px; z-index: 2147482999; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; max-width: min(560px, calc(100% - 24px)); padding: 7px 14px; border: 1px solid #f5d36b; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); font-size: 12px; line-height: 1.35; text-align: left; box-sizing: border-box; }
html body:has(.wtr-cc-preview-banner) .wtr-rehearsal-bar, html body .wtr-rehearsal-bar.is-stacked { bottom: 50px; }
html body .wtr-rehearsal-bar a { margin-left: 0; }
html body .wtr-rehearsal-bar .wtr-rb-more { display: none; flex-basis: 100%; color: #f5d36b; font-weight: 500; }
html body .wtr-rehearsal-bar .wtr-rb-toggle { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
html body .wtr-rehearsal-bar.is-open { border-radius: 14px; }
html body .wtr-rehearsal-bar.is-open .wtr-rb-more { display: block; }
html.wtr-lv-nolock .wtr-cc-preview-banner, html.wtr-lv-nolock .wtr-rehearsal-bar { display: none !important; }

/* 276.48: the social icons under the footer logo show on phones only. On bigger screens the Follow column right beside them
   has the same four links; on phones that column folds away behind a +, so the icons are the one-tap way to follow. */
@media (min-width: 768px) { .wtr-site-footer-socials { display: none !important; } }

/* ======================================================================
 * 278.0 (Barry, 21 Nov: "the top menu ... feels like it's not quite fitting with the rest of the site. Make it as
 * premium as possible"; Carsten's header spec: the main button style for START YOUR ROW →). The header in the site's
 * own language: the button square like every other main button, the dropdowns as near-black panels with a light-blue
 * top line (no grey rounded bubbles, no navy), one link style in every dropdown with an arrow that slides in, a
 * light-blue line under the menu item you point at and under the section you are in, and the header's social icons
 * left to the footer and the phone menu.
 * ====================================================================== */
/* the button: the site's main button (square corners, 12px, the same weight and spacing as the page buttons) */
body .wtr-chrome-header .wtr-home-nav-cta {
    display: inline-flex !important; align-items: center !important; gap: 10px; height: 44px !important; min-height: 0 !important;
    padding: 0 20px !important; border-radius: 3px !important; box-shadow: none !important;
    font: 800 12px/1 var(--wtr-font-body, Inter, sans-serif) !important; letter-spacing: .14em !important; text-transform: uppercase !important;
}
body .wtr-chrome-header .wtr-home-nav-cta:hover { transform: none !important; filter: brightness(1.08); }
/* the social icons stay in the footer and the phone menu (more specific than the older rules that forced them on) */
body .wtr-chrome-header .wtr-v23-nav-wrap .wtr-social-icons.wtr-home-header-socials { display: none !important; }
/* the menu words: a light-blue line under the item you point at, and under the section you are in */
body .wtr-chrome-header .wtr-main-nav > .wtr-nav-item > a,
body .wtr-chrome-header .wtr-main-nav > a { position: relative !important; }
body .wtr-chrome-header .wtr-main-nav > .wtr-nav-item > a::before,
body .wtr-chrome-header .wtr-main-nav > a::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; border-radius: 2px;
    background: var(--wtr-c-accent, #62d0f5); transform: scaleX(0); transform-origin: left center; transition: transform .2s ease;
}
body .wtr-chrome-header .wtr-main-nav > .wtr-nav-has-menu > a::before { right: 18px; } /* not under the little arrow */
body .wtr-chrome-header .wtr-main-nav > .wtr-nav-item:hover > a::before,
body .wtr-chrome-header .wtr-main-nav > .wtr-nav-item:focus-within > a::before,
body .wtr-chrome-header .wtr-main-nav > .wtr-nav-item.is-current > a::before,
body .wtr-chrome-header .wtr-main-nav > a:hover::before,
body .wtr-chrome-header .wtr-main-nav > a:focus-visible::before,
body .wtr-chrome-header .wtr-main-nav > a.is-current::before { transform: scaleX(1); }
/* the panels: near-black, a fine outline and a light-blue top line, square-ish corners; the same for every menu */
body .wtr-chrome-header .wtr-nav-dropdown,
body.wtr-look-alt-base .wtr-chrome-header .wtr-nav-dropdown,
body.wtr-look-alt .wtr-chrome-header .wtr-nav-dropdown,
body.wtr-look-dark .wtr-chrome-header .wtr-nav-dropdown,
body.wtr-look-dark .wtr-chrome-header .wtr-nav-mega-dropdown {
    padding: 8px !important; border-radius: 6px !important; background: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, .1) !important; border-top: 2px solid var(--wtr-c-accent, #62d0f5) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .6) !important; min-width: 250px;
}
/* one link style in every dropdown: 15px, white, an arrow that slides in, light blue when pointed at */
body .wtr-chrome-header .wtr-nav-dropdown > a,
body .wtr-chrome-header .wtr-nav-mega-col > a {
    display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 18px;
    padding: 11px 14px !important; border-radius: 3px !important; background: transparent !important; box-shadow: none !important;
    font: 600 15px/1.3 var(--wtr-font-body, Inter, sans-serif) !important; letter-spacing: 0 !important; text-transform: none !important;
    color: #fff !important; opacity: 1 !important; white-space: nowrap;
}
body .wtr-chrome-header .wtr-nav-dropdown > a::after,
body .wtr-chrome-header .wtr-nav-mega-col > a::after {
    content: "→"; color: var(--wtr-c-accent, #62d0f5); opacity: 0; transform: translateX(-6px); transition: opacity .15s ease, transform .15s ease;
}
body .wtr-chrome-header .wtr-nav-dropdown > a:hover,
body .wtr-chrome-header .wtr-nav-dropdown > a:focus-visible,
body .wtr-chrome-header .wtr-nav-mega-col > a:hover,
body .wtr-chrome-header .wtr-nav-mega-col > a:focus-visible { background: rgba(255, 255, 255, .05) !important; color: var(--wtr-c-accent, #62d0f5) !important; outline: none; }
body .wtr-chrome-header .wtr-nav-dropdown > a:hover::after,
body .wtr-chrome-header .wtr-nav-dropdown > a:focus-visible::after,
body .wtr-chrome-header .wtr-nav-mega-col > a:hover::after,
body .wtr-chrome-header .wtr-nav-mega-col > a:focus-visible::after { opacity: 1; transform: none; }
body .wtr-chrome-header .wtr-nav-dropdown > a.is-current,
body .wtr-chrome-header .wtr-nav-mega-col > a.is-current { color: var(--wtr-c-accent, #62d0f5) !important; }
/* the column headings in the race menus: the site's small light-blue labels */
body .wtr-chrome-header .wtr-nav-mega-col > span {
    display: block; padding: 10px 14px 6px !important; margin: 0 !important;
    font: 800 11px/1.3 var(--wtr-font-body, Inter, sans-serif) !important; letter-spacing: .16em !important; text-transform: uppercase !important;
    color: var(--wtr-c-accent, #62d0f5) !important; opacity: 1 !important;
}
/* 278.2: phones keep Carsten's slim header (a small START YOUR ROW button beside the logo and the burger); 278.0's
 * full-size button crowded the logo there */
@media (max-width: 767px) {
    body .wtr-chrome-header .wtr-home-nav-cta { height: 34px !important; padding: 0 12px !important; gap: 6px; font-size: 10px !important; letter-spacing: .1em !important; }
}
@media (max-width: 379px) {
    body .wtr-chrome-header .wtr-home-nav-cta { padding: 0 9px !important; font-size: 9px !important; letter-spacing: .06em !important; }
}
/* 278.4 (Carsten's mock-up): TRACK THE / TEAMS big, over two lines, with more room around the band, as in the mock-up.
 * The fleet's dots along the route come from YB's leaderboard while a race is live (unchanged). */
.wtr-lp-band .wtr-lp-band-text h2 { font-size: clamp(56px, 7.4vw, 116px) !important; line-height: .9 !important; max-width: 5.6em; }
.wtr-lp-band-inner { padding-top: clamp(40px, 5vw, 80px) !important; padding-bottom: clamp(40px, 5vw, 80px) !important; }
@media (max-width: 767px) { .wtr-lp-band .wtr-lp-band-text h2 { font-size: clamp(48px, 13vw, 64px) !important; } }

/* 280.61: the Atlantic Campaigns logo in the footer links to About Us */
.wtr-site-footer-ac-link { display: inline-flex; line-height: 0; border-radius: 4px; transition: opacity .2s ease, filter .2s ease; }
.wtr-site-footer-ac-link:hover, .wtr-site-footer-ac-link:focus-visible { filter: brightness(1.25); }
.wtr-site-footer-ac-link:focus-visible { outline: 2px solid var(--wtr-c-accent, #62d0f5); outline-offset: 4px; }

/* 280.70 (Barry: the Indian menu looked odd next to the others): its note lines up with its heading (the 14px the
 * other columns' headings and links have), the heading stays on one line, in the Indian gold, and the note reads as a
 * short caption under it. */
body .wtr-chrome-header .wtr-nav-indian-note > span { color: var(--wtr-c-gold, #e8be6e) !important; white-space: nowrap; }
body .wtr-chrome-header .wtr-nav-indian-note p { max-width: 300px; padding: 8px 14px 6px; color: rgba(255, 255, 255, .78); font: 400 15px/1.5 var(--wtr-font-body, Inter, sans-serif); }

/* ==========================================================================
   280.99 (Barry and Carsten, 5 Dec)
   ========================================================================== */
/* The top bar before the start: "7 DAYS TO GO" in the red block, no dot. On the LIVE page the bar is just the red block. */
.wtr-live-strip-dot[hidden] { display: none !important; }
.wtr-live-strip.is-here { cursor: default; }
/* Home: TRACK THE TEAMS sits closer under the hero (Carsten's thin red line on top stays). */
.wtr-h-hero + .wtr-lp-band .wtr-lp-band-inner { padding-top: clamp(28px, 2.6vw, 44px) !important; }
/* The menu stuck open (Carsten): with a mouse, a panel shows only while the pointer is over it, never just because a
   link inside kept focus. The keyboard opens one when someone tabs into the menu (main.js adds is-kb-open). Without the
   script (no wtr-js class) the old behaviour stays. */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    html.wtr-js body .wtr-chrome-header .wtr-main-nav .wtr-nav-item:not(:hover):not(.is-kb-open) > .wtr-nav-dropdown {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    html.wtr-js body .wtr-chrome-header .wtr-main-nav .wtr-nav-item.is-kb-open > .wtr-nav-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* 281.01: a live dot that waits for the race start (the race page's line) stays hidden until then. */
.wtr-live-dot[hidden] { display: none !important; }

/* 281.08 (Barry, 5 Dec: looked amateurish on phones, wrapping onto four lines): on phones the strip at the very top
   already says how many days to go and links to the teams, so this second line is hidden there. */
@media (max-width: 767px) {
    .wtr-lp-raceline { display: none; }
}

/* 281.10 (Barry, 5 Dec: cards in the swipe rows could be nudged up and down inside their band on phones). A row that
   scrolls sideways also scrolled a few pixels up and down whenever a card sat lower than the rest, usually a card
   still waiting to rise into place. Sideways rows now only scroll sideways, and their cards don't rise one by one. */
:is(.wtr-h-swipe-track, .wtr-a8-crews-row, .wtr-a8-classcards, .wtr-about2-core-grid, .wtr-about2-crew-grid,
    .wtr-fyb-cards, .wtr-lb2-chips, .wtr-lb3-cards, .wtr-lb2-podium, .wtr-lv-tips, .wtr-lv-vids, .wtr-lv-pics,
    .wtr-lv-filters, .wtr-finder-filters, .wtr-rs2-cards, .wtr-tp-ribbon-track, .wtr-partner-ribbon-rail,
    .wtr-td2-row, .wtr-t3-crew, .wtr-t3-media-row) { overflow-y: hidden; overscroll-behavior-x: contain; }
@media (max-width: 1099px) {
    :is(.wtr-h-swipe-track, .wtr-t3-crew, .wtr-t3-media-row, .wtr-rs2-cards, .wtr-td2-row) > :is([data-reveal], .wtr-t3-reveal, .wtr-td2-reveal) { transform: none !important; }
    .wtr-t3.is-animated :is(.wtr-t3-crew, .wtr-t3-media-row):has(> .wtr-t3-reveal.is-in) > .wtr-t3-reveal { opacity: 1; }
    .wtr-td2-animate .wtr-td2-row:has(> .wtr-td2-reveal.is-in) > .wtr-td2-reveal { opacity: 1; }
}
