/* ============================================================
   GDS 24 — Design System v2.0
   Palette : Bleu GDS France #0057A8 / Orange #F07800
   Typo    : Bricolage Grotesque (titres) + Manrope (corps)
   ============================================================ */

/* ---- VARIABLES -------------------------------------------- */
:root {
  /* Couleurs principales */
  --gds-blue:       #0057A8;
  --gds-blue-dark:  #003d7a;
  --gds-blue-mid:   #1a6dbf;
  --gds-blue-light: #e6f0fb;
  --gds-orange:     #F07800;
  --gds-orange-drk: #c25e00;
  --gds-orange-lgt: #fff3e5;

  /* Couleurs locales GDS 24 Dordogne */
  --gds24-perigord: #006BA0;
  --gds24-brun:     #7A5C3A;
  --gds24-ciel:     #E6F4FB;

  /* Couleurs neutres */
  --gds-ink:    #0a1628;
  --gds-muted:  #4a607a;
  --gds-border: #dde6f2;
  --gds-bg:     #f4f7fc;

  /* Typographie */
  --gds-font-head: 'Bricolage Grotesque', 'Georgia', serif;
  --gds-font-body: 'Manrope', 'Helvetica Neue', system-ui, sans-serif;

  /* Espacement */
  --gds-max-width: 1060px;
  --gds-gap:       1rem;
  --gds-radius:    10px;
  --gds-radius-lg: 14px;
}

/* ---- RESET & BASE ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body.gds24 {
  font-family: var(--gds-font-body);
  background: var(--gds-bg);
  color: var(--gds-ink);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.gds24 a { transition: color .2s, background .2s, border-color .2s; }

/* ---- HEADER / NAV ----------------------------------------- */
.gds24 .site-header {
  background: #fff;
  border-bottom: 1px solid var(--gds-border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.gds24 .header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 58px;
  gap: 0;
}

/* Logo */
.gds24 .site-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}

.gds24 .logo-mark {
  width: 34px;
  height: 34px;
  background: var(--gds-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.gds24 .logo-mark::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: var(--gds-orange);
  border-radius: 4px 0 8px 0;
}

.gds24 .logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.gds24 .logo-text-wrap { line-height: 1; }

.gds24 .logo-name {
  font-family: var(--gds-font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gds-ink);
  letter-spacing: -.4px;
  display: block;
}

.gds24 .logo-name span { color: var(--gds-blue); }

.gds24 .logo-dept {
  font-size: .65rem;
  font-weight: 500;
  color: var(--gds-muted);
}

/* Navigation principale */
.gds24 .primary-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: center;
}

.gds24 .primary-nav ul li a {
  color: var(--gds-muted);
  font-size: .8rem;
  font-weight: 500;
  padding: 0 .85rem;
  height: 58px;
  display: flex;
  align-items: center;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.gds24 .primary-nav ul li a:hover,
.gds24 .primary-nav ul li.current-menu-item a,
.gds24 .primary-nav ul li.current_page_item a {
  color: var(--gds-blue);
  border-bottom-color: var(--gds-blue);
}

.gds24 .nav-newsletter-cta {
  background: var(--gds-orange);
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  font-size: .8rem !important;
  font-weight: 700 !important;
  text-decoration: none;
  margin-left: 1rem;
  border-bottom: none !important;
  height: auto !important;
}

.gds24 .nav-newsletter-cta:hover {
  background: var(--gds-orange-drk) !important;
  color: #fff !important;
}

/* Hamburger mobile */
.gds24 .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  color: var(--gds-ink);
}

.gds24 .nav-toggle svg { display: block; }

/* ---- ALERT BAR -------------------------------------------- */
.gds24 .alert-bar {
  background: var(--gds-orange-lgt);
  border-bottom: 2px solid var(--gds-orange);
  padding: .65rem 2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .83rem;
  font-weight: 500;
}

.gds24 .alert-bar.alert-hidden { display: none; }

.gds24 .alert-bar svg { flex-shrink: 0; }

.gds24 .alert-bar strong { color: var(--gds-orange-drk); }

