body {
  min-width: 320px;
  /* Gutenberg ne permet pas de définir deux fois un `spacing` à la même valeur (24px). */
  /* Pour éviter un conflit, on définit `root` dans `theme.json` à `clamp(16px, 2vw, 24px)` mais on le surcharge en CSS en dur ici pour coller à la maquette. */
  --wp--preset--spacing--root: 24px;
  --wp--preset--spacing--horizontal: 80px;
  --wp--preset--spacing--vertical: 80px;
}

/* Variables mobile */
@media only screen and (max-width: 1023px) {
  body {
    --wp--preset--spacing--root: 24px;
    --wp--preset--spacing--horizontal: 24px;
    --wp--preset--spacing--vertical: 40px;
    --wp--preset--font-size--42: 30px;
    --wp--preset--font-size--30: 24px;
    --wp--preset--font-size--24: 20px;
    --wp--preset--font-size--20: 18px;
    --wp--preset--font-size--18: 16px;
    --wp--custom--line-height--42: 38px;
    --wp--custom--line-height--30: 30px;
    --wp--custom--line-height--24: 25px;
    --wp--custom--line-height--20: 26px;
    --wp--custom--line-height--18: 22px;
  }
}

@media only screen and (max-width: 767px) {
  body {
    --wp--preset--spacing--root: 16px;
    --wp--preset--spacing--horizontal: 16px;
    --wp--preset--spacing--vertical: 24px;
  }
}

/* Survol des boutons */
/* Gutenberg ne permet pas d'utiliser les déclarations `css` dans `theme.json` sur des boutons. On est donc obligé de définir les styles de survol ici. */
.wp-block-button .wp-block-button__link {
  transition:
    border-color linear 0.25s,
    background-color linear 0.25s;
}

.wp-block-button .wp-block-button__link:is(:focus-visible) {
  outline: 8px solid var(--wp--custom--outline-color);
}

.wp-block-button:is(.is-style-fill, :not([class*="is-style-"]))
  .wp-block-button__link:not(.has-background):is(
    :hover,
    :focus-visible,
    :focus
  ) {
  --wp--custom--outline-color: var(--wp--preset--color--pink-100);
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--pink-800);
}

.wp-block-button:is(.is-style-outline, .is-style-button-secondary)
  .wp-block-button__link:not(.has-background):is(
    :hover,
    :focus-visible,
    :focus
  ) {
  --wp--custom--outline-color: var(--wp--preset--color--pink-100);
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--pink-800);
  border-color: var(--wp--preset--color--pink-800);
}

.wp-block-button:is(.is-style-button-ghost)
  .wp-block-button__link:not(.has-background):is(
    :hover,
    :focus-visible,
    :focus
  ) {
  --wp--custom--outline-color: var(--wp--preset--color--gold-100);
  color: var(--wp--preset--color--pink-800);
  background-color: var(--wp--preset--color--pink-100);
}

.wp-block-button:is(.is-style-button-primary-gold)
  .wp-block-button__link:not(.has-background):is(
    :hover,
    :focus-visible,
    :focus
  ) {
  --wp--custom--outline-color: var(--wp--preset--color--gold-100);
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--gold-800);
}

/* Interlignage */
.has-42-font-size {
  line-height: var(--wp--custom--line-height--42);
}

.has-30-font-size {
  line-height: var(--wp--custom--line-height--30);
}

.has-24-font-size {
  line-height: var(--wp--custom--line-height--24);
}

.has-20-font-size {
  line-height: var(--wp--custom--line-height--20);
}

.has-18-font-size {
  line-height: var(--wp--custom--line-height--18);
}

.has-16-font-size {
  line-height: var(--wp--custom--line-height--16);
}

.has-14-font-size {
  line-height: var(--wp--custom--line-height--14);
}

/* Modale ouverte */
/* (classe ajoutée en JS sur le body) */
.has-something-opened {
  overflow: hidden;
}

/* Décoration de titre */
@media only screen and (max-width: 767px) {
  .is-style-heading-decoration {
    width: 100%;
    text-align: center;
  }

  .is-style-heading-decoration + .wp-block-buttons {
    width: 100%;
    justify-content: center;
    margin-inline: auto;
  }
}

@media only screen and (min-width: 1024px) {
  .is-style-heading-decoration {
    position: relative;
  }

  .is-style-heading-decoration::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateX(-100%) translateY(-50%);
    display: inline-flex;
    vertical-align: top;
    width: 55px;
    height: 55px;
    background-image: url(./assets/img/heading-decoration.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/**
/*
/* Carte d’une actualité
/*
/**/
.card-post {
  position: relative;
  height: 100%;
  font-family: var(--wp--preset--font-family--atkinson);
  border: 1px solid var(--wp--preset--color--gold-300);
  border-radius: 16px;
}

.card-post:has(:focus-visible) {
  outline: 8px solid var(--wp--preset--color--gold-100);
}

/* Image */
.card-post-featured-image {
  margin: -1px -1px 0 !important;
  background-color: var(--wp--preset--color--gold-100);
  border-radius: 16px;
}

.card-post-featured-image img {
  aspect-ratio: 485 / 300;
  border-radius: 16px;
  object-fit: cover;
}

@media only screen and (max-width: 1023px) {
  .card-post-featured-image .wp-post-image {
    aspect-ratio: 377 / 232;
  }
}

@media only screen and (max-width: 767px) {
  .card-post-featured-image .wp-post-image {
    aspect-ratio: 343 / 211;
  }
}

/* Groupe */
.card-post-group {
  display: flex;
  align-items: flex-start !important;
  flex-direction: column;
  gap: var(--wp--preset--spacing--16) !important;
  padding: var(--wp--preset--spacing--24) !important;
}

/* Date */
.card-post-date {
  order: 1;
  color: var(--wp--preset--color--gold-700);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
}

/* Lien */
.card-post-title {
  order: 2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--wp--preset--color--neutral-900);
  font-size: var(--wp--preset--font-size--24);
  line-height: var(--wp--custom--line-height--24);
}

.card-post-title a {
  display: block;
  color: inherit;
}

.card-post-title a::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
}

