/*
Theme Name: Wildcats
Theme URI: https://wildcats.local
Author: Wildcats Baseball & Softball Club
Author URI: https://wildcats.local
Description: Theme de club sportif "Elite Performance Kinetic" pour le Wildcats Baseball & Softball Club de Colombes. Dark mode, glassmorphism, degrade or, accents cyan pulse.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wildcats
*/

/* ==========================================================================
   Base / Resets
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0b1326;
  overflow-x: hidden;
}

.wp-site-blocks > footer {
  margin-block-start: 0;
}

::selection {
  background-color: #ffdb3c;
  color: #3a3000;
}

/* ==========================================================================
   Background texture: dot grid + radial glow
   ========================================================================== */

.wc-dot-field {
  position: relative;
}

.wc-dot-field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
  background-image: radial-gradient(#ffdb3c 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.wc-dot-field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 72% 28%, rgba(26, 43, 74, 0.9) 0%, transparent 65%);
  pointer-events: none;
}

.wc-dot-field > .wp-block-group,
.wc-dot-field > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.wc-hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.wc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 219, 60, 0.35);
  background: rgba(255, 219, 60, 0.08);
  color: #ffdb3c;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.wc-badge-dot {
  position: relative;
  display: inline-flex;
  height: 8px;
  width: 8px;
}

.wc-badge-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #ffdb3c;
  opacity: 0.75;
  animation: wc-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.wc-badge-dot::after {
  content: "";
  position: relative;
  display: block;
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background: #ffdb3c;
}

@keyframes wc-ping {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.wc-hero-title {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-style: italic;
  margin: 0 0 1.5rem;
}

.wc-ghost-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 219, 60, 0.65);
}

.wc-hero-gold {
  color: #ffdb3c;
}

