/* Start custom CSS for html, class: .elementor-element-4c4d171 *//* ==========================================================
   PAGE ASSISTANTS MATERNELS — ELEMENTOR
   ========================================================== */

#spe-am-archive {
  --spe-navy: #0a0e39;
  --spe-orange: #ea642f;
  --spe-blue: #274dea;
  --spe-red: #d8433a;
  --spe-pink: #f472f9;
  --spe-light-blue: #9edcff;
  --spe-purple: #d5b9ff;
  --spe-background: #f6f7fb;
  --spe-card-background: #ffffff;
  --spe-text: #343642;
  --spe-muted: #686c7a;
  --spe-border: #e2e4ec;

  width: 100%;
  margin: 0;
  padding: 64px 24px 82px;

  background: var(--spe-background);
  color: var(--spe-text);

  font-family: Calibri, Arial, sans-serif;
  box-sizing: border-box;
}

#spe-am-archive *,
#spe-am-archive *::before,
#spe-am-archive *::after {
  box-sizing: border-box;
}

#spe-am-archive a {
  text-decoration: none;
}

#spe-am-archive button,
#spe-am-archive a {
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================
   CONTENEUR
   ========================================================== */

#spe-am-archive .spe-am__container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* ==========================================================
   EN-TÊTE
   ========================================================== */

#spe-am-archive .spe-am__header {
  position: relative;

  width: 100%;
  margin: 0 0 38px;
  padding: 42px 46px 42px 48px;

  background: #ffffff;
  border: 1px solid var(--spe-border);
  border-left: 8px solid var(--spe-orange);
  border-radius: 0 24px 24px 0;

  box-shadow: 0 10px 35px rgba(10, 14, 57, 0.07);
}

#spe-am-archive .spe-am__eyebrow {
  display: inline-flex;
  align-items: center;

  width: auto;
  margin: 0 0 15px;
  padding: 7px 15px;

  background: var(--spe-pink);
  border-radius: 999px;

  color: var(--spe-navy);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#spe-am-archive .spe-am__title {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;

  color: var(--spe-navy);

  font-family: Calibri, Arial, sans-serif;
  font-size: 32px !important;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

#spe-am-archive .spe-am__intro {
  max-width: 920px;
  margin: 0;
  padding: 0;

  color: var(--spe-text);

  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

/* ==========================================================
   BARRE DU COMPTEUR
   ========================================================== */

#spe-am-archive .spe-am__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  margin: 0 0 22px;
}

#spe-am-archive .spe-am__count {
  margin: 0;
  padding: 0;

  color: var(--spe-navy);

  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================
   GRILLE
   ========================================================== */

#spe-am-archive .spe-am__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;

  width: 100%;
}

/* ==========================================================
   CARTE
   ========================================================== */

#spe-am-archive .spe-am-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 100%;

  background: var(--spe-card-background);
  border: 1px solid var(--spe-border);
  border-radius: 20px;

  box-shadow: 0 8px 28px rgba(10, 14, 57, 0.08);
  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

#spe-am-archive .spe-am-card:hover {
  transform: translateY(-5px);

  border-color: rgba(234, 100, 47, 0.32);

  box-shadow: 0 16px 38px rgba(10, 14, 57, 0.14);
}

/* ==========================================================
   IMAGE
   ========================================================== */

#spe-am-archive .spe-am-card__visual {
  position: relative;

  display: block;

  width: 100%;
  aspect-ratio: 16 / 10;

  background: #e9ebf2;
  overflow: hidden;
}

#spe-am-archive .spe-am-card__image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.4s ease;
}

#spe-am-archive .spe-am-card:hover .spe-am-card__image {
  transform: scale(1.035);
}

/* Image de remplacement */

#spe-am-archive .spe-am-card__visual--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 25px;

  background:
    radial-gradient(
      circle at top right,
      rgba(244, 114, 249, 0.55),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      var(--spe-navy),
      #1e286d
    );

  color: #ffffff;
  text-align: center;
}

#spe-am-archive .spe-am-card__placeholder-logo {
  color: #ffffff;

  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

#spe-am-archive .spe-am-card__placeholder-text {
  color: #ffffff;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================
   CORPS DE LA CARTE
   ========================================================== */

#spe-am-archive .spe-am-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  padding: 25px 26px 27px;
}

