/* =============================================
   GLOBAL
   ============================================= */
.longread-template-template-longread-3{
  --lr3-blue: #1B64D7;
}

.longread-template-template-longread-3 .container-longread{
  overflow:hidden;
}


.longread-template-template-longread-3 .container-longread-intro .wrapper .image_titre h1,
.longread-template-template-longread-3 .container-longread-mot .texte h1{
     font-family: "Inter Tight";
   }

.longread-template-template-longread-3 .container-longread-intro .wrapper .texte p,
.longread-template-template-longread-3 .container-longread-mot .texte p{
  /* color:#000; */
}

.longread-template-template-longread-3 .container-longread{
  /* background-color: #000; */
}



.longread-template-template-longread-3 .container-longread h2{
  font-size: 43px;
  line-height: 46px;
  /* color: #fff; */
  font-weight: 300;
  font-family: "Inter Tight";
  max-width: 766px;
  margin-left: auto;
  margin-right: auto;
  text-transform:none;
  margin-top: 70px;
  margin-bottom:25px;
}


.longread-template-template-longread-3 .container-longread p{
  font-size: 18px;
  line-height: 29px;
  /* color: #fff; */
  font-weight: 400;
  font-family: "Inter Tight";
  max-width: 766px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}


.longread-template-template-longread-3 .container-longread p.intro{
  font-size: 30px;
  line-height: 44px;
  color: var(--lr3-blue);
}



/* =============================================
   BLOCK VIDEO (hero)
   ============================================= */
.longread-template-template-longread-3 .container-longread .block-video{
  margin-bottom: 120px;
}

.longread-template-template-longread-3 .container-longread .block-video .image {
  position: relative;
  width: 100%;
  /* Hauteur figée a 100vh */
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.longread-template-template-longread-3 .container-longread .block-video .image img,
.longread-template-template-longread-3 .container-longread .block-video .image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.longread-template-template-longread-3 .container-longread .block-video .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.longread-template-template-longread-3 .container-longread .block-video .texte {
  position: absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(24px, 6svh, 70px);
}

.longread-template-template-longread-3 .container-longread .block-video h1 {
  font-family: 'Agdasima', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 13vw, 197px);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  margin-top: 0;
}

.longread-template-template-longread-3 .container-longread .block-video .titres {
  width: 100%;
  margin-bottom: clamp(24px, 7svh, 80px);
}

.longread-template-template-longread-3 .container-longread .block-video h1 span {
  font-size: clamp(18px, 3.1vw, 47px);
  line-height: 1.2;
  display: block;
  margin-top: -0.1em;
  margin-bottom: 0;
}

/* Mention optionnelle sous le sous-titre (ex. "avec Anne Cristini-Désir, Présidente de ...") */
.longread-template-template-longread-3 .container-longread .block-video.has-mention h1 span {
  margin-bottom: 0.2em;
}

