/* ==========================================================================
   Savate Info Page — Matching Site Theme
   Uses UIkit classes + custom styles consistent with savate.org.ua
   ========================================================================== */

/* ---------- Custom Properties (from site theme) ---------- */
:root {
  --sv-primary: #4faae7;
  --sv-primary-dark: #2853b9;
  --sv-secondary: #2853b9;
  --sv-heading: #1e3876;
  --sv-text: #344054;
  --sv-text-muted: #667085;
  --sv-text-light: #98a2b3;
  --sv-bg: #fff;
  --sv-bg-muted: #f9fafb;
  --sv-bg-light: #f3f4f6;
  --sv-border: #eaecf0;
  --sv-accent-pink: #f6a2b1;
  --sv-accent-yellow: #fcdc57;
  --sv-accent-peach: #ffdfc7;
  --sv-font-heading: 'Plus Jakarta Sans', sans-serif;
  --sv-font-body: 'Plus Jakarta Sans', sans-serif;
  --sv-font-accent: 'Playfair Display', serif;
  --sv-font-nav: 'Plus Jakarta Sans', sans-serif;
  --sv-radius: 16px;
  --sv-radius-lg: 24px;
  --sv-radius-xl: 32px;
  --sv-transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Page scope ---------- */
.savate-page {
  font-family: var(--sv-font-body);
  color: var(--sv-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Premium Glowing Focus Halo (Mac-style/iOS-style Accessibility ring) */
.savate-page :focus-visible {
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px var(--sv-bg, #fff), 0 0 0 4px var(--sv-primary, #4faae7), 0 0 16px rgba(79, 170, 231, 0.6) !important;
  transition: box-shadow 0.15s ease-out !important;
}

/* Dark mode glowing focus halo for timeline/slider blocks */
.savate-page section.sv-timeline-section :focus-visible,
.savate-page section.sv-history-section :focus-visible,
.savate-page .sv-slider-viewport :focus-visible,
.savate-page .sv-slider-container :focus-visible {
  box-shadow: 0 0 0 2px #0d1b3b, 0 0 0 4px var(--sv-primary, #4faae7), 0 0 16px rgba(79, 170, 231, 0.6) !important;
}

/* Global headings reset to override narrow max-width and margins from site-improvements.css */
.savate-page h1,
.savate-page h2,
.savate-page h3 {
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Override YOOtheme main section for full-width */
.page-template-page-about-savate .tm-main.uk-section,
.page-template-page-about-savate-php .tm-main.uk-section {
  padding: 0 !important;
}
.page-template-page-about-savate .tm-main > .uk-container,
.page-template-page-about-savate-php .tm-main > .uk-container {
  max-width: none !important;
  padding: 0 !important;
}

/* =============================================
   HERO
   ============================================= */
.sv-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: #0d1b3b;
  color: #fff;
  overflow: hidden;
  padding: 4rem 2rem;
}

.sv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 100%, rgba(255, 255, 255, 0.05), transparent),
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
  z-index: 2;
}

.sv-hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(13, 27, 59, 0.64) 0%, rgba(20, 22, 26, 0.94) 100%), url('../images/savate-hero-history.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 15s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.sv-hero:hover .sv-hero__bg {
  transform: scale(1.01);
}

.sv-hero__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.sv-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: sv-fadeUp 0.8s ease-out both;
}

.sv-hero__title {
  font-family: var(--sv-font-heading);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1rem;
  animation: sv-fadeUp 0.8s 0.12s ease-out both;
}

.sv-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
  line-height: 1.6;
  animation: sv-fadeUp 0.8s 0.24s ease-out both;
}

.sv-hero__link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: var(--sv-transition);
  animation: sv-fadeUp 0.8s 0.36s ease-out both;
}

.sv-hero__link:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.sv-hero__link:active {
  transform: translateY(0) scale(0.96);
}

.sv-hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: sv-bounce 2s infinite;
}

.sv-hero__scroll-hint svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.5);
}

/* =============================================
   SECTIONS
   ============================================= */
.sv-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem);
  position: relative;
}

.sv-section--white {
  background: var(--sv-bg);
}

.sv-section--muted {
  background: var(--sv-bg-muted);
}

.sv-section--primary {
  background: var(--sv-primary);
  color: #fff;
}

