/* ── Variables ───────────────────────────────────────────────── */
:root {
  --violet:       #7B2D8B;
  --violet-dark:  #5a1f68;
  --violet-light: #9b4dab;
  --ink:          #1b1b2e;
  --muted:        #617087;
  --pale:         #f8f4fa;
  --line:         #e4d8ec;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif; font-size: 34px; line-height: 2; color: var(--ink); }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.35; letter-spacing: .02em; }
/* Force la police Nunito sur tout — écrase Bootstrap et system-ui */
a, ul, ol, li, p, span, div, input, button, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Wrap ────────────────────────────────────────────────────── */
.wrap { width: calc(100% - 40px); max-width: 1600px; margin: auto; }

/* ── Bannière haut de page (logo + bannière) ─────────────────── */
.lind-site-banner { background: #fff; text-align: center; line-height: 0; width: 100%; overflow: hidden; }
.lind-site-banner a { display: block; width: 100%; }
.lind-site-banner img { display: block; width: 100%; height: auto; }

/* ── Header / nav ────────────────────────────────────────────── */
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; border-bottom: 3px solid var(--violet); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; width: 100%; padding: 0 24px; box-sizing: border-box; max-width: none; margin: 0; }

/* Logo */
.brand { font-size: 36px; font-weight: 800; line-height: 1; display: flex; align-items: center; gap: 12px; color: var(--violet); }
.brand small { display: block; font-size: 24px; letter-spacing: 1.5px; margin-top: 5px; color: var(--muted); font-weight: 400; }
.brand-logo { height: 50px; width: auto; }

/* Menu principal */
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: flex-end; }
.main-nav .lind-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; width: 100%; justify-content: space-evenly; }
.main-nav .lind-menu > li > a { display: block; padding: 10px 18px; border-radius: 4px; font-size: 1.3rem; font-weight: 600; color: var(--ink); transition: background .15s, color .15s; }
.main-nav .lind-menu > li > a:hover,
.main-nav .lind-menu > li.current-menu-item > a,
.main-nav .lind-menu > li.current-menu-ancestor > a { background: var(--violet); color: #fff; }

/* Sous-menus */
.main-nav .lind-menu li { position: relative; }
.main-nav .lind-menu .sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--violet);
  border-radius: 0 0 6px 6px;
  min-width: 220px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  z-index: 200;
  list-style: none; margin: 0; padding: 6px 0;
}
.main-nav .lind-menu .sub-menu li a { display: block; padding: 10px 18px; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
.main-nav .lind-menu .sub-menu li a:hover { background: var(--pale); color: var(--violet); }

/* Desktop : ouverture au survol via CSS */
@media (min-width: 768px) {
  .main-nav .lind-menu > li:hover > .sub-menu { display: block; }
  /* indicateur visuel qu'il y a des enfants */
  .main-nav .lind-menu > li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: .7em;
    opacity: .6;
  }
}

/* Mobile : ouverture via classe .sub-open ajoutée en JS */
@media (max-width: 767px) {
  .main-nav .lind-menu li.sub-open > .sub-menu { display: block; position: static; box-shadow: none; border: none; border-left: 3px solid var(--violet); border-radius: 0; padding-left: 12px; }

  /* Sommaire mobile : sous-catégories en dessous, pas à droite */
  .lind-sommenu { max-width: 100vw !important; overflow-x: hidden !important; width: 100vw !important; left: 0 !important; }
  .lind-sommenu-subs {
    position: static !important;
    left: auto !important;
    min-width: 0 !important;
    max-height: none !important;
    box-shadow: none !important;
    border-left: 3px solid var(--violet) !important;
    padding-left: 8px !important;
    background: #fff !important;
    display: none;
  }
  .lind-sommenu-row:hover > .lind-sommenu-subs { display: none; }
  .lind-sommenu-row.sub-open > .lind-sommenu-subs { display: block !important; }
  .lind-sommenu-subs li a { font-size: 16px !important; white-space: normal !important; }
  .lind-sommenu-parent { font-size: 18px !important; white-space: normal !important; cursor: pointer; }
}

