/*
 Theme Name:   Astra Sport Child
 Theme URI:    https://votre-domaine.com
 Description:  Thème enfant pour la Plateforme de Presse Sportive - Version 1.0
 Author:       Plateforme Presse Sportive
 Author URI:   https://votre-domaine.com
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-sport-child
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
  --sport-primary:    #e8000d;     /* Rouge vif - couleur principale */
  --sport-secondary:  #1a1a2e;     /* Bleu nuit - fond foncé */
  --sport-accent:     #f5a623;     /* Or - couleur accent */
  --sport-dark:       #111111;     /* Noir profond */
  --sport-light:      #f4f4f4;     /* Gris clair fond */
  --sport-white:      #ffffff;
  --sport-text:       #222222;
  --sport-muted:      #666666;
  --sport-border:     #e0e0e0;
  --font-heading:     'Oswald', 'Arial Black', sans-serif;
  --font-body:        'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --radius:           6px;
  --shadow:           0 2px 12px rgba(0,0,0,0.10);
  --shadow-hover:     0 6px 24px rgba(0,0,0,0.18);
  --transition:       all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--sport-text);
  background-color: var(--sport-light);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--sport-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--sport-secondary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--sport-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header,
#masthead {
  background-color: var(--sport-secondary) !important;
  border-bottom: 4px solid var(--sport-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-logo img,
.custom-logo { max-height: 60px; width: auto; }

.main-navigation,
.ast-main-navigation-menu {
  background-color: transparent !important;
}

.main-navigation a,
.ast-main-navigation-menu a,
.main-header-menu > .menu-item > a {
  color: var(--sport-white) !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 16px !important;
  transition: var(--transition);
}

.main-navigation a:hover,
.ast-main-navigation-menu a:hover,
.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item.current-menu-item > a {
  color: var(--sport-accent) !important;
  background-color: rgba(255,255,255,0.05) !important;
}

/* Sous-menus */
.main-navigation .sub-menu,
.ast-main-navigation-menu .sub-menu {
  background-color: var(--sport-secondary) !important;
  border-top: 3px solid var(--sport-primary);
  min-width: 220px;
}

.main-navigation .sub-menu a,
.ast-main-navigation-menu .sub-menu a {
  color: #ccc !important;
  font-size: 13px !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.main-navigation .sub-menu a:hover,
.ast-main-navigation-menu .sub-menu a:hover {
  color: var(--sport-accent) !important;
  background-color: rgba(232,0,13,0.1) !important;
}

/* Barre de catégories sport */
.sport-category-bar {
  background-color: var(--sport-primary);
  padding: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
}
.sport-category-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  justify-content: center;
}
.sport-category-bar ul li a {
  color: var(--sport-white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 3px;
  transition: var(--transition);
  display: inline-block;
}
.sport-category-bar ul li a:hover,
.sport-category-bar ul li.current-cat a {
  background-color: rgba(0,0,0,0.25);
  color: var(--sport-accent);
}

/* ============================================================
   BANNIÈRE PUBLICITAIRE HEADER
   ============================================================ */
.ads-header-banner {
  background-color: var(--sport-dark);
  text-align: center;
  padding: 8px 15px;
}
.ads-header-banner .ads-label {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.site-content,
#content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px;
}

.content-area { flex: 1; }

/* Grille principale (contenu + sidebar) */
.site-content .ast-container,
.ast-page-builder-template .site-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

@media (max-width: 1024px) {
  .site-content .ast-container,
  .ast-page-builder-template .site-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HERO / À LA UNE
   ============================================================ */
.hero-section {
  margin-bottom: 36px;
}

.hero-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

@media (max-width: 768px) {
  .hero-featured { grid-template-columns: 1fr; }
}

.hero-main-article {
  grid-row: 1 / 3;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-main-article img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition);
}
.hero-main-article:hover img { transform: scale(1.03); }

.hero-main-article .article-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  padding: 30px 24px 20px;
}

.hero-main-article .article-overlay .article-category {
  background-color: var(--sport-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.hero-main-article .article-overlay h2 {
  color: var(--sport-white);
  font-size: 26px;
  margin: 0 0 10px;
  line-height: 1.2;
}

.hero-main-article .article-overlay .article-meta {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.hero-secondary-article {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-secondary-article img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.hero-secondary-article .article-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 20px 16px 14px;
}
.hero-secondary-article .article-overlay h3 {
  color: white;
  font-size: 15px;
  margin: 0;
  line-height: 1.3;
}
.hero-secondary-article .article-overlay .article-category {
  background-color: var(--sport-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 6px;
}

/* ============================================================
   SECTIONS PAR SPORT
   ============================================================ */
.sport-section {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--sport-primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--sport-secondary);
  margin: 0;
  position: relative;
  padding-left: 14px;
}
.section-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: var(--sport-primary);
  border-radius: 3px;
}

/* Icônes sport */
.section-header h2 .sport-icon { margin-right: 8px; }
.football-section .section-header h2::before  { background-color: #27ae60; }
.basketball-section .section-header h2::before { background-color: #e67e22; }
.lutte-section .section-header h2::before      { background-color: #8e44ad; }
.athletisme-section .section-header h2::before { background-color: #2980b9; }

.section-header .voir-plus {
  font-size: 12px;
  font-weight: 700;
  color: var(--sport-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--sport-primary);
  padding: 5px 12px;
  border-radius: 3px;
  transition: var(--transition);
}
.section-header .voir-plus:hover {
  background-color: var(--sport-primary);
  color: white;
}

/* Grille d'articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* Grille liste (pour archive/catégorie) */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================================
   CARTE ARTICLE
   ============================================================ */
.article-card {
  background-color: var(--sport-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.article-card .card-thumbnail {
  position: relative;
  overflow: hidden;
}
.article-card .card-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}
.article-card:hover .card-thumbnail img { transform: scale(1.05); }

.article-card .card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--sport-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 2px;
}

.article-card .card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card .card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--sport-secondary);
  margin: 0 0 10px;
  line-height: 1.3;
  text-transform: uppercase;
  transition: var(--transition);
}
.article-card:hover .card-title,
.article-card .card-title a:hover { color: var(--sport-primary); }

.article-card .card-title a { color: inherit; }

.article-card .card-excerpt {
  font-size: 13px;
  color: var(--sport-muted);
  line-height: 1.6;
  margin: 0 0 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--sport-border);
  font-size: 12px;
  color: var(--sport-muted);
}

.article-card .card-author { display: flex; align-items: center; gap: 6px; }
.article-card .card-author img {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.article-card .card-author-name { font-weight: 600; color: var(--sport-text); }

.article-card .card-date { color: var(--sport-muted); }

/* Carte article horizontale (liste) */
.article-card.card-horizontal {
  flex-direction: row;
  height: 140px;
}
.article-card.card-horizontal .card-thumbnail img {
  width: 200px;
  height: 100%;
  border-radius: 0;
  flex-shrink: 0;
}
.article-card.card-horizontal .card-body { padding: 14px 16px; }
.article-card.card-horizontal .card-title { font-size: 15px; }

@media (max-width: 580px) {
  .article-card.card-horizontal { flex-direction: column; height: auto; }
  .article-card.card-horizontal .card-thumbnail img { width: 100%; height: 180px; }
}

/* ============================================================
   ARTICLE SINGLE (PAGE ARTICLE)
   ============================================================ */
.single-article-header { margin-bottom: 28px; }

.single-article-header .article-category-badge {
  display: inline-block;
  background-color: var(--sport-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.single-article-header h1.entry-title {
  font-size: 34px;
  color: var(--sport-secondary);
  line-height: 1.15;
  margin: 0 0 16px;
}

@media (max-width: 768px) {
  .single-article-header h1.entry-title { font-size: 24px; }
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--sport-border);
  border-bottom: 1px solid var(--sport-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--sport-muted);
}
.article-meta-bar .meta-author {
  display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sport-text);
}
.article-meta-bar .meta-author img { width: 36px; height: 36px; border-radius: 50%; }
.article-meta-bar .meta-date::before { content: "📅 "; }
.article-meta-bar .meta-reading-time::before { content: "⏱ "; }

/* Featured image article */
.single .post-thumbnail {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.single .post-thumbnail img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

/* Contenu article */
.entry-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--sport-text);
}
.entry-content p { margin-bottom: 20px; }
.entry-content h2 {
  font-size: 22px;
  color: var(--sport-secondary);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sport-border);
}
.entry-content h3 {
  font-size: 18px;
  color: var(--sport-secondary);
  margin: 24px 0 10px;
}
.entry-content blockquote {
  border-left: 5px solid var(--sport-primary);
  background-color: var(--sport-light);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 18px;
  color: var(--sport-secondary);
}

/* Tags */
.post-tags {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--sport-border);
}
.post-tags .tag-label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--sport-muted);
  margin-right: 8px;
}
.post-tags a {
  display: inline-block;
  background-color: var(--sport-light);
  border: 1px solid var(--sport-border);
  color: var(--sport-text);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 3px 3px;
  transition: var(--transition);
}
.post-tags a:hover {
  background-color: var(--sport-primary);
  border-color: var(--sport-primary);
  color: white;
}

