/*
Theme Name: L'Éternel Solidaire
Theme URI: https://eternel-solidaire.fr
Author: L'Éternel Solidaire
Description: Thème sur mesure pour L'Éternel Solidaire, laboratoire d'initiatives sociales et solidaires. Aux couleurs et typographies de la charte graphique 2024 (noir, beige, orange, bleu, jaune ; Figtree et Freeman). À l'activation, les pages et le menu sont créés automatiquement.
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: eternel-solidaire
*/

/* ---------------------------------------------------------------
 * Polices de la charte (OFL) – hébergées dans le thème (pas de Google Fonts)
 * Figtree : texte courant (Light sur fond clair, Regular sur fond couleur, Bold pour l'emphase)
 * Freeman : titres et sous-titres
 * ------------------------------------------------------------- */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/figtree-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/figtree-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/figtree-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/figtree-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/figtree-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Freeman"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/freeman-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Freeman"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/freeman-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------------------------------------------------------------
 * Charte : 3 couleurs principales (noir, beige, orange) + 2 secondaires (jaune, bleu)
 * Règles de lisibilité vérifiées (WCAG) :
 *  - noir sur beige / orange / jaune : OK
 *  - beige sur bleu ou noir : OK
 *  - orange en texte : uniquement les grands titres (≥ 24 px) sur beige/blanc, ou sur noir
 *  - jaune en texte : sur noir (OK) ou grands titres sur bleu
 * ------------------------------------------------------------- */
:root {
  --es-noir: #000000;
  --es-beige: #FAF2ED;
  --es-orange: #EB5E29;
  --es-bleu: #1F45F5;
  --es-jaune: #F7D347;
  --es-blanc: #FFFFFF;

  --es-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --es-font-title: "Freeman", "Arial Narrow", Impact, sans-serif;
  --es-max: 1180px;
  --es-radius: 18px;
  --es-border: 2px solid var(--es-noir);
  --es-shadow: 5px 5px 0 var(--es-noir);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--es-font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
  color: var(--es-noir);
  background: var(--es-beige);
  -webkit-font-smoothing: antialiased;
}
strong, b { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--es-bleu); text-underline-offset: 3px; }
a:hover { color: var(--es-noir); }
:focus-visible { outline: 3px solid var(--es-bleu); outline-offset: 3px; }
.es-section--dark :focus-visible, .es-footer :focus-visible, .es-section--blue :focus-visible { outline-color: var(--es-jaune); }

h1, h2, h3, h4 { font-family: var(--es-font-title); font-weight: 400; font-synthesis: none; line-height: 1.1; color: var(--es-noir); margin: 0 0 .55em; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

.es-container { width: 100%; max-width: var(--es-max); margin: 0 auto; padding: 0 24px; }
.es-narrow { max-width: 780px; }
.es-center { text-align: center; }
.es-section { padding: 92px 0; }
.es-section--white { background: var(--es-blanc); }
.es-section--yellow { background: var(--es-jaune); }
.es-section--orange { background: var(--es-orange); }
.es-section--blue, .es-section--dark { color: var(--es-beige); }
.es-section--blue { background: var(--es-bleu); }
.es-section--dark { background: var(--es-noir); }
.es-section--blue h2, .es-section--blue h3, .es-section--dark h2, .es-section--dark h3 { color: var(--es-beige); }
.es-section--blue, .es-section--blue p, .es-section--dark p { font-weight: 400; }
.es-lead { font-size: 1.25rem; }

/* Sous-titre / catégorie : Freeman, majuscules, texte « surligné » en noir (cf. charte) */
.es-eyebrow {
  display: inline-block; font-family: var(--es-font-title); text-transform: uppercase; letter-spacing: .08em;
  font-size: .95rem; background: var(--es-noir); color: var(--es-beige); padding: 4px 12px 3px; margin-bottom: 18px;
}
/* Titre surligné en noir (affiches de la charte) */
.es-hl { background: var(--es-noir); color: var(--es-beige); padding: .02em .22em .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.es-accent-orange { color: var(--es-orange); }   /* grands titres uniquement */
.es-accent-bleu { color: var(--es-bleu); }

.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--es-jaune); color: var(--es-noir); padding: 10px 14px; z-index: 1000; }

