/*
 * 280.2: Find a Crew and Partners final (Carsten's doc, 23 and 24 Nov). The headers use the race look's header
 * (pages-race.css); this file has the rest of both pages. Black #000 sections, #0D0D0D strips, Anton headlines, Inter text.
 */
body.wtr-crew-page, body.wtr-partners-page { --cp-accent: var(--wtr-c-accent, #62d0f5); --cp-display: var(--wtr-font-display, Anton, sans-serif); --cp-body: var(--wtr-font-body, Inter, sans-serif); }

/* ---------- Find a Crew ---------- */
.wtr-fac-fb { display: inline-flex !important; align-items: center; gap: 10px; }
.wtr-fac-fb .wtr-fb-icon { flex: none; color: #000; }
body.wtr-race-look main .wtr-crew-hero-copy > p.wtr-fac-more { margin: 22px 0 0 !important; font-size: 15px !important; color: rgba(255, 255, 255, .78) !important; }
.wtr-fac-more a { font: 800 15px/1.3 var(--cp-body); letter-spacing: .1em; text-transform: uppercase; color: var(--cp-accent); text-decoration: none; }
.wtr-fac-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

html body.wtr-race-look.wtr-crew-page main > section.wtr-fac-cards { padding: 56px 0 !important; background: #000 !important; }
.wtr-fac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.wtr-fac-card { margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; background: #111; }
.wtr-fac-photo { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #161616; }
.wtr-fac-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--wtr-race-grade, none); transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.wtr-fac-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 55%, rgba(17, 17, 17, .75) 80%, #111 100%); pointer-events: none; }
.wtr-fac-body { position: relative; z-index: 1; margin-top: -78px; padding: 0 28px 30px; }
body.wtr-crew-page main .wtr-fac-body h2 { margin: 0 0 12px !important; font: 400 clamp(32px, 3vw, 42px)/1 var(--cp-display) !important; text-transform: uppercase; color: #fff !important; }
.wtr-fac-body p { margin: 0; font: 400 17px/1.6 var(--cp-body); color: rgba(255, 255, 255, .85); }
.wtr-fac-button { margin: 32px 0 0; text-align: center; }
@media (hover: hover) and (min-width: 768px) {
    .wtr-fac-card:hover .wtr-fac-photo img { transform: scale(1.04); }
}

html body.wtr-race-look.wtr-crew-page main > section.wtr-fac-commit { padding: 48px 0 !important; background: #0D0D0D !important; border-top: 1px solid rgba(255, 255, 255, .08); }
.wtr-fac-commit-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: center; }
body.wtr-crew-page main .wtr-fac-commit h2 { margin: 0 !important; font: 400 clamp(32px, 3vw, 42px)/1 var(--cp-display) !important; text-transform: uppercase; color: #fff !important; }
.wtr-fac-commit p { max-width: 720px; margin: 0; font: 400 18px/1.6 var(--cp-body); color: rgba(255, 255, 255, .88); }
.wtr-fac-commit p.wtr-fac-small { margin-top: 16px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .5); }

@media (max-width: 767px) {
    html body.wtr-race-look.wtr-crew-page main > section.wtr-fac-cards { padding: 40px 0 !important; }
    .wtr-fac-grid { grid-template-columns: 1fr; gap: 20px; }
    .wtr-fac-body { margin-top: -64px; padding: 0 20px 24px; }
    .wtr-fac-button .wtr-v23-btn, body.wtr-crew-page .wtr-crew-hero .wtr-v23-buttons .wtr-v23-btn { display: flex !important; justify-content: center; width: 100%; }
    .wtr-fac-commit-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Partners ---------- */
body.wtr-race-look main > .wtr-par-hero h1 { max-width: none !important; }
html body.wtr-race-look.wtr-partners-page main .wtr-par-label, .wtr-par-label { display: block; margin: 0 0 20px !important; font: 800 12px/1.3 var(--cp-body) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--cp-accent) !important; }

html body.wtr-race-look.wtr-partners-page main > section.wtr-par-platform { padding: 0 0 64px !important; background: #000 !important; text-align: center; }
.wtr-par-band { position: relative; height: 540px; margin: 0; overflow: hidden; }
.wtr-par-band img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--wtr-race-grade, none); }
.wtr-par-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, #000 100%); pointer-events: none; }
.wtr-par-platform-words { position: relative; margin-top: -8px !important; }
.wtr-par-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto 32px; padding: 0; list-style: none; }
.wtr-par-number strong { display: block; font: 400 clamp(56px, 6vw, 84px)/1 var(--cp-display); color: #fff; }
.wtr-par-number span { display: block; margin-top: 10px; font: 800 11px/1.4 var(--cp-body); letter-spacing: .16em; text-transform: uppercase; color: var(--cp-accent); }
.wtr-par-platform-words p { max-width: 760px; margin: 0 auto; font: 400 18px/1.6 var(--cp-body); color: rgba(255, 255, 255, .88); }
@media (prefers-reduced-motion: no-preference) {
    html.wtr-pm-on .wtr-par-platform .wtr-par-band img { transform: scale(1); transition: transform 7s cubic-bezier(.2, .6, .2, 1); }
    html.wtr-pm-on .wtr-par-platform.is-in .wtr-par-band img { transform: scale(1.06); }
}

html body.wtr-race-look.wtr-partners-page main > section.wtr-par-official { padding: 40px 0 64px !important; background: #000 !important; }
.wtr-par-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.wtr-par-card { margin: 0; }
.wtr-par-card-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; background: #111; color: #fff; text-decoration: none; }
.wtr-par-card-logo { display: grid; place-items: center; height: 150px; border-bottom: 1px solid rgba(255, 255, 255, .07); transition: background-color .3s ease; }
.wtr-par-card-words { padding: 20px 22px 22px; }
.wtr-par-role { display: block; margin: 0 0 6px; font: 800 11px/1.3 var(--cp-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cp-accent); }
.wtr-par-name { display: block; font: 400 30px/1.05 var(--cp-display); text-transform: uppercase; color: #fff; }
.wtr-par-visit { display: block; margin-top: 12px; font: 800 11px/1 var(--cp-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
a.wtr-par-card-link:hover .wtr-par-visit, a.wtr-par-card-link:focus-visible .wtr-par-visit { color: var(--cp-accent); }
a.wtr-par-card-link:focus-visible, .wtr-par-tile a:focus-visible { outline: 2px solid var(--cp-accent); outline-offset: 3px; }

/* the logo: white at rest; laptops: the tile fades to light grey and the logo shows in its own colours */
.wtr-par-logo { position: relative; display: block; width: min(250px, 82%); height: auto; aspect-ratio: 320 / 140; } /* the logo files are 320 x 140 with their own margins */
.wtr-par-logo img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; min-height: 0 !important; object-fit: contain; transition: opacity .3s ease; }
.wtr-par-logo img.is-colour { opacity: 0; }
.wtr-par-soon { display: grid; gap: 6px; text-align: center; }
.wtr-par-soon strong { font: 800 12px/1.3 var(--cp-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.wtr-par-soon span { font: 800 10px/1.3 var(--cp-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
@media (hover: hover) and (min-width: 768px) {
    .wtr-par-card-link:hover .wtr-par-card-logo, .wtr-par-tile > a:hover { background-color: #e9e9e9; }
    .wtr-par-card-link:hover .wtr-par-logo img.is-white, .wtr-par-tile > a:hover .wtr-par-logo img.is-white { opacity: 0; }
    .wtr-par-card-link:hover .wtr-par-logo img.is-colour, .wtr-par-tile > a:hover .wtr-par-logo img.is-colour { opacity: 1; }
}

html body.wtr-race-look.wtr-partners-page main > section.wtr-par-hosts { padding: 56px 0 72px !important; background: #0D0D0D !important; border-top: 1px solid rgba(255, 255, 255, .08); }
.wtr-par-group { margin: 0 0 40px; }
.wtr-par-group:last-child { margin-bottom: 0; }
body.wtr-partners-page main .wtr-par-group h3 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px !important; padding: 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); font: 400 40px/1 var(--cp-display) !important; text-transform: uppercase; color: #fff !important; }
.wtr-par-group h3 span { font: 800 12px/1.3 var(--cp-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.wtr-par-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.wtr-par-tile { margin: 0; }
.wtr-par-tile > a, .wtr-par-tile > span { display: grid; place-items: center; height: 96px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 10px; background: #111; transition: background-color .3s ease; }
.wtr-par-tile .wtr-par-logo { width: min(200px, 88%); }

/* each logo's own size, so the light and heavy ones look alike */
.wtr-par-logo img { scale: var(--wtr-par-scale, 1); } /* 280.3: the new logo files are sized to balance, so no per-logo tweaks */

@media (max-width: 1023px) { .wtr-par-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .wtr-par-band { height: 300px; }
    html body.wtr-race-look.wtr-partners-page main > section.wtr-par-platform { padding-bottom: 48px !important; }
    .wtr-par-numbers { gap: 10px; }
    .wtr-par-number strong { font-size: 40px; }
    .wtr-par-number span { font-size: 10px; letter-spacing: .12em; }
    .wtr-par-platform-words p { font-size: 17px; }
    .wtr-par-cards { gap: 10px; }
    .wtr-par-card-link { align-items: center; justify-content: center; padding: 18px 8px; text-align: center; }
    .wtr-par-card-logo { height: auto; width: 100%; border: 0; }
    .wtr-par-card .wtr-par-logo { width: 100%; }
    .wtr-par-card-words { padding: 12px 0 0; }
    .wtr-par-role { margin: 0; font-size: 10px; letter-spacing: .1em; }
    .wtr-par-name, .wtr-par-visit { display: none; }
    body.wtr-partners-page main .wtr-par-group h3 { font-size: 34px !important; flex-wrap: wrap; }
    .wtr-par-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .wtr-par-tile > a, .wtr-par-tile > span { height: 84px; }
}

/* 280.10 (Carsten, 24 Nov): official partner cards show only the logo at rest; on mouse over the logo's tile turns light
   grey, the logo shows in its colours, and the role and VISIT → fade in. The card keeps its size, so nothing moves. */
@media (min-width: 768px) {
    .wtr-par-card-logo { height: 168px; border-bottom-color: transparent; transition: background-color .3s ease, border-color .3s ease; }
    .wtr-par-card-words { min-height: 74px; }
    .wtr-par-card-words > * { opacity: 0; translate: 0 6px; transition: opacity .3s ease, translate .3s ease; }
    .wtr-par-visit { margin-top: 8px; color: var(--cp-accent); }
}
@media (min-width: 768px) and (hover: hover) {
    .wtr-par-card-link:hover .wtr-par-card-words > *, .wtr-par-card-link:focus-visible .wtr-par-card-words > * { opacity: 1; translate: 0 0; }
    .wtr-par-card-link:focus-visible .wtr-par-card-logo { background-color: #e9e9e9; }
    .wtr-par-card-link:focus-visible .wtr-par-logo img.is-white { opacity: 0; }
    .wtr-par-card-link:focus-visible .wtr-par-logo img.is-colour { opacity: 1; }
}
@media (min-width: 768px) and (hover: none) { /* tablets without a mouse: the role shows, as on phones */
    .wtr-par-card-words > .wtr-par-role { opacity: 1; translate: 0 0; }
}
@media (min-width: 768px) and (hover: hover) {
    /* at rest the logo sits in the middle of the whole card; on mouse over it rises into the grey tile as the words appear */
    .wtr-par-card .wtr-par-logo { translate: 0 37px; transition: translate .35s cubic-bezier(.2, .6, .2, 1); }
    .wtr-par-card-link:hover .wtr-par-logo, .wtr-par-card-link:focus-visible .wtr-par-logo { translate: 0 0; }
}

/* 280.78 (Carsten, Partners). Header on laptops: the words about 470px wide, so they stay in the dark area clear of the
   photo and "possible." isn't alone (a site-wide header rule had them at 600px, hence the strong selector). */
@media (min-width: 1000px) {
    html body.wtr-race-look main > section.wtr-par-hero .wtr-partners-hero-copy > p { max-width: 470px !important; text-wrap: pretty; }
}
/* Host destinations: the route beside ATLANTIC / PACIFIC in Inter semibold 13px, light grey, spaced (was 12px Anton). */
.wtr-par-hosts .wtr-par-group h3 > span { display: inline-block; margin-left: 14px; vertical-align: .55em; font: 600 13px/1.2 Inter, system-ui, sans-serif !important; letter-spacing: .14em !important; color: rgba(255, 255, 255, .72) !important; text-transform: uppercase; }
/* Phones, official partner tiles: room inside each tile, the role a touch smaller and evenly broken (COMMUNICATIONS PARTNER
   ran to the tile's edges). */
@media (max-width: 767px) {
    .wtr-par-card-words { padding-left: 10px !important; padding-right: 10px !important; }
    .wtr-par-role { font-size: 9px !important; letter-spacing: .08em !important; text-wrap: balance; }
}
