/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

.is-disabled {
  opacity: 0.55;
}


/* ==================================================
   FICHE SPECTACLE – FOND BLANC LOCAL
================================================== */

.spectacle-fiche {
    background: #ffffff;
    padding: 1.5rem 2.5rem 2.5rem;
    border-radius: 6px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    margin-top: 0 !important; /* <-- clé pour annuler tout espace parasite */
}
@media (max-width: 576px) {
  .container-fluid.no-padding-mobile {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Pour bien détacher du fond bleu */
.spectacle-fiche {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}


.spectacle-hero {
    padding: 1rem 1rem 1rem;
    text-align: center;
}

.spectacle-hero .spectacle-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem); /* ↓ avant : 4.5rem max */
    font-weight: 600;                      /* ↓ avant : 700 */
    text-transform: uppercase;
    letter-spacing: 0.07em;                /* légèrement plus serré */
    margin: 0 0 0.6rem;
}


.spectacle-authors {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 1.5rem;
    text-align: center;
}




.spectacle-hero .spectacle-meta {
	margin-bottom: 2rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.spectacle-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    margin: 1rem auto 0;
    max-width: 820px;
}

body.page-spectacle .spectacle-pitch {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin: 2.5rem 0 3rem;
}

.spectacle-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    margin: 1.5rem auto 0;
    max-width: 820px;
}