/* Hamburger */
.menu-toggle { display: none; background: var(--violet); border: none; color: #fff; padding: 10px 13px; border-radius: 5px; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Dropdown Sommaire 2 colonnes ─────────────────────────────── */
:root {
  --som-left-bg:      #c47dbf;
  --som-left-hover:   #d4649e;
  --som-left-active:  #f7e8f5;
  --som-right-bg:     #f7e8c0;
  --som-right-text:   #7a3570;
}

/* Sommaire dropdown */
/* ── Dropdown Sommaire Bootstrap ─────────────────────────────── */
.lind-sommenu {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 0 6px 6px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.22) !important;
  min-width: 220px !important;
  flex-direction: column !important;
}
.lind-sommenu.show { display: block !important; }
@media (min-width: 992px) {
  .nav-item.dropdown.lind-menu-sommaire:hover > .lind-sommenu { display: block !important; }
}

/* Chaque ligne = catégorie parente + sous-catégories */
.lind-sommenu-row {
  position: relative;
  list-style: none;
}
/* Sous-catégories : panneau à droite, caché par défaut */
.lind-sommenu-subs {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 260px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  box-shadow: 4px 4px 12px rgba(0,0,0,.15);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10000;
}
/* Affichage au survol de la ligne (CSS pur, zéro JS) */
.lind-sommenu-row:hover > .lind-sommenu-subs { display: block; }

/* Lien catégorie parente */
.lind-sommenu-parent {
  display: block;
  padding: 9px 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: var(--som-left-bg);
  transition: background .12s, color .12s;
  text-transform: capitalize;
  white-space: nowrap;
}
.lind-sommenu-row:last-child > .lind-sommenu-parent { border-bottom: none; }
.lind-sommenu-row:hover > .lind-sommenu-parent { background: var(--som-left-hover); color: #fff5fe; }

/* Sous-catégories : lien */
.lind-sommenu-subs li { border-bottom: 1px solid rgba(122,53,112,.12); }
.lind-sommenu-subs li:last-child { border-bottom: none; }
.lind-sommenu-subs li a { display: block; padding: 9px 16px; color: var(--som-right-text); font-size: 24px; font-weight: 500; text-transform: capitalize; white-space: nowrap; }
.lind-sommenu-subs li a:hover { background: rgba(196,125,191,.2); color: var(--violet-dark); }

/* ── Bannière ACF ─────────────────────────────────────────────── */
.lind-page-banner { position: relative; width: 100%; overflow: hidden; background: var(--violet-dark); }
.lind-page-banner img { display: block; width: 100%; height: auto; }
.lind-page-banner-shade { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(16px,3vw,40px); background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 70%); }
.lind-page-banner-shade h1 { margin: 0; color: #fff !important; font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

/* ── Barre titre (sans bannière) ─────────────────────────────── */
/* ── Fil d'Ariane ────────────────────────────────────────────── */
.lind-breadcrumb { font-size: 1.3rem; color: var(--muted); margin-bottom: 14px; }
.lind-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lind-breadcrumb li { display: flex; align-items: center; gap: 4px; }
.lind-breadcrumb li:not(:last-child)::after { content: '›'; color: var(--muted); }
.lind-breadcrumb a { color: var(--violet); text-decoration: none; }
.lind-breadcrumb a:hover { text-decoration: underline; }
.lind-breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 600; }

.lind-page-title-bar { background: var(--violet); color: #fff; padding: 20px 0; }
.lind-page-title-bar h1 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 700; }

/* ── Layout pages standard ───────────────────────────────────── */
.page-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 40px; align-items: start; padding: 36px 0 60px; }
.page-content { min-width: 0; }
.page-side { min-width: 0; }