.card-post-title a:is(:hover, :focus) {
  text-decoration: underline;
}

/* Extrait */
.card-post-excerpt {
  order: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--wp--preset--color--neutral-900);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
}

/* Grille */
.card-post-template.columns-1 {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wp--preset--spacing--40);
}

@media only screen and (max-width: 1023px) {
  .card-post-template.columns-1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .card-post-template.columns-1 {
    grid-template-columns: 1fr;
  }

  /* Par défaut, un bloc `Rangée` passe à la ligne selon le contenu si la case `Autoriser le passage sur plusieurs lignes` est cochée. Sur mobile, on veut forcer ce comportement pour coller aux maquettes. */
  .card-post-template {
    flex-direction: column;
  }
}

/**
/*
/* Bloc Actualités
/*
/**/
.pattern-block-news {
  padding-top: var(--wp--preset--spacing--vertical) !important;
  padding-right: var(--wp--preset--spacing--horizontal) !important;
  padding-bottom: var(--wp--preset--spacing--vertical) !important;
  padding-left: var(--wp--preset--spacing--horizontal) !important;
}

.pattern-block-news-layout {
  display: flex;
  gap: var(--wp--preset--spacing--40) !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.pattern-block-news-head {
  display: flex;
  gap: var(--wp--preset--spacing--24) !important;
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: flex-start;
}

.pattern-block-news-head-buttons {
  gap: var(--wp--preset--spacing--16);
}

/**
/*
/* Bloc Agenda et
/* Carte d’un évènement
/*
/**/
.pattern-block-agenda {
  padding-top: var(--wp--preset--spacing--vertical) !important;
  padding-right: var(--wp--preset--spacing--horizontal) !important;
  padding-bottom: var(--wp--preset--spacing--vertical) !important;
  padding-left: var(--wp--preset--spacing--horizontal) !important;
}

.pattern-block-agenda-layout {
  display: flex;
  gap: var(--wp--preset--spacing--40) !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.pattern-block-agenda-head {
  display: flex;
  gap: var(--wp--preset--spacing--24) !important;
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: flex-start;
}

.pattern-block-agenda-head-buttons {
  gap: var(--wp--preset--spacing--16);
}

.card-agenda {
  position: relative;
  height: 100%;
  font-family: var(--wp--preset--font-family--atkinson);
  background-color: var(--wp--preset--color--gold-100);
  border-radius: 16px;
}

.card-agenda:has(:focus-visible) {
  outline: 8px solid var(--wp--preset--color--gold-300);
}

.card-agenda > .wp-block-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--wp--preset--spacing--16);
}

.card-agenda-date-wrapper {
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

/* Date */
.card-agenda-date {
  color: var(--wp--preset--color--pink-800);
  font-size: var(--wp--preset--font-size--18);
  font-weight: 700;
  line-height: var(--wp--custom--line-height--18);
  background-color: var(--wp--preset--color--white);
  padding-inline: 12px;
  padding-block: 8px;
  border-radius: 24px;
}

/* Icône de calendrier */
.card-agenda-calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  flex-grow: 0;
  padding: 4px;
  width: 48px;
  height: 48px;
  color: var(--wp--preset--color--neutral-900);
  font-size: var(--wp--preset--font-size--18);
  font-weight: 700;
  line-height: var(--wp--custom--line-height--18);
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url(./assets/img/gutenberg/calendar.svg);
}

/* Lien */
.card-agenda-title {
  order: 2;
  margin-top: 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--wp--preset--color--neutral-900);
  font-size: var(--wp--preset--font-size--24);
  line-height: var(--wp--custom--line-height--24);
}

.card-agenda-title a {
  display: block;
  color: inherit;
}

.card-agenda-title a::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
}

.card-agenda-title a:is(:hover, :focus) {
  text-decoration: underline;
}

/* Lieu */
.card-agenda-location {
  display: flex;
  gap: 8px;
  align-items: center;
  order: 3;
  color: var(--wp--preset--color--gold-800);
  font-size: var(--wp--preset--font-size--14);
  font-weight: 400;
  line-height: var(--wp--custom--line-height--14);
}

.card-agenda-location::before {
  content: "\f00e";
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  font-family: "icon" !important;
  speak: none;
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grille */
.card-agenda-template.is-layout-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wp--preset--spacing--24);
}

@media only screen and (max-width: 1023px) {
  .card-agenda-template.is-layout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .card-agenda-template.is-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix pour la page single d'un agenda */
.agenda-item-presentation {
  font-weight: bold;
}

/**
/*
/* Carte de lien du bloc générosité
/*
/**/
.card-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: stretch;
  gap: var(--wp--preset--spacing--24) !important;
  padding-inline: var(--wp--preset--spacing--24);
  hyphens: none;
  margin-bottom: -100px !important;
  overflow: visible;
  position: relative;
  z-index: 1 !important;
}