/* Boutons : orange + texte noir (contraste 6:1), bord noir, ombre dure */
.es-btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-family: var(--es-font-body);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: var(--es-border); cursor: pointer;
  background: var(--es-orange); color: var(--es-noir); box-shadow: 4px 4px 0 var(--es-noir);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.es-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--es-noir); color: var(--es-noir); background: var(--es-jaune); }
.es-btn--primary { background: var(--es-orange); }
.es-btn--dark { background: var(--es-bleu); color: var(--es-beige); }
.es-btn--dark:hover { background: var(--es-noir); color: var(--es-beige); }
.es-btn--ghost { background: var(--es-beige); }
.es-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.es-section--dark .es-btn, .es-section--blue .es-btn, .es-footer .es-btn { border-color: var(--es-beige); box-shadow: 4px 4px 0 var(--es-beige); }
.es-section--dark .es-btn:hover, .es-section--blue .es-btn:hover { box-shadow: 2px 2px 0 var(--es-beige); }

/* Header */
.es-header { position: sticky; top: 0; z-index: 100; background: var(--es-beige); border-bottom: var(--es-border); }
.es-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.es-brand { font-family: var(--es-font-title); font-size: 1.6rem; text-decoration: none; color: var(--es-noir); display: flex; align-items: center; gap: 10px; line-height: 1; }
.es-brand img { max-height: 56px; width: auto; }   /* logo : noir sur fond clair, jamais recoloré */
.es-brand__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--es-orange); border: var(--es-border); display: inline-block; }
.es-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.es-nav a { display: block; padding: 8px 14px; text-decoration: none; color: var(--es-noir); font-weight: 700; border-radius: 999px; font-size: .98rem; }
.es-nav a:hover, .es-nav .current-menu-item > a { background: var(--es-jaune); color: var(--es-noir); }
.es-nav li.es-cta > a { background: var(--es-orange); border: var(--es-border); padding: 6px 16px; }
.es-nav li.es-cta > a:hover { background: var(--es-jaune); }
.es-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.es-burger span { display: block; width: 26px; height: 3px; background: var(--es-noir); margin: 5px 0; }

/* Hero : fond bleu, titre surligné noir, accroche de la charte */
.es-hero { background: var(--es-bleu); color: var(--es-beige); border-bottom: var(--es-border); }
.es-hero .es-container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; min-height: 76vh; }
.es-hero--solo .es-container { grid-template-columns: 1fr; }
.es-hero__hello { font-family: var(--es-font-title); font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--es-jaune); margin: 0 0 14px; line-height: 1.1; }
.es-hero h1 { color: var(--es-beige); line-height: 1.2; margin-bottom: .35em; }
.es-hero__tag { font-family: var(--es-font-title); text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; margin-bottom: 18px; }
.es-hero p { font-weight: 400; font-size: 1.2rem; max-width: 600px; }
.es-hero .es-hero__hello { font-family: var(--es-font-title); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); color: var(--es-jaune); max-width: none; }
.es-hero .es-hero__tag { font-family: var(--es-font-title); font-size: 1.15rem; }
.es-hero__img { border: var(--es-border); border-color: var(--es-noir); border-radius: var(--es-radius); box-shadow: 8px 8px 0 var(--es-noir); overflow: hidden; background: var(--es-jaune); aspect-ratio: 4/5; }
.es-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.es-hero .es-btn--ghost { color: var(--es-noir); }

/* Manifeste */
.es-manifest { font-family: var(--es-font-title); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; margin-bottom: .6em; }
.es-manifest em { font-style: normal; color: var(--es-orange); }
.es-manifeste-full p { font-size: 1.15rem; }
.es-manifeste-full .es-bienvenue { font-family: var(--es-font-title); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--es-orange); margin-top: 1em; }

/* Grilles & cartes */
.es-grid { display: grid; gap: 24px; }
.es-grid--4 { grid-template-columns: repeat(4, 1fr); }
.es-grid--3 { grid-template-columns: repeat(3, 1fr); }
.es-grid--2 { grid-template-columns: repeat(2, 1fr); }
.es-card {
  background: var(--es-blanc); border: var(--es-border); border-radius: var(--es-radius); padding: 30px 26px;
  box-shadow: var(--es-shadow); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.es-card:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--es-noir); }