/* ==========================================================
   ÉTIQUETTES
   ========================================================== */

#spe-am-archive .spe-am-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;

  width: 100%;
  margin: 0 0 14px;
}

#spe-am-archive .spe-am-badge {
  display: inline-flex;
  align-items: center;

  width: auto;
  max-width: 100%;
  padding: 6px 12px;

  background: #eef0f5;
  border: 0;
  border-radius: 999px;

  color: var(--spe-navy);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

/* Assistants maternels */

#spe-am-archive
.spe-am-badge[data-slug="assistants-maternels"] {
  background: var(--spe-pink);
  color: var(--spe-navy);
}

/* Salariés du particulier employeur */

#spe-am-archive
.spe-am-badge[data-slug="salaries-du-particulier-employeur"] {
  background: var(--spe-light-blue);
  color: var(--spe-navy);
}

/* Classification */

#spe-am-archive
.spe-am-badge[data-slug="classification"],
#spe-am-archive
.spe-am-badge[data-slug*="classification"] {
  background: var(--spe-purple);
  color: var(--spe-navy);
}

/* Salaires */

#spe-am-archive
.spe-am-badge[data-slug="salaire"],
#spe-am-archive
.spe-am-badge[data-slug="salaires"],
#spe-am-archive
.spe-am-badge[data-slug*="salaire"] {
  background: var(--spe-blue);
  color: #ffffff;
}

/* Actualités */

#spe-am-archive
.spe-am-badge[data-slug="actualites"],
#spe-am-archive
.spe-am-badge[data-slug="les-actualites"],
#spe-am-archive
.spe-am-badge[data-slug*="actualit"] {
  background: var(--spe-orange);
  color: #ffffff;
}

/* Articles permanents */

#spe-am-archive
.spe-am-badge[data-slug="articles-permanents"],
#spe-am-archive
.spe-am-badge[data-slug="article-permanent"] {
  background: var(--spe-red);
  color: #ffffff;
}

/* Convention collective */

#spe-am-archive
.spe-am-badge[data-slug*="convention-collective"],
#spe-am-archive
.spe-am-badge[data-slug="reglementation"] {
  background: var(--spe-navy);
  color: #ffffff;
}

/* Archives */

#spe-am-archive
.spe-am-badge[data-slug*="archive"] {
  background: #dfe2ea;
  color: var(--spe-navy);
}

/* ==========================================================
   DATE
   ========================================================== */

#spe-am-archive .spe-am-card__date {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;

  color: var(--spe-muted);

  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

/* ==========================================================
   TITRE DE L’ARTICLE
   ========================================================== */

#spe-am-archive .spe-am-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  width: 100%;
  margin: 0 0 14px;
  padding: 0;

  overflow: hidden;

  color: var(--spe-navy);

  font-family: Calibri, Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.23;

  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  hyphens: none;
}

#spe-am-archive .spe-am-card__title a {
  color: var(--spe-navy);

  transition: color 0.2s ease;
}

#spe-am-archive .spe-am-card__title a:hover {
  color: var(--spe-orange);
}

/* ==========================================================
   EXTRAIT
   ========================================================== */

#spe-am-archive .spe-am-card__excerpt {
  width: 100%;
  margin: 0 0 23px;
  padding: 0;

  color: var(--spe-text);

  font-size: 18px;
  font-weight: 400;
  line-height: 1.52;

  text-align: left;
  hyphens: none;
}

/* ==========================================================
   BOUTON LIRE L’ARTICLE
   ========================================================== */

#spe-am-archive .spe-am-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  width: auto;
  margin: auto 0 0;
  padding: 10px 20px;

  background: #ffffff;
  border: 2px solid var(--spe-orange);
  border-radius: 999px;

  color: var(--spe-orange);

  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#spe-am-archive .spe-am-card__arrow {
  display: inline-block;

  font-size: 21px;
  line-height: 1;

  transition: transform 0.2s ease;
}

#spe-am-archive .spe-am-card__button:hover {
  background: var(--spe-orange);
  color: #ffffff;
}

#spe-am-archive
.spe-am-card__button:hover
.spe-am-card__arrow {
  transform: translateX(4px);
}

/* ==========================================================
   BOUTON AFFICHER PLUS
   ========================================================== */

