/*
 * 276.86: the leaderboard (results and records) in the race pages' look (Barry, 19 Nov: "make it
 * premium"). page-templates/template-leaderboard.php, assets/js/leaderboard.js.
 * Carsten's colours: black #000, near-black #0d0d0d, cards #161616 with a #262626 border, the light
 * blue accent; headlines and big times in Anton, no full stops; text at least 14px.
 */
body.wtr-lb2 { background: #000; }
.wtr-lb2-main { background: #000; color: #fff; }
.wtr-lb2-main section { position: relative; }
.wtr-lb2-label { margin: 0 0 14px; color: var(--wtr-c-accent, #62d0f5); font: 800 12px/1.3 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .18em; text-transform: uppercase; }
.wtr-lb2-main h1, .wtr-lb2-main h2, .wtr-lb2-main h3 { font-family: var(--wtr-font-display, Anton, Impact, sans-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.wtr-lb2-main h2 { margin: 0 0 14px; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; }
.wtr-lb2-lead { max-width: 640px; margin: 0 0 40px; color: rgba(255, 255, 255, .85); font-size: 18px; line-height: 1.6; }

/* ---------- Hero: the photo on the right fading into black, the text under the logo ---------- */
.wtr-lb2-hero { display: flex; align-items: center; min-height: clamp(520px, 72svh, 760px); padding: 72px 0; overflow: hidden; isolation: isolate; background: #000; }
.wtr-lb2-hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 70%; z-index: -1; background: var(--wtr-lb2-photo) center / cover no-repeat; filter: var(--wtr-crisp); -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 16%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 16%, #000 42%); }
.wtr-lb2-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .45) 24%, rgba(0, 0, 0, 0) 48%); pointer-events: none; }
.wtr-lb2-hero .wtr-home-wrap { position: relative; }
.wtr-lb2-hero h1 { max-width: 11em; margin: 0 0 22px; font-size: clamp(56px, 6.6vw, 112px); line-height: .98; }
.wtr-lb2-intro { max-width: 600px; margin: 0 0 30px; color: rgba(255, 255, 255, .9); font-size: 20px; line-height: 1.55; }
.wtr-lb2-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.wtr-lb2-facts { display: flex; flex-wrap: wrap; gap: 18px 52px; margin: 44px 0 0; padding: 0; }
.wtr-lb2-facts div { margin: 0; }
.wtr-lb2-facts dt { font: 400 38px/1 var(--wtr-font-display, Anton, sans-serif); font-variant-numeric: tabular-nums; }
.wtr-lb2-facts dd { margin: 8px 0 0; color: var(--wtr-c-accent, #62d0f5); font: 800 12px/1.3 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .16em; text-transform: uppercase; }

/* The big times are paragraphs; the site's text rules would otherwise set them in Inter */
.wtr-lb2-main :is(.wtr-lb2-feature-time, .wtr-lb2-record-time) { font-family: var(--wtr-font-display, Anton, Impact, sans-serif) !important; font-weight: 400 !important; line-height: .95 !important; white-space: nowrap; }

/* ---------- Records ---------- */
.wtr-lb2-records { padding: 100px 0; background: #0d0d0d; }
.wtr-lb2-feature { position: relative; display: flex; align-items: flex-end; min-height: 420px; padding: 44px; margin-bottom: 20px; border: 1px solid #262626; border-radius: 14px; overflow: hidden; isolation: isolate;
    background: radial-gradient(120% 140% at 100% 0%, rgba(98, 208, 245, .14) 0%, rgba(98, 208, 245, 0) 55%), #161616; }
.wtr-lb2-feature.has-photo { background: #000; }
.wtr-lb2-feature.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wtr-lb2-feature) center / cover no-repeat; filter: var(--wtr-crisp); }
.wtr-lb2-feature.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .1) 100%); }
.wtr-lb2-feature-time { margin: 0 0 8px; font: 400 clamp(64px, 9vw, 132px)/.95 var(--wtr-font-display, Anton, sans-serif); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.wtr-lb2-feature-record { margin: 4px 0 18px; color: var(--wtr-c-accent, #62d0f5); font-size: 16px; font-weight: 700; }
.wtr-lb2-feature h3 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.wtr-lb2-crew { max-width: 640px; margin: 12px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.55; }
.wtr-lb2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; color: rgba(255, 255, 255, .78); font-size: 14px; }
.wtr-lb2-nation { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; font: 700 13px/1 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .06em; color: #fff; }
.wtr-lb2-nation img { display: block; flex: 0 0 auto; width: 20px; height: 15px; margin: 0; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); filter: none !important; }
.wtr-lb2-record-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.wtr-lb2-record { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid #262626; border-radius: 14px; background: #161616; overflow: hidden; }
.wtr-lb2-record-photo { width: calc(100% + 48px); max-width: none; height: 170px; margin: -24px -24px 8px; object-fit: cover; }
.wtr-lb2-record-title { margin: 0; color: var(--wtr-c-accent, #62d0f5); font: 700 13px/1.45 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .04em; }
.wtr-lb2-record-time { margin: 2px 0 0; font: 400 40px/1 var(--wtr-font-display, Anton, sans-serif); font-variant-numeric: tabular-nums; }
.wtr-lb2-record-team { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.wtr-lb2-subhead { margin: 56px 0 18px; font-size: 28px; line-height: 1; }
.wtr-lb2-record-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; border-top: 1px solid #262626; }
.wtr-lb2-record-list li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid #262626; }
.wtr-lb2-record-list .wtr-lb2-record-title { color: #fff; font-size: 15px; letter-spacing: 0; }
.wtr-lb2-record-who { color: rgba(255, 255, 255, .7); font-size: 14px; }

/* ---------- Results ---------- */
.wtr-lb2-results { padding: 100px 0 80px; background: #000; }
.wtr-lb2-controls { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 32px; }
.wtr-lb2-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.wtr-lb2-chip { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 1px solid #262626; border-radius: 999px; background: #161616; color: #fff; font: 700 14px/1 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .04em; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.wtr-lb2-chip:hover, .wtr-lb2-chip:focus-visible { border-color: var(--wtr-c-accent, #62d0f5); }
.wtr-lb2-chip.is-on { background: var(--wtr-c-accent, #62d0f5); border-color: var(--wtr-c-accent, #62d0f5); color: #000; }
.wtr-lb2-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.wtr-lb2-select { display: flex; flex-direction: column; gap: 6px; color: rgba(255, 255, 255, .7); font: 700 12px/1 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.wtr-lb2-select select, .wtr-lb2-search input { min-height: 44px; padding: 0 14px; border: 1px solid #262626; border-radius: 10px; background: #161616; color: #fff; font: 500 15px/1.2 var(--wtr-font-body, Inter, sans-serif); }
.wtr-lb2-select select { min-width: 160px; padding-right: 36px; }
.wtr-lb2-search { flex: 1 1 280px; }
.wtr-lb2-search input { width: 100%; }
.wtr-lb2-select select:focus-visible, .wtr-lb2-search input:focus-visible { outline: 2px solid var(--wtr-c-accent, #62d0f5); outline-offset: 1px; }
.wtr-lb2-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.wtr-lb2-podium[hidden] { display: none; }
.wtr-lb2-podium li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid #262626; border-radius: 14px; background: #161616; }
.wtr-lb2-podium li.is-1 { border-color: rgba(98, 208, 245, .55); background: linear-gradient(180deg, rgba(98, 208, 245, .1), rgba(98, 208, 245, 0) 60%), #161616; }
.wtr-lb2-podium-pos { color: var(--wtr-c-accent, #62d0f5); font: 400 30px/1 var(--wtr-font-display, Anton, sans-serif); text-transform: uppercase; }
.wtr-lb2-podium-team { font-size: 20px; font-weight: 700; line-height: 1.25; }
.wtr-lb2-podium-time { margin-top: auto; font: 400 34px/1 var(--wtr-font-display, Anton, sans-serif); font-variant-numeric: tabular-nums; }
.wtr-lb2-count { margin: 0 0 12px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.wtr-lb2-table-wrap { border: 1px solid #262626; border-radius: 14px; overflow: hidden; background: #0d0d0d; }
.wtr-lb2-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wtr-lb2-table th { padding: 14px 16px; border-bottom: 1px solid #262626; background: #161616; color: rgba(255, 255, 255, .7); font: 800 12px/1.3 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .14em; text-align: left; text-transform: uppercase; }
.wtr-lb2-table td { padding: 16px; border-bottom: 1px solid #1d1d1d; vertical-align: top; }
.wtr-lb2-table tr:last-child td { border-bottom: 0; }
.wtr-lb2-table tbody tr:hover td { background: #121212; }
.wtr-lb2-table .c-pos { width: 64px; font: 400 22px/1 var(--wtr-font-display, Anton, sans-serif); color: var(--wtr-c-accent, #62d0f5); }
.wtr-lb2-table th.c-pos { font: 800 12px/1.3 var(--wtr-font-body, Inter, sans-serif); color: rgba(255, 255, 255, .7); }
.wtr-lb2-table .c-year { display: none; width: 72px; font-weight: 700; }
.wtr-lb2-table.is-all .c-year { display: table-cell; }
.wtr-lb2-table .c-crew { min-width: 260px; }
.wtr-lb2-team { font-size: 17px; font-weight: 700; line-height: 1.3; }
.wtr-lb2-names { display: block; margin-top: 4px; color: rgba(255, 255, 255, .66); font-size: 14px; line-height: 1.5; }
.wtr-lb2-note { display: block; margin-top: 6px; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.5; }
.wtr-lb2-note.is-record { color: var(--wtr-c-accent, #62d0f5); font-weight: 600; }
.wtr-lb2-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 10px; vertical-align: 2px; }
.wtr-lb2-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font: 800 11px/1 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.wtr-lb2-badge.is-win { border-color: var(--wtr-c-accent, #62d0f5); background: var(--wtr-c-accent, #62d0f5); color: #000; }
.wtr-lb2-badge.is-record { border-color: var(--wtr-c-accent, #62d0f5); color: var(--wtr-c-accent, #62d0f5); }
.wtr-lb2-badge.is-out { border-color: rgba(255, 120, 110, .5); color: #ff9a92; }
.wtr-lb2-table .c-class { width: 170px; white-space: nowrap; }
.wtr-lb2-table .c-class span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.wtr-lb2-table .c-nation { width: 150px; }
.wtr-lb2-table .c-nation .wtr-lb2-nation { margin: 0 10px 6px 0; }
.wtr-lb2-table .c-time { width: 130px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.wtr-lb2-table th.c-time { text-align: right; }
.wtr-lb2-empty { padding: 32px 0; color: rgba(255, 255, 255, .78); font-size: 16px; }
.wtr-lb2-fix { margin: 24px 0 0; color: rgba(255, 255, 255, .7); font-size: 14px; }
.wtr-lb2-fix a { color: var(--wtr-c-accent, #62d0f5); }

/* ---------- Closing ---------- */
.wtr-lb2-cta { padding: 110px 0 100px; background: #0d0d0d; text-align: center; }
.wtr-lb2-cta h2 { max-width: 13em; margin: 0 auto 16px; font-size: clamp(44px, 5.6vw, 84px); line-height: .98; }
.wtr-lb2-cta p:not(.wtr-lb2-label) { max-width: 560px; margin: 0 auto 28px; color: rgba(255, 255, 255, .85); font-size: 19px; line-height: 1.6; }

/* ---------- Phones and small tablets: the photo on top, crews as cards ---------- */
@media (max-width: 860px) {
    .wtr-lb2-podium { grid-template-columns: 1fr; }
    .wtr-lb2-table thead { display: none; }
    .wtr-lb2-table, .wtr-lb2-table tbody { display: block; }
    .wtr-lb2-table tr { display: grid; grid-template-columns: 52px 1fr auto; gap: 4px 12px; padding: 16px; border-bottom: 1px solid #1d1d1d; }
    .wtr-lb2-table tr[hidden] { display: none; }
    .wtr-lb2-table td { display: block; padding: 0; border: 0; }
    .wtr-lb2-table .c-pos { grid-row: 1 / span 3; width: auto; }
    .wtr-lb2-table .c-year, .wtr-lb2-table.is-all .c-year { display: none; }
    .wtr-lb2-table .c-crew { grid-column: 2 / span 2; min-width: 0; }
    .wtr-lb2-table .c-class { grid-column: 2; width: auto; white-space: normal; color: rgba(255, 255, 255, .85); font-size: 14px; }
    .wtr-lb2-table .c-class span { display: block; margin: 2px 0 0; font-size: 13px; }
    .wtr-lb2-table .c-nation { grid-column: 2; width: auto; }
    .wtr-lb2-table .c-time { grid-column: 3; grid-row: 2 / span 2; align-self: end; width: auto; }
    .wtr-lb2-badges { display: flex; margin: 6px 0 0; }
}
@media (max-width: 767px) {
    .wtr-lb2-hero { display: block; min-height: 0; padding: 250px 0 48px; }
    .wtr-lb2-hero::before { width: auto; left: 0; bottom: auto; height: 320px; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
    .wtr-lb2-hero::after { display: none; }
    .wtr-lb2-hero h1 { font-size: clamp(42px, 12vw, 60px); }
    .wtr-lb2-intro { font-size: 17px; }
    .wtr-lb2-facts { gap: 18px 32px; }
    .wtr-lb2-facts dt { font-size: 30px; }
    .wtr-lb2-records, .wtr-lb2-results { padding: 64px 0; }
    .wtr-lb2-feature { min-height: 0; padding: 28px 22px; }
    .wtr-lb2-main .wtr-lb2-feature-time { font-size: clamp(44px, 14vw, 64px) !important; }
    .wtr-lb2-record-list { grid-template-columns: 1fr; }
    .wtr-lb2-select { flex: 1 1 140px; }
    .wtr-lb2-select select { min-width: 0; width: 100%; }
    .wtr-lb2-cta { padding: 72px 0 64px; }
}

/* 276.89: the header photo follows its centre point and zoom (the page editor's photo box); the record photos are
 * images with the same crop system (Control Centre → Leaderboards). */
.wtr-lb2-hero::before { background-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) {
    .wtr-lb2-hero::before { background-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%)); }
}
.wtr-lb2-feature.has-photo { background: #000; }
.wtr-lb2-feature-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wtr-lb2-feature.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .1) 100%); }
.wtr-lb2-feature-copy { position: relative; }

/* ======================================================================
 * 280.21: Carsten's Atlantic and Pacific leaderboard mock-ups (24 Nov). Header set up like About Us, record cards in
 * two rows of five (swipe row on phones), the podium as a swipe row on phones, the closing built like THE CROSSING.
 * The table, filters and search are unchanged. Photos carry WTR Crisp like every photo on the site.
 * ====================================================================== */
/* header */
.wtr-lb2-main section.wtr-lb3-hero { display: flex; align-items: center; min-height: 800px; padding: 0; overflow: hidden; background: #000; }
.wtr-lb3-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 26%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 10%, rgba(0, 0, 0, .92) 20%, #000 26%); }
.wtr-lb3-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wtr-lb3-hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .45) 16%, rgba(0, 0, 0, 0) 38%); }
.wtr-lb3-hero > .wtr-home-wrap { position: relative; z-index: 1; width: 100%; }
.wtr-lb3-hero-words { max-width: 600px; padding: 72px 0; }
.wtr-lb2-main h1.wtr-lb3-title { margin: 0 0 18px; max-width: none; white-space: nowrap; font-size: 84px; line-height: .96; }
.wtr-lb3-intro { max-width: 500px; margin: 0; color: rgba(255, 255, 255, .9); font-size: 19px; line-height: 1.55; }
.wtr-lb3-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.wtr-lb3-textlink { padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .4); color: rgba(255, 255, 255, .85); font: 700 13px/1.3 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .08em; text-decoration: none; }
.wtr-lb3-textlink:hover, .wtr-lb3-textlink:focus-visible { color: var(--wtr-c-accent, #62d0f5); border-color: currentColor; }
.wtr-lb3-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 44px; margin: 44px 0 0; padding: 0; }
.wtr-lb3-facts div { display: flex; flex-direction: column; margin: 0; }
.wtr-lb3-facts dt { font: 400 48px/1 var(--wtr-font-display, Anton, sans-serif); font-variant-numeric: tabular-nums; }
.wtr-lb3-facts dd { margin: 8px 0 0; color: var(--wtr-c-accent, #62d0f5); font: 700 11px/1.3 var(--wtr-font-body, Inter, sans-serif); letter-spacing: .16em; text-transform: uppercase; }

/* records: the big card */
.wtr-lb2-main section.wtr-lb3-records { padding: 72px 0 24px; }
.wtr-lb3-feature { position: relative; display: flex; align-items: center; min-height: 440px; margin: 0 0 20px; overflow: hidden; border: 1px solid #222; border-radius: 14px; background: #111; }
.wtr-lb3-feature-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, .6) 14%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 14%, #000 30%); }
.wtr-lb3-feature-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.wtr-lb3-feature .wtr-lb2-feature-copy { position: relative; z-index: 1; max-width: 620px; padding: 48px 52px; }
.wtr-lb3-feature .wtr-lb2-feature-time { font-size: 96px; line-height: 1; }
.wtr-lb3-feature h3 { margin: 18px 0 10px; font-size: 30px; }
/* records: the cards */
.wtr-lb3-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.wtr-lb3-cards.is-fives { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wtr-lb3-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #222; border-radius: 12px; background: #111; }
.wtr-lb3-card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.wtr-lb3-card-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform 1.2s ease; }
.wtr-lb3-card-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 50%, rgba(17, 17, 17, .6) 78%, #111 100%); }
.wtr-lb3-card:not(.has-photo) .wtr-lb3-card-photo { display: none; }
.wtr-lb3-card:not(.has-photo) .wtr-lb3-card-body { margin-top: 0; padding-top: 22px; } /* a record without a photo yet */
.wtr-lb3-card-body { position: relative; margin-top: -10px; padding: 0 20px 22px; }
.wtr-lb3-card .wtr-lb2-record-title { min-height: 52px; font-size: 12px; letter-spacing: 0; }
.wtr-lb3-card .wtr-lb2-record-time { margin-top: 8px; font-size: 34px; }
.wtr-lb3-card .wtr-lb2-record-team { margin: 8px 0 12px; font-size: 17px; }
@media (hover: hover) {
    .wtr-lb3-card:hover .wtr-lb3-card-photo img, .wtr-lb3-feature:hover .wtr-lb3-feature-photo img { transform: scale(1.05); }
}
.wtr-lb3-age { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.wtr-lb3-age li { border-top: 1px solid #1e1e1e; border-bottom: 0; }

/* closing: like THE CROSSING */
.wtr-lb2-main section.wtr-lb3-cta { padding: 0 0 80px; overflow: hidden; background: #000; text-align: center; }
.wtr-lb3-cta-photo { position: relative; height: clamp(440px, 44vw, 820px); overflow: hidden; /* 280.24: grows with the screen width */
    -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-lb3-cta-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wtr-lb3-cta-words { position: relative; z-index: 1; margin-top: -150px; }
.wtr-lb2-main .wtr-lb3-cta h2 { margin: 0; font-size: 72px; line-height: 1; }
.wtr-lb3-cta-text { max-width: 520px; margin: 16px auto 26px; color: rgba(255, 255, 255, .9); font-size: 19px; line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) {
    html.wtr-pm-on .wtr-lb3-cta .wtr-lb3-cta-photo img { transform: scale(1.06); }
    html.wtr-pm-on .wtr-lb3-cta.is-in .wtr-lb3-cta-photo img { transform: scale(1); transition: transform 7s cubic-bezier(.2, .6, .2, 1); }
}

@media (max-width: 1179px) {
    .wtr-lb2-main section.wtr-lb3-hero { display: block; min-height: 0; }
    .wtr-lb3-hero-photo { position: relative; width: 100%; height: 520px;
        -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-lb3-hero-photo::after { display: none; }
    .wtr-lb3-hero-words { margin-top: -120px; padding: 0 0 50px; }
    .wtr-lb2-main h1.wtr-lb3-title { font-size: 80px; }
    .wtr-lb3-cards.is-fives, .wtr-lb3-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wtr-lb3-age { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .wtr-lb3-hero-photo { height: 400px; }
    .wtr-lb3-hero-words { margin-top: -80px; padding-bottom: 8px; }
    .wtr-lb2-main h1.wtr-lb3-title { font-size: 56px; white-space: normal; }
    .wtr-lb3-intro { font-size: 17px; }
    .wtr-lb3-facts { gap: 0 18px; margin-top: 36px; }
    .wtr-lb3-facts dt { font-size: 36px; }
    .wtr-lb3-facts dd { font-size: 10px; }
    .wtr-lb2-main section.wtr-lb3-records { padding: 48px 0 8px; }
    .wtr-lb3-feature { display: block; min-height: 0; }
    .wtr-lb3-feature-photo { position: relative; width: 100%; height: 260px; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent); }
    .wtr-lb3-feature .wtr-lb2-feature-copy { margin-top: -40px; padding: 0 22px 26px; }
    .wtr-lb3-feature .wtr-lb2-feature-time { font-size: 56px; }
    /* the record cards and the podium: one swipe row each */
    .wtr-lb3-cards.is-fives, .wtr-lb3-cards, .wtr-lb3-results .wtr-lb2-podium:not([hidden]) { display: flex; gap: 12px; margin-left: calc(-1 * var(--wtr-home-gutter, 20px)); margin-right: 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; }
    .wtr-lb3-cards::-webkit-scrollbar, .wtr-lb3-results .wtr-lb2-podium::-webkit-scrollbar { display: none; }
    .wtr-lb3-card, .wtr-lb3-results .wtr-lb2-podium li { flex: 0 0 78%; scroll-snap-align: start; }
    .wtr-lb3-card .wtr-lb2-record-title { min-height: 36px; }
    .wtr-lb3-card .wtr-lb2-record-time { font-size: 36px; }
    .wtr-lb3-age { grid-template-columns: 1fr; }
    .wtr-lb2-main section.wtr-lb3-cta { padding-bottom: 56px; }
    .wtr-lb3-cta-photo { height: 380px; }
    .wtr-lb3-cta.is-pacific .wtr-lb3-cta-photo { height: auto; } /* 280.24 (Carsten): the whole trophies photo across the screen, no trophy cut */
    .wtr-lb3-cta.is-pacific .wtr-lb3-cta-photo img { height: auto; object-fit: contain; }
    .wtr-lb3-cta-words { margin-top: -90px; }
    .wtr-lb2-main .wtr-lb3-cta h2 { font-size: 44px; }
    .wtr-lb3-cta-text { font-size: 16px; }
}

/* 280.69: "Whole photo": the header photo at its own shape (nothing cut off), fading into black at its foot */
@media (min-width: 768px) {
    .wtr-lb3-hero.is-photo-whole .wtr-lb3-hero-photo { bottom: auto; height: auto; }
    .wtr-lb3-hero.is-photo-whole .wtr-lb3-hero-photo img { height: auto; object-fit: initial; }
}
@media (max-width: 767px) {
    .wtr-lb3-hero.is-photo-whole .wtr-lb3-hero-photo { height: auto; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
    .wtr-lb3-hero.is-photo-whole .wtr-lb3-hero-photo img { height: auto; object-fit: initial; }
}

/* 281.08 (Barry, 5 Dec, gaps check): the space under the header's numbers and above THE FASTEST was about 100px more
   than anywhere else on the site at laptop sizes. */
@media (min-width: 1180px) {
    .wtr-lb2-main section.wtr-lb3-hero { min-height: 720px; }
    .wtr-lb3-hero + .wtr-lb2-records { padding-top: 72px; }
}