@media only screen and (max-width: 1023px) {
  .card-link-row {
    gap: 18px !important;
    flex-direction: row;
  }
}

.card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--wp--preset--spacing--24);
  aspect-ratio: 1 / 1;
  width: 180px;
  padding: var(--wp--preset--spacing--24);
  padding-bottom: var(--wp--preset--spacing--12);
  border-radius: 16px;
  background-color: var(--wp--preset--color--pink-500);
  transition: background-color 0.25s linear;
}

.card-link::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  color: var(--wp--preset--color--pink-500);
  background-color: var(--wp--preset--color--white);
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 5s5 3.682 5 5-5 5-5 5' stroke='%23d1295e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 20px 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.card-link:has(:focus-visible) {
  outline: 8px solid var(--wp--preset--color--pink-100);
}

.card-link:is(:hover, :has(:focus-visible)) {
  background-color: var(--wp--preset--color--pink-800) !important;
}

.card-link.has-gold-700-background-color:has(:focus-visible) {
  outline-color: var(--wp--preset--color--gold-100);
}

.card-link.has-gold-700-background-color:is(:hover, :has(:focus-visible)) {
  background-color: var(--wp--preset--color--gold-800) !important;
}

.card-link a {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  outline: none;
}

.card-link a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card-link p {
  hyphens: none;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--18);
  line-height: var(--wp--custom--line-height--18);
}

@media only screen and (max-width: 767px) {
  .card-link {
    width: 135px;
    gap: 18px;
    padding: 18px;
    padding-bottom: var(--wp--preset--spacing--12);
  }

  .card-link p {
    font-size: var(--wp--preset--font-size--14);
    line-height: var(--wp--custom--line-height--14);
  }

  .card-link img {
    max-width: 46px;
    max-height: 46px;
    object-fit: contain;
  }
}

/* Image du bloc générosité */
.pattern-block-donations-img img {
  aspect-ratio: 748 / 351;
  object-fit: cover;
  width: 100%;
  border-radius: 16px;
}

@media only screen and (max-width: 1023px) {
  .pattern-block-donations-img img {
    aspect-ratio: 795 / 420;
  }
}

@media only screen and (max-width: 767px) {
  .pattern-block-donations-img img {
    aspect-ratio: 343 / 232;
  }
}

/**
/*
/* Bloc - Appel aux dons
/*
/**/
.pattern-block-donations {
  padding-top: var(--wp--preset--spacing--vertical) !important;
  padding-right: var(--wp--preset--spacing--horizontal) !important;
  padding-bottom: var(--wp--preset--spacing--vertical) !important;
  padding-left: var(--wp--preset--spacing--horizontal) !important;
}

.pattern-block-donations .wp-block-column {
  border-radius: 16px;
  overflow: hidden;
}

.pattern-block-donations :where(.wp-block-group.has-background) {
  padding: 0;
}

.pattern-block-donations-layout {
  gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) !important;
  align-items: flex-start !important;
}

.pattern-block-donations-head {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--24);
  padding: var(--wp--preset--spacing--24) !important;
}

.pattern-block-donations .card-link-row {
  justify-content: center;
}

/* Carte de projet */
.card-donation-column {
  position: relative;
  display: flex;
  padding-top: 27px;
  padding-inline: 13px;
}

.card-donation-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 365px;
  background-repeat: repeat;
  background-size: cover;
  background-position: center;
  background-image: url(./assets/img/gutenberg/bg.svg);
  border-radius: 16px;
}

.card-donation {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  border-radius: 16px;
  background-color: var(--wp--preset--color--white);
}

.card-donation-layout {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--16);
  padding: var(--wp--preset--spacing--16) !important;
}

.card-donation-tag {
  width: fit-content;
  padding: 8px 12px;
  color: var(--wp--preset--color--gray-900);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  background-color: var(--wp--preset--color--neutral-200);
  border-radius: 20px;
  text-align: center;
}

.card-donation-tag--upcoming {
  background-color: #beebf5;
}

.card-donation-tag--ended {
  background-color: #b9f3bf;
}

.card-donation-title {
  color: var(--wp--preset--color--gray-900);
  font-size: var(--wp--preset--font-size--24);
  line-height: var(--wp--custom--line-height--24);
  font-weight: 700;
  text-align: center;
}

.card-donation-title a::before {
  content: "";
  position: absolute;
  inset: 0;
}

.card-donation-separator {
  width: 80px;
  margin-inline: auto;
  background-color: transparent;
  border-color: var(--wp--preset--color--pink-500);
  border-top-width: 2px;
}

.card-donation-days-left {
  color: var(--wp--preset--color--gray-900);
  font-size: var(--wp--preset--font-size--20);
  line-height: var(--wp--custom--line-height--20);
  font-weight: 700;
  text-align: center;
}

.card-donation-description {
  color: var(--wp--preset--color--gray-900);
  font-size: var(--wp--preset--font-size--18);
  line-height: var(--wp--custom--line-height--18);
  font-weight: 400;
  text-align: center;
}

.card-donation-image img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.card-donation-footer {
  display: flex;
  flex-direction: column;
  padding-block: var(--wp--preset--spacing--16) !important;
  padding-inline: 8px !important;
  gap: var(--wp--preset--spacing--16);
}