.gds24 .alert-bar a {
  color: var(--gds-orange-drk);
  font-weight: 700;
  text-decoration: none;
}

.gds24 .alert-bar a:hover { text-decoration: underline; }

/* ---- HERO -------------------------------------------------- */
.gds24 .hero {
  background: var(--gds-blue-dark);
  padding: 3rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 2.5rem;
  align-items: end;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  max-width: 100%;
}

.gds24 .hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.gds24 .hero-blob-1 {
  right: 290px;
  top: -90px;
  width: 420px;
  height: 420px;
  background: var(--gds-blue-mid);
  opacity: .4;
}

.gds24 .hero-blob-2 {
  right: 50px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  background: var(--gds-orange);
  opacity: .12;
}

.gds24 .hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.gds24 .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 1.2rem;
}

.gds24 .hero-pulse {
  width: 6px;
  height: 6px;
  background: var(--gds-orange);
  border-radius: 50%;
  animation: gds-pulse 2s infinite;
  display: inline-block;
}

@keyframes gds-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}

.gds24 .hero h1 {
  font-family: var(--gds-font-head);
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.8px;
  margin: 0 0 1rem 0;
}

.gds24 .hero h1 em {
  color: var(--gds-orange);
  font-style: normal;
}

.gds24 .hero-sub {
  color: rgba(255,255,255,.58);
  font-size: .92rem;
  line-height: 1.65;
  max-width: 430px;
  margin-bottom: 2rem;
}

.gds24 .hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gds24 .btn-primary {
  background: var(--gds-orange);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  display: inline-block;
}