.es-card p { flex: 1; }
.es-card__num { font-family: var(--es-font-title); font-size: 3.2rem; line-height: 1; margin-bottom: 14px; }
.es-card__link { font-weight: 700; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; }
.es-card__link::after { content: " →"; }
.es-card--link { text-decoration: none; color: var(--es-noir); }
.es-card--link:hover { background: var(--es-jaune); color: var(--es-noir); }
/* une couleur de la charte par activité */
.es-card--orange { background: var(--es-orange); color: var(--es-noir); }
.es-card--bleu { background: var(--es-bleu); color: var(--es-beige); }
.es-card--bleu h3, .es-card--bleu .es-card__num { color: var(--es-beige); }
.es-card--bleu p { font-weight: 400; }
.es-card--jaune { background: var(--es-jaune); color: var(--es-noir); }
.es-card--beige { background: var(--es-beige); color: var(--es-noir); }
.es-card--bleu .es-card__link { color: var(--es-beige); }

/* Impact : fond noir, chiffres jaunes */
.es-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 44px 0; }
.es-stat { text-align: center; border: 2px solid var(--es-beige); border-radius: var(--es-radius); padding: 28px 16px; }
.es-stat__n { font-family: var(--es-font-title); font-size: clamp(2.8rem, 5.5vw, 4.4rem); color: var(--es-jaune); line-height: 1; }
.es-stat__l { margin-top: 10px; }
.es-quote { max-width: 780px; margin: 44px auto 0; text-align: center; font-family: var(--es-font-title); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; }
.es-quote cite { display: block; margin-top: 14px; font-size: 1rem; font-style: normal; font-family: var(--es-font-body); font-weight: 400; color: var(--es-jaune); }

/* Split & placeholders */
.es-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.es-ph { aspect-ratio: 4/3; border: 2px dashed var(--es-noir); border-radius: var(--es-radius); background: var(--es-beige); display: grid; place-items: center; font-weight: 400; font-size: .95rem; text-align: center; padding: 20px; overflow: hidden; }
.es-section--yellow .es-ph, .es-section--white .es-ph { background: var(--es-blanc); }
.es-ph img { width: 100%; height: 100%; object-fit: cover; }
.es-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.es-list li { padding: 8px 0 8px 36px; position: relative; font-weight: 400; }
.es-list li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--es-orange); border: var(--es-border); color: var(--es-noir); font-size: .8rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }

/* Étapes */
.es-steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.es-step { counter-increment: s; background: var(--es-blanc); border: var(--es-border); border-radius: var(--es-radius); padding: 34px 24px 26px; position: relative; box-shadow: var(--es-shadow); }
.es-step::before { content: counter(s); position: absolute; top: -20px; left: 22px; width: 42px; height: 42px; background: var(--es-orange); border: var(--es-border); border-radius: 50%; display: grid; place-items: center; font-family: var(--es-font-title); font-size: 1.3rem; }

/* Partenaires */
.es-logos { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 32px; }
.es-logos__item { min-width: 160px; padding: 24px 28px; border: 2px dashed var(--es-noir); border-radius: 12px; background: var(--es-beige); text-align: center; font-size: .95rem; font-weight: 400; }

/* Actus */
.es-post { background: var(--es-blanc); border: var(--es-border); border-radius: var(--es-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--es-shadow); }
.es-post__img { aspect-ratio: 16/10; background: var(--es-jaune); border-bottom: var(--es-border); display: block; }
.es-post__img img { width: 100%; height: 100%; object-fit: cover; }
.es-post__body { padding: 22px; }
.es-post__date { font-size: .9rem; font-weight: 700; }
.es-post h3 a { text-decoration: none; color: inherit; }
.es-post h3 a:hover { text-decoration: underline; }

/* Pages intérieures */
.es-pagehead { background: var(--es-bleu); color: var(--es-beige); padding: 90px 0 70px; border-bottom: var(--es-border); }
.es-pagehead h1 { color: var(--es-beige); margin: 0; }
.es-pagehead p { color: var(--es-beige); font-weight: 400; font-size: 1.25rem; max-width: 680px; margin: 16px 0 0; }
.es-content { padding: 64px 0 92px; }
.es-content h2 { margin-top: 1.6em; }
.es-content h2:first-child { margin-top: 0; }
.es-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; }
.es-values li { background: var(--es-blanc); border: var(--es-border); border-radius: 14px; padding: 20px; }
.es-values li:nth-child(5n+1) { background: var(--es-jaune); }
.es-values li:nth-child(5n+2) { background: var(--es-orange); }
.es-values strong { display: block; font-family: var(--es-font-title); font-weight: 400; font-size: 1.4rem; }
.es-cta-band { background: var(--es-jaune); border: var(--es-border); border-radius: var(--es-radius); box-shadow: var(--es-shadow); padding: 44px 32px; text-align: center; margin-top: 52px; }