#spe-am-archive .spe-am__actions {
  width: 100%;
  margin: 42px 0 0;

  text-align: center;
}

#spe-am-archive .spe-am__load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 12px 26px;

  appearance: none;
  cursor: pointer;

  background: #ffffff;
  border: 2px solid var(--spe-orange);
  border-radius: 999px;

  color: var(--spe-orange);

  font-family: Calibri, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#spe-am-archive .spe-am__load-more:hover {
  background: var(--spe-orange);
  color: #ffffff;

  transform: translateY(-2px);
}

/* ==========================================================
   FOCUS CLAVIER
   ========================================================== */

#spe-am-archive a:focus-visible,
#spe-am-archive button:focus-visible {
  outline: 3px solid rgba(39, 77, 234, 0.35);
  outline-offset: 4px;
}

/* ==========================================================
   MESSAGE VIDE OU ERREUR
   ========================================================== */

#spe-am-archive .spe-am__empty,
#spe-am-archive .spe-am__error {
  grid-column: 1 / -1;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  width: 100%;
  padding: 38px 25px;

  background: #ffffff;
  border: 1px solid var(--spe-border);
  border-radius: 18px;

  color: var(--spe-navy);

  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

#spe-am-archive .spe-am__error {
  margin-top: 25px;
  border-left: 6px solid var(--spe-red);
}

/* ==========================================================
   CHARGEMENT
   ========================================================== */

#spe-am-archive .spe-am-card--loading {
  pointer-events: none;
}

#spe-am-archive .spe-am-skeleton {
  position: relative;

  background: #e8eaf0;
  border-radius: 8px;
  overflow: hidden;
}

#spe-am-archive .spe-am-skeleton::after {
  position: absolute;
  inset: 0;

  content: "";

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );

  transform: translateX(-100%);
  animation: spe-am-loading 1.35s infinite;
}

#spe-am-archive .spe-am-skeleton--image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

#spe-am-archive .spe-am-skeleton--badge {
  width: 130px;
  height: 27px;
  margin-bottom: 18px;
}

#spe-am-archive .spe-am-skeleton--title {
  width: 95%;
  height: 29px;
  margin-bottom: 16px;
}

#spe-am-archive .spe-am-skeleton--text {
  width: 100%;
  height: 18px;
  margin-bottom: 10px;
}

#spe-am-archive .spe-am-skeleton--text-small {
  width: 72%;
  height: 18px;
}

@keyframes spe-am-loading {
  100% {
    transform: translateX(100%);
  }
}

/* ==========================================================
   TABLETTE
   ========================================================== */

@media screen and (max-width: 1050px) {

  #spe-am-archive {
    padding-right: 22px;
    padding-left: 22px;
  }

  #spe-am-archive .spe-am__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #spe-am-archive .spe-am__header {
    padding: 38px 40px;
  }

  #spe-am-archive .spe-am__title {
    font-size: 38px;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 767px) {

  #spe-am-archive {
    padding: 34px 13px 58px;
  }

  #spe-am-archive .spe-am__header {
    margin-bottom: 29px;
    padding: 28px 22px 30px;

    border-left-width: 5px;
    border-radius: 0 17px 17px 0;
  }

  #spe-am-archive .spe-am__eyebrow {
    margin-bottom: 12px;
    padding: 6px 11px;

    font-size: 12px;
  }

  #spe-am-archive .spe-am__title {
    margin-bottom: 13px;

    font-size: 31px;
    line-height: 1.12;
  }

  #spe-am-archive .spe-am__intro {
    font-size: 18px;
    line-height: 1.45;
  }

  #spe-am-archive .spe-am__toolbar {
    margin-bottom: 17px;
  }

  #spe-am-archive .spe-am__count {
    font-size: 16px;
  }

  #spe-am-archive .spe-am__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  #spe-am-archive .spe-am-card {
    border-radius: 17px;
  }

  #spe-am-archive .spe-am-card:hover {
    transform: none;
  }

  #spe-am-archive .spe-am-card__body {
    padding: 21px 20px 23px;
  }

  #spe-am-archive .spe-am-badge {
    padding: 5px 10px;

    font-size: 12px;
  }

  #spe-am-archive .spe-am-card__date {
    font-size: 14px;
  }

  #spe-am-archive .spe-am-card__title {
    font-size: 22px;
    line-height: 1.25;
  }

  #spe-am-archive .spe-am-card__excerpt {
    font-size: 17px;
    line-height: 1.48;
  }

  #spe-am-archive .spe-am-card__button {
    padding: 9px 17px;

    font-size: 16px;
  }

  #spe-am-archive .spe-am__actions {
    margin-top: 31px;
  }

  #spe-am-archive .spe-am__load-more {
    width: 100%;
    max-width: 330px;

    font-size: 16px;
  }
    
}