.card-donation-goals-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.card-donation-goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  flex-basis: calc((100% - 48px) / 3);
  white-space: nowrap;
}

.card-donation-goal strong {
  font-size: var(--wp--preset--font-size--20);
  line-height: var(--wp--custom--line-height--20);
}

@media only screen and (max-width: 767px) {
  .card-donation-column {
    padding-top: 30px;
  }

  .card-donation-goals-row {
    gap: 16px;
  }
}

/**
/*
/* Bloc de mise en avant d’un article
/*
/**/
.block-pattern-showcase {
  padding-block: var(--wp--preset--spacing--40) !important;
  padding-inline: var(--wp--preset--spacing--horizontal) !important;
}

.block-pattern-showcase-layout {
  border-radius: 16px;
  padding: 0;
  display: flex;
}

.block-pattern-showcase .wp-block-image img {
  border-radius: 16px;
}

.block-pattern-showcase-text {
  padding: var(--wp--preset--spacing--40) !important;
}

.block-pattern-showcase-description {
  color: var(--wp--preset--color--gray-900);
  font-size: var(--wp--preset--font-size--18);
  line-height: var(--wp--custom--line-height--18);
  font-weight: 400;
}

@media only screen and (max-width: 1023px) {
  .pattern-block-showcase > .wp-block-columns {
    flex-direction: column;
  }
}

/**
/*
/* Bloc « section à mettre en avant »
/*
/**/
.block-section-row {
  justify-content: space-between;
}

.block-section-column-img,
.block-section-column-text {
  flex-basis: calc(50% - (var(--wp--preset--spacing--40) / 2)) !important;
  flex-grow: 0 !important;
}

.block-section-column-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-basis: 50% !important;
}

.block-section-title {
  color: var(--wp--preset--color--gray-900);
  font-size: var(--wp--preset--font-size--42);
  line-height: var(--wp--custom--line-height--42);
  font-weight: 700;
}

.block-section-description {
  color: var(--wp--preset--color--gray-900);
  font-size: var(--wp--preset--font-size--18);
  line-height: var(--wp--custom--line-height--18);
  font-weight: 400;
}

@media only screen and (max-width: 767px) {
  .block-section-column-text {
    padding-block: 24px !important;
    padding-inline: 16px !important;
    gap: 16px !important;
  }
}

/**
/*
/* Bloc Activités et services diocésains
/*
/**/
.pattern-block-activities {
  padding-block: var(--wp--preset--spacing--vertical) !important;
  padding-inline: var(--wp--preset--spacing--horizontal) !important;
}

/* Carte activité */
.card-activity-list {
  gap: var(--wp--preset--spacing--40) !important;
}

.card-activity {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--wp--preset--color--neutral-900);
  background-color: var(--wp--preset--color--gold-100);
  border-radius: 24px;
  padding: 0;
  --wp--custom--card-outline-color: var(--wp--preset--color--gold-300);
}

.card-activity.has-pink-100-background-color {
  --wp--custom--card-outline-color: var(--wp--preset--color--pink-500);
  color: var(--wp--preset--color--pink-800) !important;
  /* `!important` utile pour un bon affichage dans l’admin. */
}

.card-activity.has-gold-100-background-color {
  --wp--custom--card-outline-color: var(--wp--preset--color--gold-300);
  color: var(--wp--preset--color--gold-800) !important;
  /* `!important` utile pour un bon affichage dans l’admin. */
}

.card-activity.has-gold-700-background-color {
  --wp--custom--card-outline-color: var(--wp--preset--color--gold-300);
  color: white !important;
  /* `!important` utile pour un bon affichage dans l’admin. */
}

.card-activity:has(:focus-visible) {
  outline: 8px solid var(--wp--custom--card-outline-color);
}

.card-activity-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: var(--wp--preset--spacing--16) !important;
  padding: var(--wp--preset--spacing--32);
  text-align: left;
  color: inherit !important;
  /* `!important` utiles pour un bon affichage dans l’admin. */
}

.card-activity-category {
  margin-inline: 0 !important;
  color: inherit;
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  font-weight: 400;
  text-transform: uppercase;
}

.card-activity-title {
  color: inherit;
  font-size: var(--wp--preset--font-size--24) !important;
  line-height: var(--wp--custom--line-height--24) !important;
  font-weight: 700 !important;
  /* `!important` utiles pour un bon affichage dans l’admin. */
}

.card-activity-title a {
  color: inherit;
  text-decoration: none;
  outline: none;
}

.card-activity-title:hover a,
.card-activity-title:focus a {
  text-decoration: underline;
}

.card-activity-title a::before {
  content: "";
  position: absolute;
  inset: 0;
}

.card-activity-image {
  margin-top: auto !important;
  padding-left: var(--wp--preset--spacing--32);
}

.card-activity-image img {
  width: 100%;
  aspect-ratio: 454 / 280;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.pattern-block-activities {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--40);
}

@media only screen and (max-width: 1023px) {
  .pattern-block-activities {
    gap: var(--wp--preset--spacing--24) !important;
  }

  .card-activity-list {
    gap: var(--wp--preset--spacing--24) !important;
  }

  .card-activity-body {
    padding: var(--wp--preset--spacing--16) !important;
  }

  .card-activity-image {
    padding-top: var(--wp--preset--spacing--16);
    padding-left: var(--wp--preset--spacing--16);
  }
}

.card-activity-list--by-4 .card-activity:has(a)::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 14.84px;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url(./assets/img/gutenberg/arrow-right.svg);
}

