/* =====================================================================================
   Overland Timing: pages (Services, About, Contact, Resources, corral calculator, results
   corrections) and Formidable form styling. Loaded after ot.css; scoped under .ot-site so it
   outranks Avada's and Formidable's defaults. Tokens come from ot.css.
   ===================================================================================== */

/* Utilities ---------------------------------------------------------------------------- */
.ot-site .ot-mt-48 { margin-top: clamp(32px, 4vw, 48px) !important; }
.ot-site .ot-anchor { display: block; position: relative; top: -120px; visibility: hidden; height: 0; }
.ot-site [id] { scroll-margin-top: 120px; }
.ot-site .ot-req { color: var(--ot-danger); font-weight: 700; }

/* Photos with an overlapping badge ------------------------------------------------------ */
.ot-site .ot-photo-wrap { position: relative; padding-bottom: 28px; }
.ot-site .ot-photo--hero { aspect-ratio: 4 / 3.3; }
.ot-site .ot-photo--portrait { aspect-ratio: 4 / 4.5; max-width: 480px; margin-left: auto; }
.ot-site .ot-photo--hero img, .ot-site .ot-photo--portrait img, .ot-site .ot-photo--rentals img { width: 100%; height: 100%; object-fit: cover; }
.ot-site .ot-photo-badge {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px; max-width: min(340px, 86%);
	padding: 14px 18px; border-radius: var(--ot-radius); background: #fff; box-shadow: var(--ot-shadow-lg);
}
.ot-site .ot-photo-badge--bl { left: clamp(-24px, -2vw, -8px); bottom: 0; }
.ot-site .ot-photo-badge img { width: 56px; height: 56px; flex: none; }
.ot-site .ot-photo-badge > span { display: grid; gap: 2px; }
.ot-site .ot-photo-badge strong { font: 700 1.15rem/1.15 var(--ot-font-head); color: var(--ot-ink); }
.ot-site .ot-photo-badge span span { font-size: .88rem; color: var(--ot-muted); line-height: 1.35; }
.ot-site .ot-photo-wrap .ot-photo--portrait + .ot-photo-badge { left: auto; right: clamp(220px, 22vw, 300px); }
@media (max-width: 1024px) {
	.ot-site .ot-photo--portrait { max-width: none; margin: 0; aspect-ratio: 4 / 3.4; }
	.ot-site .ot-photo-badge--bl, .ot-site .ot-photo-wrap .ot-photo--portrait + .ot-photo-badge { left: 12px; right: auto; }
}
.ot-site .ot-figure { margin: 0; }
.ot-site .ot-figure img { display: block; width: 100%; height: auto; border-radius: var(--ot-radius); }
.ot-site .ot-figure--diagram { padding: clamp(16px, 2vw, 24px); border: 1px solid var(--ot-line); border-radius: var(--ot-radius-lg); background: #fff; }

/* Callouts on tinted backgrounds: keep the icon tile visible */
.ot-site .ot-photo--hero.ot-photo--reader img { object-position: 50% 78%; }

/* Proof cards (race formats with a real results link) ----------------------------------- */
.ot-site .ot-proof__link { margin-top: auto !important; padding-top: 6px; }
.ot-site .ot-proof__link .ot-link-arrow { font-size: .95rem; }

/* Partner (WF Running) ------------------------------------------------------------------ */
.ot-site .ot-partner-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ot-site .ot-partner-head .ot-eyebrow { margin: 0; }
.ot-site .ot-partner-logo { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; padding: 4px; flex: none; }
.ot-site .ot-partner-logo img { width: 100%; height: auto; border-radius: 50%; }
.ot-site .ot-tone-navy h2 { margin: 0 0 14px; }
.ot-site .ot-tone-navy .ot-lead { margin: 0 0 14px; }
.ot-site .ot-tone-navy p { color: var(--ot-on-dark); }
.ot-site .ot-tone-navy .ot-btns { margin-top: 26px; }
.ot-site .ot-photo--rentals { aspect-ratio: 4 / 5; max-width: 440px; margin-left: auto; background: #fff; }
.ot-site .ot-photo--rentals img { object-fit: contain; }
@media (max-width: 1024px) { .ot-site .ot-photo--rentals { margin: 0 auto; } }

/* About: facts card --------------------------------------------------------------------- */
.ot-site .ot-facts { padding: clamp(22px, 3vw, 32px); border-radius: var(--ot-radius-lg); background: var(--ot-paper); border: 1px solid var(--ot-line); }
.ot-site .ot-facts__title { margin: 0 0 18px; font-size: 1.35rem; }
.ot-site .ot-split--top > .ot-facts { margin-top: 8px; }
.ot-site .ot-prose > * + * { margin-top: 1em; }
.ot-site .ot-prose h3 { margin: 0 0 .5em; }
.ot-site .ot-prose ul { margin: 1em 0 0; padding-left: 1.2em; }
.ot-site .ot-prose li + li { margin-top: .5em; }

/* Icon + label lists -------------------------------------------------------------------- */
.ot-site .ot-info-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ot-site .ot-info-list li { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
.ot-site .ot-info-list .ot-tile { width: 42px; height: 42px; border-radius: 11px; }
.ot-site .ot-info-list .ot-tile .ot-icon { width: 20px; height: 20px; }
.ot-site .ot-info-list li > div { display: grid; gap: 2px; padding-top: 1px; }
.ot-site .ot-info-list__label { font: 700 12px/1.3 var(--ot-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ot-orange-ink); }
.ot-site .ot-info-list__value { color: var(--ot-text); line-height: 1.5; }
.ot-site .ot-info-list__value a { font-weight: 600; }

/* Contact + correction layout ------------------------------------------------------------ */
.ot-site .ot-contact .fusion-builder-row { row-gap: 28px; }
.ot-site .ot-form-card {
	padding: clamp(22px, 3.2vw, 40px); border: 1px solid var(--ot-line); border-radius: var(--ot-radius-lg);
	background: #fff; box-shadow: var(--ot-shadow);
}
.ot-site .ot-form-card__title { margin: 0; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); }
.ot-site .ot-form-card__lead { margin: 8px 0 26px; color: var(--ot-muted); }
.ot-site .ot-sidecard { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--ot-line); border-radius: var(--ot-radius); background: #fff; }
.ot-site .ot-sidecard + .ot-sidecard { margin-top: 18px; }
.ot-site .ot-sidecard--tint { background: var(--ot-blue-50); border-color: #d9ddff; }
.ot-site .ot-sidecard__title { margin: 0 0 14px; font-size: 1.3rem; }
.ot-site .ot-sidecard p { margin: 0 0 12px; }
.ot-site .ot-sidecard p:last-child { margin-bottom: 0; }
.ot-site .ot-sidecard .ot-checklist { gap: 10px; }
.ot-site .ot-sidecard .ot-checklist li { font-size: .97rem; }
.ot-site .ot-social { display: flow-root; margin-top: 20px; }
.ot-site .ot-social .alignleft { float: none; margin: 0; }
.ot-site .ot-social .ot-info-list__label { display: block; margin: 0 0 10px; }
.ot-site .ot-social .fusion-social-networks { margin: 0; }
.ot-site .ot-social .fusion-social-network-icon:hover { background-color: var(--ot-blue) !important; }

/* Downloads ------------------------------------------------------------------------------ */
.ot-site .ot-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ot-gap); max-width: 900px; }
@media (max-width: 700px) { .ot-site .ot-downloads { grid-template-columns: minmax(0, 1fr); } }
.ot-site .ot-download {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "preview preview" "body icon"; gap: 14px 12px; align-items: center;
	padding: 16px; border: 1px solid var(--ot-line); border-radius: var(--ot-radius); background: #fff; color: var(--ot-ink) !important; text-decoration: none !important;
	transition: transform .2s var(--ot-ease), box-shadow .2s var(--ot-ease), border-color .2s var(--ot-ease);
}
.ot-site .ot-download:hover { transform: translateY(-2px); box-shadow: var(--ot-shadow); border-color: var(--ot-line-strong); }
.ot-site .ot-download__preview { grid-area: preview; display: grid; place-items: center; aspect-ratio: 16 / 7; padding: 18px; border-radius: 10px; background: var(--ot-paper); }
.ot-site .ot-download__preview--dark { background: #000; padding: 0; overflow: hidden; }
.ot-site .ot-download__preview img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.ot-site .ot-download__preview--dark img { width: 100%; height: 100%; object-fit: cover; }
.ot-site .ot-download__body { grid-area: body; display: grid; gap: 2px; }
.ot-site .ot-download__body strong { font: 700 1.2rem/1.2 var(--ot-font-head); }
.ot-site .ot-download__body span { font-size: .9rem; color: var(--ot-muted); }
.ot-site .ot-download > .ot-icon { grid-area: icon; width: 22px; height: 22px; color: var(--ot-blue); }

/* Corral calculator frame ----------------------------------------------------------------- */
.ot-site .ot-calc-col > .fusion-column-wrapper {
	padding: clamp(20px, 3vw, 40px) !important; border: 1px solid var(--ot-line); border-radius: var(--ot-radius-lg); background: #fff; box-shadow: var(--ot-shadow);
}

/* =====================================================================================
   Formidable forms (all forms use the "Theme Style"; colors there match these tokens)
   ===================================================================================== */
.ot-site .frm_forms.with_frm_style { --ot-field-radius: 10px; font-family: var(--ot-font-body); }
.ot-site .with_frm_style .frm_primary_label { font-family: var(--ot-font-body); font-weight: 600; color: var(--ot-ink); letter-spacing: 0; }
.ot-site .with_frm_style .frm_required { color: var(--ot-danger); }
.ot-site .with_frm_style .frm_description, .ot-site .with_frm_style .frm_description p { color: var(--ot-muted); }
.ot-site .with_frm_style input[type="text"],
.ot-site .with_frm_style input[type="email"],
.ot-site .with_frm_style input[type="tel"],
.ot-site .with_frm_style input[type="url"],
.ot-site .with_frm_style input[type="number"],
.ot-site .with_frm_style input[type="password"],
.ot-site .with_frm_style input[type="search"],
.ot-site .with_frm_style select,
.ot-site .with_frm_style textarea,
.ot-site .with_frm_style .frm-card-element.StripeElement {
	min-height: 50px; transition: border-color .15s var(--ot-ease), box-shadow .15s var(--ot-ease);
}
.ot-site .with_frm_style textarea { min-height: 140px; }
.ot-site .with_frm_style input:focus,
.ot-site .with_frm_style select:focus,
.ot-site .with_frm_style textarea:focus {
	border-color: var(--ot-blue) !important; box-shadow: 0 0 0 4px rgba(10, 10, 213, .14) !important; outline: none !important;
}
.ot-site .with_frm_style input[type="radio"], .ot-site .with_frm_style input[type="checkbox"] { accent-color: var(--ot-blue); width: 18px; height: 18px; }
.ot-site .with_frm_style .frm_radio label, .ot-site .with_frm_style .frm_checkbox label { display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.ot-site .with_frm_style .frm_section_heading h3,
.ot-site .with_frm_style h3.frm_pos_top { font-family: var(--ot-font-head); font-weight: 700; color: var(--ot-ink); letter-spacing: .01em; }
.ot-site .with_frm_style .frm_combo_inputs_container .frm_description { font-size: 13px; }

/* Submit button: same feel as .ot-btn */
.ot-site .with_frm_style .frm_submit button,
.ot-site .with_frm_style .frm_submit input[type="submit"] {
	min-height: 52px; font-family: var(--ot-font-body) !important; letter-spacing: .01em;
	transition: background-color .2s var(--ot-ease), border-color .2s var(--ot-ease), transform .2s var(--ot-ease), box-shadow .2s var(--ot-ease) !important;
}
.ot-site .with_frm_style .frm_submit button:hover,
.ot-site .with_frm_style .frm_submit input[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(163, 79, 0, .55) !important; }
.ot-site .with_frm_style .frm_submit button:focus-visible,
.ot-site .with_frm_style .frm_submit input[type="submit"]:focus-visible { outline: 3px solid var(--ot-blue) !important; outline-offset: 3px; }

/* Messages */
.ot-site .frm_forms .frm_message,
.ot-site .frm_forms .frm_error_style {
	display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px !important; border-radius: 12px !important; line-height: 1.5;
}
.ot-site .frm_forms .frm_message::before,
.ot-site .frm_forms .frm_error_style::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; background: currentColor; }
.ot-site .frm_forms .frm_message::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ot-site .frm_forms .frm_error_style::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 16.5h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 16.5h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ot-site .frm_forms .frm_message p, .ot-site .frm_forms .frm_error_style p { margin: 0; }
.ot-site .with_frm_style .frm_error { font-weight: 600; }

/* Corral calculator (form 10): sliders and calculated outputs */
.ot-site #frm_form_10_container .frm_range_container input[type="range"] { accent-color: var(--ot-blue); }
.ot-site #frm_form_10_container .frm_range_value { font: 800 1.4rem/1 var(--ot-font-head); color: var(--ot-blue) !important; font-variant-numeric: tabular-nums; }
.ot-site #frm_form_10_container .frm_section_heading h3 { font-size: 1.35rem; padding-bottom: 8px; border-bottom: 1px solid var(--ot-line); }
.ot-site #frm_form_10_container input[type="number"][readonly],
.ot-site #frm_form_10_container input[type="number"] { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Avada page title bar (used by plain text pages such as the Privacy Policy and the Forms pages) ---------
   Matches the section heroes: paper background with timing lanes, left-aligned heavy heading. */
.ot-site .fusion-page-title-bar {
	background-color: var(--ot-paper) !important; border: 0 !important;
	background-image: repeating-linear-gradient(90deg, rgba(10, 10, 213, .045) 0 1px, transparent 1px 88px) !important;
	height: auto !important; min-height: 0 !important; padding: clamp(40px, 5vw, 72px) 24px !important;
}
.ot-site .fusion-page-title-bar .fusion-page-title-row { width: 100%; max-width: var(--site_width, 1240px); margin: 0 auto; }
.ot-site .fusion-page-title-bar .fusion-page-title-wrapper { justify-content: flex-start; }
.ot-site .fusion-page-title-bar h1.entry-title {
	margin: 0 !important; font: 800 clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem)/1.05 var(--ot-font-head) !important; color: var(--ot-ink) !important; text-align: left !important;
}
.ot-site .fusion-page-title-bar .fusion-page-title-captions { text-align: left !important; }

/* Privacy policy: a readable measure for long-form text */
.ot-site.privacy-policy #content .post-content { max-width: 860px; }
.ot-site.privacy-policy #content .post-content h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); }
.ot-site.privacy-policy #content .post-content h3 { margin-top: 1.4em; font-size: 1.25rem; }
