/*
Theme Name: Ntite Mukendi
Description: Thème du site officiel d'Aubert Ntite Mukendi, d'après la maquette de refonte (en-tête sur une ligne, frise kuba, sections éditoriales).
Version: 1.4.3
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ntite-mukendi
*/

/* ---------- Tokens ---------- */
:root {
  --brand-brown: #4A2614;
  --btn: #A85338;
  --btn-hover: #8C3D26;
  --nav-gray: #555555;
  --text: #1E1E1E;
  --heading: #111111;
  --muted: #6B7280;
  --body-soft: #4B5563;
  --line: #E5E7EB;
  --cream: #FAFAF8;
  --cream-2: #F9F7F4;
  --card: #FCFBF9;
  --icon-bg: #F4ECE6;
  --footer-bg: #1F140E;

  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;

  --wrap: 1340px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--btn); text-decoration: none; }
a:hover { color: var(--btn-hover); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--heading); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
  background: #fff; padding: 8px 12px; border: 2px solid var(--btn);
}
:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.site-main { flex: 1 0 auto; }

.eyebrow {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .35rem;
}
.eyebrow--accent { color: var(--btn); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--btn); color: #fff;
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 1rem 1.75rem; border: 0; border-radius: 6px; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  transition: background-color .2s;
}
.btn:hover { background: var(--btn-hover); color: #fff; }
.link-arrow {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--btn); display: inline-flex; gap: .3rem; align-items: center;
}
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid #F3F4F6;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header__bar {
  max-width: 1400px; margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-logo { flex-shrink: 0; display: block; }