/* Grille */
.card-activity-list {
  display: grid !important;
}

.card-activity-list--by-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-activity-list--by-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media only screen and (max-width: 1279px) {
  .card-activity-list--by-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 1023px) {
  .card-activity-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .card-activity-list {
    grid-template-columns: 1fr;
  }
}

/**
/*
/* Bloc multimedia
/*
/**/
.card-multimedia {
  align-items: flex-end;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  padding: 0;
}

.card-multimedia:has(:focus-visible) {
  outline: 8px solid var(--wp--preset--color--gold-300);
}

.card-multimedia .wp-block-cover__background {
  position: static;
  height: 100%;
  min-height: 57px;
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.card-multimedia .wp-block-cover__background {
  position: static;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.wp-block-cover .wp-block-cover__inner-container {
  /*position: absolute;
	inset: 0;*/
  display: flex;
  align-items: flex-end;
  padding: 16px;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.card-multimedia .wp-block-cover__inner-container a {
  text-decoration: none;
  outline: none;
}

.card-multimedia .wp-block-cover__inner-container a::before {
  content: "";
  position: absolute;
  inset: 0;
}

.card-multimedia--large {
  min-height: 400px;
}

.card-multimedia--small {
  min-height: 300px;
}

@media only screen and (max-width: 1023px) {
  .pattern-block-multimedia > .wp-block-columns {
    flex-direction: column;
  }
}

@media only screen and (max-width: 767px) {
  .card-multimedia-row {
    grid-template-columns: 1fr !important;
  }

  .card-multimedia--large {
    min-height: 300px;
  }
}

/**
/*
/* Bloc newsletter
/*
/**/
.pattern-block-newsletter {
  padding-top: var(--wp--preset--spacing--vertical) !important;
  padding-right: var(--wp--preset--spacing--horizontal) !important;
  padding-bottom: var(--wp--preset--spacing--vertical) !important;
  padding-left: var(--wp--preset--spacing--horizontal) !important;
}

.pattern-block-newsletter-layout {
  position: relative;
  border-radius: 16px;
  padding-top: var(--wp--preset--spacing--40) !important;
  padding-right: var(--wp--preset--spacing--vertical) !important;
  padding-bottom: var(--wp--preset--spacing--40) !important;
  padding-left: var(--wp--preset--spacing--vertical) !important;
}

.pattern-block-newsletter-layout::after {
  content: "";
  position: absolute;
  top: -25.84px;
  right: -20.6px;
  display: inline-flex;
  vertical-align: top;
  width: 98.88px;
  height: 98.88px;
  background-image: url(./assets/img/heading-decoration.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 767px) {
  .pattern-block-newsletter-layout::after {
    width: 49.12px;
    height: 49.12px;
    top: -20px;
    right: -13.16px;
  }
}

.pattern-block-newsletter a {
  color: inherit;
}

/* Formulaire */
.pattern-block-newsletter #mailpoet_form_2 .mailpoet_form {
  max-width: 614px;
  margin-block: 0.75em;
  margin-inline: auto;
  box-shadow: none;
  border-radius: 0;
}

/* Champs texte */
.pattern-block-newsletter #mailpoet_form_2 .mailpoet_text[type="email"] {
  padding-inline: var(--wp--preset--spacing--24) !important;
  padding-block: var(--wp--preset--spacing--12) !important;
  font-weight: 400;
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  text-align: center;
  border-radius: 24px;
  outline: none;
}

.pattern-block-newsletter #mailpoet_form_2 .mailpoet_text.has-keyboard-focus {
  outline: 8px solid var(--wp--preset--color--pink-100);
}

/* Bouton */
.pattern-block-newsletter #mailpoet_form_2 .mailpoet_submit {
  padding-inline: var(--wp--preset--spacing--24) !important;
  padding-block: var(--wp--preset--spacing--12) !important;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--pink-500);
  border-radius: 24px;
  transition:
    border-color linear 0.25s,
    background-color linear 0.25s;
  min-height: 46px;
}

.pattern-block-newsletter #mailpoet_form_2 .mailpoet_submit:is(:focus-visible) {
  outline: 8px solid var(--wp--custom--outline-color);
}

.pattern-block-newsletter
  #mailpoet_form_2
  .mailpoet_submit:is(:hover, :focus-visible, :focus) {
  --wp--custom--outline-color: var(--wp--preset--color--pink-100);
  color: var(--wp--preset--color--pink-500) !important;
  background-color: var(--wp--preset--color--white) !important;
}

.pattern-block-newsletter .mailpoet_form .mailpoet_paragraph {
  margin-bottom: 0;
}

.pattern-block-newsletter .mailpoet_form .mailpoet_paragraph[style*="hidden"] {
  display: none !important;
}

/* Loading */
.pattern-block-newsletter .mailpoet_paragraph:has(.mailpoet_form_loading) {
  display: flex;
}

.pattern-block-newsletter .mailpoet_form_loading {
  display: none;
  margin-inline: 1em;
  margin-block: auto;
  vertical-align: middle;
  line-height: 5px;
}

.pattern-block-newsletter .mailpoet_form_sending .mailpoet_form_loading {
  display: inline-block;
}

.pattern-block-newsletter .mailpoet_form_loading > span {
  background-color: #fff;
}

/* Messages */
.pattern-block-newsletter #mailpoet_form_2 .mailpoet_message {
  display: none !important;
}