body.page-spectacle .spectacle-btn {
    background-color: #1f5fa5 !important;
    font-family: 'Oswald', sans-serif;
    font-size: 2.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

body.page-spectacle .ast-header-html-2 {
    background: transparent;
}

/* Bouton secondaire – fiche spectacle */
.spectacle-btn-secondary {
    display: inline-block;

    margin: 1.2rem 0 2.2rem;
    padding: 0.55rem 1.2rem;

    background-color: #1f5fa5;
    color: #ffffff !important;

    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;

    border-radius: 4px;
    border: none;

    text-decoration: none;
    line-height: 1.2;

    transition: background-color 0.2s ease, transform 0.15s ease;
}

.spectacle-btn-secondary:hover {
    background-color: #174a83;
    color: #ffffff;
    transform: translateY(-1px);
}

.spectacle-btn-tertiary {
    display: inline-block;
    margin: 0.1rem 0 0.1rem;
    padding: 0.35rem 0.8rem;
    background-color: #1f5fa5;
    color: #ffffff !important;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    line-height: 1.1;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.spectacle-btn-tertiary:hover {
    background-color: #174a83;
    transform: translateY(-1px);
}

/* body::before {
    content: "STYLE CHILD ACTIF";
    position: fixed;
    bottom: 5px;
    right: 5px;
    background: red;
    color: white;
    padding: 4px 6px;
    font-size: 12px;
    z-index: 9999;
} */
.spectacle-legende {
    margin-top: 0.4rem; /* très proche de la photo */
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    color: #444;
    text-align: center;
    opacity: 0.85;
    line-height: 1.3;
}
@media (max-width: 576px) {
  div.container-fluid.no-padding-mobile {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (min-width: 992px) {
  .spectacle-fiche {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media (max-width: 576px) {
  .spectacle-fiche {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.spectacle-band {
    width: 100%;
    background-color: #1f5fa5;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.6rem 1rem;
    margin: 1.2rem 0;
    border-radius: 6px;
}

.spectacle-band-count {
    color: #ff8080;
    font-weight: 600;
}

/* === CARTE SPECTACLE (HISTO / SAISON) === */

.spectacle-card {
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

/* Image */
.spectacle-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Corps */
.spectacle-card-body {
    padding: 1.2rem 1.4rem 1.4rem;
    text-align: center;
}

/* Titre */
.spectacle-card-title {
    font-family: "Oswald", sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    margin: 0.4rem 0 0.3rem;
}

/* Auteurs */
.spectacle-card-authors {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
    margin-bottom: 0.8rem;
}

/* Texte */
.spectacle-card-text {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
    margin-bottom: 1.1rem;
}

/* Boutons */
.spectacle-card-actions {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.btn-card {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    font-family: "Oswald", sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #ffffff;
}

.btn-info {
    background-color: #0d6efd;
}

.btn-book {
    background-color: #0d6efd;
}

/* Dates */
.spectacle-card-dates {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cal-row {
    display: grid;
    grid-template-columns:
    120px   /* date */
    20px    /* secteur */
    20px    /* icône AP */	
	1fr     /* heure + titre */
    1fr     /* âge */
	60px    /* langue */
    60px    /* lieu */
	44px;   /* lien */

    gap: 0.8rem;
    align-items: center;
    padding: 0.25rem 0;
}

.cal-row-meteo {
  display: grid;
  grid-template-columns:
    140px   /* date */
    20px    /* secteur */
    20px    /* icône AP */
    1fr     /* heure + titre */
    1fr     /* météo */
    44px    /* langue */
    60px    /* lieu */
    44px;   /* lien */

    gap: 0.8rem;
    align-items: center;
    padding: 0.25rem 0;
}

.cal-row-meteo-complet {
  display: grid;
  grid-template-columns:
    140px   /* date */
    20px    /* secteur */
    20px    /* icône AP */
    1fr     /* heure + titre */
    1fr     /* météo */
    44px    /* langue */
    60px    /* lieu */
    44px;   /* lien */

    gap: 0.8rem;
    align-items: center;
    padding: 0.1rem 0;
}

.cal-main {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.6rem;
    align-items: center;
}


.cal-line {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 0.6rem;
    align-items: center;
}

.cal-time {
    font-weight: 500;
    white-space: nowrap;
}

.cal-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-icons {
    display: inline-flex;
    gap: 0.4rem;
    margin-left: 0.6rem;
    white-space: nowrap;
}

.cal-icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cal-preview i { color: #1f5fa5; }
.cal-premiere i { color: #1f5fa5; }
.cal-supplementaire i { color: #1f5fa5; }
.cal-audio i { color: #1f5fa5; }


.cal-meta {
    font-size: 0.75rem;
    opacity: 0.75;
}

.cal-sect-theatre i { color: #0093C4; }
.cal-sect-horeca i  { color: #666; }
.cal-sect-jeune i   { color: red; }
.cal-sect-tournoi i { color: crimson; }
.cal-sect-formation i { color: darkgreen; }

.cal-lieu {
    font-size: 0.75rem;
    font-family: 'Open Sans', sans-serif;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-ap {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    min-width: 30px;
}

.cal-lang,
.cal-link,
.cal-sect {
    text-align: center;
}


.cal-link a,
.cal-link i {
    color: #1f5fa5;
    font-size: 1rem;
}



/* ===== LANGUE ===== */

.cal-lang {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Langue principale */
.cal-lang-main {
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

/* Couleurs */
.cal-lang-fr {
    color: #0093C4;
}

.cal-lang-nl {
    color: #A93222;
}

.cal-lang-bi {
    color: #A93222;
}

/* Surtitrage */
.cal-lang-sub {
    font-size: 0.65rem;
    opacity: 0.85;
    letter-spacing: 0.03em;
}

.cal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

/* Icône info */
.cal-link-info i {
    color: #1f5fa5;
    font-size: 1rem;
}

/* Icône billet */
.cal-link-ticket i {
    color: #1f5fa5;
    font-size: 1rem;
}

/* Icône complet */
.cal-link-full i {
    color: #cc0000;
    font-size: 1rem;
}

/* Hover */
.cal-link a:hover i {
    opacity: 0.8;
}

/* ===== LIEU ===== */

.cal-lieu {
    /* Typo */
    font-size: 0.75rem;
    font-family: 'Open Sans', sans-serif;
    color: #555;

    /* Layout */
    display: flex;
    align-items: center;
    justify-content: center;   /* centré dans la colonne */
    gap: 0.4rem;

    /* Box */
    padding: 0.15rem 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;


}


.cal-lieu-icon i {
    font-size: 1rem;
    color: #666;
}

.cal-lieu-text {
    font-size: 0.75rem;
    line-height: 1.2;
}

.cal-lieu-warning i {
    color: #cc0000;
    font-size: 1rem;
    margin-right: 0.25rem;
}

/* ===== ÂGE ===== */

.cal-age {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Spectacle */
.cal-age-standard {
    color: #660033;
}

/* Stage / Workshop */
.cal-age-formation {
    color: darkgreen;
}

.cal-age i {
    font-size: 0.85rem;
}

/* ===== METEO ===== */
.cal-meteo {
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;

  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* OK – vert */
.cal-meteo-ok {
  color: #5cb85c;
}

/* WAIT – gris 75 % */
.cal-meteo-wait {
  color: rgba(0, 0, 0, 0.75);
}

/* CANCEL – rouge */
.cal-meteo-cancel {
  color: #800000;
}

/* MOVE / COVID / INFO – orange */
.cal-meteo-move,
.cal-meteo-covid,
.cal-meteo-info {
  color: #d58512;
}

/* Supprimer toute ligne fine automatique */
.cal-row {
    border: none !important;
    box-shadow: none !important;
}
.cal-separator {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0.8rem 0;
}
.cal-row-same-day {
    margin-top: 0.15rem;
}

/* Supprimer toute bordure parasite sur les lignes du calendrier */
.cal-row {
    border-bottom: none !important;
}

/* Séparateur unique entre les jours */
.cal-separator {
    border: none;
    border-top: 1px solid #cfcfcf;    
    margin: 0.8rem 0;
}
/* === ANNULER LES SÉPARATEURS ASTRA DANS LE CALENDRIER === */
.cal-row,
.cal-row * {
    border: none !important;
}
.cal-row hr {
    display: none !important;
}

@media (max-width: 768px) {
  .cal-row {
    grid-template-columns: 100px 1fr 60px;
  }

  .cal-sect,
  .cal-icons,
  .cal-lieu {
    display: none;
  }
}

@media (max-width: 768px) {
  .cal-main {
    flex-direction: column;
    align-items: flex-start;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .cal-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .cal-lieu {
    display: none;
  }
}

@media (max-width: 768px) {
  .cal-age {
    display: none;
  }
}

/* =========================
   STATS REPRÉSENTATIONS
========================= */

.brx-stats {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase; /* ← ICI */
}

.brx-stats .brx-stats-number {
  color: #800000; /* bordeaux */
  font-weight: 700;
}


