/* Hallmark · shape: kept (a theme layer over the shared pages; each page's own composition arrives with its phase) · genre: editorial · theme: custom (team) · redesign: full · job: book · idea: "A second look for the whole platform, sporty and readable, that sits beside the classic one and is switched on by SITE_THEME" · vibe: "match-day team sheet, bright lake, readable"
 * paper: oklch(100% 0 0) · accent: oklch(92% 0.20 120) · display: Archivo (wide, heavy) · body: Archivo · hero: the words on the photograph under a navy fade from the left · nav: a white bar with a navy rule · footer: navy band with a yellow edge · imagery: photographs in full colour · signature: the next departure as a scoreboard with three blocks that fill as friends pay
 * axes: light/grotesk-heavy/chromatic-volt · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: H, phase 0 fades the photograph under the existing hero text but keeps each page's own stack; the real home composition (scoreboard and departure rows) comes with the team home template in phase 1 */

/* The stylesheet is linked only when the team theme is on, and its rules are scoped to .theme-team (set on <body> by base.html); the
   classic look is untouched when the theme is off. It loads after brand/overlay.css, css/partner-program.css and css/site-theme.css:
   tokens first, then their rules overridden. Text on a photograph is white over a deep navy fade (at least 7:1 where the words are), never over the bare photograph. */

:root {
  /* the palette: navy ink, ball yellow, white, lake blue for what is live */
  --tm-navy: #0b1f3a;
  --tm-navy-2: #14305a;
  --tm-volt: #d7f23a;
  --tm-volt-dk: #46560a;
  --tm-white: #fbfdff;
  --tm-mist: #eef3f7;
  --tm-rule: #cdd8e3;
  --tm-muted: #41536b;
  --tm-blue: #1d4ed8;
  --tm-field: #70859d;
  --tm-on-navy-muted: #c9d6e6;
  --tm-shadow: 0 12px 28px -16px rgba(11, 31, 58, 0.4);

  --tm-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* the classic token names, re-pointed so every shared rule that reads them changes with the theme */
  --bg: var(--tm-white);
  --surface: var(--tm-white);
  --surface2: var(--tm-mist);
  --surface-dark: var(--tm-navy);
  --primary: var(--tm-navy);
  --primary-text: var(--tm-blue);
  --primary-light: var(--tm-volt);
  --secondary: var(--tm-blue);
  --accent: var(--tm-volt);
  --accent-dk: var(--tm-volt-dk);
  --text: var(--tm-navy);
  --text-muted: var(--tm-muted);
  --border: var(--tm-rule);
  --font-head: var(--tm-font);
  --font-body: var(--tm-font);
  --r: 6px;
  --r-lg: 4px;
  --shadow-sm: 0 1px 0 rgba(11, 31, 58, 0.06);
  --shadow-md: var(--tm-shadow);
}

html:has(body.theme-team) { overflow-x: clip; }
body.theme-team { overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--tm-font); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.theme-team ::selection { background: var(--tm-volt); color: var(--tm-navy); }