.wc-hero-lead {
  max-width: 42em;
  color: #c5c6cf;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Skew buttons */

.wc-btn-skew {
  display: inline-flex;
}

.wc-btn-skew .wp-block-button__link {
  transform: skewX(-8deg);
  border-radius: 0;
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.wc-btn-skew .wp-block-button__link:hover {
  transform: skewX(-8deg) translateX(6px);
}

.wc-btn-primary .wp-block-button__link {
  background: linear-gradient(135deg, #ffe16d 0%, #ffdb3c 50%, #e9c400 100%);
  color: #3a3000;
  box-shadow: 8px 8px 0 0 rgba(255, 219, 60, 0.18);
}

.wc-btn-primary .wp-block-button__link:hover {
  box-shadow: 12px 12px 0 0 rgba(255, 219, 60, 0.25);
}

.wc-btn-ghost .wp-block-button__link {
  background: transparent;
  color: #dae2fd;
  border: 1px solid rgba(218, 226, 253, 0.3);
}

.wc-btn-ghost .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero wordmark orb (no image available) */

.wc-hero-orb {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-hero-orb::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 9999px;
  background: rgba(255, 219, 60, 0.16);
  filter: blur(70px);
  animation: wc-pulse-soft 4s ease-in-out infinite;
}

.wc-hero-orb-ring {
  position: relative;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  border: 2px solid rgba(255, 219, 60, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(45, 52, 73, 0.9), rgba(6, 14, 32, 0.95));
  box-shadow: 0 0 80px rgba(255, 219, 60, 0.15), inset 0 0 60px rgba(0, 219, 231, 0.08);
}

.wc-hero-orb-ring::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  border: 1px dashed rgba(0, 219, 231, 0.35);
  animation: wc-spin-slow 30s linear infinite;
}

.wc-hero-orb-word {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-style: italic;
  color: #ffdb3c;
  text-shadow: 0 0 30px rgba(255, 219, 60, 0.4);
}

@keyframes wc-pulse-soft {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes wc-spin-slow {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Section titles / kinetic underline
   ========================================================================== */

.wc-kinetic-heading {
  position: relative;
  padding-bottom: 1rem;
  font-style: italic;
}

.wc-kinetic-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: #ffdb3c;
}

.wc-eyebrow {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #00dbe7;
  text-transform: uppercase;
}

/* ==========================================================================
   Glass cards
   ========================================================================== */

.wc-glass {
  background: rgba(23, 31, 51, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
}

.wc-glass-hover {
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.wc-glass-hover:hover {
  transform: translateY(-4px);
  background: rgba(45, 52, 73, 0.8);
  border-color: #ffdb3c;
}

/* Match Center score cards */

.wc-score-card {
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.wc-live-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: #ffb4ab;
  color: #ffdad6;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 1rem;
}

.wc-score-meta {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #c5c6cf;
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.wc-category-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 219, 231, 0.1);
  border: 1px solid rgba(0, 219, 231, 0.3);
  color: #00dbe7;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.wc-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.wc-score-team {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wc-team-dot {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wc-team-dot.wc-gold {
  background: #ffdb3c;
}

.wc-team-dot.wc-muted {
  background: #2d3449;
}

.wc-team-name {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.wc-score-value {
  font-family: var(--wp--preset--font-family--display);
  font-size: 2.25rem;
  color: #dae2fd;
}

.wc-score-value.wc-gold {
  color: #ffdb3c;
}

.wc-score-row.wc-dim {
  opacity: 0.7;
}

/* ==========================================================================
   Social hub tiles (no images: gradient / pattern placeholders)
   ========================================================================== */

.wc-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.wc-social-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  transition: transform 0.4s ease;
}

.wc-social-tile:hover {
  transform: scale(1.03);
}

.wc-social-tile span {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.wc-social-1 {
  grid-column: span 2;
  grid-row: span 2;
  background: radial-gradient(circle at 30% 20%, #364767 0%, #0b1326 70%), repeating-linear-gradient(45deg, rgba(255,219,60,0.06) 0 2px, transparent 2px 14px);
}

.wc-social-2 { background: linear-gradient(160deg, #003134 0%, #00363a 100%); }
.wc-social-3 { background: linear-gradient(160deg, #1a2b4a 0%, #171f33 100%); }
.wc-social-4 { background: linear-gradient(160deg, #544600 0%, #221b00 100%); }
.wc-social-5 { background: linear-gradient(160deg, #2d3449 0%, #060e20 100%); }
.wc-social-6 { background: linear-gradient(160deg, #00363a 0%, #003134 100%); }

/* ==========================================================================
   News tiles
   ========================================================================== */

.wc-news-tile {
  position: relative;
  min-height: 380px;
  border-radius: 1rem;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.wc-news-tile-1 {
  background: radial-gradient(circle at 80% 10%, rgba(255, 219, 60, 0.18), transparent 55%), linear-gradient(160deg, #1a2b4a 0%, #060e20 100%);
}

.wc-news-tile-2 {
  background: radial-gradient(circle at 15% 15%, rgba(0, 219, 231, 0.18), transparent 55%), linear-gradient(160deg, #171f33 0%, #060e20 100%);
}

.wc-news-tag {
  display: inline-flex;
  align-self: flex-start;
  transform: skewX(-8deg);
  padding: 0.4rem 1rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: auto;
}

.wc-news-tag.wc-gold-tag {
  background: #ffdb3c;
  color: #3a3000;
}

.wc-news-tag.wc-cyan-tag {
  background: #00dbe7;
  color: #00363a;
}

.wc-news-title {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.75rem;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1.1;
  margin: 1.5rem 0 0.75rem;
}

/* ==========================================================================
   Events list
   ========================================================================== */

.wc-event-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 0.75rem;
  background: #ffdb3c;
  color: #3a3000;
  font-family: var(--wp--preset--font-family--mono);
}

.wc-event-date .wc-month {
  font-size: 0.7rem;
  font-weight: 700;
}

.wc-event-date .wc-day {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.wc-event-date.wc-alt {
  background: #2d3449;
  color: #dae2fd;
}

.wc-event-tag {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 0.25rem;
  background: rgba(255, 219, 60, 0.1);
  color: #ffdb3c;
}

/* ==========================================================================
   History / stat block
   ========================================================================== */

.wc-stat-panel {
  position: relative;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, #ffe16d 0%, #ffdb3c 50%, #e9c400 100%);
  color: #3a3000;
  transform: skewX(-6deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.wc-stat-panel > * {
  transform: skewX(6deg);
}

.wc-stat-number {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.9;
  margin: 0;
}

.wc-stat-label {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.5rem;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.01em;
}

.wc-feature-line {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wc-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 219, 60, 0.1);
  border: 1px solid rgba(255, 219, 60, 0.3);
  color: #ffdb3c;
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 700;
}

.wc-feature-icon.wc-cyan {
  background: rgba(0, 219, 231, 0.1);
  border-color: rgba(0, 219, 231, 0.3);
  color: #00dbe7;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.wc-cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 2rem;
}

.wc-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 219, 60, 0.12), transparent 60%);
  pointer-events: none;
}

.wc-cta-band .wp-block-heading {
  text-align: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

/* Hero orb: hide on small screens where space is tight */
@media (max-width: 991px) {
  .wc-hero-orb {
    max-width: 320px;
    margin: 2.5rem auto 0;
  }
}

/* ==========================================================================
   Equal cards (shared card row helper)
   ========================================================================== */

.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}

.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equal-cards .cta-bottom {
  margin-top: auto;
  justify-content: center;
}

/* ==========================================================================
   Header / Footer
   ========================================================================== */

.wc-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 19, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2d3449;
}

.wc-wordmark {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffdb3c;
}

.wc-site-header nav a {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #c5c6cf;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.wc-site-header nav a:hover {
  color: #ffdb3c;
}

.wc-site-header nav a.wc-nav-active {
  color: #ffdb3c;
  border-bottom-color: #ffdb3c;
}

.wc-footer-heading {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #ffdb3c;
  text-transform: uppercase;
}

.wc-footer-nav a {
  text-decoration: none;
  color: #c5c6cf;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wc-footer-nav a:hover {
  color: #ffffff;
}

.wc-newsletter-form {
  display: flex;
  gap: 0;
  width: 100%;
}

.wc-newsletter-input {
  flex: 1;
  margin: 0;
  background: rgba(0, 0, 0, 0.3);
  color: #dae2fd;
  padding: 1rem 1.25rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border-radius: 0.75rem 0 0 0.75rem;
  display: flex;
  align-items: center;
}

.wc-newsletter-btn .wp-block-button__link {
  background: #ffdb3c;
  color: #3a3000;
  border-radius: 0 0.75rem 0.75rem 0 !important;
  padding: 1rem 1.25rem;
  margin: 0;
}

.wc-footer-nav p {
  margin: 0;
}

.wc-social-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #2d3449;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  color: #dae2fd;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.wc-social-icon:hover {
  background: #ffdb3c;
  color: #3a3000;
}

/* ==========================================================================
   Animation & motion
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: wc-fadeUp 0.7s ease forwards;
}

.fade-in {
  opacity: 0;
  animation: wc-fadeIn 0.7s ease forwards;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: wc-slideIn 0.7s ease forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  animation: wc-slideIn 0.7s ease forwards;
}

@keyframes wc-fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes wc-fadeIn { to { opacity: 1; } }
@keyframes wc-slideIn { to { opacity: 1; transform: translateX(0); } }

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  animation: wc-fadeUp 0.5s ease forwards;
}
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll,
  .fade-up,
  .fade-in,
  .slide-in-left,
  .slide-in-right,
  .scale-up,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === Editor: keep animated content visible while editing === */
.editor-styles-wrapper .fade-up,
.editor-styles-wrapper .fade-in,
.editor-styles-wrapper .slide-in-left,
.editor-styles-wrapper .slide-in-right,
.editor-styles-wrapper .scale-up,
.editor-styles-wrapper .animate-on-scroll,
.editor-styles-wrapper .stagger-children > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* ==========================================================================
   Inscriptions page: step cards, documents, schedule, map, mini cards
   ========================================================================== */

.wc-step-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background: #171f33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.wc-step-card:hover {
  border-color: #ffdb3c;
  transform: translateY(-4px);
}

.wc-step-number {
  font-family: var(--wp--preset--font-family--display);
  font-size: 2.5rem;
  color: rgba(255, 219, 60, 0.2);
  margin: 0 0 1rem;
  transition: color 0.3s ease;
}

.wc-step-card:hover .wc-step-number {
  color: #ffdb3c;
}

.wc-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 219, 60, 0.06);
  border: 1px solid rgba(255, 219, 60, 0.25);
}

.wc-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #0b1326;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.wc-doc-row:hover {
  border-color: #ffdb3c;
}

.wc-doc-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 219, 231, 0.12);
  color: #00dbe7;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.wc-doc-name {
  color: #dae2fd;
  font-weight: 700;
  font-size: 0.9rem;
}

.wc-doc-meta {
  color: #c5c6cf;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

.wc-toggle-group {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  background: #171f33;
}

.wc-toggle-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.35rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #c5c6cf;
}

.wc-toggle-btn.is-active {
  background: #b6c6ee;
  color: #1f304f;
}

.wc-schedule-wrap {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: auto;
}

.wc-schedule-table {
  margin: 0;
}

.wc-schedule-table table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.wc-schedule-table thead th {
  background: #222a3d;
  color: #c5c6cf;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wc-schedule-table tbody td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.wc-schedule-table tbody td:first-child {
  border-left: none;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.8rem;
  color: #ffdb3c;
  white-space: nowrap;
}

.wc-slot {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  border-left: 4px solid transparent;
}

.wc-slot strong {
  display: block;
  font-size: 0.85rem;
}

.wc-slot small {
  display: block;
  color: #c5c6cf;
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.wc-slot-gold { background: rgba(255, 219, 60, 0.1); border-left-color: #ffdb3c; }
.wc-slot-gold strong { color: #ffdb3c; }

.wc-slot-primary { background: rgba(182, 198, 238, 0.14); border-left-color: #b6c6ee; }
.wc-slot-primary strong { color: #b6c6ee; }

.wc-slot-cyan { background: rgba(0, 219, 231, 0.1); border-left-color: #00dbe7; }
.wc-slot-cyan strong { color: #00dbe7; }

.wc-slot-error { background: rgba(255, 180, 171, 0.1); border-left-color: #ffb4ab; }
.wc-slot-error strong { color: #ffb4ab; }

.wc-slot-neutral { background: rgba(255, 255, 255, 0.06); border-left-color: #dae2fd; }
.wc-slot-neutral strong { color: #dae2fd; }

.wc-map-panel {
  position: relative;
  height: 420px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 219, 60, 0.12) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 64px),
    #060e20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-map-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffdb3c;
  color: #3a3000;
  padding: 0.9rem 1.5rem;
  border-radius: 0.5rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.wc-mini-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #131b2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-mini-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #dae2fd;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Query loop pagination (Résultats, listes de matchs)
   ========================================================================== */

.wp-block-query-pagination {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wp-block-query-pagination a {
  color: #c5c6cf;
  text-decoration: none;
}

.wp-block-query-pagination a:hover {
  color: #ffdb3c;
}

.wp-block-query-pagination-numbers {
  display: flex;
  gap: 0.5rem;
}

.wp-block-query-pagination-numbers .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: #171f33;
  color: #c5c6cf;
}

.wp-block-query-pagination-numbers .page-numbers.current {
  background: #ffdb3c;
  color: #3a3000;
  font-weight: 700;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 782px) {
  .wc-match-grid .wp-block-post-template.is-layout-grid {
    grid-template-columns: 1fr;
  }
  .wc-social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wc-social-1 {
    grid-column: span 2;
    grid-row: span 1;
  }
  .wc-stat-panel {
    transform: none;
  }
  .wc-stat-panel > * {
    transform: none;
  }
}