/* Masquer uniquement l’ancien titre Nicepage */
body:has(#spe-am-archive)
h2.u-align-center.u-blog-control.u-text.u-text-custom-color-1.u-text-1 {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* ==========================================================
   HEADER PAGE ASSISTANTS MATERNELS
   STYLE VISUEL 2
   ========================================================== */

#spe-am-archive .spe-am__header {
  width: 100%;
  margin: 0 0 38px;
  padding: 50px 34px 56px;

  background: #fdf4f0 !important;
  border: none !important;
  border-left: none !important;
  border-radius: 22px !important;
  box-shadow: none !important;
}

/* On masque le badge rose */
#spe-am-archive .spe-am__eyebrow {
  display: none !important;
}

/* Titre principal */
#spe-am-archive .spe-am__title {
  margin: 0 0 20px !important;
  color: #0a0e39 !important;

  font-family: Calibri, Arial, sans-serif !important;
  font-size: 58px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

/* Texte d’introduction */
#spe-am-archive .spe-am__intro {
  max-width: 620px;
  margin: 0 !important;

  color: #0a0e39 !important;
  font-family: Calibri, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

/* Un peu d'air autour du bloc */
#spe-am-archive {
  padding-top: 46px !important;
}

/* ==========================================================
   TABLETTE
   ========================================================== */

@media screen and (max-width: 1024px) {
  #spe-am-archive .spe-am__header {
    padding: 40px 28px 44px !important;
  }

  #spe-am-archive .spe-am__title {
    font-size: 46px !important;
  }

  #spe-am-archive .spe-am__intro {
    font-size: 20px !important;
    max-width: 100%;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 767px) {
  #spe-am-archive .spe-am__header {
    padding: 28px 22px 32px !important;
    border-radius: 18px !important;
  }

  #spe-am-archive .spe-am__title {
    margin-bottom: 14px !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
  }

  #spe-am-archive .spe-am__intro {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }
}
/* Supprimer le fond bleu de toute la section */
#spe-am-archive {
  background: transparent !important;
}
/* ==========================================================
   AJUSTEMENT DU BANDEAU ASSISTANTS MATERNELS
   ========================================================== */

/* Suppression de l’espace au-dessus du bandeau */
#spe-am-archive {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Suppression des marges du widget Elementor qui contient le bloc */
.elementor-widget-html:has(#spe-am-archive),
.elementor-widget-html:has(#spe-am-archive) > .elementor-widget-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Bandeau beige */
#spe-am-archive .spe-am__header {
  margin-top: 0 !important;
  padding: 44px 38px 48px !important;
}

/* Titre plus petit, Calibri et navy */
#spe-am-archive .spe-am__title {
  margin: 0 0 20px !important;

  color: #0a0e39 !important;
  font-family: Calibri, Arial, sans-serif !important;
  font-size: 46px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

/* Texte sous le titre */
#spe-am-archive .spe-am__intro {
  color: #0a0e39 !important;
  font-family: Calibri, Arial, sans-serif !important;
  font-size: 21px !important;
  line-height: 1.5 !important;
}

/* Mobile */
@media screen and (max-width: 767px) {
  #spe-am-archive .spe-am__header {
    padding: 28px 22px 32px !important;
  }

  #spe-am-archive .spe-am__title {
    margin-bottom: 14px !important;
    font-size: 32px !important;
  }

  #spe-am-archive .spe-am__intro {
    font-size: 18px !important;
  }
}

/* Masquer le nombre d’articles */
#spe-am-archive .spe-am__toolbar,
#spe-am-archive .spe-am__count {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================
   ASSISTANTS MATERNELS
   CARTES IDENTIQUES À LA PAGE ACTUALITÉS
   ========================================================== */

/* Conteneur des cartes */
#spe-am-archive .spe-am__container {
  max-width: 1320px !important;
}

