/* FAST Riding School theme, matched to the current Wix site: black (#000) sections, white text, accent red #be1e2d,
   rectangular corners. Dark is the default theme (js/site.js, storedTheme). Editable by the studio (tokens below). */
:root {
  --background: #ffffff;
  --foreground: #16171a;
  --card: #f6f6f7;
  --card-foreground: #16171a;
  --popover: #fafafa;
  --popover-foreground: #16171a;
  --primary: #be1e2d;
  --primary-foreground: #ffffff;
  --secondary: #111111;
  --secondary-foreground: #ffffff;
  --muted: #eeeff1;
  --muted-foreground: #45464b;
  --accent: #dcdee2;
  --accent-foreground: #5a0f14;
  --destructive: #b91c1c;
  --destructive-foreground: #ffffff;
  --border: #e1e2e6;
  --input: #d4d6db;
  --ring: #be1e2d;
  --chart-1: #be1e2d;
  --chart-2: #5a0f14;
  --chart-3: #c9a227;
  --chart-4: #3f7d4e;
  --chart-5: #111111;
  --sidebar: #f6f6f7;
  --sidebar-foreground: #16171a;
  --sidebar-primary: #be1e2d;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #dcdee2;
  --sidebar-accent-foreground: #5a0f14;
  --sidebar-border: #e1e2e6;
  --sidebar-ring: #be1e2d;
  --font-sans: 'Roboto', ui-sans-serif, system-ui, sans-serif;
  --tracking-normal: 0em;
  --radius: 0rem;
  --spacing: 0.25rem;
  --shadow-2xs: 0px 2px 0px 0px rgb(0 0 0 / 0.000);
  --shadow-xs: 0px 2px 0px 0px rgb(0 0 0 / 0.000);
  --shadow-sm: 0px 2px 0px 0px rgb(0 0 0 / 0.000), 0px 1px 2px -1px rgb(0 0 0 / 0.000);
  --shadow: 0px 2px 0px 0px rgb(0 0 0 / 0.000), 0px 1px 2px -1px rgb(0 0 0 / 0.000);
  --shadow-md: 0px 2px 0px 0px rgb(0 0 0 / 0.000), 0px 2px 4px -1px rgb(0 0 0 / 0.000);
  --shadow-lg: 0px 2px 0px 0px rgb(0 0 0 / 0.000), 0px 4px 6px -1px rgb(0 0 0 / 0.000);
  --shadow-xl: 0px 2px 0px 0px rgb(0 0 0 / 0.000), 0px 8px 10px -1px rgb(0 0 0 / 0.000);
  --shadow-2xl: 0px 2px 0px 0px rgb(0 0 0 / 0.000);
}

.dark {
  --background: #000000;
  --foreground: #ffffff;
  --card: #0d0d0d;
  --card-foreground: #ffffff;
  --popover: #111111;
  --popover-foreground: #ffffff;
  --primary: #be1e2d;
  --primary-foreground: #ffffff;
  --secondary: #1c1c1c;
  --secondary-foreground: #ffffff;
  --muted: #141414;
  --muted-foreground: #bdbdbd;
  --accent: #1f0b0e;
  --accent-foreground: #ffffff;
  --destructive: #f87171;
  --destructive-foreground: #140303;
  --border: #2b2b2b;
  --input: #3a3a3a;
  --ring: #be1e2d;
  --chart-1: #be1e2d;
  --chart-2: #ffffff;
  --chart-3: #e0b84a;
  --chart-4: #6fbf84;
  --chart-5: #bdbdbd;
  --sidebar: #0d0d0d;
  --sidebar-foreground: #ffffff;
  --sidebar-primary: #be1e2d;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #1f0b0e;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: #2b2b2b;
  --sidebar-ring: #be1e2d;
}

/*
 * Wix look (customer layer). Fonts: Syncopate 700 stands in for the licensed "Lulo Clean One Bold" headings,
 * Roboto 300/400 for Roboto Thin/Light. Headings of the live racing data (inside [data-live-page]) keep their own styles.
 */