/* Partage réseaux sociaux */
.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.social-share .share-label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--sport-muted);
}
.social-share .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.share-btn.facebook  { background-color: #1877f2; }
.share-btn.twitter   { background-color: #1da1f2; }
.share-btn.whatsapp  { background-color: #25d366; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* Articles similaires */
.related-articles {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 3px solid var(--sport-primary);
}
.related-articles h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
.related-articles .articles-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .related-articles .articles-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.widget-area {
  position: sticky;
  top: 90px;
}

.widget {
  background-color: var(--sport-white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--sport-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--sport-primary);
  margin-bottom: 16px;
}

/* Widget Articles Récents */
.widget_recent_entries ul { list-style: none; padding: 0; margin: 0; }
.widget_recent_entries li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sport-border);
  align-items: flex-start;
}
.widget_recent_entries li:last-child { border-bottom: none; }
.widget_recent_entries li img {
  width: 70px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.widget_recent_entries li .recent-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--sport-text);
  line-height: 1.4;
}
.widget_recent_entries li .recent-date {
  font-size: 11px;
  color: var(--sport-muted);
  margin-top: 4px;
}

/* Widget Zone Publicité */
.ads-widget {
  background-color: var(--sport-dark);
  text-align: center;
  padding: 16px;
}
.ads-widget .ads-label {
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}
.ads-widget .ads-placeholder {
  background-color: #1a1a1a;
  border: 2px dashed #333;
  color: #555;
  font-size: 12px;
  padding: 20px;
  border-radius: 4px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.ads-widget .ads-placeholder span { font-size: 28px; }

/* ============================================================
   ZONES PUBLICITAIRES
   ============================================================ */
.ads-zone {
  text-align: center;
  padding: 10px 0;
  margin: 20px 0;
}
.ads-zone .ads-zone-label {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

/* Bannière 728x90 (Leaderboard) */
.ads-zone-leaderboard {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px;
  margin: 16px auto;
  max-width: 750px;
}
/* Rectangle 300x250 (Medium Rectangle) */
.ads-zone-rectangle {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Bannière entre articles */
.ads-zone-inline {
  background-color: #f0f0f0;
  border-radius: var(--radius);
  padding: 16px;
  margin: 28px 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.breaking-news-bar {
  background-color: var(--sport-dark);
  color: white;
  display: flex;
  align-items: center;
  padding: 8px 0;
  overflow: hidden;
  font-size: 13px;
}
.breaking-news-bar .breaking-label {
  background-color: var(--sport-primary);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  flex-shrink: 0;
  margin-right: 16px;
  position: relative;
  z-index: 1;
}
.breaking-news-bar .breaking-label::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 0;
  border-style: solid;
  border-width: 16px 0 16px 10px;
  border-color: transparent transparent transparent var(--sport-primary);
}
.breaking-news-bar .breaking-ticker {
  display: flex;
  overflow: hidden;
  flex: 1;
}
.breaking-news-bar .breaking-ticker-inner {
  display: flex;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  gap: 0;
}
.breaking-news-bar .breaking-ticker-inner a {
  color: rgba(255,255,255,0.85);
  padding: 0 30px;
  font-size: 13px;
  transition: var(--transition);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.breaking-news-bar .breaking-ticker-inner a:hover { color: var(--sport-accent); }
.breaking-news-bar .breaking-ticker-inner a::before {
  content: "▶ ";
  color: var(--sport-primary);
  font-size: 10px;
  margin-right: 6px;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   STATISTIQUES / COMPTEURS
   ============================================================ */
.stats-bar {
  background-color: var(--sport-secondary);
  color: white;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
}
.stats-bar .stat-item {
  padding: 16px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  flex: 1;
  max-width: 200px;
}
.stats-bar .stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--sport-accent);
  display: block;
}
.stats-bar .stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination,
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 40px 0;
}
.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--sport-border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--sport-text);
  transition: var(--transition);
}
.page-numbers a:hover,
.page-numbers .current {
  background-color: var(--sport-primary);
  border-color: var(--sport-primary);
  color: white;
}

