/**
 * DRP Base - the site's core visual design system: sidebar, logos, site title, popup
 * chrome (overlay/header/burger/footer), the homepage photo bar, FAQ accordion, and the
 * base 2-column grid layout that everything else (gallery/agenda/fullpage overrides in
 * drp.css) builds on top of.
 *
 * PROVENANCE: this was NOT in any of the 14 Code Snippets - it lived entirely in
 * WordPress Core's own "Additional CSS" feature (Appearance -> Customize -> Additional
 * CSS), stored in the database as a `custom_css` post whose post_name is the OLD active
 * theme's stylesheet slug ('hello-elementor'). That storage is deliberately per-theme:
 * wp_get_custom_css_post() looks up the custom_css post by the CURRENT active theme's
 * slug. The instant this child theme ('drp-hello-child') was activated, WordPress
 * stopped serving this CSS entirely - nothing in the port broke, an entire independent
 * ~27KB stylesheet just went out of scope of the original file-based investigation
 * (uploads/wp-content only shows files; this lived purely in the database).
 *
 * Baked in here verbatim (byte-for-byte from the database dump) so it's a real,
 * version-controlled file instead of being invisibly tied to a theme name that no
 * longer exists. Do not also re-add it under Appearance -> Customize -> Additional CSS -
 * that would just recreate the same fragility for the next theme change.
 */
/* ── POLICES GOOGLE ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500&display=swap');

/* ── BODY ET WRAPPER ── */
body, html {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  font-family: 'Inter', Arial, sans-serif !important;
}

.site, .site-content, #content, #page, .wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── CONTENEUR PRINCIPAL ── */
.drp-grid {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  --gap: 0px !important;
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  --padding-right: 0px !important;
  align-items: stretch !important;
}

.drp-grid > .e-con {
  padding: 0 !important;
  margin: 0 !important;
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  --padding-right: 0px !important;
}

.drp-grid > .e-con:first-child {
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 340px !important;
  min-width: 340px !important;
}

.drp-grid > .e-con:last-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.drp-grid > .e-con:last-child img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* ── SIDEBAR ── */
.drp-sidebar {
  width: 100%;
  background: #ffffff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: auto;
  overflow-y: visible;
}

/* ── LOGOS ── */
.drp-logo-main {
  display: block;
  margin-bottom: 10px;
}

.drp-logo-img {
  width: auto;
  max-width: 160px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.drp-logo-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.drp-logo-rond {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: block;
}

/* ── LOGOS POPUP UNIQUEMENT ── */
.drp-popup .drp-logo-img {
  max-width: 50%;  /* largeur du logo principal */
  height: 60px;      /* hauteur du logo principal */
}

.drp-popup .drp-logo-main {
  margin-bottom: 16px;  /* espace sous le logo principal */
}

.drp-popup .drp-logo-badge {
  margin-bottom: 16px;  /* espace sous le bloc logo rond + texte */
}

.drp-popup .drp-logo-rond {
  width: 60px;   /* largeur du logo rond */
  height: 60px;  /* hauteur du logo rond */
}

.drp-sidebar .drp-logo-rond {
  width: 80px;
  height: 80px;
}

.drp-popup .drp-logo-rond {
  width: 80px;
  height: 80px;
}

/* ── LOGOS URL DIRECTE UNIQUEMENT ── */
.drp-page-wrap .drp-logo-img {
  max-width: 100%;  /* taille logo principal URL directe */
  height: 60px;
}

.drp-page-wrap .drp-logo-rond {
  width: 80px;   /* largeur logo rond URL directe */
  height: 80px;  /* hauteur logo rond URL directe */
}

.drp-logo-label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10px;
  color: #1a2e5a;
  line-height: 1.5;
}

.drp-logo-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: #1a2e5a;
  text-transform: uppercase;
  border-bottom: 1px solid #1a2e5a;
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.drp-logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid #1a2e5a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drp-site-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 54px;
  font-weight: 700;
  color: #1a2e5a;
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 18px;
  text-decoration: none;
  display: block;
}

.drp-sep {
  width: 28px;
  height: 2px;
  background: #1a2e5a;
  margin-bottom: 14px;
}

