/*
 Theme Name:   Hello Elementor Child
 Description:  Hello Elementor Child Theme — media2001
 Author:       media2001
 Author URI:   https://media2001.be
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* Différenciation saints / fêtes dans le calendrier */
.jet-calendar-week__day-event:has([data-url*="/saint/"]) {
  border-left: 3px solid #b8860b;
  background-color: #fffdf0;
}
.jet-calendar-week__day-event:has([data-url*="/fete/"]) {
  border-left: 3px solid #1a3a5c;
  background-color: #dce8f5;
}


.saint-link-item a {
  display: inline-block; /* ou flex */
  width: 100%;
}

/* ===== FIL D'ARIANE — Rank Math ===== */

.rank-math-breadcrumb {
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.rank-math-breadcrumb p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.3rem;
}

/* Liens (niveaux parcourus) */
.rank-math-breadcrumb a {
  color: var(--e-global-color-mdf001)!important;
  text-decoration: none;
  font-weight: normal!important;;
  transition: color 0.2s ease;
  
  padding-bottom: 1px;
}

.rank-math-breadcrumb a:hover,
.rank-math-breadcrumb a:focus {
  color: #FFF!important;
  
}

/* Séparateurs */
.rank-math-breadcrumb .separator {
  color: rgba(245, 239, 228, 0.4);
  margin: 0 0.2rem;
  font-weight: normal!important;;
}

/* Page courante (dernière) */
.rank-math-breadcrumb .last {
  color: #fff!important;
  font-weight: normal!important;;
}

/* Responsive — plus compact sur mobile */
@media (max-width: 640px) {
  .rank-math-breadcrumb {
    font-size: 0.85rem;
  }
  .rank-math-breadcrumb .separator {
    margin: 0 0.1rem;
  }
}
.tum-date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #FFF4D1;
    color: #735C00;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
	margin-top:7px;
}

/* IMPORTANT : Étire les enfants à la même hauteur */
.tum-section-widgets {
    align-items: stretch !important;
}

.tum-section-widgets > .widget-enfant {
    align-self: stretch !important;
}

/* Desktop / tablette : bordure verticale entre colonnes */
.tum-section-widgets > .widget-enfant:not(:last-child) {
    border-right: 1px solid #e8e8e8;
    border-bottom: none;
}

/* Mobile : bordure horizontale entre lignes empilées */
@media (max-width: 767px) {
    .tum-section-widgets {
        align-items: stretch !important;  /* on garde stretch même en mobile */
    }
    
    .tum-section-widgets > .widget-enfant:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
}

.recurrents-display {
    white-space: pre-line;
}
/* ============================================
   FORM BREVO - CSS complet et propre
   ============================================ */

/* ============================================
   1. LABELS Email + Prénom — blanc, au-dessus
   ============================================ */
p.sib-email-area label,
p.sib-FIRSTNAME-area label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

/* ============================================
   2. INPUTS Email + Prénom — pleine largeur, bien lisibles
   ============================================ */
p.sib-email-area,
p.sib-FIRSTNAME-area {
    margin: 0 0 18px;
}

p.sib-email-area input[type="email"],
p.sib-FIRSTNAME-area input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: #ffffff;
    color: #1a2744;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

p.sib-email-area input[type="email"]::placeholder,
p.sib-FIRSTNAME-area input[type="text"]::placeholder {
    color: #b8b8b8;
    font-style: normal;
}

p.sib-email-area input[type="email"]:focus,
p.sib-FIRSTNAME-area input[type="text"]:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* ============================================
   3. LAYOUT 2 COLONNES Email + Prénom (desktop)
   ============================================ */
@media (min-width: 600px) {
    p.sib-email-area,
    p.sib-FIRSTNAME-area {
        display: inline-block;
        width: 48.5%;
        vertical-align: top;
    }
    p.sib-email-area {
        margin-right: 2%;
    }
}

/* ============================================
   4. CHECKBOX RGPD
   ============================================ */
p.sib-consent-area {
    margin: 8px 0 22px;
}

p.sib-consent-area label {
    display: flex;
    align-items: flex-start;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
}

p.sib-consent-area input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #d4af37;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Lien "Politique de confidentialité" — bien visible */
p.sib-consent-area a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 600;
    transition: color 0.2s ease;
}

p.sib-consent-area a:hover {
    color: #d4af37;
}

/* ============================================
   5. BOUTON S'INSCRIRE
   État normal : FOND BLANC + texte marine
   Hover : FOND MARINE + texte blanc (sans bordure)
   ============================================ */
input.sib-default-btn {
    background: #ffffff;
    color: #1a2744;
    border: none;
    padding: 14px 38px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 0px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

input.sib-default-btn:hover {
    background: #FFF!important;
    color: #1a2744!important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

input.sib-default-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}