.longread-template-template-longread-3 .container-longread .block-video .mention {
  font-family: "Inter Tight";
  font-weight: 400;
  font-size: clamp(14px, 1.6vw, 24px);
  line-height: 1.45;
  color: #fff;
  text-transform: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.longread-template-template-longread-3 .container-longread .block-video .player {
  z-index: 2;
  margin:0 auto;
  width: clamp(56px, 8vw, 122px);
  height: clamp(56px, 8vw, 122px);
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.longread-template-template-longread-3 .container-longread .block-video .player-icon {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.longread-template-template-longread-3 .container-longread .block-video .scroll-indicator {
  /* File jusqu'au bas du hero */
  flex: 1 1 auto;
  min-height: 32px;
  margin-top: clamp(24px, 6svh, 120px);
  margin-bottom: clamp(24px, 5svh, 60px);
  margin-left: auto;
  margin-right: auto;
  width: 1px;
  background: #fff;
}


/* =============================================
   BLOCK TEXTE IMAGE 3
   ============================================= */
.longread-template-template-longread-3 .container-longread .block-texte-image-3{
  padding-top: 92px;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 70px;
}

.longread-template-template-longread-3 .container-longread .block-texte-image-3 .image_texte{
  display: flex;
  justify-content: center;
}

.longread-template-template-longread-3 .container-longread .block-texte-image-3 .image{
  margin-top: 119px;
  margin-left: -50px;
  width: 805px;
  min-width: 805px;
}

.longread-template-template-longread-3 .container-longread .block-texte-image-3 .image img{
  width: 100%;
  height: auto;
}

.longread-template-template-longread-3 .container-longread .block-texte-image-3 .titre_texte{
  max-width: 550px;
}

.longread-template-template-longread-3 .container-longread .block-texte-image-3 h2 span{
  font-size: 138px;
  display: block;
  margin-bottom: 40px;

}


.longread-template-template-longread-3 .container-longread .block-texte-image-3 h2{
  font-size: 66px;
  line-height: 64px;
  font-weight: 700;
  font-family: 'Agdasima', sans-serif;
  max-width: 100%;
  text-transform:uppercase;
  color: var(--lr3-blue);
}

.longread-template-template-longread-3 .container-longread .block-texte-image-3 p{
  max-width: 100%;
  font-size: 26px;
  line-height: 36px;
}




/* =============================================
   CITATION (wp-block-quote / p.citation)
   ============================================= */
.longread-template-template-longread-3 .container-longread .wp-block-quote{
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 32px;
  border: none;
}

.longread-template-template-longread-3 .container-longread .wp-block-quote p,
.longread-template-template-longread-3 .container-longread > p.citation{
  color: var(--lr3-blue);
  font-family: "Inter Tight";
  font-style: italic;
  font-weight: 500;
  font-size: 44px;
  line-height: 53px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.longread-template-template-longread-3 .container-longread .wp-block-quote cite{
  display: block;
  text-align: center;
  font-style: normal;
  font-size: 16px;
  margin-top: 15px;
}



/* =============================================
   IMAGES PLEINE LARGEUR (bloc Image natif) & BLOCK 2 IMAGES
   Maquette : images bord à bord (1512px), 2 images = 50/50 sans espace
   ============================================= */
.longread-template-template-longread-3 .container-longread .wp-block-image{
  max-width: 100%;
  width: 100%;
  margin: 70px 0;
}

.longread-template-template-longread-3 .container-longread .wp-block-image img{
  display: block;
  width: 100%;
  height: auto;
}

.longread-template-template-longread-3 .container-longread .wp-block-image figcaption{
  padding: 0 32px;
}

.longread-template-template-longread-3 .container-longread .block-2-images{
  margin: 70px 0;
}

.longread-template-template-longread-3 .container-longread .block-2-images .images{
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0;
}

.longread-template-template-longread-3 .container-longread .block-2-images .images .image_1,
.longread-template-template-longread-3 .container-longread .block-2-images .images .image_2{
  width: 50%;
  min-width: 50%;
  aspect-ratio: 756 / 730;
  overflow: hidden;
  margin: 0;
}

.longread-template-template-longread-3 .container-longread .block-2-images .images .image_1 img,
.longread-template-template-longread-3 .container-longread .block-2-images .images .image_2 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3e image : pleine largeur sous les deux premieres, sans espace */
.longread-template-template-longread-3 .container-longread .block-2-images .image_3{
  width: 100%;
  aspect-ratio: 1512 / 730;
  overflow: hidden;
  margin: 0;
}

.longread-template-template-longread-3 .container-longread .block-2-images .image_3 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   BLOCK SLIDER (En images)
   ============================================= */
.longread-template-template-longread-3 .container-longread .block-slider {
  padding: 80px 0 100px;
}

.longread-template-template-longread-3 .container-longread .block-slider h2 {
  font-size: 83px;
  font-weight: 700;
  max-width: 100%;
  padding-left: 177px;
  margin-bottom: 60px;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-list {
  overflow: visible !important;
  padding-top: 6.71% !important;
  padding-bottom: 6.71% !important;
}

.longread-template-template-longread-3 .container-longread .block-slider .slide {
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-center {
  opacity: 1;
  transform: scale(1.189);
  position: relative;
  z-index: 1;
}

.longread-template-template-longread-3 .container-longread .block-slider .slide .image {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1002 / 712;
  /* Plafond : la slide centrale (x1.19) + titre + nav doivent tenir dans un ecran */
  max-height: 60vh;
}

.longread-template-template-longread-3 .container-longread .block-slider .slide .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav : flèches + dots centrés sous le slider */
.longread-template-template-longread-3 .container-longread .block-slider .slick-slider {
  padding-bottom: 80px;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 367px;
  height: 69px;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-dots li {
  margin: 0;
  width: auto;
  height: auto;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-dots li button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CDCDCD;
  padding: 0;
  font-size: 0;
  border: none;
  cursor: pointer;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-dots li button::before {
  display: none;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-dots li.slick-active button {
  background: var(--lr3-blue);
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-prev,
.longread-template-template-longread-3 .container-longread .block-slider .slick-next {
  position: absolute;
  bottom: 20px;
  top: auto;
  width: 69px;
  height: 69px;
  border-radius: 50%;
  border: 2px solid #000;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  z-index: 2;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-prev {
  left: calc(50% - 243.5px);
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-next {
  left: calc(50% + 199.5px);
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-prev::before,
.longread-template-template-longread-3 .container-longread .block-slider .slick-next::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  position: absolute;
  top: 50%;
  left: 50%;
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.longread-template-template-longread-3 .container-longread .block-slider .slick-arrow.slick-disabled {
  opacity: 0.4 !important;
  cursor: default;
  display: block!important;
}

/* Mobile : aucune fleche, meme desactivee (le !important ci-dessus est neutralise ici) */
@media screen and (max-width: 500px) {
  .longread-template-template-longread-3 .container-longread .block-slider .slick-prev,
  .longread-template-template-longread-3 .container-longread .block-slider .slick-next,
  .longread-template-template-longread-3 .container-longread .block-slider .slick-arrow,
  .longread-template-template-longread-3 .container-longread .block-slider .slick-arrow.slick-disabled {
    display: none !important;
  }
}


/* =============================================
   BLOCK MOSAIQUE
   ============================================= */
.longread-template-template-longread-3 .container-longread .block-mosaique .rows .row{
  display: flex;
  width: 100%;
  align-items: center;
  background-color: #000;
}

.longread-template-template-longread-3 .container-longread .block-mosaique .rows .row:nth-child(even){
  flex-direction: row-reverse;
}

.longread-template-template-longread-3 .container-longread .block-mosaique .rows .row .image{
  width: 50%;
  min-width: 50%;
  aspect-ratio: 756 / 756;
}

.longread-template-template-longread-3 .container-longread .block-mosaique .rows .row .image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.longread-template-template-longread-3 .container-longread .block-mosaique .rows .row .texte{
  width: 50%;
  min-width: 50%;
  min-height: 100%;
  padding: 55px 103px 55px 72px;
}

.longread-template-template-longread-3 .container-longread .block-mosaique .rows .row .texte p{
  color: #fff;
  max-width: 100%;
}

.longread-template-template-longread-3 .container-longread .block-mosaique .rows .row .texte h3{
  font-size: 18px;
  color: #fff;
  text-transform: none;
  line-height: 29px;
  font-family: "Inter Tight";
  font-weight: 700;
  max-width: 100%;
}


.longread-template-template-longread-3 .container-longread .block-mosaique .rows .row .texte h2{
  color: #fff;
  font-size: 43px;
  line-height: 46px;
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 100%;
}


/* =============================================
   BLOCK TEMOIGNAGE
   ============================================= */
.longread-template-template-longread-3 .container-longread .block-temoignage .wrapper .image_deco img{
  width: 352px;
}

.longread-template-template-longread-3 .container-longread .block-temoignage .wrapper .image_deco img {
    left: 80px;
}


/* =============================================
   POPUP VIDEO (hero longread) — YouTube / mp4
   ============================================= */
body.lr-popup-active{
  overflow: hidden;
}

.lr-video-popup{
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
}

.lr-video-popup.active{
  display: flex;
}

.lr-video-popup .frame{
  width: min(1200px, 90vw);
  aspect-ratio: 16 / 9;
  background: #000;
}

.lr-video-popup .frame iframe,
.lr-video-popup .frame video{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.lr-video-popup .close{
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.lr-video-popup .close::before,
.lr-video-popup .close::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #000;
}

.lr-video-popup .close::before{
  transform: translate(-50%, -50%) rotate(45deg);
}

.lr-video-popup .close::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 500px) {
  .lr-video-popup .frame{
    width: 100vw;
  }

  .lr-video-popup .close{
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }
}