.drp-tagline {
  font-style: italic;
  font-size: 24px;
  color: #1a2e5a;
  line-height: 1.5;
  margin-bottom: 36px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
}

/* ── NAVIGATION SIDEBAR ── */
.drp-nav {
  display: flex;
  flex-direction: column;
}

.drp-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 0.5px solid rgba(26,46,90,0.25);
  text-decoration: none;
  transition: opacity 0.2s;
  gap: 8px;
}

.drp-nav a:last-child {
  border-bottom: 0.5px solid rgba(26,46,90,0.25);
}

.drp-nav a:hover { opacity: 0.5; }

.drp-nav a.active {
  opacity: 0.4;
  pointer-events: none;
}

.drp-nav-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.drp-num {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10px;
  color: rgba(26,46,90,0.45);
  min-width: 18px;
  padding-top: 1px;
  line-height: 1.3;
  flex-shrink: 0;
}

.drp-num::after {
  content: '';
  display: block;
  width: 14px;
  height: 0.5px;
  background: rgba(26,46,90,0.35);
  margin-top: 3px;
}

.drp-lbl {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a2e5a;
  line-height: 1.4;
}

.drp-arrow {
  color: #1a2e5a;
  font-size: 15px;
  flex-shrink: 0;
}

/* ── PAGES INTERIEURES ── */
.drp-content {
  flex: 1;
  padding: 60px 80px;
}

/* ── MOBILE ── */
@media (max-width: 768px) {

  .drp-grid {
    flex-direction: row !important;
    align-items: stretch !important;
  }

  .drp-left {
    flex: 0 0 55% !important;
    width: 55% !important;
    max-width: 55% !important;
    min-width: unset !important;
    overflow-y: auto !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
  }

  .drp-right {
    flex: 0 0 45% !important;
    width: 45% !important;
    max-width: 45% !important;
    min-width: unset !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow: hidden !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
  }

  .drp-right img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
  }

  .drp-sidebar {
    padding: 24px 18px !important;
  }

  .drp-site-title {
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .drp-logo-img {
    max-width: 160px !important;
    height: 35px !important;
  }

  .drp-logo-rond {
    width: 50px !important;
    height: 50px !important;
  }

  .drp-logo-label {
    font-size: 9px !important;
    line-height: 1.4 !important;
    max-width: 120px !important;
    word-wrap: break-word !important;
  }

  .drp-tagline { font-size: 13px !important; margin-bottom: 20px !important; font-weight: 700 !important; }
  .drp-nav a { padding: 9px 0 !important; }
  .drp-lbl { font-size: 9px !important; }
  .drp-num { font-size: 9px !important; }

  .drp-content {
    padding: 20px 15px !important;
  }
}

/* ── POPUP OVERLAY ── */
.drp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 46, 90, 0.3);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(3px);
}

.drp-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── POPUP PLEIN ECRAN ── */
.drp-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drp-popup.active {
  transform: translateX(0);
}

/* ── POPUP HEADER ── */
.drp-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 0.5px solid rgba(26,46,90,0.15);
  background: #ffffff;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.drp-popup-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Fil d'Ariane */
.drp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(26,46,90,0.5);
}