/* ── Contenu ─────────────────────────────────────────────────── */
.page-content h1, .page-content h2, .page-content h3, .page-content h4 { color: var(--violet); line-height: 1.25; }
.page-content h2 { font-size: 1.5rem; margin: 1.5em 0 .5em; }
.page-content h3 { font-size: 1.2rem; margin: 1.3em 0 .4em; }
.page-content p { margin: 0 0 1rem; }
.page-content ul, .page-content ol { margin: 0 0 1rem 1.5rem; }
.page-content blockquote { border-left: 4px solid var(--violet); background: var(--pale); padding: 12px 20px; margin: 1.5rem 0; color: var(--muted); font-style: italic; border-radius: 0 6px 6px 0; }
.page-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.page-content th { background: var(--violet); color: #fff; padding: 10px 14px; text-align: left; }
.page-content td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.page-content tr:nth-child(even) td { background: var(--pale); }

/* Intro ACF */
.lind-intro { font-size: 1.2rem; color: var(--muted); border-left: 4px solid var(--violet-light); background: var(--pale); padding: 20px 26px; margin-bottom: 32px; border-radius: 0 6px 6px 0; line-height: 1.85; text-align: justify; }

/* CF7 */
.lind-cf7 input[type=text], .lind-cf7 input[type=email], .lind-cf7 input[type=tel], .lind-cf7 textarea, .lind-cf7 select { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: .95rem; margin-bottom: 12px; }
.lind-cf7 input:focus, .lind-cf7 textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 2px rgba(123,45,139,.15); }
.lind-cf7 input[type=submit], .lind-cf7 .wpcf7-submit { background: var(--violet); color: #fff; border: none; padding: 11px 28px; border-radius: 4px; font-size: 1rem; cursor: pointer; }
.lind-cf7 input[type=submit]:hover { background: var(--violet-dark); }

/* ── Sidebar / colonne droite ─────────────────────────────────── */
.widget,
.lind-widget { background: var(--pale); border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; margin-bottom: 24px; overflow: hidden; }
.widget-title,
.lind-widget-title { font-size: 1.5rem; font-weight: 700; color: #fff; background: var(--violet); margin: -20px -20px 16px; padding: 11px 20px; }
.widget ul,
.lind-widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li,
.lind-widget ul li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 1.4rem; }
.widget ul li:last-child,
.lind-widget ul li:last-child { border-bottom: none; }
.widget ul li a,
.lind-widget ul li a { color: var(--violet); }
.widget ul li a:hover,
.lind-widget ul li a:hover { text-decoration: underline; }

/* Formulaire de recherche natif WordPress */
.search-form { display: flex; gap: 6px; }
.search-form .search-field { flex: 1; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: .9rem; }
.search-form .search-submit { background: var(--violet); color: #fff; border: none; padding: 8px 14px; border-radius: 4px; cursor: pointer; font-size: .9rem; }
.search-form .search-submit:hover { background: var(--violet-dark); }

/* ── Layout ACCUEIL ──────────────────────────────────────────── */
.lind-accueil-wrap { padding: 36px 0 60px; }

/* Intro */
.lind-intro { font-size: 1.1rem; color: var(--muted); border-left: 4px solid var(--violet-light); background: var(--pale); padding: 18px 24px; margin-bottom: 32px; border-radius: 0 6px 6px 0; line-height: 1.85; }

/* Grille principale : contenu large | sidebar */
.lind-accueil-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 48px; align-items: start; }

/* Bloc gauche : couverture + rubriques côte à côte */
.lind-accueil-inner { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 36px; align-items: start; }

/* Couverture */
.lind-couverture { text-align: center; }
.lind-couverture img { width: 100%; border-radius: 6px; box-shadow: 2px 6px 18px rgba(0,0,0,.2); }
.lind-couverture-legende { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* Rubriques */
.lind-rubriques-titre { color: var(--violet); font-size: 2.4rem; font-weight: 700; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--violet); }
.lind-categories { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; font-family: inherit; }
.lind-categories li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 1.5rem; }
.lind-categories li:last-child { border-bottom: none; }
.lind-categories li a { color: var(--violet); }
.lind-categories li a:hover { text-decoration: underline; }
.lind-categories .count { color: var(--muted); font-size: 1.3rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--violet-dark); color: rgba(255,255,255,.85); margin-top: 40px; }
.footer-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; flex-wrap: wrap; }
.footer-fb { color: #fff; opacity: .85; display: flex; align-items: center; transition: opacity .15s; }
.footer-fb:hover { opacity: 1; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 1.2rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-left: auto; font-size: 1.15rem; color: rgba(255,255,255,.45); }

/* ── Sommaire ─────────────────────────────────────────────────── */
.lind-sommaire-wrap { padding: 36px 0 60px; }

/* Layout global : panel + sidebar */
.lind-sommaire-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 320px); gap: 44px; align-items: start; }
/* Bloc conseils : forcer colonne gauche */
.lind-sommaire-layout > .mt-4 { grid-column: 1; }

