/*
Theme Name:  Graine de Vie
Theme URI:   https://grainedevie.ma
Author:      Graine de Vie
Author URI:  https://grainedevie.ma
Description: Thème premium pour le magazine de maternité Graine de Vie. Grossesse, parentalité et bien-être maternel au Maroc.
Version:     1.12.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: graine-de-vie
Tags:        magazine, blog, custom-colors, custom-menu, featured-images, rtl-language-support, translation-ready
*/

/* ============================================================
   Import fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1.8.3&display=swap');

@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/googlesans/v58/4UaGrENHsxJlGDuGo1OIlL3Owp4.woff2) format('woff2');
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 500;
  src: url(https://fonts.gstatic.com/s/googlesans/v58/4UabrENHsxJlGDuGo1OIlLU94Yt3CwZ-Pw.woff2) format('woff2');
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/googlesans/v58/4UabrENHsxJlGDuGo1OIlLV154t3CwZ-Pw.woff2) format('woff2');
}
/* ============================================================
   GRAINE DE VIE — Premium Theme v2
   ============================================================ */

:root {
  --green-dark:    #1B3A33;
  --green-mid:     #2D5247;
  --green-btn:     #24544C;
  --burgundy:      #DE5535;
  --burgundy-dark: #C1452A;
  --orange:        #D96B3A;
  --orange-card:   #C85A2A;
  --cream:         #F8F3EE;
  --cream-dark:    #EDE5D8;
  --white:         #FFFFFF;
  --text-dark:     #1A1A1A;
  --text-mid:      #4A4A4A;
  --text-light:    #888888;
  --border:        #E8E0D6;
  --font-heading:  'Montserrat', sans-serif;
  --font-serif:    'Montserrat', sans-serif;
  --font-sans:     'Google Sans', 'Roboto', system-ui, sans-serif;
  --radius:        10px;
  --radius-sm:     6px;
  --shadow:        0 2px 16px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.10);
  --transition:    0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Google Sans', 'Roboto', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.section-title, .media-title, .agenda-title,
