:root {
  --wtr-team-navy: #07111f;
  --wtr-team-navy-2: #0b1c31;
  --wtr-team-cyan: #93f2ff;
  --wtr-team-orange: #d98b36;
  --wtr-team-muted: rgba(255,255,255,.72);
  --wtr-team-line: rgba(255,255,255,.14);
}

.wtr-team-directory { margin: 2rem auto 4rem; max-width: 1240px; }
.wtr-team-directory--enhanced { color: #fff; }
.wtr-team-directory__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 15%, rgba(147,242,255,.16), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0b1c31 58%, #111827 100%);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(7,17,31,.28);
}
.wtr-team-directory__hero:after {
  content: "";
  position: absolute;
  inset: auto -12% -35% 35%;
  height: 220px;
  transform: rotate(-7deg);
  background: linear-gradient(90deg, transparent, rgba(147,242,255,.14), transparent);
  pointer-events: none;
}
.wtr-team-directory__hero-copy { position: relative; z-index: 1; }
.wtr-team-directory__eyebrow {
  margin: 0 0 .9rem;
  color: var(--wtr-team-cyan);
  font-size: .78rem;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
}
.wtr-team-directory__hero h1 {
  margin: 0;
  color: #fff;
  max-width: 900px;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: .86;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.wtr-team-directory__hero p:not(.wtr-team-directory__eyebrow) {
  max-width: 620px;
  margin: 1.15rem 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}
.wtr-team-directory__stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .85rem;
  align-content: center;
}
.wtr-team-directory__stats div {
  border: 1px solid var(--wtr-team-line);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(10px);
}
.wtr-team-directory__stats strong {
  display: block;
  color: var(--wtr-team-cyan);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: .9;
  letter-spacing: -.04em;
}
.wtr-team-directory__stats span {
  display: block;
  margin-top: .35rem;
  color: var(--wtr-team-muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 800;
}

.wtr-team-directory__controls {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr auto;
  gap: .8rem;
  align-items: end;
  margin: 1.25rem 0 .8rem;
  padding: 1rem;
  border: 1px solid rgba(7,17,31,.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7,17,31,.08);
  color: #07111f;
}
.wtr-team-directory__controls label { display: grid; gap: .35rem; margin: 0; }
.wtr-team-directory__controls span {
  font-size: .72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  color: rgba(7,17,31,.64);
}
.wtr-team-directory__controls input,
.wtr-team-directory__controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(7,17,31,.16);
  border-radius: 999px;
  padding: 0 .95rem;
  background: #f7fafc;
  color: #07111f;
}
.wtr-team-directory__controls button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 1rem;
  background: #07111f;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
}
.wtr-team-directory__count {
  margin: 0 0 1rem;
  color: rgba(7,17,31,.62);
  font-weight: 700;
}

.wtr-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.wtr-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #07111f;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 52px rgba(7,17,31,.22);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wtr-team-card:hover { transform: translateY(-3px); box-shadow: 0 24px 70px rgba(7,17,31,.3); border-color: rgba(147,242,255,.34); }
.wtr-team-card[hidden] { display: none !important; }
.wtr-team-card__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; height: 100%; }
.wtr-team-card__media {
  position: relative;
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 20% 20%, rgba(147,242,255,.22), transparent 36%),
    linear-gradient(135deg, #102d48, #07111f 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wtr-team-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wtr-team-card__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.84);
  letter-spacing: .18em;
  font-size: .82rem;
  font-weight: 900;
}
.wtr-team-card__badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  display: flex;
  gap: .4rem;
}
.wtr-team-card__badge span,
.wtr-team-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: .22rem .58rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: .7rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 850;
  backdrop-filter: blur(8px);
}
.wtr-team-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem; }