/* Panel = gauche (cats) + droite (sous-cats) côte à côte */
.lind-sommaire-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--violet); border-radius: 6px; overflow: hidden; }

/* Colonne gauche : liste des catégories parentes */
.lind-sommaire-left { background: var(--violet); }
.lind-sommaire-cat-item { cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .15s; }
.lind-sommaire-cat-item:last-child { border-bottom: none; }
.lind-sommaire-cat-item a { display: block; padding: 10px 18px; color: #fff; font-size: 1rem; font-weight: 600; }
.lind-sommaire-cat-item:hover,
.lind-sommaire-cat-item.lind-cat-active { background: var(--violet-dark); }
.lind-sommaire-cat-item.lind-cat-active a { color: #FFD700; }

/* Colonne droite : sous-catégories */
.lind-sommaire-right { background: #FFD700; min-height: 300px; }
.lind-sommaire-subs { display: none; flex-direction: column; padding: 0; }
.lind-sommaire-subs-title { background: var(--violet); color: #FFD700; font-weight: 700; font-size: 1.05rem; padding: 10px 18px; }
.lind-sommaire-subs-title a { color: #FFD700; }
.lind-sommaire-subs ul { list-style: none; padding: 0; margin: 0; }
.lind-sommaire-subs ul li { border-bottom: 1px solid rgba(123,45,139,.15); }
.lind-sommaire-subs ul li:last-child { border-bottom: none; }
.lind-sommaire-subs ul li a { display: block; padding: 9px 18px; color: var(--violet); font-size: .97rem; font-weight: 600; }
.lind-sommaire-subs ul li a:hover { background: rgba(123,45,139,.1); text-decoration: underline; }

@media (max-width: 1024px) {
  .lind-sommaire-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .lind-sommaire-panel { grid-template-columns: 1fr; }
  .lind-sommaire-right { min-height: auto; }
}

/* ── Page catégorie ──────────────────────────────────────────── */
.lind-cat-wrap { padding: 28px 0 60px; }

/* Hero pleine largeur */
.lind-cat-hero-outer { width: 100%; margin-bottom: 0; }

/* Grid : contenu principal + sidebar */
.lind-cat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 48px;
  align-items: start;
  padding-top: 0;
}

/* ── Bannière hero catégorie ─────────────────────────────────── */
.lind-cat-hero {
  position: relative;
  width: 100%;
  background: var(--violet);
  overflow: hidden;
  display: flex;
  align-items: flex-end;  /* titre en bas de la bannière */
}
/* Sans image : hauteur fixe */
.lind-cat-hero:not(.lind-cat-hero--image) {
  min-height: 120px;
}
/* Avec image : ratio 1200×400 (3:1) pour catégories parentes */
.lind-cat-hero--image {
  background-size: cover;
  background-position: center;
  padding-top: 33.33%;
  height: 0;
  align-items: stretch;
}
/* Sous-catégories : ratio 1200×300 (4:1) */
.lind-cat-hero--image.lind-cat-hero--sub {
  padding-top: 25%;
}
.lind-cat-hero-overlay {
  width: 100%;
  padding: 28px 0 24px;
}
.lind-cat-hero:not(.lind-cat-hero--image) .lind-cat-hero-overlay {
  background: none;
  display: flex;
  align-items: flex-end;
  padding: 20px 0 8px 60px;
}
.lind-cat-hero--image .lind-cat-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(60,10,70,.82) 0%, rgba(60,10,70,.3) 65%, transparent 100%);
  padding: 80px 0 8px 60px;
}
.lind-cat-titre {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── Description catégorie : fond rosé sous la bannière ──────── */
.lind-cat-description-bar {
  background: var(--pale);
  border-left: 4px solid var(--violet-light);
  padding: 16px 24px;
  margin-bottom: 24px;
  font-size: .95rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
  border-radius: 0 0 6px 0;
}

/* Sous-catégories en 2 colonnes */
.lind-cat-subs { margin-bottom: 24px; }
.lind-subs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
  font-family: inherit;
}
.lind-subs-list li {
  break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.lind-subs-list li:last-child { border-bottom: none; }
.lind-subs-list li a {
  color: var(--violet);
  font-size: 1.4rem;
  font-weight: 600;
}
.lind-subs-list li a:hover { text-decoration: underline; }
.lind-subs-list .lind-count { color: var(--muted); font-size: 1.2rem; font-weight: 400; }

/* Sidebar col droite (partagée accueil + catégorie) */
.lind-col-droite { min-width: 0; }

/* Articles (sous-catégorie sans enfants) */
.lind-article-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
/* v36 : ratio naturel comme le thème prod (no forced crop) */
.lind-article-thumb { width: 220px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.lind-article-thumb a { display: block; width: 100%; }
.lind-article-thumb img { width: 100%; height: auto; border-radius: 0; display: block; }
.lind-article-title { font-size: 1.5rem; margin: 0 0 8px; }
.lind-article-title a { color: var(--violet); font-weight: 700; }
.lind-article-title a:hover { text-decoration: underline; }
.lind-article-excerpt { font-size: 1.3rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 1024px) {
  .lind-cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .lind-cat-hero { min-height: 180px; }
  .lind-cat-hero--image { min-height: 200px; }
  .lind-cat-hero-overlay { padding: 20px 18px 16px; }
  .lind-subs-list { columns: 1; }
  .lind-article-item { flex-direction: column; }
  .lind-article-thumb { width: 100%; }
  .lind-article-thumb img { width: 100%; height: auto; }
}

/* ── Page article (single) ───────────────────────────────────── */
.lind-single-wrap { padding: 32px 0 60px; }

.lind-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 48px;
  align-items: start;
}

.lind-entry-header { margin-bottom: 20px; border-bottom: 3px solid var(--violet); padding-bottom: 12px; }

.lind-entry-title {
  color: var(--violet);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.lind-entry-thumbnail { margin-bottom: 20px; }
.lind-entry-thumbnail img { border-radius: 6px; max-width: 100%; width: auto; height: auto; display: block; }
.lind-entry-thumbnail figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; font-style: italic; }

/* Catégories sous le titre */
.lind-entry-cats { margin: 4px 0 0; font-size: .9rem; }
.lind-entry-cats a { color: var(--muted); font-style: italic; }
.lind-entry-cats a:hover { color: var(--violet); }
.lind-entry-cats a + a::before { content: ', '; }

.lind-entry-content { font-size: 1.5rem; line-height: 1.8; }
.lind-entry-content h2 { color: var(--violet); font-size: 2rem; margin: 1.4em 0 .5em; }
.lind-entry-content h3 { color: var(--violet); font-size: 1.6rem; margin: 1.2em 0 .4em; }
.lind-entry-content p { margin: 0 0 1rem; }
.lind-entry-content img { max-width: 100%; height: auto; border-radius: 4px; }
.lind-entry-content a { color: var(--violet); text-decoration: underline; }

/* Lignes de coordonnées (site web, tel, adresse…) */
.lind-meta-line {
  margin: 6px 0;
  font-size: .95rem;
  line-height: 1.4;
}
.lind-meta-line img {
  display: inline !important;
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -1px;
}
.lind-meta-line a { color: var(--violet); text-decoration: none; }
.lind-meta-line a:hover { text-decoration: underline; }

/* ── Agenda ──────────────────────────────────────────────────── */
.lind-agenda-wrap { padding: 32px 0 60px; }
.lind-agenda-intro {
  background: var(--pale) !important;
  border-left: 4px solid var(--violet) !important;
  padding: 12px 18px !important;
  margin-bottom: 28px !important;
  font-size: .95rem;
  color: var(--muted);
  border-radius: 0 6px 6px 0;
  line-height: 1.6;
}
.lind-agenda-intro p { margin: 0 0 6px; color: var(--muted) !important; }
.lind-agenda-intro p:last-child { margin-bottom: 0; }
.lind-agenda-intro a { color: var(--violet); }
/* Page tpl agenda : pleine largeur écran, marges 50px */
.lind-agenda-tpl {
  width: calc(100% - 100px) !important;
  max-width: none !important;
  margin-left: 50px !important;
  margin-right: 50px !important;
}
.lind-agenda-tpl .lind-cat-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 320px);
  grid-template-areas: "content sidebar";
  align-items: start;
}
.lind-agenda-tpl #lind-agenda-zone,
.lind-agenda-tpl .lind-agenda-main {
  grid-area: content;
  width: 100%;
  min-width: 0;
}
.lind-agenda-tpl .lind-col-droite {
  grid-area: sidebar;
}
/* Tableaux Calendar pleine largeur partout */
.lind-agenda-content table,
.lind-agenda-content table[width],
#TableCalendarEvents {
  width: 100% !important;
  max-width: none !important;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 13px;   /* fixé en px pour ignorer le font-size:34px du body */
  line-height: 1.4;
}
#TableCalendarEvents th,
#TableCalendarEvents td {
  padding: 5px 8px;
  border: 1px solid var(--line);
  vertical-align: middle;
  line-height: 1.4;
}
#TableCalendarEvents th {
  background: var(--violet);
  color: #fff;
  text-align: left;
  white-space: nowrap;
}
/* Dates et Voir : pas de retour à la ligne */
#TableCalendarEvents td:nth-child(1),
#TableCalendarEvents td:nth-child(2),
#TableCalendarEvents td:nth-child(7) { white-space: nowrap; }
#TableCalendarEvents th:nth-child(7),
#TableCalendarEvents td:nth-child(7) { text-align: center; }