/* ============================================================
   BARRE DE RECHERCHE
   ============================================================ */
.search-form {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--sport-border);
  transition: var(--transition);
}
.search-form:focus-within {
  border-color: var(--sport-primary);
  box-shadow: 0 0 0 3px rgba(232,0,13,0.1);
}
.search-field {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  font-family: var(--font-body);
  color: var(--sport-text);
}
.search-submit {
  background-color: var(--sport-primary);
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.search-submit:hover { background-color: var(--sport-secondary); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
#colophon {
  background-color: var(--sport-secondary);
  color: #aaa;
  padding: 50px 0 20px;
  margin-top: 50px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-about .footer-logo img { max-height: 50px; margin-bottom: 16px; }
.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-widget-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--sport-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--sport-primary);
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: "›";
  color: var(--sport-primary);
  font-size: 16px;
  font-weight: 700;
}
.footer-links a:hover { color: var(--sport-accent); padding-left: 6px; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background-color: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: white;
  font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background-color: var(--sport-primary); }

.footer-bottom {
  max-width: 1280px;
  margin: 20px auto 0;
  padding: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--sport-accent); }

/* ============================================================
   RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 15px; }

  .site-content { padding: 16px; }

  .hero-main-article img { height: 280px; }
  .hero-main-article .article-overlay h2 { font-size: 19px; }

  .breaking-news-bar .breaking-label { display: none; }

  .stats-bar { flex-wrap: wrap; }
  .stats-bar .stat-item { max-width: 50%; }

  .single-article-header h1.entry-title { font-size: 22px; }
  .entry-content { font-size: 16px; }
}

/* ============================================================
   MENU MOBILE (HAMBURGER)
   ============================================================ */
