/* =====================================================================================
   Athletes section (/athletes/ and child pages) + the shared FAQ accordion style.
   Loaded after ot.css on Athletes pages (inc/athletes.php). Built from .build/content/athletes/
   by .build/lib/athletes-render.js. Selectors are scoped under .ot-site so they outrank
   Avada's content rules (e.g. .post-content p).
   ===================================================================================== */

/* Anchor targets clear the sticky header. */
.ot-site .fusion-fullwidth.ot-section[id] { scroll-margin-top: 110px; }

/* ---------- Page hero aside ------------------------------------------------------------ */
.ot-site .ot-page-hero__aside { display: flex; justify-content: flex-end; }
.ot-site .ot-hero-readout {
	display: grid; place-items: center; width: 100%; max-width: 520px; padding: clamp(24px, 4vw, 44px);
	border-radius: var(--ot-radius-lg); background-color: var(--ot-navy-900);
	background-image: radial-gradient(110% 120% at 0% 100%, rgba(10, 10, 213, .6) 0%, rgba(10, 10, 213, 0) 60%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 88px);
	box-shadow: var(--ot-shadow-lg);
}
.ot-site .ot-hero-readout .ot-readout-card { max-width: 380px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); }
.ot-site .ot-hero-readout .ot-readout__row strong { font-size: 1.75rem; }
@media (max-width: 1024px) {
	.ot-site .ot-page-hero__aside { justify-content: flex-start; }
}
@media (max-width: 767px) {
	.ot-site .ot-page-hero__aside { display: none; } /* decorative; the page body explains the same thing */
}

/* Section heads beside lists/accordions */
.ot-site .ot-head--tight { margin-bottom: 24px; }
.ot-site .ot-head--side { margin-bottom: 0; }
@media (min-width: 1025px) {
	.ot-site .ot-side-head .fusion-column-wrapper { position: sticky; top: 130px; }
}
@media (max-width: 1024px) {
	.ot-site .ot-head--side { margin-bottom: 28px; }
}

/* ---------- Steps: grid (2–4 items) ----------------------------------------------------- */
.ot-site .ot-steps--grid.ot-steps--n2 { --cols: 2; }
.ot-site .ot-steps--grid.ot-steps--n3 { --cols: 3; }
.ot-site .ot-steps--grid.ot-steps--n4 { --cols: 4; }
.ot-site .ot-steps--grid > li { display: flex; flex-direction: column; }
.ot-site .ot-tone-paper .ot-steps--grid > li { border-color: transparent; box-shadow: var(--ot-shadow-sm); }
@media (max-width: 1180px) { .ot-site .ot-steps--grid.ot-steps--n4 { --cols: 2; } }
@media (max-width: 1024px) and (min-width: 641px) { .ot-site .ot-steps--grid.ot-steps--n2 { --cols: 2; } .ot-site .ot-steps--grid.ot-steps--n4 { --cols: 2; } }
@media (max-width: 900px) { .ot-site .ot-steps--grid.ot-steps--n3 { --cols: 1; } }
@media (max-width: 640px) { .ot-site .ot-steps--grid.ot-steps--n2, .ot-site .ot-steps--grid.ot-steps--n3, .ot-site .ot-steps--grid.ot-steps--n4 { --cols: 1; } }

/* ---------- Steps: numbered list (5+ items) --------------------------------------------- */
.ot-site .ot-steps--list { display: block; counter-reset: ot-step; }
.ot-site .ot-steps--list > li {
	position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 22px; align-items: start;
	padding: 0 0 28px; border: 0; border-radius: 0; background: none;
}
.ot-site .ot-steps--list > li::before {
	grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px; margin: 0; border-radius: 50%;
	background: var(--ot-navy-900); color: #fff; font: 800 17px/1 var(--ot-font-head); letter-spacing: .02em; position: relative; z-index: 1;
}
.ot-site .ot-steps--list > li:not(:last-child)::after {
	content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; border-radius: 2px;
	background: repeating-linear-gradient(180deg, var(--ot-line-strong) 0 6px, transparent 6px 12px);
}
.ot-site .ot-steps--list > li:last-child { padding-bottom: 0; }
.ot-site .ot-steps--list h3 { margin: 10px 0 6px; }
.ot-site .ot-steps--list p { max-width: 62ch; }
.ot-site .ot-tone-navy .ot-steps--list > li::before { background: var(--ot-orange); color: var(--ot-ink); }