.gds24 .btn-primary:hover { background: var(--gds-orange-drk); color: #fff; }

.gds24 .btn-secondary {
  background: rgba(255,255,255,.09);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .875rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-block;
}

.gds24 .btn-secondary:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Hero panel */
.gds24 .hero-panel {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 1.5rem;
  align-self: end;
}

.gds24 .hero-panel-deco {
  position: absolute;
  top: -35px;
  right: -35px;
  width: 130px;
  height: 130px;
  border: 28px solid rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}

.gds24 .panel-tag {
  background: var(--gds-orange);
  color: #fff;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: .75rem;
}

.gds24 .hero-panel h3 {
  font-family: var(--gds-font-head);
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 .6rem 0;
}

.gds24 .hero-panel p {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  line-height: 1.5;
  margin: 0 0 .85rem 0;
}

.gds24 .panel-link {
  color: var(--gds-orange);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.gds24 .panel-link:hover { color: #ffb060; }

.gds24 .panel-meta {
  display: flex;
  gap: .6rem;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.09);
  flex-wrap: wrap;
}

.gds24 .panel-meta span {
  color: rgba(255,255,255,.3);
  font-size: .7rem;
}

/* ---- STATS BAR -------------------------------------------- */
.gds24 .stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--gds-border);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.gds24 .stat-item {
  padding: .85rem 2.25rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  border-right: 1px solid var(--gds-border);
}

.gds24 .stat-item:last-child { border-right: none; }

.gds24 .stat-num {
  font-family: var(--gds-font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gds-blue);
  letter-spacing: -1px;
  line-height: 1;
}

.gds24 .stat-label {
  font-size: .72rem;
  font-weight: 500;
  color: var(--gds-muted);
  line-height: 1.3;
  max-width: 78px;
}

/* ---- MAIN CONTENT ----------------------------------------- */
.gds24 .site-main { max-width: var(--gds-max-width); margin: 0 auto; padding: 2.5rem 2rem; }

.gds24 .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.gds24 .section-title {
  font-family: var(--gds-font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 0;
}

.gds24 .section-more {
  color: var(--gds-blue);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.gds24 .section-more:hover { color: var(--gds-blue-dark); }

/* ---- PUBLICATIONS GRID ------------------------------------ */
.gds24 .pub-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gds24 .pub-featured {
  grid-row: 1 / 3;
  background: #fff;
  border: 1px solid var(--gds-border);
  border-radius: var(--gds-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}

.gds24 .pub-featured:hover {
  box-shadow: 0 8px 28px rgba(0,87,168,.1);
  transform: translateY(-2px);
}

.gds24 .pub-cover {
  height: 190px;
  background: linear-gradient(135deg, var(--gds-blue-dark) 0%, var(--gds-blue-mid) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  flex-shrink: 0;
}

.gds24 .pub-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}

.gds24 .cover-deco,
.gds24 .cover-deco-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.gds24 .cover-deco {
  top: -30px; right: -30px;
  width: 130px; height: 130px;
  border: 26px solid rgba(255,255,255,.06);
}

.gds24 .cover-deco-2 {
  bottom: -20px; left: -20px;
  width: 80px; height: 80px;
  border: 16px solid rgba(255,255,255,.04);
}

.gds24 .pub-cat-tag {
  background: var(--gds-orange);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.gds24 .pub-cat-tag.tag-tb   { background: var(--gds-orange-drk); }
.gds24 .pub-cat-tag.tag-bvd  { background: #5a8a3a; }
.gds24 .pub-cat-tag.tag-fco  { background: #1a6dbf; }
.gds24 .pub-cat-tag.tag-dnc  { background: #7a3080; }

.gds24 .pub-body { padding: 1.25rem; flex: 1; }

.gds24 .pub-date {
  color: var(--gds-muted);
  font-size: .73rem;
  margin-bottom: .4rem;
}

.gds24 .pub-body h3 {
  font-family: var(--gds-font-head);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.3px;
  margin: 0 0 .55rem 0;
  color: var(--gds-ink);
}

.gds24 .pub-body p {
  font-size: .82rem;
  color: var(--gds-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gds24 .pub-footer {
  padding: .8rem 1.25rem;
  border-top: 1px solid var(--gds-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.gds24 .pub-read {
  color: var(--gds-blue);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.gds24 .pub-read:hover { color: var(--gds-blue-dark); }

.gds24 .pub-meta { color: var(--gds-muted); font-size: .73rem; }

/* Publications secondaires */
.gds24 .pub-small {
  background: #fff;
  border: 1px solid var(--gds-border);
  border-radius: var(--gds-radius);
  padding: 1rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}

.gds24 .pub-small:hover {
  box-shadow: 0 4px 16px rgba(0,87,168,.08);
  transform: translateY(-1px);
}

.gds24 .pub-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gds24 .pub-icon.icon-blue   { background: var(--gds-blue-light); color: var(--gds-blue); }
.gds24 .pub-icon.icon-orange { background: var(--gds-orange-lgt); color: var(--gds-orange-drk); }
.gds24 .pub-icon.icon-green  { background: #eaf5e4; color: #3a7a1a; }
.gds24 .pub-icon.icon-purple { background: #f2e8fb; color: #7a3080; }

.gds24 .pub-small-date { color: var(--gds-muted); font-size: .7rem; margin-bottom: .2rem; }

.gds24 .pub-small h4 {
  font-family: var(--gds-font-head);
  font-size: .83rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.2px;
  margin: 0 0 .3rem 0;
  color: var(--gds-ink);
}

.gds24 .pub-small a.read-more {
  color: var(--gds-blue);
  font-size: .73rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

/* ---- TOOLS SECTION ---------------------------------------- */
.gds24 .tools-section {
  background: #fff;
  border: 1px solid var(--gds-border);
  border-radius: var(--gds-radius-lg);
  padding: 1.75rem;
  margin: 1.75rem 0;
}

.gds24 .tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin-top: 1.25rem;
}

.gds24 .tool-card {
  border: 1.5px solid var(--gds-border);
  border-radius: var(--gds-radius);
  padding: .95rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  text-decoration: none;
  color: inherit;
}

.gds24 .tool-card:hover { border-color: var(--gds-blue); background: var(--gds-blue-light); }

.gds24 .tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gds-blue-light);
  color: var(--gds-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .15rem;
  flex-shrink: 0;
}

.gds24 .tool-card h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gds-ink);
  line-height: 1.3;
  margin: 0;
}

.gds24 .tool-card p {
  font-size: .72rem;
  color: var(--gds-muted);
  line-height: 1.4;
  margin: 0;
}

.gds24 .tool-arrow {
  font-size: .76rem;
  color: var(--gds-blue);
  font-weight: 700;
  margin-top: auto;
}

.gds24 .tool-card.tool-urgent {
  border-color: var(--gds-orange);
  background: var(--gds-orange-lgt);
}

.gds24 .tool-card.tool-urgent:hover { background: #ffe0b5; }
.gds24 .tool-card.tool-urgent .tool-icon { background: rgba(240,120,0,.14); color: var(--gds-orange-drk); }
.gds24 .tool-card.tool-urgent h4 { color: var(--gds-orange-drk); }
.gds24 .tool-card.tool-urgent .tool-arrow { color: var(--gds-orange-drk); }

/* ---- NEWSLETTER ------------------------------------------- */
.gds24 .newsletter-section {
  background: var(--gds-blue);
  border-radius: var(--gds-radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.gds24 .nl-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.gds24 .nl-deco-1 { right: -80px; top: -80px; width: 260px; height: 260px; border: 48px solid rgba(255,255,255,.06); }
.gds24 .nl-deco-2 { right: 120px; bottom: -60px; width: 160px; height: 160px; border: 30px solid rgba(255,255,255,.04); }

.gds24 .nl-left { position: relative; z-index: 1; }

.gds24 .nl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: .8rem;
}

.gds24 .newsletter-section h2 {
  font-family: var(--gds-font-head);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 0 0 .4rem 0;
}

.gds24 .newsletter-section p {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  line-height: 1.5;
  margin: 0;
}

.gds24 .nl-right { position: relative; z-index: 1; }

.gds24 .nl-form { display: flex; flex-direction: column; gap: 9px; }

.gds24 .nl-form input[type="email"] {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: .875rem;
  font-family: var(--gds-font-body);
  width: 100%;
  outline: none;
}

.gds24 .nl-form input[type="email"]::placeholder { color: rgba(255,255,255,.38); }
.gds24 .nl-form input[type="email"]:focus { border-color: rgba(255,255,255,.5); }

.gds24 .nl-form button[type="submit"],
.gds24 .nl-form input[type="submit"] {
  background: var(--gds-orange);
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: 7px;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  font-family: var(--gds-font-body);
  width: 100%;
  transition: background .2s;
}

.gds24 .nl-form button[type="submit"]:hover { background: var(--gds-orange-drk); }

.gds24 .nl-note {
  color: rgba(255,255,255,.3);
  font-size: .72rem;
  margin-top: .5rem;
}

/* ---- FOOTER ----------------------------------------------- */
.gds24 .site-footer {
  background: var(--gds-ink);
  color: rgba(255,255,255,.4);
  font-size: .78rem;
  padding: 1.25rem 2rem;
}

.gds24 .footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.gds24 .footer-brand strong { color: rgba(255,255,255,.9); }

.gds24 .footer-brand .footer-badge {
  background: var(--gds-blue);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
}

.gds24 .footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.gds24 .footer-links a { color: rgba(255,255,255,.4); text-decoration: none; }
.gds24 .footer-links a:hover { color: rgba(255,255,255,.75); }

/* ---- PAGE INTERIEURE : ARTICLE ---------------------------- */
.gds24 .page-header {
  background: var(--gds-blue-dark);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.gds24 .page-header::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: var(--gds-blue-mid);
  border-radius: 50%;
  opacity: .35;
  pointer-events: none;
}

.gds24 .page-header-inner { max-width: var(--gds-max-width); margin: 0 auto; position: relative; z-index: 1; }

.gds24 .page-header .breadcrumb {
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  margin-bottom: .75rem;
}

.gds24 .page-header .breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; }
.gds24 .page-header .breadcrumb a:hover { color: rgba(255,255,255,.75); }

.gds24 .page-header h1 {
  font-family: var(--gds-font-head);
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 .5rem 0;
}

.gds24 .page-header .post-meta { color: rgba(255,255,255,.45); font-size: .78rem; }
.gds24 .page-header .post-meta .cat-tag { margin-right: .5rem; }

.gds24 .entry-content-wrap {
  max-width: var(--gds-max-width);
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.gds24 .entry-content h2,
.gds24 .entry-content h3 { font-family: var(--gds-font-head); letter-spacing: -.3px; }
.gds24 .entry-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--gds-blue); margin: 1.75rem 0 .75rem; }
.gds24 .entry-content h3 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 .5rem; }
.gds24 .entry-content p { margin-bottom: 1rem; line-height: 1.7; }

/* Encadrés */
.gds24 .entry-content .alert-info {
  background: var(--gds-blue-light);
  border-left: 4px solid var(--gds-blue);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  font-size: .88rem;
}

.gds24 .entry-content .alert-warn {
  background: var(--gds-orange-lgt);
  border-left: 4px solid var(--gds-orange);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  font-size: .88rem;
}

/* Sidebar */
.gds24 .entry-sidebar { position: sticky; top: 70px; }

.gds24 .sidebar-card {
  background: #fff;
  border: 1px solid var(--gds-border);
  border-radius: var(--gds-radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.gds24 .sidebar-card h4 {
  font-family: var(--gds-font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--gds-blue);
  border-bottom: 2px solid var(--gds-blue-light);
  padding-bottom: .5rem;
  margin: 0 0 .85rem 0;
}

/* ---- ARCHIVE / LISTE PUBLICATIONS ------------------------- */
.gds24 .archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gds24 .archive-card {
  background: #fff;
  border: 1px solid var(--gds-border);
  border-radius: var(--gds-radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.gds24 .archive-card:hover {
  box-shadow: 0 6px 20px rgba(0,87,168,.09);
  transform: translateY(-2px);
}

.gds24 .archive-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--gds-blue-dark), var(--gds-blue-mid));
  position: relative;
  overflow: hidden;
}

.gds24 .archive-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; opacity: .7;
}

.gds24 .archive-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.gds24 .archive-body .pub-date { margin-bottom: .3rem; }
.gds24 .archive-body h3 { font-family: var(--gds-font-head); font-size: .9rem; font-weight: 700; line-height: 1.35; margin: 0; }

/* ---- RESPONSIVE ------------------------------------------- */
@media (max-width: 900px) {
  .gds24 .hero { grid-template-columns: 1fr; min-height: auto; }
  .gds24 .hero-panel { border-radius: 14px; border: 1px solid rgba(255,255,255,.11); margin-bottom: 2rem; }
  .gds24 .hero-content { padding-bottom: 0; }
  .gds24 .pub-layout { grid-template-columns: 1fr; }
  .gds24 .pub-featured { grid-row: auto; }
  .gds24 .newsletter-section { grid-template-columns: 1fr; }
  .gds24 .entry-content-wrap { grid-template-columns: 1fr; }
  .gds24 .entry-sidebar { position: static; }
  .gds24 .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .gds24 .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .gds24 .stats-bar { flex-wrap: wrap; }
  .gds24 .stat-item { border-right: none; border-bottom: 1px solid var(--gds-border); flex: 1 1 40%; }
}

@media (max-width: 640px) {
  .gds24 .primary-nav { display: none; }
  .gds24 .primary-nav.is-open { display: block; }
  .gds24 .primary-nav ul {
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--gds-border);
    position: absolute;
    top: 58px; left: 0; right: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 200;
  }
  .gds24 .primary-nav ul li a { height: 44px; padding: 0 1.5rem; font-size: .875rem; }
  .gds24 .nav-newsletter-cta { display: none; }
  .gds24 .nav-toggle { display: flex; }
  .gds24 .header-inner { flex-wrap: wrap; }
  .gds24 .hero { padding: 2rem 1.25rem 0; }
  .gds24 .hero h1 { font-size: 2rem; }
  .gds24 .site-main { padding: 1.75rem 1.25rem; }
  .gds24 .tools-grid { grid-template-columns: 1fr 1fr; }
  .gds24 .archive-grid { grid-template-columns: 1fr; }
  .gds24 .newsletter-section { padding: 1.75rem 1.25rem; }
  .gds24 .stat-item { flex: 1 1 100%; border-bottom: 1px solid var(--gds-border); padding: .65rem 1.5rem; }
}