.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition);
}
.menu-toggle:hover { border-color: var(--sport-primary); }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-navigation { display: none; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; }
  .main-navigation li { border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ============================================================
   BOUTONS GÉNÉRAUX
   ============================================================ */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background-color: var(--sport-primary);
  color: white;
  border-color: var(--sport-primary);
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--sport-primary);
}
.btn-secondary {
  background-color: transparent;
  color: var(--sport-secondary);
  border-color: var(--sport-secondary);
}
.btn-secondary:hover {
  background-color: var(--sport-secondary);
  color: white;
}

/* ============================================================
   BADGES & LABELS
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.badge-primary  { background-color: var(--sport-primary); color: white; }
.badge-football { background-color: #27ae60; color: white; }
.badge-basket   { background-color: #e67e22; color: white; }
.badge-lutte    { background-color: #8e44ad; color: white; }
.badge-athletisme { background-color: #2980b9; color: white; }
.badge-en-direct { background-color: var(--sport-primary); color: white; animation: pulse 1.5s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================================================
   TABLEAU DE BORD ADMIN - ZONES PUBLICITAIRES
   ============================================================ */
.ads-manager-admin {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.ads-manager-admin table { width: 100%; border-collapse: collapse; }
.ads-manager-admin th, .ads-manager-admin td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.ads-manager-admin th {
  background-color: var(--sport-secondary);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}
.ads-manager-admin tr:hover td { background-color: #f9f9f9; }

/* ============================================================
   ANIMATION D'ENTRÉE
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.article-card,
.hero-main-article,
.hero-secondary-article {
  animation: fadeInUp 0.4s ease both;
}
.article-card:nth-child(2) { animation-delay: 0.1s; }
.article-card:nth-child(3) { animation-delay: 0.2s; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.text-red    { color: var(--sport-primary); }
.text-muted  { color: var(--sport-muted); }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.hidden { display: none; }
.clearfix::after { content: ''; display: table; clear: both; }
