/*
Theme Name: Foot 5 Académie
Theme URI: https://www.foot5academie.fr/
Author: ADdrenaline
Author URI: https://addrenaline.fr/
Description: Thème sur mesure pour l'Académie, ses formations et son espace Championnats. Compatible SportsPress et SportsPress Pro.
Version: 1.9.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: foot5-academie
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --f5-black: #080a0d;
  --f5-carbon: #111419;
  --f5-panel: #191d23;
  --f5-panel-2: #22272f;
  --f5-gold: #d49a24;
  --f5-yellow: #e8ff24;
  --f5-white: #ffffff;
  --f5-muted: #aeb5bf;
  --f5-line: rgba(255, 255, 255, 0.12);
  --f5-radius: 18px;
  --f5-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --f5-content: 1220px;
  --f5-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --f5-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--f5-black);
  color: var(--f5-white);
  font-family: var(--f5-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid var(--f5-yellow);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--f5-white);
  color: var(--f5-black);
}

.f5-container {
  width: min(calc(100% - 40px), var(--f5-content));
  margin-inline: auto;
}

.f5-home-content { margin: 0; }
.f5-home-content > * { margin-block-start: 0; margin-block-end: 0; }
.f5-home-content .f5-container > *,
.f5-home-content .f5-card > *,
.f5-home-content .f5-level > *,
.f5-home-content .f5-feature__content > *,
.f5-home-content .f5-feature__aside > *,
.f5-home-content .f5-venue > * { margin-right: 0 !important; margin-left: 0 !important; }

/* Neutralise les largeurs automatiques de Gutenberg : le thème reste l'unique
   source de vérité pour l'alignement, y compris sur les pages déjà créées. */
.f5-home-content > .alignfull { width: 100% !important; max-width: none !important; margin-right: 0 !important; margin-left: 0 !important; }
.f5-home-content .f5-container { width: min(calc(100% - 40px), var(--f5-content)) !important; max-width: var(--f5-content) !important; margin-right: auto !important; margin-left: auto !important; }
.f5-home-content .f5-hero .wp-block-cover__inner-container > .f5-container { display: block !important; }
.f5-home-content .f5-hero .wp-block-cover__inner-container > .f5-container > .f5-hero__content { width: min(700px, 100%) !important; max-width: 700px !important; justify-self: start !important; margin-right: auto !important; margin-left: 0 !important; }
.f5-home-content .f5-card-grid,
.f5-home-content .f5-levels,
.f5-home-content .f5-venues { width: 100% !important; max-width: none !important; margin-right: 0 !important; margin-left: 0 !important; }
.f5-home-content .f5-stat > *,
.f5-home-content .f5-card > *,
.f5-home-content .f5-level > *,
.f5-home-content .f5-feature__content > *,
.f5-home-content .f5-feature__aside > *,
.f5-home-content .f5-venue > *,
.f5-home-content .f5-rating > * { margin-right: 0 !important; margin-left: 0 !important; }

/* Gutenberg adds a block gap before every grid item except the first one.
   Reset it so every card starts and ends on the same row. */
.f5-home-content .f5-stats__grid > .f5-stat,
.f5-home-content .f5-card-grid > .f5-card,
.f5-home-content .f5-levels > .f5-level,
.f5-home-content .f5-venues > .f5-venue {
  align-self: stretch;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.f5-staff .f5-staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; margin: 40px 0 0 !important; }
.f5-staff-grid > .f5-staff-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; height: 100%; margin: 0 !important; padding: 22px; border: 1px solid var(--f5-line); border-radius: 14px; background: var(--f5-panel); }
.f5-staff-card > .f5-staff-photo { width: 88px; height: 88px; margin: 0 !important; }
.f5-staff-photo img { display: block; width: 88px; height: 88px; object-fit: cover; object-position: center 25%; border-radius: 50%; border: 2px solid rgba(232,255,36,.35); }
.f5-staff-card > .f5-staff-bio { min-width: 0; margin: 0 !important; }
.f5-staff-bio h3 { margin: 0 0 6px !important; font-family: var(--f5-body); font-size: 1rem; line-height: 1.3; }
.f5-staff-bio p { margin: 0 !important; color: var(--f5-muted); font-size: .85rem; line-height: 1.5; }
@media (max-width: 1050px) { .f5-staff .f5-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .f5-staff .f5-staff-grid { grid-template-columns: 1fr; } }