.site-logo img { height: 34px; width: auto; }
@media (min-width: 640px) { .site-logo img { height: 40px; } }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.75rem; }
.main-nav a, .nav-link {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .08em;
  font-weight: 600;
  color: var(--nav-gray);
  white-space: nowrap;
  transition: color .15s ease-in-out;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-page-ancestor > a { color: var(--btn); }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; cursor: pointer; color: #374151;
}
.menu-toggle svg { width: 24px; height: 24px; display: block; }
.menu-toggle:hover { color: var(--btn); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.08); }
.mobile-nav ul { list-style: none; margin: 0; padding: 1rem var(--gutter) 1.25rem; }
.mobile-nav li + li { margin-top: .75rem; }
.mobile-nav a {
  display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #374151;
}
.mobile-nav .current-menu-item > a, .mobile-nav a:hover { color: var(--btn); font-weight: 700; }
.mobile-nav.is-open { display: block; }

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
}
@media (min-width: 1101px) {
  .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* Frise kuba : le motif d'origine du site en bandeau */
.frise {
  height: 50px;
  background-color: #63361c;
  background-image: url("assets/frise-kuba.jpg");
  background-repeat: repeat-x;
  background-size: auto 100%;
  border-top: 1px solid #3b1b0b;
  border-bottom: 1px solid #3b1b0b;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section--cream { background: var(--cream); }
.section--cream-2 { background: var(--cream-2); border-top: 1px solid var(--line); }
.section--bordered { border-top: 1px solid var(--line); }
.section-title { font-size: clamp(1.6rem, 3vw, 1.875rem); font-weight: 800; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem;
  margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.section-head .section-title { margin: 0; }

/* Hero */
.hero { padding: clamp(3rem, 6vw, 5rem) 0; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.hero__title { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: .25rem 0 .5rem; }
.hero__dates { font-family: var(--font-heading); font-weight: 600; font-size: .875rem; color: var(--muted); margin-bottom: 1.25rem; }
.hero__text { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.7; max-width: 36rem; }
.hero__cta { padding-top: .75rem; }

.triptych { display: flex; gap: clamp(.75rem, 1.5vw, 1rem); justify-content: center; }
@media (min-width: 1024px) { .triptych { justify-content: flex-end; } }
.triptych__main, .triptych__side figure {
  position: relative; margin: 0; overflow: hidden; border-radius: 2px;
  background: #F3F4F6; border: 1px solid var(--line); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1);
}
.triptych__main { width: 58%; max-width: 20rem; }
.triptych__main img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: top; filter: grayscale(100%) contrast(1.1); transition: filter .3s ease; }
.triptych__main:hover img { filter: grayscale(70%) contrast(1.15); }
@media (min-width: 640px) { .triptych__main img { min-height: 380px; } }
.triptych__side { width: 42%; max-width: 14rem; display: flex; flex-direction: column; gap: clamp(.75rem, 1.5vw, 1rem); }
.triptych__side figure { flex: 1; }
.triptych__side img { width: 100%; height: 100%; object-fit: cover; }
.triptych__side figure:first-child img { filter: saturate(.85) contrast(1.05); }
.triptych__side figure:last-child img { filter: sepia(.25); }
.triptych__caption {
  position: absolute; left: .5rem; bottom: .5rem;
  background: rgba(0,0,0,.6); color: #fff; font-size: .65rem; padding: .1rem .5rem; border-radius: 3px;
}

.divider { max-width: var(--wrap); margin: 0 auto; border: 0; border-bottom: 1px solid var(--line); }

/* Parcours */
.parcours__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .parcours__grid { grid-template-columns: 1fr 2fr; } }
.parcours__intro h2 { font-size: 1.875rem; font-weight: 700; color: var(--text); margin-top: .5rem; }
.parcours__intro p { font-size: .9rem; color: var(--body-soft); line-height: 1.7; }
.quote-box {
  background: #fff; border-left: 4px solid var(--btn); box-shadow: 0 1px 2px rgba(0,0,0,.06);
  border-radius: 0 4px 4px 0; padding: 1rem 1.1rem; margin: 1.25rem 0 0;
}
.quote-box p { font-family: var(--font-serif); font-style: italic; font-size: .82rem; color: #374151; line-height: 1.75; margin: 0; }
.quote-box cite { display: block; text-align: right; font-style: normal; font-size: .7rem; font-weight: 700; color: var(--brand-brown); margin-top: .6rem; }

.cards { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; padding: 1.5rem; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.card__icon {
  width: 2.5rem; height: 2.5rem; border-radius: 4px; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--icon-bg); color: var(--btn);
}
.card__icon svg { width: 1.15rem; height: 1.15rem; }
.card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.card p { font-size: .82rem; color: var(--body-soft); line-height: 1.7; margin: 0; }

/* Ouvrages */
.books { display: grid; gap: 1.75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .books { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .books { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 479px) { .books { grid-template-columns: 1fr; } }
.book {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 4px; padding: 1rem; background: var(--card);
  transition: box-shadow .2s;
}
.book:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.book__cover {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 4; margin-bottom: 1rem; padding: 1rem;
  background: #3E2114; border-radius: 4px; border-left: 4px solid #C88A58;
}
.book__cover img { max-height: 100%; width: auto; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.book__kicker { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--btn); }
.book h3 { font-size: 1rem; font-weight: 700; margin: .3rem 0 .4rem; transition: color .2s; }
.book:hover h3 { color: var(--btn); }
.book p { font-size: .8rem; color: var(--body-soft); line-height: 1.6; flex: 1; }
.book__foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: .6rem; font-size: .75rem;
}
.book__foot span { color: var(--muted); font-weight: 600; }
.book__foot a { font-weight: 700; }

/* Presse */
.press-intro { max-width: 42rem; margin-bottom: 2.5rem; }
.press-intro p { font-size: .9rem; color: var(--body-soft); margin-top: .5rem; }
.press-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .press-grid { grid-template-columns: 1fr 1fr; } }
.press-card {
  background: #fff; padding: 1.5rem; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05); display: flex; flex-direction: column; justify-content: space-between;
}
.press-card__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; color: #9CA3AF; margin-bottom: .75rem; }
.press-card__source { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--btn); }
.press-card h3 { font-size: 1.125rem; font-weight: 700; }
.press-card h3 a { color: var(--heading); }
.press-card h3 a:hover { color: var(--btn); }
.press-card__excerpt { font-family: var(--font-serif); font-style: italic; font-size: .8rem; color: var(--body-soft); line-height: 1.75; }
.press-card__more { text-align: right; }
.press-more { margin-top: 2rem; text-align: center; }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band p { font-size: .9rem; color: var(--body-soft); margin: .5rem 0 0; max-width: 40rem; }

/* Contact */
.contact__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 5fr 7fr; } }
.contact__intro p { font-size: .9rem; color: var(--body-soft); line-height: 1.7; }
.contact__info { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .82rem; color: #374151; }
.contact__info h3 { font-size: .9rem; font-weight: 700; margin-bottom: .6rem; }
.contact__info address { font-style: normal; line-height: 1.7; }
.contact__info ul { list-style: none; margin: .75rem 0 0; padding: 0; }
.contact__info li { display: flex; align-items: center; gap: .6rem; margin-top: .35rem; }
.contact__info svg { width: 14px; height: 14px; color: var(--btn); flex-shrink: 0; }

.form {
  background: #FAF9F7; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05); display: grid; gap: 1rem;
}
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: #374151; margin-bottom: .3rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: .9rem; color: var(--text);
  background: #fff; border: 1px solid #D1D5DB; border-radius: 4px; padding: .65rem .75rem;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 3px rgba(168,83,56,.15); }
.form .btn { justify-self: start; padding: .8rem 2rem; font-size: .75rem; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .75rem 1rem; border-radius: 4px; font-size: .82rem; }
.notice--ok { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.notice--err { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ---------- Pages & articles ---------- */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.page-hero .entry-meta { margin-top: .75rem; font-size: .8rem; color: var(--muted); }
.page-hero .entry-meta a { font-weight: 600; }

.entry { padding: 3rem 0 4rem; }
.entry-content { max-width: 46rem; margin: 0 auto; font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.85; color: #262626; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5 { font-family: var(--font-heading); margin: 2.2rem 0 .8rem; }
.entry-content h2 { font-size: 1.6rem; font-weight: 800; }
.entry-content h3 { font-size: 1.25rem; font-weight: 700; }
.entry-content h5 { font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: .25rem; }
.entry-content img { margin: 1.5rem auto; border-radius: 3px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid var(--btn); font-style: italic; color: #374151; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content iframe { max-width: 100%; display: block; margin: 1.5rem auto; border: 0; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="vimeo"], .entry-content iframe[src*="dailymotion"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: .5rem; }

/* Grilles de couvertures dans les pages (Écrits) */
.entry-content .nm-tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 1.5rem 0 2.5rem; }
.entry-content .nm-tiles figure { margin: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: .75rem; }
.entry-content .nm-tiles img { margin: 0 auto .75rem; max-height: 200px; width: auto; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.entry-content .nm-tiles figcaption { font-family: var(--font-body); font-size: .78rem; line-height: 1.5; color: var(--body-soft); display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.entry-content .nm-tiles figcaption strong { font-family: var(--font-heading); font-size: .85rem; color: var(--heading); }
.entry-content .nm-tiles figcaption a { margin-top: auto; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }

.post-nav { max-width: 46rem; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.post-nav a { font-weight: 600; }

.archive-list { display: grid; gap: 1.5rem; padding: 3rem 0 4rem; }
@media (min-width: 768px) { .archive-list { grid-template-columns: 1fr 1fr; } }
.pagination { padding-bottom: 4rem; display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 4px; font-size: .85rem; }
.pagination .current { background: var(--btn); border-color: var(--btn); color: #fff; }

.search-form { display: flex; gap: .5rem; max-width: 28rem; }
.search-form input[type="search"] { flex: 1; font: inherit; padding: .6rem .75rem; border: 1px solid #D1D5DB; border-radius: 4px; }
.search-form button { padding: .6rem 1.1rem; font-size: .7rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #D1D5DB; border-top: 4px solid var(--btn); padding: 3rem 0 1.5rem; font-size: .8rem; }
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__logo img { height: 30px; width: auto; margin-bottom: .9rem; }
.site-footer p { color: #9CA3AF; line-height: 1.7; max-width: 28rem; }
.site-footer h4 { color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: .4rem; }
.site-footer a { color: #9CA3AF; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1.5rem; font-size: .7rem; color: #9CA3AF; }

/* Titre aligné sur la colonne de lecture (pages et articles) */
.page-hero--narrow .wrap { max-width: calc(46rem + 2 * var(--gutter)); }

/* Pages construites avec Elementor : pleine largeur, l'éditeur gère la mise en page */
.entry-elementor { width: 100%; }

/* Cartes livres : deux liens (Découvrir / Acheter) */
.book__links { display: flex; gap: .9rem; }
.book h3 a { color: inherit; }


/* Vidéos (YouTube / Vimeo) */
.videos { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin: 2rem 0; }
.entry-content .videos { font-family: var(--font-body); }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; margin: 0; }
.video figcaption { padding-top: .75rem; }
.video h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .3rem; }
.video p { font-size: .85rem; color: var(--body-soft); line-height: 1.6; margin: 0 0 .25rem; }
.video__credit { font-size: .75rem !important; color: var(--muted) !important; }

/* Sections Ntite Mukendi dans Elementor : pas de marge ajoutée par Elementor */
.elementor-widget[class*="elementor-widget-nm_"] > .elementor-widget-container { margin: 0; padding: 0; }

/* Pages converties à Elementor : les blocs Texte gardent le style de lecture du site
   (colonne de 46rem, Merriweather), les autres widgets gardent la largeur Elementor. */
.entry-elementor--page { padding: 3rem 0 4rem; }
/* Elementor caps widgets with ".e-con.e-con > .e-con-inner > .elementor-widget { max-width: 100% }": one notch more specific here. */
.entry-elementor.entry-elementor--page .e-con > .e-con-inner > .elementor-widget:is(.elementor-widget-text-editor, .elementor-widget-heading),
.entry-elementor.entry-elementor--page .e-con.e-con > .elementor-widget:is(.elementor-widget-text-editor, .elementor-widget-heading) {
  max-width: 46rem; width: 100%; margin-left: auto; margin-right: auto;
}
.entry-elementor--page .elementor-widget-text-editor {
  font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.85; color: #262626;
}
.entry-elementor--page .elementor-widget-text-editor h2,
.entry-elementor--page .elementor-widget-text-editor h3,
.entry-elementor--page .elementor-widget-text-editor h4 { font-family: var(--font-heading); margin: 2.2rem 0 .8rem; }
.entry-elementor--page .elementor-widget-text-editor h2 { font-size: 1.6rem; font-weight: 800; }
.entry-elementor--page .elementor-widget-text-editor h3 { font-size: 1.25rem; font-weight: 700; }
.entry-elementor--page .elementor-widget-text-editor p { margin: 0 0 1em; }
.entry-elementor--page .elementor-widget-text-editor img { margin: 1.5rem auto; border-radius: 3px; height: auto; }
.entry-elementor--page .elementor-widget-text-editor a { text-decoration: underline; text-underline-offset: 3px; }
.entry-elementor--page .elementor-widget-text-editor blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid var(--btn); font-style: italic; color: #374151; }
.entry-elementor--page .elementor-widget-text-editor iframe { max-width: 100%; display: block; margin: 1.5rem auto; border: 0; }
.entry-elementor--page .elementor-widget-text-editor ul,
.entry-elementor--page .elementor-widget-text-editor ol { padding-left: 1.4rem; }

/* Pages Elementor : colonnes (ex. photo + texte) alignées à gauche, titres et images au style du site */
.entry-elementor.entry-elementor--page .e-con.e-child > .elementor-widget:is(.elementor-widget-text-editor, .elementor-widget-heading),
.entry-elementor.entry-elementor--page .e-con.e-child > .e-con-inner > .elementor-widget:is(.elementor-widget-text-editor, .elementor-widget-heading) {
  margin-left: 0;
}
.entry-elementor--page .elementor-heading-title {
  font-family: var(--font-heading); font-size: clamp(1.4rem, 2.5vw, 1.75rem); font-weight: 800; color: var(--heading); line-height: 1.2;
}
.entry-elementor--page .elementor-widget-image img {
  border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1);
}
.entry-elementor--page .nm-intro { padding-bottom: 3rem; }
.entry-elementor--page .nm-band { padding-top: 2.5rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.entry-elementor--page .elementor-widget-text-editor h3 { font-size: 1.1rem; margin: 1.8rem 0 .5rem; }
.entry-elementor--page .elementor-widget-text-editor li { margin-bottom: .35rem; }

/* Adresse e-mail directe (page Contact) */
.contact__direct { list-style: none; margin: 1rem 0 0; padding: 0; font-size: .95rem; font-weight: 600; }
.contact__direct li { display: flex; align-items: center; gap: .6rem; }
.contact__direct svg { width: 16px; height: 16px; color: var(--btn); flex-shrink: 0; }

/* Réseaux sociaux (pied de page et page Contact) */
.social { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.social svg { width: 15px; height: 15px; flex-shrink: 0; }
.social--footer a { color: #D1D5DB; border: 1px solid rgba(255,255,255,.18); }
.social--footer a:hover { color: #fff; border-color: var(--btn); background: var(--btn); }
.social--page a { color: var(--btn); border: 1px solid #E8D5CC; background: #fff; }
.social--page a:hover { color: #fff; background: var(--btn); border-color: var(--btn); }
.contact__social-title { margin: 1.4rem 0 0; font-size: .8rem; font-weight: 700; color: #374151; }
.contact__social-title + .social { margin-top: .6rem; }

/* Cartes revue de presse compactes : logo du journal en vignette à gauche, texte à droite */
.press-card {
  display: grid; grid-template-columns: 88px 1fr; gap: 1.1rem; align-items: start;
  padding: 1.1rem 1.25rem;
}
.press-card__thumb {
  width: 88px; height: 88px; display: flex; align-items: center; justify-content: center;
  padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; color: var(--btn);
}
.press-card__thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.press-card__thumb svg { width: 28px; height: 28px; opacity: .7; }
.press-card__body { min-width: 0; display: flex; flex-direction: column; }
.press-card__meta { margin-bottom: .35rem; }
.press-card h3 { font-size: 1rem; line-height: 1.35; margin-bottom: .35rem; }
.press-card__excerpt {
  font-size: .78rem; line-height: 1.6; margin: 0 0 .5rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.press-card__more { align-self: flex-start; font-size: .68rem; }
@media (max-width: 479px) {
  .press-card { grid-template-columns: 64px 1fr; gap: .85rem; padding: 1rem; }
  .press-card__thumb { width: 64px; height: 64px; padding: 6px; }
}

/* Aperçus Kindle d'Amazon (lire.amazon.fr) : leur contenu a besoin d'au moins ~380 px de large,
   sinon les boutons « Obtenir le livre / Lire l'exemple » sont coupés. Largeur fluide, et sur les
   petits écrans le cadre garde 380 px mais est réduit à l'échelle de l'écran. */
.entry-content iframe[src*="lire.amazon"],
.entry-elementor--page .elementor-widget-text-editor iframe[src*="lire.amazon"] {
  width: 100%; max-width: 480px; min-width: 380px; height: 560px;
}
@media (max-width: 419px) {
  .entry-content iframe[src*="lire.amazon"],
  .entry-elementor--page .elementor-widget-text-editor iframe[src*="lire.amazon"] { width: 380px; max-width: none; zoom: .9; }
}
@media (max-width: 374px) {
  .entry-content iframe[src*="lire.amazon"],
  .entry-elementor--page .elementor-widget-text-editor iframe[src*="lire.amazon"] { zoom: .8; }
}
@media (max-width: 339px) {
  .entry-content iframe[src*="lire.amazon"],
  .entry-elementor--page .elementor-widget-text-editor iframe[src*="lire.amazon"] { zoom: .74; }
}