/* Styles génériques pour le HTML généré par Calendar.class.php */
.lind-agenda-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lind-agenda-content th { background: var(--violet); color: #fff; padding: 8px 12px; text-align: center; }
.lind-agenda-content td { padding: 8px 12px; border: 1px solid var(--line); vertical-align: top; }
.lind-agenda-content td a { color: var(--violet); text-decoration: none; }
.lind-agenda-content td a:hover { text-decoration: underline; }
.lind-agenda-content .today { background: var(--pale); font-weight: 700; }

/* ── Grille infos coordonnées ─────────────────────────────────── */
.lind-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin: 24px 0;
  padding: 18px;
  background: var(--pale);
  border-radius: 8px;
  border: 1px solid var(--line);
}
.lind-info-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--line);
  min-width: 0;
}
.lind-info-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 3px;
  display: block;
}
.lind-info-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.lind-info-label {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.2;
}
.lind-info-value {
  font-size: .88rem;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}
.lind-info-value a { color: var(--violet); text-decoration: none; }
.lind-info-value a:hover { text-decoration: underline; }
.lind-info-card--wide { grid-column: span 2; }

/* Tags */
.lind-entry-tags { margin: 24px 0 0; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lind-entry-tags span { font-weight: 700; color: var(--violet); }
.lind-entry-tags ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lind-entry-tags li a { background: var(--pale); border: 1px solid var(--line); padding: 3px 10px; border-radius: 20px; color: var(--violet); font-size: .85rem; }
.lind-entry-tags li a:hover { background: var(--violet); color: #fff; }

@media (max-width: 1024px) {
  .lind-single-grid { grid-template-columns: 1fr; }
}

/* Gutenberg */
.wp-block-button__link { background: var(--violet) !important; color: #fff !important; border-radius: 4px; }
.wp-block-button__link:hover { background: var(--violet-dark) !important; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lind-accueil-grid { grid-template-columns: 1fr; }
  .lind-sommaire-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  /* Hamburger visible */
  .menu-toggle { display: flex; }
  /* Nav cachée par défaut */
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 3px solid var(--violet); box-shadow: 0 6px 18px rgba(0,0,0,.12); flex-direction: column; align-items: stretch; z-index: 999; padding: 10px 0; }
  .main-nav.nav-open { display: flex; }
  .main-nav .lind-menu { flex-direction: column; gap: 0; padding: 0; }
  .main-nav .lind-menu > li > a { border-radius: 0; border-bottom: 1px solid var(--line); padding: 12px 20px; }
  .main-nav .lind-menu .sub-menu { position: static; box-shadow: none; border: none; border-radius: 0; background: var(--pale); display: none; }
  .main-nav .lind-menu li.sub-open > .sub-menu { display: block; }
  .main-nav .lind-menu .sub-menu li a { padding: 10px 30px; }
  /* Layouts */
  .page-layout { grid-template-columns: 1fr; padding: 20px 0 40px; }
  .lind-accueil-inner { grid-template-columns: 1fr; }
  .lind-couverture { display: flex; gap: 16px; align-items: center; }
  .lind-couverture img { max-width: 120px; }
  .lind-categories { columns: 1; }
  .lind-sommaire-panel { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 32px); }

  /* ── Agenda tpl : pleine largeur + sidebar en dessous ── */
  .lind-agenda-tpl {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
  .lind-agenda-tpl .lind-cat-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "sidebar" !important;
  }
  .lind-agenda-tpl #lind-agenda-zone,
  .lind-agenda-tpl .lind-agenda-main { grid-area: content; }
  .lind-agenda-tpl .lind-col-droite { grid-area: sidebar; }
}

/* ── Widget Agenda dans sidebar ──────────────────────────────────── */
.widget_calendar .wp-calendar-nav { display: flex; justify-content: space-between; align-items: center; padding: 6px 0 10px; font-size: .9rem; }
.widget_calendar .wp-calendar-nav a { color: var(--violet); font-weight: 700; padding: 2px 6px; }
.widget_calendar caption { font-size: 1rem; font-weight: 700; color: var(--violet); padding-bottom: 8px; display: block; text-align: center; }
.widget_calendar table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.widget_calendar th { background: var(--violet); color: #fff; padding: 6px 4px; text-align: center; font-weight: 600; }
.widget_calendar td { padding: 7px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.widget_calendar td a { color: var(--violet); font-weight: 700; }
.widget_calendar td#today { background: var(--violet); color: #fff; border-radius: 3px; font-weight: 700; }
.widget_calendar td#today a { color: #fff; }

/* Calendrier custom (widget agenda chartrain) */
#Calendar { width: 100% !important; border-collapse: collapse; table-layout: fixed; }
#Calendar th, #Calendar td { width: auto !important; text-align: center !important; padding: 6px 2px !important; font-size: .85rem; }
#Calendar th { background: var(--violet); color: #fff; }
#Calendar td { border-bottom: 1px solid var(--line); }
#Calendar .Calendar-Chevron { color: #fff; font-weight: 700; }
#Calendar a.text-primary { color: var(--violet) !important; font-weight: 700; }
#Calendar a.text-danger, #Calendar span.text-danger { color: #c0392b !important; font-weight: 700; }

/* ── Agenda : tableau injecté par ListCalendar1.js ──────────────── */
.mh-category-desc {
  background: var(--pale) !important;
  border-left: 4px solid var(--violet) !important;
  padding: 12px 18px !important;
  margin-bottom: 28px !important;
  font-size: 0.85em;
  color: var(--muted) !important;
  border-radius: 0 6px 6px 0;
}
.mh-category-desc p,
.mh-category-desc br { color: var(--muted) !important; }

#TableCalendarEvents {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82em;
  margin-top: 12px;
}
#TableCalendarEvents th {
  background: var(--violet);
  color: #fff;
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
}
#TableCalendarEvents td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
#TableCalendarEvents tr:hover td { background: var(--pale) !important; }
#TableCalendarEvents td a { color: var(--violet); font-weight: 600; }
#TableCalendarEvents td font { font-size: inherit !important; }

/* ── Agenda : filtres autocomplete ──────────────────────────────── */
#lind-agenda-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.lind-filter-wrap {
  position: relative;
  flex: 1 1 160px;
  min-width: 140px;
}
.lind-filter-input {
  width: 100%;
  padding: 7px 32px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.82em;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
}
.lind-filter-input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 2px rgba(123,45,139,.12);
}
.lind-filter-reset {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1em;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}
.lind-filter-reset:hover { color: var(--violet); }
.lind-filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--violet);
  border-radius: 0 0 5px 5px;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 200px;
  overflow-y: auto;
  z-index: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.lind-filter-dropdown li {
  padding: 7px 12px;
  font-size: 0.82em;
  cursor: pointer;
  color: var(--ink);
}
.lind-filter-dropdown li:hover {
  background: var(--pale);
  color: var(--violet);
}