.pattern-block-newsletter
  #mailpoet_form_2
  .mailpoet_message:has(:not([style*="display:none"])) {
  display: block !important;
}

.pattern-block-newsletter #mailpoet_form_2 .mailpoet_message > p {
  position: static;
  transform: none;
  border-radius: 0.25em;
  margin-block: 0.75em;
}

.pattern-block-newsletter #mailpoet_form_2 .mailpoet_message > p::after {
  content: none;
  display: none;
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .pattern-block-newsletter #mailpoet_form_2 .mailpoet_form {
    flex-direction: column;
  }

  .pattern-block-newsletter #mailpoet_form_2 .mailpoet_submit {
    width: 100%;
  }
}

/**
/*
/* Header
/*
/**/
.new-header {
  padding-inline: 16px;
  background-color: var(--wp--preset--color--white);
  border-bottom: 1px solid var(--wp--preset--color--gold-500);
}

.new-header-wrapper {
  padding-top: 16px;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 227px minmax(240px, 545px) 764px;
  grid-template-rows: 48px 72px;
}

.new-header-logo-wrapper {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding-right: 2px;
}

.new-header-search-wrapper {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  padding-right: 4px;
}

.new-header-tablet-wrapper {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.new-header-navigation-wrapper {
  grid-column: 2 / 5;
  grid-row: 2 / 3;
  justify-self: flex-end;
}

.new-header-burger-wrapper {
  display: none;
}

.new-header-tablet-wrapper {
  display: grid;
  gap: 4px;
  grid-template-rows: 1fr;
  grid-template-columns: 540px 220px;
}

@media only screen and (max-width: 1279px) {
  .new-header {
    border-bottom: 0;
  }

  .new-header-wrapper {
    grid-template-columns: 148px minmax(48px, 1060px) 40px;
    grid-template-rows: 80px 48px;
    column-gap: 16px;
    padding-top: 0;
  }

  .new-header-logo-wrapper {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    padding-right: 0;
  }

  .new-header-logo-link svg {
    width: 100%;
    height: auto;
  }

  .new-header-search-wrapper {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding-right: 0;
    align-self: center;
  }

  .new-header-tablet-wrapper {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    margin-inline: -16px;
    grid-template-columns: minmax(0px, 1280px) 144px;
  }

  .new-header-burger-wrapper {
    display: flex;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .new-header-search-form {
    display: none;
  }

  .new-header-navigation-wrapper {
    display: none;
    justify-self: flex-start;
  }

  .new-header-search-toggle {
    display: block;
  }
}

@media only screen and (max-width: 767px) {
  /* Bouton de donation flottant */
  .new-header-donation-wrapper {
    position: fixed;
    right: 16px;
    bottom: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 9999;
  }

  .new-header-donation-wrapper .new-header-donation a {
    padding-block: 12px;
  }

  :is(.new-header, .dialog)
    .new-header-donation-wrapper
    [class*="has-icon-"]
    > a::before {
    width: 20px;
    height: 20px;
    font-size: 20px;
  }

  /* On masque le bouton de donation sur l’espace financier. */
  .page-is-in-portail-financier .new-header-donation-wrapper {
    display: none;
  }

  .new-header-tablet-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Liens d’évitement */
.new-header-skip-links {
  position: absolute;
}

.new-header-skip-link {
  position: absolute;
  left: 0px;
  top: 16px;
  height: auto;
  font-size: 16px;
  white-space: nowrap;
  letter-spacing: 0;
}

.new-header-skip-link:not(:focus, :active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Icones du header */
:is(.new-header, .dialog)
  [class*="menu-item-has-children"]
  > .submenu-title::before,
:is(.new-header, .dialog) [class*="has-icon-"] > a::before {
  font-family: "icon" !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: currentColor;
  flex-shrink: 0;
  font-size: 24px;
}

/* Logo */
.new-header-logo {
  margin: 0;
}

.new-header-logo-link {
  display: block;
  outline: none;
}

.new-header-logo-link:focus-visible {
  outline: none;
  background-color: var(--wp--preset--color--pink-100);
}

@media only screen and (max-width: 1279px) {
  .new-header-logo-link {
    padding-top: 4px;
    padding-left: 2px;
  }

  .new-header-logo-link svg {
    max-width: 137px;
    margin-inline: auto;
  }
}

/* Recherche */
.new-header-search-form {
  margin: 0;
}

.new-header-search-fields {
  display: grid;
  grid-template-columns: 1fr calc(17px + 24px + 17px);
  grid-template-rows: 1fr;
}

.header-search-fields {
  box-shadow: none !important;
}

.new-header-search-input {
  width: 100%;
  padding-block: 12px;
  padding-inline: 11px;
  padding-right: calc(17px + 24px + 17px);
  color: var(--wp--preset--color--gray-700);
  font-weight: 400;
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  border: 1px solid var(--wp--preset--color--pink-500);
  box-shadow: none;
  border-radius: 24px;
  grid-row: 1 / 2;
  grid-column: 1 / 3;
  transition: none;
  text-overflow: ellipsis;
  overflow: hidden;
}

.new-header-search-input:focus {
  box-shadow: none;
}

.new-header-search-input:is(:focus-visible) {
  outline: none;
  border-color: var(--wp--preset--color--pink-800);
}

.new-header-search-input.has-keyboard-focus {
  outline: 8px solid var(--wp--preset--color--pink-100);
}

.new-header-search-input::placeholder {
  color: var(--wp--preset--color--gray-700);
  opacity: 1;
}

.new-header-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  outline: none;
  color: var(--wp--preset--color--pink-500);
  border: none;
}

.new-header-search-submit:is(:focus-visible) {
  outline: none;
  color: var(--wp--preset--color--pink-800);
  background-color: var(--wp--preset--color--pink-100);
}

.new-header-search-input:is(:focus-visible) + .new-header-search-submit {
  color: var(--wp--preset--color--pink-800);
}

.new-header-search-submit svg {
  color: inherit;
}

.new-header-search-submit svg path {
  stroke: currentColor;
}

.new-header-search-input-icon {
  display: flex;
  width: 24px;
  height: 24px;
  color: inherit;
}

.new-header-search-input-icon path {
  stroke: currentColor;
}

/* Bouton de recherche sur mobile */
.new-header-search-toggle {
  display: none;
}

.new-header-search-toggle .new-header-search-submit {
  margin-inline: auto;
}

@media only screen and (max-width: 1279px) {
  .new-header-search-toggle {
    display: block;
  }
}

/* Subnavigation */
.new-header-subnavigation {
  border-radius: 24px;
  background-color: var(--wp--preset--color--pink-500);
}

.new-header-subnavigation ul {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
}

.new-header-subnavigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 4px;
  padding-inline: 16px;
  padding-block: 12px;
  font-weight: 400;
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  color: var(--wp--preset--color--white);
  text-decoration: none;
  text-align: center;
  border-radius: 24px;
  transition-property: background-color, color;
  transition-duration: 0.3s;
  transition-timing-function: linear;
  outline: none;
  white-space: nowrap;
}

.new-header-subnavigation a:is(:hover, :focus-visible) {
  background-color: var(--wp--preset--color--pink-800);
}

.new-header-subnavigation-icon {
  display: flex;
  color: inherit;
  flex-shrink: 0;
}

.new-header-subnavigation li.has-icon-clock-circle > a::before {
  content: "\f008";
}

.new-header-subnavigation li.has-icon-church > a::before {
  content: "\f007";
}

.new-header-subnavigation li.has-icon-call > a::before {
  content: "\f006";
}

.new-header .is-mobile-label {
  display: none;
}

@media only screen and (max-width: 767px) {
  .new-header-subnavigation ul {
    gap: 0;
  }

  .new-header .is-desktop-label {
    display: none;
  }

  .new-header .is-mobile-label {
    display: block;
  }
}

@media only screen and (max-width: 374px) {
  .new-header-subnavigation ul {
    gap: 0;
  }

  .new-header-subnavigation a {
    padding-inline: 8px;
  }
}

/* Donation */
.new-header-donation a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 24px;
  padding-block: 13px;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--gold-700);
  text-decoration: none;
  text-align: center;
  border-radius: 24px;
  transition-property: background-color, color;
  transition-duration: 0.3s;
  transition-timing-function: linear;
  outline: none;
}