.drp-breadcrumb a {
  color: rgba(26,46,90,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.drp-breadcrumb a:hover { color: #1a2e5a; }

.drp-breadcrumb span { color: #1a2e5a; font-weight: 700; }

.drp-breadcrumb-sep { color: rgba(26,46,90,0.3); }

/* ── BURGER BUTTON ── */
.drp-burger {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.drp-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a2e5a;
  transition: all 0.3s ease;
  transform-origin: center;
}

.drp-burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.drp-burger.active span:nth-child(2) {
  opacity: 0;
}

.drp-burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── BURGER MENU DROPDOWN ── */
.drp-burger-menu {
  position: absolute;
  top: 61px;
  right: 40px;
  background: #ffffff;
  border: 0.5px solid rgba(26,46,90,0.15);
  min-width: 280px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(26,46,90,0.1);
}

.drp-burger-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drp-burger-nav {
  display: flex;
  flex-direction: column;
}

.drp-burger-link {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a2e5a;
  text-decoration: none;
  padding: 14px 24px;
  border-bottom: 0.5px solid rgba(26,46,90,0.1);
  transition: all 0.2s;
  display: block;
}

.drp-burger-link:last-child {
  border-bottom: none;
}

.drp-burger-link:hover {
  background: #f5f0e8;
  padding-left: 32px;
}

.drp-burger-link.active {
  color: rgba(26,46,90,0.4);
  pointer-events: none;
}

/* Bouton fermer */
.drp-close {
  width: 36px;
  height: 36px;
  border: 0.5px solid rgba(26,46,90,0.3);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #1a2e5a;
  font-size: 16px;
}

.drp-close:hover {
  background: #1a2e5a;
  color: #ffffff;
}

/* ── POPUP BODY 2 COLONNES ── */
.drp-popup-body {
  flex: 1;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

/* Colonne gauche texte */
.drp-popup-left {
  width: 45%;
  flex-shrink: 0;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

/* Colonne droite image */
.drp-popup-right {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.drp-popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── POPUP CONTENU ── */
.drp-loading {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26,46,90,0.4);
}

.drp-popup-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: #1a2e5a;
  line-height: 1.0;
  letter-spacing: -1px;
  margin-bottom: 30px;
}

.drp-popup-excerpt {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  color: rgba(26,46,90,0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Bouton Découvrir */
.drp-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: #1a2e5a;
  text-decoration: none;
  padding: 14px 28px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.drp-popup-btn:hover {
  background: rgba(26,46,90,0.8);
  gap: 18px;
}

/* ── POPUP FOOTER ── */
.drp-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-top: 0.5px solid rgba(26,46,90,0.15);
  background: #ffffff;
  flex-shrink: 0;
}

.drp-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a2e5a;
  background: transparent;
  border: 0.5px solid rgba(26,46,90,0.3);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.drp-nav-btn:hover {
  background: #1a2e5a;
  color: #ffffff;
}

.drp-nav-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ── POPUP MOBILE ── */
@media (max-width: 768px) {

  .drp-popup {
    width: 100% !important;
  }

  .drp-popup-header {
    padding: 16px 20px;
  }

  .drp-burger-menu {
    right: 20px;
    top: 53px;
    min-width: 240px;
  }

  .drp-popup-body {
    flex-direction: column !important;
    overflow-y: auto !important;
  }

  .drp-popup-left {
    width: 100% !important;
    padding: 40px 24px !important;
    order: 2;
  }

  .drp-popup-right {
    width: 100% !important;
    height: 45vh !important;
    flex-shrink: 0 !important;
    order: 1;
  }

  .drp-popup-title {
    font-size: 32px !important;
  }

  .drp-popup-footer {
    padding: 12px 20px;
  }
}

/* ── POPUP INNER ── */
.drp-popup-inner {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.drp-popup-inner .drp-popup-body {
  flex-shrink: 0;
  min-height: 60vh;
}

/* ── ENCART CONTENU COMPLET ── */
.drp-popup-fullcontent {
  width: 100%;
  background: #f5f0e8;
  border-top: 0.5px solid rgba(26,46,90,0.15);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
  opacity: 0;
  flex-shrink: 0;
}

/* max-height = valeur à modifier pour afficher plus de contenu en dekstop et mobile*/
.drp-popup-fullcontent.active {
  max-height: 29999px;
  opacity: 1;
}

.drp-fullcontent-inner {
  padding: 60px 80px;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.drp-fullcontent-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26,46,90,0.5);
  background: transparent;
  border: 0.5px solid rgba(26,46,90,0.25);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 40px;
}

.drp-fullcontent-close:hover {
  color: #1a2e5a;
  border-color: #1a2e5a;
}

.drp-fullcontent-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  color: rgba(26,46,90,0.8);
  line-height: 1.9;
}

.drp-fullcontent-text h1,
.drp-fullcontent-text h2,
.drp-fullcontent-text h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #1a2e5a;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 32px;
  line-height: 1.1;
}

.drp-fullcontent-text h2 { font-size: 32px; }
.drp-fullcontent-text h3 { font-size: 22px; }

.drp-fullcontent-text p { margin-bottom: 20px; }

.drp-fullcontent-text a {
  color: #1a2e5a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drp-fullcontent-text img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .drp-fullcontent-inner { padding: 40px 24px; }
  .drp-fullcontent-text { font-size: 14px; }
  .drp-fullcontent-text h2 { font-size: 24px; }
}

/* ── BARRE MENU PHOTO ACCUEIL ── */
.drp-photo-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(26, 46, 90, 0.1);
}

.drp-photo-bar-left {
  flex: 0 0 36px;
}

/* ── MENU HORIZONTAL CENTRÉ ── */
.drp-photo-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
}

.drp-photo-nav-link {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a2e5a;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.drp-photo-nav-link:hover {
  border-bottom-color: #1a2e5a;
}

.drp-photo-nav-link.active {
  border-bottom-color: #1a2e5a;
  opacity: 0.5;
  pointer-events: none;
}

/* ── BURGER DROITE ── */
.drp-photo-bar-right {
  position: relative;
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
}

.drp-photo-burger {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.drp-photo-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a2e5a;
  transition: all 0.3s ease;
  transform-origin: center;
}

.drp-photo-burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.drp-photo-burger.active span:nth-child(2) {
  opacity: 0;
}

.drp-photo-burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── DROPDOWN BURGER PHOTO ── */
.drp-photo-burger-menu {
  position: absolute;
  top: 46px;
  right: 0;
  background: #ffffff;
  border: 0.5px solid rgba(26, 46, 90, 0.15);
  min-width: 240px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(26, 46, 90, 0.1);
  display: flex;
  flex-direction: column;
}

.drp-photo-burger-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drp-photo-burger-link {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a2e5a;
  text-decoration: none;
  padding: 14px 24px;
  border-bottom: 0.5px solid rgba(26, 46, 90, 0.1);
  transition: all 0.2s;
  display: block;
  cursor: pointer;
}

.drp-photo-burger-link:last-child {
  border-bottom: none;
}

.drp-photo-burger-link:hover {
  background: #f5f0e8;
  padding-left: 32px;
}

.drp-photo-burger-link.active {
  color: rgba(26, 46, 90, 0.4);
  pointer-events: none;
}

/* ── LA COLONNE IMAGE DOIT ÊTRE EN POSITION RELATIVE ── */
.drp-right,
.drp-grid > .e-con:last-child {
  position: relative !important;
}

/* ── MOBILE : seulement le burger ── */
@media (max-width: 768px) {
  .drp-photo-nav {
    display: none !important;
  }

  .drp-photo-bar-left {
    display: none !important;
  }

  .drp-photo-bar {
    justify-content: flex-end !important;
    padding: 0 16px !important;
  }

  .drp-photo-burger-menu {
    min-width: 200px;
  }
}

/* ── WRAPPER WIDGET HTML ELEMENTOR ── */
.drp-photo-bar-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 0 !important;
  overflow: visible !important;
  z-index: 100 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── CORRECTION BARRE ── */
.drp-photo-bar {
  left: 0 !important;
  background: rgba(255, 255, 255, 0.0) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
}

.drp-photo-nav-link {
  color: #ffffff !important;
}

/* ── BURGER PHOTO COULEUR FIXE ── */
.drp-photo-burger span {
  background: #ffffff !important;
}

.drp-photo-burger:focus,
.drp-photo-burger:active {
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ── MOBILE : burger toujours visible ── */
@media (max-width: 768px) {
  .drp-photo-bar {
    justify-content: flex-end !important;
    padding: 0 16px !important;
    background: rgba(26, 46, 90, 0) !important;  /* ← couleur mobile */
  }

  .drp-photo-bar-right {
    display: flex !important;
  }

  .drp-photo-burger {
    display: flex !important;
  }

  .drp-photo-burger span {
    background: #1A2E5A !important;
  }
}
/* ── BURGER PHOTO CONTOUR ── */
.drp-photo-burger {
  border: 1.5px solid #ffffff !important;
  background: transparent !important;
}

.drp-grid > .e-con:last-child img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* ── IMAGE ACCUEIL REMPLIT TOUTE LA COLONNE (desktop uniquement) ── */
@media (min-width: 769px) {
  .drp-right img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* ── IMAGE ACCUEIL REMPLIT TOUTE LA COLONNE (mobile) ── */
@media (max-width: 768px) {
  .drp-right {
    position: sticky !important;
    top: auto !important;
    height: auto !important;
    align-self: stretch !important;
  }

  .drp-right img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* ── HARMONISATION TYPO : force police + taille sur le contenu collé ── */

/* Texte courant du contenu → Inter, taille harmonisée */
.drp-fullcontent-text,
.drp-fullcontent-text p,
.drp-fullcontent-text li,
.drp-fullcontent-text span {
  font-family: 'Inter', Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
}

/* Titres du contenu → Cormorant Garamond, tailles harmonisées */
.drp-fullcontent-text h1,
.drp-fullcontent-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 32px !important;
  line-height: 1.1 !important;
}

.drp-fullcontent-text h3 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

/* ── BLOC DATE AGENDA (Gutenberg) ── */
.drp-date-box {
  background: #1a2e5a;
  color: #ffffff;
  width: 62px;
  height: 62px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.drp-date-box .drp-date-day {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.drp-date-box .drp-date-month {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.drp-event-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a2e5a;
  margin: 0 0 4px;
}
.drp-event-place {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  color: rgba(26,46,90,0.7);
  margin: 0;
}
.drp-event-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

/* ── HARMONISER LE CENTRAGE GUTENBERG DANS LE POPUP ── */
/* Pour que le popup s'affiche comme l'URL directe */

.drp-fullcontent-text .has-text-align-center {
  text-align: center !important;
}

.drp-fullcontent-text .aligncenter {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.drp-fullcontent-text figure.aligncenter,
.drp-fullcontent-text .wp-block-image.aligncenter {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.drp-fullcontent-text figure.aligncenter img {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

/* ── LÉGENDES CENTRÉES EN URL DIRECTE (comme le popup) ── */
.drp-page-wrap figcaption,
.drp-page-wrap .wp-element-caption {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── FAQ ACCORDÉON (blocs Détails) ── */
.drp-faq {
  border: 1px solid rgba(26,46,90,0.12);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.25s ease;
}

.drp-faq[open] {
  box-shadow: 0 4px 20px rgba(26,46,90,0.08);
  border-color: rgba(26,46,90,0.25);
}

.drp-faq summary {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a2e5a;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 52px;
  transition: background 0.2s ease;
  text-wrap: pretty;
}

.drp-faq summary:hover {
  background: rgba(245,240,232,0.6);
}

/* Retire la flèche native */
.drp-faq summary::-webkit-details-marker { display: none; }
.drp-faq summary::marker { content: ""; }

/* Icône + / − à droite */
.drp-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #1a2e5a;
  transition: transform 0.25s ease;
}

.drp-faq[open] summary::after {
  content: "−";
}

.drp-faq[open] summary {
  border-bottom: 1px solid rgba(26,46,90,0.10);
}

/* Contenu de la réponse */
.drp-faq > p,
.drp-faq .wp-block-paragraph {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(26,46,90,0.8);
  padding: 18px 24px 20px;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .drp-faq summary {
    font-size: 13px;
    padding: 16px 48px 16px 18px;
    text-wrap: pretty;
  }
  .drp-faq > p,
  .drp-faq .wp-block-paragraph {
    font-size: 14px;
    padding: 16px 18px 18px;
  }
}

/* Enlever les marges par défaut du H1 titre sidebar */
h1.drp-site-title {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 768px) {
  h1.drp-site-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* H1 accueil : vrai texte lisible, affiché sur plusieurs lignes via CSS */
.drp-site-title-h1 {
  text-transform: uppercase;
}
.drp-site-title-h1 a {
  display: block;
  word-spacing: 9999px;  /* force chaque mot sur sa propre ligne */
  line-height: 1.1;
}