/* 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; }

/* Sponsor band as on the original site: full-colour logos on white, in both themes. */
/* The band's own white reaches the banner's edge fades too (they use --background). */
.fx-sponsor-band { --background: #fff; --foreground: #000; background: #fff; color: #000; padding-block: 2.5rem 1.5rem; }
.fx-sponsor-heading {
  max-width: 56rem;
  margin: 0 auto 1.5rem;
  padding-inline: 1rem;
  color: #000 !important;
  font-size: clamp(.95rem, 2.2vw, 1.25rem);
  line-height: 1.4;
  text-align: center;
}
/* The home page says the same sentence in its own sponsor section just above. */
.flex-1:has([data-cms="home-sponsors-heading"]) ~ [data-cms-shared="footer"] .fx-sponsor-heading { display: none; }
.fx-sponsor-band .sponsor-banner { margin-block: 0; background: #fff; color: #000; }
.fx-sponsor-band .sponsor-banner img { height: 4.5rem; width: auto; max-width: 18rem; object-fit: contain; filter: none; opacity: 1; }

/* Gift certificates: the order form, with the choices of the original site's eGift card page. */
.fx-gift-order { display: grid; gap: 1.5rem; margin-block: 2rem; align-items: start; }
@media (min-width: 62rem) { .fx-gift-order { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; } .fx-gift-summary { position: sticky; top: calc(var(--site-header-height, 7rem) + 1.25rem); } }
.fx-gift-summary { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--primary); }
.fx-gift-summary figure { margin: 0; }
.fx-gift-summary img { display: block; width: 100%; height: auto; }
.fx-gift-summary-body { display: grid; gap: .75rem; padding: 1.25rem; }
.fx-gift-summary h2 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.fx-gift-intro { margin: 0; font-size: .95rem; line-height: 1.5; }
.fx-gift-lines { margin: .25rem 0 0; padding-block: .85rem; border-block: 1px solid var(--border); }
.fx-gift-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.fx-gift-lines dt { font-size: .95rem; font-variant-numeric: tabular-nums; }
.fx-gift-lines dd { margin: 0; text-align: end; }
.fx-gift-total-label { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.fx-gift-lines strong { font-size: 1.75rem; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.fx-gift-never { margin: 0; font-size: .85rem; color: var(--muted-foreground); }
.fx-gift-form { background: var(--card); border: 1px solid var(--border); padding: clamp(1.25rem, 3vw, 2rem); }
.fx-gift-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fx-gift-fields { display: grid; gap: 1.5rem; }
.fx-gift-fields[hidden] { display: none; }
.fx-gift-group legend, .fx-gift-label { display: block; padding: 0; margin-bottom: .6rem; font-size: .95rem; font-weight: 500; }
.fx-gift-grid { display: grid; gap: 1rem; }
.fx-gift-grid[hidden] { display: none; }
@media (min-width: 36rem) { .fx-gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fx-gift-wide { grid-column: 1 / -1; } }
.fx-gift-field label { display: block; margin-bottom: .3rem; font-size: .875rem; }
.fx-gift-req { color: var(--primary); }
.fx-gift-form input:not([type=radio]), .fx-gift-form select, .fx-gift-form textarea { display: block; width: 100%; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid var(--input); border-radius: 0; background: var(--background); color: var(--foreground); font: inherit; font-size: 1rem; transition: border-color .12s ease; }
.fx-gift-form textarea { resize: vertical; min-height: 6rem; }
.fx-gift-form input:not([type=radio]):hover, .fx-gift-form select:hover, .fx-gift-form textarea:hover { border-color: var(--foreground); }
.fx-gift-form :is(input, select, textarea, button):focus-visible, .fx-gift-chip input:focus-visible + span, .fx-gift-segment input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.fx-gift-form [aria-invalid="true"] { border-color: var(--destructive) !important; }
.fx-gift-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); gap: .5rem; }
.fx-gift-chip, .fx-gift-segment label { position: relative; display: block; cursor: pointer; }
.fx-gift-chip input, .fx-gift-segment input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fx-gift-chip span, .fx-gift-segment span { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .4rem .5rem; border: 1px solid var(--input); background: var(--background); font-size: .95rem; font-variant-numeric: tabular-nums; text-align: center; transition: background-color .12s ease, border-color .12s ease, color .12s ease; }
.fx-gift-chip:hover span, .fx-gift-segment label:hover span { border-color: var(--foreground); }
.fx-gift-chip input:checked + span, .fx-gift-segment input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); font-weight: 500; }
.fx-gift-segment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.fx-gift-stepper { display: inline-grid; grid-template-columns: 2.75rem 4rem 2.75rem; }
.fx-gift-stepper button { min-height: 2.75rem; border: 1px solid var(--input); background: var(--background); color: var(--foreground); font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background-color .12s ease; }
.fx-gift-stepper button:hover:not(:disabled) { background: var(--muted); }
.fx-gift-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.fx-gift-form .fx-gift-stepper input { border-inline: 0; text-align: center; padding-inline: .25rem; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
.fx-gift-stepper input::-webkit-inner-spin-button, .fx-gift-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.fx-gift-hint { margin: 0; font-size: .825rem; line-height: 1.45; color: var(--muted-foreground); }
.fx-gift-hint a { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 2px; }
.fx-gift-count { margin-top: .3rem; text-align: end; font-variant-numeric: tabular-nums; }
.fx-gift-submit, .fx-gift-again { display: block; width: 100%; min-height: 3rem; padding: .8rem 1rem; border: 0; background: var(--primary); color: var(--primary-foreground); font: inherit; font-weight: 500; text-align: center; cursor: pointer; transition: filter .12s ease; }
.fx-gift-submit:hover:not(:disabled), .fx-gift-again:hover { filter: brightness(1.15); }
.fx-gift-submit:disabled { opacity: .6; cursor: progress; }
.fx-gift-form [data-gift-status] > div { margin-top: 1rem; padding: .75rem; border: 1px solid var(--destructive); color: var(--destructive); font-size: .9rem; }
.fx-gift-done { display: grid; gap: 1rem; }
.fx-gift-done[hidden] { display: none; }
.fx-gift-done h2 { margin: 0; font-size: 1.25rem; }
.fx-gift-done p { margin: 0; line-height: 1.55; white-space: pre-line; }
.fx-gift-review { display: grid; gap: .4rem; margin: 0; padding-block: .85rem; border-block: 1px solid var(--border); }
.fx-gift-review > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .75rem; font-size: .95rem; }
.fx-gift-review dt { color: var(--muted-foreground); }
.fx-gift-review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.fx-gift-contact a { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 2px; }

/* Menu links to a part of a page stop below the sticky header. */
.fx-anchor { scroll-margin-top: calc(var(--site-header-height, 4rem) + 1rem); }

/* Header and footer keyboard focus: solid 3px outline in the page foreground (3:1 or better against the region background). */
[data-theme-region="header"] :is(a, button, summary, [role="button"]):focus-visible,
[data-theme-region="footer"] :is(a, button, summary, [role="button"]):focus-visible { outline: 3px solid var(--foreground); outline-offset: 2px; box-shadow: none; }

/* Menus opened from the header: body-level dropdowns/mobile sheet and the in-header theme menu. */
:is(.imported-menu-popup, .imported-sheet-panel) :is(a, button, summary, [role="button"]):focus-visible,
[role="menu"] [role^="menuitem"]:focus-visible { outline: 3px solid var(--popover-foreground); outline-offset: -3px; box-shadow: none; }

/* Decorative 404 numeral (30% alpha) and footer "LiveLaps" credit (50% alpha) were under 3:1 / 4.5:1; use the full muted token. */
p.text-8xl.font-bold.tracking-tighter.text-muted-foreground\/30,
footer .text-muted-foreground\/50 { color: var(--muted-foreground); }