.wtr-country-flags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .28rem;
}
.wtr-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 .22rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 1rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.wtr-country-flags--profile .wtr-country-flag,
.wtr-country-flags--card .wtr-country-flag {
  background: rgba(255,255,255,.1);
}
.wtr-country-flag img {
  width: 24px;
  height: 18px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
}
.wtr-country-flag--text {
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.wtr-team-card__meta { display: flex; flex-wrap: wrap; gap: .42rem; margin-bottom: .85rem; }
.wtr-team-card h3 { margin: 0 0 .6rem; color: #fff; font-size: clamp(1.24rem, 2vw, 1.55rem); line-height: 1.03; letter-spacing: -.03em; }
.wtr-team-card p { margin: .35rem 0; color: rgba(255,255,255,.74); }
.wtr-team-card__rowers { font-size: .95rem; line-height: 1.45; }
.wtr-team-card__boat { font-size: .85rem; line-height: 1.35; color: rgba(255,255,255,.58) !important; }
.wtr-team-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.wtr-team-card__footer strong { color: var(--wtr-team-cyan); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.wtr-team-card__socials {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: 0 1.15rem 1.15rem;
}
.wtr-team-card__socials a {
  color: rgba(255,255,255,.76);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .32rem .55rem;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.wtr-no-teams { padding: 1.25rem; border-radius: 18px; background: #fff; color: #07111f; }

.wtr-team-profile { max-width: 1180px; margin: 0 auto 4rem; color: #07111f; }
.wtr-team-profile__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 2rem;
  align-items: center;
  background:
    radial-gradient(circle at 16% 18%, rgba(147,242,255,.16), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0b1c31 66%, #111827 100%);
  color: #fff;
  border-radius: 30px;
  padding: clamp(1.5rem, 4vw, 3rem);
  margin: 2rem 0 1.5rem;
  box-shadow: 0 28px 80px rgba(7,17,31,.28);
}
.wtr-team-profile__eyebrow { text-transform: uppercase; letter-spacing: .18em; color: var(--wtr-team-cyan); margin: 0 0 .8rem; font-weight: 800; }
.wtr-team-profile__hero h1 { color: #fff; margin: 0 0 1rem; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.wtr-team-profile__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.wtr-team-profile__chips span { background: rgba(255,255,255,.09); }
.wtr-team-profile__image { aspect-ratio: 4/3; background: linear-gradient(135deg, #102d48, #07111f); border-radius: 22px; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 240px; }
.wtr-team-profile__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wtr-team-profile__image span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .8rem 1.1rem; letter-spacing: .15em; }
.wtr-team-profile__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.wtr-team-profile__panel { border: 1px solid rgba(7,17,31,.1); border-radius: 20px; padding: 1.25rem; background: #fff; box-shadow: 0 14px 38px rgba(7,17,31,.07); }
.wtr-team-profile__panel h2, .wtr-team-profile__rowers h2 { margin-top: 0; color: #07111f; }
.wtr-team-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.wtr-team-links a { display: inline-flex; border-radius: 999px; padding: .55rem .8rem; background: #07111f; color: #fff; text-decoration: none; font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.wtr-team-profile__rowers { margin-top: 1.25rem; }
.wtr-rower-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.wtr-rower-card { display: flex; align-items: center; gap: .85rem; border: 1px solid rgba(7,17,31,.1); border-radius: 18px; padding: 1rem; background: #fff; box-shadow: 0 14px 38px rgba(7,17,31,.07); }
.wtr-rower-card__avatar { width: 50px; height: 50px; border-radius: 999px; background: #07111f; color: var(--wtr-team-cyan); display: flex; align-items: center; justify-content: center; font-weight: 900; }
.wtr-rower-card h3 { margin: 0 0 .2rem; color: #07111f; }
.wtr-rower-card p { margin: 0; color: rgba(7,17,31,.62); }

@media (max-width: 1024px) {
  .wtr-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wtr-team-directory__controls { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wtr-team-directory__hero, .wtr-team-profile__hero, .wtr-team-profile__details, .wtr-rower-list, .wtr-team-grid { grid-template-columns: 1fr; }
  .wtr-team-directory__controls { grid-template-columns: 1fr; }
  .wtr-team-directory__hero h1, .wtr-team-profile__hero h1 { font-size: clamp(2.2rem, 17vw, 4.2rem); }
}

.wtr-team-card__rower-list {
  list-style: none;
  margin: .35rem 0 .65rem;
  padding: 0;
  display: grid;
  gap: .26rem;
}
.wtr-team-card__rower-list li,
.wtr-rower-list-lines li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  line-height: 1.32;
}
.wtr-country-flag--rower {
  flex: 0 0 auto;
  min-width: 26px;
  min-height: 24px;
  padding: 0;
  background: rgba(255,255,255,.1);
}
.wtr-rower-card h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.wtr-rower-card h3 .wtr-country-flag {
  background: rgba(7,17,31,.08);
  border-color: rgba(7,17,31,.14);
}


/* v0.3.6 - smaller, sharper rower flags and names */
.wtr-team-card__rower-list {
  gap: .18rem;
  margin: .28rem 0 .58rem;
}
.wtr-team-card__rower-list li {
  font-size: .84rem;
  line-height: 1.22;
  gap: .38rem;
  letter-spacing: .01em;
}
.wtr-country-flag,
.wtr-country-flag--rower {
  min-width: 22px;
  min-height: 18px;
  padding: 1px 2px;
}
.wtr-country-flag img,
.wtr-country-flag--rower img {
  width: 18px;
  height: 13px;
  border-radius: 2px;
}
.wtr-rower-card h3 {
  font-size: 1rem;
  gap: .42rem;
}


/* v0.3.7 - cleaner flags and smaller team titles */
.wtr-team-card h3 {
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}
.wtr-country-flag,
.wtr-country-flag--rower,
.wtr-rower-card h3 .wtr-country-flag {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-width: 20px;
  min-height: 15px;
  padding: 0;
}
.wtr-country-flag img,
.wtr-country-flag--rower img {
  width: 18px;
  height: 13px;
  border-radius: 1px;
}


/* v0.3.8 - straight, text-height flags */
.wtr-country-flag,
.wtr-country-flag--rower,
.wtr-rower-card h3 .wtr-country-flag {
  min-width: 16px !important;
  min-height: 12px !important;
  width: 16px !important;
  height: 12px !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.wtr-country-flag img,
.wtr-country-flag--rower img {
  width: 16px !important;
  height: 12px !important;
  border-radius: 0 !important;
}
.wtr-team-card__rower-list li {
  gap: .34rem;
}


/* v0.3.9 - preserve full flag proportions */
.wtr-country-flag,
.wtr-country-flag--rower,
.wtr-rower-card h3 .wtr-country-flag {
  width: 18px !important;
  height: 13px !important;
  min-width: 18px !important;
  min-height: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}
.wtr-country-flag img,
.wtr-country-flag--rower img {
  width: auto !important;
  height: auto !important;
  max-width: 18px !important;
  max-height: 13px !important;
  object-fit: contain !important;
  display: block !important;
}

/* v0.4.0 - social icons and gender filter */
.wtr-team-directory__controls {
  grid-template-columns: 1.3fr .68fr .68fr .78fr auto;
}
.wtr-team-card__socials--icons {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .46rem;
}
.wtr-team-card__socials--icons a {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.wtr-team-card__socials--icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}
.wtr-team-card__socials--profile {
  padding: 0;
}
@media (max-width: 1024px) {
  .wtr-team-directory__controls {
    grid-template-columns: 1fr 1fr;
  }
}

/* v0.4.8 - explicit two-slot nationality layout */
.wtr-team-card .wtr-team-card__rower-list li {
  display: grid !important;
  grid-template-columns: 28px 28px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 4px !important;
}
.wtr-rower-flag-slot {
  width: 28px !important;
  height: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}
.wtr-rower-flag-slot .wtr-country-flag {
  width: 18px !important;
  min-width: 18px !important;
  height: 13px !important;
  min-height: 13px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.wtr-rower-flag-slot .wtr-country-flag img {
  width: auto !important;
  height: auto !important;
  max-width: 18px !important;
  max-height: 13px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}
.wtr-rower-name {
  grid-column: 3 !important;
  display: block !important;
  min-width: 0 !important;
}
.wtr-rower-card h3 {
  display: grid !important;
  grid-template-columns: 28px 28px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 4px !important;
}

/* v0.4.9 - use simple layout unless a team has dual-nationality rowers */
.wtr-team-card__rower-list.wtr-rower-list--single li {
  display: flex !important;
  align-items: center !important;
  gap: .38rem !important;
}
.wtr-team-card__rower-list.wtr-rower-list--single .wtr-rower-flag-slot--one {
  display: none !important;
}
.wtr-team-card__rower-list.wtr-rower-list--single .wtr-rower-flag-slot--two {
  width: 18px !important;
  height: 13px !important;
  min-width: 18px !important;
}
.wtr-team-card__rower-list.wtr-rower-list--single .wtr-rower-name {
  grid-column: auto !important;
  padding-left: 0 !important;
}
.wtr-team-card__rower-list.wtr-rower-list--dual li {
  display: grid !important;
  grid-template-columns: 18px 18px minmax(0, 1fr) !important;
  column-gap: 2px !important;
  align-items: center !important;
}
.wtr-team-card__rower-list.wtr-rower-list--dual .wtr-rower-name {
  grid-column: 3 !important;
  padding-left: .35rem !important;
}
.wtr-team-card__rower-list.wtr-rower-list--dual .wtr-rower-flag-slot {
  width: 18px !important;
  height: 13px !important;
}


/* v0.5.0 - card footer no longer repeats the race/year on race-specific pages */
.wtr-team-card__footer span:empty { display: none; }
.wtr-team-card__footer { justify-content: flex-end; }
.wtr-team-card__boat {
  text-transform: none;
}


/* v0.5.2 - clearer public boat make/model display on cards */
.wtr-team-card__boat-spec {
  display: grid;
  gap: .28rem;
  margin: .72rem 0 .45rem;
  padding: .62rem .72rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.wtr-team-card__boat-spec-row {
  display: grid;
  grid-template-columns: minmax(82px, .46fr) minmax(0, 1fr);
  gap: .55rem;
  align-items: baseline;
  color: rgba(255,255,255,.72);
  font-size: .76rem;
  line-height: 1.22;
}
.wtr-team-card__boat-spec-row span {
  color: rgba(147,242,255,.72);
  font-size: .62rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 850;
}
.wtr-team-card__boat-spec-row strong {
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: .01em;
}


/* v0.5.3 - tighten boat make/model so long maker names fit on one line */
.wtr-team-card__boat-spec {
  padding: .52rem .62rem !important;
  gap: .22rem !important;
}
.wtr-team-card__boat-spec-row {
  grid-template-columns: 70px minmax(0, 1fr) !important;
  gap: .42rem !important;
  font-size: .68rem !important;
  line-height: 1.12 !important;
}
.wtr-team-card__boat-spec-row span {
  font-size: .54rem !important;
  letter-spacing: .09em !important;
}
.wtr-team-card__boat-spec-row strong {
  font-size: .68rem !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}


/* v0.5.4 - put social icons and View Team on one action row */
.wtr-team-card__link {
  height: auto !important;
  flex: 1 1 auto !important;
}
.wtr-team-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .82rem 1.15rem 1rem;
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: auto;
}
.wtr-team-card__actions .wtr-team-card__socials {
  padding: 0 !important;
  margin: 0 !important;
  gap: .34rem !important;
  flex-wrap: nowrap !important;
}
.wtr-team-card__actions .wtr-team-card__socials--icons a {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
}
.wtr-team-card__actions .wtr-team-card__socials--icons svg {
  width: 13px !important;
  height: 13px !important;
}
.wtr-team-card__view-link {
  flex: 0 0 auto;
  color: var(--wtr-team-cyan);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}
.wtr-team-card__view-link:hover {
  color: #fff;
}
.wtr-team-card__footer {
  display: none !important;
}


/* v0.5.5 - remove duplicate inner page title and use a compact stats strip */
.wtr-team-directory__summary {
  margin: 0 0 1rem;
}
.wtr-team-directory__summary .wtr-team-directory__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.wtr-team-directory__summary .wtr-team-directory__stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  min-height: auto;
  padding: .75rem .95rem;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.wtr-team-directory__summary .wtr-team-directory__stats strong {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: .9;
}
.wtr-team-directory__summary .wtr-team-directory__stats span {
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .14em;
}
@media (max-width: 760px) {
  .wtr-team-directory__summary .wtr-team-directory__stats {
    grid-template-columns: 1fr;
  }
}


/* v0.5.6 - make the entrants directory feel native to the dark look site */
.wtr-team-directory {
  max-width: none !important;
  width: min(1560px, calc(100vw - 7rem)) !important;
  margin-left: 50% !important;
  transform: translateX(-50%) !important;
}
.wtr-team-directory__summary .wtr-team-directory__stats div,
.wtr-team-card {
  background:
    radial-gradient(circle at 14% 0%, rgba(147,242,255,.08), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028)) !important;
  border-color: rgba(255,255,255,.12) !important;
}
.wtr-team-directory__controls {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}
.wtr-team-directory__controls label span {
  color: var(--wtr-team-cyan) !important;
}
.wtr-team-directory__controls input,
.wtr-team-directory__controls select {
  background: rgba(7,17,31,.72) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: #fff !important;
}
.wtr-team-directory__controls input::placeholder {
  color: rgba(255,255,255,.55) !important;
}
.wtr-team-directory__controls select option {
  color: #07111f;
}
.wtr-team-directory__controls button {
  background: #07111f !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
}
.wtr-team-directory__count {
  color: rgba(255,255,255,.58) !important;
}
@media (min-width: 1320px) {
  .wtr-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
  }
}
@media (max-width: 900px) {
  .wtr-team-directory {
    width: min(100% - 2rem, 760px) !important;
  }
}


/* v0.5.7 - remove the standard utility content card around the team directory */
.wtr-utility-content:has(.wtr-team-directory) {
  max-width: none !important;
  width: min(calc(100vw - 7rem), 1560px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.wtr-utility-content:has(.wtr-team-directory) .wtr-team-directory {
  width: 100% !important;
  max-width: 1560px !important;
  margin: 0 auto 4rem !important;
  transform: none !important;
}
@media (max-width: 900px) {
  .wtr-utility-content:has(.wtr-team-directory) {
    width: min(100% - 2rem, 760px) !important;
  }
}


/* v0.5.8 - wide dark look parent box around the whole entrants directory */
.wtr-utility-content:has(.wtr-team-directory) {
  max-width: none !important;
  width: min(calc(100vw - 7rem), 1560px) !important;
  padding: clamp(1.4rem, 2.8vw, 2.8rem) !important;
  border: 1px solid rgba(220,240,255,.16) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(147,242,255,.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.038)) !important;
  box-shadow: 0 34px 120px rgba(2,10,22,.28), inset 0 1px 0 rgba(255,255,255,.08) !important;
  border-radius: 30px !important;
}
.wtr-utility-content:has(.wtr-team-directory) .wtr-team-directory {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto 0 !important;
  transform: none !important;
}
.wtr-utility-content:has(.wtr-team-directory) .wtr-team-directory__summary {
  margin-top: 0 !important;
}
@media (max-width: 900px) {
  .wtr-utility-content:has(.wtr-team-directory) {
    width: min(100% - 2rem, 760px) !important;
    padding: 1rem !important;
    border-radius: 22px !important;
  }
}


/* v0.5.9 - tighten the utility hero spacing on pages containing the team directory */
body:has(.wtr-team-directory) .wtr-utility-hero.compact {
  min-height: 340px !important;
  padding: 118px 0 56px !important;
}
body:has(.wtr-team-directory) .wtr-utility-hero h1 {
  /* 0.7.0: the 820px limit made "Atlantic 2026 Teams" wrap on screens wider than
     about 1,700px, and the tight line height made wrapped lines touch on phones. */
  max-width: none !important;
  font-size: clamp(34px, 6.2vw, 104px) !important;
  line-height: .94 !important;
}
body:has(.wtr-team-directory) .wtr-utility-eyebrow {
  margin-bottom: 12px !important;
}
body:has(.wtr-team-directory) .wtr-utility-section {
  padding-top: clamp(38px, 5vw, 58px) !important;
}
@media (max-width: 760px) {
  body:has(.wtr-team-directory) .wtr-utility-hero.compact {
    min-height: 280px !important;
    padding: 98px 0 42px !important;
  }
  body:has(.wtr-team-directory) .wtr-utility-hero h1 {
    font-size: clamp(48px, 14vw, 72px) !important;
  }
}


/* v0.6.0 - improve filter controls so selects do not look disabled */
.wtr-team-directory__controls input,
.wtr-team-directory__controls select {
  background:
    linear-gradient(180deg, rgba(12,27,44,.96), rgba(6,17,30,.96)) !important;
  border: 1px solid rgba(147,242,255,.24) !important;
  color: rgba(255,255,255,.92) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(0,0,0,.12) !important;
}
.wtr-team-directory__controls select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image:
    linear-gradient(180deg, rgba(12,27,44,.96), rgba(6,17,30,.96)),
    url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%2393f2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: 0 0, right 1rem center !important;
  background-size: auto, 14px 9px !important;
  padding-right: 2.8rem !important;
}
.wtr-team-directory__controls input:focus,
.wtr-team-directory__controls select:focus {
  outline: none !important;
  border-color: rgba(147,242,255,.62) !important;
  box-shadow:
    0 0 0 3px rgba(147,242,255,.10),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}
.wtr-team-directory__controls select option {
  background: #07111f !important;
  color: #f4f8fb !important;
}
.wtr-team-directory__controls select option:checked {
  background: #163047 !important;
  color: #93f2ff !important;
}
.wtr-team-directory__controls select option:hover {
  background: #102539 !important;
  color: #fff !important;
}


/* v0.6.1 - alternative look page treatment for entrants directory */
body.wtr-look-alt-base:has(.wtr-team-directory),
body.wtr-look-alt:has(.wtr-team-directory) {
  background: #172c52 !important;
  color: #fff !important;
}
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-v23-header,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-v23-header {
  background: linear-gradient(180deg,#6d86b7 0%,#5b75a9 100%) !important;
  box-shadow: 0 18px 60px rgba(8,18,44,.18) !important;
}
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-v23-header::before,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-v23-header::before {
  background: #172851 !important;
}
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-v23-nav a,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-v23-nav a,
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-main-nav a,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-main-nav a {
  color: #f5f7ff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
}
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-utility-main,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-utility-main {
  background:
    radial-gradient(circle at 78% 10%, rgba(176,241,255,.10), transparent 30%),
    linear-gradient(180deg, #172c52 0%, #142342 72%, #172c52 100%) !important;
}
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-utility-hero.compact,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-utility-hero.compact {
  background:
    radial-gradient(circle at 75% 14%, rgba(176,241,255,.16), transparent 34%),
    linear-gradient(180deg, #172c52 0%, #142342 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-utility-eyebrow,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-utility-eyebrow {
  color: #aaf0f8 !important;
}
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-utility-hero h1,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-utility-hero h1 {
  color: #fff !important;
}

body.wtr-look-alt-base .wtr-utility-content:has(.wtr-team-directory),
body.wtr-look-alt .wtr-utility-content:has(.wtr-team-directory) {
  color: #fff !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(174,238,255,.10), transparent 34%),
    linear-gradient(145deg, rgba(12,27,57,.68), rgba(12,27,57,.38) 58%, rgba(112,176,210,.10)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow: 0 28px 85px rgba(5,13,30,.24), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

body.wtr-look-alt-base .wtr-team-directory__summary .wtr-team-directory__stats div,
body.wtr-look-alt .wtr-team-directory__summary .wtr-team-directory__stats div,
body.wtr-look-alt-base .wtr-team-card,
body.wtr-look-alt .wtr-team-card {
  background:
    radial-gradient(circle at 14% 0%, rgba(174,238,255,.09), transparent 34%),
    linear-gradient(180deg, rgba(12,27,57,.70), rgba(12,27,57,.42)) !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow: 0 22px 70px rgba(6,14,34,.24), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
body.wtr-look-alt-base .wtr-team-card h3,
body.wtr-look-alt .wtr-team-card h3,
body.wtr-look-alt-base .wtr-team-card__rower-list,
body.wtr-look-alt .wtr-team-card__rower-list,
body.wtr-look-alt-base .wtr-team-card__view-link,
body.wtr-look-alt .wtr-team-card__view-link {
  color: #fff !important;
}
body.wtr-look-alt-base .wtr-team-card__boat-spec,
body.wtr-look-alt .wtr-team-card__boat-spec,
body.wtr-look-alt-base .wtr-team-directory__controls,
body.wtr-look-alt .wtr-team-directory__controls {
  background: rgba(12,27,57,.54) !important;
  border-color: rgba(255,255,255,.16) !important;
}
body.wtr-look-alt-base .wtr-team-directory__count,
body.wtr-look-alt .wtr-team-directory__count {
  color: rgba(255,255,255,.72) !important;
}


/* v0.6.2 - smoother medium-width behaviour for team directory pages */
@media (min-width: 1320px) {
  body:has(.wtr-team-directory) .wtr-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1020px) and (max-width: 1319px) {
  body:has(.wtr-team-directory) .wtr-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 720px) and (max-width: 1019px) {
  body:has(.wtr-team-directory) .wtr-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body:has(.wtr-team-directory) .wtr-utility-content:has(.wtr-team-directory) {
    width: min(calc(100vw - 2.5rem), 920px) !important;
  }
}
@media (max-width: 719px) {
  body:has(.wtr-team-directory) .wtr-team-grid {
    grid-template-columns: 1fr !important;
  }
}






/* Pull the grid into 2 columns earlier for narrow desktop windows */
@media (min-width: 560px) and (max-width: 1019px) {
  body:has(.wtr-team-directory) .wtr-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body:has(.wtr-team-directory) .wtr-utility-content:has(.wtr-team-directory) {
    width: min(calc(100vw - 2rem), 920px) !important;
  }
}
@media (max-width: 559px) {
  body:has(.wtr-team-directory) .wtr-team-grid {
    grid-template-columns: 1fr !important;
  }
}




/* v0.6.5 - Individual team profile pages */
.wtr-team-single-page {
  background:
    radial-gradient(circle at 12% 4%, rgba(147, 242, 255, .16), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(37, 99, 235, .18), transparent 34%),
    linear-gradient(180deg, #061426 0%, #07111f 58%, #050b13 100%);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 3.5rem) 1rem clamp(3rem, 7vw, 6rem);
}
.wtr-team-single-main {
  background: #061426;
  min-height: 70vh;
}
.wtr-team-single-main > .wtr-team-single-page:first-child {
  margin-top: 0;
}
.wtr-team-profile {
  max-width: 1180px;
  margin: 0 auto;
  color: #fff;
}
.wtr-team-profile__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(7,17,31,.92), rgba(9,30,52,.84)),
    radial-gradient(circle at 14% 18%, rgba(147,242,255,.2), transparent 38%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 32px;
  padding: clamp(1.25rem, 3.5vw, 3rem);
  margin: 0 0 1.25rem;
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
  overflow: hidden;
  position: relative;
}
.wtr-team-profile__hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% 28%;
  height: 55%;
  background: radial-gradient(circle, rgba(147,242,255,.15), transparent 66%);
  pointer-events: none;
}
.wtr-team-profile__hero-copy,
.wtr-team-profile__image {
  position: relative;
  z-index: 1;
}
.wtr-team-profile__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.wtr-team-profile__back {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1.1rem;
  color: rgba(255,255,255,.76);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.wtr-team-profile__back::before {
  content: "‹";
  margin-right: .45rem;
  color: var(--wtr-team-cyan);
  font-size: 1rem;
  line-height: .9;
}
.wtr-team-profile__back:hover {
  color: #fff;
}
.wtr-team-profile__eyebrow,
.wtr-team-profile__section-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--wtr-team-cyan);
  margin: 0 0 .7rem;
  font-weight: 900;
  font-size: .78rem;
}
.wtr-team-profile__hero h1 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 7vw, 6.4rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.wtr-team-profile__intro {
  margin: 0 0 1.2rem;
  max-width: 62ch;
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.55;
}
.wtr-team-profile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}
.wtr-team-profile__chips > span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 999px;
  padding: .55rem .75rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.wtr-team-profile__country-chip {
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.wtr-team-profile__flags {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}
.wtr-team-profile__image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #102d48, #07111f);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 250px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.wtr-team-profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wtr-team-profile__image span {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: .8rem 1.1rem;
  letter-spacing: .15em;
  color: #fff;
}
.wtr-team-profile__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.wtr-team-profile__panel,
.wtr-team-profile__about-inner,
.wtr-rower-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}
.wtr-team-profile__panel {
  padding: 1.25rem;
}
.wtr-team-profile__panel h2,
.wtr-team-profile__rowers h2,
.wtr-team-profile__about h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -.035em;
}
.wtr-team-profile__fact-list {
  display: grid;
  gap: .65rem;
  margin: 0;
}
.wtr-team-profile__fact-list div {
  display: grid;
  grid-template-columns: minmax(88px, .7fr) minmax(0, 1fr);
  gap: .8rem;
  align-items: baseline;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: .65rem;
}
.wtr-team-profile__fact-list div:first-child {
  border-top: 0;
  padding-top: 0;
}
.wtr-team-profile__fact-list dt {
  color: rgba(147,242,255,.82);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wtr-team-profile__fact-list dd {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-weight: 800;
  line-height: 1.35;
}
.wtr-team-profile__panel--follow p {
  color: rgba(255,255,255,.72);
  margin: 0;
}
.wtr-team-profile__panel--follow .wtr-team-card__socials {
  padding: 0;
}
.wtr-team-profile__panel--follow .wtr-team-card__socials--icons a,
.wtr-team-card__socials--profile a {
  background: rgba(147,242,255,.1);
  border-color: rgba(147,242,255,.25);
  color: #fff;
}
.wtr-team-profile__rowers {
  max-width: 1180px;
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
}
.wtr-team-profile__section-heading {
  margin-bottom: 1rem;
}
.wtr-rower-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.wtr-rower-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
  color: #fff;
}
.wtr-rower-card__avatar {
  flex: 0 0 auto;
  width: 76px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(147,242,255,.08);
  color: var(--wtr-team-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 1px solid rgba(147,242,255,.22);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}
.wtr-rower-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wtr-rower-card__avatar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.wtr-rower-card h3 {
  display: flex;
  align-items: center;
  gap: .42rem;
  flex-wrap: wrap;
  margin: 0 0 .22rem;
  color: #fff;
  font-size: 1rem;
}
.wtr-rower-card p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: .9rem;
}
.wtr-team-profile__about {
  max-width: 1180px;
  margin: 1.25rem auto 0;
}
.wtr-team-profile__about-inner {
  padding: clamp(1.35rem, 3vw, 2.25rem);
}
.wtr-team-profile__content {
  color: rgba(255,255,255,.82);
  font-size: 1.03rem;
  line-height: 1.75;
  max-width: 82ch;
}
.wtr-team-profile__content > *:first-child {
  margin-top: 0;
}
.wtr-team-profile__content > *:last-child {
  margin-bottom: 0;
}
.wtr-team-profile__content h2,
.wtr-team-profile__content h3,
.wtr-team-profile__content h4 {
  color: #fff;
  letter-spacing: -.03em;
}
.wtr-team-profile__content a {
  color: var(--wtr-team-cyan);
}

@media (max-width: 980px) {
  .wtr-team-profile__hero,
  .wtr-team-profile__details {
    grid-template-columns: 1fr;
  }
  .wtr-rower-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .wtr-team-single-page {
    padding-left: .85rem;
    padding-right: .85rem;
  }
  .wtr-team-profile__hero {
    border-radius: 24px;
  }
  .wtr-team-profile__image {
    min-height: 210px;
  }
  .wtr-rower-list {
    grid-template-columns: 1fr;
  }
  .wtr-team-profile__fact-list div {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
}

/* v0.6.6 - Microsite-style expansion */
.wtr-team-profile__quick-stats {
  max-width: 1180px;
  margin: 0 auto 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.wtr-team-profile__quick-stats div,
.wtr-team-profile__hub {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}
.wtr-team-profile__quick-stats div {
  min-width: 0;
  padding: 1rem;
}
.wtr-team-profile__quick-stats span {
  display: block;
  color: rgba(147,242,255,.82);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.wtr-team-profile__quick-stats strong {
  display: block;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.wtr-team-profile__quick-stats em {
  display: block;
  margin-top: .35rem;
  color: rgba(255,255,255,.58);
  font-style: normal;
  font-size: .82rem;
  line-height: 1.3;
}
.wtr-team-profile__hub {
  max-width: 1180px;
  margin: 1.25rem auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 1.25rem;
  align-items: center;
}
.wtr-team-profile__hub h2 {
  margin: 0 0 .6rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.wtr-team-profile__hub p:not(.wtr-team-profile__section-kicker) {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  max-width: 70ch;
}
.wtr-team-profile__hub-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
}
.wtr-team-profile__hub-actions .wtr-team-card__socials {
  padding: 0;
}
.wtr-team-card__socials--hub {
  gap: .5rem;
}
.wtr-team-profile__hub-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: .65rem 1rem;
  background: rgba(147,242,255,.12);
  border: 1px solid rgba(147,242,255,.25);
  color: #fff;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wtr-team-profile__hub-link:hover {
  background: rgba(147,242,255,.2);
}
.wtr-rower-card__label {
  color: rgba(147,242,255,.78) !important;
  font-size: .68rem !important;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .2rem !important;
}
.wtr-team-card__socials--icons a[aria-label="Charity"] {
  background: rgba(255,255,255,.12);
}

@media (max-width: 1080px) {
  .wtr-team-profile__quick-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .wtr-team-profile__hub {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .wtr-team-profile__quick-stats {
    grid-template-columns: 1fr;
  }
}


/* v0.6.8 - Route and charity microsite sections */
.wtr-team-profile__route,
.wtr-team-profile__charities {
  max-width: 1180px;
  margin: 1.25rem auto;
}
.wtr-team-profile__route-grid,
.wtr-team-profile__charity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.wtr-team-profile__charity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wtr-team-profile__route-grid article,
.wtr-team-profile__charity-card,
.wtr-team-profile__empty-panel {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  color: #fff;
}
.wtr-team-profile__route-grid span {
  display: block;
  color: rgba(147,242,255,.82);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .55rem;
}
.wtr-team-profile__route-grid h3,
.wtr-team-profile__charity-card h3 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.wtr-team-profile__route-grid p,
.wtr-team-profile__empty-panel p,
.wtr-team-profile__charity-card p {
  margin: 0;
  color: rgba(255,255,255,.68);
}
.wtr-team-profile__route-grid code {
  display: inline-flex;
  margin-top: .75rem;
  border: 1px solid rgba(147,242,255,.18);
  background: rgba(0,0,0,.2);
  color: rgba(255,255,255,.86);
  border-radius: 999px;
  padding: .42rem .65rem;
  font-size: .78rem;
  white-space: normal;
}
.wtr-team-profile__charity-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .5rem;
  min-height: 38px;
  border-radius: 999px;
  padding: .55rem .85rem;
  background: rgba(147,242,255,.12);
  border: 1px solid rgba(147,242,255,.25);
  color: #fff;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wtr-team-profile__charity-card a:hover {
  background: rgba(147,242,255,.2);
}

@media (max-width: 900px) {
  .wtr-team-profile__charity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .wtr-team-profile__route-grid,
  .wtr-team-profile__charity-grid {
    grid-template-columns: 1fr;
  }
}

/* v0.6.9 - Fuller team microsite sections */
.wtr-team-profile__status,
.wtr-team-profile__records,
.wtr-team-profile__media,
.wtr-team-profile__gallery,
.wtr-team-profile__faq,
.wtr-team-profile__share {
  max-width: 1180px;
  margin: 1.25rem auto;
}
.wtr-team-profile__status-grid,
.wtr-team-profile__record-grid,
.wtr-team-profile__gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.wtr-team-profile__status-grid article,
.wtr-team-profile__record-card,
.wtr-team-profile__media-panel,
.wtr-team-profile__faq-list details,
.wtr-team-profile__share,
.wtr-team-profile__gallery-grid figure {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
  color: #fff;
}
.wtr-team-profile__status-grid article,
.wtr-team-profile__record-card,
.wtr-team-profile__media-panel,
.wtr-team-profile__faq-list details,
.wtr-team-profile__share {
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
}
.wtr-team-profile__status-grid article span,
.wtr-team-profile__record-card span {
  display: block;
  color: rgba(147,242,255,.82);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.wtr-team-profile__status-grid article strong,
.wtr-team-profile__status-grid article a,
.wtr-team-profile__record-card h3,
.wtr-team-profile__media-panel h3,
.wtr-team-profile__share h2 {
  color: #fff;
}
.wtr-team-profile__status-grid article strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.wtr-team-profile__status-grid article a,
.wtr-team-profile__media-panel a,
.wtr-team-profile__share-actions a,
.wtr-team-profile__share-actions button,
.wtr-team-profile__gallery-grid figcaption a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 38px;
  padding: .55rem .85rem;
  background: rgba(147,242,255,.12);
  border: 1px solid rgba(147,242,255,.25);
  color: #fff;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.wtr-team-profile__status-grid article a:hover,
.wtr-team-profile__media-panel a:hover,
.wtr-team-profile__share-actions a:hover,
.wtr-team-profile__share-actions button:hover,
.wtr-team-profile__gallery-grid figcaption a:hover {
  background: rgba(147,242,255,.2);
}
.wtr-team-profile__status-empty {
  grid-column: 1 / -1;
}
.wtr-team-profile__status-empty p,
.wtr-team-profile__record-card p,
.wtr-team-profile__media-panel p,
.wtr-team-profile__faq-list p,
.wtr-team-profile__share p,
.wtr-rower-card__bio {
  color: rgba(255,255,255,.68);
  line-height: 1.55;
}
.wtr-rower-card__bio {
  margin-top: .65rem !important;
}
.wtr-team-profile__charity-card img {
  max-width: 120px;
  max-height: 62px;
  object-fit: contain;
  display: block;
  margin: 0 0 .85rem;
  padding: .55rem;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
}
.wtr-team-profile__record-card h3,
.wtr-team-profile__media-panel h3 {
  margin: 0 0 .5rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.wtr-team-profile__record-note {
  margin: .85rem 0 0;
  color: rgba(255,255,255,.58);
  font-size: .9rem;
}
.wtr-team-profile__media-panel,
.wtr-team-profile__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wtr-team-profile__media-panel p,
.wtr-team-profile__media-panel h3,
.wtr-team-profile__share h2,
.wtr-team-profile__share p {
  margin: 0;
}
.wtr-team-profile__gallery-grid figure {
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.wtr-team-profile__gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.wtr-team-profile__gallery-grid figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
}
.wtr-team-profile__faq-list {
  display: grid;
  gap: .85rem;
}
.wtr-team-profile__faq-list summary {
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: -.015em;
}
.wtr-team-profile__faq-list details[open] summary {
  margin-bottom: .65rem;
}
.wtr-team-profile__faq-list a {
  color: var(--wtr-team-cyan);
}
.wtr-team-profile__share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: flex-end;
}
.wtr-team-profile__share-actions button {
  font-family: inherit;
}

@media (max-width: 900px) {
  .wtr-team-profile__status-grid,
  .wtr-team-profile__record-grid,
  .wtr-team-profile__gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wtr-team-profile__media-panel,
  .wtr-team-profile__share {
    align-items: flex-start;
    flex-direction: column;
  }
  .wtr-team-profile__share-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .wtr-team-profile__status-grid,
  .wtr-team-profile__record-grid,
  .wtr-team-profile__gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* v0.6.12 - Team profile hero title fit
   Uses a wider copy column and slightly smaller desktop title instead of splitting normal-length one-word names. */
.wtr-team-profile__hero,
.wtr-team-profile__hero-copy,
.wtr-team-profile__image {
  min-width: 0;
}
.wtr-team-profile__hero-copy {
  overflow: visible;
}
.wtr-team-profile__hero h1 {
  max-width: 100%;
  font-size: clamp(2.45rem, 4.45vw, 5rem);
  line-height: .92;
  letter-spacing: -.055em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}
@media (min-width: 981px) {
  .wtr-team-profile__hero {
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr);
  }
}
@media (min-width: 981px) and (max-width: 1240px) {
  .wtr-team-profile__hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(270px, .82fr);
  }
  .wtr-team-profile__hero h1 {
    font-size: clamp(2.35rem, 4.05vw, 4.35rem);
  }
}
@media (max-width: 980px) {
  .wtr-team-profile__hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 4.35rem);
    overflow-wrap: break-word;
  }
}

/* v0.6.15 - Team microsite condensation
   Keep all important data, but avoid repeating the same facts in stacked cards. */
.wtr-team-profile__snapshot {
  max-width: 1180px;
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.wtr-team-profile__snapshot-item {
  min-width: 0;
  padding: .95rem 1.05rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.wtr-team-profile__snapshot-item:last-child {
  border-right: 0;
}
.wtr-team-profile__snapshot-item span {
  display: block;
  color: rgba(147,242,255,.82);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .32rem;
}
.wtr-team-profile__snapshot-item strong {
  display: block;
  color: #fff;
  font-size: clamp(.98rem, 1.65vw, 1.22rem);
  line-height: 1.15;
  letter-spacing: -.028em;
  overflow-wrap: break-word;
}
.wtr-team-profile__snapshot-item em {
  display: block;
  margin-top: .25rem;
  color: rgba(255,255,255,.56);
  font-size: .78rem;
  line-height: 1.25;
  font-style: normal;
}
.wtr-team-profile__hub {
  margin: 1rem auto 1.15rem;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  grid-template-columns: minmax(0, 1fr) auto;
}
.wtr-team-profile__hub h2 {
  font-size: clamp(1.45rem, 2.35vw, 2.15rem);
}
.wtr-team-profile__hub p:not(.wtr-team-profile__section-kicker) {
  max-width: 58ch;
}
.wtr-team-profile__hub-actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.wtr-team-profile__about,
.wtr-team-profile__route,
.wtr-team-profile__charities,
.wtr-team-profile__rowers,
.wtr-team-profile__status,
.wtr-team-profile__records,
.wtr-team-profile__media,
.wtr-team-profile__gallery,
.wtr-team-profile__faq,
.wtr-team-profile__share {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 1020px) {
  .wtr-team-profile__snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wtr-team-profile__snapshot-item:nth-child(2n) {
    border-right: 0;
  }
  .wtr-team-profile__snapshot-item:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .wtr-team-profile__hub {
    grid-template-columns: 1fr;
  }
  .wtr-team-profile__hub-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .wtr-team-profile__snapshot {
    grid-template-columns: 1fr;
  }
  .wtr-team-profile__snapshot-item,
  .wtr-team-profile__snapshot-item:nth-child(2n) {
    border-right: 0;
  }
  .wtr-team-profile__snapshot-item:nth-child(n+2) {
    border-top: 1px solid rgba(255,255,255,.1);
  }
}

/* v0.6.16 - Team page redesign pass
   Reduce database-style section stacking. The public page now uses an overview/actions row,
   combines route + FAQ, removes the public gallery, and combines media + sharing. */
.wtr-team-profile--v16 .wtr-team-profile__hero {
  margin-bottom: 1rem;
}
.wtr-team-profile--v16 .wtr-team-profile__overview,
.wtr-team-profile--v16 .wtr-team-profile__race-info,
.wtr-team-profile--v16 .wtr-team-profile__tools {
  max-width: 1180px;
  margin: 1rem auto;
}
.wtr-team-profile--v16 .wtr-team-profile__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 1rem;
  align-items: stretch;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-card,
.wtr-team-profile--v16 .wtr-team-profile__race-panel,
.wtr-team-profile--v16 .wtr-team-profile__tool-card {
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.045));
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  color: #fff;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-card {
  padding: clamp(1rem, 2vw, 1.4rem);
}
.wtr-team-profile--v16 .wtr-team-profile__overview-card .wtr-team-profile__section-kicker,
.wtr-team-profile--v16 .wtr-team-profile__tool-card .wtr-team-profile__section-kicker {
  margin-bottom: .7rem;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-facts > div {
  min-width: 0;
  padding: .85rem;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(2,8,19,.18);
  border-radius: 16px;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-facts span,
.wtr-team-profile--v16 .wtr-team-profile__route-grid span {
  display: block;
  color: rgba(147,242,255,.82);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .34rem;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-facts strong {
  display: block;
  color: #fff;
  font-size: clamp(.95rem, 1.3vw, 1.15rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-facts em {
  display: block;
  margin-top: .25rem;
  color: rgba(255,255,255,.58);
  font-style: normal;
  font-size: .78rem;
  line-height: 1.25;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-card--actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-card--actions h2 {
  margin: 0 0 .9rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-actions .wtr-team-card__socials {
  padding: 0;
}
.wtr-team-profile--v16 .wtr-team-profile__overview-actions .wtr-team-card__socials--icons a,
.wtr-team-profile--v16 .wtr-team-profile__overview-actions .wtr-team-profile__hub-link {
  min-height: 38px;
}

.wtr-team-profile--v16 .wtr-team-profile__about-inner {
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.045));
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.wtr-team-profile--v16 .wtr-team-profile__charities,
.wtr-team-profile--v16 .wtr-team-profile__rowers,
.wtr-team-profile--v16 .wtr-team-profile__status,
.wtr-team-profile--v16 .wtr-team-profile__records {
  max-width: 1180px;
  margin: 1.15rem auto;
}
.wtr-team-profile--v16 .wtr-team-profile__section-heading {
  margin-bottom: .75rem;
}
.wtr-team-profile--v16 .wtr-team-profile__section-heading h2,
.wtr-team-profile--v16 .wtr-team-profile__race-panel h3,
.wtr-team-profile--v16 .wtr-team-profile__tool-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.wtr-team-profile--v16 .wtr-team-profile__race-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 1rem;
  align-items: start;
}
.wtr-team-profile--v16 .wtr-team-profile__race-panel {
  padding: clamp(1rem, 2.2vw, 1.45rem);
}
.wtr-team-profile--v16 .wtr-team-profile__race-panel h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  margin-bottom: .9rem;
}
.wtr-team-profile--v16 .wtr-team-profile__race-panel .wtr-team-profile__route-grid {
  grid-template-columns: 1fr;
  gap: .75rem;
}
.wtr-team-profile--v16 .wtr-team-profile__route-grid article {
  padding: .95rem;
  border-radius: 16px;
  box-shadow: none;
  background: rgba(2,8,19,.18);
}
.wtr-team-profile--v16 .wtr-team-profile__route-grid h4 {
  margin: 0 0 .32rem;
  color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.wtr-team-profile--v16 .wtr-team-profile__route-grid p {
  margin: 0;
  color: rgba(255,255,255,.65);
}
.wtr-team-profile--v16 .wtr-team-profile__faq-list details {
  box-shadow: none;
  background: rgba(2,8,19,.18);
  border-radius: 16px;
  padding: .95rem 1rem;
}
.wtr-team-profile--v16 .wtr-team-profile__faq-list {
  gap: .65rem;
}

.wtr-team-profile--v16 .wtr-team-profile__tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.35rem;
}
.wtr-team-profile--v16 .wtr-team-profile__tool-card {
  padding: clamp(1rem, 2.2vw, 1.45rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wtr-team-profile--v16 .wtr-team-profile__tool-card h2 {
  font-size: clamp(1.35rem, 2.45vw, 2rem);
  margin-bottom: .45rem;
}
.wtr-team-profile--v16 .wtr-team-profile__tool-card p:not(.wtr-team-profile__section-kicker) {
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
}
.wtr-team-profile--v16 .wtr-team-profile__tool-card a,
.wtr-team-profile--v16 .wtr-team-profile__tool-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 38px;
  padding: .55rem .85rem;
  background: rgba(147,242,255,.12);
  border: 1px solid rgba(147,242,255,.25);
  color: #fff;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.wtr-team-profile--v16 .wtr-team-profile__tool-card a:hover,
.wtr-team-profile--v16 .wtr-team-profile__tool-card button:hover {
  background: rgba(147,242,255,.2);
}
.wtr-team-profile--v16 .wtr-team-profile__share-actions {
  justify-content: flex-end;
}
.wtr-team-profile--v16 .wtr-team-profile__gallery {
  display: none !important;
}

@media (max-width: 1080px) {
  .wtr-team-profile--v16 .wtr-team-profile__overview,
  .wtr-team-profile--v16 .wtr-team-profile__race-info-grid,
  .wtr-team-profile--v16 .wtr-team-profile__tools {
    grid-template-columns: 1fr;
  }
  .wtr-team-profile--v16 .wtr-team-profile__overview-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .wtr-team-profile--v16 .wtr-team-profile__overview-facts {
    grid-template-columns: 1fr;
  }
  .wtr-team-profile--v16 .wtr-team-profile__tool-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .wtr-team-profile--v16 .wtr-team-profile__share-actions {
    justify-content: flex-start;
  }
}

/* v0.6.17 - Individual team page refinement
   Move the snapshot/actions into the hero, remove repeated share block, tighten route cards,
   add mini map links, tidy rower alignment, and improve alternative look treatment. */
.wtr-team-profile--v17 {
  --wtr-profile-panel: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.045));
  --wtr-profile-panel-strong: linear-gradient(135deg, rgba(18,34,58,.95), rgba(28,46,76,.72));
  --wtr-profile-border: rgba(255,255,255,.13);
  --wtr-profile-muted: rgba(255,255,255,.66);
}
.wtr-team-profile--v17 .wtr-team-profile__hero {
  grid-template-columns: minmax(0, 1.13fr) minmax(300px, .87fr);
  gap: clamp(1.4rem, 3vw, 2.75rem);
  margin-bottom: 1.1rem;
}
.wtr-team-profile--v17 .wtr-team-profile__hero h1 {
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  line-height: .9;
  max-width: 10.5ch;
}
.wtr-team-profile--v17 .wtr-team-profile__chips {
  margin-bottom: 1rem;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .62rem;
  margin-top: .95rem;
  max-width: 820px;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts > div {
  min-width: 0;
  padding: .78rem .82rem;
  border: 1px solid rgba(255,255,255,.105);
  background: rgba(255,255,255,.055);
  border-radius: 15px;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts span {
  display: block;
  color: rgba(147,242,255,.85);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .32rem;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts strong {
  display: block;
  color: #fff;
  font-size: clamp(.9rem, 1.2vw, 1.08rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts em {
  display: block;
  margin-top: .22rem;
  color: rgba(255,255,255,.58);
  font-style: normal;
  font-size: .75rem;
  line-height: 1.25;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .62rem;
  align-items: center;
  margin-top: 1rem;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials {
  padding: 0;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials--icons a,
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-profile__hub-link,
.wtr-team-profile--v17 .wtr-team-profile__share-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .55rem .85rem;
  border: 1px solid rgba(147,242,255,.24);
  background: rgba(147,242,255,.12);
  color: #fff;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.wtr-team-profile--v17 .wtr-team-profile__share-button span {
  margin-right: .35rem;
  font-size: .9rem;
  line-height: 1;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials--icons a:hover,
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-profile__hub-link:hover,
.wtr-team-profile--v17 .wtr-team-profile__share-button:hover {
  background: rgba(147,242,255,.2);
}
.wtr-team-profile--v17 .wtr-team-profile__image {
  align-self: center;
}
.wtr-team-profile--v17 .wtr-team-profile__about-inner,
.wtr-team-profile--v17 .wtr-team-profile__race-panel,
.wtr-team-profile--v17 .wtr-team-profile__tool-card {
  border: 1px solid var(--wtr-profile-border);
  background: var(--wtr-profile-panel);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  color: #fff;
}
.wtr-team-profile--v17 .wtr-team-profile__charities,
.wtr-team-profile--v17 .wtr-team-profile__rowers,
.wtr-team-profile--v17 .wtr-team-profile__status,
.wtr-team-profile--v17 .wtr-team-profile__records,
.wtr-team-profile--v17 .wtr-team-profile__race-info,
.wtr-team-profile--v17 .wtr-team-profile__tools {
  max-width: 1180px;
  margin: 1.15rem auto;
}
.wtr-team-profile--v17 .wtr-team-profile__section-heading {
  margin-bottom: .75rem;
}
.wtr-team-profile--v17 .wtr-team-profile__section-heading h2,
.wtr-team-profile--v17 .wtr-team-profile__race-panel h3,
.wtr-team-profile--v17 .wtr-team-profile__tool-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.wtr-team-profile--v17 .wtr-team-profile__race-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 1rem;
  align-items: start;
}
.wtr-team-profile--v17 .wtr-team-profile__race-panel {
  padding: clamp(1rem, 2.2vw, 1.45rem);
}
.wtr-team-profile--v17 .wtr-team-profile__race-panel h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  margin-bottom: .9rem;
}
.wtr-team-profile--v17 .wtr-team-profile__race-panel .wtr-team-profile__route-grid {
  grid-template-columns: 1fr;
  gap: .78rem;
}
.wtr-team-profile--v17 .wtr-team-profile__route-grid article {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: .92rem;
  align-items: stretch;
  padding: .95rem;
  border-radius: 16px;
  box-shadow: none;
  background: rgba(2,8,19,.18);
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map {
  position: relative;
  min-height: 112px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(147,242,255,.18);
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.07) 1px, transparent 1px),
    radial-gradient(circle at 62% 38%, rgba(147,242,255,.34), transparent 18%),
    linear-gradient(145deg, rgba(33,76,111,.7), rgba(9,27,48,.85));
  background-size: 24px 24px, 24px 24px, auto, auto;
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(147,242,255,.18) 48% 52%, transparent 52%),
    radial-gradient(circle at 20% 78%, rgba(255,255,255,.12), transparent 21%);
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -85%) rotate(45deg);
  background: #ee7a3d;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0,0,0,.34);
}
.wtr-team-profile--v17 .wtr-team-profile__map-label {
  position: absolute;
  left: .5rem;
  bottom: .5rem;
  z-index: 2;
  display: inline-flex;
  padding: .28rem .48rem;
  border-radius: 999px;
  background: rgba(2,8,19,.58);
  border: 1px solid rgba(255,255,255,.13);
  color: #fff;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wtr-team-profile--v17 .wtr-team-profile__route-copy {
  min-width: 0;
}
.wtr-team-profile--v17 .wtr-team-profile__route-grid span {
  display: block;
  color: rgba(147,242,255,.82);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .34rem;
}
.wtr-team-profile--v17 .wtr-team-profile__route-grid h4 {
  margin: 0 0 .32rem;
  color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.wtr-team-profile--v17 .wtr-team-profile__route-grid p {
  margin: 0 0 .5rem;
  color: rgba(255,255,255,.65);
}
.wtr-team-profile--v17 .wtr-team-profile__route-grid code {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  color: rgba(255,255,255,.78);
}
.wtr-team-profile--v17 .wtr-team-profile__faq-list {
  gap: .65rem;
}
.wtr-team-profile--v17 .wtr-team-profile__faq-list details {
  box-shadow: none;
  background: rgba(2,8,19,.18);
  border-radius: 16px;
  padding: .95rem 1rem;
}
.wtr-team-profile--v17 .wtr-team-profile__tools {
  margin-top: 1.35rem;
}
.wtr-team-profile--v17 .wtr-team-profile__tools--single {
  display: block;
}
.wtr-team-profile--v17 .wtr-team-profile__tool-card {
  padding: clamp(1rem, 2.2vw, 1.45rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wtr-team-profile--v17 .wtr-team-profile__tool-card h2 {
  font-size: clamp(1.35rem, 2.45vw, 2rem);
  margin-bottom: .45rem;
}
.wtr-team-profile--v17 .wtr-team-profile__tool-card p:not(.wtr-team-profile__section-kicker) {
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
}
.wtr-team-profile--v17 .wtr-team-profile__tool-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 38px;
  padding: .55rem .85rem;
  background: rgba(147,242,255,.12);
  border: 1px solid rgba(147,242,255,.25);
  color: #fff;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.wtr-team-profile--v17 .wtr-team-profile__tool-card a:hover {
  background: rgba(147,242,255,.2);
}
.wtr-team-profile--v17 .wtr-rower-card h3 {
  gap: .34rem;
}
.wtr-team-profile--v17 .wtr-rower-flags-inline {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  flex: 0 0 auto;
}
.wtr-team-profile--v17 .wtr-rower-flags-inline .wtr-rower-flag-slot,
.wtr-team-profile--v17 .wtr-rower-flags-inline .wtr-country-flag {
  margin: 0 !important;
}

/* alternative look profile + entrants directory correction */
body.wtr-look-alt-base:has(.wtr-team-profile),
body.wtr-look-alt:has(.wtr-team-profile),
body.wtr-look-alt-base:has(.wtr-team-directory),
body.wtr-look-alt:has(.wtr-team-directory) {
  background: #172c52 !important;
  color: #fff !important;
}
body.wtr-look-alt-base:has(.wtr-team-profile) .wtr-utility-main,
body.wtr-look-alt:has(.wtr-team-profile) .wtr-utility-main,
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-utility-main,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-utility-main {
  background:
    radial-gradient(circle at 82% 10%, rgba(176,241,255,.13), transparent 30%),
    radial-gradient(circle at 10% 22%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(180deg, #172c52 0%, #142342 72%, #172c52 100%) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero,
body.wtr-look-alt-base .wtr-team-directory,
body.wtr-look-alt .wtr-team-directory {
  background:
    radial-gradient(circle at 12% 18%, rgba(174,238,255,.16), transparent 34%),
    linear-gradient(145deg, rgba(24,47,87,.86), rgba(18,38,74,.70) 56%, rgba(122,180,215,.16)) !important;
  border-color: rgba(255,255,255,.20) !important;
  box-shadow: 0 26px 80px rgba(6,14,34,.22), inset 0 1px 0 rgba(255,255,255,.08) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-facts > div,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-facts > div,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__race-panel,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__race-panel,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__tool-card,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__tool-card,
body.wtr-look-alt-base .wtr-team-card,
body.wtr-look-alt .wtr-team-card,
body.wtr-look-alt-base .wtr-team-directory__controls,
body.wtr-look-alt .wtr-team-directory__controls {
  background: linear-gradient(145deg, rgba(31,58,101,.76), rgba(18,38,74,.56)) !important;
  border-color: rgba(255,255,255,.18) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__eyebrow,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__eyebrow,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__section-kicker,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__section-kicker,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-facts span,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-facts span,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__route-grid span,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__route-grid span {
  color: #aaf0f8 !important;
}

@media (max-width: 1120px) {
  .wtr-team-profile--v17 .wtr-team-profile__hero,
  .wtr-team-profile--v17 .wtr-team-profile__race-info-grid {
    grid-template-columns: 1fr;
  }
  .wtr-team-profile--v17 .wtr-team-profile__hero h1 {
    max-width: none;
  }
  .wtr-team-profile--v17 .wtr-team-profile__hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .wtr-team-profile--v17 .wtr-team-profile__hero-facts,
  .wtr-team-profile--v17 .wtr-team-profile__route-grid article {
    grid-template-columns: 1fr;
  }
  .wtr-team-profile--v17 .wtr-team-profile__mini-map {
    min-height: 104px;
  }
  .wtr-team-profile--v17 .wtr-team-profile__tool-card {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* v0.6.18 - Restore the proper alternative look visual language on team pages.
   Match the lighter alternative look directory treatment: slate-blue page, soft glass panels,
   calmer borders, and less dark look contrast. */
body.wtr-look-alt-base:has(.wtr-team-profile),
body.wtr-look-alt:has(.wtr-team-profile),
body.wtr-look-alt-base:has(.wtr-team-directory),
body.wtr-look-alt:has(.wtr-team-directory) {
  background: #23375f !important;
  color: #f6fbff !important;
}
body.wtr-look-alt-base:has(.wtr-team-profile) .wtr-v23-header,
body.wtr-look-alt:has(.wtr-team-profile) .wtr-v23-header,
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-v23-header,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-v23-header {
  background: linear-gradient(180deg, #7f91bd 0%, #7185b3 100%) !important;
  box-shadow: none !important;
}
body.wtr-look-alt-base:has(.wtr-team-profile) .wtr-v23-header::before,
body.wtr-look-alt:has(.wtr-team-profile) .wtr-v23-header::before,
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-v23-header::before,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-v23-header::before {
  background: #172851 !important;
}
body.wtr-look-alt-base:has(.wtr-team-profile) .wtr-utility-main,
body.wtr-look-alt:has(.wtr-team-profile) .wtr-utility-main,
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-utility-main,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-utility-main {
  background:
    radial-gradient(circle at 74% 8%, rgba(190,229,255,.18), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.08), transparent 32%),
    linear-gradient(180deg, #263a62 0%, #1e3158 48%, #22365e 100%) !important;
}
body.wtr-look-alt-base:has(.wtr-team-profile) .wtr-utility-hero.compact,
body.wtr-look-alt:has(.wtr-team-profile) .wtr-utility-hero.compact,
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-utility-hero.compact,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-utility-hero.compact {
  background:
    radial-gradient(circle at 72% 6%, rgba(180,225,255,.14), transparent 28%),
    linear-gradient(135deg, #263b63 0%, #17244a 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}
body.wtr-look-alt-base:has(.wtr-team-profile) .wtr-utility-eyebrow,
body.wtr-look-alt:has(.wtr-team-profile) .wtr-utility-eyebrow,
body.wtr-look-alt-base:has(.wtr-team-directory) .wtr-utility-eyebrow,
body.wtr-look-alt:has(.wtr-team-directory) .wtr-utility-eyebrow,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__eyebrow,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__eyebrow,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__section-kicker,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__section-kicker,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-facts span,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-facts span,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__route-grid span,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__route-grid span {
  color: #b6f4ff !important;
}
body.wtr-look-alt-base .wtr-utility-content:has(.wtr-team-directory),
body.wtr-look-alt .wtr-utility-content:has(.wtr-team-directory) {
  background:
    radial-gradient(circle at 12% 2%, rgba(182,244,255,.10), transparent 32%),
    linear-gradient(145deg, rgba(44,65,104,.88), rgba(31,49,86,.82) 62%, rgba(28,44,80,.92)) !important;
  border-color: rgba(255,255,255,.22) !important;
  box-shadow: 0 26px 80px rgba(9,19,45,.20), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17,
body.wtr-look-alt .wtr-team-profile--v17 {
  --wtr-profile-panel: linear-gradient(145deg, rgba(48,68,108,.86), rgba(31,49,86,.76));
  --wtr-profile-panel-strong: linear-gradient(145deg, rgba(46,67,107,.94), rgba(28,46,83,.86));
  --wtr-profile-border: rgba(255,255,255,.20);
  --wtr-profile-muted: rgba(246,251,255,.72);
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero {
  background:
    radial-gradient(circle at 84% 20%, rgba(180,225,255,.16), transparent 32%),
    radial-gradient(circle at 10% 22%, rgba(182,244,255,.10), transparent 34%),
    linear-gradient(145deg, rgba(28,45,82,.92), rgba(21,36,71,.86)) !important;
  border-color: rgba(255,255,255,.23) !important;
  box-shadow: 0 28px 86px rgba(9,19,45,.22), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-facts > div,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-facts > div,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__race-panel,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__race-panel,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__tool-card,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__tool-card,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-rower-card,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-rower-card,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__about-inner,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__about-inner,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__charity-card,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__charity-card,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__record-card,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__record-card,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__status-grid article,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__status-grid article,
body.wtr-look-alt-base .wtr-team-card,
body.wtr-look-alt .wtr-team-card,
body.wtr-look-alt-base .wtr-team-directory__controls,
body.wtr-look-alt .wtr-team-directory__controls,
body.wtr-look-alt-base .wtr-team-directory__summary .wtr-team-directory__stats div,
body.wtr-look-alt .wtr-team-directory__summary .wtr-team-directory__stats div {
  background:
    radial-gradient(circle at 10% 0%, rgba(182,244,255,.075), transparent 34%),
    linear-gradient(145deg, rgba(47,67,107,.82), rgba(28,45,83,.72)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow: 0 18px 56px rgba(9,19,45,.18), inset 0 1px 0 rgba(255,255,255,.065) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__image,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__image {
  border-color: rgba(255,255,255,.22) !important;
  box-shadow: 0 22px 70px rgba(9,19,45,.22), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-facts strong,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-facts strong,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__section-heading h2,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__section-heading h2,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__race-panel h3,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__race-panel h3,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__tool-card h2,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__tool-card h2,
body.wtr-look-alt-base .wtr-team-card h3,
body.wtr-look-alt .wtr-team-card h3 {
  color: #fff !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-facts em,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-facts em,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__route-grid p,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__route-grid p,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-rower-card p,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-rower-card p,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__tool-card p:not(.wtr-team-profile__section-kicker),
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__tool-card p:not(.wtr-team-profile__section-kicker) {
  color: rgba(246,251,255,.72) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials--icons a,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials--icons a,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-profile__hub-link,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-profile__hub-link,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__share-button,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__share-button,
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__tool-card a,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__tool-card a {
  background: rgba(188,232,255,.13) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #fff !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__mini-map,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__mini-map {
  border-color: rgba(255,255,255,.20) !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 62% 38%, rgba(182,244,255,.34), transparent 18%),
    linear-gradient(145deg, rgba(65,96,139,.86), rgba(24,46,84,.92)) !important;
  background-size: 24px 24px, 24px 24px, auto, auto !important;
}

/* v0.6.19 - team profile polish: share icon, boat card, rower alignment, real mini maps and FAQ copy support */
.wtr-team-profile--v17 .wtr-team-profile__hero-facts > div {
  align-self: stretch;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts > div:has(span + strong:only-child),
.wtr-team-profile--v17 .wtr-team-profile__hero-facts > div:has(strong:last-child) {
  min-height: 0;
}
.wtr-team-profile--v17 .wtr-team-profile__share-button--icon {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 999px;
  font-size: 0;
  line-height: 1;
}
.wtr-team-profile--v17 .wtr-team-profile__share-button--icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}
.wtr-team-profile--v17 .wtr-team-profile__share-button--icon span {
  margin: 0;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials--icons a {
  padding: 0;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials--icons svg {
  width: 20px !important;
  height: 20px !important;
}
.wtr-team-profile--v17 .wtr-rower-card > div:not(.wtr-rower-card__avatar) {
  min-width: 0;
}
.wtr-team-profile--v17 .wtr-rower-card__label,
.wtr-team-profile--v17 .wtr-rower-card h3,
.wtr-team-profile--v17 .wtr-rower-card p:not(.wtr-rower-card__bio) {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.wtr-team-profile--v17 .wtr-rower-card h3 {
  gap: 4px !important;
  column-gap: 4px !important;
  align-items: center;
}
.wtr-team-profile--v17 .wtr-rower-flags-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
}
.wtr-team-profile--v17 .wtr-rower-flags-inline .wtr-country-flag,
.wtr-team-profile--v17 .wtr-rower-flags-inline .wtr-country-flag--rower {
  margin: 0 !important;
}
.wtr-team-profile--v17 .wtr-rower-card h3 .wtr-rower-name {
  margin-left: 2px !important;
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map {
  background:
    linear-gradient(145deg, rgba(33,76,111,.72), rgba(9,27,48,.88));
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .78;
  filter: saturate(.75) contrast(1.05) brightness(.78);
  transform: scale(1.02);
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map::after {
  background:
    linear-gradient(180deg, rgba(8,18,38,.05), rgba(8,18,38,.45)),
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.22), transparent 22%);
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin {
  left: 50%;
  top: 50%;
}
.wtr-team-profile--v17 .wtr-team-profile__map-label {
  left: .62rem;
  bottom: .62rem;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__share-button--icon,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__share-button--icon {
  background: rgba(188,232,255,.13) !important;
  border-color: rgba(255,255,255,.28) !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__share-button--icon:hover,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__share-button--icon:hover {
  background: rgba(188,232,255,.22) !important;
}

/* v0.6.20 - Team profile refinements: cleaner hero facts, robust map tiles, marker style, rower alignment, tracker FAQ. */
.wtr-team-profile--v17 .wtr-team-profile__chips > span:not(.wtr-team-profile__country-chip) {
  display: none !important;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts > div {
  align-self: stretch;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts em {
  display: block;
  margin-top: .2rem;
  color: rgba(255,255,255,.68);
  font-style: normal;
  font-size: .78rem;
  line-height: 1.2;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts > div:nth-child(2) {
  min-height: 0;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts > div:nth-child(2) strong {
  margin-top: 0;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials--icons a svg {
  width: 18px !important;
  height: 18px !important;
}
.wtr-team-profile--v17 .wtr-rower-card__body {
  min-width: 0;
}
.wtr-team-profile--v17 .wtr-rower-card__label,
.wtr-team-profile--v17 .wtr-rower-card h3,
.wtr-team-profile--v17 .wtr-rower-card p {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.wtr-team-profile--v17 .wtr-rower-card h3 {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex-wrap: wrap;
}
.wtr-team-profile--v17 .wtr-rower-flags-inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.wtr-team-profile--v17 .wtr-rower-flags-inline .wtr-country-flag,
.wtr-team-profile--v17 .wtr-rower-flags-inline .wtr-country-flag--rower {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}
.wtr-team-profile--v17 .wtr-rower-name {
  margin-left: 2px !important;
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map {
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(145deg, rgba(33,76,111,.7), rgba(9,27,48,.85));
  background-size: 24px 24px, 24px 24px, auto;
}
.wtr-team-profile--v17 .wtr-team-profile__map-tile {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center;
  filter: saturate(.9) contrast(.95) brightness(.82);
  opacity: .82;
  transform: scale(1.04);
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.11) 1px, transparent 1px),
    radial-gradient(circle at var(--wtr-pin-x, 50%) var(--wtr-pin-y, 50%), rgba(255,255,255,.34), transparent 25%),
    linear-gradient(180deg, rgba(9,21,45,.08), rgba(9,21,45,.28));
  background-size: 24px 24px, 24px 24px, auto, auto;
  pointer-events: none;
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map::after {
  z-index: 1;
  background: linear-gradient(135deg, transparent 47%, rgba(147,242,255,.22) 48% 52%, transparent 53%);
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin {
  left: var(--wtr-pin-x, 50%) !important;
  top: var(--wtr-pin-y, 50%) !important;
  width: 24px !important;
  height: 24px !important;
  transform: translate(-50%, -92%) rotate(45deg) !important;
  border-radius: 50% 50% 50% 0 !important;
  background: #ee7a3d !important;
  border: 3px solid #fff !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.45), 0 0 0 5px rgba(238,122,61,.2) !important;
  z-index: 3 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #fff;
}
.wtr-team-profile--v17 .wtr-team-profile__map-label {
  z-index: 4;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-facts em,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-facts em {
  color: rgba(246,251,255,.72) !important;
}


/* v0.6.21 - Team profile polish: map markers, crew-size typography and hero action spacing. */
.wtr-team-profile--v17 .wtr-team-profile__hero-actions {
  gap: .46rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials--icons {
  gap: .46rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-card__socials {
  margin: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-actions .wtr-team-profile__share-button--icon {
  margin-left: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__hero-facts > div:first-child em {
  margin-top: .24rem !important;
  color: #fff !important;
  font-size: clamp(.9rem, 1.2vw, 1.08rem) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-team-profile__hero-facts > div:first-child em,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-team-profile__hero-facts > div:first-child em {
  color: #fff !important;
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map {
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(145deg, rgba(33,76,111,.7), rgba(9,27,48,.85)) !important;
  background-size: 24px 24px, 24px 24px, auto !important;
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
.wtr-team-profile--v17 .wtr-team-profile__map-tile {
  filter: saturate(.95) contrast(.98) brightness(.86) !important;
  opacity: .86 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin {
  left: 50% !important;
  top: 50% !important;
  width: 34px !important;
  height: 42px !important;
  transform: translate(-50%, -100%) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  z-index: 4 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 28px;
  height: 28px;
  transform: translateX(-50%) rotate(-45deg);
  border-radius: 999px 999px 999px 0;
  background: #ee7a3d;
  border: 4px solid #fff;
  box-shadow: 0 9px 24px rgba(0,0,0,.46), 0 0 0 6px rgba(238,122,61,.2);
  transform-origin: center;
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 10px !important;
  width: 8px !important;
  height: 8px !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: #fff !important;
  z-index: 2 !important;
}
.wtr-team-profile--v17 .wtr-rower-card h3 {
  gap: 3px !important;
  column-gap: 3px !important;
}
.wtr-team-profile--v17 .wtr-rower-flags-inline,
.wtr-team-profile--v17 .wtr-rower-flag-slot {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wtr-team-profile--v17 .wtr-rower-flags-inline {
  gap: 2px !important;
}
.wtr-team-profile--v17 .wtr-rower-name {
  margin-left: 1px !important;
}

/* v0.6.22 - Centre mini maps on the exact coordinates and reduce map marker size. */
.wtr-team-profile--v17 .wtr-team-profile__mini-map {
  overflow: hidden !important;
}
.wtr-team-profile--v17 .wtr-team-profile__map-tile {
  position: absolute !important;
  inset: auto !important;
  left: var(--wtr-tile-left, 0) !important;
  top: var(--wtr-tile-top, 0) !important;
  width: 256px !important;
  height: 256px !important;
  display: block !important;
  background-size: 256px 256px !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  filter: saturate(.9) contrast(.96) brightness(.88) !important;
  opacity: .86 !important;
  transform: none !important;
  z-index: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__mini-map::before {
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.11) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.22), transparent 22%),
    linear-gradient(180deg, rgba(9,21,45,.08), rgba(9,21,45,.25)) !important;
  background-size: 24px 24px, 24px 24px, auto, auto !important;
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin {
  left: 50% !important;
  top: 50% !important;
  width: 18px !important;
  height: 24px !important;
  transform: translate(-50%, -100%) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  z-index: 4 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 1px !important;
  width: 15px !important;
  height: 15px !important;
  transform: translateX(-50%) rotate(-45deg) !important;
  transform-origin: center !important;
  border-radius: 999px 999px 999px 0 !important;
  background: #ee7a3d !important;
  border: 3px solid #fff !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.45), 0 0 0 4px rgba(238,122,61,.18) !important;
}
.wtr-team-profile--v17 .wtr-team-profile__map-pin::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 7px !important;
  width: 5px !important;
  height: 5px !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: #fff !important;
}


/* v0.6.23 - Match individual team page canvas width to the teams directory.
   The team profile now uses the same outer width as the entrants directory, while
   long-form text remains constrained inside content blocks for readability. */
.wtr-team-profile {
  max-width: none !important;
  width: min(calc(100vw - 7rem), 1560px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.wtr-team-profile--v17 .wtr-team-profile__charities,
.wtr-team-profile--v17 .wtr-team-profile__rowers,
.wtr-team-profile--v17 .wtr-team-profile__status,
.wtr-team-profile--v17 .wtr-team-profile__records,
.wtr-team-profile--v17 .wtr-team-profile__race-info,
.wtr-team-profile--v17 .wtr-team-profile__tools,
.wtr-team-profile__rowers,
.wtr-team-profile__status,
.wtr-team-profile__records,
.wtr-team-profile__media,
.wtr-team-profile__faq,
.wtr-team-profile__share {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__hero {
  width: 100% !important;
}
.wtr-team-profile--v17 .wtr-team-profile__about-inner,
.wtr-team-profile--v17 .wtr-team-profile__tool-card,
.wtr-team-profile--v17 .wtr-team-profile__race-panel,
.wtr-rower-card {
  box-sizing: border-box;
}
.wtr-team-profile__content,
.wtr-team-profile--v17 .wtr-team-profile__tool-card p:not(.wtr-team-profile__section-kicker),
.wtr-team-profile--v17 .wtr-team-profile__faq-list p,
.wtr-team-profile--v17 .wtr-team-profile__charity-card p,
.wtr-rower-card__bio {
  max-width: 82ch;
}
@media (min-width: 1320px) {
  .wtr-team-profile--v17 .wtr-rower-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
  }
  .wtr-team-profile--v17 .wtr-team-profile__race-info-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr) !important;
    gap: 1.4rem !important;
  }
}
@media (max-width: 900px) {
  .wtr-team-profile {
    width: min(100% - 2rem, 760px) !important;
  }
}

/* v0.6.24 - remove unintended inner shading inside country chip */
.wtr-team-profile__country-chip .wtr-team-profile__flags,
.wtr-team-profile__country-chip .wtr-country-flag,
.wtr-team-profile__country-chip > span {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* v0.6.25 - tighten multi-national flag spacing in hero country chip */
.wtr-team-profile__flags {
  gap: 2px !important;
}
.wtr-team-profile__flags .wtr-country-flag {
  margin: 0 !important;
}


/* v0.6.26 - hard fix hero country chip flag spacing */
.wtr-team-profile--v17 .wtr-team-profile__country-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: .45rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__country-chip .wtr-team-profile__flags {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__country-chip .wtr-team-profile__flags .wtr-country-flag {
  display: inline-flex !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 13px !important;
  min-height: 13px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__country-chip .wtr-team-profile__flags .wtr-country-flag img {
  width: 18px !important;
  max-width: 18px !important;
  height: 13px !important;
  max-height: 13px !important;
  object-fit: contain !important;
}


/* v0.6.27 - hero country flags: equal height, natural width, 4px spacing */
.wtr-team-profile--v17 .wtr-team-profile__country-chip .wtr-team-profile__flags {
  gap: 4px !important;
}
.wtr-team-profile--v17 .wtr-team-profile__country-chip .wtr-team-profile__flags .wtr-country-flag {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 13px !important;
  min-height: 13px !important;
  max-height: 13px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__country-chip .wtr-team-profile__flags .wtr-country-flag img {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 13px !important;
  min-height: 13px !important;
  max-height: 13px !important;
  object-fit: contain !important;
}

/* v0.6.29 - boat technical profile section */
.wtr-team-profile--v17 .wtr-team-profile__boat {
  max-width: 1180px;
  margin: 1.15rem auto;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 4%, rgba(147,242,255,.16), transparent 30%),
    linear-gradient(145deg, rgba(41,61,110,.76), rgba(22,34,70,.9));
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.wtr-team-profile--v17 .wtr-team-profile__boat-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 235px;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(17,34,69,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17,34,69,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(226,235,248,.9));
  background-size: 22px 22px, 22px 22px, auto;
  overflow: hidden;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-visual::after {
  content: "Technical side profile";
  position: absolute;
  left: .85rem;
  bottom: .7rem;
  color: rgba(17,34,69,.52);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-visual img {
  display: block;
  width: min(100%, 920px);
  max-height: 245px;
  object-fit: contain;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  border: 1px dashed rgba(17,34,69,.28);
  border-radius: 16px;
  color: rgba(17,34,69,.7);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: .35rem;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy h3 {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy p:not(.wtr-team-profile__section-kicker) {
  max-width: 62ch;
  margin: 0 0 .95rem;
  color: rgba(255,255,255,.72);
}
.wtr-team-profile--v17 .wtr-team-profile__boat-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .56rem;
  margin: 0;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-specs div {
  min-width: 0;
  padding: .62rem .7rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(2,8,19,.18);
}
.wtr-team-profile--v17 .wtr-team-profile__boat-specs dt {
  margin: 0 0 .18rem;
  color: rgba(147,242,255,.82);
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-specs dd {
  margin: 0;
  color: #fff;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.08;
}
@media (max-width: 960px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-card {
    grid-template-columns: 1fr;
  }
  .wtr-team-profile--v17 .wtr-team-profile__boat-visual {
    min-height: 190px;
  }
}
@media (max-width: 620px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-specs {
    grid-template-columns: 1fr;
  }
}

/* v0.6.42 - let longer boat team names use more of the hull before stepping down font size */
.wtr-team-profile--v17 .wtr-team-profile__boat {
  width: 100% !important;
  max-width: none !important;
  margin: 1.15rem 0 1.35rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-card {
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr) !important;
  gap: clamp(.85rem, 1.6vw, 1.2rem) !important;
  align-items: center !important;
  padding: clamp(.9rem, 1.8vw, 1.2rem) !important;
  border-radius: 22px !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-visual {
  min-height: 150px !important;
  padding: clamp(.55rem, 1.4vw, .85rem) !important;
  border-radius: 18px !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-visual::after {
  content: none !important;
  display: none !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-drawing {
  position: relative;
  display: block;
  width: min(100%, 660px);
  aspect-ratio: 567.54 / 131.55;
  margin: 0 auto;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-drawing img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-team-name {
  position: absolute;
  left: 23.8%;
  right: 18.2%;
  top: 68.8%;
  transform: translateY(-50%);
  color: rgba(15, 35, 72, .68);
  font-size: clamp(11px, 1.8vw, 20px);
  font-weight: 950;
  letter-spacing: .085em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.62);
}
.wtr-team-profile--v17 .wtr-team-profile__boat-team-name--medium {
  font-size: clamp(10px, 1.55vw, 17px);
  letter-spacing: .07em;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-team-name--long {
  font-size: clamp(9px, 1.28vw, 14px);
  letter-spacing: .06em;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-rower-stack {
  position: absolute;
  left: 83.0%;
  top: 43.0%;
  width: 16.4%;
  height: 12%;
  transform: translateX(1px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0px;
  pointer-events: none;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-rower {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: center;
  column-gap: 2px;
  max-width: 100%;
  min-width: 0;
  color: rgba(15, 35, 72, .78);
  font-size: clamp(3.2px, .34vw, 4.5px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.wtr-team-profile--v17 .wtr-team-profile__boat-rower-flags {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  flex: 0 0 auto;
  width: 15px;
  min-width: 15px;
  max-width: 15px;
  overflow: hidden;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-rower-name {
  display: block;
  min-width: 0;
  max-width: 102px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-rower .wtr-country-flag,
.wtr-team-profile--v17 .wtr-team-profile__boat-rower .wtr-country-flag--boat-rower {
  width: auto !important;
  min-width: 0 !important;
  height: 4px !important;
  min-height: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-rower .wtr-country-flag img,
.wtr-team-profile--v17 .wtr-team-profile__boat-rower .wtr-country-flag--boat-rower img {
  display: block !important;
  width: auto !important;
  height: 4px !important;
  max-width: 9px !important;
  max-height: 4px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-rower .wtr-country-flag--text {
  min-width: 5px !important;
  height: 4px !important;
  font-size: 3.2px !important;
  line-height: 4px !important;
  border-radius: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy {
  padding: .15rem .2rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy h3 {
  margin-bottom: .42rem !important;
  font-size: clamp(1.18rem, 1.85vw, 1.8rem) !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy p:not(.wtr-team-profile__section-kicker) {
  margin-bottom: .72rem !important;
  font-size: .94rem !important;
  line-height: 1.45 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .44rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-specs div {
  padding: .52rem .58rem !important;
  border-radius: 12px !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-specs dt {
  font-size: .5rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-specs dd {
  font-size: .86rem !important;
}
@media (max-width: 1080px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-card {
    grid-template-columns: 1fr !important;
  }
  .wtr-team-profile--v17 .wtr-team-profile__boat-drawing {
    width: min(100%, 760px);
  }
  .wtr-team-profile--v17 .wtr-team-profile__boat-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 620px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-visual {
    min-height: 128px !important;
  }
  .wtr-team-profile--v17 .wtr-team-profile__boat-specs {
    grid-template-columns: 1fr !important;
  }
}


/* v0.6.50 - proper filled R45 SVG asset */
.wtr-team-profile--v17 .wtr-team-profile__boat-drawing {
  width: min(100%, 660px) !important;
  aspect-ratio: 567.54 / 131.55 !important;
  margin: 0 auto !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-svg-preview {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-drawing > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
@media (max-width: 1080px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-drawing {
    width: min(100%, 720px) !important;
  }
}


/* v0.6.53 - make boat make/model values match old large heading scale */
.wtr-team-profile--v17 .wtr-team-profile__boat-identity {
  display: grid !important;
  gap: .48rem !important;
  margin: .08rem 0 .95rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-identity p {
  margin: 0 !important;
  color: rgba(255,255,255,.94) !important;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem) !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
  text-transform: uppercase !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-identity span {
  color: #bff3ff !important;
  font-size: .62em !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-identity strong {
  color: #fff !important;
  font-weight: 950 !important;
}


/* v0.6.54 - force boat make/model values to old heading scale */
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity {
  gap: .82rem !important;
  margin: .22rem 0 1.35rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity p:not(.wtr-team-profile__section-kicker) {
  display: flex !important;
  align-items: baseline !important;
  gap: .62rem !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: .98 !important;
  color: #fff !important;
  text-transform: uppercase !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity span {
  flex: 0 0 auto !important;
  color: #bff3ff !important;
  font-size: clamp(.78rem, .9vw, .95rem) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: .19em !important;
  text-transform: uppercase !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity strong {
  color: #fff !important;
  display: inline-block !important;
  font-size: clamp(1.95rem, 2.55vw, 2.45rem) !important;
  font-weight: 950 !important;
  line-height: .95 !important;
  letter-spacing: -.045em !important;
  text-transform: uppercase !important;
}
@media (max-width: 1080px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity strong {
    font-size: clamp(1.7rem, 6vw, 2.25rem) !important;
  }
}


/* v0.6.55 - make/model values aligned and kept on one line */
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity {
  gap: .66rem !important;
  margin: .2rem 0 1.3rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity p:not(.wtr-team-profile__section-kicker) {
  display: grid !important;
  grid-template-columns: 10.6rem minmax(0, 1fr) !important;
  column-gap: .55rem !important;
  align-items: baseline !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity span {
  width: auto !important;
  min-width: 0 !important;
  font-size: clamp(.76rem, .82vw, .9rem) !important;
  letter-spacing: .18em !important;
  white-space: nowrap !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity strong {
  min-width: 0 !important;
  max-width: 100% !important;
  font-size: clamp(1.45rem, 1.75vw, 1.82rem) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
@media (max-width: 1080px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity p:not(.wtr-team-profile__section-kicker) {
    grid-template-columns: 9.6rem minmax(0, 1fr) !important;
  }
  .wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity strong {
    font-size: clamp(1.2rem, 3.6vw, 1.62rem) !important;
  }
}
@media (max-width: 720px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity p:not(.wtr-team-profile__section-kicker) {
    grid-template-columns: 8.9rem minmax(0, 1fr) !important;
  }
  .wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity strong {
    font-size: clamp(1.05rem, 5vw, 1.38rem) !important;
  }
}


/* v0.6.56 - tighten make/model label-to-value spacing while keeping value column aligned */
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity {
  gap: .52rem !important;
  margin: .18rem 0 1.22rem !important;
}
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity p:not(.wtr-team-profile__section-kicker) {
  grid-template-columns: 8.35rem minmax(0, 1fr) !important;
  column-gap: .36rem !important;
}
@media (max-width: 1080px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity p:not(.wtr-team-profile__section-kicker) {
    grid-template-columns: 8.1rem minmax(0, 1fr) !important;
    column-gap: .34rem !important;
  }
}
@media (max-width: 720px) {
  .wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity p:not(.wtr-team-profile__section-kicker) {
    grid-template-columns: 7.8rem minmax(0, 1fr) !important;
    column-gap: .3rem !important;
  }
}


/* v0.6.64 - nudge D34 preview upward to compensate for extra top whitespace in source SVG */
.wtr-team-profile--v17 .wtr-team-profile__boat-visual--d34 .wtr-team-profile__boat-drawing {
  transform: translateY(-12px);
}


/* v0.6.69 - nudge D12 preview upward to better centre the boat vertically */
.wtr-team-profile--v17 .wtr-team-profile__boat-visual--d12 .wtr-team-profile__boat-drawing {
  transform: translateY(-12px);
}

/* v0.6.80 - keep the boat section in the dark look visual style when that skin is active */
body.wtr-look-dark .wtr-team-profile--v17 .wtr-team-profile__boat-card {
  background:
    radial-gradient(circle at 78% 4%, rgba(147,242,255,.08), transparent 30%),
    linear-gradient(145deg, rgba(14,22,36,.94), rgba(4,10,20,.96)) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 22px 76px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
body.wtr-look-dark .wtr-team-profile--v17 .wtr-team-profile__boat-specs div {
  background: rgba(0,0,0,.22) !important;
  border-color: rgba(255,255,255,.12) !important;
}
body.wtr-look-dark .wtr-team-profile--v17 .wtr-team-profile__boat-identity span,
body.wtr-look-dark .wtr-team-profile--v17 .wtr-team-profile__boat-specs dt {
  color: rgba(147,242,255,.86) !important;
}



/* v0.6.81 - soften alternative look rower cards so they do not sit on heavy dark-blue panels */
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-rower-card,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-rower-card {
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.075)) !important;
  border-color: rgba(255,255,255,.20) !important;
  box-shadow: 0 16px 42px rgba(9,19,45,.14), inset 0 1px 0 rgba(255,255,255,.08) !important;
}


/* v0.6.82 - remove the unstyled-looking inner dark panel from the alternative look directory */
body.wtr-look-alt-base .wtr-team-directory,
body.wtr-look-alt .wtr-team-directory {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}


/* v0.6.83 - expandable rower mini profiles */
.wtr-team-profile--v17 .wtr-rower-card--has-extra {
  align-items: flex-start !important;
}
.wtr-team-profile--v17 .wtr-rower-card__body {
  width: 100%;
}
.wtr-team-profile--v17 .wtr-rower-card__extra {
  margin-top: .75rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.wtr-team-profile--v17 .wtr-rower-card__extra[hidden] {
  display: none !important;
}
.wtr-team-profile--v17 .wtr-rower-card__bio {
  margin: 0 !important;
}
.wtr-team-profile--v17 .wtr-rower-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .75rem;
  min-height: 34px;
  padding: .48rem .72rem;
  border: 1px solid rgba(147,242,255,.26);
  border-radius: 999px;
  background: rgba(147,242,255,.10);
  color: #fff;
  cursor: pointer;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}
.wtr-team-profile--v17 .wtr-rower-card__more:hover,
.wtr-team-profile--v17 .wtr-rower-card__more:focus-visible {
  background: rgba(147,242,255,.18);
  border-color: rgba(147,242,255,.38);
}
body.wtr-look-alt-base .wtr-team-profile--v17 .wtr-rower-card__more,
body.wtr-look-alt .wtr-team-profile--v17 .wtr-rower-card__more {
  background: rgba(188,232,255,.13) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #fff !important;
}

/* v0.6.84 - front-end team microsite editor */
.wtr-team-editor {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto;
  color: #07111f;
  font-family: inherit;
}
.wtr-team-editor__hero,
.wtr-team-editor__section {
  border: 1px solid rgba(7,17,31,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 50px rgba(7,17,31,.1);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0 0 1rem;
}
.wtr-team-editor__kicker,
.wtr-team-editor__hint {
  color: rgba(7,17,31,.62);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wtr-team-editor h1,
.wtr-team-editor h2,
.wtr-team-editor h3 {
  margin-top: 0;
  color: #07111f;
}
.wtr-team-editor__notice {
  margin: 1rem 0;
  padding: .8rem 1rem;
  border-radius: 14px;
  background: rgba(31,170,110,.12);
  color: #0a633c;
  font-weight: 800;
}
.wtr-team-editor__actions,
.wtr-team-editor__submit,
.wtr-team-editor__select-form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1rem;
}
.wtr-team-editor__actions a,
.wtr-team-editor__actions button,
.wtr-team-editor__submit button,
.wtr-team-editor__select-form button {
  border: 0;
  border-radius: 999px;
  padding: .78rem 1.05rem;
  background: #07111f;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.wtr-team-editor__actions button {
  background: #0f5f7c;
}
.wtr-team-editor__share-link code {
  display: block;
  margin-top: .35rem;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(7,17,31,.06);
  white-space: normal;
  word-break: break-all;
}
.wtr-team-editor__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.wtr-team-editor__field {
  display: grid;
  gap: .35rem;
  margin: 0 0 .9rem;
  font-weight: 800;
}
.wtr-team-editor__field span,
.wtr-team-editor__select-form span {
  color: rgba(7,17,31,.72);
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.wtr-team-editor input[type="text"],
.wtr-team-editor input[type="url"],
.wtr-team-editor textarea,
.wtr-team-editor select {
  width: 100%;
  border: 1px solid rgba(7,17,31,.16);
  border-radius: 14px;
  padding: .76rem .85rem;
  background: #fff;
  color: #07111f;
  font: inherit;
  font-weight: 600;
}
.wtr-team-editor textarea {
  resize: vertical;
}
.wtr-team-editor__repeater {
  display: grid;
  gap: .85rem;
}
.wtr-team-editor__mini-card {
  border: 1px solid rgba(7,17,31,.1);
  border-radius: 18px;
  background: rgba(7,17,31,.035);
  padding: 1rem;
}
.wtr-team-editor__mini-card h3 {
  margin-bottom: .75rem;
}
.wtr-team-editor__checkbox {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .75rem;
  font-weight: 900;
}
.wtr-team-editor__section--admin {
  border-color: rgba(15,95,124,.25);
  background: linear-gradient(180deg, rgba(226,246,252,.95), rgba(255,255,255,.96));
}
body.wtr-look-alt .wtr-team-editor,
body.wtr-look-alt-base .wtr-team-editor,
body.wtr-look-dark .wtr-team-editor {
  color: #fff;
}
body.wtr-look-alt .wtr-team-editor__hero,
body.wtr-look-alt .wtr-team-editor__section,
body.wtr-look-alt-base .wtr-team-editor__hero,
body.wtr-look-alt-base .wtr-team-editor__section {
  background: rgba(255,255,255,.94);
  color: #07111f;
}
body.wtr-look-dark .wtr-team-editor__hero,
body.wtr-look-dark .wtr-team-editor__section {
  background: rgba(9,12,18,.92);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
body.wtr-look-dark .wtr-team-editor h1,
body.wtr-look-dark .wtr-team-editor h2,
body.wtr-look-dark .wtr-team-editor h3,
body.wtr-look-dark .wtr-team-editor__field span,
body.wtr-look-dark .wtr-team-editor__select-form span {
  color: #fff;
}
@media (max-width: 760px) {
  .wtr-team-editor__grid { grid-template-columns: 1fr; }
}

/* v0.6.85 - team editor approval notices */
.wtr-team-editor__notice--pending {
  background: rgba(245, 161, 44, .14) !important;
  color: #6d4000 !important;
}
.wtr-team-editor__notice--warning {
  background: rgba(190, 37, 37, .12) !important;
  color: #7a1111 !important;
}
.wtr-team-editor__notice--pending span {
  display: block;
  margin-top: .35rem;
}
body.wtr-look-dark .wtr-team-editor__notice--pending {
  color: #ffd899 !important;
}
body.wtr-look-dark .wtr-team-editor__notice--warning {
  color: #ffb7b7 !important;
}

/* v0.6.86 - increase alternative look team card social icon contrast */
body.wtr-look-alt .wtr-team-card__actions .wtr-team-card__socials--icons a {
  color: #ffffff !important;
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.36) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 22px rgba(0,0,0,.16) !important;
}
body.wtr-look-alt .wtr-team-card__actions .wtr-team-card__socials--icons a:hover,
body.wtr-look-alt .wtr-team-card__actions .wtr-team-card__socials--icons a:focus-visible {
  color: #07111f !important;
  background: rgba(255,255,255,.9) !important;
  border-color: rgba(255,255,255,.95) !important;
}


/* v0.6.87 - nicer team editor repeaters, uploads and gallery controls */
.wtr-team-editor__mini-card-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}
.wtr-team-editor__mini-card-head h3 { margin: 0 !important; }
.wtr-team-editor__remove {
  border: 1px solid rgba(7,17,31,.16);
  border-radius: 999px;
  padding: .45rem .7rem;
  background: rgba(255,255,255,.72);
  color: #07111f;
  font-weight: 900;
  cursor: pointer;
}
.wtr-team-editor__gallery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}
.wtr-team-editor__gallery-item {
  border: 1px solid rgba(7,17,31,.1);
  border-radius: 18px;
  background: rgba(7,17,31,.035);
  padding: .8rem;
}
.wtr-team-editor__gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: .75rem;
}
.wtr-team-editor__upload {
  display: grid;
  gap: .55rem;
  border: 1px dashed rgba(7,17,31,.28);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255,255,255,.55);
  font-weight: 900;
}
.wtr-team-editor__upload input[type="file"] {
  width: 100%;
  padding: .85rem;
  border-radius: 14px;
  background: rgba(7,17,31,.06);
}
.wtr-team-editor__upload small {
  color: rgba(7,17,31,.64);
  font-weight: 800;
}
body.wtr-look-dark .wtr-team-editor__remove,
body.wtr-look-dark .wtr-team-editor__upload {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
}
body.wtr-look-dark .wtr-team-editor__upload small {
  color: rgba(255,255,255,.7);
}
@media (max-width: 760px) {
  .wtr-team-editor__gallery-list { grid-template-columns: 1fr; }
}


/* v0.6.89 - align Team Bio and Gallery with the full-width team sections */
.wtr-team-profile--v17 .wtr-team-profile__about,
.wtr-team-profile--v17 .wtr-team-profile__gallery {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.wtr-team-profile--v17 .wtr-team-profile__about-inner {
  width: 100% !important;
  box-sizing: border-box !important;
}
.wtr-team-profile--v17 .wtr-team-profile__gallery {
  display: block !important;
}


/* v0.6.91 - gallery limit/expandable image viewer */
.wtr-team-profile__gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: inherit;
}
.wtr-team-profile__gallery-trigger span {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  padding: .36rem .6rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(2,8,19,.7);
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.wtr-team-profile__gallery-trigger:hover span,
.wtr-team-profile__gallery-trigger:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}
.wtr-team-profile__gallery-lightbox[hidden] {
  display: none !important;
}
.wtr-team-profile__gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(2,8,19,.88);
  backdrop-filter: blur(10px);
}
.wtr-gallery-lightbox-open {
  overflow: hidden;
}
.wtr-team-profile__gallery-lightbox-panel {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 92vh;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(7,17,31,.94);
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
  overflow: hidden;
}
.wtr-team-profile__gallery-lightbox-panel img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #020813;
}
.wtr-team-profile__gallery-lightbox-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(2,8,19,.78);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.wtr-team-profile__gallery-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  color: rgba(255,255,255,.78);
}
.wtr-team-profile__gallery-lightbox-footer p {
  margin: 0;
}
.wtr-team-profile__gallery-lightbox-footer a {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (max-width: 640px) {
  .wtr-team-profile__gallery-lightbox-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 0.12.1: long boat makers and names wrap inside their cards instead of running out. */
.wtr-team-profile--v17 .wtr-team-profile__boat-card p strong,
.wtr-team-profile--v17 .wtr-team-profile__boat-copy .wtr-team-profile__boat-identity strong { min-width:0; white-space:normal !important; overflow-wrap:anywhere; }
.wtr-team-profile--v17 .wtr-team-profile__boat-card strong,
.wtr-team-profile--v17 .wtr-team-profile__boat-specs dd,
.wtr-team-card__boat-spec-row span,
.wtr-team-card__boat-spec-row strong { min-width:0; white-space:normal !important; overflow-wrap:anywhere; }

/* ==========================================================================
   0.13.0 - Carsten, 12 Nov 2026
   Two chips (class and crew) lead each card, then the rowers with their flag and three-letter code.
   The boat box is gone from the cards. The filters and the "teams shown" line are readable again.
   ========================================================================== */

/* Filters: earlier skin blocks left dark text on the dark panel, and lost the arrow. */
body .wtr-team-directory .wtr-team-directory__controls input,
body .wtr-team-directory .wtr-team-directory__controls select {
  color: rgba(255,255,255,.94) !important;
  background-color: rgba(7,17,31,.9) !important;
  border: 1px solid rgba(147,242,255,.24) !important;
}
body .wtr-team-directory .wtr-team-directory__controls input { background-image: none !important; }
body .wtr-team-directory .wtr-team-directory__controls input::placeholder { color: rgba(255,255,255,.58) !important; }
body .wtr-team-directory .wtr-team-directory__controls select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%2393f2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 14px 9px !important;
  padding-right: 2.8rem !important;
}
body .wtr-team-directory .wtr-team-directory__controls select option { background: #07111f !important; color: #f4f8fb !important; }
body .wtr-team-directory .wtr-team-directory__controls button { color: #fff !important; }
body .wtr-team-directory .wtr-team-directory__count { color: rgba(255,255,255,.74) !important; }

/* Stat tiles: the number and its label sit together. */
body .wtr-team-directory .wtr-team-directory__summary .wtr-team-directory__stats div {
  justify-content: flex-start !important;
  align-items: baseline !important;
  gap: .7rem;
}

/* Chips: class and crew, light blue. */
body .wtr-team-card .wtr-team-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; }
body .wtr-team-card .wtr-team-card__meta .wtr-chip {
  display: inline-flex;
  align-items: center;
  padding: .34rem .68rem;
  border: 1px solid rgba(98,208,245,.5);
  border-radius: 999px;
  background: rgba(98,208,245,.1);
  color: #62d0f5;
  font: 800 .66rem/1 var(--wtr-font-body, Inter, system-ui, sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Rowers: the name on the left, each country as a flag and its code on the right. */
body .wtr-team-card .wtr-team-card__rower-list.wtr-rower-list--tags { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
body .wtr-team-card .wtr-rower-list--tags li { display: flex !important; align-items: center; justify-content: space-between; gap: .7rem; margin: 0; padding: 0; }
body .wtr-team-card .wtr-rower-list--tags .wtr-rower-name { flex: 1 1 auto; min-width: 0; font-size: .9rem !important; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
body .wtr-team-card .wtr-rower-countries { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .6rem; }
body .wtr-team-card .wtr-rower-country { display: inline-flex; align-items: center; gap: .36rem; color: rgba(255,255,255,.8); font: 800 .66rem/1 var(--wtr-font-body, Inter, system-ui, sans-serif); letter-spacing: .1em; }
body .wtr-team-card .wtr-rower-country abbr { text-decoration: none; cursor: help; }
body .wtr-team-card .wtr-rower-country__flag { display: block; width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }

/* Footer icons: bigger to hit with a thumb. */
body .wtr-team-card .wtr-team-card__actions .wtr-team-card__socials--icons a { min-width: 2.1rem; min-height: 2.1rem; }
@media (max-width: 767px) {
  body .wtr-team-card .wtr-team-card__actions .wtr-team-card__socials--icons a { min-width: 2.6rem; min-height: 2.6rem; }
}

/* Small phones: one filter per row, so "All countries" is not cut off. */
@media (max-width: 480px) {
  body .wtr-team-directory .wtr-team-directory__controls { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   0.13.1 - Less empty space at the top of the overview (Barry, 12 Nov 2026).
   The hero was 340px tall with 118px of nothing above the title, then a 72px gap and a 40px panel padding,
   so no team card showed on a laptop screen. Now the filters and the first cards are in view.
   ========================================================================== */
body:has(.wtr-team-directory) .wtr-utility-hero.compact {
  min-height: 0 !important;
  padding: clamp(40px, 3.6vw, 56px) 0 clamp(22px, 2.2vw, 32px) !important;
}
body:has(.wtr-team-directory) .wtr-utility-section.wtr-utility-section {
  padding-top: clamp(18px, 2vw, 28px) !important;
  padding-bottom: clamp(40px, 4vw, 64px) !important;
}
body:has(.wtr-team-directory) .wtr-utility-content {
  padding: clamp(16px, 1.8vw, 24px) clamp(16px, 2vw, 30px) clamp(24px, 2.4vw, 36px) !important;
}

/* The three figures: a slim row of chips instead of three wide, mostly empty tiles. */
body .wtr-team-directory .wtr-team-directory__summary .wtr-team-directory__stats {
  display: flex !important;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 .85rem !important;
}
body .wtr-team-directory .wtr-team-directory__summary .wtr-team-directory__stats div {
  flex: 0 0 auto;
  min-height: 0 !important;
  padding: .5rem 1rem !important;
  border-radius: 14px !important;
}
body .wtr-team-directory .wtr-team-directory__stats strong { font-size: 1.5rem !important; line-height: 1 !important; }
body .wtr-team-directory .wtr-team-directory__controls { margin: 0 0 .6rem !important; }
@media (max-width: 560px) {
  body .wtr-team-directory .wtr-team-directory__summary .wtr-team-directory__stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
  }
  body .wtr-team-directory .wtr-team-directory__summary .wtr-team-directory__stats div {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .25rem !important;
    padding: .5rem .4rem !important;
  }
  body .wtr-team-directory .wtr-team-directory__stats strong { font-size: 1.25rem !important; }
}

/* ==========================================================================
   0.14.0 - Team page, new layout (Carsten, 12 Nov 2026). Everything is under .wtr-tp, so the old
   .wtr-team-profile rules above no longer touch the page. Drop 1: hero, numbers, story and charity,
   line-up, boat, race strip, media line, next team. Race mode pieces come later.
   ========================================================================== */
body:has(.wtr-tp) .wtr-team-single-main { padding: 0 !important; margin: 0 !important; min-height: 0 !important; background: #000 !important; }
body:has(.wtr-tp) .wtr-team-single-page { padding: 0 !important; margin: 0 !important; background: #000 !important; }
.wtr-tp {
  --tp-accent: var(--wtr-c-accent, #62d0f5);
  --tp-display: var(--wtr-font-display, "Anton", "Impact", "Arial Narrow Bold", sans-serif);
  --tp-body: var(--wtr-font-body, "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);
  position: relative; overflow: hidden; background: #000; color: #fff; font-family: var(--tp-body);
}
.wtr-tp *, .wtr-tp *::before, .wtr-tp *::after { box-sizing: border-box; }
.wtr-tp a { color: inherit; }
.wtr-tp-wrap { width: min(calc(100% - (var(--wtr-site-gutter, 24px) * 2)), var(--wtr-site-rail, 1360px)); margin: 0 auto; }
.wtr-tp-label { margin: 0 0 14px; color: var(--tp-accent); font: 800 .78rem/1 var(--tp-body); letter-spacing: .18em; text-transform: uppercase; }
.wtr-tp-h2 { margin: 0; font: 400 clamp(2.6rem, 5vw, 5rem)/.96 var(--tp-display); text-transform: uppercase; }

/* Buttons */
.wtr-tp-btn {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 52px; padding: 0 1.7rem;
  border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff;
  font: 900 .8rem/1 var(--tp-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.wtr-tp-btn:hover, .wtr-tp-btn:focus-visible { background: #fff; border-color: #fff; color: #000; }
.wtr-tp-btn.is-solid { background: var(--tp-accent); border-color: var(--tp-accent); color: #000; }
.wtr-tp-btn.is-solid:hover, .wtr-tp-btn.is-solid:focus-visible { background: #fff; border-color: #fff; color: #000; }

/* Hero: the photo runs edge to edge under a dark fade, the name on top. */
.wtr-tp-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(560px, 80vh, 780px); background: #050a10; }
.wtr-tp-hero-media { position: absolute; inset: 0; }
.wtr-tp-hero-media img, .wtr-tp-hero-media .wtr-team-card__placeholder { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 66% 38%; }
.wtr-tp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.62) 34%, rgba(0,0,0,.12) 66%, rgba(0,0,0,0) 100%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.55) 20%, rgba(0,0,0,0) 52%);
}
.wtr-tp-hero-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(36px, 5vw, 72px); }
.wtr-tp-back { display: inline-block; margin-bottom: clamp(22px, 4vw, 52px); color: rgba(255,255,255,.85); font: 800 .74rem/1 var(--tp-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.wtr-tp-back::before { content: "‹"; margin-right: .6em; font-size: 1.2em; }
.wtr-tp-back:hover, .wtr-tp-back:focus-visible { color: var(--tp-accent); }
.wtr-tp-eyebrow { margin: 0 0 14px; color: var(--tp-accent); font: 800 clamp(.78rem, 1vw, .95rem)/1 var(--tp-body); letter-spacing: .2em; text-transform: uppercase; }
.wtr-tp-title { margin: 0; max-width: 8.6em; font: 400 clamp(3.2rem, 9vw, 9rem)/.9 var(--tp-display); text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.wtr-tp-countries { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; margin-top: clamp(18px, 2.4vw, 28px); }
.wtr-tp .wtr-rower-countries { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.wtr-tp .wtr-rower-country { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.92); font: 800 .8rem/1 var(--tp-body); letter-spacing: .12em; }
.wtr-tp .wtr-rower-country abbr { text-decoration: none; cursor: help; }
.wtr-tp .wtr-rower-country__flag { display: block; width: 28px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.28); }
.wtr-tp-follow {
  display: inline-flex; align-items: center; gap: .85rem; margin-top: clamp(22px, 3vw, 34px); padding: 1.2rem 2.1rem;
  border-radius: 999px; background: var(--tp-accent); color: #000; font: 900 clamp(.85rem, 1.1vw, 1rem)/1 var(--tp-body);
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; box-shadow: 0 18px 50px rgba(98,208,245,.26);
  transition: background .2s ease, transform .2s ease;
}
/* 0.18.9: the Follow button behaves exactly like the Support button on hover: white, with black text, no lift and no extra glow. (In 0.18.7 and earlier its text stayed white on hover, so the words vanished.) */
.wtr-tp-follow:hover, .wtr-tp-follow:focus-visible { background: #fff; color: #000; }
/* The text is black in every state, whatever link colour the rest of the site sets. */
body .wtr-tp a.wtr-tp-follow, body .wtr-tp a.wtr-tp-follow:hover, body .wtr-tp a.wtr-tp-follow:focus-visible, body .wtr-tp a.wtr-tp-follow:visited,
body .wtr-tp a.wtr-tp-btn.is-solid, body .wtr-tp a.wtr-tp-btn.is-solid:hover, body .wtr-tp a.wtr-tp-btn.is-solid:focus-visible, body .wtr-tp a.wtr-tp-btn.is-solid:visited { color: #000; }
.wtr-tp-follow .wtr-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #e5322d; animation: wtr-tp-pulse 1.8s ease-out infinite; }
@keyframes wtr-tp-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,50,45,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(229,50,45,0); } }
@media (prefers-reduced-motion: reduce) { .wtr-tp-follow .wtr-live-dot { animation: none; } }
.wtr-tp-crew-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; margin-top: clamp(22px, 3vw, 32px); }
.wtr-tp-crew-links-label { color: rgba(255,255,255,.78); font: 800 .72rem/1 var(--tp-body); letter-spacing: .18em; text-transform: uppercase; }
.wtr-tp .wtr-tp-crew-links .wtr-team-card__socials { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; }
.wtr-tp .wtr-tp-crew-links .wtr-team-card__socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; min-width: 46px; min-height: 46px; padding: 0;
  border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .2s ease, color .2s ease;
}
.wtr-tp .wtr-tp-crew-links .wtr-team-card__socials a:hover, .wtr-tp .wtr-tp-crew-links .wtr-team-card__socials a:focus-visible { background: var(--tp-accent); border-color: var(--tp-accent); color: #000; }
.wtr-tp .wtr-tp-crew-links .wtr-team-card__socials svg { width: 20px; height: 20px; fill: currentColor; }

/* Numbers band */
.wtr-tp-numbers { background: #000; border-bottom: 1px solid rgba(255,255,255,.12); }
.wtr-tp-numbers ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; margin: 0; padding: clamp(28px, 4vw, 52px) 0; list-style: none; }
.wtr-tp-numbers strong { display: block; font: 400 clamp(3rem, 6vw, 5.8rem)/.95 var(--tp-display); }
.wtr-tp-numbers span { display: block; margin-top: .65rem; color: var(--tp-accent); font: 800 .8rem/1 var(--tp-body); letter-spacing: .2em; text-transform: uppercase; }

/* Their story, on dark blue with no box, and who they are rowing for */
.wtr-tp-story { padding: clamp(56px, 7vw, 110px) 0; background: #071a2e; }
.wtr-tp-story-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.wtr-tp-story--charity-only .wtr-tp-story-grid { grid-template-columns: minmax(0, 560px); }
.wtr-tp-story-quote { margin: 0 0 clamp(20px, 3vw, 34px); font: 400 clamp(2.4rem, 4.6vw, 4.6rem)/1 var(--tp-display); text-transform: uppercase; text-wrap: balance; }
.wtr-tp-story-text { max-width: 68ch; margin-top: clamp(18px, 2.4vw, 28px); color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; }
.wtr-tp-story-text p { margin: 0 0 1em; }
.wtr-tp-story-quote + .wtr-tp-story-text { margin-top: 0; }
.wtr-tp-rowing-for { padding-left: clamp(20px, 3vw, 40px); border-left: 2px solid var(--tp-accent); }
.wtr-tp-rowing-for h3 { margin: 0 0 12px; font: 400 clamp(1.8rem, 2.6vw, 2.6rem)/1.05 var(--tp-display); text-transform: uppercase; }
.wtr-tp-rowing-for p:not(.wtr-tp-label) { margin: 0 0 22px; color: rgba(255,255,255,.86); line-height: 1.6; }
.wtr-tp-charity-logo { display: block; width: auto; max-height: 44px; margin: 0 0 16px; }
.wtr-tp-more-causes { margin: 20px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.72); font-size: .92rem; }
.wtr-tp-more-causes li + li { margin-top: .35rem; }
.wtr-tp-more-causes a { text-decoration: underline; text-underline-offset: 3px; }

/* The line-up */
.wtr-tp-crew { padding: clamp(56px, 7vw, 110px) 0; background: #000; }
.wtr-tp-lineup { display: grid; grid-template-columns: repeat(var(--wtr-n, 4), minmax(0, 1fr)); max-width: calc(var(--wtr-n, 4) * 340px); margin: clamp(28px, 4vw, 48px) auto 0; gap: clamp(12px, 1.6vw, 24px); }
.wtr-tp-rower-wrap { min-width: 0; }
.wtr-tp-rower { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; background: #0b1d33; }
.wtr-tp-rower-photo, .wtr-tp-rower-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wtr-tp-rower-photo img { object-fit: cover; object-position: 50% 22%; }
.wtr-tp-rower-photo span { display: grid; place-items: center; height: 100%; color: rgba(255,255,255,.4); font: 400 4rem/1 var(--tp-display); }
.wtr-tp-rower::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 28%, rgba(0,0,0,0) 58%); pointer-events: none; }
.wtr-tp-rower-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(14px, 1.6vw, 22px); }
.wtr-tp-rower h3 { margin: 0 0 .65rem; font: 400 clamp(1.4rem, 2.1vw, 2.1rem)/1 var(--tp-display); text-transform: uppercase; overflow-wrap: anywhere; }
.wtr-tp-rower .wtr-rower-country { font-size: .74rem; }
.wtr-tp-rower .wtr-rower-country__flag { width: 24px; height: 17px; }
.wtr-tp-rower-more { margin: .7rem 0 0; padding: .5rem 0; border: 0; background: none; color: var(--tp-accent); font: 800 .72rem/1 var(--tp-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.wtr-tp-rower-bio { margin-top: .7rem; color: rgba(255,255,255,.84); font-size: .92rem; line-height: 1.55; }
.wtr-tp-rower-bio[hidden] { display: none; }

/* Pieces carried over from the old layout (race status, gallery, records), shown only when a crew has them */
.wtr-tp-legacy { padding: clamp(32px, 5vw, 72px) 0; }
.wtr-tp-legacy > section { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }

/* The boat, on a dark blue blueprint grid */
.wtr-tp-boat {
  position: relative; padding: clamp(56px, 7vw, 112px) 0 clamp(48px, 6vw, 88px); background-color: #08213b;
  background-image:
    linear-gradient(rgba(98,208,245,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(98,208,245,.11) 1px, transparent 1px),
    linear-gradient(rgba(98,208,245,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(98,208,245,.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: center top;
}
.wtr-tp-boat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 58%, rgba(8,33,59,0) 0%, rgba(3,14,26,.72) 100%); pointer-events: none; }
.wtr-tp-boat .wtr-tp-wrap { position: relative; z-index: 1; }
.wtr-tp-boat-h2 { margin: 0; font: 400 clamp(3rem, 7.4vw, 7.6rem)/.92 var(--tp-display); text-transform: uppercase; }
.wtr-tp-boat-h2 span { display: inline-block; }
.wtr-tp-boat-line { margin: 18px 0 0; max-width: 40ch; color: rgba(255,255,255,.92); font-size: clamp(1.05rem, 1.6vw, 1.45rem); line-height: 1.4; }
.wtr-tp-boat-drawing { margin: clamp(32px, 5vw, 64px) auto 0; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.wtr-tp-boat-drawing svg, .wtr-tp-boat-drawing img { display: block; width: 100%; height: auto; }
.wtr-tp-specs { display: flex; flex-wrap: wrap; gap: .9rem 2.4rem; margin: clamp(24px, 3vw, 40px) 0 0; padding: 22px 0 0; border-top: 1px solid rgba(98,208,245,.4); }
.wtr-tp-specs > div { display: flex; align-items: baseline; gap: .7rem; margin: 0; }
.wtr-tp-specs dt { margin: 0; color: var(--tp-accent); font: 800 .7rem/1 var(--tp-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-tp-specs dd { margin: 0; color: #fff; font: 700 1.05rem/1.2 var(--tp-body); }

/* The race strip */
.wtr-tp-race { position: relative; padding: clamp(64px, 8vw, 128px) 0; background: #000; overflow: hidden; }
.wtr-tp-race .wtr-tp-btn:not(.is-solid) { background: #000; }
.wtr-tp-race .wtr-tp-btn:not(.is-solid):hover, .wtr-tp-race .wtr-tp-btn:not(.is-solid):focus-visible { background: #fff; }
.wtr-tp-race .wtr-tp-wrap { position: relative; z-index: 1; }
.wtr-tp-race-h2 { margin: 0; font: 400 clamp(2.8rem, 7.4vw, 7.6rem)/.95 var(--tp-display); text-transform: uppercase; text-wrap: balance; }
.wtr-tp-race-line { margin: 18px 0 0; color: rgba(255,255,255,.88); font: 700 clamp(.85rem, 1.25vw, 1.1rem)/1.5 var(--tp-body); letter-spacing: .1em; text-transform: uppercase; }
.wtr-tp-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 3vw, 40px); }

/* Media: one slim line */
.wtr-tp-media { background: #0d0d0d; border-top: 1px solid rgba(255,255,255,.1); }
.wtr-tp-media-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 2rem; padding: 22px 0; }
.wtr-tp-media-inner p { margin: 0; color: rgba(255,255,255,.84); font-size: .95rem; line-height: 1.5; }
.wtr-tp-media-inner strong { margin-right: .8rem; color: var(--tp-accent); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.wtr-tp-media-link { font: 900 .76rem/1 var(--tp-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #fff; }
.wtr-tp-media-link:hover, .wtr-tp-media-link:focus-visible { color: var(--tp-accent); }

/* Next team */
.wtr-tp-next { position: relative; display: flex; align-items: flex-end; min-height: clamp(260px, 34vw, 440px); overflow: hidden; background: #050a10; color: #fff; text-decoration: none; }
.wtr-tp-next-media, .wtr-tp-next-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.wtr-tp-next-media img { object-fit: cover; object-position: 60% 40%; transition: transform .6s ease; }
.wtr-tp-next::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.2) 100%); }
.wtr-tp-next-inner { position: relative; z-index: 2; display: block; padding: clamp(28px, 4vw, 56px) 0; }
.wtr-tp { padding-bottom: clamp(20px, 3vw, 36px); }
.wtr-tp-next-label { display: block; margin-bottom: 12px; color: var(--tp-accent); font: 800 .78rem/1 var(--tp-body); letter-spacing: .2em; text-transform: uppercase; }
.wtr-tp-next-name { display: block; font: 400 clamp(2.6rem, 7vw, 7rem)/.95 var(--tp-display); text-transform: uppercase; text-wrap: balance; }
.wtr-tp-next-name span { display: inline-block; transition: transform .25s ease; }
.wtr-tp-next:hover .wtr-tp-next-media img, .wtr-tp-next:focus-visible .wtr-tp-next-media img { transform: scale(1.04); }
.wtr-tp-next:hover .wtr-tp-next-name span, .wtr-tp-next:focus-visible .wtr-tp-next-name span { transform: translateX(12px); }

/* Tablets and phones */
@media (max-width: 860px) {
  .wtr-tp-story-grid, .wtr-tp-story--charity-only .wtr-tp-story-grid { grid-template-columns: minmax(0, 1fr); }
  .wtr-tp-rowing-for { padding: 26px 0 0; border-left: 0; border-top: 2px solid var(--tp-accent); }
}
@media (max-width: 767px) {
  .wtr-tp-hero { display: block; min-height: 0; }
  .wtr-tp-hero-media { position: relative; inset: auto; height: min(112vw, 520px); }
  .wtr-tp-hero::before { inset: 0 0 auto 0; height: min(112vw, 520px); background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.4) 24%, rgba(0,0,0,0) 56%); }
  .wtr-tp-hero-media img, .wtr-tp-hero-media .wtr-team-card__placeholder { object-position: 62% 30%; }
  .wtr-tp-hero-inner { margin-top: -96px; padding-top: 0; padding-bottom: 36px; }
  .wtr-tp-back { margin-bottom: 16px; }
  .wtr-tp-title { max-width: none; font-size: clamp(3rem, 15vw, 5rem); }
  .wtr-tp-follow { display: flex; justify-content: center; width: 100%; }
  .wtr-tp-numbers ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; }
  .wtr-tp-lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wtr-tp-lineup[style*="--wtr-n:1"] { grid-template-columns: minmax(0, 72%); }
  .wtr-tp-rower { border-radius: 14px; }
  .wtr-tp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
  .wtr-tp-specs > div { display: block; }
  .wtr-tp-specs dt { display: block; margin-bottom: .45rem; }
  .wtr-tp-specs .wtr-tp-spec-model { grid-column: 1 / -1; }
  .wtr-tp-btns .wtr-tp-btn { width: 100%; justify-content: center; }
  .wtr-tp-media-inner { flex-direction: column; align-items: flex-start; }
}

/* Their own fundraising page is the Support button, so the charity's own site becomes a small link under it. */
.wtr-tp-rowing-for .wtr-tp-charity-site { margin: 16px 0 0 !important; font-size: .9rem; }
.wtr-tp-rowing-for .wtr-tp-charity-site a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 3px; }

/* The theme caps every page headline (h1 96px, h2 56px, h3 28px, all !important). On the team page the crew name and
   the section headlines are meant to be big, so they say so here: same !important, stronger selector. */
body .wtr-tp .wtr-tp-title { max-width: 9em; font-size: clamp(3.2rem, 8.4vw, 8.5rem) !important; }
body .wtr-tp .wtr-tp-h2 { font-size: clamp(2.6rem, 5vw, 5rem) !important; }
body .wtr-tp .wtr-tp-story-quote { font-size: clamp(2.4rem, 4.4vw, 4.4rem) !important; }
body .wtr-tp .wtr-tp-boat-h2 { font-size: clamp(3rem, 7vw, 7.2rem) !important; }
body .wtr-tp .wtr-tp-race-h2 { font-size: clamp(2.8rem, 5.4vw, 5.8rem) !important; }
body .wtr-tp .wtr-tp-rower h3 { font-size: clamp(1.4rem, 2.1vw, 2.1rem) !important; }
body .wtr-tp .wtr-tp-rowing-for h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem) !important; }
@media (max-width: 767px) {
  body .wtr-tp .wtr-tp-title { max-width: none; font-size: clamp(2.8rem, 14vw, 4.6rem) !important; }
  body .wtr-tp .wtr-tp-h2 { font-size: clamp(2.4rem, 11vw, 3.4rem) !important; }
  body .wtr-tp .wtr-tp-boat-h2, body .wtr-tp .wtr-tp-race-h2 { font-size: clamp(2.6rem, 12.5vw, 4rem) !important; }
  body .wtr-tp .wtr-tp-story-quote { font-size: clamp(2.2rem, 9.5vw, 3.2rem) !important; }
}

/* ---- 0.17.0: race numbers, photos and the rehearsal bar ---- */
.wtr-tp-statustag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; font: 800 .72rem/1 var(--tp-body); letter-spacing: .14em; text-transform: uppercase; }
.wtr-tp-statustag.is-live { border-color: #e5483b; }
.wtr-tp-statustag.is-finished { border-color: var(--tp-accent); background: var(--tp-accent); color: #000; }
.wtr-tp-statustag em { margin-left: 4px; font-style: normal; opacity: .7; }
.wtr-tp-numbers-note { margin: 0 0 14px; color: rgba(255,255,255,.72); font: 700 .72rem/1.4 var(--tp-body); letter-spacing: .14em; text-transform: uppercase; }

.wtr-tp-pictures { padding: clamp(56px, 7vw, 112px) 0; background: #000; }
.wtr-tp-pics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; list-style: none; }
.wtr-tp-pics li { margin: 0; }
.wtr-tp-pics a { display: block; overflow: hidden; border-radius: 12px; background: #161616; aspect-ratio: 3 / 2; }
.wtr-tp-pics img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wtr-tp-pics a:hover img, .wtr-tp-pics a:focus-visible img { transform: scale(1.04); }
.wtr-tp-pics-credit { margin: 14px 0 0; color: rgba(255,255,255,.72); font: 500 .85rem/1.4 var(--tp-body); }
@media (max-width: 1023px) { .wtr-tp-pics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .wtr-tp-pics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.wtr-team-card__media { position: relative; }
.wtr-team-card__tag { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e5483b; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font: 800 .66rem/1 sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.wtr-team-card__tag.is-finished { border-color: #62d0f5; background: #62d0f5; color: #000; }
.wtr-team-card__status { margin: 8px 0 0; color: #62d0f5; font: 700 .7rem/1.45 sans-serif; letter-spacing: .08em; text-transform: uppercase; }

.wtr-rehearsal-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99998; padding: 10px 16px; border-top: 1px solid #f5d36b; background: #1a1400; color: #f5d36b; font: 600 13px/1.4 system-ui, sans-serif; text-align: center; }
.wtr-rehearsal-bar a { margin-left: 10px; color: #fff; text-decoration: underline; }
.wtr-tp-numbers.is-race strong { text-transform: uppercase; }

/* ---- 0.18.0: retired, race updates and Straight from the ocean ---- */
.wtr-tp-statustag.is-retired { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.14); }
.wtr-team-card__tag.is-retired { border-color: rgba(255,255,255,.5); background: rgba(40,40,40,.85); color: #fff; }
.wtr-tp-numbers.is-race .wtr-tp-numbers-note { max-width: 62ch; text-transform: none; letter-spacing: .02em; font-size: .95rem; font-weight: 600; }
.wtr-tp-update { margin: 18px 0 0; max-width: 70ch; color: #fff; font: 600 .95rem/1.5 var(--tp-body); }
.wtr-tp-update strong { margin-right: 8px; color: var(--tp-accent); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.wtr-tp-update em { margin-left: 8px; color: rgba(255,255,255,.6); font-style: normal; font-weight: 500; font-size: .8rem; }

.wtr-tp-ocean { padding: clamp(56px, 7vw, 112px) 0; background: #0d0d0d; }
.wtr-tp-ocean-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; list-style: none; }
.wtr-tp-ocean-tiles li { margin: 0; }
.wtr-tp-ocean-tiles a { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #161616; aspect-ratio: 4 / 5; }
.wtr-tp-ocean-tiles img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wtr-tp-ocean-tiles a:hover img, .wtr-tp-ocean-tiles a:focus-visible img { transform: scale(1.04); }
.wtr-tp-ocean-meta { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.7); color: #fff; font: 700 .68rem/1 var(--tp-body); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1023px) { .wtr-tp-ocean-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- 0.18.2: spacing and polish, closer to Carsten's mockup ---- */
/* The sections were about 40% airier than his mockup (more than 230px of empty black between two blocks of content). */
.wtr-tp-story, .wtr-tp-crew, .wtr-tp-pictures, .wtr-tp-ocean { padding: clamp(44px, 5vw, 80px) 0 clamp(40px, 4.2vw, 64px); }
.wtr-tp-boat { padding: clamp(48px, 5.4vw, 88px) 0 clamp(40px, 4.6vw, 68px); }
.wtr-tp-race { padding: clamp(44px, 5vw, 80px) 0; }
/* A crew with a fundraising link but no story or charity yet: a slim strip, not a full band with one button. */
.wtr-tp-story.wtr-tp-story--charity-only { padding: clamp(24px, 3vw, 40px) 0; }
/* In a race the numbers are the news, so the hero is a little shorter and they show on a laptop screen without scrolling. */
.wtr-tp-hero.is-race { min-height: clamp(520px, 70vh, 700px); }
/* The status tag sits on its own line under the back link, as in the mockup, instead of beside it. */
.wtr-tp-statustag { display: flex; width: max-content; max-width: 100%; margin-top: calc(16px - clamp(22px, 4vw, 52px)); }

/* ---- 0.18.3: closer to the spec ---- */
/* The small line above the numbers is a small uppercase line ("LIVE FROM THE TRACKER · UPDATED 14:00 UTC · NEXT UPDATE 18:00"); only a retired crew's own words stay in sentence case. */
.wtr-tp-numbers.is-race .wtr-tp-numbers-note { max-width: none; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; }
.wtr-tp-numbers.is-race.is-retired .wtr-tp-numbers-note { max-width: 62ch; text-transform: none; letter-spacing: .02em; font-size: .95rem; font-weight: 600; }
.wtr-team-directory__live { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: rgba(255,255,255,.72); font: 700 .72rem/1.4 sans-serif; letter-spacing: .14em; text-transform: uppercase; }

/* ---- 0.21.0: rower info and the media line under the photos ---- */
.wtr-tp-rower-facts { margin: .55rem 0 0; color: rgba(255,255,255,.84); font: 700 .66rem/1.45 var(--tp-body); letter-spacing: .1em; text-transform: uppercase; }
.wtr-tp-pictures:has(+ .wtr-tp-media) { padding-bottom: clamp(24px, 3vw, 40px); }

/* 0.23.0 (Carsten, 13 Nov): the crew logo, a small badge top right of the team page header. Same frame for every crew, so
   weaker logos still look tidy. The logo is drawn in white (a crew's white version is shown as it is). Never on the cards. */
.wtr-tp-logo { position: absolute; z-index: 3; top: clamp(16px, 2.4vw, 28px); right: max(16px, calc((100% - 1180px) / 2)); box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; padding: 12px; border: 1px solid rgba(255, 255, 255, .78); border-radius: 16px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wtr-tp-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); }
.wtr-tp-logo.is-white img { filter: none; }
@media (max-width: 640px) { .wtr-tp-logo { width: 52px; height: 52px; padding: 8px; border-radius: 12px; right: 16px; } }

/* Unfiltered: the crew's own videos (tiles are styled by the theme's live.css) */
.wtr-tp-unf { padding: clamp(40px, 5vw, 72px) 0; background: #000; }
@media (max-width: 899px) { .wtr-tp-unf .wtr-lv-vids { grid-template-columns: none; } }


/* ==========================================================================
   0.24.0 - The race strip's route (Carsten's iPhone screenshot, Barry's notes, 13 Nov).
   The route lies as it does on a map, north up: an east to west crossing STARTS ON THE RIGHT and FINISHES ON THE LEFT, dropping as it
   goes south. START and FINISH have their names and coordinates. A fine bright dotted line is what is left, a solid line is what the
   crew has rowed, and in race mode the red dot opens a card (hover, tap or keyboard) with the percentage, distance to go, speed and day.
   ========================================================================== */
.wtr-tp-route { position: relative; grid-column: 1 / -1; margin-top: clamp(30px, 3.6vw, 56px); }
.wtr-tp-route-stage { position: relative; height: clamp(176px, 19vw, 262px); }
/* A faint chart grid behind the route, fading out at the edges, so it reads as a map and not an empty box. */
.wtr-tp-route-stage::before { content: ""; position: absolute; inset: -14px 0 0; background-image: linear-gradient(rgba(170, 216, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(170, 216, 255, .07) 1px, transparent 1px); background-size: 12.5% 25%; -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 48%, #000 28%, transparent 78%); mask-image: radial-gradient(ellipse 62% 78% at 50% 48%, #000 28%, transparent 78%); pointer-events: none; }
.wtr-tp-route-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wtr-tp-route-line path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.wtr-tp-route-line .is-todo { stroke: rgba(170, 216, 255, .78); stroke-width: 1.4px; stroke-dasharray: .1 7; }
.wtr-tp-route-line .is-done { stroke: var(--tp-accent, #62d0f5); stroke-width: 2.6px; filter: drop-shadow(0 0 6px rgba(98, 208, 245, .55)); }
.wtr-tp-drop { position: absolute; width: 0; border-left: 1px dashed rgba(255, 255, 255, .2); transform: translateX(-.5px); pointer-events: none; }
.wtr-tp-pin { position: absolute; z-index: 2; box-sizing: border-box; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: none; }
.wtr-tp-pin.is-start { border: 2px solid #fff; background: #000; }
.wtr-tp-pin.is-finish { border: 2px solid var(--tp-accent, #62d0f5); background: radial-gradient(circle, var(--tp-accent, #62d0f5) 0 3px, #000 4px); box-shadow: 0 0 0 6px rgba(98, 208, 245, .16); }
.wtr-tp-route-ends { display: flex; justify-content: space-between; gap: 24px; margin-top: 16px; }
.wtr-tp-end { max-width: 48%; margin: 0; }
.wtr-tp-end.is-right { margin-left: auto; text-align: right; }
.wtr-tp-end-tag { display: block; margin-bottom: 7px; color: var(--tp-accent, #62d0f5); font: 800 11px/1 var(--tp-body); letter-spacing: .2em; text-transform: uppercase; }
.wtr-tp-end b { display: block; color: #fff; font: 700 clamp(14px, 1.25vw, 18px)/1.3 var(--tp-body); letter-spacing: .02em; }
.wtr-tp-end em { display: block; margin-top: 4px; color: rgba(255, 255, 255, .66); font: 600 12px/1.3 var(--tp-body); font-style: normal; letter-spacing: .08em; font-variant-numeric: tabular-nums; }

/* The crew: a red dot, its percentage, and the card */
.wtr-tp-rcrew { position: absolute; z-index: 5; width: 0; height: 0; }
.wtr-tp-rcrew-dot { position: absolute; left: -22px; top: -22px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wtr-tp-rcrew-dot span { position: relative; display: block; width: 16px; height: 16px; border-radius: 50%; background: #e5483b; box-shadow: 0 0 0 5px rgba(229, 72, 59, .22); transition: transform .18s ease; }
.wtr-tp-rcrew-dot span::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(229, 72, 59, .7); animation: wtr-tp-crew-ping 2.4s ease-out infinite; }
@keyframes wtr-tp-crew-ping { 0% { transform: scale(.7); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.wtr-tp-rcrew:hover .wtr-tp-rcrew-dot span, .wtr-tp-rcrew.is-open .wtr-tp-rcrew-dot span { transform: scale(1.18); }
.wtr-tp-rcrew-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wtr-tp-rcrew.is-finished .wtr-tp-rcrew-dot span { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); }
.wtr-tp-rcrew.is-finished .wtr-tp-rcrew-dot span::after { display: none; }
.wtr-tp-rcrew:hover .wtr-tp-rcrew-pct, .wtr-tp-rcrew:focus-within .wtr-tp-rcrew-pct, .wtr-tp-rcrew.is-open .wtr-tp-rcrew-pct { opacity: 0; }
.wtr-tp-rcrew-pct { transition: opacity .12s ease; position: absolute; left: 0; top: 17px; transform: translateX(-50%); color: #fff; font: 800 12px/1 var(--tp-body); letter-spacing: .06em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px #000; pointer-events: none; }
.wtr-tp-tip { --tip-shift: 0px; position: absolute; left: 0; bottom: 30px; width: max-content; min-width: 250px; max-width: min(360px, calc(100vw - 32px)); box-sizing: border-box; padding: 12px 15px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; background: rgba(8, 12, 18, .97); box-shadow: 0 18px 44px rgba(0, 0, 0, .6); color: #fff; text-align: left; opacity: 0; visibility: hidden; transform: translate(calc(-50% + var(--tip-shift)), 6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; pointer-events: none; }
.wtr-tp-tip::after { content: ""; position: absolute; left: calc(50% - var(--tip-shift)); bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: rgba(8, 12, 18, .97); border-right: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); transform: rotate(45deg); }
/* Early in the race the dot is near the top, so the card opens below it instead (the script decides). */
.wtr-tp-rcrew.is-below .wtr-tp-tip { bottom: auto; top: 30px; transform: translate(calc(-50% + var(--tip-shift)), -6px); }
.wtr-tp-rcrew.is-below .wtr-tp-tip::after { bottom: auto; top: -6px; border: 0; border-left: 1px solid rgba(255, 255, 255, .22); border-top: 1px solid rgba(255, 255, 255, .22); }
.wtr-tp-rcrew.is-dismissed .wtr-tp-tip { opacity: 0 !important; visibility: hidden !important; }
.wtr-tp-rcrew:hover .wtr-tp-tip, .wtr-tp-rcrew:focus-within .wtr-tp-tip, .wtr-tp-rcrew.is-open .wtr-tp-tip { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--tip-shift)), 0); pointer-events: auto; }
.wtr-tp-tip p { margin: 0; }
.wtr-tp-tip-big { display: flex; align-items: baseline; gap: 10px; }
.wtr-tp-tip-big b { color: #fff; font: 400 clamp(34px, 3vw, 42px)/1 var(--tp-display); letter-spacing: .01em; }
.wtr-tp-tip-big span { color: rgba(255, 255, 255, .85); font: 600 13px/1.25 var(--tp-body); }
.wtr-tp-tip-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 8px 16px; margin: 9px 0 0; padding: 9px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.wtr-tp-tip-facts dt { margin: 0 0 3px; color: rgba(255, 255, 255, .55); font: 800 9.5px/1.2 var(--tp-body); letter-spacing: .15em; text-transform: uppercase; }
.wtr-tp-tip-facts dd { margin: 0; color: #fff; font: 800 15px/1.2 var(--tp-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wtr-tp-tip-foot { margin-top: 8px !important; color: rgba(255, 255, 255, .5); font: 600 11px/1.3 var(--tp-body); letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .wtr-tp-rcrew-dot span::after { animation: none; display: none; } .wtr-tp-tip { transition: none; } }

/* Phones: the buttons first, then the route as its own block (nothing sits behind the buttons any more), with START and FINISH under its two ends */
@media (max-width: 760px) {
  .wtr-tp-tip { min-width: min(330px, calc(100vw - 32px)); }
}

/* ==========================================================================
   Laptop (from 1100px): the whole strip is one map, as in Barry's drawing. The heading is top left, the START label top right with the
   line leaving it steeply, the arch coming down and levelling out to the FINISH on the left, whose label sits under it, and the two buttons
   dropped to the empty lower right corner under the arch. Below 1100px it stays stacked (heading, buttons, then the route).
   ========================================================================== */
@media (min-width: 1100px) {
  .wtr-tp-race .wtr-tp-wrap { position: relative; display: block; min-height: clamp(380px, 29vw, 500px); }
  .wtr-tp-race .wtr-tp-label, .wtr-tp-race .wtr-tp-race-h2, .wtr-tp-race .wtr-tp-race-line { position: relative; z-index: 3; }
  /* level with the finish pin: every race draws the same arch, whose finish pin is 250/420 of the way down */
  .wtr-tp-race .wtr-tp-btns { position: absolute; z-index: 4; right: 0; top: 59.52%; transform: translateY(-50%); margin: 0; flex-wrap: nowrap; }
  /* no z-index here, so the red dot's card (z-index 5) sits above the heading (3) and the buttons (4), not under them */
  .wtr-tp-race .wtr-tp-route { position: absolute; inset: 0; margin: 0; pointer-events: none; }
  .wtr-tp-race .wtr-tp-route-stage { position: absolute; inset: 0; height: auto; }
  .wtr-tp-race .wtr-tp-route-stage::before { inset: 0; }
  .wtr-tp-race .wtr-tp-rcrew, .wtr-tp-race .wtr-tp-tip { pointer-events: auto; }
  .wtr-tp-race .wtr-tp-drop { display: none; }
  .wtr-tp-race .wtr-tp-route-ends { display: block; margin: 0; }
  .wtr-tp-race .wtr-tp-end { position: absolute; z-index: 3; max-width: 38%; }
  .wtr-tp-race .wtr-tp-end.is-left { left: 0; text-align: left; }
  .wtr-tp-race .wtr-tp-end.is-right { right: 0; margin: 0; text-align: right; }
  .wtr-tp-race .wtr-tp-end.is-above { bottom: calc(100% - var(--y) + 26px); }
  .wtr-tp-race .wtr-tp-end.is-below { top: calc(var(--y) + 30px); }
}

/* ==========================================================================
   Phones and tablets (below 1100px): heading, buttons, then the route as its own composition. START sits above it at the right, the arch
   comes down from its pin, and FINISH sits below it at the left, with a fine dotted line from each pin to its label. The arch is drawn
   tall (--su is how many pixels one drawing unit gets) and the empty top and bottom of the drawing are trimmed away, so there is no dead space.
   ========================================================================== */
@media (max-width: 1099px) {
  /* --su is how many pixels one drawing unit is across; --sv is the same up and down, scaled so the arch has the proportions it has on a laptop */
  .wtr-tp-route { --su: .9px; --sv: calc(var(--su) * .75); display: flex; flex-direction: column; margin-top: 34px; }
  .wtr-tp-route-stage { order: 2; height: calc(420 * var(--sv)); margin: calc(-52 * var(--sv)) 0 calc(-122 * var(--sv)); }
  .wtr-tp-route-stage::before { inset: calc(48 * var(--sv)) 0 calc(112 * var(--sv)); }
  .wtr-tp-route-ends { display: contents; }
  .wtr-tp-end { position: relative; z-index: 2; max-width: 100%; margin: 0; }
  .wtr-tp-end.is-above { order: 1; margin-bottom: 14px; }
  .wtr-tp-end.is-below { order: 3; margin-top: 26px; }
  .wtr-tp-end.is-left { align-self: flex-start; text-align: left; }
  .wtr-tp-end.is-right { align-self: flex-end; text-align: right; }
  .wtr-tp-end b { font-size: 15px; }
  .wtr-tp-drop.is-below { top: var(--y); bottom: calc(122 * var(--sv)); }
  .wtr-tp-drop.is-above { top: calc(52 * var(--sv)); bottom: calc(100% - var(--y)); }
}
@media (max-width: 760px) {
  .wtr-tp-end b { font-size: 14px; }
  .wtr-tp-end em { font-size: 11.5px; letter-spacing: .05em; }
}

.wtr-tp-race-line .wtr-tp-seg { white-space: nowrap; }

/* ==========================================================================
   0.25.1 (Barry, phone screenshots, 13 Nov)
   1. On phones and tablets the order is the title, the line under it, the route, then the two buttons.
   2. The route has the proportions of the laptop's arch (one drawing unit is the same fraction of the width, up and down alike).
   3. The Follow button is one line on a phone ("FOLLOW LIVE"); the team's name is in the title just above.
   4. The red dot's card is fully solid, and it cannot leave the screen: its position is worked out in CSS from the dot's place
      along the route, so it is right the moment it appears.
   ========================================================================== */
.wtr-tp-tip, .wtr-tp-tip::after { background: #090d13; }
@media (max-width: 1099px) {
  .wtr-tp-race .wtr-tp-wrap { display: flex; flex-direction: column; }
  .wtr-tp-race .wtr-tp-label { order: 1; }
  .wtr-tp-race .wtr-tp-race-h2 { order: 2; }
  .wtr-tp-race .wtr-tp-race-line { order: 3; }
  .wtr-tp-race .wtr-tp-route { order: 4; }
  .wtr-tp-race .wtr-tp-btns { order: 5; margin-top: 30px; }
}
@media (max-width: 700px) {
  .wtr-tp-follow-name { display: none; }
  .wtr-tp-follow { gap: .7rem; padding: 1.05rem 1.4rem; font-size: .95rem; letter-spacing: .09em; }
}
@supports (width: 1cqw) {
  .wtr-tp-race .wtr-tp-wrap { container-type: inline-size; }
  @media (max-width: 1099px) { .wtr-tp-route { --su: calc(100cqw / 1000); } }
  .wtr-tp-tip {
    --tipw: min(340px, calc(100cqw - 16px));
    --dotx: calc(var(--dx, 50) * 1cqw);
    --cardx: clamp(8px, calc(var(--dotx) - var(--tipw) / 2), calc(100cqw - var(--tipw) - 8px));
    width: var(--tipw); min-width: 0; max-width: none;
    left: calc(var(--cardx) - var(--dotx));
    transform: translateY(6px);
  }
  .wtr-tp-tip::after { left: calc(var(--dotx) - var(--cardx)); margin-left: -5px; }
  .wtr-tp-rcrew.is-below .wtr-tp-tip { transform: translateY(-6px); }
  .wtr-tp-rcrew:hover .wtr-tp-tip, .wtr-tp-rcrew:focus-within .wtr-tp-tip, .wtr-tp-rcrew.is-open .wtr-tp-tip { transform: translateY(0); }
}

/* 0.27.0: every charity the same (Barry, 17 Nov). */
.wtr-tp-causes { margin: 0 0 22px; padding: 0; list-style: none; }
.wtr-tp-causes li + li { margin-top: 18px; }
.wtr-tp-causes h3 { margin: 0; }
.wtr-tp-causes h3 a { color: inherit; text-decoration: none; }
.wtr-tp-causes h3 a:hover, .wtr-tp-causes h3 a:focus-visible { color: var(--tp-accent); }
.wtr-tp-cause-arrow { font-size: .6em; vertical-align: .35em; color: var(--tp-accent); }
.wtr-tp-causes p { margin: 6px 0 0; }
body .wtr-tp .wtr-tp-rowing-for.has-several h3 { font-size: clamp(1.4rem, 1.9vw, 1.9rem) !important; }

/* 0.28.6: MEDIA as one slim line + OPEN IMAGE LIBRARY → (Carsten's team page item 8) */
.wtr-tp-media { padding: 28px 0; background: #000; border-top: 1px solid rgba(255,255,255,.1); }
.wtr-tp-media .wtr-tp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.wtr-tp-media-line { margin: 0; color: rgba(255,255,255,.88); font: 500 1rem/1.5 var(--tp-body); }
.wtr-tp-media-line .wtr-tp-label { display: inline; margin: 0 14px 0 0; }
.wtr-tp-media-link { color: var(--wtr-c-accent, #62d0f5); font: 800 .8rem/1.3 var(--tp-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.wtr-tp-media-link:hover, .wtr-tp-media-link:focus-visible { text-decoration: underline; }
@media (max-width: 767px) { .wtr-tp-media .wtr-tp-wrap { display: block; } .wtr-tp-media-link { display: inline-block; margin-top: 10px; } }
body .wtr-tp-media a.wtr-tp-media-link { color: #62d0f5 !important; }

/* ==========================================================================
   0.30.0 - the new teams page (Carsten, 25 Nov): one clean filter row, cards grouped by class, the new team card.
   ========================================================================== */
.wtr-team-directory.wtr-td2 { --td2-blue: #62d0f5; --td2-display: var(--wtr-font-display, Anton, Impact, sans-serif); --td2-body: var(--wtr-font-body, Inter, system-ui, sans-serif); margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; font-family: var(--td2-body); }
.wtr-td2-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wtr-td2-search { flex: 1 1 260px; }
.wtr-td2-search input, .wtr-td2-select select { width: 100%; min-height: 46px; padding: 0 16px; border: 1px solid #333; border-radius: 6px; background: #000; color: #fff; font: 500 14px/1.2 var(--td2-body); }
.wtr-td2-search input::placeholder { color: rgba(255, 255, 255, .5); }
.wtr-td2-select { flex: 0 0 190px; }
.wtr-td2-select select { padding-right: 34px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.wtr-td2-search input:focus, .wtr-td2-select select:focus { outline: 2px solid var(--td2-blue); outline-offset: 1px; border-color: var(--td2-blue); }
.wtr-td2-select option { background: #111; color: #fff; }
.wtr-td2-reset { min-height: 46px; padding: 0 16px; border: 1px solid #333; border-radius: 6px; background: transparent; color: rgba(255, 255, 255, .7); font: 800 11px/1 var(--td2-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.wtr-td2-reset:hover { border-color: var(--td2-blue); color: #fff; }
.wtr-td2-showing { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 8px 8px 8px 14px; border: 1px solid rgba(98, 208, 245, .45); border-radius: 999px; color: #fff; font: 700 13px/1.2 var(--td2-body); }
.wtr-td2-showing[hidden] { display: none; }
.wtr-td2-showing button { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; cursor: pointer; }
.wtr-td2-showing button:hover { background: var(--td2-blue); color: #000; }
.wtr-td2-count { margin: 28px 0 0; color: rgba(255, 255, 255, .55); font: 700 12px/1.2 var(--td2-body); letter-spacing: .2em; text-transform: uppercase; }
.wtr-td2-showing:not([hidden]) + .wtr-td2-count { margin-top: 14px; }
.wtr-td2-group[hidden] { display: none; }
.wtr-team-directory.wtr-td2 .wtr-td2-group-h { margin: 34px 0 14px; padding: 0; color: var(--td2-blue); font: 700 12px/1.2 var(--td2-body); letter-spacing: .2em; text-transform: uppercase; } /* 0.30.1: a site-wide h2 style was making it big */
.wtr-td2-row { display: grid; grid-template-columns: repeat(var(--wtr-td2-cols, 4), minmax(0, 1fr)); gap: 16px; }

.wtr-tc2 { position: relative; display: flex; min-width: 0; border: 1px solid #222; border-radius: 12px; background: #0f0f0f; overflow: hidden; transition: border-color .3s ease; }
.wtr-tc2[hidden] { display: none; }
.wtr-tc2:hover { border-color: var(--td2-blue); }
.wtr-tc2-link { position: relative; display: flex; flex: 1; flex-direction: column; color: #fff; text-decoration: none; }
.wtr-tc2-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.wtr-tc2-photo img, .wtr-tc2-photo picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.97) saturate(.95) contrast(1.08); transition: transform 1.2s ease; }
.wtr-tc2-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,0) 50%, rgba(15,15,15,.6) 78%, #0f0f0f 100%); }
.wtr-tc2:hover .wtr-tc2-photo img { transform: scale(1.05); }
.wtr-tc2-ghost { position: absolute; z-index: 2; top: 12px; right: 16px; color: transparent; font: 400 44px/1 var(--td2-display); letter-spacing: .02em; -webkit-text-stroke: 1.2px rgba(98, 208, 245, .22); pointer-events: none; }
.wtr-tc2.has-photo .wtr-tc2-ghost { -webkit-text-stroke-color: rgba(255, 255, 255, .75); }
.wtr-tc2-ghost.is-left { right: auto; left: 16px; } /* 0.30.2: away from the oar blade */
.wtr-tc2-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 22px 22px 18px; }
.wtr-tc2.has-photo .wtr-tc2-body { margin-top: -14px; padding-top: 0; }
.wtr-tc2-crew { color: var(--td2-blue); font: 700 11px/1.2 var(--td2-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-tc2-name { margin: 10px 0 14px; padding-right: 84px; font: 400 26px/1.02 var(--td2-display); text-transform: uppercase; overflow-wrap: anywhere; }
.wtr-tc2.has-photo .wtr-tc2-name { padding-right: 0; }
.wtr-tc2-status { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 12px; color: rgba(255, 255, 255, .8); font: 700 12px/1.3 var(--td2-body); }
.wtr-tc2-rowers { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wtr-tc2-rower { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font: 500 13px/1.3 var(--td2-body); }
.wtr-tc2-flags { display: inline-flex; flex: 0 0 auto; gap: 3px; }
.wtr-tc2-flags .wtr-country-flag { min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 2px; background: none; box-shadow: none; line-height: 0; }
.wtr-tc2-flags .wtr-country-flag--text { min-width: 18px; height: 13px; background: rgba(255,255,255,.15); color: #fff; font: 700 8px/13px var(--td2-body); text-align: center; }
.wtr-tc2-flags img, .wtr-tc2-flags .wtr-country-flag img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
/* 0.31.14: two fixed columns, so every name in a card starts in the same place, in every browser. */
.wtr-team-directory .wtr-tc2-rower { display: grid; grid-template-columns: calc(var(--tc2-nf, 1) * 18px + (var(--tc2-nf, 1) - 1) * 3px) minmax(0, 1fr); column-gap: 10px; align-items: center; }
.wtr-team-directory .wtr-tc2-flags { display: flex; gap: 3px; width: 100%; min-width: 0; overflow: hidden; }
.wtr-team-directory .wtr-tc2-flags .wtr-country-flag { position: static !important; display: block !important; flex: 0 0 18px; width: 18px !important; height: 13px !important; overflow: hidden; }
.wtr-team-directory .wtr-tc2-flags img { position: static !important; display: block; width: 18px !important; height: 13px !important; max-width: none; }
.wtr-team-directory .wtr-tc2-rname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtr-tc2-view { margin-top: auto; padding-top: 12px; border-top: 1px solid #1e1e1e; color: var(--td2-blue); font: 800 11px/1.2 var(--td2-body); letter-spacing: .14em; text-transform: uppercase; }

/* Fade up as they come into view (only once the script has started it, so nothing hides without it). */
.wtr-td2-animate .wtr-td2-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease, border-color .3s ease; transition-delay: calc(var(--wtr-td2-i, 0) * .06s); }
.wtr-td2-animate .wtr-td2-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1179px) {
    .wtr-td2-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones: one swipe row per class, the next card peeking in. */
@media (max-width: 767px) {
    .wtr-td2-select { flex: 1 1 28%; }
    .wtr-td2-search { flex-basis: 100%; }
    .wtr-td2-reset { flex: 1 1 100%; }
    .wtr-td2-row { display: flex; gap: 12px; margin: 0 -20px; padding: 0 20px 4px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 20px; /* 0.32.2 (Barry): proximity, so a big swipe carries past several teams (with mandatory, Chrome on Android moved one card per swipe) */ scrollbar-width: none; }
    .wtr-td2-row::-webkit-scrollbar { display: none; }
    .wtr-td2-row > .wtr-tc2 { flex: 0 0 80%; scroll-snap-align: start; }
    .wtr-tc2-body { padding: 18px 18px 16px; }
    .wtr-tc2-ghost { font-size: 40px; }
    .wtr-tc2-name { padding-right: 70px; }
    .wtr-team-directory.wtr-td2 .wtr-td2-group-h { margin: 26px 0 12px; }
}

/* 0.31.15 (Carsten): phones: short filter labels (front.js), RESET a small text link on the search row, the three
   filters on the row below */
@media (max-width: 767px) {
    .wtr-team-directory .wtr-td2-search { order: 0; flex: 1 1 calc(100% - 90px); min-width: 0; }
    .wtr-team-directory .wtr-td2-reset { order: 1; flex: 0 0 auto; min-height: 0; padding: 6px 2px; border: 0; background: none; color: rgba(255, 255, 255, .75); text-decoration: underline; text-underline-offset: 4px; }
    .wtr-team-directory .wtr-td2-reset:hover { color: #fff; }
    .wtr-team-directory .wtr-td2-select { order: 2; flex: 1 1 30%; min-width: 0; }
    .wtr-team-directory .wtr-td2-select select { padding: 0 28px 0 12px; font-size: 13px; background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; }
}

/* 0.31.16 (Carsten): team card names break evenly; a long one that would still wrap is shrunk to fit one line by
   front.js (never below about 70%); a team's own break (Card photo box) wins. */
.wtr-team-directory .wtr-tc2-name { text-wrap: balance; }

/* 0.31.17 (Carsten's line breaks, checked live at 1268px): a card's name used to keep 84px clear on its right for the
   class word (PAIR, TRIO…), leaving 147px of a 277px card, so names wrapped or shrank to odd sizes. Now the name starts
   just below the class word and uses the card's full width: every Atlantic 2026 name fits on one line at full size
   (Oxford Data Plan Through The Blue a touch smaller). Cards with a crew photo are unchanged. */
.wtr-team-directory .wtr-tc2:not(.has-photo) .wtr-tc2-name { padding-right: 0 !important; margin-top: 25px; }

/* 0.31.18 (Barry, on his phone: the team card rails also moved up and down, hiding the cards' tops and bottoms, and
   could catch an up-and-down swipe so the page wouldn't scroll): a rail only scrolls sideways; an up-and-down swipe
   always moves the page; a sideways swipe stays in its rail; a little room above and below so a card that lifts when
   tapped, or rises into place, is never cut off. Checked live at phone width. */
@media (max-width: 767px) {
    .wtr-team-directory .wtr-td2-row { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; padding-top: 8px; padding-bottom: 8px; margin-top: -8px; margin-bottom: -4px; }
}

/* 0.31.19 (Carsten's Pacific 2026 teams mock-up): a small fleet in one row: five across on laptops, three below 1180px,
   one swipe row on phones (the phone rule above). */
@media (max-width: 1179px) and (min-width: 768px) {
    .wtr-team-directory .wtr-td2-row.is-fleet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 0.32.0 (Carsten: the class word behind the rowers, "if tricky then bottom right"): the rowers' cut-out lies exactly over
   the photo, above the word, sharing its crop and hover zoom, fading out where the photo fades into the card. */
.wtr-tc2-photo.is-cutout { position: absolute; top: 0; left: 0; right: 0; z-index: 3; pointer-events: none; background: none;
    -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 80%); mask-image: linear-gradient(180deg, #000 52%, transparent 80%); }
.wtr-tc2-photo.is-cutout::after { display: none; }
/* No reliable cut-out: the word at the bottom right of the photo, in its dark fade. */
.wtr-tc2-photo .wtr-tc2-ghost.is-bottom { top: auto; left: auto; bottom: 10px; right: 14px; z-index: 2; }

/* 0.32.17 (Barry: while loading, the cut-out could show on black before the photo arrived): the cut-out stays hidden
   until the photo under it has loaded (front.js adds .is-ready), then fades in on top. */
.wtr-tc2-photo.is-cutout, .wtr-t3-head-photo.is-cutout { opacity: 0; transition: opacity .25s ease; }
.wtr-tc2-photo.is-cutout.is-ready, .wtr-t3-head-photo.is-cutout.is-ready { opacity: 1; }