.f5-section { padding: 96px 0; }
.f5-section--compact { padding: 64px 0; }
.f5-section--panel { background: var(--f5-carbon); }

.f5-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--f5-yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.f5-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
}

.f5-section-title,
.entry-title,
.sp-table-caption {
  margin: 0;
  font-family: var(--f5-display);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-transform: uppercase;
}

.f5-section-title { max-width: 780px; font-size: clamp(2.35rem, 5vw, 4.8rem); }
.f5-section-intro { max-width: 700px; margin: 22px 0 0; color: var(--f5-muted); font-size: 1.08rem; }

.f5-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 2px solid var(--f5-yellow);
  border-radius: 8px;
  background: var(--f5-yellow);
  color: #090b0d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(232, 255, 36, 0.14);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.f5-button:hover { transform: translateY(-2px); background: var(--f5-white); border-color: var(--f5-white); box-shadow: 0 0 34px rgba(232, 255, 36, 0.32); }
.f5-button--outline { background: transparent; color: var(--f5-white); border-color: rgba(255,255,255,.55); }
.f5-button--outline:hover { background: var(--f5-white); color: var(--f5-black); }
.f5-button--championship { min-height: 46px; padding-inline: 18px; box-shadow: 0 0 24px rgba(232, 255, 36, 0.2); }

