/* ==========================================================
   BlogNews — feuille de style principale
   Typo   : Newsreader (titres/éditorial) + Manrope (interface)
   Palette: navy #0B1D3A · bleu #1656D9 · ambre #C8862E
            papier #F6F4EE · encre #16181D
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --navy: #0B1D3A;
  --navy-2: #122A52;
  --blue: #1656D9;
  --blue-ink: #0E3E9E;
  --amber: #C8862E;
  --amber-ink: #8F5E1B;
  --paper: #F6F4EE;
  --paper-2: #EFEBDF;
  --ink: #16181D;
  --grey: #6B7280;
  --line: #DAD5C6;
  --line-strong: #C9C4B0;
  --white: #FFFFFF;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--serif); font-weight:600; margin:0; }
button{ font-family: var(--sans); cursor:pointer; }
:focus-visible{ outline: 3px solid var(--amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

.wrap{ max-width: var(--maxw); margin:0 auto; padding:0 20px; }

/* ---------- skip link ---------- */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--navy); color:var(--white);
  padding:10px 16px; z-index:200;
}
.skip-link:focus{ left:12px; top:12px; }

/* ---------- top utility bar ---------- */
.topbar{ background: var(--navy); color: rgba(255,255,255,.72); font-size:13px; }
.topbar .wrap{ display:flex; justify-content:space-between; align-items:center; height:34px; }
.topbar time{ letter-spacing:.02em; }
.topbar a{ color: rgba(255,255,255,.85); }
.topbar a:hover{ color:#fff; }

/* ---------- header ---------- */
.site-header{ background: var(--paper); border-bottom: 1px solid var(--line); position:sticky; top:0; z-index:100; }
.header-inner{ display:flex; align-items:center; gap:28px; padding:16px 0; }
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.brand img{ width:38px; height:38px; border-radius:9px; }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-text strong{ font-family:var(--serif); font-size:24px; font-weight:700; color:var(--navy); letter-spacing:-0.01em; }
.brand-text span{ font-size:10.5px; letter-spacing:.14em; color: var(--amber-ink); font-weight:700; margin-top:3px; }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav > ul{ display:flex; align-items:center; gap:2px; }
.main-nav a.nav-link{
  display:block; padding:10px 14px; font-weight:600; font-size:14.5px; color: var(--ink);
  border-bottom: 2px solid transparent;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active{ color: var(--blue-ink); border-color: var(--blue); }
.nav-item.has-drop{ position:relative; }
.nav-item.has-drop:hover .dropdown, .nav-item.has-drop:focus-within .dropdown{ display:grid; }
.nav-item.lit > .nav-link{ color: var(--amber-ink); }
.nav-item.lit > .nav-link:hover, .nav-item.lit > .nav-link.active{ border-color: var(--amber); color:var(--amber-ink); }
.dropdown{
  display:none; position:absolute; top:100%; left:0; background:var(--white);
  border:1px solid var(--line); box-shadow: 0 12px 28px rgba(11,29,58,.12);
  min-width:190px; padding:8px; grid-template-columns:1fr; gap:2px; z-index:50;
}
.dropdown a{ padding:9px 12px; font-size:14px; font-weight:500; border-radius:5px; color:var(--ink); }
.dropdown a:hover{ background: #FBF3E7; color: var(--amber-ink); }

.header-actions{ display:flex; align-items:center; gap:14px; }
.icon-btn{ width:36px; height:36px; border-radius:50%; border:1px solid var(--line); background:var(--white); display:flex; align-items:center; justify-content:center; color:var(--navy); }
.icon-btn:hover{ border-color: var(--blue); color:var(--blue); }
.menu-toggle{ display:none; background:none; border:0; padding:6px; }

/* ---------- flash / ticker ---------- */
.flash{ background:var(--ink); color:#fff; }
.flash .wrap{ display:flex; align-items:center; gap:14px; height:44px; }
.flash-tag{ background:var(--amber); color:#1a1200; font-weight:800; font-size:11.5px; letter-spacing:.08em; padding:5px 10px; border-radius:3px; flex-shrink:0; }
.flash-text{ flex:1; overflow:hidden; white-space:nowrap; position:relative; height:20px; }
.flash-text span{ position:absolute; inset:0; font-size:14px; font-weight:500; opacity:0; }
.flash-text span.on{ opacity:1; }
.flash-nav{ display:flex; gap:6px; flex-shrink:0; }
.flash-nav button{ width:26px; height:26px; border-radius:50%; border:1px solid rgba(255,255,255,.3); background:transparent; color:#fff; }
.flash-nav button:hover{ background:rgba(255,255,255,.12); }

/* ---------- section heading ---------- */
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin: 46px 0 20px; padding-bottom:12px; border-bottom:2px solid var(--ink); }
.section-head h2{ font-size:26px; }
.section-head .more{ font-size:13.5px; font-weight:700; color:var(--blue-ink); white-space:nowrap; }
.section-head .more:hover{ text-decoration:underline; }
.section-head.lit{ border-color:var(--amber); }
.section-head.lit .more{ color:var(--amber-ink); }

/* ---------- tag pill ---------- */
.tag{ display:inline-block; font-size:11px; font-weight:800; letter-spacing:.04em; padding:4px 9px; border-radius:3px; background:var(--blue); color:#fff; }
.tag.lit{ background:var(--amber); color:#241703; }
.tag.outline{ background:transparent; border:1px solid currentColor; }

/* ---------- hero / à la une (carrousel) ---------- */
.hero-une{ margin-top:28px; }
.hero-une-grid{ display:grid; grid-template-columns: 1.55fr 1fr; align-items:stretch; gap:10px; }

.hero-carousel{ position:relative; overflow:hidden; background:var(--ink); min-height:420px; border-radius:6px; box-shadow:0 12px 30px rgba(11,29,58,.2); touch-action:pan-y; cursor:grab; }
.hero-carousel:active{ cursor:grabbing; }
.hero-carousel .hero-badge{ position:absolute; top:0; left:0; z-index:4; background:var(--ink); color:#fff; font-weight:800; font-size:11.5px; letter-spacing:.06em; padding:9px 16px; border-radius:0 0 6px 0; }

.hero-track{ display:flex; width:100%; height:100%; min-height:420px; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.hero-slide{ position:relative; flex:0 0 100%; min-height:420px; display:flex; align-items:flex-end; }
.hero-slide img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.9; user-select:none; -webkit-user-drag:none; }
.hero-slide::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.86) 5%, rgba(0,0,0,.15) 60%); }
.hero-slide .hero-content{ position:relative; z-index:2; padding:28px 68px 28px 30px; color:#fff; }
.hero-slide .tag{ margin-bottom:12px; }
.hero-slide h1{ font-size:32px; line-height:1.16; color:#fff; }
.hero-slide h1 a:hover{ text-decoration:underline; }
.hero-slide .meta{ margin-top:12px; font-size:13px; color:rgba(255,255,255,.75); }

.hero-nav{ position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:38px; height:38px; border-radius:50%; background:rgba(0,0,0,.42); color:#fff; border:1px solid rgba(255,255,255,.5); display:flex; align-items:center; justify-content:center; font-size:19px; line-height:1; }
.hero-nav:hover{ background:rgba(0,0,0,.7); }
.hero-nav.prev{ left:14px; }
.hero-nav.next{ right:14px; }
.hero-dots{ position:absolute; bottom:14px; left:50%; transform:translateX(-50%); z-index:5; display:flex; gap:6px; }
.hero-dots button{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.45); border:0; padding:0; }
.hero-dots button.active{ background:#fff; width:22px; border-radius:4px; }

.hero-thumbs{ display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(5,1fr); gap:3px; background:var(--ink); height:100%; border-radius:6px; overflow:hidden; }
.hero-thumb{ position:relative; display:block; overflow:hidden; background:var(--paper-2); min-height:0; }
.hero-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease, opacity .2s ease; }
.hero-thumb:hover img{ transform:scale(1.06); opacity:.92; }

.hero-links{ display:flex; justify-content:flex-end; gap:8px; padding:12px 2px; font-size:13px; font-weight:700; color:var(--grey); background:#fff; border:1px solid var(--line); border-top:0; }
.hero-links a{ color:var(--blue-ink); }
.hero-links a:hover{ text-decoration:underline; }
.hero-links .sep{ color:var(--line-strong); }

/* La une et la grille restent côte à côte à toutes les tailles, comme sur mobile KOACI */
@media (max-width:760px){
  .hero-une-grid{ grid-template-columns: 1.4fr 1fr; gap:6px; }
  .hero-carousel, .hero-track, .hero-slide{ min-height:280px; }
  .hero-slide .hero-content{ padding:16px 40px 16px 16px; }
  .hero-slide h1{ font-size:19px; line-height:1.22; }
  .hero-slide .meta{ font-size:11.5px; margin-top:8px; }
  .hero-nav{ width:30px; height:30px; font-size:16px; }
  .hero-nav.prev{ left:8px; } .hero-nav.next{ right:8px; }
  .hero-carousel .hero-badge{ font-size:10px; padding:7px 12px; }
}

/* ---------- communiqués à la une ---------- */
.cu-une{ margin-top:34px; padding:22px 0 26px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.cu-grid{ display:grid; grid-template-columns: 1fr 1.15fr 1fr; gap:24px; }
.cu-head{ font-family:var(--serif); font-size:16px; font-weight:700; margin:0 0 14px; padding-bottom:10px; border-bottom:2px solid var(--ink); }
.cu-head-amber{ text-align:right; color:var(--amber-ink); border-bottom-color:var(--amber); }
.cu-list{ display:flex; flex-direction:column; }
.cu-item{ padding:13px 0; border-bottom:1px solid var(--line); }
.cu-item:last-child{ border-bottom:0; }
.cu-right .cu-item{ text-align:right; }
.cu-item .cu-meta{ display:flex; gap:8px; align-items:baseline; font-size:11px; margin-bottom:6px; }
.cu-right .cu-item .cu-meta{ justify-content:flex-end; }
.cu-item .cu-tag{ color:var(--blue-ink); font-weight:800; letter-spacing:.03em; text-transform:uppercase; }
.cu-item .cu-date{ color:var(--grey); }
.cu-item h4{ font-family:var(--serif); font-size:14.5px; line-height:1.32; font-weight:700; margin:0 0 6px; }
.cu-item h4 a:hover{ color:var(--blue-ink); }
.cu-item p{ margin:0; font-size:12.5px; color:var(--grey); line-height:1.42; }
.cu-item .cu-foot{ margin-top:8px; font-size:11px; color:var(--grey); display:flex; gap:10px; }
.cu-right .cu-item .cu-foot{ justify-content:flex-end; }
.cu-item .cu-foot .cu-cat{ color:var(--blue-ink); font-weight:700; }

.cu-carousel{ position:relative; overflow:hidden; border-radius:4px; background:var(--paper-2); touch-action:pan-y; cursor:grab; }
.cu-carousel:active{ cursor:grabbing; }
.cu-track{ display:flex; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.cu-slide{ flex:0 0 100%; min-width:0; }
.cu-slide .thumb{ aspect-ratio:16/11; overflow:hidden; background:var(--paper-2); }
.cu-slide .thumb img{ width:100%; height:100%; object-fit:cover; user-select:none; -webkit-user-drag:none; }
.cu-slide .cu-body{ padding:14px 2px 2px; }
.cu-slide .cu-meta{ display:flex; gap:8px; align-items:baseline; font-size:11.5px; margin-bottom:8px; }
.cu-slide .cu-tag{ color:var(--blue-ink); font-weight:800; letter-spacing:.03em; text-transform:uppercase; }
.cu-slide .cu-date{ color:var(--grey); }
.cu-slide h4{ font-family:var(--serif); font-size:18px; line-height:1.3; font-weight:700; margin:0 0 8px; }
.cu-slide h4 a:hover{ color:var(--blue-ink); }
.cu-slide p{ margin:0; font-size:13.5px; color:var(--grey); line-height:1.45; }

.cu-dots{ display:flex; justify-content:center; gap:6px; margin-top:12px; }
.cu-dots button{ width:7px; height:7px; border-radius:50%; background:var(--line-strong); border:0; padding:0; }
.cu-dots button.active{ background:var(--ink); width:18px; border-radius:4px; }

/* ---------- bande de cartes défilable (mobile) ---------- */
.cu-scroll{
  display:none;
}

@media (max-width:760px){
  /* Sur mobile, la grille 3 colonnes est remplacée par une bande de cartes
     que l'on fait défiler au doigt de gauche à droite (scroll natif,
     avec un point d'ancrage par carte). */
  .cu-grid{ display:none; }
  .cu-scroll{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding:2px 2px 10px;
    margin:0 -2px;
  }
  .cu-scroll::-webkit-scrollbar{ display:none; }
  .cu-scroll-card{
    scroll-snap-align:start;
    flex:0 0 78%;
    max-width:320px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:8px;
    overflow:hidden;
  }
  .cu-scroll-card .thumb{ aspect-ratio:16/10; overflow:hidden; background:var(--paper-2); display:block; }
  .cu-scroll-card .thumb img{ width:100%; height:100%; object-fit:cover; }
  .cu-scroll-card .cu-scroll-body{ padding:12px; }
  .cu-scroll-card .cu-meta{ display:flex; gap:8px; align-items:baseline; font-size:10.5px; margin-bottom:6px; }
  .cu-scroll-card .cu-tag{ color:var(--blue-ink); font-weight:800; letter-spacing:.03em; text-transform:uppercase; }
  .cu-scroll-card .cu-date{ color:var(--grey); }
  .cu-scroll-card h4{ font-family:var(--serif); font-size:13.5px; line-height:1.3; font-weight:700; margin:0; }
}

/* ---------- article grid / cards ---------- */
.grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid.cols-4{ grid-template-columns:repeat(4,1fr); }
.card{ display:flex; flex-direction:column; border-top:3px solid var(--blue); background:#fff; }
.card.lit{ border-top-color: var(--amber); }
.card .thumb{ aspect-ratio: 16/10; overflow:hidden; background:var(--paper-2); }
.card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.card:hover .thumb img{ transform: scale(1.04); }
.card .body{ padding:14px 16px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.card .tag{ align-self:flex-start; }
.card h3{ font-size:17px; line-height:1.32; }
.card h3 a:hover{ color:var(--blue-ink); }
.card.lit h3 a:hover{ color:var(--amber-ink); }
.card p.excerpt{ font-size:13.5px; color:var(--grey); line-height:1.5; margin:0; }
.card .foot{ margin-top:auto; display:flex; justify-content:space-between; font-size:12px; color:var(--grey); padding-top:8px; }

/* ---------- row list (compact) ---------- */
.row-list{ display:flex; flex-direction:column; }
.row-item{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.row-item .thumb{ width:130px; height:88px; flex-shrink:0; overflow:hidden; background:var(--paper-2); }
.row-item .thumb img{ width:100%; height:100%; object-fit:cover; }
.row-item h3{ font-size:17px; margin-bottom:6px; }
.row-item h3 a:hover{ color:var(--blue-ink); }
.row-item p{ margin:0; font-size:13.5px; color:var(--grey); }
.row-item .meta{ margin-top:8px; font-size:12px; color:var(--grey); display:flex; gap:12px; }

/* ---------- literature band ---------- */
.lit-band{ background: var(--navy); background-image: radial-gradient(circle at 15% 20%, rgba(200,134,46,.22), transparent 45%); color:#fff; margin-top:56px; padding:48px 0 54px; }
.lit-band .section-head{ border-color: var(--amber); }
.lit-band .section-head h2{ color:#fff; }
.lit-band-intro{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; }
.lit-band-intro p{ max-width:560px; color:rgba(255,255,255,.72); font-family:var(--serif); font-size:17px; font-style:italic; line-height:1.5; }
.lit-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 26px; }
.lit-tabs a{ font-size:13px; font-weight:700; padding:7px 14px; border:1px solid rgba(255,255,255,.28); border-radius:999px; color:rgba(255,255,255,.85); }
.lit-tabs a:hover, .lit-tabs a.active{ background:var(--amber); border-color:var(--amber); color:#241703; }
.lit-band .card{ background: rgba(255,255,255,.04); border-top:3px solid var(--amber); }
.lit-band .card h3 a{ color:#fff; }
.lit-band .card h3 a:hover{ color:var(--amber); }
.lit-band .card p.excerpt{ color:rgba(255,255,255,.6); }
.lit-band .card .foot{ color:rgba(255,255,255,.5); border-color:rgba(255,255,255,.12); }
.lit-band .btn{ margin-top:8px; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:8px; padding:11px 20px; font-weight:700; font-size:14px; border-radius:3px; border:1px solid transparent; }
.btn-primary{ background:var(--blue); color:#fff; }
.btn-primary:hover{ background:var(--blue-ink); }
.btn-amber{ background:var(--amber); color:#241703; }
.btn-amber:hover{ background:var(--amber-ink); color:#fff; }
.btn-outline{ border-color: currentColor; }
.btn-outline:hover{ background: rgba(255,255,255,.08); }
.btn-ghost{ background:transparent; border:1px solid var(--line-strong); color:var(--ink); }
.btn-ghost:hover{ border-color: var(--ink); }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }

/* ---------- layout: two column with sidebar ---------- */
.layout{ display:grid; grid-template-columns: 1fr 300px; gap:36px; align-items:start; margin-top:26px; }
.sidebar{ position:sticky; top:96px; display:flex; flex-direction:column; gap:34px; }
.widget{ border:1px solid var(--line); background:#fff; padding:18px; }
.widget h4{ font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--grey); margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.widget .row-item{ padding:12px 0; }
.widget .row-item .thumb{ width:64px; height:64px; }
.widget .row-item h3{ font-size:13.5px; }
.newsletter-box{ background:var(--navy); color:#fff; padding:20px; }
.newsletter-box h4{ color:#fff; border-color: rgba(255,255,255,.2); }
.newsletter-box p{ font-size:13px; color:rgba(255,255,255,.7); margin:0 0 12px; }
.newsletter-box input{ width:100%; padding:10px 12px; border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.08); color:#fff; margin-bottom:10px; border-radius:3px; }
.newsletter-box input::placeholder{ color:rgba(255,255,255,.5); }

/* ---------- footer ---------- */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.68); margin-top:70px; padding:50px 0 0; font-size:13.5px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr repeat(3,1fr); gap:30px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-grid h5{ color:#fff; font-family:var(--sans); font-size:13px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:16px; }
.footer-grid li{ margin-bottom:9px; }
.footer-grid a:hover{ color:#fff; }
.footer-brand strong{ font-family:var(--serif); font-size:22px; color:#fff; }
.footer-brand p{ margin-top:10px; line-height:1.6; max-width:280px; }
.footer-bottom{ display:flex; justify-content:space-between; padding:18px 0; font-size:12.5px; flex-wrap:wrap; gap:10px; }

/* ---------- category page ---------- */
.page-head{ margin-top:30px; padding-bottom:20px; border-bottom:3px solid var(--ink); }
.page-head.lit{ border-color: var(--amber); }
.page-head .eyebrow{ font-size:12.5px; font-weight:800; letter-spacing:.08em; color:var(--blue-ink); }
.page-head.lit .eyebrow{ color:var(--amber-ink); }
.page-head h1{ font-size:36px; margin-top:6px; }
.page-head p{ color:var(--grey); margin-top:8px; max-width:640px; font-family:var(--serif); font-size:16px; font-style:italic; }
.breadcrumb{ font-size:12.5px; color:var(--grey); margin-top:22px; }
.breadcrumb a:hover{ color:var(--blue-ink); }

.empty-state{ text-align:center; padding:60px 20px; color:var(--grey); border:1px dashed var(--line-strong); margin-top:20px; }
.empty-state h3{ font-size:18px; color:var(--ink); margin-bottom:8px; }

/* ---------- article page ---------- */
.article-head{ margin-top:28px; max-width:800px; }
.article-head .tag{ margin-bottom:14px; }
.article-head h1{ font-size:38px; line-height:1.2; }
.article-head .meta{ margin-top:16px; display:flex; gap:16px; align-items:center; font-size:13.5px; color:var(--grey); flex-wrap:wrap; }
.article-cover{ margin-top:26px; max-width:800px; }
.article-cover img{ width:100%; max-height:480px; object-fit:cover; }
.article-cover figcaption{ font-size:12.5px; color:var(--grey); margin-top:8px; }
.article-body{ max-width:720px; margin-top:30px; font-family:var(--serif); font-size:19px; line-height:1.75; color:#20232b; }
.article-body p{ margin:0 0 22px; }
.article-body p:first-of-type::first-letter{ font-size:3.4em; float:left; line-height:.85; padding-right:10px; padding-top:4px; font-weight:700; color:var(--blue); font-family:var(--serif); }
.article-body.lit p:first-of-type::first-letter{ color: var(--amber-ink); }
.article-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:30px; max-width:720px; }
.article-tags a{ font-size:12.5px; padding:5px 11px; border:1px solid var(--line-strong); border-radius:999px; color:var(--grey); }
.article-tags a:hover{ border-color:var(--ink); color:var(--ink); }

.engage-bar{ max-width:720px; display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:34px; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); flex-wrap:wrap; }
.like-btn{ display:inline-flex; align-items:center; gap:9px; background:#fff; border:1px solid var(--line-strong); padding:10px 18px; border-radius:999px; font-weight:700; font-size:14px; }
.like-btn:hover{ border-color:#E23; color:#E23; }
.like-btn.liked{ background:#FDECEC; border-color:#E23; color:#E23; }
.share-links{ display:flex; gap:8px; }
.share-links a{ width:36px; height:36px; border-radius:50%; border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; }
.share-links a:hover{ border-color:var(--blue); color:var(--blue); }

.author-box{ max-width:720px; margin-top:34px; display:flex; gap:16px; background:#fff; border:1px solid var(--line); padding:18px; }
.author-box img{ width:64px; height:64px; border-radius:50%; object-fit:cover; flex-shrink:0; background:var(--paper-2); }
.author-box h4{ font-size:15px; }
.author-box p{ font-size:13.5px; color:var(--grey); margin:6px 0 0; }

.related{ max-width:800px; margin-top:50px; }

/* ---------- comments ---------- */
.comments{ max-width:720px; margin-top:50px; }
.comments h2{ font-size:22px; padding-bottom:14px; border-bottom:2px solid var(--ink); margin-bottom:22px; }
.comment-form{ display:grid; gap:12px; margin-bottom:34px; }
.comment-form .row2{ display:grid; grid-template-columns:1fr; gap:12px; }
.comment-form input, .comment-form textarea{
  width:100%; padding:11px 13px; border:1px solid var(--line-strong); font-family:var(--sans); font-size:14px; border-radius:3px; background:#fff;
}
.comment-form textarea{ min-height:110px; resize:vertical; }
.comment-form .btn{ justify-self:start; }
.comment-item{ padding:16px 0; border-bottom:1px solid var(--line); }
.comment-item .who{ display:flex; justify-content:space-between; font-size:13.5px; margin-bottom:6px; }
.comment-item .who strong{ color:var(--ink); }
.comment-item .who time{ color:var(--grey); }
.comment-item p{ margin:0; font-size:14.5px; line-height:1.55; color:#2b2e35; }
.comment-empty{ color:var(--grey); font-size:14px; padding:10px 0; }
.form-msg{ font-size:13px; padding:4px 0; }
.form-msg.ok{ color:#1a7d3a; }
.form-msg.err{ color:#c0322a; }

/* ---------- literature hub tabs (own page) ---------- */
.lit-hub-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.lit-hub-tabs a{ font-size:13.5px; font-weight:700; padding:9px 16px; border:1px solid var(--line-strong); border-radius:999px; }
.lit-hub-tabs a:hover{ border-color:var(--amber); color:var(--amber-ink); }
.lit-hub-tabs a.active{ background:var(--amber); border-color:var(--amber); color:#241703; }

/* ---------- author profile ---------- */
.auteur-head{ display:flex; gap:24px; align-items:center; margin-top:30px; }
.auteur-head img{ width:120px; height:120px; border-radius:50%; object-fit:cover; background:var(--paper-2); flex-shrink:0; }
.auteur-head h1{ font-size:30px; }
.auteur-head .tag{ margin-top:10px; }

/* ---------- utility states ---------- */
.skeleton{ background: linear-gradient(90deg, var(--paper-2) 25%, #fff 37%, var(--paper-2) 63%); background-size:400% 100%; animation: sk 1.4s ease infinite; }
@keyframes sk{ 0%{background-position:100% 50%;} 100%{background-position:0 50%;} }
.loading-row{ height:220px; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero-une-grid{ grid-template-columns: 1.45fr 1fr; }
  .layout{ grid-template-columns:1fr; }
  .sidebar{ position:static; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .grid.cols-4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 760px){
  .main-nav{ display:none; }
  .menu-toggle{ display:flex; }
  .topbar{ display:none; }
  .grid{ grid-template-columns:repeat(2,1fr); }
  .grid.cols-4{ grid-template-columns:repeat(2,1fr); }
  .article-head h1{ font-size:28px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 520px){
  .grid{ grid-template-columns:1fr; }
  .row-item{ flex-direction:column; }
  .row-item .thumb{ width:100%; height:160px; }
  .footer-grid{ grid-template-columns:1fr; }
  .auteur-head{ flex-direction:column; text-align:center; }
}

/* ---------- mobile nav drawer ---------- */
.mobile-nav{ display:none; position:fixed; inset:0; background:var(--navy); z-index:200; padding:20px; overflow:auto; }
.mobile-nav.open{ display:block; }
.mobile-nav .close-btn{ background:none; border:0; color:#fff; float:right; font-size:22px; }
.mobile-nav ul{ margin-top:50px; display:flex; flex-direction:column; gap:2px; }
.mobile-nav a{ display:block; padding:14px 4px; color:#fff; font-size:17px; font-weight:600; border-bottom:1px solid rgba(255,255,255,.12); }
.mobile-nav .sub{ padding-left:16px; }
.mobile-nav .sub a{ font-size:15px; font-weight:500; color:rgba(255,255,255,.75); border-bottom:0; padding:10px 4px; }


/* ==========================================================
   BlogNews — styles pilotables depuis l'administration
   En-têtes, flash infos, pages articles, accueil et galeries
   ========================================================== */

/* ---------- En-têtes ---------- */
body.header-centered .site-header { text-align:center; }
body.header-centered .header-inner { flex-wrap:wrap; justify-content:center; }
body.header-centered .brand { margin:0 auto; order:1; flex-basis:100%; justify-content:center; }
body.header-centered .main-nav { order:2; justify-content:center; }
body.header-centered .header-actions { order:3; position:absolute; right:20px; }
body.header-centered .brand-text strong { font-size:30px; }

body.header-bold .site-header { background:var(--navy); border-bottom:3px solid var(--amber); }
body.header-bold .brand-text strong,
body.header-bold .main-nav a.nav-link { color:#fff; }
body.header-bold .brand-text span { color:#E8C17A; }
body.header-bold .main-nav a.nav-link:hover,
body.header-bold .main-nav a.nav-link.active { color:#fff; border-color:var(--amber); }
body.header-bold .icon-btn { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:#fff; }
body.header-bold .dropdown { background:var(--navy-2); color:#fff; border-color:rgba(255,255,255,.15); }
body.header-bold .dropdown a { color:#fff; }
body.header-bold .dropdown a:hover { background:rgba(255,255,255,.1); color:#fff; }


/* ---------- Image d’en-tête pilotable depuis l’administration ---------- */
.site-header-image{display:none;position:relative;overflow:hidden;background:var(--navy);}
.site-header-image.is-visible{display:block;}
.site-header-image-inner{position:relative;width:100%;max-width:1400px;margin:0 auto;}
.site-header-image img{width:100%;height:240px;object-fit:cover;}
.site-header-image-caption{display:none;}
.site-header-image.header-image-wide img{height:230px;}
.site-header-image.header-image-overlay img{height:330px;filter:brightness(.68);}
.site-header-image.header-image-overlay .site-header-image-caption{display:block;position:absolute;inset:auto 0 0;padding:34px 7%;color:#fff;font-family:var(--serif);font-size:clamp(26px,4vw,52px);font-weight:700;background:linear-gradient(transparent,rgba(0,0,0,.7));}
.site-header-image.header-image-split{background:var(--paper-2);}
.site-header-image.header-image-split .site-header-image-inner{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:0;}
.site-header-image.header-image-split img{height:260px;}
.site-header-image.header-image-split .site-header-image-caption{display:block;padding:32px;color:var(--navy);font-family:var(--serif);font-size:28px;font-weight:700;}
.site-header-image.header-image-cinema img{height:min(52vh,520px);object-fit:cover;}
body.header-bold .site-header-image{border-bottom:3px solid var(--amber);}
@media(max-width:720px){
 .site-header-image.header-image-overlay img,.site-header-image.header-image-wide img{height:180px;}
 .site-header-image.header-image-split .site-header-image-inner{grid-template-columns:1fr;}
 .site-header-image.header-image-split img{height:190px;}
 .site-header-image.header-image-split .site-header-image-caption{padding:18px 20px;font-size:23px;}
 .site-header-image.header-image-cinema img{height:240px;}
}

/* ---------- Flash infos ---------- */
body.flash-breaking .flash { background:#A51E22; }
body.flash-breaking .flash-tag { background:#fff; color:#A51E22; border-radius:0; }
body.flash-breaking .flash-text { font-weight:800; text-transform:uppercase; }

body.flash-minimal .flash { background:transparent; color:var(--ink); border-bottom:1px solid var(--line); }
body.flash-minimal .flash-tag { background:transparent; color:var(--blue-ink); border-right:1px solid var(--line); border-radius:0; }
body.flash-minimal .flash-nav button { color:var(--ink); border-color:var(--line); }

body.flash-ticker .flash { background:var(--navy); }
body.flash-ticker .flash-text span.on { animation:blognews-ticker-in .45s ease both; }
@keyframes blognews-ticker-in { from{transform:translateX(25px);opacity:0} to{transform:translateX(0);opacity:1} }

/* ---------- Page d'accueil ---------- */
body.home-editorial .hero-une-grid { grid-template-columns: 1.7fr 1fr; }
body.home-editorial .hero-carousel, body.home-editorial .hero-track, body.home-editorial .hero-slide { min-height:500px; }
body.home-editorial .section-head { border-width:1px; }
body.home-editorial .card { border-radius:0; }

body.home-cards .card { border-radius:14px; box-shadow:0 8px 24px rgba(11,29,58,.08); border:1px solid var(--line); overflow:hidden; }
body.home-cards .card .thumb { aspect-ratio:16/10; }
body.home-cards .section-head { border:0; padding-bottom:0; }

/* ---------- Styles des pages article ---------- */
body.article-magazine .article-head { max-width:980px; margin-left:auto; margin-right:auto; text-align:center; }
body.article-magazine .article-head .meta { justify-content:center; }
body.article-magazine .article-cover { max-width:1100px; margin-left:auto; margin-right:auto; }
body.article-magazine .article-cover img { max-height:620px; }
body.article-magazine .article-body { max-width:780px; margin-left:auto; margin-right:auto; font-size:20px; }
body.article-magazine .article-gallery { max-width:1100px; margin:28px auto 0; }

body.article-immersive .article-cover { max-width:none; margin-left:calc((100% - 1200px)/-2); margin-right:calc((100% - 1200px)/-2); }
body.article-immersive .article-cover img { width:100%; max-height:680px; }
body.article-immersive .article-head { max-width:920px; }
body.article-immersive .article-head h1 { font-size:52px; }
body.article-immersive .article-body { max-width:780px; }

body.article-minimal .article-head { max-width:720px; }
body.article-minimal .article-cover { max-width:720px; }
body.article-minimal .article-cover img { max-height:390px; border-radius:2px; }
body.article-minimal .article-body { font-family:var(--sans); font-size:17px; line-height:1.85; }
body.article-minimal .article-body p:first-of-type::first-letter { font-size:inherit; float:none; padding:0; color:inherit; }

.article-gallery { max-width:800px; margin-top:24px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.article-gallery figure { margin:0; overflow:hidden; background:var(--paper-2); }
.article-gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .3s ease; }
.article-gallery figure:hover img { transform:scale(1.02); }

/* ---------- Admin media preview ---------- */
.gallery-preview { display:grid !important; grid-template-columns:repeat(3,1fr); gap:8px; padding:8px; }
.gallery-preview img { min-width:0; aspect-ratio:4/3; object-fit:cover; border-radius:4px; }
@media (max-width:760px){
  body.header-centered .header-actions { position:static; }
  body.article-immersive .article-cover { margin-left:0; margin-right:0; }
  body.article-immersive .article-head h1 { font-size:38px; }
  .article-gallery { grid-template-columns:1fr; }
}