/* 4 cartes par ligne comme sur Actualités */
#spe-am-archive .spe-am__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 20px !important;
}

/* Carte générale */
#spe-am-archive .spe-am-card {
  display: flex !important;
  flex-direction: column !important;

  min-width: 0 !important;
  min-height: 438px !important;

  background: #ffffff !important;
  border: 1px solid #dfe1e7 !important;
  border-radius: 12px !important;

  box-shadow:
    0 5px 10px rgba(10, 14, 57, 0.12),
    0 12px 24px rgba(10, 14, 57, 0.08) !important;

  overflow: hidden !important;
  transform: none !important;
}

/* Pas de déplacement au survol */
#spe-am-archive .spe-am-card:hover {
  transform: none !important;
  border-color: #dfe1e7 !important;

  box-shadow:
    0 6px 13px rgba(10, 14, 57, 0.15),
    0 14px 28px rgba(10, 14, 57, 0.09) !important;
}

/* ==========================================================
   IMAGE
   ========================================================== */

#spe-am-archive .spe-am-card__visual {
  display: block !important;

  width: 100% !important;
  height: 172px !important;
  min-height: 172px !important;
  aspect-ratio: auto !important;

  background: #eeeeee !important;
  overflow: hidden !important;
}

#spe-am-archive .spe-am-card__image {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center !important;

  transform: none !important;
}

#spe-am-archive .spe-am-card:hover .spe-am-card__image {
  transform: none !important;
}

/* ==========================================================
   INTÉRIEUR DE LA CARTE
   ========================================================== */

#spe-am-archive .spe-am-card__body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto 1fr auto !important;
  column-gap: 10px !important;
  row-gap: 0 !important;

  flex: 1 !important;

  width: 100% !important;
  min-height: 266px !important;
  padding: 15px 15px 17px !important;
}

/* ==========================================================
   BADGES
   ========================================================== */

#spe-am-archive .spe-am-card__badges {
  grid-column: 1 !important;
  grid-row: 1 !important;

  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 5px !important;

  width: 100% !important;
  margin: 0 0 13px !important;
}

/* Style général des badges */
#spe-am-archive .spe-am-badge {
  display: inline-flex !important;
  align-items: center !important;

  width: auto !important;
  max-width: 100% !important;
  min-height: 23px !important;

  margin: 0 !important;
  padding: 5px 9px !important;

  background: #0a0e39 !important;
  border: none !important;
  border-radius: 1px !important;

  color: #ffffff !important;

  font-family: Calibri, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;

  text-align: left !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

/* Assistants maternels */
#spe-am-archive
.spe-am-badge[data-slug="assistants-maternels"] {
  background: #f35eea !important;
  color: #ffffff !important;
}

/* Salaires */
#spe-am-archive
.spe-am-badge[data-slug="salaire"],
#spe-am-archive
.spe-am-badge[data-slug="salaires"],
#spe-am-archive
.spe-am-badge[data-slug*="salaire"] {
  background: #0a0e39 !important;
  color: #ffffff !important;
}

/* Salariés du particulier employeur */
#spe-am-archive
.spe-am-badge[data-slug="salaries-du-particulier-employeur"] {
  background: #5a9df0 !important;
  color: #ffffff !important;
}

/* Classification */
#spe-am-archive
.spe-am-badge[data-slug="classification"],
#spe-am-archive
.spe-am-badge[data-slug*="classification"] {
  background: #e4a900 !important;
  color: #ffffff !important;
}

/* Juridique */
#spe-am-archive
.spe-am-badge[data-slug="juridique"],
#spe-am-archive
.spe-am-badge[data-slug*="juridique"] {
  background: #d8433a !important;
  color: #ffffff !important;
}

/* Actualités */
#spe-am-archive
.spe-am-badge[data-slug="actualites"],
#spe-am-archive
.spe-am-badge[data-slug="les-actualites"],
#spe-am-archive
.spe-am-badge[data-slug*="actualit"] {
  background: #ea642f !important;
  color: #ffffff !important;
}

/* Articles permanents */
#spe-am-archive
.spe-am-badge[data-slug="articles-permanents"],
#spe-am-archive
.spe-am-badge[data-slug="article-permanent"] {
  background: #d8433a !important;
  color: #ffffff !important;
}