/* ---------- Checklist + aside ----------------------------------------------------------- */
.ot-site .ot-checklist-split { gap: clamp(32px, 5vw, 72px); }
.ot-site .ot-checklist-split__aside { display: flex; justify-content: center; }
.ot-site .ot-checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 767px) { .ot-site .ot-checklist--cols { grid-template-columns: minmax(0, 1fr); } }
.ot-site .ot-aside-readout { width: 100%; max-width: 440px; }
.ot-site .ot-aside-readout .ot-readout-card { max-width: none; }

/* Note card */
.ot-site .ot-note {
	display: flex; gap: 18px; align-items: flex-start; width: 100%; max-width: 440px; padding: 28px;
	border-radius: var(--ot-radius); background: #fff; border: 1px solid var(--ot-line); box-shadow: var(--ot-shadow);
}
.ot-site .ot-note__title { margin: 4px 0 6px; font-size: 1.3rem; }
.ot-site .ot-note p { margin: 0; color: var(--ot-muted); }

/* Bib illustration (decorative; the figcaption carries the meaning) */
.ot-site .ot-bib-figure { display: flex; flex-direction: column; align-items: center; gap: 44px; width: 100%; max-width: 460px; margin: 0; padding: 44px 32px 30px; border-radius: var(--ot-radius-lg); background: #fff; border: 1px solid var(--ot-line); box-shadow: var(--ot-shadow); }
.ot-site .ot-bib-stage { position: relative; width: 100%; max-width: 330px; }
.ot-site .ot-bib {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px; min-height: 236px; padding: 36px 26px 0;
	border: 2px solid var(--ot-ink); border-radius: 14px; background: #fff; overflow: hidden; transform: rotate(-2.5deg);
	box-shadow: 0 2px 4px rgba(20, 26, 46, .06), 0 24px 44px -18px rgba(20, 26, 46, .35);
}
.ot-site .ot-bib__pin { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--ot-paper); border: 3px solid var(--ot-line-strong); }
.ot-site .ot-bib__pin--tl { top: 11px; left: 11px; } .ot-site .ot-bib__pin--tr { top: 11px; right: 11px; }
.ot-site .ot-bib__pin--bl { bottom: 25px; left: 11px; } .ot-site .ot-bib__pin--br { bottom: 25px; right: 11px; }
.ot-site .ot-bib__race { font: 700 12px/1.2 var(--ot-font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ot-orange-ink); }
.ot-site .ot-bib__number { font: 800 clamp(5rem, 3.8rem + 4.4vw, 7rem)/1 var(--ot-font-head); letter-spacing: -.02em; color: var(--ot-navy); font-variant-numeric: tabular-nums; }
.ot-site .ot-bib__strip { display: block; width: calc(100% + 52px); height: 14px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--ot-ink) 0 14px, #fff 14px 28px); }
.ot-site .ot-bib__tag {
	position: absolute; right: -18px; bottom: -24px; display: flex; align-items: center; gap: 9px; max-width: 250px; padding: 10px 14px;
	border-radius: 12px; background: var(--ot-navy-900); color: #fff; font: 700 13px/1.25 var(--ot-font-body); transform: rotate(1.5deg); box-shadow: 0 14px 30px -12px rgba(7, 26, 69, .6);
}
.ot-site .ot-bib__tag .ot-icon { width: 22px; height: 22px; color: var(--ot-orange); flex: none; }
.ot-site .ot-bib-figure figcaption { max-width: 380px; font-size: .95rem; line-height: 1.55; text-align: center; color: var(--ot-muted); }
@media (max-width: 520px) {
	.ot-site .ot-bib-figure { padding: 32px 18px 24px; }
	.ot-site .ot-bib__tag { right: -6px; bottom: -28px; }
}

/* ---------- Compare: clock vs chip ------------------------------------------------------- */
.ot-site .ot-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ot-gap); }
@media (max-width: 767px) { .ot-site .ot-compare { grid-template-columns: minmax(0, 1fr); } }
.ot-site .ot-time-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--ot-radius); background: #fff; border: 1px solid var(--ot-line); box-shadow: var(--ot-shadow-sm); }
.ot-site .ot-time-card__label { margin: 0; font: 700 12px/1.2 var(--ot-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ot-muted); }
.ot-site .ot-time-card--accent .ot-time-card__label { color: var(--ot-orange-ink); }
.ot-site .ot-time-card__value {
	margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--ot-navy-900); color: #fff;
	font: 800 clamp(2rem, 1.6rem + 1.5vw, 2.75rem)/1.05 var(--ot-font-head); letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.ot-site .ot-time-card--accent .ot-time-card__value { color: var(--ot-orange); }