/* ══════════════════════════════════════════════════════════════
   BLOCS CONSEILS DU MOMENT
   ══════════════════════════════════════════════════════════════ */

/* Section wrapper */
.lind-conseils-section {
  margin: 48px 0 32px;
}
.lind-conseils-header {
  margin-bottom: 20px;
}
.lind-conseils-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--violet-dark);
  border-left: 4px solid var(--violet);
  padding-left: 12px;
}

/* Grille 3 colonnes */
.lind-conseils-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 991px) {
  .lind-conseils-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Colonne */
.lind-conseil-col {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* Bannière colorée */
.lind-conseil-banner {
  background: var(--cat-color, var(--violet));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}
.lind-conseil-icon { font-size: 1.4rem; line-height: 1; }
.lind-conseil-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Liste articles */
.lind-conseil-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lind-conseil-item {
  border-bottom: 1px solid var(--line);
}
.lind-conseil-item:last-child { border-bottom: none; }

.lind-conseil-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink);
  transition: background .12s, color .12s;
}
.lind-conseil-link:hover {
  background: var(--pale);
  color: var(--violet);
}
.lind-conseil-titre {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
}
.lind-conseil-arrow {
  color: var(--cat-color, var(--violet));
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform .12s;
}
.lind-conseil-link:hover .lind-conseil-arrow { transform: translateX(3px); }

