.citation {
  width: 95%;
}
.citation p {
  font-size: var(--font-size-chapo);
}
p.title__message {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
}
/* Pictogramme de mise en exergue : ne pas le laisser réduire par la règle
   globale img, svg, video { max-width: 100%; }. */
.citation .icon {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  box-sizing: border-box;
}

.citation .icon svg {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  max-width: none;
  max-height: none;
  display: block;
}

/* Alignement Mise en exergue - Projet étudiant */

@media (min-width: 768px) {
  .pageProjetEtudiant .citation > .container-xxl {
    padding-left: calc(var(--gutter, 1.5rem) + 2rem);
  }
}

/* ==========================================
   SNEE - ALIGNEMENT RESPONSIVE
   MISE EN EXERGUE
========================================== */

/* Desktop et tablette */
body.page-node-45159
.page-edito__content .citation
> .container-xxl > .d-flex {

    box-sizing: border-box;

    padding-left: clamp(
        0px,
        calc((100vw - var(--container-max, 95rem)) / 2),
        2.5vw
    ) !important;
}

/* Mobile */
@media (max-width: 767px) {

    body.page-node-45159
    .page-edito__content .citation
    > .container-xxl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.page-node-45159
    .page-edito__content .citation
    > .container-xxl > .d-flex {
        padding-left: 0 !important;
    }

    body.page-node-45159
    .page-edito__content .citation .message {
        flex: 1 1 0;
        min-width: 0;
        overflow-wrap: break-word;
    }
}


/* ==========================================
   TESTEZ L'IFEPSA
   ALIGNEMENT RESPONSIVE MISE EN EXERGUE
========================================== */

/* Garder la forme blanche inchangée */
body.page-node-43788 .citation > .container-xxl {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Aligner le contenu sur les autres sections */
body.page-node-43788 .citation
> .container-xxl > .d-flex {
    margin-left: max(
        36px,
        calc((100vw - 1320px) / 2)
    ) !important;

    margin-right: 24px !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box;
}

/* Pictogramme : taille fixe */
body.page-node-43788 .citation .icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

/* Texte : largeur adaptable */
body.page-node-43788 .citation .message {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* ==========================================
   MOBILE ET PETITE TABLETTE
========================================== */

@media (max-width: 767.98px) {

    body.page-node-43788 .citation
    > .container-xxl > .d-flex {
        margin-left: 16px !important;
        margin-right: 16px !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }

    body.page-node-43788 .citation .icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    body.page-node-43788 .citation .icon svg {
        width: 24px;
        height: 24px;
    }

    body.page-node-43788 .citation .message {
        font-size: 1rem;
        line-height: 1.5;
    }
}
/* ==========================================================================
   TESTEZ L'IFEPSA — ALIGNEMENT COMMUN DES BLOCS
   Texte, mise en exergue et Contact
   ========================================================================== */

/*
 * Le conteneur du bloc prend toute la largeur de la page.
 * Le fond blanc est dessiné séparément pour conserver sa forme.
 */
body.page-node-43788 .pageEvent .event__content > .citation {
    position: relative;
    width: 100% !important;
    max-width: 100%;
    background: transparent !important;
}

/*
 * Fond blanc :
 * même largeur de 95 % et même arrondi qu'avant.
 */
body.page-node-43788 .pageEvent .event__content > .citation::before {
    content: "";
    position: absolute;
    inset: 0 5% 0 0;
    z-index: 0;

    border-radius: inherit;
    background: var(--color-white);

    pointer-events: none;
}

/*
 * Une seule règle d'alignement pour les trois blocs :
 * - le texte de présentation ;
 * - le contenu de la mise en exergue ;
 * - le bloc Contact.
 *
 * On reprend les variables du thème, sans largeur arbitraire
 * ni décalage calculé à partir d'une capture.
 */
body.page-node-43788 .pageEvent .event__content > .image__texte > .container-xxl,
body.page-node-43788 .pageEvent .event__content > .citation > .container-xxl,
body.page-node-43788 .pageEvent .main__content > .section__contact.container-xxl {
    box-sizing: border-box;

    width: 100% !important;
    max-width: var(--container-max) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: var(--gutter) !important;
    padding-right: var(--gutter) !important;
}

/*
 * Placer le contenu devant le fond blanc.
 * La marge supplémentaire à droite garde le texte dans la forme,
 * sans modifier son alignement à gauche.
 */
body.page-node-43788 .pageEvent .event__content > .citation > .container-xxl {
    position: relative;
    z-index: 1;

    padding-right: calc(var(--gutter) + 5%) !important;
}

/*
 * Annuler les anciens décalages du contenu.
 * Les espacements verticaux existants restent inchangés.
 */
body.page-node-43788 .pageEvent .event__content > .citation > .container-xxl > .d-flex {
    box-sizing: border-box;

    width: 100%;
    min-width: 0;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Le pictogramme ne se comprime pas. */
body.page-node-43788 .pageEvent .citation .icon {
    flex-shrink: 0;
}

/* Le texte utilise l'espace restant et peut revenir à la ligne. */
body.page-node-43788 .pageEvent .citation .message {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

body.page-node-43788 .pageEvent .citation .message :is(p, .field__item) {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Mobile : réduire uniquement l'espace entre le pictogramme et le texte. */
@media (max-width: 47.99rem) {
    body.page-node-43788 .pageEvent .event__content > .citation > .container-xxl > .d-flex {
        gap: .75rem !important;
    }
}

/* ==========================================================================
   PAGE EDITORIALE - ALIGNEMENT SUR LE RAIL DE CONTENU
   Le fond conserve sa largeur de 95 %, le contenu reste aligne sur les autres
   paragraphes de la page.
   ========================================================================== */

.page-edito__content .citation {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: transparent !important;
}

.page-edito__content .citation::before {
  content: "";
  position: absolute;
  inset: 0 5% 0 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--color-white);
  pointer-events: none;
}

.page-edito__content .citation > .container-xxl {
  position: relative;
  z-index: 1;
  padding-right: max(var(--gutter), 5vw);
}