.new-header-donation a:is(:hover, :focus-visible) {
  background-color: var(--wp--preset--color--gold-800);
}

.new-header-donation.has-icon-healthcare {
  white-space: nowrap;
}

.new-header-donation.has-icon-healthcare > a::before {
  content: "\f00c";
  font-weight: 400;
}

.dialog .new-header-donation {
  width: fit-content;
}

/* Navigation */
.new-header .new-header-navigation {
  position: relative;
  padding-block: 12px;
}

.new-header .new-header-navigation > ul {
  display: flex;
}

/* Niveau principal */
.new-header .new-header-navigation .navigation-first-level > .submenu-title,
.new-header .new-header-navigation .navigation-first-level > .navigation-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-inline: 16px;
  padding-block: 12px;
  font-weight: 400;
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  color: var(--wp--preset--color--neutral-900);
  text-decoration: none;
  text-align: center;
  transition-property: background-color, color;
  transition-duration: 0.3s;
  transition-timing-function: linear;
  outline: none;
  cursor: pointer;
  overflow: hidden;
  text-transform: none;
}

.new-header-navigation button.submenu-title {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 12px 16px !important;
  margin: 0 !important;
}

.new-header-navigation .navigation-subsection button.submenu-title {
  font-family: var(--wp--preset--font-family--atkinson) !important;
  font-size: var(--wp--preset--font-size--16) !important;
  line-height: var(--wp--custom--line-height--16) !important;
  color: var(--wp--preset--color--neutral-700) !important;
}

.new-header
  .new-header-navigation
  .menu-item-has-children.navigation-first-level
  > .submenu-title::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--wp--preset--color--pink-500);
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.3s;
  transition-timing-function: linear;
  will-change: opacity;
}

.new-header
  .new-header-navigation
  .navigation-first-level
  > .navigation-link:is(:hover, :focus-visible),
.new-header
  .new-header-navigation
  .navigation-first-level
  > .submenu-title[aria-expanded="true"],
.new-header
  .new-header-navigation
  .navigation-first-level
  > .submenu-title:is(:hover, :focus-visible) {
  color: var(--wp--preset--color--pink-500);
}

.new-header
  .new-header-navigation
  .menu-item-has-children.navigation-first-level
  > .submenu-title[aria-expanded="true"]::after,
.new-header
  .new-header-navigation
  .menu-item-has-children.navigation-first-level
  > .submenu-title:is(:hover, :focus-visible)::after {
  opacity: 1;
}

