.elementor-922 .elementor-element.elementor-element-2ee9d31{--display:flex;}.elementor-922 .elementor-element.elementor-element-2ee9d31.e-con{--flex-grow:0;--flex-shrink:0;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-922 .elementor-element.elementor-element-2ee9d31{--width:113.762%;}}/* Start custom CSS for container, class: .elementor-element-2ee9d31 *//* ===== Nouveau style simplifié et propre pour le calendrier ===== */

/* Section calendrier */
#advent-calendar {
  background: #ffffff;
  padding: 40px 20px 60px;
}

.advent-calendar-inner {
  max-width: 900px;
  margin: 0 auto;
}

.advent-calendar-inner h2 {
  margin-bottom: 10px;
  text-align: center;
  color: #143a7b;
}

/* Grille responsive */
.advent-calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 900px) {
  .advent-calendar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .advent-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Carte minimaliste */
.advent-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* En-tête vertical */
.advent-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* GRAND ROND AVEC LE NUMÉRO */
.advent-day-badge {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: #143a7b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.7rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

/* Titre du jour (visible seulement quand débloqué) */
.advent-card-title {
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 600;
  color: #111827;
  max-width: 130px;
}

/* On masque complètement l'extrait + lien */
.advent-card-excerpt,
.advent-card-link {
  display: none !important;
}

/* Effet hover pour les jours ouverts */
.advent-card:not(.locked):hover .advent-day-badge {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.27);
}

/* ===== ÉTAT LOCKED : avant le jour J ===== */

/* Locked = on cache TOUT sauf le numéro */
.advent-card.locked {
  cursor: default;
}

/* On masque : le bloc texte sous le rond */
.advent-card.locked .advent-card-header > div:nth-child(2),
.advent-card.locked .advent-card-excerpt,
.advent-card.locked .advent-card-link {
  display: none !important;
}

/* Style du rond AVANT la date : gris clair */
.advent-card.locked .advent-day-badge {
  background: #e5e7eb !important;
  color: #111827 !important;
  box-shadow: none !important;
}

/* On supprime totalement le ruban “Bientôt” */
.advent-card.locked::after {
  display: none !important;
}/* End custom CSS */
/* Start custom CSS *//* ===== PAGE CALENDRIER DE L'AVENT - CFTC DROITS & CHIFFRES ===== */

.advent-page {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1b2640;
}

/* HERO */
.advent-hero {
  padding: 80px 20px 40px;
  text-align: center;
  background: radial-gradient(circle at top, #e8f1ff 0, #f7f9fc 45%, #ffffff 100%);
}

.advent-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 10px;
  color: #143a7b;
}

.advent-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: #4b5563;
}

.advent-hero .tagline {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: #143a7b;
  color: #fff;
}

/* ===== CALENDRIER - GRILLE ===== */

#advent-calendar {
  background: #ffffff;
  padding: 40px 20px 60px;
}

.advent-calendar-inner {
  max-width: 980px;
  margin: 0 auto;
}

.advent-calendar-inner h2 {
  text-align: center;
  margin-bottom: 6px;
  color: #143a7b;
}

.advent-calendar-inner p {
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 26px;
}

/* Grille responsive */
.advent-calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 900px) {
  .advent-calendar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .advent-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Carte = case du calendrier */
.advent-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* En-tête vertical (rond + titre) */
.advent-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* GROS ROND AVEC LE NUMÉRO */
.advent-day-badge {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: #143a7b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.7rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

/* Titre (visible seulement quand la case est ouverte) */
.advent-card-title {
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
  color: #111827;
  max-width: 140px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sous-titre / thème */
.advent-card-subtitle {
  font-size: 0.8rem;
  color: #374151;
  max-width: 140px;
}

/* Lien "Découvrir la case" (seulement pour les jours ouverts) */
.advent-card-link {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #143a7b;
  text-decoration: none;
}

/* Effet hover pour les jours ouverts */
.advent-card:not(.locked):hover .advent-day-badge {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.28);
}

/* ===== ÉTAT LOCKED : AVANT LE JOUR J ===== */

/* Locked = on cache tout sauf le numéro */
.advent-card.locked {
  cursor: default;
}

/* On masque le titre, le sous-titre et le lien pour les jours non ouverts */
.advent-card.locked .advent-card-header > div:nth-child(2),
.advent-card.locked .advent-card-header > div:nth-child(3),
.advent-card.locked .advent-card-link {
  display: none !important;
}

/* Style du rond AVANT la date : gris clair */
.advent-card.locked .advent-day-badge {
  background: #e5e7eb;
  color: #111827;
  box-shadow: none;
}



/* ===== SECTIONS DETAILLEES (contenu des cases) ===== */

.advent-section {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 40px 20px 10px;
}

.advent-section .day-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 4px;
}

.advent-section h2 {
  font-size: 1.6rem;
  color: #143a7b;
  margin-bottom: 6px;
}

.advent-section .meta-tag {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 10px;
}

.advent-section p {
  margin-bottom: 8px;
  line-height: 1.55;
  color: #111827;
}

.advent-highlight {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #e8f1ff;
  font-size: 0.9rem;
  color: #111827;
}

.advent-backlink {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #143a7b;
  font-weight: 600;
  text-decoration: none;
}

.advent-backlink svg {
  width: 14px;
  height: 14px;
}

/* Cacher les sections tant qu'elles sont verrouillées */
.advent-section.locked-section {
  display: none;
}

/* ===== FOOTER CTA ===== */

.advent-footer-cta {
  padding: 40px 20px 60px;
  text-align: center;
  background: #143a7b;
  color: #ffffff;
}

.advent-footer-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.advent-footer-cta p {
  max-width: 700px;
  margin: 0 auto 18px;
  font-size: 0.95rem;
}

.advent-footer-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.advent-footer-buttons a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #f9fafb;
}

.advent-footer-buttons a.primary {
  background: #f9fafb;
  color: #143a7b;
}

.advent-footer-buttons a.secondary {
  background: transparent;
  color: #f9fafb;
}
/* Par défaut, on cache toutes les fiches détaillées */
.advent-section {
  display: none;
}

/* La fiche détaillée active est affichée */
.advent-section.active {
  display: block;
}
/* ===== PHOTO A GAUCHE DANS LES LECTURES DE SECTION ===== */

.advent-section-inner {
  /* permet de "contenir" le float de l'image */
  overflow: hidden;
}

.advent-section-image {
  float: left;
  margin: 0 24px 16px 0;   /* espace à droite + en bas de l'image */
  max-width: 280px;        /* tu peux ajuster (ex. 30% ou 320px selon ton image) */
}

.advent-section-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sur mobile : on annule le float pour éviter une mise en page cassée */
@media (max-width: 768px) {
  .advent-section-image {
    float: none;
    max-width: 100%;
    margin: 0 0 16px 0;
  }
}
.advent-section {
  display: none;
  scroll-margin-top: 100px; /* cohérent avec le headerOffset du JS */
}

.advent-section.active {
  display: block;
}
/* Par défaut on masque la réponse du quiz jour 19 */
#ep-reponse-19 {
  display: none;
}

/* Quand on clique sur le lien #ep-reponse-19, on l'affiche */
#ep-reponse-19:target {
  display: block;
}/* End custom CSS */