/* =========================================================
 *  Page "Trouver un expert"
 *  Id: 822
 *  Objectif : fond d'image, aucune retouche breadcrumb, zéro espace breadcrumb -> titre
 */

:root{
  --vx-bg: #dbe4f2;
  --vx-ink: rgba(15, 23, 42, 0.92);
  --vx-shadow: 0 18px 42px rgba(0,0,0,0.35);

  --vx-inner: 1180px;
  --vx-title-max: 820px;

  --vx-blue-fill: rgba(66, 97, 138, 0.30);
  --vx-blue-border: rgba(66, 97, 138, 0.34); /* rgba(66, 97, 138, 0.34) */

  --vx-blue-line: rgba(28, 79, 135, 0.75); /* rgba(28, 79, 130, 0.55) */
}

/* Masquer le titre natif du thème, car on imprime notre cartouche */
body.page-id-822 .entry-title,
body.page-id-822 h1.entry-title,
body.page-id-822 h1.wp-block-post-title{
  display: none !important;
}

/* Éviter les gros vides Gutenberg */
body.page-id-822 .wp-block-spacer{
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pleine largeur, dans le couloir du thème, uniquement pour le wrapper Expert */
body.page-id-822 .entry-content .novatra-expert,
body.page-id-822 .wp-block-post-content .novatra-expert{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 50% !important;
  transform: translateX(-50%);
  box-sizing: border-box;
}

/* Wrapper fond */
.novatra-expert{
  position: relative;
  /* padding: 4rem 1.5rem 4.2rem;  padding: 60px 20px 40px; */
  background-color: var(--vx-bg);
  overflow: hidden;
  box-sizing: border-box;
}

/* Photo pleine page */
.novatra-expert{
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 1180px;
  margin: 30px auto 30px;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.novatra-expert::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--vx-expert-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.novatra-expert__inner{
  position: relative;
  z-index: 1;
  max-width: var(--vx-inner);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Cartouche titre */
.novatra-expert__titlebox{
  width: min(var(--vx-title-max), calc(100% - 48px));
  margin: 50px auto 20px;
  padding: 2rem 2rem;
  background: var(--vx-ink);
  color: #ffffff;
  text-align: center;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.35);
  box-shadow: var(--vx-shadow);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.novatra-expert__title{
  margin: 0;
  color: inherit;
  font-size: 2.6rem;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.4px;
}

/* Cadre bleu contenant le texte margin: 10px auto 50; padding: 52px 22px 100px; */
.novatra-expert__stage{
  position: relative;
  width: 76%;
  max-width: 980px;
  margin: 10px auto 50px;
  padding: 40px 22px 22px;

  background: var(--vx-blue-fill);
  border: 1px solid var(--vx-blue-border);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  z-index: 1;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}

.novatra-expert__stage::before{
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  height: 6px;
  border-radius: 999px;
  background: var(--vx-blue-line);
  z-index:0;
}

.novatra-expert__content{
  max-width: 1120px;
  margin: 0 auto;
  box-sizing: border-box;
}

.novatra-expert__content > :first-child{
  margin-top: 0;
}

/* =========================
 *  Texte
 */

.novatra-expert__texte{
   font-size: 18px; 
   line-height: 1.6;
   font-weight: 400;
   color: #ffffff;
   margin-top: 12px;
   margin-bottom: 0px;
   padding-top: 0px;  
   text-align: justify;
   text-justify: inter-word;
   hyphens: auto;
}

.novatra-expert__texte.titreA{
   margin-top: 10px;
   margin-bottom: 18px;
   font-size: 24px; 
   font-weight: 700;
   color: #f9fafb; 
}

.novatra-expert__texte.titreB{
   margin-top: 40px;
   margin-bottom: 18px;
   font-size: 20px; 
   font-weight: 700;
}


/* ================================ 
 * liste
 */

.novatra-expert__list {
   margin: 0 0 0 0;
   padding-top: 0px;  
   font-size: 18px; 
   padding-left: 1.2rem;
   line-height: 1.6;
   font-weight: 400;
   color: #ffffff;
   text-align: justify;
   text-justify: inter-word;
   hyphens: auto;
}

.novatra-expert__list--numbered {
   list-style: decimal;
}

.novatra-expert__list li {
   margin-bottom: 12px;
   padding-left: 0.7rem;
}

.novatra-expert__list--numbered li::marker{
  color: #f5c84c;
  font-weight: 800;
}


/* =====================================
 * Medias queries - Mobile
 */

@media (max-width: 900px){
  .novatra-expert{
    padding: 3.2rem 1rem 3.4rem;
  }

  .novatra-expert__titlebox{
    width: calc(100% - 100px);
    margin: 28px auto -22px;
    padding: 1.8rem 1.3rem;
    border-radius: 18px;
  }

  .novatra-expert__title{
    font-size: 1.75rem;
    line-height: 1.18;
  }

  /* cadre bleu */
/*   .novatra-expert__stage{
    position: relative;
    width: 76%;
    padding: 52px 14px 0px;
    border-radius: 22px;
    max-width: 900px;
*/

.novatra-expert__stage{
    position: relative;
    width: 76%;
    max-width: 980px;
    margin: 50px auto 30px;
    padding: 40px 14px 22px;
}
.novatra-expert__stage::before{
    left: 14px;
    right: 14px;
    top: 34px;
  }
}