.new-header
  .new-header-navigation
  .menu-item-has-children.navigation-first-level
  > .submenu-title::before {
  content: "\f001";
  order: 1;
  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: linear;
}

.new-header
  .new-header-navigation
  .menu-item-has-children.navigation-first-level
  > .submenu-title[aria-expanded="true"]::before {
  transform: rotate(-179.9deg);
  /* Bug dans Firefox 154.0b6 : à -180deg, l’icône disparaît. */
}

/* Menu version modale */
.dialog .new-header-navigation {
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  color: var(--wp--preset--color--neutral-900);
}

.dialog .new-header-navigation .navigation-first-level > .navigation-link,
.dialog
  .new-header-navigation
  .menu-item-has-children.navigation-first-level
  > .submenu-title {
  display: flex;
  gap: 4px;
  padding-block: 12px;
  padding-inline: 16px;
  text-decoration: none;
  color: var(--wp--preset--color--neutral-900);
  text-transform: none;
  font-weight: normal;
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  text-align: left;
}

.dialog .new-header-navigation .navigation-sublevel .navigation-link {
  width: fit-content;
  text-decoration: none;
}

.dialog
  .new-header-navigation
  .menu-item-has-children.navigation-first-level
  > .submenu-title {
  cursor: pointer;
}

.dialog
  .new-header-navigation
  .menu-item-has-children.navigation-first-level
  > .submenu-title::before {
  content: "\f003";
  order: 1;
  color: var(--wp--preset--color--gold-700);
}

.dialog .new-header-navigation .navigation-first-level > .navigation-sublevel {
  display: none;
}

/* Sous-menu */
.new-header-navigation
  .navigation-first-level
  > .navigation-sublevel
  > .menu-item-has-children
  > .submenu-title {
  background: none;
  margin: 0;
  display: block;
  padding: 12px 16px;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--14);
  line-height: var(--wp--custom--line-height--14);
  color: var(--wp--preset--color--gold-700);
}

.new-header-navigation .navigation-sublevel .navigation-link {
  margin: 0;
  display: block;
  padding: 12px 16px;
  font-weight: 400;
  font-family: var(--wp--preset--font-family--atkinson);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
  color: var(--wp--preset--color--neutral-700);
}

.dialog .new-header-navigation .navigation-content {
  flex-direction: column;
}

.dialog .new-header-navigation .navigation-first-level > .navigation-sublevel {
  margin: 0;
  padding: 16px;
  position: absolute;
  inset: 0;
  z-index: 999;
  overflow: auto;
  padding-top: 64px;
  background-color: var(--wp--preset--color--white);
}

.dialog .new-header-navigation .navigation-subsection > .navigation-sublevel {
  margin: 0;
  padding: 0;
}

@media only screen and (min-width: 1280px) {
  .new-header-navigation .navigation-first-level > .navigation-sublevel {
    right: 0;
    left: auto;
    width: max-content;
    padding: 16px;
    font-family: var(--wp--preset--font-family--atkinson);
    background-color: var(--wp--preset--color--white);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.08);
    position: absolute;
    z-index: 10;
    display: none;
    grid-template-columns: repeat(3, auto);
  }

  .new-header-navigation
    .navigation-first-level
    > .submenu-title[aria-expanded="true"]
    + .navigation-sublevel {
    display: grid;
  }
}

/* Modale mobile */
.dialog {
  width: 100%;
  max-width: 768px;
  padding: 0;
  margin: 0 0 0 auto;
  overflow: hidden;
  background-color: var(--wp--preset--color--white);
  outline: none;
  border: none;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  font-family: var(--wp--preset--font-family--atkinson);
  border-bottom: 1px solid var(--wp--preset--color--gold-500);
}

.dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
}

.dialog:modal {
  max-height: 100%;
}

.dialog-wrapper {
  display: flex;
  flex-direction: column;
  max-height: 100%;
  height: 100%;
}

.dialog-header {
  position: relative;
  z-index: 1000;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  column-gap: 24px;
  justify-content: space-between;
  padding: 12px 16px;
  min-height: 48px;
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--pink-500);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.dialog-header-button {
  display: flex;
  gap: 4px;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--16);
  line-height: var(--wp--custom--line-height--16);
}

.dialog-header-button[data-js="dialog-back"] {
  order: -1;
}

.dialog-header [class^="icon-"] {
  display: block;
  flex-shrink: 0;
  font-size: 24px;
}

.dialog-header-nav-burger-button {
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.dialog-header-nav-burger-button .icon {
  width: 24px;
}

.dialog-body {
  overflow: auto;
  overscroll-behavior: contain;
  max-height: 100%;
  height: 100%;
}

.dialog-body-wrapper {
  padding: 16px;
  height: 100%;
}

/* Bouton burger */
.new-header-burger-button {
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  padding: 0;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: none;
  border: none;
  margin: auto;
  cursor: pointer;
  color: var(--wp--preset--color--pink-500);
  transition-property: background-color, color;
  transition-duration: 0.3s;
  transition-timing-function: linear;
  border-radius: 24px;
}

.new-header-burger-button:is(:hover, :focus-visible) {
  color: var(--wp--preset--color--pink-800);
}

.new-header-burger-icon {
  display: block;
}

.new-header-burger-icon svg {
  width: 40px;
  height: 40px;
  color: inherit;
  vertical-align: middle;
}

.new-header-burger-icon path {
  fill: currentColor;
}