.ot-site .ot-time-card h3 { margin: 4px 0 0; font-size: 1.32rem; }
.ot-site .ot-time-card__body { margin: 0; color: var(--ot-muted); }
.ot-site .ot-compare__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--ot-line); }
@media (max-width: 767px) { .ot-site .ot-compare__notes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Navy band callout ------------------------------------------------------------ */
.ot-site .ot-band-callout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; }
.ot-site .ot-band-callout .ot-tile { width: 64px; height: 64px; border-radius: 16px; }
.ot-site .ot-band-callout .ot-tile .ot-icon { width: 30px; height: 30px; }
.ot-site .ot-band-callout h2 { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem); }
.ot-site .ot-band-callout p { margin: 8px 0 0; max-width: 64ch; color: var(--ot-on-dark); }
@media (max-width: 900px) {
	.ot-site .ot-band-callout { grid-template-columns: auto minmax(0, 1fr); }
	.ot-site .ot-band-callout__action { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .ot-site .ot-band-callout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tables (pace chart) ------------------------------------------------------------ */
.ot-site .ot-table-wrap { overflow-x: auto; border: 1px solid var(--ot-line); border-radius: var(--ot-radius); background: #fff; box-shadow: var(--ot-shadow-sm); -webkit-overflow-scrolling: touch; }
.ot-site .ot-table-wrap:focus-visible { outline: 3px solid var(--ot-blue); outline-offset: 3px; }
.ot-site .ot-table { width: 100%; min-width: 760px; margin: 0; border-collapse: separate; border-spacing: 0; border: 0; font-size: .97rem; font-variant-numeric: tabular-nums; }
.ot-site .ot-table th, .ot-site .ot-table td { padding: 12px 18px; border: 0; border-bottom: 1px solid var(--ot-mist); text-align: right; white-space: nowrap; color: var(--ot-text); background: transparent; }
.ot-site .ot-table thead th { position: sticky; top: 0; z-index: 2; background: var(--ot-navy-900); color: #fff; font: 700 13px/1.2 var(--ot-font-body); letter-spacing: .06em; text-transform: uppercase; border-bottom: 0; }
.ot-site .ot-table .ot-table__key { position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 700; color: var(--ot-ink); background: #fff; box-shadow: 1px 0 0 var(--ot-mist); }
.ot-site .ot-table thead .ot-table__key { z-index: 3; background: var(--ot-navy-900); color: #fff; }
.ot-site .ot-table tbody tr:nth-child(even) td, .ot-site .ot-table tbody tr:nth-child(even) .ot-table__key { background: var(--ot-paper); }
.ot-site .ot-table tbody tr.ot-table__row--mark td, .ot-site .ot-table tbody tr.ot-table__row--mark .ot-table__key { background: var(--ot-blue-50); color: var(--ot-ink); font-weight: 700; }
.ot-site .ot-table tbody tr.ot-table__row--mark .ot-table__key { color: var(--ot-blue); }
.ot-site .ot-table tbody tr:last-child th, .ot-site .ot-table tbody tr:last-child td { border-bottom: 0; }
.ot-site .ot-table tbody tr:hover td, .ot-site .ot-table tbody tr:hover .ot-table__key { background: var(--ot-orange-50); }

/* Phone-only hint above wide tables */
.ot-site .ot-table-hint { display: none; margin: 0 0 10px; font-size: .88rem; color: var(--ot-muted); }
@media (max-width: 767px) { .ot-site .ot-table-hint { display: block; } }

/* ---------- Closing CTA after a white section: avoid a double-height white gap ------------- */
.ot-site .fusion-fullwidth.ot-section--cta-after-white { --awb-padding-top: 0px; }

/* ---------- "On this page" jump links in the hero ---------------------------------------- */
.ot-site .ot-onpage { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ot-line); max-width: 860px; }
.ot-site .ot-onpage__label { margin: 0 0 12px; font: 700 12px/1.2 var(--ot-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ot-muted); }
.ot-site .ot-onpage .ot-chip { background: #fff; }
.ot-site .ot-onpage .ot-chip:hover { border-color: var(--ot-blue); color: var(--ot-blue); }
/* The FAQ accordion styles and wpautop guards moved to ot.css (site-wide). */
