/* ============================================
   HOME — Basket97
   ============================================ */

/* ===== SLIDER ARTICLES ===== */
.slid-news { margin-bottom: 0 !important; border: none !important; outline: none !important; }
.slid-news h2,
.slick-hero-home .slid-news h2,
.slick-hero-home h2 {
  position: static !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-style: normal !important;
  z-index: auto !important;
}

.home-slide-link {
  display: block; position: relative; text-decoration: none; color: #fff;
  overflow: hidden; border-radius: 8px;
}
.home-slide-link img { transition: transform 0.4s; }
.home-slide-link:hover img { transform: scale(1.03); }
.home-slide-link:hover { color: #fff; }

.home-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 25px 16px;
}
.home-slide-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px; font-weight: 900; text-transform: uppercase;
  line-height: 1.05; margin: 0; color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
}

/* Slick hero home — chevrons + pas de dots */
.slick-hero-home .slick-prev,
.slick-hero-home .slick-next {
  width: 40px !important; height: 40px !important;
  background: rgba(2,27,67,0.6) !important; border-radius: 50% !important;
  z-index: 5 !important;
}
.slick-hero-home .slick-prev { left: 12px !important; }
.slick-hero-home .slick-next { right: 12px !important; }
.slick-hero-home .slick-prev:before,
.slick-hero-home .slick-next:before {
  font-family: 'FontAwesome' !important;
  font-size: 18px !important; color: #fff !important; opacity: 1 !important;
}
.slick-hero-home .slick-prev:before { content: '\f053' !important; }
.slick-hero-home .slick-next:before { content: '\f054' !important; }
.slick-hero-home .slick-prev:hover,
.slick-hero-home .slick-next:hover { background: #ff5801 !important; }

/* Taille recommandee pour les vignettes articles */
/* 760 x 380 px (ratio 2:1) — format paysage, JPG ou PNG */

/* ===== MATCH EN VEDETTE — Sidebar ===== */
.featured-match {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin-bottom: 15px;
  border: 2px solid #e9ecef;
}
.featured-match__header {
  background: #021b43; padding: 10px 14px; text-align: center;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800;
  color: #fff; text-transform: uppercase; letter-spacing: 1px;
}
.featured-match__body { padding: 20px 14px; text-align: center; }
.featured-match__teams {
  display: flex; align-items: flex-start; justify-content: center; gap: 10px;
  margin-bottom: 14px;
}
.featured-match__team {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 1; min-width: 0;
}
.featured-match__logo { width: 60px; height: 60px; object-fit: contain; }
.featured-match__name {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800;
  text-transform: uppercase; color: #021b43; text-align: center; line-height: 1.2;
}
.featured-match__center { flex: 0 0 auto; padding-top: 10px; }
.featured-match__vs {
  font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 900;
  color: #ff5801; display: block;
}
.featured-match__score {
  font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900;
  color: #021b43; display: block;
}
.featured-match__venue {
  display: block; font-size: 10px; color: #6c757d;
  text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px;
}
.featured-match__status { font-size: 10px; font-weight: 700; color: #6c757d; text-transform: uppercase; }
.featured-match__status--done { color: #198754; }
.featured-match__btn {
  display: block; background: #021b43; color: #fff; text-align: center;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 10px; border-radius: 4px; text-decoration: none;
  margin-bottom: 12px; transition: background 0.15s;
}
.featured-match__btn:hover { background: #0f3567; color: #fff; }
.featured-match__countdown-label {
  font-size: 10px; font-weight: 700; color: #6c757d;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
  border-top: 1px solid #eee; padding-top: 12px;
}
.featured-match__countdown {
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.featured-match__cd-item { text-align: center; }
.featured-match__cd-num {
  font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900;
  color: #021b43; display: block; line-height: 1;
}
.featured-match__cd-item small {
  font-size: 9px; font-weight: 700; color: #6c757d;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.featured-match__cd-sep {
  font-size: 20px; font-weight: 300; color: #dee2e6; margin-top: -8px;
}

/* ===== CARROUSEL PLAYOFFS HOME ===== */
.po-home-section {
  margin: 15px 0;
}
.po-home-header {
  display: flex; justify-content: space-between; align-items: center;
  background: #021b43; padding: 12px 16px;
  border-radius: 4px 4px 0 0;
  border-bottom: 3px solid #ff5801;
  position: relative; overflow: hidden;
}
.po-home-header::before {
  content: ''; position: absolute;
  top: 0; right: -15px; width: 70px; height: 100%;
  background: rgba(255,255,255,0.04);
  transform: skewX(-12deg);
}
.po-home-header::after {
  content: ''; position: absolute;
  top: 0; right: 30px; width: 25px; height: 100%;
  background: rgba(255,255,255,0.02);
  transform: skewX(-12deg);
}
.po-home-title {
  font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 900;
  color: #fff; text-transform: uppercase; margin: 0; letter-spacing: 1px;
  font-style: italic; position: relative; z-index: 1;
}
.po-home-title i { color: #ff5801; margin-right: 6px; }
.po-home-link {
  font-size: 12px; font-weight: 700; color: #ff5801; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.5px; position: relative; z-index: 1;
}
.po-home-link:hover { color: #fff; }

.po-home-slider { margin: 0 -5px; }
.po-home-card-wrap { padding: 0 5px; }
.po-home-card {
  display: block; background: #fff; border: 1px solid #dee2e6;
  border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.po-home-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); color: inherit; }

.po-home-card__phase {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 12px; font-size: 10px; font-weight: 700;
  color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px;
  background: #f8f9fa; border-bottom: 1px solid #eee;
}
.po-home-card__ligue { color: #adb5bd; }

.po-home-card__matchup {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 10px; gap: 6px;
}
.po-home-card__team {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; min-width: 0; gap: 4px;
}
.po-home-card__logo { width: 36px; height: 36px; object-fit: contain; }
.po-home-card__name {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 800;
  text-transform: uppercase; color: #021b43; text-align: center;
  line-height: 1.2; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

.po-home-card__score-zone {
  display: flex; align-items: center; gap: 4px;
  flex: 0 0 auto; padding: 0 4px;
}
.po-home-card__pts {
  font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 900;
  color: #adb5bd; min-width: 30px; text-align: center;
}
.po-home-card__pts--win { color: #021b43; }
.po-home-card--fem .po-home-card__pts--win { color: #b7035b; }
.po-home-card__sep { font-size: 16px; color: #dee2e6; font-weight: 300; }
.po-home-card__vs {
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 900;
  color: #ff5801; background: rgba(255,88,1,0.08);
  padding: 4px 12px; border-radius: 4px;
}

.po-home-card__footer {
  text-align: center; padding: 6px; border-top: 1px solid #f0f0f0;
}
.po-home-card__status {
  font-size: 10px; font-weight: 700; color: #6c757d;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.po-home-card__status--done { color: #198754; }

/* Slick arrows */
.slick-po-home .slick-prev,
.slick-po-home .slick-next {
  width: 28px; height: 28px; z-index: 2;
  background: #021b43; border-radius: 50%;
}
.slick-po-home .slick-prev { left: -6px; }
.slick-po-home .slick-next { right: -6px; }
.slick-po-home .slick-prev:before,
.slick-po-home .slick-next:before { font-size: 12px; color: #fff; opacity: 1; }
.slick-po-home .slick-dots li button:before { color: #021b43; font-size: 8px; }
.slick-po-home .slick-dots li.slick-active button:before { color: #ff5801; }

/* ===== MATCH EN VEDETTE + PRONOS ===== */
.fm { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin-bottom: 15px; border: 2px solid #e9ecef; }
.fm__header {
  background: #021b43; padding: 12px 16px; text-align: left;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800;
  color: #fff; text-transform: uppercase; letter-spacing: 1px;
  position: relative; overflow: hidden;
  border-bottom: 3px solid #ff5801;
}
.fm__header::before {
  content: ''; position: absolute;
  top: 0; right: -10px; width: 60px; height: 100%;
  background: rgba(255,255,255,0.05); transform: skewX(-12deg);
}
.fm__header::after {
  content: ''; position: absolute;
  top: 0; right: 25px; width: 20px; height: 100%;
  background: rgba(255,255,255,0.03); transform: skewX(-12deg);
}
.fm__body { padding: 12px 14px 10px; text-align: center; position: relative; overflow: hidden; }
.fm__bg-logo {
  position: absolute; width: 160px; height: 160px; object-fit: contain;
  opacity: 0.07; pointer-events: none;
  top: -10px;
  filter: grayscale(100%);
}
.fm__bg-logo--left { left: -25px; }
.fm__bg-logo--right { right: -25px; }
.fm__sub {
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700;
  color: #6c757d; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
}
.fm__teams { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 12px; }
.fm__team { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.fm__logo { width: 60px; height: 60px; object-fit: contain; }
.fm__name { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; color: #021b43; text-align: center; line-height: 1.2; }
.fm__center { flex: 0 0 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fm__vs { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 900; color: #ff5801; }
.fm__score-line { display: flex; align-items: baseline; gap: 6px; }
.fm__score { font-family: 'Montserrat', sans-serif; font-size: 32px; font-weight: 900; color: #021b43; }
.fm__sep { font-size: 20px; color: #dee2e6; font-weight: 300; }
.fm__venue { display: block; font-size: 9px; color: #adb5bd; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 10px; line-height: 1.3; }

/* Actions — pronos + bouton */
.fm__actions { margin-top: 14px; }

/* Pronos dans la card */
.fm__prono {
  background: #f8f9fa; border-radius: 6px; padding: 8px 12px; margin-bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.fm__prono-label { font-size: 9px; font-weight: 700; color: #6c757d; text-transform: uppercase; letter-spacing: 1px; }
.fm__prono-team { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 900; color: #021b43; text-transform: uppercase; }
.fm__prono-pct { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 900; color: #ff5801; }
.fm__prono-count { font-size: 10px; color: #adb5bd; }
.fm__prono-cta {
  display: inline-block; text-align: center; width: 100%;
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: #ff5801; text-decoration: none;
  padding: 4px 0; margin-bottom: 6px;
  transition: color 0.15s;
}
.fm__prono-cta:hover { color: #021b43; }
.fm__prono-cta i { margin-right: 3px; }

/* Bouton */
.fm__btn {
  display: block; background: #ff5801; color: #fff; text-align: center;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 10px; border-radius: 4px; text-decoration: none;
  transition: background 0.15s;
}
.fm__btn:hover { background: #e04e00; color: #fff; }
.fm__btn i { margin-left: 4px; }

/* Countdown */
.fm__cd-label {
  font-size: 10px; font-weight: 700; color: #ff5801;
  text-transform: uppercase; letter-spacing: 1px; margin: 14px 0 8px;
}
.fm__cd { display: flex; align-items: center; justify-content: center; gap: 4px; padding-bottom: 6px; }
.fm__cd-item { text-align: center; }
.fm__cd-num { font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 900; color: #021b43; display: block; line-height: 1; }
.fm__cd-item small { font-size: 8px; font-weight: 700; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; }
.fm__cd-sep { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 900; color: #ff5801; margin-top: -10px; }

/* ===== TOP SCORERS PLAYOFFS ===== */
.fm-scorers {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06); margin-bottom: 15px;
  border-left: 4px solid #021b43;
}
.fm-scorers--fem { border-left-color: #b7035b; }
.fm-scorers__header {
  background: #021b43; padding: 10px 14px;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800;
  color: #fff; text-transform: uppercase; letter-spacing: 1px;
}
.fm-scorers--fem .fm-scorers__header { background: #b7035b; }
.fm-scorers__row {
  display: flex; align-items: center; padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0; gap: 8px;
}
.fm-scorers__rank { font-size: 16px; width: 24px; text-align: center; flex-shrink: 0; }
.fm-scorers__photo { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.fm-scorers__photo img { width: 100%; height: 100%; object-fit: cover; }
.fm-scorers__info { flex: 1; min-width: 0; }
.fm-scorers__name { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: #021b43; text-transform: uppercase; display: block; line-height: 1.2; }
.fm-scorers__club { font-size: 10px; color: #6c757d; display: block; margin-top: 1px; line-height: 1; }
.fm-scorers__stats { text-align: right; flex-shrink: 0; }
.fm-scorers__pts { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 900; color: #ff5801; display: block; line-height: 1; }
.fm-scorers__stats small { font-size: 9px; color: #adb5bd; display: block; margin-top: 1px; line-height: 1; }

/* ===== SLICK ARROWS — chevron dans cercle (Font Awesome) ===== */
.slick-prev, .slick-next {
  width: 36px !important; height: 36px !important;
  background: #021b43 !important; border-radius: 50% !important;
  z-index: 5 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.15s;
}
.slick-prev:hover, .slick-next:hover { background: #ff5801 !important; }
.slick-prev:before, .slick-next:before {
  font-family: 'FontAwesome' !important;
  font-size: 16px !important; color: #fff !important; opacity: 1 !important;
}
.slick-prev:before { content: '\f053' !important; }
.slick-next:before { content: '\f054' !important; }
.slick-prev { left: -8px !important; }
.slick-next { right: -8px !important; }

/* ===== SOCIAL — style original avec images ===== */
.home-socials { margin-bottom: 15px; }
.home-socials__icons {
  display: flex; gap: 5px; margin-bottom: 8px;
}
.home-socials__icon {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 90px; border-radius: 6px; color: #fff;
  text-decoration: none; transition: opacity 0.15s; position: relative;
}
.home-socials__icon img { width: 55%; margin-bottom: 4px; }
.home-socials__icon span {
  font-size: 10px; font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.5px;
  background: rgba(255,255,255,0.3); padding: 3px 0; width: 100%;
  text-align: center;
}
.home-socials__icon:hover { opacity: 0.85; color: #fff; }
.home-socials__icon--fb { background: #3b5592; }
.home-socials__icon--ig { background: #ea4c89; }
.home-socials__icon--tk { background: #000; }

.home-socials__bar {
  display: flex; align-items: center;
  border-radius: 6px; margin-bottom: 8px;
  color: #fff; text-decoration: none;
  transition: opacity 0.15s; overflow: hidden;
}
.home-socials__bar:hover { opacity: 0.85; color: #fff; }
.home-socials__bar-icon {
  display: flex; align-items: center; justify-content: center;
  width: 65px; height: 65px; flex-shrink: 0;
}
.home-socials__bar-icon img { width: 60%; }
.home-socials__bar-text {
  font-size: 16px; font-weight: 600; padding: 0 14px; line-height: 1.3;
}
.home-socials__bar-text strong { font-weight: 800; }
.home-socials__bar--yt { background: #fb1b00; }
.home-socials__bar--wa { background: #62b502; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767.98px) {
  .home-slide-title { font-size: 22px; }
  .home-slide-overlay { padding: 12px 16px; }
  .po-home-card__pts { font-size: 20px; }
  .po-home-card__logo { width: 30px; height: 30px; }
  .po-home-card__name { font-size: 10px; }

  /* Footer réseaux sociaux — centré */
  .insta97 { text-align: center !important; }
  .insta97 h4 { text-align: center; }
  .insta97 .link-foot { display: flex; justify-content: center; flex-wrap: wrap; padding: 0; }
}