/* Archives */
#spe-am-archive
.spe-am-badge[data-slug*="archive"] {
  background: #dfe2ea !important;
  color: #0a0e39 !important;
}

/* ==========================================================
   DATE EN HAUT À DROITE
   ========================================================== */

#spe-am-archive .spe-am-card__date {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: end !important;

  width: auto !important;
  margin: 5px 0 0 !important;
  padding: 0 !important;

  color: #686b75 !important;

  font-family: Calibri, Arial, sans-serif !important;
  font-size: 10px !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;

  text-align: right !important;
  white-space: nowrap !important;
}

/* ==========================================================
   TITRE
   ========================================================== */

#spe-am-archive .spe-am-card__title {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;

  display: block !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #0a0e39 !important;
  overflow: visible !important;

  font-family: Calibri, Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;

  text-align: left !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  hyphens: none !important;

  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
}

#spe-am-archive .spe-am-card__title a {
  color: #0a0e39 !important;
}

#spe-am-archive .spe-am-card__title a:hover {
  color: #0a0e39 !important;
}

/* ==========================================================
   SUPPRESSION DE L’EXTRAIT
   ========================================================== */

#spe-am-archive .spe-am-card__excerpt {
  display: none !important;
}

/* ==========================================================
   LIEN LIRE LA SUITE
   ========================================================== */

#spe-am-archive .spe-am-card__button {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  align-self: end !important;
  justify-self: start !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;

  width: auto !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;

  color: #ea642f !important;

  font-family: Calibri, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  text-align: left !important;
}

#spe-am-archive .spe-am-card__button:hover {
  background: transparent !important;
  color: #ea642f !important;
  transform: none !important;
}

#spe-am-archive .spe-am-card__arrow {
  color: #ea642f !important;
  font-size: 26px !important;
  font-weight: 300 !important;
  line-height: 1 !important;

  transform: none !important;
}

#spe-am-archive
.spe-am-card__button:hover
.spe-am-card__arrow {
  transform: translateX(4px) !important;
}

/* ==========================================================
   TABLETTE
   ========================================================== */

@media screen and (max-width: 1050px) {
  #spe-am-archive .spe-am__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #spe-am-archive .spe-am-card__visual {
    height: 190px !important;
    min-height: 190px !important;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 767px) {
  #spe-am-archive .spe-am__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  #spe-am-archive .spe-am-card {
    min-height: 420px !important;
  }

  #spe-am-archive .spe-am-card__visual {
    height: 190px !important;
    min-height: 190px !important;
  }

  #spe-am-archive .spe-am-card__body {
    min-height: 230px !important;
    padding: 15px 15px 17px !important;
  }

  #spe-am-archive .spe-am-card__title {
    font-size: 19px !important;
  }

  #spe-am-archive .spe-am-card__date {
    font-size: 9px !important;
  }
}

/* Masquer réellement les éléments portant l’attribut hidden */
#spe-am-archive [hidden] {
  display: none !important;
}

/* ==========================================================
   SUPPRIMER L’ESPACE NICEPAGE AU-DESSUS DU BANDEAU
   ========================================================== */

body:has(#spe-am-archive)
.u-post-details-1:has(> .u-container-layout:empty) {
  display: block !important;
  width: 100% !important;

  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
}

/* Neutraliser également le conteneur intérieur vide */
body:has(#spe-am-archive)
.u-post-details-1 > .u-container-layout:empty {
  height: 0 !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-54796c6 *//* ==========================================================
   PAGE ASSISTANTS MATERNELS
   RÉDUIRE L’ESPACE ENTRE LE MENU ET LE BANDEAU
   ========================================================== */

/* Réinitialisation du conteneur Nicepage sans le masquer */
body:has(#spe-am-archive) .u-section-1,
body:has(#spe-am-archive) .u-section-1 .u-sheet,
body:has(#spe-am-archive) .u-section-1 .u-sheet-1,
body:has(#spe-am-archive) .u-section-1 .u-post-details-1 {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Conteneur intérieur qui crée l’espace */
body:has(#spe-am-archive)
.u-section-1
.u-post-details-1
> .u-container-layout {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Position du nouveau bloc Elementor */
body:has(#spe-am-archive) #spe-am-archive {
  margin-top: 0 !important;
  padding-top: 25px !important;
}/* End custom CSS */