.f5-announcement {
  position: relative;
  z-index: 50;
  background: #1d2105;
  color: var(--f5-white);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.f5-announcement__inner { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.f5-announcement a { color: var(--f5-yellow); font-weight: 950; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--f5-line);
  background: rgba(8, 10, 13, 0.96);
}

.site-header__inner { display: grid; min-height: 84px; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.site-branding, .site-branding a { display: inline-flex; align-items: center; text-decoration: none; }
.site-branding img, .custom-logo { width: auto; max-height: 69px; }

.primary-navigation { justify-self: center; }
.primary-navigation ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin: 0; padding: 0; list-style: none; }
.primary-navigation a { position: relative; padding: 28px 0; color: #e8ebef; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.045em; text-decoration: none; text-transform: uppercase; }
.primary-navigation a::after { content: ""; position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; background: var(--f5-yellow); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.primary-navigation a:hover::after, .primary-navigation .current-menu-item > a::after { transform: scaleX(1); }
.primary-navigation .sub-menu { position: absolute; display: none; min-width: 230px; align-items: stretch; padding: 10px; border: 1px solid var(--f5-line); background: var(--f5-panel); box-shadow: var(--f5-shadow); }
.primary-navigation li { position: relative; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: grid; }
.primary-navigation .sub-menu a { display: block; padding: 12px; }
.primary-navigation .sub-menu a::after { display: none; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--f5-line);
  border-radius: 8px;
  background: transparent;
  color: var(--f5-white);
  cursor: pointer;
}

.menu-toggle .dashicons { width: 24px; height: 24px; font-size: 24px; }

.f5-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(760px, calc(100vh - 122px));
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: #050608;
  background-position: center;
  background-size: cover;
}

.f5-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(3,5,6,.18); }
.f5-hero > .f5-container { position: relative; z-index: 2; }
.f5-hero.wp-block-cover { padding: 0; }
.f5-hero.wp-block-cover::before { display: none; }
.f5-hero.wp-block-cover::after { content: ""; position: absolute; z-index: 1; right: -5%; bottom: -2px; width: min(61vw, 880px); aspect-ratio: 3 / 1; background: url("assets/images/neon-diagonal-accent.png") right bottom / contain no-repeat; filter: drop-shadow(0 0 17px rgba(232,255,36,.46)); opacity: .7; pointer-events: none; }
.f5-hero.wp-block-cover .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: none !important; justify-self: stretch; color: var(--f5-white); }
.f5-hero.wp-block-cover .wp-block-cover__image-background { object-position: center; }
.f5-hero.wp-block-cover .f5-container { position: relative; z-index: 2; }
.f5-hero__accent {
  position: absolute;
  z-index: 1;
  right: -5%;
  bottom: -2px;
  width: min(61vw, 880px);
  max-width: none;
  opacity: .7;
  filter: drop-shadow(0 0 17px rgba(232, 255, 36, .46));
  pointer-events: none;
}
.f5-hero__content { max-width: 700px; padding: 66px 0 74px; }
.f5-hero h1 { max-width: 670px; margin: 0; font-family: var(--f5-display); font-size: clamp(3.8rem, 7vw, 6.2rem); font-weight: 900; letter-spacing: -0.015em; line-height: 0.86; text-transform: uppercase; text-wrap: balance; }
.f5-hero h1 em { color: var(--f5-yellow); font-style: normal; }
.f5-hero__description { max-width: 610px; margin: 28px 0 0; color: #eef1f4; font-size: clamp(1.03rem, 2vw, 1.28rem); line-height: 1.55; }
.f5-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.f5-hero__actions.wp-block-buttons { justify-content: flex-start; }
.f5-button-block .wp-block-button__link { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 2px solid var(--f5-yellow); border-radius: 8px; background: var(--f5-yellow); color: var(--f5-black); box-shadow: 0 0 22px rgba(232,255,36,.14); font-size: .82rem; font-weight: 900; letter-spacing: .045em; line-height: 1.2; text-decoration: none; text-transform: uppercase; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.f5-button-block .wp-block-button__link:hover { transform: translateY(-2px); border-color: var(--f5-white); background: var(--f5-white); color: var(--f5-black); box-shadow: 0 0 34px rgba(232,255,36,.32); }
.f5-button-block--outline .wp-block-button__link { border-color: rgba(255,255,255,.55); background: transparent; color: var(--f5-white); box-shadow: none; }
.f5-button-block--outline .wp-block-button__link:hover { border-color: var(--f5-white); background: var(--f5-white); color: var(--f5-black); }

.f5-stats { position: relative; z-index: 3; margin-top: -44px; }
.f5-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(232,255,36,.2); border-radius: var(--f5-radius); overflow: hidden; background: var(--f5-panel); box-shadow: var(--f5-shadow), 0 0 32px rgba(232,255,36,.07); }
.f5-stat { position: relative; isolation: isolate; min-height: 148px; padding: 30px; overflow: hidden; border-right: 1px solid var(--f5-line); }
.f5-stat::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("assets/images/carbon-texture.png") center / 330px 330px no-repeat; opacity: .08; pointer-events: none; }
.f5-stat:last-child { border-right: 0; }
.f5-stat__value { display: block; color: var(--f5-yellow); font-family: var(--f5-display); font-size: 2.35rem; line-height: 1; }
.f5-stat__label { display: block; margin-top: 10px; color: #e0e4e9; font-size: .85rem; font-weight: 700; line-height: 1.35; }
.f5-stat p { margin-bottom: 0; }

.f5-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.f5-card { position: relative; display: flex; min-height: 330px; flex-direction: column; padding: 34px; overflow: hidden; border: 1px solid var(--f5-line); border-radius: var(--f5-radius); background: var(--f5-panel); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.f5-card:hover { transform: translateY(-7px); border-color: rgba(232,255,36,.72); background: var(--f5-panel-2); }
.f5-card .dashicons { display: block; width: 44px; height: 44px; flex: 0 0 44px; margin: 0; color: var(--f5-yellow); font-size: 44px; line-height: 1; }
.f5-card .f5-card__number { position: absolute; top: 18px; right: 24px; color: rgba(255,255,255,.08); font-family: var(--f5-display); font-size: 6rem; line-height: 1; }
.f5-card h3 { max-width: 280px; margin: auto 0 12px; font-family: var(--f5-display); font-size: 2rem; line-height: 1; text-transform: uppercase; }
.f5-card p { margin: 0; color: var(--f5-muted); }
.f5-card .f5-card__link { margin-top: 24px; color: var(--f5-yellow); font-size: .78rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.f5-card__link a { color: inherit; text-decoration: none; }

.f5-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; counter-reset: levels; }
.f5-level { position: relative; min-height: 270px; padding: 30px 24px; border-top: 4px solid var(--f5-yellow); background: var(--f5-panel); counter-increment: levels; }
.f5-level::before { content: "0" counter(levels); display: block; margin-bottom: 42px; color: var(--f5-yellow); font-family: var(--f5-display); font-size: 1.2rem; }
.f5-level h3 { margin: 0; font-family: var(--f5-display); font-size: 1.65rem; text-transform: uppercase; }
.f5-level p { margin: 12px 0 0; color: var(--f5-muted); font-size: .92rem; }
.f5-level .f5-level__meta { display: inline-block; margin-top: 18px; color: var(--f5-white); font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }

.f5-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: stretch; border: 1px solid var(--f5-line); border-radius: var(--f5-radius); overflow: hidden; background: var(--f5-panel); box-shadow: var(--f5-shadow); }
.f5-feature__content { padding: clamp(38px, 6vw, 76px); border-left: 7px solid var(--f5-yellow); }
.f5-feature__aside { display: grid; align-content: center; gap: 18px; padding: clamp(32px, 5vw, 64px); background: var(--f5-yellow); color: var(--f5-black); }
.f5-feature__aside strong { font-family: var(--f5-display); font-size: clamp(3.2rem, 6vw, 5.8rem); line-height: .8; }
.f5-feature__aside span { max-width: 270px; font-weight: 800; line-height: 1.35; }
.f5-feature__aside p { max-width: 300px; margin: 0; font-weight: 800; line-height: 1.35; }
.f5-feature__aside .f5-feature__metric { max-width: none; }
.f5-feature__aside .f5-button--outline { border-color: var(--f5-white); background: var(--f5-white); color: var(--f5-black); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.f5-feature__aside .f5-button--outline:hover { border-color: var(--f5-black); background: var(--f5-black); color: var(--f5-yellow); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.f5-feature__aside .f5-button--outline:focus-visible { outline-color: var(--f5-black); }
.f5-feature__aside .f5-button-block--light .wp-block-button__link { border-color: var(--f5-white); background: var(--f5-white); color: var(--f5-black); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.f5-feature__aside .f5-button-block--light .wp-block-button__link:hover { border-color: var(--f5-black); background: var(--f5-black); color: var(--f5-yellow); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.f5-feature__aside .f5-button-block--light .wp-block-button__link:focus-visible { outline-color: var(--f5-black); }
.f5-feature__aside .wp-block-buttons, .f5-feature__aside .wp-block-button, .f5-feature__aside .wp-block-button__link { width: 100%; }
.f5-checks { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.f5-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: #e2e6eb; }
.f5-checks .dashicons { color: var(--f5-yellow); }
.f5-home-content .f5-checks { padding-left: 1.2rem; list-style: square; }
.f5-home-content .f5-checks li { display: list-item; color: #e2e6eb; }
.f5-home-content .f5-checks li::marker { color: var(--f5-yellow); }

.f5-venues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.f5-venue { padding: 28px; border: 1px solid var(--f5-line); border-radius: 14px; background: var(--f5-panel); }
.f5-venue .dashicons { display: block; width: 32px; height: 32px; margin: 0; color: var(--f5-yellow); font-size: 32px; line-height: 1; }
.f5-venue h3 { margin: 22px 0 6px; font-size: 1.18rem; }
.f5-venue p { margin: 0; color: var(--f5-muted); }

.f5-proof { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; }
.f5-rating { padding: 34px; border: 1px solid rgba(232,255,36,.35); border-radius: var(--f5-radius); background: var(--f5-panel); }
.f5-rating__stars { color: var(--f5-yellow); font-size: 1.5rem; letter-spacing: .13em; }
.f5-rating p { margin: 12px 0 0; color: var(--f5-muted); }
.f5-partners { display: flex; flex-wrap: wrap; gap: 10px; }
.f5-partner { padding: 12px 16px; border: 1px solid var(--f5-line); border-radius: 999px; color: #e5e8ed; font-size: .78rem; font-weight: 800; }

.site-footer { border-top: 1px solid rgba(232,255,36,.18); background: #050608; }
.site-footer__main { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 60px; padding: 70px 0 42px; }
.site-footer__logo { max-width: 150px; }
.site-footer h2 { margin: 0 0 18px; font-size: .77rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer p, .site-footer li { color: var(--f5-muted); font-size: .9rem; }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--f5-yellow); }
.site-footer__bottom { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--f5-line); color: #858d98; font-size: .78rem; }

.f5-page-hero { padding: 92px 0 64px; border-bottom: 1px solid var(--f5-line); background: var(--f5-carbon); }
.f5-page-hero h1 { max-width: 900px; margin: 0; font-family: var(--f5-display); font-size: clamp(3.2rem, 8vw, 7rem); line-height: .9; text-transform: uppercase; }
.f5-content { width: min(calc(100% - 40px), 920px); margin-inline: auto; padding: 72px 0 100px; }
.f5-content > *:first-child { margin-top: 0; }
.f5-content a { color: var(--f5-yellow); }
.f5-content .wp-block-button__link { color: var(--f5-black); }

.f5-championship-hero { position: relative; padding: 100px 0 80px; overflow: hidden; border-bottom: 1px solid var(--f5-line); background: var(--f5-carbon); }
.f5-championship-hero h1 { position: relative; z-index: 1; max-width: 900px; margin: 0; font-family: var(--f5-display); font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: .86; text-transform: uppercase; }
.f5-championship-hero p { position: relative; z-index: 1; max-width: 650px; margin: 24px 0 0; color: var(--f5-muted); font-size: 1.1rem; }
.f5-championship-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 60px; }
.f5-championship-link { display: block; padding: 26px; border: 1px solid var(--f5-line); border-radius: 12px; background: var(--f5-panel); text-decoration: none; }
.f5-championship-link:hover { border-color: var(--f5-yellow); }

/* SportsPress / SportsPress Pro */
.sportspress-page .f5-content, .f5-sportspress-content { width: min(calc(100% - 40px), var(--f5-content)); }
.sp-template { margin: 0 0 28px; color: var(--f5-white); }
.sp-table-caption { padding: 18px 20px; border-left: 5px solid var(--f5-yellow); background: var(--f5-panel-2); color: var(--f5-white); font-size: 1.35rem; }
.sp-data-table, .sp-data-table * { box-sizing: border-box; }
.sp-data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--f5-line); background: var(--f5-panel); color: var(--f5-white); }
.sp-data-table th { padding: 14px 12px; border: 1px solid var(--f5-line); background: #0d1014; color: var(--f5-yellow); font-size: .72rem; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.sp-data-table td { padding: 14px 12px; border: 1px solid var(--f5-line); color: #e3e7ec; }
.sp-data-table tr:nth-child(even) td { background: rgba(255,255,255,.025); }
.sp-data-table a { color: var(--f5-white); }
.sp-data-table a:hover { color: var(--f5-yellow); }
.sp-template-event-blocks .sp-event-results, .sp-template-event-list .data-results { color: var(--f5-yellow); font-weight: 900; }
.sp-template-event-blocks .sp-event-date, .sp-template-event-blocks .sp-event-time { color: var(--f5-muted); }
.sp-event-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.sp-event-blocks li { padding: 24px; border: 1px solid var(--f5-line); border-radius: 12px; background: var(--f5-panel); }
.sp-team-logo img, .sp-player-photo img, .sp-staff-photo img { max-width: 220px; height: auto; }
.sp-template-details dl { display: grid; grid-template-columns: minmax(140px, .5fr) 1fr; gap: 0; }
.sp-template-details dt, .sp-template-details dd { margin: 0; padding: 12px; border-bottom: 1px solid var(--f5-line); }
.sp-template-details dt { color: var(--f5-muted); font-weight: 700; }
.sp-template-event-venue iframe, .sp-google-map { max-width: 100%; filter: grayscale(1) contrast(1.08); }
.sp-pagination, .sp-data-table .sorting { color: var(--f5-muted); }

@media (max-width: 1050px) {
  .site-header__inner { grid-template-columns: auto auto auto; justify-content: space-between; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .site-header__cta { justify-self: end; }
  .primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 18px 20px 26px; border-top: 1px solid var(--f5-line); background: var(--f5-carbon); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; gap: 0; }
  .primary-navigation a { display: block; padding: 13px 0; }
  .primary-navigation a::after { bottom: 7px; right: auto; width: 60px; }
  .primary-navigation .sub-menu { position: static; display: grid; padding: 0 0 0 18px; border: 0; background: transparent; box-shadow: none; }
  .f5-stats__grid, .f5-levels { grid-template-columns: repeat(2, 1fr); }
  .f5-stat:nth-child(2) { border-right: 0; }
  .f5-stat:nth-child(-n+2) { border-bottom: 1px solid var(--f5-line); }
  .f5-card-grid, .f5-venues, .f5-championship-grid { grid-template-columns: repeat(2, 1fr); }
  .f5-card:last-child, .f5-venue:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body.admin-bar .site-header { top: 46px; }
  .f5-container { width: min(calc(100% - 28px), var(--f5-content)); }
  .f5-home-content .f5-container { width: min(calc(100% - 28px), var(--f5-content)) !important; }
  .f5-section { padding: 70px 0; }
  .f5-announcement__inner { min-height: 46px; justify-content: flex-start; overflow: hidden; text-align: left; }
  .f5-announcement__inner span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .f5-announcement__inner a { flex: 0 0 auto; white-space: nowrap; }
  .site-header__inner { min-height: 72px; gap: 10px; }
  .site-branding img, .custom-logo { max-height: 54px; }
  .site-header__cta .f5-button { min-width: 116px; width: auto; padding: 0 9px; font-size: .61rem; }
  .site-header__cta .dashicons { display: none; }
  .f5-hero { min-height: 690px; background-position: 60% center; }
  .f5-hero::before { background: rgba(3,5,6,.56); }
  .f5-hero__accent { right: -22%; width: 108vw; opacity: .55; }
  .f5-hero.wp-block-cover::after { right: -22%; width: 108vw; opacity: .55; }
  .f5-hero__content { align-self: end; padding: 180px 0 82px; }
  .f5-hero h1 { font-size: clamp(2.9rem, 12vw, 4.2rem); letter-spacing: -.025em; }
  .f5-hero__description { font-size: 1rem; }
  .f5-hero__actions { display: grid; }
  .f5-hero__actions .f5-button { width: 100%; }
  .f5-hero__actions .wp-block-button, .f5-hero__actions .wp-block-button__link { width: 100%; }
  .f5-stats { margin-top: 0; }
  .f5-stats__grid, .f5-card-grid, .f5-levels, .f5-venues, .f5-feature, .f5-proof, .f5-championship-grid, .site-footer__main { grid-template-columns: 1fr; }
  .f5-stat { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--f5-line); }
  .f5-stat:last-child { border-bottom: 0; }
  .f5-card, .f5-level { min-height: 245px; }
  .f5-card:last-child, .f5-venue:last-child { grid-column: auto; }
  .f5-level::before { margin-bottom: 28px; }
  .f5-feature__content { border-top: 6px solid var(--f5-yellow); border-left: 0; }
  .f5-feature__aside { min-height: 260px; }
  .site-footer__main { gap: 38px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
  .sp-data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

.f5-partner a { display: block; color: inherit; text-decoration: none; }
.f5-partner:has(a:hover), .f5-partner:has(a:focus-visible) { border-color: var(--f5-yellow, #e5ff00); color: var(--f5-yellow, #e5ff00); }
.f5-rating a { color: inherit; text-underline-offset: .2em; }
.f5-highlight { padding: clamp(28px, 5vw, 64px); background: #191e24; border-left: 5px solid #e5ff00; border-radius: 18px; }
.f5-highlight > p { color: #b5bdc9; }
.f5-highlight .wp-block-button__link { background: #e5ff00; color: #080b0e; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
