/*
  Style_Blog.css
  Habillage des blocs événementiels de BalFolk.htm.
  Les styles typographiques txtDate, txtParagraphe et txtCentre
  restent définis dans Style_General.css.
*/

.bloc-evenement {
  width: 100%;
  box-sizing: border-box;
  margin: 10px auto;
  padding: 20px 20px;

  /* Fond parchemin adaptable : les bords sont préservés. */
  border-style: solid;
  border-width: 48px;
  border-image-source: url("Graphique/Fond_Parchemin.png");
  border-image-slice: 8% 7% fill;
  border-image-width: 48px;
  border-image-outset: 0;
  border-image-repeat: stretch;

  background: transparent;
}

.evenement-entete,
.evenement-description,
.evenement-affiche,
.evenement-informations {
  background: transparent;
}

.evenement-entete {
  text-align: center;
  margin-bottom: 22px;
}

.evenement-entete p,
.evenement-description p,
.evenement-affiche p,
.evenement-informations p {
  /* Espacements uniquement : les polices restent celles du CSS général. */
  margin-top: 0.0em;
  margin-bottom: 0.65em;
}

.evenement-description,
.evenement-affiche,
.evenement-informations {
  margin-top: 18px;
}

/* Branche musicale : image fine, centrée et suffisamment visible. */
.separateur-evenement {
  width: 68%;
  max-width: 620px;
  margin: 24px auto;
}

.separateur-evenement img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  opacity: 0.92;
}

.affiche-evenement {
  display: block;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  margin: 12px auto;
}

@media (max-width: 900px) {
  .bloc-evenement {
    width: 90%;
    padding: 34px;
    border-width: 42px;
    border-image-width: 42px;
  }

  .separateur-evenement {
    width: 74%;
  }
}

@media (max-width: 600px) {
  .bloc-evenement {
    width: 96%;
    margin: 22px auto;
    padding: 25px 20px;
    border-width: 34px;
    border-image-width: 34px;
  }

  .separateur-evenement {
    width: 82%;
    margin: 18px auto;
  }

  .separateur-evenement img {
    max-height: 58px;
  }

  .affiche-evenement {
    max-height: none;
  }
}

.separateur {
  display: block;
  margin-bottom: 0px;
}