/*
Theme Name: École Saint-Vaast – Joyeux
Theme URI: https://ecole-saintvaast.be
Author: École Fondamentale Libre de Saint-Vaast
Description: Thème joyeux et coloré pour l'École Fondamentale Libre de Saint-Vaast. Inclut une page d'accueil avec actualités, calendrier d'activités et section partenaires.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saint-vaast
Tags: education, school, colorful, responsive, custom-colors, custom-menu, featured-images, widgets
*/

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
  --sv-violet:       #6610f2;
  --sv-violet-light: #8540f5;
  --sv-violet-dark:  #4b0bb4;
  --sv-white:        #ffffff;
  --sv-soft:         #f3eeff;
  --sv-yellow:       #ffd600;
  --sv-green:        #00c896;
  --sv-coral:        #ff6b6b;
  --sv-gray:         #6c757d;
  --sv-dark:         #1a1a2e;
  --sv-font-heading: 'Baloo 2', cursive;
  --sv-font-body:    'Nunito', sans-serif;
  --sv-radius:       20px;
  --sv-radius-sm:    10px;
  --sv-transition:   all 0.25s ease;
  --sv-shadow:       0 4px 20px rgba(102, 16, 242, 0.08);
  --sv-shadow-hover: 0 12px 32px rgba(102, 16, 242, 0.18);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sv-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sv-violet); text-decoration: none; transition: var(--sv-transition); }
a:hover { color: var(--sv-violet-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sv-font-heading);
  font-weight: 800;
  color: var(--sv-dark);
  line-height: 1.2;
}

/* ============================================================
   SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--sv-violet);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ============================================================
   CONTAINER
   ============================================================ */
.sv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.sv-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.sv-section-title {
  font-family: var(--sv-font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--sv-violet);
}
.sv-section-title span { color: var(--sv-coral); }
.sv-see-all {
  color: var(--sv-violet);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--sv-yellow);
  padding-bottom: 2px;
}
.sv-see-all:hover { color: var(--sv-violet-dark); }

/* ============================================================
   BUTTONS
   ============================================================ */
.sv-btn,
.wp-block-button__link,
button[type="submit"] {
  display: inline-block;
  font-family: var(--sv-font-heading);
  font-weight: 800;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: var(--sv-transition);
  text-decoration: none;
}
.sv-btn-yellow {
  background: var(--sv-yellow);
  color: var(--sv-violet);
  box-shadow: 0 4px 16px rgba(255, 214, 0, 0.4);
}
.sv-btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 214, 0, 0.5);
  color: var(--sv-violet);
}
.sv-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}
.sv-btn-outline:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ============================================================
   TOPBAR / TICKER (optional)
   ============================================================ */
.sv-ticker {
  background: var(--sv-violet-dark);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.sv-ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.sv-ticker-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.sv-ticker-item strong { color: #fff; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER
   ============================================================ */
.sv-header {
  background: var(--sv-violet);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(102, 16, 242, 0.35);
}
.sv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Logo */
.sv-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.sv-logo img,
.sv-logo .sv-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--sv-yellow);
  object-fit: cover;
}
.sv-logo .sv-logo-icon {
  background: var(--sv-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sv-font-heading);
  font-weight: 800;
  color: var(--sv-violet);
  font-size: 16px;
}
.sv-logo-text {
  color: #fff;
  font-family: var(--sv-font-heading);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
}
.sv-logo-text span {
  display: block;
  font-weight: 400;
  font-size: 14px;
  opacity: 0.75;
}

/* Nav */
.sv-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.sv-nav ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 30px;
  transition: var(--sv-transition);
  white-space: nowrap;
}
.sv-nav ul li a:hover,
.sv-nav ul li.current-menu-item > a,
.sv-nav ul li.current_page_item > a {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.sv-nav ul li.current-menu-item > a,
.sv-nav ul li.current_page_item > a {
  background: var(--sv-yellow);
  color: var(--sv-violet);
}

/* Dropdown */
.sv-nav ul li { position: relative; }
.sv-nav ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  padding: 8px;
  flex-direction: column;
  z-index: 100;
}
.sv-nav ul li:hover > ul { display: flex; }
.sv-nav ul li ul li a {
  color: var(--sv-dark);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  display: block;
}
.sv-nav ul li ul li a:hover { background: var(--sv-soft); color: var(--sv-violet); }