/* ---- Type: Archivo, wide and heavy for the headlines, plain width for everything people read ---- */
.theme-team h1, .theme-team h2, .theme-team h3 { font-family: var(--tm-font); font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.theme-team h4, .theme-team h5, .theme-team h6 { font-family: var(--tm-font); font-stretch: 100%; font-weight: 700; letter-spacing: 0; }
.theme-team p { text-wrap: pretty; }
/* :where() keeps these as weak as a bare `a`, so a button's own colours still win over the link colours. */
:where(.theme-team) a { text-underline-offset: 0.16em; }
:where(.theme-team) a:hover { color: var(--tm-navy); }
.theme-team .pp-section-title { font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.theme-team .pp-section-sub { color: var(--text-muted); font-size: 1.125rem; }
.theme-team .pp-section-header { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
.theme-team .pp-section-header .pp-section-sub { margin-left: 0; margin-right: 0; }
.theme-team .pp-pkg-name, .theme-team .pp-pillar h3, .theme-team .pp-dest-name { font-weight: 800; }
.theme-team .pp-pkg-price .pp-charm, .theme-team .pp-price-amount .pp-amount, .theme-team .tc-price strong { font-family: var(--tm-font); font-stretch: 125%; font-weight: 800; }

/* Labels are the body face, a step smaller, sentence case, untracked: no capitals, no spaced-out small print.
   The classic stylesheets set these as tracked capitals; this puts every one of them back to plain text. */
.theme-team :is(
  .bp-tier-flag, .bp-title, .pp-aud, .pp-benefit-divider, .pp-booking-table thead th, .pp-booking-title, .pp-booking-total-label,
  .pp-card-light-badge, .pp-confirmed-badge, .pp-cover-padel, .pp-dash-label, .pp-dd-menu .pp-dd-soon, .pp-dest-badge, .pp-duration-chip,
  .pp-exp-note, .pp-footer-col h5, .pp-format-badge, .pp-format-departure span, .pp-format-pill, .pp-gate-tag, .pp-gates-title,
  .pp-hero-pill, .pp-hero-ref strong, .pp-kit-facts dt, .pp-kit-poster-label, .pp-nav .dropdown-header, .pp-nav .nav-link,
  .pp-partnership-col-title, .pp-person-intro .pp-facts span, .pp-person-intro .pp-person-bio, .pp-person-intro .pp-person-intro-title,
  .pp-pkg-day-badge, .pp-pkg-price .pp-off, .pp-place-badge, .pp-place-contact-list strong, .pp-preview-label, .pp-price-amount .pp-label,
  .pp-recap-cell dt, .pp-recap-kicker, .pp-referral-code code, .pp-role-title, .pp-search-field label, .pp-stat-label, .pp-status-pill,
  .pp-sum-tag, .pp-table th, .pp-tier-badge, .pp-tier-tags span, .pp-wallet-label, .tc-chip, .tc-flag, .tc-price strong,
  .tr-date b, .tr-date em, .tr-price strong, .pp-club-badge, .pp-overline, .pp-step-label, .pp-trip-destination-tag
) { text-transform: none; letter-spacing: 0; }
.theme-team .pp-overline { color: var(--text-muted); font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.theme-team .pp-overline--light { color: var(--tm-white); }
.theme-team .pp-hero-pill { background: var(--tm-volt); border: 0; border-radius: 3px; padding: 4px 12px; color: var(--tm-navy); font-size: 0.95rem; font-weight: 700; }

/* ---- Buttons: the call to action is ball yellow with navy ink and a navy edge; the primary is solid navy ---- */
.theme-team .btn { border-radius: var(--r); font-weight: 700; letter-spacing: 0; transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.theme-team .btn-lg { padding: 0.9rem 1.8rem; font-size: 1.05rem; }
.theme-team .btn-primary { background-color: var(--tm-navy); border-color: var(--tm-navy); color: var(--tm-white); }
.theme-team .btn-primary:hover, .theme-team .btn-primary:focus, .theme-team .btn-primary:not(:disabled):not(.disabled):active { background-color: var(--tm-navy-2); border-color: var(--tm-navy-2); color: var(--tm-white); }
.theme-team .btn-outline-primary { color: var(--tm-navy); border: 2px solid var(--tm-navy); }
.theme-team .btn-outline-primary:hover, .theme-team .btn-outline-primary:focus { background-color: var(--tm-navy); border-color: var(--tm-navy); color: var(--tm-white); }
.theme-team .btn-accent { background: var(--tm-volt); border: 2px solid var(--tm-navy); color: var(--tm-navy); font-weight: 700; }
.theme-team .btn-accent.btn-lg { border-width: 3px; }
.theme-team .btn-accent:hover, .theme-team .btn-accent:focus, .theme-team .btn-accent:active { background: var(--tm-volt); border-color: var(--tm-navy); color: var(--tm-navy); box-shadow: none; transform: translateY(-2px); }
.theme-team .btn-outline-light { border-width: 2px; font-weight: 700; }

/* ---- Focus: one ring, blue on light and yellow on navy, appearing at once ---- */
.theme-team :focus-visible { outline: 3px solid var(--tm-blue); outline-offset: 2px; }
.theme-team .pp-footer :focus-visible { outline-color: var(--tm-volt); }

/* ---- Forms: plain fields with a border you can see ---- */
.theme-team .form-control, .theme-team .custom-select, .theme-team .input-group-text { border-radius: var(--r); border: 2px solid var(--tm-field); color: var(--tm-navy); }
.theme-team .form-control:focus, .theme-team .custom-select:focus { border-color: var(--tm-blue); box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--tm-blue) 25%, transparent); }

/* ---- Header: a solid white bar with a navy rule under it, over every page including the ones with a photograph ---- */
.theme-team .pp-nav, .theme-team .pp-nav.scrolled, body.has-hero.theme-team .pp-nav:not(.scrolled), body.theme-team:not(.has-hero) .pp-nav { background: var(--tm-white); backdrop-filter: none; box-shadow: none; border-bottom: 1px solid var(--tm-rule); padding-top: 0.9rem; padding-bottom: 0.9rem; }
.theme-team .pp-nav .navbar-brand img, body.has-hero.theme-team .pp-nav:not(.scrolled) .navbar-brand img { filter: brightness(0); }
.theme-team .pp-nav .nav-link, body.has-hero.theme-team .pp-nav:not(.scrolled) .nav-link { font-size: 1rem; font-weight: 600; color: var(--tm-navy); }
.theme-team .pp-nav .nav-link:hover, body.has-hero.theme-team .pp-nav:not(.scrolled) .nav-link:hover { color: var(--tm-blue); }
/* The header is white here even over a hero: the small arrow of the Destinations / Experiences menus must be dark too (site-theme.css makes it white on a hero, so it vanished and left a gap). */
.theme-team .pp-nav .pp-dd-toggle, body.has-hero.theme-team .pp-nav:not(.scrolled) .pp-dd-toggle { color: var(--tm-navy); }
body.has-hero.theme-team .pp-nav:not(.scrolled) .navbar-toggler-icon { filter: none; }
body.has-hero.theme-team .pp-nav:not(.scrolled) .navbar-collapse.show { background: var(--tm-white); border-radius: 0; padding: 0.5rem 0; margin-top: 0.5rem; }
.theme-team .pp-dd-menu, .theme-team .dropdown-menu { border-radius: var(--r); border: 2px solid var(--tm-navy); box-shadow: var(--tm-shadow); }
.theme-team .dropdown-item:hover, .theme-team .dropdown-item:focus { background: var(--tm-mist); color: var(--tm-navy); }
/* On a phone the header and its open menu are white: the Destinations / Experiences items must be navy (site-theme.css makes them white over a hero, and the lime "All ..." link and "Coming soon" badge vanish on white). */
@media (max-width: 1199.98px) {
  .theme-team .pp-nav-dropdown .pp-dd-menu { border: 0; border-left: 2px solid var(--tm-rule); border-radius: 0; margin: 0 0 6px 12px; padding: 2px 0 2px 8px; width: auto; flex: 1 0 100%; }
  .theme-team .pp-nav-dropdown .pp-dd-menu .dropdown-item, body.has-hero.theme-team .pp-nav:not(.scrolled) .pp-dd-menu .dropdown-item { color: var(--tm-navy); font-size: 1rem; white-space: normal; }
  .theme-team .pp-nav-dropdown .pp-dd-menu .pp-dd-all, body.has-hero.theme-team .pp-nav:not(.scrolled) .pp-dd-menu .pp-dd-all { color: var(--tm-blue); border-top: 0; margin-top: 0; padding-top: 9px; }
  .theme-team .pp-dd-menu .pp-dd-soon { background: var(--tm-navy); border-color: var(--tm-navy); color: var(--tm-white); }
}

/* ---- Heroes: the photograph in full colour on the right, a navy fade from the left under the words, set low ---- */
.theme-team .pp-hero { align-items: flex-end; justify-content: flex-start; padding: 128px max(16px, calc((100% - 1140px) / 2 + 16px)) 56px; }
.theme-team .pp-hero::before { background: linear-gradient(90deg, color-mix(in srgb, var(--tm-navy) 72%, transparent) 0%, color-mix(in srgb, var(--tm-navy) 58%, transparent) 38%, color-mix(in srgb, var(--tm-navy) 22%, transparent) 68%, transparent 100%); }
.theme-team .pp-hero > .container { flex: 0 1 700px; width: auto; max-width: 700px; margin: 0; padding: 0; }
.theme-team .pp-hero-title { font-family: var(--tm-font); font-stretch: 125%; font-weight: 800; font-size: clamp(2.1rem, 4.8vw, 3.75rem); line-height: 1.04; letter-spacing: -0.02em; color: var(--tm-white); max-width: none; }
.theme-team .pp-hero-title em { font-style: normal; }
.theme-team .pp-hero-sub { color: var(--tm-white); font-size: 1.2rem; }
.theme-team .pp-hero :focus-visible { outline-color: var(--tm-volt); }
@media (max-width: 767px) { .theme-team .pp-hero::before { background: color-mix(in srgb, var(--tm-navy) 60%, transparent); } }

/* ---- Cards and surfaces: square-ish corners, a hairline, a navy edge where something is a scoreboard ---- */
.theme-team .pp-pkg-card, .theme-team .pp-card-light, .theme-team .pp-benefit-card { border-color: var(--tm-rule); }
.theme-team .pp-dest-badge, .theme-team .tc-chip { border-radius: 3px; }
.theme-team .pp-hero-search { margin-top: -48px; }

/* ---- Footer: the navy band with a yellow edge ---- */
.theme-team .pp-footer { background: var(--tm-navy); border-top: 6px solid var(--tm-volt); color: var(--tm-on-navy-muted); }
.theme-team .pp-footer a { color: var(--tm-on-navy-muted); }
.theme-team .pp-footer a:hover { color: var(--tm-white); }
.theme-team .pp-footer-col h5 { color: var(--tm-white); font-size: 1.05rem; font-weight: 700; }

/* ---- Separators: the page header is a tinted band over a thin rule, and each following section starts on one, every second one tinted ---- */
.theme-team .pp-flow-head:not(.pp-flow-head--photo) { background: var(--tm-mist); border-bottom: 1px solid var(--tm-rule); }
.theme-team .pp-section + .pp-section { border-top: 1px solid var(--tm-rule); }
.theme-team .pp-section:nth-of-type(even):not(.pp-section--flow) { background: var(--tm-mist); }
/* the editorial pages (about, destinations) are built of blocks: the shared "surface" and "bg" are both white here, so the surface ones are tinted */
.theme-team .pp-block + .pp-block, .theme-team .pp-hero + .pp-block { border-top: 1px solid var(--tm-rule); }
.theme-team .pp-block--surface { background: var(--tm-mist); }

/* ---- Key dates: two kinds of bar, told apart (the shared tokens point both at the yellow) ---- */
.theme-team .pp-timeline-h-seg--collecting { background: var(--tm-blue); opacity: 1; }
.theme-team .pp-timeline-h-seg--trip { background: var(--tm-volt); box-shadow: inset 0 0 0 2px var(--tm-navy); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .theme-team *, .theme-team *::before, .theme-team *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