body { font-family: var(--font-sans); font-weight: 300; }
h1:not([data-live-page] *), h2:not([data-live-page] *), h3:not([data-live-page] *), .fx-display {
  font-family: 'Syncopate', 'Roboto', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
main h1:not([data-live-page] *) { font-size: clamp(1.125rem, 0.75rem + 1.6vw, 1.875rem) !important; }
main h2:not([data-live-page] *) { font-size: clamp(1rem, 0.7rem + 1vw, 1.5rem); }
main h3:not([data-live-page] *) { font-size: clamp(0.9rem, 0.7rem + 0.6vw, 1.1rem); }
.fx-red { color: #be1e2d; }

/* Header: thin black bar, plain white items, red underline on the active one. */
.dark [data-site-header] { background: #000 !important; color: #fff; border-color: #1f1f1f !important; }
[data-site-header] [data-nav-item] > a,
[data-site-header] [data-more-item] > button {
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.dark [data-site-header] [data-nav-item] > a,
.dark [data-site-header] [data-more-item] > button { color: #fff; }
[data-site-header] [data-nav-item] > a:hover,
[data-site-header] [data-more-item] > button:hover { background: transparent !important; }
[data-site-header] [data-nav-item] > a::after { inset-inline: 0.5rem !important; bottom: 0.1rem !important; height: 2px !important; border-radius: 0 !important; background: #be1e2d !important; }
[data-site-header] [data-nav-item] > a[data-active]::after { opacity: 1 !important; }
[data-site-header] [data-nav-item] > a:hover::after { opacity: 0.6; }

/* Buttons: rectangular red with white text, or white outline. */
.fx-btn, button[type="submit"][data-slot="button"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.7rem 2rem; border: 1px solid #be1e2d; border-radius: 0;
  background: #be1e2d; color: #fff; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s;
}
.fx-btn:hover, button[type="submit"][data-slot="button"]:hover { background: #9c1824; border-color: #9c1824; color: #fff; }
.fx-btn--outline { background: transparent; border-color: var(--foreground); color: var(--foreground); }
.fx-btn--outline:hover { background: var(--foreground); border-color: var(--foreground); color: var(--background); }

/* Layout helpers. */
.fx-wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.fx-section { background: var(--background); color: var(--foreground); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.fx-center { text-align: center; }
.fx-section h2 { margin-bottom: 1.25rem; }
.fx-section p { font-size: 1.0625rem; line-height: 1.75; }

/* Home hero: red motorcycle on black, banner text, FAST logo beside the 2027 calendar. */
.fx-hero { position: relative; isolation: isolate; background: #000; color: #fff; overflow: hidden; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.fx-hero-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; opacity: 0.85; }
.fx-hero-banner { text-align: center; max-width: 52rem; margin: 0 auto clamp(1.5rem, 4vw, 3rem); }
.fx-hero-banner h1 { font-size: clamp(0.9rem, 0.65rem + 1.1vw, 1.375rem) !important; line-height: 1.6; letter-spacing: 0.05em; }
.fx-hero-banner p { margin-top: 0.75rem; font-family: 'Syncopate', 'Roboto', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(0.8rem, 0.6rem + 0.9vw, 1.125rem); }
.fx-hero-row { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .fx-hero-row { grid-template-columns: 1fr 1fr; } }
.fx-hero-row img { width: 100%; height: auto; }
.fx-hero-logo { max-width: 28rem; margin-inline: auto; }
.fx-hero-cal { max-width: 34rem; margin-inline: auto; box-shadow: 0 0 0 1px #2b2b2b; }

/* Acrostic: big red F A S T with the badge. */
.fx-acrostic { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .fx-acrostic { grid-template-columns: 1.4fr 1fr; } }
.fx-acrostic ul { list-style: none; margin: 0; padding: 0; font-family: 'Syncopate', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(1rem, 0.5rem + 2.2vw, 2.1rem); line-height: 1.55; letter-spacing: 0.05em; }
.fx-acrostic li > span { color: #ec3642; }
.fx-badge { width: 6rem; height: 6rem; border-radius: 9999px; margin-top: 1.5rem; }
.fx-video { width: 100%; max-width: 52rem; margin: 1.5rem auto 0; display: block; background: #000; }
.fx-cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.fx-sponsor-logos { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: center; margin-top: 1.5rem; }
.fx-sponsor-logos img, .fx-logo-tile img { background: #fff; padding: 0.5rem 0.75rem; height: 4.5rem; width: auto; max-width: 100%; object-fit: contain; }
.fx-carousel { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; list-style: none; margin: 0; padding-inline: 0; }
.fx-carousel > li { flex: 0 0 auto; scroll-snap-align: start; }
.fx-carousel img { height: clamp(12rem, 32vw, 20rem); width: auto; max-width: none; display: block; }
.fx-riding { position: relative; display: grid; gap: 0; align-items: stretch; grid-template-columns: 1fr; background: var(--background); }
@media (min-width: 48rem) { .fx-riding { grid-template-columns: 1fr 1fr; min-height: 28rem; } }
.fx-riding img { width: 100%; height: 100%; max-height: 32rem; object-fit: cover; object-position: center top; }
.fx-riding-card { background: #fff; color: #000; padding: clamp(1.5rem, 4vw, 3rem); align-self: center; margin: 1.5rem 1rem; }
.fx-riding-card h2, .fx-riding-card p { color: #000; }
.fx-quick { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 40rem) { .fx-quick { grid-template-columns: repeat(3, 1fr); } }
.fx-quick a { display: block; border: 1px solid var(--border); color: var(--foreground); text-decoration: none; background: var(--card); }
.fx-quick img { width: 100%; height: 11rem; object-fit: cover; display: block; }
.fx-quick span { display: block; padding: 0.75rem 1rem 0; color: #be1e2d; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; }
.dark .fx-quick span { color: #ec3642; }
.fx-quick h3 { padding: 0.25rem 1rem 0; }
.fx-quick p { padding: 0.5rem 1rem 1rem; font-size: 0.95rem; color: var(--muted-foreground); }

/* Inner pages. */
.prose { color: var(--foreground); font-weight: 300; font-size: 1.0625rem; line-height: 1.75; }
.prose :where(p, li) { color: var(--foreground); }
.prose :where(strong) { color: var(--foreground); font-weight: 700; }
.prose :where(h2, h3, h4) { color: var(--foreground); }
.prose h2 { font-size: 1.05rem; margin-top: 2.25rem; }
.prose h3 { font-size: 0.95rem; margin-top: 1.75rem; }
.prose a { color: var(--foreground) !important; text-decoration: underline; text-decoration-color: #be1e2d; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--primary) !important; }
.fx-figure { margin: 1.5rem 0; }
.fx-figure img { width: 100%; height: auto; display: block; }
.fx-profiles { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.fx-profiles li { background: var(--card); border: 1px solid var(--border); }
.fx-profiles img { width: 100%; height: 13rem; object-fit: contain; background: var(--background); display: block; }
.fx-profiles .fx-profile-text { padding: 0.75rem 1rem 1rem; }
.fx-profiles h3 { margin: 0 0 0.35rem; font-size: 0.85rem; }
.fx-profiles p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--muted-foreground); }
.fx-logo-wall { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: center; }

/* Footer. */
.fx-footer { background: var(--background) !important; color: var(--foreground); }
.fx-footer-inner { display: grid; gap: 2.5rem; grid-template-columns: 1fr; max-width: 72rem; margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
@media (min-width: 48rem) { .fx-footer-inner { grid-template-columns: 1fr 1fr; } }
.fx-footer h2 { font-size: clamp(1rem, 0.7rem + 1.2vw, 1.5rem); margin-bottom: 1.5rem; }
.fx-footer h3 { font-family: var(--font-sans); font-weight: 300; font-size: 1.25rem; letter-spacing: 0.02em; margin: 1.5rem 0 0.5rem; text-transform: uppercase; }
.fx-footer p, .fx-footer address { font-style: normal; font-weight: 300; line-height: 1.6; margin: 0; color: var(--foreground); }
.fx-footer a { color: var(--foreground); text-decoration: none; }
.fx-footer a:hover { text-decoration: underline; text-decoration-color: #be1e2d; }
.fx-footer-logo img { width: auto; height: 3.25rem; }
.fx-social { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.fx-social svg { width: 1.5rem; height: 1.5rem; }
.fx-form label { display: block; font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--foreground); }
.fx-form .fx-field { margin-bottom: 0.9rem; }
.fx-form input, .fx-form textarea { display: block; width: 100%; background: var(--background); color: var(--foreground); border: 1px solid var(--foreground); border-radius: 0; padding: 0.55rem 0.75rem; font: inherit; font-weight: 300; }
.fx-form textarea { min-height: 7.5rem; resize: vertical; }
.fx-form input:focus-visible, .fx-form textarea:focus-visible { outline: 2px solid #be1e2d; outline-offset: 1px; }
.fx-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-footer-links { text-align: center; padding: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; text-transform: uppercase; font-size: 0.9rem; border-top: 1px solid var(--border); }
.fx-footer-copy { text-align: center; padding: 0 1rem 1rem; font-size: 0.8rem; text-transform: uppercase; }
.fx-mt { margin-top: 1.5rem; }
.fx-fluid { width: 100%; height: auto; }
.fx-acrostic--stack { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem; margin-top: 1.25rem; }
.fx-acrostic--stack ul { font-size: clamp(0.85rem, 0.45rem + 1.4vw, 1.5rem); }
.fx-acrostic li > span { font-size: 1.6em; }
.fx-acrostic--stack .fx-badge { margin-top: 0; }
.fx-sponsor-logos { list-style: none; padding: 0; margin-inline: 0; }
.fx-sponsor-logos li { margin: 0; }

/* Layout fixes: plain header menu (Roboto 400, normal case), small round badge, logo tiles that keep their size. */
[data-site-header] [data-nav-item] > a,
[data-site-header] [data-more-item] > button {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.fx-hero-row img.fx-badge { width: clamp(6rem, 12vw, 9rem); height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; flex: none; }
.fx-sponsor-logos li { flex: 0 0 auto; }
.fx-sponsor-logos img { display: block; height: 4.5rem; width: auto; max-width: none; min-width: 5rem; }
.fx-footer-more { border-top: 0; padding-bottom: 0; }
