.block--animation {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.block--animation .couverture {
  max-width: 50%;
}
.block--animation .header-text:not(:has(.custom-field-categories ul)) p.bottom.accordion-content {
  margin-top: 1rem;
}
.block--animation + .block--animationSmall {
  flex-direction: column-reverse;
}
@media (max-width: 800px) {
  .block--animation {
    flex-direction: column-reverse;
  }
  .block--animation .couverture {
    max-width: 100%;
  }
  .block--animation .couverture img {
    width: 100%;
  }
  .block--animation .couverture .image-with-badge {
    width: 100%;
  }
  .block--animation + .block--animationSmall {
    display: block;
  }
}

/* Présentation + informations sur les dates des horaires (en colonne à droite) */
.info-presentation-wrapper {
  display: flex;
  column-gap: 1rem;
}
.info-presentation-wrapper .info-date-infos {
  display: flex;
  flex-direction: column;
  row-gap: .75rem;
}
@media (max-width: 800px) {
  .info-presentation-wrapper {
    flex-direction: column;
    row-gap: 1rem;
  }
}

.block--animation .field,
.paragraphe .field {
  margin: 0;
}

[class^=block--animation] {

  .voir-plus-register {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    a.animation-lien-voir-plus {
      width: fit-content;
    }
    &:has(.book_button), &:has(.info-register-alert) {
      flex-direction: row;
      column-gap: 1rem;
      flex-wrap: wrap;
      align-items: flex-end;
      white-space: nowrap;
    }

  }

  .info-horaires-postponed .syrtis-event-hours {
    text-decoration: line-through;
  }

  /* Lien de préinscription, places restantes en dessous (webform_node_alias) */
  .info-register:has(.webform-node-alias-capacity) {
    flex-direction: column;
    align-items: flex-start;
    row-gap: .25rem;
  }

  .info-register .info-register-alert {
      color: var(--block-animation-alert);
      background-color: var(--taxo_tag_bgcolor);
      border-radius: 2px;
      padding: 0px 16px;
      margin: 0;
      svg {
        color: var(--block-animation-alert-icon);
        font-size: 1.25rem;
      }
  }

  .title-and-tags {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
  }

  .info-emplacements {
    .info-emplacement-main {
      display: flex;
      flex-direction: row;
      column-gap: .5rem;
      align-items: center;
    }
    .info-emplacement-complement {
      font-size: .9rem;
      font-weight: 400;
      color: var(--primary_color_dark);
      margin-left: 1rem;
    }
  }

  /* Séance uniquement à distance : "Session en visioconférence" à la place du lieu */
  .syrtis-event-visio {
    column-gap: .5rem;
    align-items: center;
    /* Annule les marges du picto (.info svg, shared_style.css) : l'écart est géré par column-gap */
    &.info svg {
      margin-top: 0;
      margin-right: 0;
    }
  }

  .info-presentation {
    font-weight: 700;
  }
}