.sv-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Typography ---------- */
.sv-section-title {
  font-family: var(--sv-font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-align: center !important;
  color: var(--sv-heading);
  margin-bottom: 0.4em;
}

.sv-section--primary .sv-section-title {
  color: #fff;
}

.sv-section-subtitle {
  text-align: center !important;
  color: var(--sv-text-muted);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  max-width: 580px;
  margin: 0 auto 2.5rem !important;
  line-height: 1.6;
}

.sv-section--primary .sv-section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* =============================================
   ABOUT / WHAT IS SAVATE
   ============================================= */
.sv-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.sv-about__text p {
  color: var(--sv-text);
  font-size: 0.98rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.sv-about__text p strong {
  color: var(--sv-heading);
}

.sv-about__highlight {
  background: var(--sv-bg-muted);
  border-left: 3px solid var(--sv-primary);
  border-radius: var(--sv-radius);
  padding: 1.2rem 1.4rem;
  margin-top: 1.2rem;
  color: var(--sv-text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* Disciplines cards */
.sv-disciplines {
  display: grid;
  gap: 1rem;
}

.sv-discipline-card {
  background: var(--sv-bg-light);
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-lg);
  padding: 6px;
  transition: var(--sv-transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.sv-discipline-card__inner {
  background: #fff;
  border-radius: calc(var(--sv-radius-lg) - 6px);
  padding: 1.4rem;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 1px 3px rgba(0,0,0,0.03);
  transition: var(--sv-transition);
  height: 100%;
  box-sizing: border-box;
}

.sv-discipline-card:hover {
  border-color: rgba(79, 170, 231, 0.4);
  box-shadow: 0 12px 32px rgba(79, 170, 231, 0.12), 0 4px 12px rgba(0,0,0,0.02);
  transform: translateY(-4px) scale(1.01);
}

.sv-discipline-card:active {
  transform: translateY(-2px) scale(0.98);
}

.sv-discipline-card:hover .sv-discipline-card__inner {
  background: linear-gradient(180deg, #fff 0%, #f4f9ff 100%);
  box-shadow: inset 0 1px 3px rgba(255,255,255,1), 0 1px 2px rgba(0,0,0,0.01);
}

.sv-discipline-card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.sv-discipline-card__name {
  font-family: var(--sv-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sv-heading);
  margin-bottom: 0.3rem;
}

.sv-discipline-card__desc {
  font-size: 0.85rem;
  color: var(--sv-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* =============================================
   HISTORY SLIDER (Premium Glassmorphic Dark-Navy Theme)
   ============================================= */
.sv-section--history {
  background: radial-gradient(circle at 50% 50%, #0c1a3a 0%, #050d20 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

/* Background Glowing Orbs for History Section */
.sv-section--history::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 170, 231, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.sv-section--history::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.sv-section--history .sv-section-title {
  color: #fff;
}

.sv-section--history .sv-section-subtitle {
  color: rgba(150, 168, 187, 0.8);
}

/* Era/Year Tabs Nav (Horizontal scrollable menu) */
.sv-history-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  padding: 0.5rem;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-history-nav::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

/* Styled text tab links (No box buttons, just text with animated underline) */
.sv-history-tab {
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--sv-font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.6s cubic-bezier(0.32, 0.72, 0, 1), transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  user-select: none;
  outline: none;
}

.sv-history-tab:active {
  transform: scale(0.96);
}

.sv-history-tab::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sv-primary) 0%, var(--sv-primary-dark) 100%);
  transform: scaleX(0);
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.sv-history-tab:hover {
  color: rgba(255, 255, 255, 0.95);
}

.sv-history-tab.active {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(79, 170, 231, 0.3);
}

.sv-history-tab.active::after {
  transform: scaleX(1);
}

/* Slider Main Container */
.sv-slider-container {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 0 4rem; /* Spacing for arrows */
}

/* Slider Viewport */
.sv-slider-viewport {
  overflow: hidden;
  width: 100%;
}

/* Slider Track */
.sv-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.32, 0.72, 0, 1), height 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform, height;
}

/* Individual Slide */
.sv-slide {
  flex: 0 0 100%;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.32, 0.72, 0, 1), transform 0.7s cubic-bezier(0.32, 0.72, 0, 1);
  transform: scale(0.98);
}

.sv-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Slide Layout Grid / Box */
.sv-slide__layout {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* Hero Slides (1 and 10) Layout */
.sv-slide__layout--hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  align-items: center;
}

.sv-slide__layout--hero .sv-slide__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.sv-slide__layout--hero .sv-slide__lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.sv-slide__layout--hero .sv-slide__desc {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.7);
}

/* Badge for Slide Era */
.sv-slide__badge {
  display: inline-block;
  font-family: var(--sv-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sv-primary);
  background: rgba(79, 170, 231, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 170, 231, 0.15);
  width: fit-content;
}

.sv-slide__title {
  font-family: var(--sv-font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.sv-slide__lead {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.25rem;
}

.sv-slide__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1rem;
}

.sv-slide__desc strong {
  color: #fff;
}

/* Glassmorphic Grid Cards inside Slides */
.sv-slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.sv-slide-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--sv-radius-lg);
  padding: 6px;
  transition: var(--sv-transition);
}

.sv-slide-card__inner {
  background: rgba(13, 27, 59, 0.45);
  border-radius: calc(var(--sv-radius-lg) - 6px);
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--sv-transition);
  height: 100%;
  box-sizing: border-box;
}

.sv-slide-card:hover {
  border-color: rgba(79, 170, 231, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(79, 170, 231, 0.08);
  transform: translateY(-4px) scale(1.015);
}

.sv-slide-card:active {
  transform: translateY(-2px) scale(0.985);
}

.sv-slide-card:hover .sv-slide-card__inner {
  background: rgba(20, 38, 77, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sv-slide-card--full {
  grid-column: span 2;
}

.sv-slide-card__header {
  font-family: var(--sv-font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.sv-slide-card__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.8rem;
}

.sv-slide-card__footer {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sv-primary);
}

/* Slide 3: Feature chips */
.sv-slide-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.sv-slide-feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.sv-slide-feature:hover {
  border-color: rgba(79, 170, 231, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

/* Slide 4: Synthesis Formula Style */
.sv-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.sv-formula__part {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.8rem;
  border-radius: 12px;
  font-family: var(--sv-font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.sv-formula__plus,
.sv-formula__equals {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sv-primary);
}

.sv-formula__result {
  background: rgba(79, 170, 231, 0.1);
  border: 1px solid rgba(79, 170, 231, 0.3);
  padding: 1.1rem 2.2rem;
  border-radius: 12px;
  font-family: var(--sv-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 12px rgba(79, 170, 231, 0.3);
  box-shadow: 0 10px 25px rgba(79, 170, 231, 0.1);
  text-align: center;
}

/* Slide 8: Custom Slider Timeline Grid */
.sv-slide-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.8rem 0;
  position: relative;
}

.sv-slide-timeline::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.sv-slide-time-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.sv-slide-time-step__year {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #050d20;
  border: 2px solid var(--sv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sv-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
  box-shadow: 0 0 10px rgba(79, 170, 231, 0.2);
}

.sv-slide-time-step__text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  max-width: 180px;
}

/* Slide 9: Champs Grid */
.sv-champs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.sv-champ-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.6s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.6s cubic-bezier(0.32, 0.72, 0, 1), transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.sv-champ-item:hover {
  border-color: rgba(79, 170, 231, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.sv-champ-item:active {
  transform: scale(0.98);
}

/* Slider Controls (No Box Buttons, Floating Glass Indicators) */
.sv-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.6s cubic-bezier(0.32, 0.72, 0, 1), border-color 0.6s cubic-bezier(0.32, 0.72, 0, 1), color 0.6s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.6s cubic-bezier(0.32, 0.72, 0, 1), transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 10;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sv-slider-arrow:hover {
  color: #fff;
  border-color: rgba(79, 170, 231, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(79, 170, 231, 0.2);
}

.sv-slider-arrow:active {
  transform: translateY(-50%) scale(0.92) !important;
}

.sv-slider-arrow--prev {
  left: 0.5rem;
}

.sv-slider-arrow--next {
  right: 0.5rem;
}

/* Dot Indicators */
.sv-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.sv-slider-dot {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: var(--sv-transition);
}

.sv-slider-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.sv-slider-dot:active {
  transform: scale(0.96);
}

.sv-slider-dot.active {
  background: var(--sv-primary);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--sv-primary);
}

/* =============================================
   TECHNIQUES
   ============================================= */
.sv-techniques__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.sv-technique-card {
  background: var(--sv-bg-light);
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-lg);
  padding: 6px;
  text-align: center;
  transition: var(--sv-transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.sv-technique-card__inner {
  background: #fff;
  border-radius: calc(var(--sv-radius-lg) - 6px);
  padding: 1.8rem 1.3rem;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 1px 3px rgba(0,0,0,0.03);
  transition: var(--sv-transition);
  height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.sv-technique-card__inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sv-primary), var(--sv-secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sv-technique-card:hover {
  border-color: rgba(79, 170, 231, 0.4);
  box-shadow: 0 12px 32px rgba(79, 170, 231, 0.12), 0 4px 12px rgba(0,0,0,0.02);
  transform: translateY(-4px) scale(1.01);
}

.sv-technique-card:active {
  transform: translateY(-2px) scale(0.98);
}

.sv-technique-card:hover .sv-technique-card__inner {
  background: linear-gradient(180deg, #fff 0%, #f4f9ff 100%);
  box-shadow: inset 0 1px 3px rgba(255,255,255,1), 0 1px 2px rgba(0,0,0,0.01);
}

.sv-technique-card:hover .sv-technique-card__inner::after {
  opacity: 1;
}

.sv-technique-card__emoji {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.sv-technique-card__name {
  font-family: var(--sv-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sv-heading);
  margin-bottom: 0.15rem;
}

.sv-technique-card__french {
  font-size: 0.75rem;
  color: var(--sv-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.sv-technique-card__desc {
  font-size: 0.86rem;
  color: var(--sv-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Hand techniques */
.sv-techniques__hands {
  margin-top: 2.5rem;
}

.sv-techniques__hands-title {
  font-family: var(--sv-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sv-heading);
  text-align: center;
  margin-bottom: 1.2rem;
}

.sv-techniques__hands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.sv-hand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--sv-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--sv-text-muted);
  transition: var(--sv-transition);
}

.sv-hand-chip:hover {
  border-color: var(--sv-primary);
  color: var(--sv-heading);
  transform: translateY(-2px);
}

.sv-hand-chip:active {
  transform: translateY(-1px) scale(0.96);
}



/* =============================================
   MODERN SAVATE (2026)
   ============================================= */
.sv-modern__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.sv-modern-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sv-radius);
  padding: 1.8rem;
  transition: var(--sv-transition);
}

.sv-modern-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.sv-modern-card:active {
  transform: translateY(-1px) scale(0.98);
}

.sv-modern-card__icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.sv-modern-card__title {
  font-family: var(--sv-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.sv-modern-card__text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

/* Stats */
.sv-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sv-stat {
  text-align: center;
  min-width: 110px;
}

.sv-stat__number {
  font-family: var(--sv-font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.sv-stat__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================
   CTA
   ============================================= */
.sv-cta {
  text-align: center !important;
  background: var(--sv-bg);
}

.sv-cta__title {
  font-family: var(--sv-font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-align: center !important;
  color: var(--sv-heading);
  margin-bottom: 0.8rem;
}

.sv-cta__text {
  color: var(--sv-text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 1.8rem !important;
  text-align: center !important;
}

.sv-cta__link {
  color: var(--sv-text-muted);
  font-size: 0.92rem;
  font-style: italic;
  text-align: center !important;
  display: block !important;
  margin: 0 auto !important;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes sv-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sv-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

.sv-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.9s cubic-bezier(0.32, 0.72, 0, 1), transform 0.9s cubic-bezier(0.32, 0.72, 0, 1), filter 0.9s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: opacity, transform, filter;
}

.sv-init .sv-reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
}

.sv-init .sv-reveal.sv-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.sv-reveal-delay-1 { transition-delay: 0.1s; }
.sv-reveal-delay-2 { transition-delay: 0.2s; }
.sv-reveal-delay-3 { transition-delay: 0.3s; }
.sv-reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .sv-about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Slider Responsive styling */
  .sv-slider-container {
    padding: 0;
    overflow: hidden; /* Prevent text overflow clipping and page horizontal scroll */
  }

  .sv-slider-arrow {
    display: none;
  }

  .sv-slide__layout {
    padding: 1.5rem;
    min-height: auto;
  }

  /* Compact text sizing inside slides for mobile readability */
  .sv-slide__title {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    margin-bottom: 0.6rem;
  }

  .sv-slide__lead {
    font-size: 0.92rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }

  .sv-slide__desc {
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
  }

  .sv-slide-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem; /* Reduced card gap */
  }

  .sv-slide-card {
    padding: 1rem; /* Compact card padding */
  }

  .sv-slide-card__header {
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
  }

  .sv-slide-card__text {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    line-height: 1.45;
  }

  .sv-slide-card__footer {
    font-size: 0.68rem;
  }

  .sv-slide-features {
    gap: 0.5rem;
    margin-top: 0.8rem;
  }

  .sv-slide-feature {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
  }

  .sv-formula {
    gap: 0.6rem;
    margin: 1.25rem 0;
  }

  .sv-formula__part {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }

  .sv-formula__result {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .sv-formula__plus,
  .sv-formula__equals {
    font-size: 1.2rem;
  }

  .sv-slide-card--full {
    grid-column: span 1;
  }

  .sv-slide-timeline {
    grid-template-columns: 1fr;
    gap: 0.75rem; /* More compact spacing */
  }

  .sv-slide-timeline::before {
    display: none;
  }

  .sv-slide-time-step {
    flex-direction: row;
    text-align: left;
    gap: 0.8rem;
  }

  .sv-slide-time-step__year {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
  }

  .sv-slide-time-step__text {
    max-width: none;
    font-size: 0.78rem;
  }

  .sv-hero__scroll-hint { display: none; }
}

@media (max-width: 600px) {
  .sv-hero { min-height: 60vh; padding: 3rem 1.25rem; }
  .sv-hero__title { font-size: 2rem; }
  .sv-section { padding: 2.25rem 1rem; }
  .sv-techniques__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

  /* More compact slider container on small screens */
  .sv-slide__layout {
    padding: 1.25rem 0.85rem;
  }

  .sv-history-nav {
    margin-bottom: 1.5rem;
  }

  .sv-history-tab {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }

  /* Highly polished 2-column grid for Champions list on mobile */
  .sv-champs-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .sv-champ-item {
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
  }

  /* Stretch and center the odd 5th item at the bottom */
  .sv-champ-item:last-child {
    grid-column: span 2;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .sv-techniques__grid { grid-template-columns: 1fr; }
  .sv-champs-list { grid-template-columns: 1fr; }
  .sv-champ-item:last-child { grid-column: span 1; text-align: left; }
}

/* =============================================
   PREFERS-REDUCED-MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .sv-reveal { opacity: 1; transform: none; transition: none; }
  .sv-hero__badge, .sv-hero__title, .sv-hero__subtitle, .sv-hero__cta { animation: none; }
  .sv-hero__scroll-hint { animation: none; }
}

/* =============================================
   PREMIUM LANGUAGE SWITCHER STYLES
   ============================================= */
/* Desktop Navbar integration */
.uk-navbar-nav .pll-parent-menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(40, 83, 185, 0.05);
  border: 1px solid rgba(40, 83, 185, 0.1);
  padding: 6px 12px !important;
  border-radius: 50px;
  font-family: var(--sv-font-nav);
  font-size: 0.85rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sv-heading) !important;
  margin: auto 10px;
  height: auto !important;
  line-height: normal !important;
  transition: var(--sv-transition);
}

.uk-navbar-nav .pll-parent-menu-item > a::after {
  content: '▼';
  font-size: 0.65rem;
  margin-left: 2px;
  opacity: 0.7;
}

.uk-navbar-nav .pll-parent-menu-item:hover > a {
  background: rgba(40, 83, 185, 0.1);
  border-color: rgba(40, 83, 185, 0.2);
  transform: translateY(-1px);
}

.uk-navbar-nav .pll-parent-menu-item > a img.pll_flag {
  width: 16px !important;
  height: 12px !important;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Dropdown styling */
.uk-navbar-nav .pll-parent-menu-item ul {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 8px !important;
  min-width: 140px;
  list-style: none;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.uk-navbar-nav .pll-parent-menu-item:hover ul {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.uk-navbar-nav .pll-parent-menu-item ul li {
  margin: 0 !important;
  padding: 0 !important;
}

.uk-navbar-nav .pll-parent-menu-item ul li a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 12px !important;
  border-radius: 8px;
  color: var(--sv-text) !important;
  font-size: 0.85rem !important;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.uk-navbar-nav .pll-parent-menu-item ul li a:hover {
  background: rgba(79, 170, 231, 0.08) !important;
  color: var(--sv-primary-dark) !important;
}

.uk-navbar-nav .pll-parent-menu-item ul li a img.pll_flag {
  width: 16px !important;
  height: 12px !important;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Mobile dialog overlay styles */
.uk-nav-default .pll-parent-menu-item {
  border-top: 1px dashed var(--sv-border);
  margin-top: 15px !important;
  padding-top: 15px !important;
}

.uk-nav-default .pll-parent-menu-item > a {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sv-heading) !important;
  pointer-events: none; /* Make heading label only */
}

.uk-nav-default .pll-parent-menu-item > a::after {
  display: none;
}

.uk-nav-default .pll-parent-menu-item ul {
  list-style: none;
  padding: 5px 0 0 15px !important;
  margin: 0 !important;
  display: block !important;
}

.uk-nav-default .pll-parent-menu-item ul li a {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 15px !important;
  margin: 4px 0;
  background: rgba(40, 83, 185, 0.03);
  border: 1px solid rgba(40, 83, 185, 0.06);
  border-radius: 30px;
  font-size: 0.9rem !important;
  color: var(--sv-text) !important;
}

.uk-nav-default .pll-parent-menu-item ul li a img.pll_flag {
  width: 18px !important;
  height: 13px !important;
  border-radius: 2px;
}

/* =============================================
   TOP TOOLBAR LANGUAGE SWITCHER STYLES
   ============================================= */
/* Top Toolbar integration (YOOtheme Pro Top Bar) */
.tm-toolbar .pll-parent-menu-item,
.tm-header-mobile .pll-parent-menu-item {
  position: relative;
  list-style: none;
  display: inline-block;
}

.tm-toolbar .pll-parent-menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px !important;
  border-radius: 50px;
  font-family: var(--sv-font-nav);
  font-size: 0.8rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff !important; /* YOOtheme toolbar is usually dark or matching header */
  transition: var(--sv-transition);
  text-decoration: none !important;
}

/* Fallback for light toolbar backgrounds */
.tm-toolbar-default .tm-toolbar .pll-parent-menu-item > a {
  color: var(--sv-heading) !important;
  background: rgba(40, 83, 185, 0.05);
  border-color: rgba(40, 83, 185, 0.1);
}

.tm-toolbar .pll-parent-menu-item > a::after {
  content: '▼';
  font-size: 0.6rem;
  margin-left: 2px;
  opacity: 0.7;
}

.tm-toolbar .pll-parent-menu-item:hover > a {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.tm-toolbar-default .tm-toolbar .pll-parent-menu-item:hover > a {
  background: rgba(40, 83, 185, 0.1);
  border-color: rgba(40, 83, 185, 0.2);
}

.tm-toolbar .pll-parent-menu-item > a img.pll_flag {
  width: 14px !important;
  height: 10px !important;
  border-radius: 1px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Top Toolbar Dropdown styling */
.tm-toolbar .pll-parent-menu-item ul {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px !important;
  min-width: 120px;
  list-style: none;
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  margin: 4px 0 0 0 !important;
}

.tm-toolbar .pll-parent-menu-item:hover ul {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tm-toolbar .pll-parent-menu-item ul li {
  margin: 0 !important;
  padding: 0 !important;
}

.tm-toolbar .pll-parent-menu-item ul li a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 10px !important;
  border-radius: 6px;
  color: var(--sv-text) !important;
  font-size: 0.8rem !important;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.tm-toolbar .pll-parent-menu-item ul li a:hover {
  background: rgba(79, 170, 231, 0.08) !important;
  color: var(--sv-primary-dark) !important;
}

.tm-toolbar .pll-parent-menu-item ul li a img.pll_flag {
  width: 14px !important;
  height: 10px !important;
  border-radius: 1px;
}