/* Lien "voir tous" */
.lind-conseil-more {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--cat-color, var(--violet));
  text-decoration: none;
  border-top: 1px solid var(--line);
  background: var(--pale);
  transition: background .12s;
}
.lind-conseil-more:hover { background: var(--line); }

/* ── Page article unique ──────────────────────────────────── */
.lind-conseil-banner--single {
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 1.1rem;
}
.lind-conseil-article-titre {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}
.lind-conseil-article-extrait {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ── Page archive ─────────────────────────────────────────── */
.lind-archive-titre {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--violet-dark);
}

/* Filtres */
.lind-conseils-filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lind-filtre-btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  border: 2px solid var(--cat-color, var(--violet));
  color: var(--cat-color, var(--violet));
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  transition: background .12s, color .12s;
}
.lind-filtre-btn:hover,
.lind-filtre-btn.active {
  background: var(--cat-color, var(--violet));
  color: #fff;
}

/* Grille archive */
.lind-conseils-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .lind-conseils-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .lind-conseils-archive-grid { grid-template-columns: 1fr; }
}

/* Carte archive */
.lind-conseil-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}
.lind-conseil-card-banner {
  background: var(--cat-color, var(--violet));
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 7px 14px;
}
.lind-conseil-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lind-conseil-card-titre {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}
.lind-conseil-card-extrait {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.lind-conseil-card-btn {
  display: inline-block;
  margin-top: auto;
  font-size: .82rem;
  font-weight: 700;
  color: var(--violet);
  text-decoration: none;
}
.lind-conseil-card-btn:hover { color: var(--violet-dark); }
.lind-conseil-card-date {
  padding: 6px 14px;
  font-size: .75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--pale);
}

/* Pagination archive */
.lind-pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.lind-page-btn {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 34px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--violet);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  transition: background .12s, color .12s;
}
.lind-page-btn:hover,
.lind-page-btn.active {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}

/* ── Fil d'Ariane conseils ────────────────────────────────── */
.lind-breadcrumb {
  font-size: .85rem;
  color: var(--muted);
}
.lind-breadcrumb a {
  color: var(--violet);
  text-decoration: none;
}
.lind-breadcrumb a:hover { text-decoration: underline; }

/* ── Modal conseils taille fixe ──────────────────────────────── */
.lind-conseil-modal-fixe .modal-dialog,
#lind-3col-modal .modal-dialog {
  height: 80vh;
  max-height: 80vh;
}
.lind-conseil-modal-fixe .modal-content,
#lind-3col-modal .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.lind-conseil-modal-fixe .modal-body,
#lind-3col-modal .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
}
#lind-conseil-modal .modal-dialog {
  height: 80vh;
  max-height: 80vh;
}
#lind-conseil-modal .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#lind-conseil-modal .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
}