/* Social in header */
.sv-header-social {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.sv-header-social a {
  color: white;
  font-size: 16px;
  line-height: 1;
  transition: var(--sv-transition);
  padding: 4px;
}
.sv-header-social a:hover { color: var(--sv-yellow); transform: translateY(-1px); }
.sv-header-social svg { width: 18px; height: 18px; fill: currentColor; }

/* Mobile menu toggle */
.sv-menu-toggle {
  display: none;
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  transition: var(--sv-transition);
}
.sv-menu-toggle:hover { background: rgba(255,255,255,.3); }

/* ============================================================
   HERO
   ============================================================ */
.sv-hero {
  background: linear-gradient(135deg, var(--sv-violet) 0%, var(--sv-violet-light) 55%, #a96eff 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.sv-hero-shape-1 {
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.06); border-radius: 50%; pointer-events: none;
}
.sv-hero-shape-2 {
  position: absolute; bottom: -100px; left: -50px;
  width: 300px; height: 300px;
  background: rgba(255,214,0,.08); border-radius: 50%; pointer-events: none;
}
.sv-hero-shape-3 {
  position: absolute; top: 10%; left: 5%;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.04); border-radius: 50%; pointer-events: none;
}
.sv-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 60px;
}
.sv-hero-text { flex: 1; }
.sv-hero-badge {
  display: inline-block;
  background: var(--sv-yellow); color: var(--sv-violet);
  font-weight: 800; font-size: 11px;
  padding: 5px 14px; border-radius: 30px;
  margin-bottom: 18px;
  letter-spacing: .5px; text-transform: uppercase;
}
.sv-hero-text h1 {
  font-size: 46px; color: #fff; font-family: var(--sv-font-heading);
  font-weight: 800; line-height: 1.1; margin-bottom: 18px;
}
.sv-hero-text h1 em { color: var(--sv-yellow); font-style: normal; }
.sv-hero-text p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.7; margin-bottom: 28px; max-width: 480px; }
.sv-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.sv-hero-card-wrap { flex: 0 0 320px; }
.sv-hero-card {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px; padding: 28px; text-align: center;
}
.sv-hero-card img {
  width: 90px; height: 90px; border-radius: 50%;
  border: 4px solid var(--sv-yellow);
  margin: 0 auto 16px; object-fit: cover;
}
.sv-hero-card h3 { color: #fff; font-family: var(--sv-font-heading); font-size: 15px; margin-bottom: 6px; }
.sv-hero-card p { color: rgba(255,255,255,.75); font-size: 12px; margin-bottom: 16px; }
.sv-hero-stats { display: flex; justify-content: center; gap: 24px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 16px; }
.sv-hero-stat strong { display: block; color: var(--sv-yellow); font-family: var(--sv-font-heading); font-size: 22px; font-weight: 800; }
.sv-hero-stat span { color: rgba(255,255,255,.8); font-size: 11px; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.sv-news-section {
  padding: 80px 0;
  background: var(--sv-soft);
}
.sv-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sv-news-card {
  background: #fff;
  border-radius: var(--sv-radius);
  overflow: hidden;
  box-shadow: var(--sv-shadow);
  transition: var(--sv-transition);
  display: flex;
  flex-direction: column;
}
.sv-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sv-shadow-hover);
}
.sv-news-card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  overflow: hidden;
}
.sv-news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sv-news-card-body { padding: 20px; flex: 1; }
.sv-news-tag {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 20px;
  background: var(--sv-soft); color: var(--sv-violet);
  margin-bottom: 10px;
}
.sv-news-card-body h3 { font-family: var(--sv-font-heading); font-size: 16px; color: var(--sv-dark); margin-bottom: 8px; line-height: 1.3; }
.sv-news-card-body p { font-size: 13px; color: #666; line-height: 1.6; }
.sv-news-card-footer { padding: 12px 20px 16px; border-top: 1px solid #f5f5f5; color: #999; font-size: 12px; margin-top: auto; }
.sv-news-card-footer a { color: var(--sv-violet); font-weight: 700; font-size: 12px; }

/* ============================================================
   CALENDAR SECTION
   ============================================================ */
.sv-cal-section { padding: 70px 0; background: #fff; }
.sv-cal-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.sv-calendar {
  background: var(--sv-soft);
  border-radius: 24px; padding: 28px;
}
.sv-cal-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.sv-cal-header h3 { font-family: var(--sv-font-heading); font-size: 22px; font-weight: 800; color: var(--sv-violet); }
.sv-cal-nav { display: flex; gap: 8px; }
.sv-cal-btn {
  width: 34px; height: 34px;
  background: var(--sv-violet); color: #fff;
  border: none; border-radius: 50%; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--sv-transition);
}
.sv-cal-btn:hover { background: var(--sv-violet-dark); }
.sv-cal-days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.sv-cal-day-name { font-size: 11px; font-weight: 800; color: var(--sv-violet); padding: 6px 0; text-transform: uppercase; }
.sv-cal-day {
  padding: 8px 4px; font-size: 13px; border-radius: 10px;
  cursor: pointer; transition: var(--sv-transition); color: #444;
}
.sv-cal-day:hover { background: var(--sv-violet); color: #fff; }
.sv-cal-day.today { background: var(--sv-violet); color: #fff; font-weight: 700; }
.sv-cal-day.has-event { position: relative; font-weight: 700; }
.sv-cal-day.has-event::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--sv-yellow);
}
.sv-cal-day.empty { opacity: 0; pointer-events: none; }

/* Events sidebar */
.sv-events-list { display: flex; flex-direction: column; gap: 14px; }
.sv-event-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--sv-soft); border-radius: 16px; padding: 16px;
  transition: var(--sv-transition);
}
.sv-event-item:hover { transform: translateX(4px); }
.sv-event-date {
  flex-shrink: 0; width: 48px; height: 48px;
  background: var(--sv-violet); color: #fff; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--sv-font-heading);
}
.sv-event-date strong { font-size: 18px; font-weight: 800; line-height: 1; }
.sv-event-date span { font-size: 10px; opacity: .8; }
.sv-event-info h4 { font-size: 14px; font-weight: 700; color: var(--sv-dark); margin-bottom: 4px; }
.sv-event-info p { font-size: 12px; color: #777; }

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.sv-partners-section {
  padding: 70px 0;
  background: var(--sv-violet);
  position: relative;
  overflow: hidden;
}
.sv-partners-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.05); border-radius: 50%; pointer-events: none;
}
.sv-partners-section::after {
  content: ''; position: absolute; bottom: -60px; left: -40px;
  width: 220px; height: 220px;
  background: rgba(255,214,0,.06); border-radius: 50%; pointer-events: none;
}
.sv-partners-header { text-align: center; margin-bottom: 48px; position: relative; z-index: 1; }
.sv-partners-header .sv-section-title { color: #fff; }
.sv-partners-header .sv-section-title span { color: var(--sv-yellow); }
.sv-partners-header p { color: rgba(255,255,255,.75); font-size: 15px; margin-top: 8px; }
.sv-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  position: relative; z-index: 1;
}
.sv-partner-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--sv-transition);
  cursor: pointer;
}
.sv-partner-card:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-4px);
  border-color: rgba(255,214,0,.5);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.sv-partner-logo {
  width: 80px; height: 80px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  overflow: hidden;
}
.sv-partner-logo img { width: 130%; height: 130%; object-fit: contain; padding: 8px; }
.sv-partner-card h4 { color: #fff; font-family: var(--sv-font-heading); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.sv-partner-card p { color: rgba(255,255,255,.65); font-size: 11.5px; line-height: 1.5; }
.sv-partner-card a { color: rgba(255,255,255,.5); font-size: 11px; margin-top: 8px; display: block; transition: var(--sv-transition); }
.sv-partner-card a:hover { color: var(--sv-yellow); }

/* Partner categories */
.sv-partner-badge {
  display: inline-block;
  background: var(--sv-yellow); color: var(--sv-violet);
  font-size: 9px; font-weight: 800; letter-spacing: .5px;
  padding: 2px 8px; border-radius: 10px;
  text-transform: uppercase; margin-bottom: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.sv-footer { background: var(--sv-violet); }
.sv-footer-main { padding: 56px 0 0; }
.sv-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.sv-footer-brand img {
  width: 60px; height: 60px; border-radius: 50%;
  border: 3px solid var(--sv-yellow); margin-bottom: 14px;
}
.sv-footer-brand h3 { color: #fff; font-family: var(--sv-font-heading); font-size: 15px; margin-bottom: 8px; }
.sv-footer-brand p { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.7; max-width: 240px; margin-bottom: 18px; }
.sv-footer-social { display: flex; gap: 10px; }
.sv-footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; transition: var(--sv-transition);
}
.sv-footer-social a:hover { background: var(--sv-yellow); color: var(--sv-violet); transform: translateY(-2px); }
.sv-footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.sv-footer-col h4 { color: #fff; font-family: var(--sv-font-heading); font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.sv-footer-col a { display: block; color: rgba(255,255,255,.65); font-size: 13px; margin-bottom: 8px; transition: var(--sv-transition); }
.sv-footer-col a:hover { color: var(--sv-yellow); padding-left: 4px; }

.sv-footer-bottom {
  padding: 20px 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.sv-footer-bottom p { color: rgba(255,255,255,.5); font-size: 12px; }
.sv-footer-bottom a { color: rgba(255,255,255,.6); font-size: 12px; }
.sv-footer-bottom a:hover { color: var(--sv-yellow); }

/* ============================================================
   WIDGETS AREA
   ============================================================ */
.sv-widget-area { padding: 24px; }
.sv-widget-area .widget { margin-bottom: 28px; }
.sv-widget-area .widget-title { font-family: var(--sv-font-heading); font-size: 16px; color: var(--sv-violet); margin-bottom: 12px; border-bottom: 2px solid var(--sv-yellow); padding-bottom: 6px; }

/* ============================================================
   PAGE / POST CONTENT
   ============================================================ */
.sv-main-content { padding: 0px 0; }
.sv-content-area { max-width: 860px; margin: 0 auto; }
.sv-content-area h1, .sv-content-area h2 { margin-bottom: 16px; }
.sv-content-area p { margin-bottom: 16px; }
.sv-content-area ul, .sv-content-area ol { padding-left: 24px; margin-bottom: 16px; }
.sv-content-area ul li { list-style: disc; margin-bottom: 6px; }
.sv-content-area ol li { list-style: decimal; margin-bottom: 6px; }
.sv-page-header {
  background: var(--sv-soft);
  padding: 50px 0;
  margin-bottom: 0;
}
.sv-page-header h1 { font-family: var(--sv-font-heading); font-size: 38px; color: var(--sv-violet); }
.sv-breadcrumb { font-size: 13px; color: #888; margin-top: 1px; }
.sv-breadcrumb a { color: var(--sv-violet); }

/* ============================================================
   ARCHIVE / BLOG
   ============================================================ */
.sv-archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sv-post-card {
  background: #fff; border-radius: var(--sv-radius); overflow: hidden;
  box-shadow: var(--sv-shadow); transition: var(--sv-transition);
}
.sv-post-card:hover { transform: translateY(-4px); box-shadow: var(--sv-shadow-hover); }
.sv-post-thumb { height: 200px; overflow: hidden; }
.sv-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sv-post-card:hover .sv-post-thumb img { transform: scale(1.04); }
.sv-post-body { padding: 24px; }
.sv-post-meta { font-size: 12px; color: #aaa; margin-bottom: 8px; }
.sv-post-body h2 { font-family: var(--sv-font-heading); font-size: 18px; margin-bottom: 10px; }
.sv-post-body p { font-size: 14px; color: #666; line-height: 1.6; }
.sv-read-more { color: var(--sv-violet); font-weight: 700; font-size: 13px; margin-top: 12px; display: inline-block; border-bottom: 2px solid var(--sv-yellow); }

/* Pagination */
.sv-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.sv-pagination a, .sv-pagination span {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--sv-soft); color: var(--sv-violet); transition: var(--sv-transition);
}
.sv-pagination a:hover, .sv-pagination .current { background: var(--sv-violet); color: #fff; }

/* ============================================================
   FORMS
   ============================================================ */
.sv-form input,
.sv-form textarea,
.sv-form select,
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 2px solid #e8e0ff; font-family: var(--sv-font-body); font-size: 14px;
  background: #fff; color: var(--sv-dark);
  transition: var(--sv-transition); outline: none;
}
.sv-form input:focus,
.sv-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus { border-color: var(--sv-violet); box-shadow: 0 0 0 3px rgba(102,16,242,.1); }
.sv-form label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--sv-dark); }
.sv-form .form-group { margin-bottom: 18px; }
.sv-form button,
.wpcf7-form input[type="submit"] {
  background: var(--sv-violet); color: #fff;
  border: none; padding: 13px 28px; border-radius: 40px;
  font-weight: 800; font-size: 14px; cursor: pointer; transition: var(--sv-transition);
}
.sv-form button:hover,
.wpcf7-form input[type="submit"]:hover { background: var(--sv-violet-dark); transform: translateY(-1px); }

/* ============================================================
   GUTENBERG BLOCKS OVERRIDES
   ============================================================ */
.wp-block-image img { border-radius: 16px; }
.wp-block-quote { border-left: 4px solid var(--sv-violet); padding-left: 20px; font-style: italic; color: #666; }
.wp-block-separator { border-color: var(--sv-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sv-news-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-cal-grid { grid-template-columns: 1fr; }
  .sv-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .sv-header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .sv-nav { width: 100%; display: none; }
  .sv-nav.active { display: block; }
  .sv-nav ul { flex-direction: column; gap: 2px; padding: 8px 0; }
  .sv-nav ul li ul { position: static; box-shadow: none; background: rgba(255,255,255,.1); }
  .sv-nav ul li ul li a { color: rgba(255,255,255,.8); }
  .sv-menu-toggle { display: flex; }
  .sv-hero-inner { flex-direction: column; gap: 32px; }
  .sv-hero-card-wrap { display: none; }
  .sv-hero-text h1 { font-size: 32px; }
  .sv-news-grid { grid-template-columns: 1fr; }
  .sv-archive-grid { grid-template-columns: 1fr; }
  .sv-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-footer-top { grid-template-columns: 1fr; }
  .sv-footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .sv-hero-text h1 { font-size: 26px; }
  .sv-partners-grid { grid-template-columns: 1fr; }
  .sv-section-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 2px solid var(--sv-yellow); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
