/* Rower stories: the list page (/rower-stories/) and one story page. Dark look, Anton headlines, as Home. */
.wtr-rs-label { margin: 0 0 14px; color: var(--wtr-c-accent); font: 800 12px/1.3 var(--wtr-font-body); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- List page ---------- */
.wtr-rs-hero { padding: 72px 0 28px; background: #000; }
body.wtr-rs-page main h1.wtr-rs-title { margin: 0; font-size: clamp(48px, 4.6vw + 18px, 96px) !important; max-width: none; }
.wtr-rs-listing { padding: 24px 0 90px; background: #000; }
.wtr-rs-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.wtr-rs-filters button {
    min-height: 40px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: transparent;
    color: var(--wtr-c-text); font: 800 12px/1 var(--wtr-font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.wtr-rs-filters button:hover, .wtr-rs-filters button:focus-visible { border-color: var(--wtr-c-accent); color: var(--wtr-c-accent); }
.wtr-rs-filters button.is-active { background: var(--wtr-c-accent); border-color: var(--wtr-c-accent); color: #000; }
.wtr-rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wtr-rs-card {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; overflow: hidden;
    border: 1px solid var(--wtr-c-card-line); border-radius: 14px; background: var(--wtr-c-card); color: var(--wtr-c-text); text-decoration: none;
}
.wtr-rs-card[hidden] { display: none; }
.wtr-rs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wtr-rs-card:hover img { transform: scale(1.03); }
.wtr-rs-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, 0) 68%); }
.wtr-rs-card-body { position: relative; z-index: 1; display: block; padding: 24px; }
.wtr-rs-card-quote { display: block; margin: 0 0 12px; font: 400 26px/1.05 var(--wtr-font-display); text-transform: uppercase; }
.wtr-rs-card-name { display: block; color: var(--wtr-c-accent); font: 800 11px/1.3 var(--wtr-font-body); letter-spacing: .14em; text-transform: uppercase; }
.wtr-rs-empty { margin: 24px 0 0; color: var(--wtr-c-text-faint); }

/* ---------- Story page ---------- */
.wtr-rs-story-bar { padding: 22px 0 18px; background: #000; }
.wtr-rs-back { color: var(--wtr-c-text-faint); font: 800 12px/1 var(--wtr-font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.wtr-rs-back:hover, .wtr-rs-back:focus-visible { color: var(--wtr-c-accent); }
.wtr-rs-story-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 62vh, 680px); overflow: hidden; background: #0b0b0b; }
.wtr-rs-story-hero.has-no-photo { min-height: 260px; }
.wtr-rs-story-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wtr-rs-story-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, 0) 72%); }
.wtr-rs-story-hero-inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 44px; }
.wtr-rs-hero-quote { margin: 0; max-width: 22ch; font: 400 clamp(34px, 4.4vw, 68px)/1.02 var(--wtr-font-display); text-transform: uppercase; color: #fff; }
.wtr-rs-story-body { padding: 64px 0 80px; background: #000; }
.wtr-rs-story-cols { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.wtr-rs-who { position: sticky; top: 160px; } /* 276.66: clears the header with the LIVE bar and the admin bar */
body.wtr-rs-page main h1.wtr-rs-name { margin: 0 0 8px; font-size: clamp(36px, 3.2vw, 52px) !important; max-width: none; }
.wtr-rs-team { margin: 0 0 22px; color: var(--wtr-c-accent); font: 800 12px/1.3 var(--wtr-font-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-rs-who dl { margin: 0 0 18px; display: grid; gap: 12px; }
.wtr-rs-who dt { color: var(--wtr-c-text-faint); font: 800 11px/1.3 var(--wtr-font-body); letter-spacing: .14em; text-transform: uppercase; }
.wtr-rs-who dd { margin: 2px 0 0; color: var(--wtr-c-text); font-size: 17px; }
.wtr-rs-background { margin: 0; color: var(--wtr-c-text-soft); font-size: 16px; line-height: 1.55; }
.wtr-rs-text p { margin: 0 0 1.2em; color: var(--wtr-c-text-soft); font-size: 19px; line-height: 1.65; max-width: 62ch; }
.wtr-rs-soon { color: var(--wtr-c-text-faint) !important; }
.wtr-rs-pull { margin: 2em 0; padding: 0 0 0 22px; border: 0; border-left: 3px solid var(--wtr-c-accent); max-width: 24ch; color: #fff; font: 400 clamp(28px, 2.8vw, 42px)/1.08 var(--wtr-font-display); text-transform: uppercase; }
.wtr-rs-photo2 { margin: 2em 0; }
.wtr-rs-photo2 img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; border-radius: 14px; } /* 276.66: a fixed landscape crop, so a tall photo can't fill the page */
.wtr-rs-cta { margin-top: 2.4em !important; }
.wtr-rs-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 3px; background: var(--wtr-c-accent); color: #000; font: 800 12px/1 var(--wtr-font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.wtr-rs-btn:hover, .wtr-rs-btn:focus-visible { background: var(--wtr-c-accent-hover); }
.wtr-rs-next { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 52vh, 560px); overflow: hidden; background: #0b0b0b; color: #fff; text-decoration: none; }
.wtr-rs-next > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wtr-rs-next:hover > img { transform: scale(1.03); }
.wtr-rs-next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .6) 45%, rgba(0, 0, 0, .25) 100%); }
.wtr-rs-next-inner { position: relative; z-index: 1; display: block; padding-top: 40px; padding-bottom: 48px; }
.wtr-rs-next-quote { display: block; max-width: 22ch; margin: 0 0 18px; font: 400 clamp(34px, 4.4vw, 68px)/1.02 var(--wtr-font-display); text-transform: uppercase; }
.wtr-rs-next-name { display: block; color: var(--wtr-c-accent); font: 800 13px/1.3 var(--wtr-font-body); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 1099px) {
    .wtr-rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wtr-rs-story-cols { grid-template-columns: 1fr; gap: 28px; }
    .wtr-rs-who { position: static; }
}
@media (max-width: 767px) {
    .wtr-rs-hero { padding: 44px 0 18px; }
    .wtr-rs-grid { grid-template-columns: 1fr; }
    .wtr-rs-story-hero { min-height: clamp(380px, 70svh, 560px); }
    .wtr-rs-story-body { padding: 40px 0 56px; }
    .wtr-rs-text p { font-size: 17px; }
}

/* The site's paragraph rules are strong; these two must be Anton like the cards. */
body.wtr-rs-page main .wtr-rs-hero-quote, body.wtr-rs-page main .wtr-rs-pull {
    font-family: var(--wtr-font-display) !important; font-weight: 400 !important; text-transform: uppercase !important; color: #fff !important; letter-spacing: .005em !important;
}
body.wtr-rs-page main .wtr-rs-hero-quote { font-size: clamp(34px, 4.4vw, 68px) !important; line-height: 1.02 !important; max-width: 22ch !important; }
body.wtr-rs-page main .wtr-rs-pull { font-size: clamp(28px, 2.8vw, 42px) !important; line-height: 1.08 !important; max-width: 24ch !important; }

/* 276.57: more than one race on a story page: one line each */
.wtr-rs-race { display: block; }
.wtr-rs-race + .wtr-rs-race { margin-top: 4px; }

/* 276.64: Atlantic page, "They went before you" (the story cards, on the Atlantic page's own spacing). */
.wtr-atlantic-stories-section { padding: 96px 0; }
.wtr-atlantic-stories-section .wtr-v23-section-head { margin-bottom: 32px; }
.wtr-atlantic-stories-actions { margin-top: 32px; }
@media (max-width: 767px) {
    .wtr-atlantic-stories-section { padding: 64px 0; }
}

/* ======================================================================
 * 280.12: the Rower Stories page, Carsten's final design (24 Nov) and his live mock-up. What the site already has (section
 * colours, story cards like Home's, the filter buttons, WTR Crisp, THE CROSSING's soft fades) is matched to the site;
 * what's new here (card hover, map colours, pins and their cards, the map and closing headlines) follows the mock-up.
 * Photos: Rower stories → Rower Stories page.
 * ====================================================================== */
body.wtr-rs-page { --rs-accent: var(--wtr-c-accent, #62d0f5); --rs-display: var(--wtr-font-display, Anton, sans-serif); --rs-body: var(--wtr-font-body, Inter, sans-serif); --rs-bg: var(--wtr-c-bg-2, #0d0d0d); }
html body.wtr-race-look.wtr-rs-page main > section.wtr-rs2-hero { background: var(--wtr-c-bg, #000) !important; }
html body.wtr-race-look.wtr-rs-page main > section:is(.wtr-rs2-list, .wtr-rs2-map, .wtr-rs2-close) { background: var(--rs-bg) !important; }
body.wtr-rs-page main > section[hidden] { display: none !important; }

/* header: the photo on the right two thirds, fading in from the left and down into the cards (no hard edges) */
.wtr-rs2-hero { position: relative; display: flex; align-items: center; min-height: 560px; overflow: hidden; }
.wtr-rs2-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 10%, rgba(0, 0, 0, .92) 20%, #000 28%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 10%, rgba(0, 0, 0, .92) 20%, #000 28%); }
.wtr-rs2-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wtr-rs2-hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, var(--rs-bg) 0%, rgba(13, 13, 13, .45) 16%, rgba(0, 0, 0, 0) 38%); }
.wtr-rs2-hero > .wtr-home-wrap { position: relative; z-index: 1; width: 100%; }
.wtr-rs2-hero-words { max-width: 460px; padding: 64px 0; }
body.wtr-rs-page main h1.wtr-rs2-title { margin: 0; max-width: none; color: #fff; font: 400 clamp(64px, 7.2vw, 104px)/.96 var(--rs-display) !important; letter-spacing: .005em; text-transform: uppercase; }
.wtr-rs2-hero-line { max-width: 440px; margin: 20px 0 0; color: rgba(255, 255, 255, .9); font: 400 20px/1.55 var(--rs-body); }
.wtr-rs2-br { display: none; }

/* filters and cards: the cards as Home's In their words cards; the hover from Carsten's mock-up */
.wtr-rs2-list { padding: 40px 0 24px; }
html body.wtr-race-look.wtr-rs-page main > section.wtr-rs2-list-b { padding: 8px 0 72px; }
.wtr-rs2-list .wtr-rs-filters { margin: 0 0 22px; }
.wtr-rs2-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wtr-rs2-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--wtr-c-card-line, #262626); border-radius: 14px; background: var(--wtr-c-card, #161616); color: #fff; text-decoration: none; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .3s ease; }
.wtr-rs2-card[hidden] { display: none; }
.wtr-rs2-card-photo { position: absolute; inset: 0; overflow: hidden; }
.wtr-rs2-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .6s ease; }
.wtr-rs2-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, 0) 68%); }
.wtr-rs2-card-body { position: relative; z-index: 1; display: block; padding: 24px; }
.wtr-rs2-card-quote { display: block; margin: 0 0 10px; font: 400 26px/1.05 var(--rs-display); text-transform: uppercase; }
.wtr-rs2-card-name { display: block; color: var(--rs-accent); font: 800 11px/1.3 var(--rs-body); letter-spacing: .14em; text-transform: uppercase; }
.wtr-rs2-card-tag { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 9px 12px; background: var(--rs-accent); color: #0d0d0d; font: 800 10px/1 var(--rs-body); letter-spacing: .14em; text-transform: uppercase; opacity: 0; translate: 0 -6px; transition: opacity .3s ease, translate .3s ease; }
@media (hover: hover) {
    .wtr-rs2-card:hover { outline-color: var(--rs-accent); }
    .wtr-rs2-card:hover .wtr-rs2-card-photo img { transform: scale(1.06); }
    .wtr-rs2-card:hover .wtr-rs2-card-tag { opacity: 1; translate: 0 0; }
}
.wtr-rs2-card:focus-visible { outline-color: var(--rs-accent); }
.wtr-rs2-card:focus-visible .wtr-rs2-card-tag { opacity: 1; translate: 0 0; }
.wtr-rs2-swipe { display: none; }

/* map band (new: Carsten's mock-up) */
.wtr-rs2-map { padding: 24px 0 56px; scroll-margin-top: 120px; }
.wtr-rs2-map .wtr-rs-label { margin-bottom: 12px; }
.wtr-rs2-map-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 0 0 46px; }
body.wtr-rs-page main h2.wtr-rs2-map-title { display: flex; align-items: flex-end; gap: 22px; margin: 0; max-width: none; color: #fff; font: 400 56px/.95 var(--rs-display) !important; text-transform: uppercase; }
body.wtr-rs-page main h2 .wtr-rs2-count { color: var(--rs-accent) !important; font: 400 150px/.8 var(--rs-display); font-variant-numeric: tabular-nums; }
.wtr-rs2-map-words { padding-bottom: 4px; }
.wtr-rs2-map-line { max-width: 430px; margin: 0 0 6px; color: rgba(255, 255, 255, .9); font: 400 18px/1.6 var(--rs-body); }
.wtr-rs2-map-stage { position: relative; }
.wtr-rs2-map-stage > .wtr-country-map-svg, .wtr-rs2-map-dots { display: block; width: 100%; height: auto; }
.wtr-rs2-map-dots { position: absolute; inset: 0; pointer-events: none; }
.wtr-rs2-map .wtr-map-country { fill: #1b1f24; stroke: #000; stroke-width: .4; vector-effect: non-scaling-stroke; }
.wtr-rs2-map .wtr-map-country.is-represented { fill: var(--rs-accent); filter: drop-shadow(0 0 6px rgba(98, 208, 245, .55)); }
.wtr-rs2-small-nation { fill: var(--rs-accent); }
/* 280.46: country labels on hover or tap (Carsten) */
.wtr-rs2-map .wtr-map-country { transition: fill .15s ease, filter .15s ease; }
.wtr-rs2-map .wtr-map-country.is-represented:hover { filter: brightness(1.18) drop-shadow(0 0 8px rgba(98, 208, 245, .7)); }
.wtr-rs2-map .wtr-map-country.is-open:hover { fill: #2a3038; }
.wtr-rs2-tip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: rgba(8, 10, 13, .94); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .88); font: 600 13px/1.2 var(--rs-body); white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); }
.wtr-rs2-tip[hidden] { display: none; }
.wtr-rs2-tip.is-near-right { transform: translate(-100%, calc(-100% - 14px)); }
.wtr-rs2-tip.is-near-left { transform: translate(0, calc(-100% - 14px)); }
.wtr-rs2-tip.is-lit b { color: #fff; font-weight: 800; letter-spacing: .1em; }
.wtr-rs2-tip img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.wtr-rs2-pin { position: absolute; z-index: 2; width: 24px; height: 24px; margin: -12px 0 0 -12px; color: #000; text-decoration: none; }
.wtr-rs2-pin:hover, .wtr-rs2-pin:focus-visible { z-index: 3; }
.wtr-rs2-pin-dot { position: absolute; inset: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .18); transition: box-shadow .2s ease; }
.wtr-rs2-pin:hover .wtr-rs2-pin-dot, .wtr-rs2-pin:focus-visible .wtr-rs2-pin-dot { box-shadow: 0 0 0 5px rgba(255, 255, 255, .35); }
.wtr-rs2-pin:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: 2px; border-radius: 50%; }
.wtr-rs2-pin-card { position: absolute; top: calc(100% + 10px); left: 50%; width: 260px; padding: 14px 16px 12px; border-radius: 6px; background: #fff; color: #000; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; translate: -50% 6px; transition: opacity .2s ease, translate .2s ease, visibility 0s linear .2s; pointer-events: none; }
.wtr-rs2-pin-card::after { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top: 0; border-bottom-color: #fff; } /* the pointer up to the pin */
.wtr-rs2-pin-card::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* a bridge, so moving onto the card keeps it open */
.wtr-rs2-pin:hover .wtr-rs2-pin-card, .wtr-rs2-pin:focus-visible .wtr-rs2-pin-card { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .2s ease, translate .2s ease; pointer-events: auto; }
.wtr-rs2-pin.is-right .wtr-rs2-pin-card { left: auto; right: -16px; translate: 0 6px; }
.wtr-rs2-pin.is-right .wtr-rs2-pin-card::after { left: auto; right: 21px; margin-left: 0; }
.wtr-rs2-pin.is-left .wtr-rs2-pin-card { left: -16px; translate: 0 6px; }
.wtr-rs2-pin.is-left .wtr-rs2-pin-card::after { left: 21px; margin-left: 0; }
.wtr-rs2-pin:is(.is-left, .is-right):is(:hover, :focus-visible) .wtr-rs2-pin-card { translate: 0 0; }
.wtr-rs2-pin-meta { display: block; margin: 0 0 4px; color: #0a7aa6; font: 800 10px/1.3 var(--rs-body); letter-spacing: .14em; text-transform: uppercase; }
.wtr-rs2-pin-name { display: block; margin: 0 0 6px; color: #000; font: 400 18px/1.15 var(--rs-display); text-transform: uppercase; }
.wtr-rs2-pin-quote { display: block; color: #000; font: 500 13px/1.45 var(--rs-body); }
.wtr-rs2-pin-read { display: block; margin-top: 8px; color: #000; font: 800 11px/1.3 var(--rs-body); letter-spacing: .12em; text-transform: uppercase; }
/* 280.47: dots too close together become one numbered dot; its card lists every rower in it (Barry) */
.wtr-rs2-pin.is-group { width: 28px; height: 28px; margin: -14px 0 0 -14px; cursor: pointer; }
.wtr-rs2-pin.is-group .wtr-rs2-pin-dot { inset: 3px; display: grid; place-items: center; }
.wtr-rs2-pin.is-group .wtr-rs2-pin-dot b { color: #000; font: 800 11px/1 var(--rs-body); }
.wtr-rs2-pin.is-group:is(:hover, :focus-within) { z-index: 3; }
.wtr-rs2-pin.is-group:is(:hover, :focus-within) .wtr-rs2-pin-dot { box-shadow: 0 0 0 5px rgba(255, 255, 255, .35); }
.wtr-rs2-pin.is-group:is(:hover, :focus-within) .wtr-rs2-pin-card { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .2s ease, translate .2s ease; pointer-events: auto; }
.wtr-rs2-pin.is-group:is(.is-left, .is-right):is(:hover, :focus-within) .wtr-rs2-pin-card { translate: 0 0; }
.wtr-rs2-pin.is-group:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: 2px; border-radius: 50%; }
.wtr-rs2-pin.is-group .wtr-rs2-pin-card { width: 300px; padding: 12px 8px 8px 12px; }
.wtr-rs2-group-list { display: block; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.wtr-rs2-group-list a { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 6px; color: #000; text-decoration: none; }
.wtr-rs2-group-list a:hover, .wtr-rs2-group-list a:focus-visible { background: #eef6fa; }
.wtr-rs2-group-list img, .wtr-rs2-group-list i { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #dfe7ec; }
.wtr-rs2-group-list span { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 2px; }
.wtr-rs2-group-list strong { overflow: hidden; color: #000; font: 400 16px/1.15 var(--rs-display); text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.wtr-rs2-group-list small { overflow: hidden; color: #0a7aa6; font: 700 10px/1.3 var(--rs-body); letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.wtr-rs2-group-list em { flex: 0 0 auto; color: #000; font-style: normal; font-weight: 800; }
.wtr-rs2-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 14px 0 0; color: rgba(255, 255, 255, .6); font: 700 11px/1.3 var(--rs-body); letter-spacing: .14em; text-transform: uppercase; }
.wtr-rs2-legend span { display: inline-flex; align-items: center; gap: 8px; }
.wtr-rs2-legend i { display: inline-block; width: 10px; height: 10px; }
.wtr-rs2-legend .is-nation { border-radius: 2px; background: var(--rs-accent); }
.wtr-rs2-legend .is-story { border-radius: 50%; background: #fff; }

/* closing: BE THE NEXT STORY, built like THE CROSSING (full-strength photo, no dark layer, soft fades in and out) */
html body.wtr-race-look.wtr-rs-page main > section.wtr-rs2-close { position: relative; padding: 0 0 110px !important; overflow: hidden; text-align: center; }
.wtr-rs2-close-photo { position: absolute; top: 0; right: 0; left: 0; height: 700px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 58%, transparent 100%); }
.wtr-rs2-close-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wtr-rs2-close > .wtr-home-wrap { position: relative; z-index: 1; padding-top: 500px; }
body.wtr-rs-page main h2.wtr-rs2-close-title { margin: 0 0 30px; max-width: none; color: #fff; font: 400 96px/.92 var(--rs-display) !important; text-transform: uppercase; }

@media (prefers-reduced-motion: no-preference) {
    html.wtr-pm-on body.wtr-rs-page main > section.wtr-rs2-close .wtr-rs2-close-photo img { transform: scale(1.06); }
    html.wtr-pm-on body.wtr-rs-page main > section.wtr-rs2-close.is-in .wtr-rs2-close-photo img { transform: scale(1); transition: transform 7s cubic-bezier(.2, .6, .2, 1); }
}

@media (max-width: 1024px) {
    .wtr-rs2-map-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .wtr-rs2-map-line { max-width: 520px; }
}

/* phones: photo on top fading down, the headline in the fade; one swipe row of cards each; the map without pins */
@media (max-width: 767px) {
    .wtr-rs2-hero { display: block; min-height: 0; }
    .wtr-rs2-hero-photo { position: relative; width: 100%; height: 420px;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, .75) 62%, rgba(0, 0, 0, .3) 82%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, .75) 62%, rgba(0, 0, 0, .3) 82%, transparent 100%); }
    .wtr-rs2-hero-photo::after { display: none; }
    .wtr-rs2-hero-words { max-width: none; margin-top: -90px; padding: 0 0 20px; }
    body.wtr-rs-page main h1.wtr-rs2-title { font-size: 64px !important; }
    .wtr-rs2-hero-line { font-size: 17px; }
    .wtr-rs2-br { display: block; }
    .wtr-rs2-list { padding: 24px 0 8px; }
    html body.wtr-race-look.wtr-rs-page main > section.wtr-rs2-list-b { padding: 8px 0 44px; }
    .wtr-rs2-cards { display: flex; gap: 14px; margin: 0 calc(-1 * var(--wtr-home-gutter, 20px)); padding: 0 var(--wtr-home-gutter, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--wtr-home-gutter, 20px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .wtr-rs2-cards::-webkit-scrollbar { display: none; }
    .wtr-rs2-card { flex: 0 0 80%; scroll-snap-align: start; }
    .wtr-rs2-card-quote { font-size: 23px; }
    .wtr-rs2-swipe { display: block; margin: 14px 0 0; color: rgba(255, 255, 255, .55); font: 800 10px/1.3 var(--rs-body); letter-spacing: .16em; text-transform: uppercase; }
    .wtr-rs2-swipe[hidden] { display: none; }
    .wtr-rs2-map { padding: 16px 0 44px; scroll-margin-top: 80px; }
    .wtr-rs2-map-head { margin-bottom: 12px; }
    body.wtr-rs-page main h2.wtr-rs2-map-title { gap: 14px; font-size: clamp(24px, 7.2vw, 30px) !important; }
    body.wtr-rs-page main h2 .wtr-rs2-count { font-size: clamp(80px, 24vw, 96px); }
    .wtr-rs2-map-line { margin-top: 14px; font-size: 16px; }
    .wtr-rs2-pin, .wtr-rs2-legend-pins { display: none !important; }
    html body.wtr-race-look.wtr-rs-page main > section.wtr-rs2-close { padding-bottom: 64px !important; }
    .wtr-rs2-close-photo { height: 420px; }
    .wtr-rs2-close > .wtr-home-wrap { padding-top: 300px; }
    body.wtr-rs-page main h2.wtr-rs2-close-title { font-size: 56px !important; }
}

/* ======================================================================
 * 280.13: one rower's story page, Carsten's final design (24 Nov) and his live mock-up. Set-up header with the key photo,
 * fact strip, the story in one reading column with the before and after (or one photo) halfway down, START YOUR ROW,
 * the bar with the previous rower and the NEXT STORY block. Section colours are the site's (black header, #0D0D0D).
 * ====================================================================== */
body.wtr-rs3-page { --rs-accent: var(--wtr-c-accent, #62d0f5); --rs-display: var(--wtr-font-display, Anton, sans-serif); --rs-body: var(--wtr-font-body, Inter, sans-serif); --rs-bg: var(--wtr-c-bg-2, #0d0d0d); --rs-line: #1d1d1d; }
html body.wtr-race-look.wtr-rs3-page main > section:is(.wtr-rs3-facts, .wtr-rs3-story, .wtr-rs3-bar, .wtr-rs3-next) { background: var(--rs-bg) !important; background-color: var(--rs-bg) !important; } /* beats the site's alternate black sections */
html body.wtr-race-look.wtr-rs3-page main > section.wtr-rs3-hero { background: var(--wtr-c-bg, #000) !important; }
body.wtr-rs3-page main h1, body.wtr-rs3-page main h2 { max-width: none; }

/* header: photo on the right two thirds, soft fades left, top and bottom; the quote is the headline, in the fade */
html body.wtr-race-look.wtr-rs3-page main > section.wtr-rs3-hero { position: relative; display: flex; align-items: flex-end; min-height: 620px; padding: 0 !important; overflow: hidden; }
.wtr-rs3-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 12%, #000 32%), linear-gradient(180deg, transparent 0%, #000 14%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 12%, #000 32%), linear-gradient(180deg, transparent 0%, #000 14%); mask-composite: intersect; }
.wtr-rs3-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wtr-rs3-hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, var(--rs-bg) 0%, rgba(13, 13, 13, .4) 18%, rgba(0, 0, 0, 0) 40%); }
.wtr-rs3-hero-inner { position: relative; z-index: 1; width: 100%; min-height: 620px; display: flex; flex-direction: column; justify-content: space-between; }
.wtr-rs3-back { align-self: flex-start; margin-top: 22px; color: rgba(255, 255, 255, .7); font: 800 11px/1.3 var(--rs-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.wtr-rs3-back:hover, .wtr-rs3-back:focus-visible { color: var(--rs-accent); }
.wtr-rs3-hero-words { max-width: 760px; padding: 0 0 64px; }
.wtr-rs3-hero-words .wtr-rs-label { margin-bottom: 16px; }
body.wtr-rs3-page main h1.wtr-rs3-quote { margin: 0; color: #fff; font: 400 68px/.98 var(--rs-display) !important; text-transform: uppercase; }
body.wtr-rs3-page main h1.wtr-rs3-quote.is-long { font-size: 54px !important; }
body.wtr-rs3-page main .wtr-rs3-name { margin: 22px 0 0; color: #fff; font: 800 13px/1.4 var(--rs-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-rs3-name span { color: var(--rs-accent); }

/* fact strip */
html body.wtr-race-look.wtr-rs3-page main > section.wtr-rs3-facts { padding: 44px 0 40px !important; border-bottom: 1px solid var(--rs-line); }
body.wtr-rs3-page main .wtr-rs3-who { margin: 0 0 26px; color: var(--rs-accent); font: 700 17px/1.4 var(--rs-body); }
.wtr-rs3-fact-grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 64px; margin: 0; }
.wtr-rs3-fact-grid > div { display: flex; flex-direction: column-reverse; }
body.wtr-rs3-page main .wtr-rs3-fact-grid dd { display: flex; align-items: center; gap: 12px; margin: 0; color: #fff; font: 400 40px/1 var(--rs-display); text-transform: uppercase; }
body.wtr-rs3-page main .wtr-rs3-fact-grid dt { margin-top: 8px; color: rgba(255, 255, 255, .6); font: 700 10px/1.3 var(--rs-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-rs3-flag { display: block; width: auto; height: 26px; border-radius: 2px; filter: none !important; }

/* the story */
html body.wtr-race-look.wtr-rs3-page main > section.wtr-rs3-story { padding: 0 !important; }
.wtr-rs3-col { max-width: 700px; margin: 0 auto; padding: 56px 24px 16px; }
.wtr-rs3-col + .wtr-rs3-col, .wtr-rs3-ba + .wtr-rs3-col, .wtr-rs3-single + .wtr-rs3-col { padding-top: 0; }
body.wtr-rs3-page main .wtr-rs3-col p { margin: 0 0 22px; color: rgba(255, 255, 255, .9); font: 400 19px/1.7 var(--rs-body); }
body.wtr-rs3-page main .wtr-rs3-pull { margin: 40px 0 44px; padding: 0 0 0 26px; border: 0; border-left: 3px solid var(--rs-accent); color: #fff; font: 400 36px/1.08 var(--rs-display); text-transform: uppercase; }
.wtr-rs3-cta { margin: 0; padding: 28px 0 64px; text-align: center; }

/* before and after: the heading, the photo with its after half fading in, the places under each half */
.wtr-rs3-ba { margin: 36px auto 52px; max-width: 1100px; padding: 0 var(--wtr-home-gutter, 64px); }
body.wtr-rs3-page main .wtr-rs3-ba-head { margin: 0 0 22px; color: #fff; font: 400 64px/1 var(--rs-display); text-align: center; text-transform: uppercase; }
.wtr-rs3-ba-photo { position: relative; }
.wtr-rs3-ba-photo img { display: block; width: 100%; height: auto; }
.wtr-rs3-ba-cover { position: absolute; top: 0; right: 0; bottom: 0; left: 50%; /* 280.17: the template sets left to where the after photo starts */ background: var(--rs-bg); opacity: 0; pointer-events: none; }
body.wtr-rs3-page main .wtr-rs3-ba-labels { display: flex; justify-content: space-between; gap: 16px; margin: 16px 0 0; color: rgba(255, 255, 255, .7); font: 800 11px/1.3 var(--rs-body); letter-spacing: .16em; text-transform: uppercase; }

/* one photo instead: full width with soft edges, the big line on the left in the dark */
.wtr-rs3-single { position: relative; height: 660px; margin: 40px 0 56px; overflow: hidden; }
.wtr-rs3-single-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 78%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 38%), linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 38%), linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%); mask-composite: intersect; }
.wtr-rs3-single-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wtr-rs3-single > .wtr-home-wrap { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
body.wtr-rs3-page main .wtr-rs3-single-line { margin: 0 0 18px; color: #fff; font: 400 84px/.95 var(--rs-display); text-transform: uppercase; }
body.wtr-rs3-page main .wtr-rs3-single-small { margin: 0; color: var(--rs-accent); font: 800 12px/1.3 var(--rs-body); letter-spacing: .18em; text-transform: uppercase; }

/* the bar: the previous rower on the left, all stories in the middle */
html body.wtr-race-look.wtr-rs3-page main > section.wtr-rs3-bar { padding: 0 !important; border-top: 1px solid var(--rs-line); }
.wtr-rs3-bar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px 0; font: 800 12px/1.3 var(--rs-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-rs3-bar-inner a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.wtr-rs3-bar-inner a:hover, .wtr-rs3-bar-inner a:focus-visible { color: var(--rs-accent); }

/* NEXT STORY: the whole block is the link */
html body.wtr-race-look.wtr-rs3-page main > section.wtr-rs3-next { padding: 0 !important; }
.wtr-rs3-next-link { position: relative; display: flex; align-items: flex-end; height: 560px; overflow: hidden; color: #fff; text-decoration: none; }
.wtr-rs3-next-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 12%, #000 32%), linear-gradient(180deg, transparent 0%, #000 16%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 12%, #000 32%), linear-gradient(180deg, transparent 0%, #000 16%); mask-composite: intersect; }
.wtr-rs3-next-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.wtr-rs3-next-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--rs-bg) 0%, rgba(13, 13, 13, .35) 22%, rgba(0, 0, 0, 0) 45%); }
.wtr-rs3-next-words { position: relative; z-index: 1; display: block; padding-bottom: 56px; }
.wtr-rs3-next-words .wtr-rs-label { display: block; }
body.wtr-rs3-page main .wtr-rs3-next-quote { display: block; max-width: 560px; margin: 0 0 22px; font: 400 40px/1.02 var(--rs-display); text-transform: uppercase; }
body.wtr-rs3-page main .wtr-rs3-next-name { display: flex; align-items: center; gap: 18px; font: 400 54px/1 var(--rs-display); text-transform: uppercase; }
.wtr-rs3-next-arrow { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: var(--rs-accent); color: #0d0d0d; font: 700 28px/1 var(--rs-body); transition: translate .3s ease; }
.wtr-rs3-next-link:hover .wtr-rs3-next-arrow, .wtr-rs3-next-link:focus-visible .wtr-rs3-next-arrow { translate: 6px 0; }
.wtr-rs3-next-link:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: -2px; }

/* motion: the before and after heading rises in with only the before showing, then the after fades in beside it
   (0.5s later, over 1.6s), once; one photo zooms slowly. With reduced motion everything is simply there. */
html.wtr-rs-mo .wtr-rs3-ba-head { opacity: 0; translate: 0 24px; }
html.wtr-rs-mo .wtr-rs3-ba-cover { opacity: 1; }
html.wtr-rs-mo .wtr-rs3-ba.is-on .wtr-rs3-ba-head { opacity: 1; translate: 0 0; transition: opacity 1s ease, translate 1s ease; }
html.wtr-rs-mo .wtr-rs3-ba.is-on .wtr-rs3-ba-cover { opacity: 0; transition: opacity 1.6s ease .5s; }
html.wtr-rs-mo .wtr-rs3-single-photo img { transform: scale(1.06); }
html.wtr-rs-mo .wtr-rs3-single.is-on .wtr-rs3-single-photo img { transform: scale(1); transition: transform 7s ease-out; }
html.wtr-rs-mo .wtr-rs3-single-small { opacity: 0; }
html.wtr-rs-mo .wtr-rs3-single.is-on .wtr-rs3-single-small { opacity: 1; transition: opacity 1s ease .6s; }

@media (max-width: 1024px) {
    .wtr-rs3-fact-grid { gap: 0 40px; }
    body.wtr-rs3-page main .wtr-rs3-fact-grid dd { font-size: 32px; }
}

@media (max-width: 767px) {
    html body.wtr-race-look.wtr-rs3-page main > section.wtr-rs3-hero { display: block; min-height: 0; }
    .wtr-rs3-hero-photo { position: relative; width: 100%; height: 400px; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
    .wtr-rs3-hero-photo::after { display: none; }
    .wtr-rs3-hero-inner { position: static; min-height: 0; display: block; }
    .wtr-rs3-back { position: absolute; top: 16px; left: var(--wtr-home-gutter, 20px); z-index: 2; margin: 0; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
    .wtr-rs3-hero-words { position: relative; z-index: 1; margin-top: -70px; padding-bottom: 36px; }
    body.wtr-rs3-page main h1.wtr-rs3-quote { font-size: 40px !important; }
    body.wtr-rs3-page main h1.wtr-rs3-quote.is-long { font-size: 32px !important; }
    html body.wtr-race-look.wtr-rs3-page main > section.wtr-rs3-facts { padding: 30px 0 !important; }
    body.wtr-rs3-page main .wtr-rs3-who { font-size: 16px; }
    .wtr-rs3-fact-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
    body.wtr-rs3-page main .wtr-rs3-fact-grid dd { gap: 8px; font-size: 28px; }
    .wtr-rs3-flag { height: 18px; }
    .wtr-rs3-col { padding: 40px var(--wtr-home-gutter, 20px) 8px; }
    body.wtr-rs3-page main .wtr-rs3-col p { font-size: 17px; }
    body.wtr-rs3-page main .wtr-rs3-pull { font-size: 28px; }
    body.wtr-rs3-page main .wtr-rs3-ba-head { font-size: 40px; margin-bottom: 16px; }
    body.wtr-rs3-page main .wtr-rs3-ba-labels { font-size: 9px; }
    .wtr-rs3-single { height: 520px; }
    .wtr-rs3-single-photo { width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 50%, transparent 92%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 50%, transparent 92%); }
    .wtr-rs3-single > .wtr-home-wrap { align-items: flex-end; padding-bottom: 28px; }
    body.wtr-rs3-page main .wtr-rs3-single-line { font-size: 46px; }
    .wtr-rs3-bar-inner { grid-template-columns: 1fr; padding: 18px 0; font-size: 10px; }
    .wtr-rs3-bar-all, .wtr-rs3-bar-inner > span:last-child { display: none; }
    .wtr-rs3-next-link { display: block; height: auto; }
    .wtr-rs3-next-photo { position: relative; display: block; width: 100%; height: 340px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 55%, transparent 100%); }
    .wtr-rs3-next-photo::after { display: none; }
    .wtr-rs3-next-words { margin-top: -60px; padding-bottom: 40px; }
    body.wtr-rs3-page main .wtr-rs3-next-quote { font-size: 26px; }
    body.wtr-rs3-page main .wtr-rs3-next-name { gap: 14px; font-size: 34px; }
    .wtr-rs3-next-arrow { width: 44px; height: 44px; font-size: 22px; }
}

/* 280.58: Antigua and Malta's dots take the country hover (a bigger invisible area around each) */
.wtr-rs2-map-dots .wtr-map-country { pointer-events: all; cursor: default; }
.wtr-rs2-map-dots .wtr-rs2-small-nation { fill: var(--rs-accent) !important; stroke: none !important; }
.wtr-rs2-map-dots .wtr-rs2-small-hit { fill: transparent !important; stroke: none !important; }
/* 280.58: the card of the dot nearest the mouse opens (rower-stories.js sets .is-hot); hovering an overlapped dot doesn't */
.wtr-rs2-map-stage.is-js-pins .wtr-rs2-pin:not(.is-hot):hover .wtr-rs2-pin-card { opacity: 0; visibility: hidden; pointer-events: none; }
.wtr-rs2-map-stage.is-js-pins .wtr-rs2-pin:not(.is-hot):hover .wtr-rs2-pin-dot { box-shadow: 0 0 0 5px rgba(255, 255, 255, .18); }
.wtr-rs2-map-stage.is-js-pins .wtr-rs2-pin:not(.is-hot):hover { z-index: 2; }
.wtr-rs2-pin.is-hot { z-index: 4; }
.wtr-rs2-pin.is-hot .wtr-rs2-pin-dot { box-shadow: 0 0 0 5px rgba(255, 255, 255, .35); }
.wtr-rs2-pin.is-hot .wtr-rs2-pin-card { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .2s ease, translate .2s ease; pointer-events: auto; }
.wtr-rs2-pin.is-hot:is(.is-left, .is-right) .wtr-rs2-pin-card { translate: 0 0; }

/* 280.62: lines from fanned-out story dots back to their country's spot, and the spot's small dot */
.wtr-rs2-map-dots .wtr-rs2-leader { stroke: rgba(255, 255, 255, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.wtr-rs2-map-dots .wtr-rs2-anchor { fill: #fff; opacity: .9; }

/* 280.77 (Carsten: "...TO GET / THROUGH."): every quote on a card breaks into balanced lines, no word alone on the last. */
.wtr-rs2-card-quote, .wtr-rs3-quote, .wtr-rs2-map-line { text-wrap: balance; }
/* 280.77: with no closing photo at all, the section is just its words (no empty band above the headline). */
.wtr-rs2-close.has-no-photo { padding-top: 72px; }