/* Formulaire */
.es-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.es-form input, .es-form select, .es-form textarea { width: 100%; padding: 13px 15px; border: var(--es-border); border-radius: 10px; font: inherit; font-weight: 400; background: var(--es-blanc); color: var(--es-noir); margin-bottom: 18px; }
.es-form input:focus, .es-form textarea:focus, .es-form select:focus { outline: 3px solid var(--es-bleu); outline-offset: 2px; }
.es-notice { padding: 14px 18px; border: var(--es-border); border-radius: 10px; margin-bottom: 20px; font-weight: 400; }
.es-notice--ok { background: var(--es-jaune); }
.es-notice--err { background: var(--es-orange); }
.es-hp { position: absolute; left: -9999px; }

/* Footer : fond noir, logo blanc (le logo n'existe qu'en noir ou blanc) */
.es-footer { background: var(--es-noir); color: var(--es-beige); padding: 68px 0 28px; font-weight: 400; }
.es-footer a { color: var(--es-beige); text-decoration: none; font-weight: 700; }
.es-footer a:hover { color: var(--es-jaune); text-decoration: underline; }
.es-footer h4 { color: var(--es-jaune); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; }
.es-footer__logo { max-height: 64px; width: auto; margin-bottom: 16px; }
.es-footer__name { font-family: var(--es-font-title); font-size: 1.8rem; color: var(--es-beige); margin-bottom: 14px; }
.es-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.es-footer ul { list-style: none; padding: 0; margin: 0; }
.es-footer li { margin-bottom: 8px; }
.es-footer__bottom { border-top: 2px solid var(--es-beige); margin-top: 44px; padding-top: 22px; font-size: .92rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* WP core */
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { margin: 0 auto 1em; }
.wp-caption-text { font-size: .9rem; }

/* Sous-menu */
.es-nav li { position: relative; }
.es-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--es-beige); border: var(--es-border); border-radius: 14px; box-shadow: var(--es-shadow); padding: 8px; flex-direction: column; gap: 0; z-index: 50; }
.es-nav li:hover > .sub-menu, .es-nav li:focus-within > .sub-menu { display: flex; }
.es-nav .sub-menu a { border-radius: 8px; }

/* Responsive */
@media (max-width: 980px) {
  .es-grid--4, .es-stats { grid-template-columns: repeat(2, 1fr); }
  .es-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .es-split, .es-hero .es-container { grid-template-columns: 1fr; gap: 32px; }
  .es-hero .es-container { min-height: 0; }
  .es-hero__img { aspect-ratio: 16/10; }
  .es-values { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .es-burger { display: block; }
  .es-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--es-beige); border-bottom: var(--es-border); display: none; padding: 12px 24px 24px; }
  .es-nav.is-open { display: block; }
  .es-nav ul { flex-direction: column; align-items: stretch; }
  .es-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: transparent; }
  .es-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .es-section { padding: 60px 0; }
  .es-grid--4, .es-grid--3, .es-grid--2, .es-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- v1.2 : bouton Adhérer, pages enfants, pied de page ---- */
.es-header__cta { margin-left: 8px; white-space: nowrap; padding: 8px 18px; font-size: .95rem; }
@media (min-width: 981px) {
  .es-nav a { padding: 8px 10px; font-size: .92rem; }
  .es-nav .sub-menu a { padding: 8px 12px; }
}
.es-kids { margin-top: 48px; }
.es-kids h2 { margin-bottom: 24px; }
.es-card--link p { margin: 0 0 12px; }
.es-footer ul.es-footer__menu { list-style: none; padding: 0; margin: 0; }
.es-actions-grid .es-card h3 { margin-top: 0; }
@media (max-width: 980px) { .es-header__cta { margin: 12px 0 0; text-align: center; } }
@media (min-width: 981px) {
  .es-nav { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; }
  .es-header__cta { flex: 0 0 auto; width: auto; }
}