.hero-title, .article-featured-title, .article-card-title,
.media-card-title, .podcast-ep-title, .podcast-featured-title,
.newsletter-card h3, .sidebar-card-title, .spotify-episode-title {
  font-family: 'Montserrat', sans-serif;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   HEADER
   ============================================================ */
/* Header is full-width; inner group is centered */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
/* All nav content in a centered tight group */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  height: 100%;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo img,
.site-logo .custom-logo {
  max-height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: block;
}
.gdv-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gdv-menu li {
  position: relative;
  margin: 0;
  padding: 10px 0;
}
.gdv-menu a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 6px 11px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.gdv-menu a:hover {
  color: var(--text-dark);
  background: var(--cream-light);
}
.gdv-menu .current-menu-item > a,
.gdv-menu .current-menu-parent > a,
.gdv-menu .current-menu-ancestor > a,
.gdv-menu a.active {
  color: var(--burgundy);
  font-weight: 700;
}
.gdv-menu .current-menu-item > a::before,
.gdv-menu .current-menu-parent > a::before,
.gdv-menu .current-menu-ancestor > a::before,
.gdv-menu a.active::before {
  content: '';
  position: absolute; bottom: -2px; left: 11px; right: 11px;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
}

/* Indicators for items with submenus */
.gdv-menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gdv-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.gdv-menu .menu-item-has-children:hover > a::after {
  transform: translateY(1px) rotate(225deg);
}

/* Dropdown list */
.gdv-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid #f0e8e0;
  border-radius: 12px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.gdv-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.gdv-menu .sub-menu li {
  width: 100%;
  padding: 0;
}
.gdv-menu .sub-menu a {
  display: block;
  padding: 8px 20px;
  color: var(--text-mid);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}
.gdv-menu .sub-menu a::after {
  display: none !important;
}
.gdv-menu .sub-menu a:hover {
  background: #faf7f4;
  color: var(--burgundy);
}
/* Actions sit immediately after the nav */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-search {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  color: var(--text-mid);
}
.btn-search:hover { background: var(--cream); color: var(--text-dark); }
.btn-search svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-subscribe {
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 99px;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-subscribe:hover { background: var(--burgundy-dark); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; }

/* ============================================================
   HERO — Full image with overlay
   ============================================================ */
.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #2A1F1A;
  max-width: 1100px; /* Aligné avec header-inner (1100px) */
  width: calc(100% - 48px);
  margin: 24px auto;
  border-radius: 20px;
}
/* Dans Elementor, le conteneur gère déjà la largeur : le slider doit le
   remplir entièrement, sinon il est 48px plus étroit que les blocs voisins. */
.elementor-widget-gdv_hero_slider .hero {
  max-width: none;
  width: 100%;
  margin: 0;
}
.hero-slides { display: flex; height: 100%; width: 100%; overflow: hidden; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.hero-slide {
  min-width: 100%; height: 100%;
  position: relative;
}
.hero-bg {
  position: absolute; inset: 0;
  object-fit: cover !important;
  width: 100% !important; height: 100% !important;
  transition: transform 8s ease;
}
.hero-slide:hover .hero-bg { transform: scale(1.03); }
/* Placeholder backgrounds when no image */
.hero-slide-1 .hero-placeholder { background: linear-gradient(145deg, #3D2B1F 0%, #6B4028 40%, #8B5E3C 100%); }
.hero-slide-2 .hero-placeholder { background: linear-gradient(145deg, #1B3A33 0%, #2D5247 50%, #3D6B58 100%); }
.hero-slide-3 .hero-placeholder { background: linear-gradient(145deg, #2A1F35 0%, #4A3550 50%, #6B5070 100%); }
.hero-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-placeholder svg { width: 80px; height: 80px; opacity: 0.15; fill: white; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 72px 48px 72px; /* 72px on sides prevents overlap with arrows */
  max-width: 680px;
}
.hero-tag {
  display: inline-block;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.0rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-subtitle {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 480px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 99px;
  transition: all var(--transition);
}
.btn-hero:hover { background: var(--cream); transform: translateX(2px); }
.btn-hero svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.hero-arrow:hover { background: var(--white); }
.hero-arrow svg { width: 16px; height: 16px; stroke: var(--text-dark); fill: none; stroke-width: 2; }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots {
  position: absolute; bottom: 20px; right: 48px;
  display: flex; gap: 6px; z-index: 10;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 99px;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all var(--transition);
}
.hero-dot.active { background: var(--white); width: 20px; }

/* ============================================================
   PAGE BODY — 2 cols: content + sidebar
   ============================================================ */
.page-body {
  max-width: 1100px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 10px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}
.section-link {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-btn);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border: 1.5px solid var(--green-btn);
  border-radius: 99px;
  background: transparent;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.section-link::after {
  content: '→';
  display: inline-block;
  font-size: 0.8rem;
  transition: transform var(--transition);
}
.section-link:hover {
  background: var(--green-btn);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(36, 84, 76, 0.15);
}
.section-link:hover::after {
  transform: translateX(3px);
}

/* Navigation entre articles */
.gdv-post-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--green-btn);
  border-radius: 99px;
  background: transparent;
  color: var(--green-btn);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  max-width: 100%;
}
.gdv-post-nav-link:hover {
  background: var(--green-btn);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(36, 84, 76, 0.15);
}
.gdv-post-nav-link .gdv-nav-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.gdv-post-nav-link-prev .gdv-nav-arrow {
  flex-shrink: 0;
  transition: transform var(--transition);
}
.gdv-post-nav-link-prev:hover .gdv-nav-arrow {
  transform: translateX(-3px);
}
.gdv-post-nav-link-next .gdv-nav-arrow {
  flex-shrink: 0;
  transition: transform var(--transition);
}
.gdv-post-nav-link-next:hover .gdv-nav-arrow {
  transform: translateX(3px);
}
@media (max-width: 768px) {
  .gdv-post-nav-container {
    flex-direction: column;
  }
  .gdv-post-nav-container > div {
    justify-content: center !important;
    text-align: center !important;
  }
  .gdv-post-nav-link .gdv-nav-text {
    -webkit-line-clamp: 3;
  }
}
/* ============================================================
   ARTICLES GRID — À la Une
   ============================================================ */
.articles-main { }

/* Featured article — full width at top */
.article-featured {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.article-featured-img {
  width: 220px;
  height: 160px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--cream-dark);
  flex-shrink: 0;
}
.article-featured-img-placeholder {
  width: 100%; height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #d5c8b8, #c0b4a2);
  flex-shrink: 0;
  position: relative;
}
.article-cat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.article-featured-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.article-featured:hover .article-featured-title { color: var(--burgundy); }
.article-featured-excerpt {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 10px;
}
.article-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem;
  color: var(--text-light);
}
.article-meta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.article-tag-pill {
  display: inline-block;
  background: #EAF3EF;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  transition: background var(--transition), color var(--transition);
}
.article-tag-pill:hover { background: var(--green-dark); color: var(--white); }

/* Small articles grid — 2 columns */
.articles-grid-small {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.article-card-small {
  cursor: pointer;
  transition: transform var(--transition);
}
.article-card-small:hover { transform: translateY(-2px); }
.article-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--cream-dark);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.article-card-img-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.article-card-img-placeholder > div {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #d5c8b8, #c0b4a2);
}
.article-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--green-btn);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.article-badge.badge-orange { background: var(--orange); }
.article-card-cat { font-size: 0.72rem; color: var(--text-light); margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.article-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 6px;
  transition: color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-card-small:hover .article-card-title { color: var(--burgundy); }
.article-card-excerpt { font-size: 0.78rem; color: var(--text-mid); line-height: 1.55; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 66px;
  box-sizing: border-box;
}
/* Page article : le haut de la sidebar s'aligne avec le haut de l'image
   (pas de décalage, contrairement à l'accueil où il compense l'en-tête
   "Derniers articles"). */
.single .sidebar {
  padding-top: 0;
}
/* Défilement intelligent (desktop) : .page-body a "align-items:start" en
   grid, donc la cellule de la sidebar reste aussi haute que la rangée
   (le contenu principal, plus long) — sticky natif dispose donc de la
   marge nécessaire pour coller en haut puis se libérer en bas de rangée.
   Le "top" est ajusté dynamiquement par main.js (Smart Sidebar Scroll) afin
   que le contenu plus haut que l'écran défile en entier (jamais de zone
   coupée/limitée en hauteur ici — voir main.js). */
@media (min-width: 992px) {
  .sidebar {
    position: sticky;
    top: 84px;
    align-self: start;
  }
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}
/* Ordinateur : cartes calées à 300px et collées au BORD DROIT de leur
   colonne (= bord droit du slider), pour aligner toute la sidebar à droite. */
@media (min-width: 992px) {
  .sidebar-card,
  .gdv-ad-widget-wrap,
  .sidebar-ad {
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}
/* Mobile / tablette : pleine largeur (alignées avec le slider et le contenu). */
@media (max-width: 991px) {
  .sidebar-card {
    max-width: none !important;
  }
}
.sidebar-card-title {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.sidebar-card-title svg { width: 18px; height: 18px; stroke: var(--green-btn); fill: none; stroke-width: 2; }
.sidebar-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.sidebar-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Google Sans', 'Roboto', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--cream);
  margin-bottom: 12px;
  transition: border-color var(--transition);
}
.sidebar-input:focus { outline: none; border-color: var(--green-btn); background: var(--white); }
.btn-calc {
  width: 100%;
  background: var(--green-btn);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.btn-calc:hover { background: #23593F; }
.calc-result-sidebar {
  margin-top: 10px;
  padding: 10px 12px;
  background: #EFF7F3;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green-btn);
  font-size: 0.82rem;
  color: var(--text-mid);
  display: none;
}
.calc-result-sidebar.show { display: block; }
.calc-result-sidebar strong { color: var(--green-btn); }

/* Ad placeholder */
.sidebar-ad {
  border-radius: var(--radius);
  overflow: hidden;
  width: 300px;
  height: 600px;
  max-width: 100%;
  background: linear-gradient(135deg, #f0e8dc, #e0d4c4);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  position: relative;
}
.sidebar-ad img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-ad-label {
  position: absolute; top: 8px; right: 8px;
  font-size: 0.65rem;
  color: var(--text-light);
  background: rgba(255,255,255,0.8);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sidebar-ad-placeholder {
  width: 300px;
  height: 600px;
  max-width: 100%;
  background: linear-gradient(135deg, #e8ddd0, #d5c8b8);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-ad-placeholder-small {
  width: 300px;
  height: 300px;
  max-width: 100%;
  background: linear-gradient(135deg, #e8ddd0, #d5c8b8);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-ad-small {
  width: 300px;
  height: 300px;
  max-width: 100%;
}
.sidebar-ad-placeholder svg { width: 40px; height: 40px; opacity: 0.2; fill: var(--text-mid); }

/* Experts */
.experts-list { display: flex; flex-direction: column; gap: 12px; }
.expert-item {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.expert-item:last-child { border-bottom: none; padding-bottom: 0; }
.expert-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cream-dark);
}
.expert-avatar-placeholder {
  width: 42px; height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.expert-avatar-placeholder svg { width: 42px; height: 42px; }
.expert-name { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); }
.expert-role { font-size: 0.75rem; color: var(--text-light); }
.experts-link {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-top: 12px;
  transition: opacity var(--transition);
}
.experts-link:hover { opacity: 0.75; }

/* ============================================================
   PODCASTS & VIDEOS
   ============================================================ */
.media-section {
  padding: 60px 0 20px;
}
.media-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--text-dark);
}
.media-title {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.media-title-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
}
.media-title-icon svg { width: 13px; height: 13px; fill: white; }
/* 1 grande vidéo + 4 petites en grille */
.media-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Grande vidéo — occupe toute la hauteur gauche */
.media-card-featured {
  grid-row: 1 / 3;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.media-card-featured .media-card-thumb {
  flex: 1;
  min-height: 320px;
}
.media-card-featured .media-card-title {
  font-size: 1.05rem;
}
.media-small-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.media-card { cursor: pointer; }

/* Thumb commun */
.media-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #2A2A2A;
  margin-bottom: 10px;
}
.media-card-featured .media-card-thumb { aspect-ratio: unset; border-radius: var(--radius); margin-bottom: 12px; }
.media-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.media-card:hover .media-card-thumb img,
.media-card-featured:hover .media-card-thumb img { transform: scale(1.04); }

.media-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.media-placeholder-1 { background: linear-gradient(135deg, #8B4513, #C87941); }
.media-placeholder-2 { background: linear-gradient(135deg, #2D5247, #4A8A76); }
.media-placeholder-3 { background: linear-gradient(135deg, #5A4020, #8B6830); }
.media-placeholder-4 { background: linear-gradient(135deg, #3A2D50, #6A5080); }
.media-placeholder-5 { background: linear-gradient(135deg, #1A3A3A, #2A6060); }
.media-placeholder svg { width: 40px; height: 40px; opacity: 0.3; fill: white; }

.media-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.22);
  transition: background var(--transition);
}
.media-card:hover .media-play-overlay,
.media-card-featured:hover .media-play-overlay { background: rgba(0,0,0,0.35); }

.btn-media-play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
}
/* Bouton plus grand sur la featured */
.media-card-featured .btn-media-play { width: 58px; height: 58px; }
.media-card-featured .btn-media-play svg { width: 20px; height: 20px; }

.media-card:hover .btn-media-play,
.media-card-featured:hover .btn-media-play { transform: scale(1.08); }
.btn-media-play svg { width: 16px; height: 16px; fill: var(--text-dark); margin-left: 2px; }

.media-duration {
  position: absolute; bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.media-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  transition: color var(--transition);
}
.media-card:hover .media-card-title,
.media-card-featured:hover .media-card-title { color: var(--burgundy); }

/* ============================================================
   PODCAST SECTION
   ============================================================ */
.podcast-section {
  padding: 40px 0 20px;
}
.podcast-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Lecteur Spotify principal */
.podcast-featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.spotify-player {
  border-radius: var(--radius);
  overflow: hidden;
  background: #121212;
  flex: 1;
  min-height: 352px;
  position: relative;
}
.spotify-player iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  min-height: 352px;
}
/* Placeholder si pas d'iframe */
.spotify-placeholder {
  width: 100%; height: 100%;
  min-height: 352px;
  background: #121212;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.spotify-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #1a1a1a 0%, #121212 100%);
}
.spotify-top {
  position: relative;
  display: flex; align-items: center; gap: 16px;
}
.spotify-cover {
  width: 80px; height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--burgundy), #C87941);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.spotify-cover svg { width: 32px; height: 32px; fill: rgba(255,255,255,0.8); }
.spotify-info { flex: 1; }
.spotify-show {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1DB954;
  margin-bottom: 4px;
}
.spotify-episode-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 4px;
}
.spotify-episode-sub { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.spotify-logo {
  position: relative;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 6px;
}
.spotify-logo svg { width: 20px; height: 20px; fill: #1DB954; }
.spotify-logo span { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.4); }
.spotify-waveform {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  margin-top: auto;
}
.spotify-controls {
  display: flex; align-items: center; gap: 12px;
}
.spotify-btn-prev, .spotify-btn-next {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
}
.spotify-btn-prev svg, .spotify-btn-next svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 2;
}
.spotify-btn-play {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1DB954;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), background var(--transition);
  cursor: pointer;
}
.spotify-btn-play:hover { background: #1ed760; transform: scale(1.05); }
.spotify-btn-play svg { width: 16px; height: 16px; fill: #000; margin-left: 2px; }
.spotify-progress-wrap {
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.spotify-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.spotify-progress-fill {
  height: 100%;
  width: 38%;
  background: #1DB954;
  border-radius: 2px;
  position: relative;
}
.spotify-progress-fill::after {
  content: '';
  position: absolute; right: -5px; top: -4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}
.spotify-progress-bar:hover .spotify-progress-fill::after { opacity: 1; }
.spotify-times {
  display: flex; justify-content: space-between;
  font-size: 0.68rem; color: rgba(255,255,255,0.4);
}
.podcast-featured-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  transition: color var(--transition);
}
.podcast-featured-link:hover .podcast-featured-title { color: var(--burgundy); }

.podcast-small-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.podcast-ep-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition);
}
.podcast-ep-card:hover {
  border-color: #1DB954;
  box-shadow: 0 2px 12px rgba(29,1.8.34,0.1);
  transform: translateY(-1px);
}
.podcast-ep-cover {
  width: 52px; height: 52px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.podcast-ep-cover-1 { background: linear-gradient(135deg, #8B4513, #C87941); }
.podcast-ep-cover-2 { background: linear-gradient(135deg, #2D5247, #4A8A76); }
.podcast-ep-cover-3 { background: linear-gradient(135deg, #3A2D50, #6A5080); }
.podcast-ep-cover-4 { background: linear-gradient(135deg, #1A3A3A, #2A6060); }
.podcast-ep-cover svg { width: 20px; height: 20px; fill: rgba(255,255,255,0.7); }
.podcast-ep-info { flex: 1; min-width: 0; }
.podcast-ep-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1DB954;
  margin-bottom: 3px;
}
.podcast-ep-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.podcast-ep-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; color: var(--text-light);
}
.podcast-ep-meta svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
.podcast-ep-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.podcast-ep-card:hover .podcast-ep-play { background: #1DB954; transform: translate(-50%, -50%) scale(1.1); }
.podcast-ep-card:hover .podcast-ep-play svg { fill: #fff; }
.podcast-ep-play svg { width: 10px; height: 10px; fill: var(--text-dark); margin-left: 2px; }

@media (max-width: 1024px) {
  .podcast-grid { grid-template-columns: 1fr; }
  .podcast-small-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .podcast-small-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BOTTOM SECTION — Newsletter + Agenda
   ============================================================ */
.bottom-section {
  max-width: 1100px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 0 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Newsletter Card */
.newsletter-card {
  background: var(--orange-card);
  border-radius: var(--radius);
  padding: 36px 32px;
  color: var(--white);
}
.site-footer .newsletter-card {
  background: transparent;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.newsletter-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin-bottom: 24px;
}
.newsletter-form-inline {
  display: flex;
  gap: 0;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.newsletter-form-inline input {
  flex: 1;
  padding: 13px 20px;
  border: none;
  font-family: 'Google Sans', 'Roboto', system-ui, sans-serif;
  font-size: 0.85rem;
  outline: none;
  color: var(--text-dark);
}
.newsletter-form-inline input::placeholder { color: var(--text-light); }
.btn-join {
  background: var(--white);
  color: var(--orange-card);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 13px 20px;
  white-space: nowrap;
  transition: background var(--transition);
}
.btn-join:hover { background: var(--cream); }

/* Agenda */
.agenda-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.agenda-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.agenda-list { display: flex; flex-direction: column; gap: 0; }
.agenda-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.agenda-item:last-child { border-bottom: none; }
.agenda-item:hover { background: var(--cream); padding-left: 8px; }
.agenda-date {
  width: 44px;
  flex-shrink: 0;
  text-align: center;
  background: var(--burgundy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px 4px;
}
.agenda-month { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; display: block; opacity: 0.85; }
.agenda-day { font-size: 1.3rem; font-weight: 800; line-height: 1; display: block; }
.agenda-info { flex: 1; }
.agenda-event-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  transition: color var(--transition);
}
.agenda-item:hover .agenda-event-name { color: var(--burgundy); }
.agenda-location {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.75rem;
  color: var(--text-light);
}
.agenda-location svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================================
   NEWSLETTER CTA — full width, sous Agenda (homepage)
   ============================================================ */
.gdv-newsletter-cta {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.gdv-newsletter-cta-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  box-shadow: var(--shadow-md);
}
/* glassmorphism accent shapes */
.gdv-newsletter-cta-inner::before,
.gdv-newsletter-cta-inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.gdv-newsletter-cta-inner::before { width: 260px; height: 260px; top: -120px; right: -80px; }
.gdv-newsletter-cta-inner::after  { width: 180px; height: 180px; bottom: -100px; left: -60px; background: rgba(222,85,53,0.15); }

.gdv-newsletter-cta-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--burgundy);
  box-shadow: 0 8px 24px rgba(222,85,53,0.35);
}
.gdv-newsletter-cta-title {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
  line-height: 1.25;
}
.gdv-newsletter-cta-text {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.gdv-newsletter-cta-form {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
}
.gdv-newsletter-input-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.gdv-newsletter-input-group input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 18px;
  border: none;
  border-radius: 99px;
  font-family: 'Google Sans', 'Roboto', system-ui, sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
}
.gdv-newsletter-input-group input[type="email"]::placeholder { color: var(--text-light); }
.gdv-newsletter-input-group button {
  flex: 0 0 auto;
  padding: 13px 28px;
  border: none;
  border-radius: 99px;
  background: var(--burgundy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.gdv-newsletter-input-group button:hover:not(:disabled) { background: var(--burgundy-dark); transform: translateY(-1px); }
.gdv-newsletter-input-group button:disabled { opacity: 0.6; cursor: default; }

.gdv-newsletter-msg {
  margin: 12px 0 0;
  font-size: 0.82rem;
  min-height: 1.2em;
  color: rgba(255,255,255,0.8);
}
.gdv-newsletter-msg.is-success { color: #B7F0C4; font-weight: 600; }
.gdv-newsletter-msg.is-error   { color: #FFD9CF; font-weight: 600; }

@media (max-width: 640px) {
  .gdv-newsletter-cta { padding: 0 16px; margin-bottom: 40px; }
  .gdv-newsletter-cta-inner { padding: 40px 20px; border-radius: 16px; }
  .gdv-newsletter-cta-title { font-size: 1.3rem; }
  .gdv-newsletter-cta-text { font-size: 0.88rem; margin-bottom: 22px; }
  .gdv-newsletter-input-group { flex-direction: column; }
  .gdv-newsletter-input-group button { width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
:root { --footer-bg: #1B3A33; }

.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.88);
  position: relative;
  overflow: hidden;
}

/* Decorative wave at top */
.footer-divider {
  display: block;
  height: 56px;
  margin-bottom: -2px;
}
.footer-divider svg { width: 100%; height: 100%; display: block; }

/* Subtle background texture */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(1.8.330,90,0.07) 0%, transparent 60%),
              radial-gradient(ellipse 60% 60% at 0% 100%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* ── INNER GRID ── */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: calc(100% - 64px);
  margin: 0 auto;
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

/* ── COLUMN BASE ── */
.footer-col { display: flex; flex-direction: column; gap: 0; }

/* COL 1 — Brand */
.footer-col--brand { gap: 20px; }

.footer-logo-link { display: inline-block; }
.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.footer-brand-name:hover { color: var(--cream); }
.footer-tagline {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 240px;
  margin: 0;
}

/* Social buttons */
.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, transform 0.18s;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-social-btn svg {
  width: 17px; height: 17px;
  stroke: currentColor; fill: none;
  stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.footer-social-btn:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  transform: translateY(-2px);
}
/* Platform accent colors on hover */
.footer-social-btn--instagram:hover  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.footer-social-btn--facebook:hover   { background: #1877f2; border-color: transparent; }
.footer-social-btn--youtube:hover    { background: #ff0000; border-color: transparent; }
.footer-social-btn--spotify:hover    { background: #1db954; border-color: transparent; }
.footer-social-btn--pinterest:hover  { background: #e60023; border-color: transparent; }
.footer-social-btn--tiktok:hover     { background: #000; border-color: transparent; }
.footer-social-btn--twitter:hover    { background: #1da1f2; border-color: transparent; }
.footer-social-btn--linkedin:hover   { background: #0077b5; border-color: transparent; }
.footer-social-btn--snapchat:hover   { background: #fffc00; color: #000 !important; border-color: transparent; }
.footer-social-btn--whatsapp:hover   { background: #25d366; border-color: transparent; }
.footer-social-btn--telegram:hover   { background: #0088cc; border-color: transparent; }
.footer-social-btn--discord:hover    { background: #5865f2; border-color: transparent; }
.footer-social-btn--twitch:hover     { background: #9146ff; border-color: transparent; }
.footer-social-btn--github:hover     { background: #24292e; border-color: transparent; }
.footer-social-btn--behance:hover    { background: #1769ff; border-color: transparent; }
.footer-social-btn--dribbble:hover   { background: #ea4c89; border-color: transparent; }
.footer-social-btn--soundcloud:hover { background: #ff5500; border-color: transparent; }
.footer-social-btn--vimeo:hover      { background: #1ab7ea; border-color: transparent; }
.footer-social-btn--reddit:hover     { background: #ff4500; border-color: transparent; }
.footer-social-btn--threads:hover    { background: #000000; border-color: transparent; }
.footer-social-btn--bluesky:hover    { background: #0285FF; border-color: transparent; }
.footer-social-btn--substack:hover   { background: #ff6719; border-color: transparent; }
.footer-social-btn--medium:hover     { background: #00ab6c; border-color: transparent; }
.footer-social-btn--mastodon:hover   { background: #6364ff; border-color: transparent; }
.footer-social-btn--podcast:hover    { background: #872ec4; border-color: transparent; }
.footer-social-btn--default:hover    { background: var(--burgundy, #8B2635); border-color: transparent; }


/* ── COL TITLES ── */
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream, #E8DDD0);
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ── NAV LISTS ── */
.footer-nav-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.footer-nav-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s, gap 0.2s;
  line-height: 1.4;
}
.footer-nav-list li a:hover { color: var(--white); gap: 12px; }
.footer-nav-arrow {
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-4px);
  display: inline-block;
}
.footer-nav-list li a:hover .footer-nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── NEWSLETTER COL ── */
.footer-col--newsletter { gap: 0; }
.footer-newsletter-text {
  font-size: 0.83rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin: 0 0 20px;
}
.footer-newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.footer-newsletter-field {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s;
}
.footer-newsletter-field:focus-within { border-color: rgba(255,255,255,0.35); }
.footer-newsletter-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--white);
  font-family: inherit;
}
.footer-newsletter-field input::placeholder { color: rgba(255,255,255,0.38); }
.footer-newsletter-field button {
  background: var(--cream, #E8DDD0);
  color: var(--footer-bg);
  border: none;
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: 0.03em;
}
.footer-newsletter-field button:hover { background: var(--white); }
.footer-newsletter-privacy {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.38);
  margin: 0;
  line-height: 1.5;
}
/* Message de retour AJAX du petit formulaire (fond sombre du footer) */
.footer-newsletter-form .gdv-newsletter-msg {
  font-size: 0.8rem;
  margin: 0;
  min-height: 0;
}
.footer-newsletter-form .gdv-newsletter-msg.is-success { color: #9fd8b0; }
.footer-newsletter-form .gdv-newsletter-msg.is-error   { color: #f2a49a; }

/* ── BOTTOM BAR ── */
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.footer-bottom-inner {
  max-width: 1200px;
  width: calc(100% - 64px);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.footer-copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.40);
}
.footer-copy strong { color: rgba(255,255,255,0.55); font-weight: 600; }
.footer-copy a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-copy a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links a,
.footer-bottom-links li a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: color 0.2s;
  list-style: none;
}
.footer-bottom-links a:hover,
.footer-bottom-links li a:hover { color: rgba(255,255,255,0.75); }
/* WP nav ul/li reset inside footer-bottom-links */
.footer-bottom-links ul { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }



/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.45);
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0;
  width: 75%; max-width: 300px; height: 100%;
  background: var(--white);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
  animation: slideIn 0.28s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-nav-close {
  align-self: flex-end; margin-bottom: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
}
.mobile-nav-close svg { width: 14px; height: 14px; stroke: var(--text-dark); fill: none; stroke-width: 2; }
.mobile-nav-panel .gdv-menu {
  display: block;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-panel .gdv-menu > li {
  width: 100%;
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-panel .gdv-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 0;
  transition: color var(--transition);
  text-decoration: none;
}
.mobile-nav-panel .gdv-menu a:hover {
  color: var(--burgundy);
}
.mobile-nav-panel .gdv-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.mobile-nav-panel .gdv-menu .menu-item-has-children > a.expanded::after {
  transform: translateY(1px) rotate(225deg);
}
.mobile-nav-panel .gdv-menu .sub-menu {
  position: static !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 5px 0 5px 20px !important;
  margin: 0 !important;
  list-style: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: none;
}
.mobile-nav-panel .gdv-menu .sub-menu li {
  border: none !important;
}
.mobile-nav-panel .gdv-menu .sub-menu a {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 6px 0;
}
.mobile-nav-panel .gdv-menu .sub-menu a:hover {
  color: var(--burgundy) !important;
}
.mobile-subscribe {
  margin-top: 16px;
  background: var(--burgundy);
  color: var(--white);
  font-weight: 700;
  padding: 12px;
  border-radius: 99px;
  text-align: center;
  font-size: 0.9rem;
}

/* ============================================================
   ANIMATE ON SCROLL
   ============================================================ */
.anim { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
/* Éditeur Elementor : les éléments .anim re-rendus en AJAX ne sont jamais
   observés par l'IntersectionObserver de main.js (lié au chargement initial),
   donc ils resteraient invisibles (opacity:0) — on force leur affichage. */
body.elementor-editor-active .anim {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .page-body { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 0; padding-top: 0; }
  .media-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .site-header { padding: 0 16px; }
  .main-nav, .nav-actions .btn-subscribe { display: none; }
  .nav-actions { margin-left: auto; }
  .burger { display: flex; margin-left: 12px; }
  /* Ratio 16/9 (= format des images à la une) : la photo s'affiche en
     entier sans être rognée sur les côtés comme avec une hauteur fixe. */
  .hero { height: auto; aspect-ratio: 16 / 9; width: calc(100% - 32px); margin: 16px auto; border-radius: 12px; }
  .hero-bg { object-position: center top; }
  .hero-arrow { display: none; }
  .hero-content { padding: 14px 16px; }
  .hero-tag { font-size: 0.6rem; padding: 2px 8px; margin-bottom: 6px; }
  .hero-title { font-size: 0.95rem; line-height: 1.25; margin-bottom: 6px; -webkit-line-clamp: 2; }
  .hero-subtitle { display: none; } /* trop à l'étroit sur la hauteur 16/9 en mobile */
  .btn-hero { padding: 6px 14px; font-size: 0.72rem; }
  .btn-hero svg { width: 11px; height: 11px; }
  .hero-dots { bottom: 14px; right: 18px; }
  .gdv-latest-posts-container .article-meta { display: none !important; }
  .page-body { width: calc(100% - 32px); padding: 24px 0; grid-template-columns: minmax(0, 1fr); }
  .article-featured-img-placeholder { height: auto !important; aspect-ratio: 16 / 10 !important; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .media-section { padding: 40px 0 20px; }
  .bottom-section { width: calc(100% - 32px); padding: 0 0 40px; grid-template-columns: minmax(0, 1fr); }
  .media-grid { grid-template-columns: minmax(0, 1fr); }
  .media-card-featured { grid-row: unset; }
  .media-card-featured .media-card-thumb { min-height: unset; aspect-ratio: 16/9; }
  .media-small-grid { grid-template-columns: minmax(0, 1fr); }
  /* Footer responsive */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 0 40px; width: calc(100% - 40px); }
  .footer-bottom-inner { width: calc(100% - 40px); }
  
  /* Footer Mobile Centering & Accordions */
  .footer-col {
    text-align: center;
    align-items: center;
  }
  .footer-col--brand {
    align-items: center;
    text-align: center;
  }
  .footer-col--brand .footer-tagline {
    margin: 0 auto;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-col--nav {
    width: 100%;
  }
  .footer-col--nav .footer-col-title {
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: block;
    width: 100%;
    text-align: center;
  }
  .footer-col--nav .footer-col-title::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
  }
  .footer-col--nav.active .footer-col-title::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .footer-col--nav .footer-nav-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding-top: 0;
    align-items: center;
  }
  .footer-col--nav.active .footer-nav-list {
    max-height: 500px;
    padding-top: 8px;
  }
  .footer-nav-list li a {
    justify-content: center;
  }
  .footer-nav-list li a:hover {
    gap: 8px; /* Disable dynamic gap shift on mobile hover */
  }
  .footer-nav-arrow {
    display: none !important; /* Hide arrows on mobile */
  }
  .footer-col--newsletter {
    align-items: center;
    text-align: center;
  }
  .footer-newsletter-text {
    text-align: center;
  }
}
@media (max-width: 480px) {
  .articles-grid-small { grid-template-columns: minmax(0, 1fr); }
  .newsletter-form-inline { flex-direction: column; border-radius: var(--radius-sm); }
  .newsletter-form-inline input, .btn-join { border-radius: 0; }
  /* Footer mobile: single column */
  .footer-inner { grid-template-columns: 1fr; gap: 16px; padding: 36px 0 28px; width: calc(100% - 32px); }
  .footer-bottom-inner { width: calc(100% - 32px); }
  .footer-col--brand .footer-tagline { max-width: 100%; }
}

/* Elementor default alignment fix */
.elementor-page .site-header {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  position: sticky !important;
}
.elementor-page .site-header .header-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  height: 100% !important;
}


/* ============================================================
   GLOBAL IMAGE FITTING & TITLE TRUNCATION OVERRIDES
   ============================================================ */
.article-featured-img-placeholder,
.article-card-img-placeholder,
.media-card-thumb {
  overflow: hidden !important;
}

.article-featured-img-placeholder img,
.article-card-img-placeholder img,
.media-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Parent cards horizontal constraint protection */
.article-featured,
.article-card-small,
.media-card-featured,
.media-card,
.podcast-featured,
.podcast-ep-card,
.gdv-calculator-card,
.sidebar-card,
.experts-card {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Force titles to be on a single line and truncated if they overflow */
.hero-title,
.article-featured-title,
.article-card-title,
.media-card-title,
.podcast-ep-title,
.podcast-featured-title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  -webkit-line-clamp: unset !important;
}

/* Titre de la PAGE article (h1) : jamais tronqué, s'affiche en entier sur
   plusieurs lignes (l'ellipsis ci-dessus ne concerne que les cartes/listes). */
.gdv-single-title {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: block !important;
}

/* Nom de l'auteur cliquable */
.gdv-author-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.gdv-author-link:hover { color: var(--burgundy); text-decoration: underline; }

/* ============================================================
   PREGNANCY CALCULATOR (GDV CUSTOM)
   ============================================================ */
.gdv-calculator-card {
  /* Inherits from .sidebar-card, keeping only custom margins if needed */
}
.gdv-calc-field-row {
  margin-bottom: 12px;
}
.gdv-calc-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.gdv-calc-input,
.gdv-calc-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Google Sans', 'Roboto', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--cream);
  margin-bottom: 4px;
  box-sizing: border-box;
  transition: border-color var(--transition), background-color var(--transition);
}
.gdv-calc-input:focus,
.gdv-calc-select:focus {
  outline: none;
  border-color: var(--green-btn);
  background: var(--white);
}
.gdv-calc-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1.8.3 5-5%27 stroke=%27%23495057%27 stroke-width=%271.5.57 fill=%27none%27/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}
.gdv-calc-help-text {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-light);
  margin-top: 4px;
}
.gdv-calc-help-text em {
  font-style: italic;
}
.gdv-calc-btn-submit {
  width: 100%;
  background: var(--green-btn);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
  margin-top: 10px;
}
.gdv-calc-btn-submit:hover {
  background: #23593F;
}
.gdv-calc-btn-submit:active {
  transform: scale(0.98);
}
.gdv-calc-btn-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.gdv-calc-result-box {
  margin-top: 15px;
  padding: 12px 14px;
  background: #EFF7F3;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green-btn);
  font-size: 0.82rem;
  color: var(--text-mid);
  animation: gdvFadeIn 0.3s ease;
}
.gdv-calc-result-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.gdv-calc-result-label {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
}
.gdv-calc-result-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--green-btn);
  text-align: right;
}
.gdv-calc-disclaimer {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-light);
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
@keyframes gdvFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Visibility options for calculator */
@media (min-width: 769px) {
  .gdv-hide-calc-desktop {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .gdv-hide-calc-mobile {
    display: none !important;
  }
}

/* ============================================================
   AJAX SEARCH OVERLAY (FULL SCREEN)
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10vh 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.search-close:hover {
  background: var(--burgundy);
  transform: rotate(90deg);
}
.search-close:hover svg {
  stroke: var(--white);
}
.search-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-dark);
  stroke-width: 2px;
  fill: none;
}
.search-overlay-content {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  box-sizing: border-box;
}
.search-form-overlay {
  margin-bottom: 40px;
}
.search-input-wrapper {
  position: relative;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 99px;
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--white);
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.search-input-wrapper:focus-within {
  border-color: var(--burgundy);
  box-shadow: 0 8px 25px rgba(222, 85, 53, 0.15);
}
.search-field-overlay {
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  padding: 0 50px 0 0;
}
.search-field-overlay::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.search-field-overlay::placeholder {
  color: #cbc3b7;
}
.search-submit-overlay {
  position: absolute;
  right: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-submit-overlay svg {
  width: 24px;
  height: 24px;
  stroke: var(--burgundy);
  stroke-width: 2.5px;
  fill: none;
  transition: transform var(--transition);
}
.search-submit-overlay:hover svg {
  transform: scale(1.1);
}

/* AJAX results display */
.search-results-container {
  margin-top: 20px;
  animation: gdvFadeIn 0.3s ease;
}
.search-no-results {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  padding: 40px 0;
}
.ajax-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  margin: 0 auto;
}
.ajax-search-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  align-items: center;
  transition: all var(--transition);
}
.ajax-search-item:hover {
  border-color: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.ajax-search-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ajax-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ajax-search-placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--cream);
}
.ajax-search-placeholder-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--burgundy);
  stroke-width: 2px;
  fill: none;
}
.ajax-search-meta {
  flex-grow: 1;
  min-width: 0;
}
.ajax-search-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.ajax-search-badge.type-post { background: var(--cream); color: var(--text-dark); }
.ajax-search-badge.type-video { background: #fee2e2; color: #ef4444; }
.ajax-search-badge.type-podcast { background: #dcfce7; color: #15803d; }
.ajax-search-badge.type-page { background: #e0f2fe; color: #0369a1; }

.ajax-search-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .search-overlay {
    padding: 8vh 16px 20px;
  }
  .search-close {
    top: 20px;
    right: 20px;
  }
  .search-field-overlay {
    font-size: 1.6rem;
  }
}

@keyframes gdvSpin {
  to { transform: rotate(360deg); }
}

/* Visibility options for latest posts */
@media (min-width: 769px) {
  .gdv-hide-latest-desktop {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .gdv-hide-latest-mobile {
    display: none !important;
  }
}

/* ============================================================
   PAGE VIDÉOS & LECTEUR POPUP (LIGHTBOX)
   ============================================================ */
.gdv-videos-page {
  padding: 0 0 60px;
}

/* Hero */
.gdv-videos-hero {
  background: linear-gradient(135deg, #25544c 0%, #1a3d38 55%, #0f2724 100%);
  padding: 64px 0 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.gdv-videos-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(221, 85, 53, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.gdv-videos-hero-inner {
  text-align: center;
  padding-bottom: 0;
}

.gdv-videos-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(221, 85, 53, 0.15);
  color: #f4a58a;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(221, 85, 53, 0.25);
}

.gdv-videos-hero-eyebrow svg {
  width: 14px;
  height: 14px;
  fill: #f4a58a;
}

.gdv-videos-hero-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.15;
}

.gdv-videos-hero-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.gdv-videos-content {
  padding-top: 0;
}

.gdv-video-tabs-container {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 0;
}
.gdv-video-tabs-container::-webkit-scrollbar {
  display: none;
}

/* The pill bar sits in the hero, so give it glass styling */
.gdv-videos-hero .gdv-video-tabs-container {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 20px;
}

.gdv-video-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: transparent;
  border-radius: 50px;
}

.gdv-video-tab {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 9px 20px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gdv-video-tab:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}

.gdv-video-tab.active {
  color: #ffffff;
  background: #dd5535;
  border-color: #dd5535;
  box-shadow: 0 4px 16px rgba(221, 85, 53, 0.4);
}

.gdv-tab-count {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1;
  transition: all 0.25s ease;
}

.gdv-video-tab:hover .gdv-tab-count {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
}

.gdv-video-tab.active .gdv-tab-count {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}

/* ── Global WordPress Pagination (paginate_links) ── */
.nav-links,
.gdv-experts-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 48px;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #1B3A33;
  background: #fff;
  border: 1.5px solid #dde8e4;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}
.page-numbers:hover {
  background: #1B3A33;
  color: #fff;
  border-color: #1B3A33;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,58,51,0.2);
}
.page-numbers.current {
  background: #1B3A33;
  color: #fff;
  border-color: #1B3A33;
  box-shadow: 0 4px 12px rgba(27,58,51,0.2);
}
.page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: #889990;
  cursor: default;
  pointer-events: none;
}
.page-numbers.prev,
.page-numbers.next {
  padding: 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* Pagination Dynamique (JS) */

.gdv-pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.gdv-pagination-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e2ebd5;
  background: #ffffff;
  color: #25544c;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.gdv-pagination-btn:hover {
  border-color: #dd5535;
  color: #dd5535;
}

.gdv-pagination-btn.active {
  background: #dd5535;
  color: #ffffff;
  border-color: #dd5535;
  box-shadow: 0 4px 10px rgba(221, 85, 53, 0.25);
}

.gdv-pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Grille de Vidéos */
.gdv-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 36px auto 0;
  max-width: 1080px; /* Limite la largeur maximale globale de la grille pour ne pas prendre tout l'écran */
  width: 100%;
  transition: opacity 0.3s ease;
}

@media (max-width: 991px) {
  .gdv-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 720px;
  }
}
@media (max-width: 600px) {
  .gdv-videos-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 360px; /* Centré et largeur de carte idéale sur mobile */
  }
}

/* Empty state */
.gdv-videos-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #889990;
}
.gdv-videos-empty svg {
  margin-bottom: 16px;
  opacity: 0.5;
}
.gdv-videos-empty p {
  font-size: 1.1rem;
  margin: 0;
}

/* Placeholder when no image */
.gdv-video-card-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8f0ec, #d0ddd7);
}

/* Carte Vidéo */
.gdv-video-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(37, 84, 76, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gdv-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(37, 84, 76, 0.12);
}

.gdv-video-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
  overflow: hidden;
}

.gdv-video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  font-family: 'Quicksand', sans-serif;
}

.gdv-video-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gdv-video-card:hover .gdv-video-card-thumb img {
  transform: scale(1.05);
}

.gdv-video-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 84, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gdv-video-card:hover .gdv-video-card-overlay {
  opacity: 1;
}

.gdv-video-card-play-btn {
  width: 54px;
  height: 54px;
  background: #dd5535;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(221, 85, 53, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gdv-video-card-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  margin-left: 2px;
}

.gdv-video-card:hover .gdv-video-card-play-btn {
  transform: scale(1);
}

.gdv-video-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gdv-video-card-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e4038;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gdv-video-card-title a {
  color: inherit;
  text-decoration: none;
}
.gdv-video-card-title a:hover {
  color: #dd5535;
}

/* Badge catégorie sur image */
.gdv-video-img-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  background: rgba(37, 84, 76, 0.8);
  backdrop-filter: blur(4px);
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Infos Expert Associé (footer de la carte) */
.gdv-video-card-expert-link {
  text-decoration: none !important;
  margin-top: auto;
}
.gdv-video-card-expert {
  border-top: 1px solid #f0f4f1;
  padding-top: 10px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gdv-video-card-expert-link:hover .gdv-video-card-expert {
  border-top-color: #dd5535;
}

.gdv-video-card-expert-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #fafafa;
  flex-shrink: 0;
  border: 2px solid #e8f0ec;
}

.gdv-video-card-expert-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #25544c;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gdv-video-card-expert-link:hover .gdv-video-card-expert-name {
  color: #dd5535;
}

/* Lightbox Lecteur Popup */
.gdv-video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 30, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gdv-video-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.gdv-video-lightbox-content {
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16/9;
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.gdv-video-lightbox.active .gdv-video-lightbox-content {
  transform: scale(1);
}

.gdv-video-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.gdv-video-lightbox-close:hover {
  color: #dd5535;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gdv-video-lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    z-index: 10;
  }
}

.gdv-video-lightbox-iframe-wrapper {
  width: 100%;
  height: 100%;
}

.gdv-video-lightbox-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   RESPONSIVE — Page Vidéos (Hero + Grille)
   ============================================================ */
@media (max-width: 768px) {
  .gdv-videos-hero {
    padding: 40px 0 0;
  }
  .gdv-videos-hero-title {
    font-size: 2rem;
  }
  .gdv-videos-hero-desc {
    font-size: 0.95rem;
  }
  .gdv-videos-hero .gdv-video-tabs-container {
    padding: 10px 12px;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .gdv-video-tab {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 540px) {
  .gdv-videos-hero-title {
    font-size: 1.6rem;
  }
  .gdv-videos-hero-desc {
    display: none;
  }
  .gdv-video-card-body {
    padding: 8px 10px 10px;
  }
  .gdv-video-card-title {
    font-size: 0.8rem;
  }
  .gdv-video-card-expert-name {
    font-size: 0.72rem;
  }
  .gdv-video-card-expert-img {
    width: 22px;
    height: 22px;
  }
  .gdv-video-img-badge {
    font-size: 0.6rem;
    padding: 2px 7px;
  }
  .gdv-video-duration {
    font-size: 0.68rem;
  }
}

/* ============================================================
   PAGE EXPERT INDIVIDUELLE — Design Premium
   ============================================================ */
.gdv-single-expert { background: #f8f6f3; min-height: 60vh; }

/* ── Hero ── */
.gdv-sep-hero {
  position: relative;
  overflow: hidden;
  background: #1B3A33;
  padding-bottom: 56px;
}
.gdv-sep-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1B3A33 0%, #2D5247 50%, #3D6B58 100%);
}
.gdv-sep-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.gdv-sep-hero-orb-1 {
  width: 380px; height: 380px;
  top: -120px; right: -80px;
  background: rgba(255,255,255,0.04);
}
.gdv-sep-hero-orb-2 {
  width: 220px; height: 220px;
  bottom: -60px; left: 60px;
  background: rgba(222,85,53,0.08);
}

.gdv-sep-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Inner layout */
.gdv-sep-hero {
  padding-bottom: 48px;
  padding-top: 10px;
}
.gdv-sep-hero-inner {
  display: flex;
  gap: 52px;
  align-items: center;
  padding-top: 32px;
}

/* Photo column */
.gdv-sep-photo-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.gdv-sep-photo-ring {
  width: 200px; height: 200px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.08));
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.gdv-sep-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.gdv-sep-photo-placeholder {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.gdv-sep-photo-placeholder svg {
  width: 64px; height: 64px;
  stroke: rgba(255,255,255,0.4);
}
.gdv-sep-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}
.gdv-sep-video-pill svg {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

/* Info column */
.gdv-sep-info-col {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}
.gdv-sep-badge-inline {
  display: inline-flex;
  align-items: center;
  background: #edf5f0;
  border: 1px solid #c5dcd4;
  color: #1B3A33;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.gdv-sep-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.1;
}
/* ── Biographie (section blanche) ── */
.gdv-sep-bio-section {
  background: #fff;
  padding: 44px 0;
  border-bottom: 1px solid #ede8e2;
}
.gdv-sep-bio-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: #f8f6f3;
  border: 1px solid #e8e2da;
  border-radius: 16px;
  padding: 32px 36px;
}
.gdv-sep-bio-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1B3A33, #2D5247);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gdv-sep-bio-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
}
.gdv-sep-bio-content {
  flex: 1;
  min-width: 0;
}
.gdv-sep-bio-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1B3A33;
  margin: 0 0 14px;
}
.gdv-sep-bio-text {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #444f48;
}
.gdv-sep-bio-text p { margin: 0 0 12px; }
.gdv-sep-bio-text p:last-child { margin-bottom: 0; }

/* ── Barre de retour (bas de page) ── */
.gdv-sep-bottom-bar {
  background: #f8f6f3;
  padding: 0 0 60px;
  display: flex;
  justify-content: center;
}
.gdv-sep-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #dde8e4;
  color: #1B3A33;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.gdv-sep-back-btn:hover {
  background: #1B3A33;
  color: #fff;
  border-color: #1B3A33;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,58,51,0.15);
}
.gdv-sep-back-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.gdv-sep-back-btn:hover svg {
  transform: translateX(-3px);
}

/* ── Videos Section ── */
.gdv-sep-videos-section {
  padding: 52px 0 64px;
}
.gdv-sep-videos-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e8e2da;
}
.gdv-sep-videos-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #1B3A33;
  margin: 0;
  line-height: 1.2;
}
.gdv-sep-videos-title em {
  font-style: normal;
  color: #3D6B58;
}
.gdv-sep-videos-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  background: #1B3A33;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 20px;
  flex-shrink: 0;
}

/* Video grid */
.gdv-sep-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Video card */
.gdv-sep-video-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ede8e2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gdv-sep-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(27,58,51,0.13);
  border-color: #c5dcd4;
}
.gdv-sep-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1B3A33;
}
.gdv-sep-video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gdv-sep-video-card:hover .gdv-sep-video-thumb img { transform: scale(1.05); }
.gdv-sep-video-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2D5247, #1B3A33);
}
.gdv-sep-video-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gdv-sep-video-card:hover .gdv-sep-video-overlay { opacity: 1; }
.gdv-sep-video-play {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transform: scale(0.85);
  transition: transform 0.3s ease;
}
.gdv-sep-video-card:hover .gdv-sep-video-play { transform: scale(1); }
.gdv-sep-video-play svg {
  width: 18px; height: 18px;
  fill: #1B3A33;
  margin-left: 3px;
}
.gdv-sep-video-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}
.gdv-sep-video-body {
  padding: 14px 16px 16px;
}
.gdv-sep-video-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1B3A33;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
  .gdv-sep-videos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gdv-sep-hero-inner { flex-direction: column; align-items: center; text-align: center; gap: 32px; }
  .gdv-sep-name { font-size: 2rem; }
  .gdv-sep-bio { max-width: 100%; }
  .gdv-sep-photo-ring { width: 160px; height: 160px; }
}
@media (max-width: 480px) {
  .gdv-sep-name { font-size: 1.65rem; }
  .gdv-sep-videos-grid { grid-template-columns: 1fr; }
}


/* ── Experts sidebar visibility classes ── */
.gdv-hide-experts-desktop { display: none !important; }
@media (max-width: 768px) {
    .gdv-hide-experts-mobile  { display: none !important; }
    .gdv-hide-experts-desktop { display: block !important; }
}

/* ── Dynamic Sidebar lists visibility & spacing ── */
.gdv-sidebar-desktop-list,
.gdv-sidebar-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gdv-sidebar-mobile-list { display: none !important; }
@media (max-width: 991px) {
    .gdv-sidebar-desktop-list { display: none !important; }
    .gdv-sidebar-mobile-list  { display: flex !important; }
}



/* ============================================================
   PAGE VIDÉO INDIVIDUELLE
   ============================================================ */
.gdv-video-detail-page {
  background: #f8f6f3;
  padding: 48px 0 72px;
  min-height: 80vh;
}
.gdv-video-detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.gdv-video-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Main column */
.gdv-video-main-col {
  min-width: 0;
}
.gdv-video-detail-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1B3A33;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.gdv-video-iframe-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(27,58,51,0.12);
  margin-bottom: 48px;
}
.gdv-video-iframe-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.gdv-video-error-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: #889990; font-size: 0.95rem;
}

/* Related videos */
.gdv-video-related-section {
  margin-top: 48px;
  border-top: 2px solid #ede8e2;
  padding-top: 36px;
}
.gdv-video-related-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1B3A33;
  margin: 0 0 24px;
}
.gdv-video-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gdv-video-related-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ede8e2;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gdv-video-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27,58,51,0.1);
  border-color: #c5dcd4;
}
.gdv-video-related-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1B3A33;
}
.gdv-video-related-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gdv-video-related-card:hover .gdv-video-related-thumb img {
  transform: scale(1.04);
}
.gdv-video-related-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gdv-video-related-card:hover .gdv-video-related-overlay { opacity: 1; }
.gdv-video-related-play {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.88);
  transition: transform 0.3s;
}
.gdv-video-related-card:hover .gdv-video-related-play { transform: scale(1); }
.gdv-video-related-play svg { width: 14px; height: 14px; fill: #1B3A33; margin-left: 2px; }
.gdv-video-related-duration {
  position: absolute; bottom: 6px; right: 6px;
  background: rgba(0,0,0,0.75); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  padding: 1px 5px; border-radius: 4px;
}
.gdv-video-related-body {
  padding: 12px 14px 14px;
}
.gdv-video-related-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1B3A33;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar column */
.gdv-video-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.gdv-video-description-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ede8e2;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.gdv-video-description-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1B3A33;
  margin: 0 0 12px;
}
.gdv-video-description-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #556057;
}
.gdv-video-description-text p { margin: 0 0 10px; }
.gdv-video-description-text p:last-child { margin-bottom: 0; }

/* Expert Card */
.gdv-video-expert-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.gdv-video-expert-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ede8e2;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.gdv-video-expert-card-link:hover .gdv-video-expert-card {
  transform: translateY(-3px);
  border-color: #c5dcd4;
  box-shadow: 0 8px 24px rgba(27,58,51,0.08);
}
.gdv-video-expert-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d9080;
  display: block;
  margin-bottom: 16px;
}
.gdv-video-expert-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid #e2ebd5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.gdv-video-expert-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gdv-video-expert-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1B3A33;
  margin: 0 0 4px;
}
.gdv-video-expert-specialty {
  display: inline-block;
  background: #edf5f0;
  border: 1px solid #c5dcd4;
  color: #1B3A33;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.gdv-video-expert-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  background: #1B3A33;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}
a.gdv-video-expert-card-link:hover .gdv-video-expert-cta,
.gdv-video-expert-cta:hover {
  background: #DE5535;
  color: #ffffff;
}
.gdv-video-expert-cta svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 991px) {
  .gdv-video-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .gdv-video-main-col {
    order: 1;
    width: 100%;
  }
  .gdv-video-sidebar-col {
    order: 2;
    width: 100%;
  }
  .gdv-video-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Layout sans expert (1 colonne centrée) ── */
.gdv-video-layout-single {
  max-width: 820px;
  margin: 0 auto;
}
.gdv-video-layout-single .gdv-video-detail-title {
  text-align: center;
  margin-bottom: 28px;
}

/* ── Layout avec expert / podcast : carte de droite calée sur la hauteur
     du lecteur. Le lecteur 16:9 définit SEUL la hauteur de la rangée ;
     la carte est positionnée en absolu dans sa cellule et défile en
     interne si son contenu est plus long — elle ne peut jamais étirer
     la vidéo. ── */
.gdv-video-layout--expert {
  align-items: stretch;
  margin-bottom: 48px;
}
.gdv-video-layout--expert .gdv-video-iframe-wrap {
  margin-bottom: 0;
  height: 100%;
  width: 100%;
}
.gdv-video-layout--expert .gdv-video-expert-card-link,
.gdv-video-layout--expert .gdv-podcast-info-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}
.gdv-video-layout--expert .gdv-video-expert-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Description pleine largeur sous le lecteur */
.gdv-video-below-card {
  margin-bottom: 48px;
}

/* ── Carte d'infos podcast (droite) ── */
.gdv-podcast-info-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ede8e2;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gdv-video-layout--expert .gdv-podcast-info-card {
  position: relative;
  min-height: 100%;
}
.gdv-podcast-info-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #1B3A33;
  margin: 0 0 6px;
}
.gdv-podcast-info-value {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.9rem;
  color: #556057;
  font-weight: 600;
}
.gdv-podcast-info-value svg {
  width: 15px; height: 15px;
  stroke: #5d9080; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  /* En colonne (mobile/tablette), les cartes reprennent leur flux normal */
  .gdv-video-layout--expert .gdv-video-expert-card,
  .gdv-video-layout--expert .gdv-podcast-info-card {
    position: static;
    overflow-y: visible;
  }
}

@media (max-width: 580px) {
  .gdv-video-related-grid {
    grid-template-columns: 1fr;
  }
  .gdv-video-detail-title {
    font-size: 1.5rem;
  }
}

/* ============================================================
   UTILITAIRE — Colonne épinglée (sticky) pour Elementor sans Pro.
   Ajouter la classe "gdv-sticky-col" dans Avancé → Classes CSS
   de la colonne/du conteneur à épingler. Le décalage de 80px
   laisse la place au header sticky (64px).
   ============================================================ */
.gdv-sticky-col {
  position: sticky !important;
  top: 80px;
  align-self: flex-start; /* nécessaire dans les conteneurs flex d'Elementor */
  height: fit-content;
}

/* Enveloppe interne créée par le script "Smart Sidebar Scroll" (main.js) pour
   toute colonne portant la classe "gdv-smart-sticky" (accueil Elementor).
   Le positionnement (static / fixed / absolute) est entièrement piloté par
   main.js en fonction du défilement de la page entière — ne pas ajouter de
   position:sticky ici, ça entrerait en conflit avec le JS. */
.gdv-sticky-inner {
  width: 100%;
}

/* ============================================================
   ÉTAT VIDE GÉNÉRIQUE — widgets Elementor GDV sans contenu
   (évite une zone visuellement vide qui semble être un bug)
   ============================================================ */
.gdv-widget-empty {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================================
   MODULE AGENDA (SHORTCODE: [gdv_agenda])
   ============================================================ */
.gdv-agenda-empty {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 20px;
}
.gdv-agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.gdv-agenda-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.gdv-agenda-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.gdv-agenda-card.is-past {
  opacity: 0.8;
  filter: grayscale(40%);
}
.gdv-agenda-card-img {
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-color: var(--border);
  background-size: cover;
  background-position: center;
  position: relative;
}
.gdv-agenda-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.gdv-agenda-card.is-past .gdv-agenda-badge {
  background: var(--cream);
  color: var(--text-light);
}
.gdv-agenda-card.is-upcoming .gdv-agenda-badge {
  background: #e6f4ea;
  color: #1e8e3e;
}
.gdv-agenda-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gdv-agenda-date {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gdv-agenda-card.is-past .gdv-agenda-date {
  color: var(--text-light);
}
.gdv-agenda-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.gdv-agenda-title a {
  color: inherit;
  text-decoration: none;
}
.gdv-agenda-title a:hover {
  color: var(--burgundy);
}
.gdv-agenda-location {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   ÉQUIPE — [gdv_team] / widget Elementor "GDV — Équipe"
   (déplacé depuis le <style> inline de page-qui-sommes-nous.php
   pour que le widget s'affiche stylé sur n'importe quelle page)
   ============================================================ */
.gdv-about-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.gdv-about-team {
  padding: 60px 0 20px;
  border-top: 1px solid rgba(232, 221, 208, 0.4);
}
.gdv-team-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1B3A33;
  text-align: center;
  margin: 0 0 12px;
}
.gdv-team-section-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--burgundy, #8B2635);
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto 50px;
}
.gdv-team-grid {
  display: grid;
  grid-template-columns: repeat(var(--desktop-cols, 4), 1fr);
  gap: 30px;
  justify-content: center;
}
.gdv-member-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  border: 1px solid rgba(232, 221, 208, 0.4);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gdv-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(27, 58, 51, 0.06);
}
.gdv-member-photo-frame {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid #E8DDD0;
  background: #fdfbf8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gdv-member-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
.gdv-member-name-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1B3A33;
  margin: 0 0 6px;
}
.gdv-member-role-text {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burgundy, #8B2635);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}
.gdv-member-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.gdv-member-socials a {
  display: flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f8f6f2;
  align-items: center;
  justify-content: center;
  color: #1B3A33;
  border: 1px solid #e8e0d6;
  transition: all 0.2s ease;
}
.gdv-member-socials a svg {
  width: 14px;
  height: 14px;
}
.gdv-member-socials a:hover {
  background: var(--burgundy, #8B2635);
  color: #fff;
  border-color: var(--burgundy, #8B2635);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .gdv-team-grid {
    grid-template-columns: repeat(min(3, var(--desktop-cols, 4)), 1fr);
  }
}
@media (max-width: 768px) {
  .gdv-team-grid {
    grid-template-columns: repeat(var(--mobile-cols, 2), 1fr);
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .gdv-team-grid {
    grid-template-columns: repeat(min(2, var(--mobile-cols, 2)), 1fr);
  }
}
}
@media (max-width: 380px) {
  .gdv-team-grid {
    grid-template-columns: 1fr;
  }
}

/* ══ NOUVEAU DESIGN EXPERT UNIFIÉ ══ */
.gdv-sep-unified-section {
  width: 100%;
}
.gdv-expert-unified-card {
  max-width: 1000px;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(27, 58, 51, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
@media(min-width: 768px) {
  .gdv-expert-unified-card {
    flex-direction: row;
  }
}
/* Left sidebar */
.gdv-expert-sidebar {
  background-color: #1B3A33;
  color: #FDFBF8;
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 300px;
  position: relative;
  overflow: hidden;
}
/* Decorative circles */
.gdv-expert-sidebar::before, .gdv-expert-sidebar::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(253, 251, 248, 0.03);
  pointer-events: none;
}
.gdv-expert-sidebar::before {
  width: 250px; height: 250px;
  top: -50px; left: -50px;
}
.gdv-expert-sidebar::after {
  width: 150px; height: 150px;
  bottom: -20px; right: -20px;
}
.gdv-expert-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FDFBF8;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.gdv-expert-name {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 1;
  line-height: 1.2;
  color: #FDFBF8;
}
.gdv-expert-badge {
  background-color: rgba(253, 251, 248, 0.15);
  color: #FDFBF8;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.gdv-expert-badge svg {
  width: 16px; height: 16px;
  fill: currentColor;
}
/* Right content */
.gdv-expert-content {
  padding: 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}
.gdv-expert-specialty {
  background-color: #F3F7F5;
  color: #1B3A33;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 24px;
  align-self: flex-start;
}
.gdv-expert-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1B3A33;
}
.gdv-expert-title svg {
  width: 24px; height: 24px;
  color: #DE5535;
}
.gdv-expert-bio {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5c57;
  margin: 0;
}
.gdv-expert-bio p {
  margin-bottom: 1em;
}
.gdv-expert-bio p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   WIDGET ARTICLES TENDANCE (TRENDING ARTICLES)
   ============================================================ */
.gdv-trending-widget {
  background: var(--white);
  padding: 24px 20px;
  border-top: 2px solid var(--green-dark) !important;
  border-bottom: 2px solid var(--green-dark) !important;
  border-left: none !important;
  border-right: none !important;
  margin-bottom: 30px;
  box-sizing: border-box;
  width: 100%;
}
.gdv-trending-widget.no-borders {
  border-top: none !important;
  border-bottom: none !important;
  padding-top: 0;
  padding-bottom: 0;
}

/* Constrain width in desktop sidebar to match calculator & experts */
@media (min-width: 992px) {
  .gdv-trending-widget {
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}

.gdv-trending-header {
  text-align: center;
  margin-bottom: 24px;
}
.gdv-trending-title {
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--green-dark) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}
.gdv-trending-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--burgundy) !important;
  margin-top: 6px;
}
.gdv-trending-icons svg {
  display: inline-block;
  vertical-align: middle;
}
.gdv-trending-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gdv-trending-item {
  display: flex;
  align-items: flex-start !important;
  gap: 16px !important;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.gdv-trending-item:hover .gdv-trending-item-title {
  color: var(--burgundy) !important;
}
.gdv-trending-thumb-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 85px;
  height: 85px;
  overflow: visible !important;
  border-radius: 50% !important;
}
.gdv-trending-thumb-wrapper img.gdv-trending-thumb {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
  box-sizing: border-box !important;
  border: 2px solid var(--white) !important;
  aspect-ratio: 1 / 1 !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.gdv-trending-item:hover img.gdv-trending-thumb {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.14) !important;
}
.gdv-trending-thumb-placeholder {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #e8ddd0, #d5c8b8) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--green-mid) !important;
  font-size: 20px !important;
  box-sizing: border-box !important;
  border: 2px solid var(--white) !important;
  aspect-ratio: 1 / 1 !important;
}
.gdv-trending-badge {
  position: absolute !important;
  bottom: -2px !important;
  left: -4px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: var(--green-dark) !important;
  color: var(--white) !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.16) !important;
  border: 2px solid var(--white) !important;
  z-index: 2 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
.gdv-trending-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px !important;
  padding-top: 2px !important;
}
.gdv-trending-item-title {
  font-family: var(--font-heading) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--green-dark) !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color var(--transition) !important;
}
.gdv-trending-date {
  font-family: var(--font-sans) !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: var(--text-light) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-top: 2px !important;
}
.gdv-trending-footer {
  margin-top: 24px;
  text-align: center;
}
.gdv-trending-view-all {
  display: inline-block;
  padding: 10px 24px !important;
  background: var(--green-dark) !important;
  color: var(--white) !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  transition: all var(--transition) !important;
  border: 1px solid var(--green-dark) !important;
  text-transform: none !important;
}
.gdv-trending-view-all:hover {
  background: transparent !important;
  color: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* ============================================================
   PAGE D'ERREUR 404 (PREMIUM)
   ============================================================ */
.gdv-404-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  padding: 80px 24px;
  background: var(--cream);
  text-align: center;
  box-sizing: border-box;
}

.gdv-404-inner {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: gdv404FadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gdv-404-icon-wrap {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  color: var(--burgundy);
  margin-bottom: 28px;
  animation: gdv404Float 4s ease-in-out infinite;
}

.gdv-404-icon {
  width: 44px;
  height: 44px;
}

.gdv-404-title {
  font-family: var(--font-heading) !important;
  font-size: 120px !important;
  font-weight: 800 !important;
  color: var(--green-dark) !important;
  line-height: 0.95 !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: -2px !important;
}

.gdv-404-subtitle {
  font-family: var(--font-heading) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--green-mid) !important;
  margin-bottom: 16px !important;
  line-height: 1.35 !important;
}

.gdv-404-text {
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  color: var(--text-mid) !important;
  line-height: 1.7 !important;
  margin-bottom: 36px !important;
  max-width: 480px;
}

/* Barre de recherche dans 404 */
.gdv-404-search {
  width: 100%;
  max-width: 420px;
  margin-bottom: 40px;
}

.gdv-404-search form {
  display: flex;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 4px;
  box-sizing: border-box;
}

.gdv-404-search input[type="search"] {
  flex: 1;
  border: none !important;
  outline: none !important;
  padding: 10px 20px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: transparent;
  width: 100%;
}

.gdv-404-search input[type="submit"],
.gdv-404-search button[type="submit"] {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 99px !important;
  padding: 10px 24px !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background var(--transition) !important;
}

.gdv-404-search input[type="submit"]:hover,
.gdv-404-search button[type="submit"]:hover {
  background: var(--burgundy) !important;
}

/* Actions 404 */
.gdv-404-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.gdv-btn-404-primary {
  display: inline-block;
  padding: 13px 26px !important;
  background: var(--green-dark) !important;
  color: var(--white) !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  border: 2px solid var(--green-dark) !important;
  transition: all var(--transition) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.gdv-btn-404-primary:hover {
  background: transparent !important;
  color: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.gdv-btn-404-secondary {
  display: inline-block;
  padding: 13px 26px !important;
  background: transparent !important;
  color: var(--burgundy) !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  border: 2px solid var(--burgundy) !important;
  transition: all var(--transition) !important;
}

.gdv-btn-404-secondary:hover {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 16px rgba(222,85,53,0.15);
}

/* Animations */
@keyframes gdv404FadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gdv404Float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ── FICHES D'ACTIVITÉS ── */
.fiche-card {
  border: 1px solid #E8E0D6 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #ffffff !important;
}

.fiche-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
  border-color: #DE5535 !important;
}

.fiche-card-img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  height: auto !important;
  display: block !important;
  background-color: #F8F3EE !important;
}

/* ── Plyr Player Custom Colors (Graine de Vie Burgundy) ── */
:root {
  --plyr-color-main: #DE5535 !important;
}

.gdv-video-iframe-wrap .plyr,
.gdv-video-lightbox-iframe-wrapper .plyr {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #E8E0D6 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
}

/* ── FV Flowplayer Support ── */
.gdv-video-iframe-wrap .flowplayer,
.gdv-video-iframe-wrap .fv-player-shortcode,
.gdv-video-iframe-wrap .fvplayer {
  width: 100% !important;
  height: 100% !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}
