/* Ajustements propres aux fiches de cours et au hub (index.php, cours.php).
   Moteur unique depuis le 03/10/2026. */

/* Le H1 porte maintenant un titre complet (« Formation X à Y › date ») et non
   plus le seul nom de ville : la hauteur fixe de .title doit devenir un plancher,
   sinon le texte déborde de son bloc. */
.title--long {
    height: auto;
    min-height: 40px;
    font-size: 1.8em;
    letter-spacing: 0.04em;
    line-height: 1.15em;
    padding-top: 0;
}

/* Titres du module, auparavant fournis en dur dans le HTML du JSON */
.curso-modul   { color: #990033; margin: 0 0 4px; }
.curso-tagline { color: #555; font-style: italic; font-weight: normal; margin: 0 0 14px; }

/* Visuel de repli quand le cours n'a pas de vidéo */
.curso-img {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 16px auto;
    border-radius: 8px;
}

.lugar-name    { font-weight: bold; margin: 0 0 6px; }
.lugar-datos   { margin: 0 0 1em; padding-left: 1.2em; }
.reserva-deposit { font-style: italic; }

@media (max-width: 599px) {
    .title--long { font-size: 1.5em; }
}

/* Coordonnees du bloc « Reserver ». Classe a part : .profe-contact porte un
   display:none dans agenda-content.css, qui masquait aussi celle-ci. */
.reserva-contact {
  font-weight: bold;
  hyphens: none;
  margin: 0.4em 0 0;
  padding: 0;
}
.reserva-contact a { word-break: break-word; }

/* Nom du formateur sous le titre « Contact », quand il n'y a pas d'organisation. */
.contact-name {
  margin: 0.2em 0 0;
  font-weight: bold;
}
