/* ==========================================================================
   MSD SARL — Actualités (transposition de prototype/actualites.html,
   actualites.css + composants communs du prototype : ab-hero (about.css),
   ac-h2 / ac-eyebrow (activites.css), pj-gallery / pj-pos-* (projets.css)).
   Contenus : widgets Elementor Free ; mise en page : classes CSS assignées
   dans Elementor. Préfixe .msd-actualites .elementor.elementor.
   Blocs nw-* pensés pour devenir des modèles d'articles WordPress
   (article à la une, carte d'article, archive) — contenu statique ici.
   ========================================================================== */

.msd-actualites { --msd-nw-gutter: calc(55 * var(--msd-s)); }

/* ---------- Neutralisation des réglages par défaut d'Elementor ---------- */

.msd-actualites .elementor.elementor {
  font-family: var(--msd-font-sans); font-size: 16px; line-height: 1.6;
  color: var(--msd-ink-soft);
  --kit-widget-spacing: 0px;
}
.msd-actualites .elementor.elementor .e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --padding-block-start: 0px; --padding-block-end: 0px; --padding-inline-start: 0px; --padding-inline-end: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --width: 100%;
  min-width: 0;
}
.msd-actualites .elementor.elementor .elementor-widget:not(:last-child) { margin-block-end: 0; }
.msd-actualites .elementor.elementor p { margin: 0; }
.msd-actualites .elementor.elementor .elementor-heading-title { margin: 0; padding: 0; font: inherit; color: inherit; line-height: inherit; }
.msd-actualites .elementor.elementor .elementor-button-content-wrapper { display: inline-flex; align-items: center; }

/* ---------- Éléments communs ---------- */

.msd-actualites .elementor.elementor .msd-nw-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.msd-actualites .elementor.elementor .msd-nw-eyebrow .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--msd-font-mono); font-weight: 500;
  font-size: 12.5px; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase;
  color: var(--msd-muted-gold);
}
.msd-actualites .elementor.elementor .msd-nw-eyebrow--light .elementor-heading-title { color: var(--msd-deep-forest); }
.msd-actualites .elementor.elementor .msd-nw-eyebrow--line .elementor-heading-title::after { content: ""; flex: none; width: 56px; height: 1px; background: var(--msd-muted-gold); }

.msd-actualites .elementor.elementor .msd-nw-h2 { margin-top: 12px; }
.msd-actualites .elementor.elementor .msd-nw-h2 .elementor-heading-title {
  font-family: var(--msd-font-serif); font-weight: 400;
  font-size: clamp(32px, 3.2vw, 50px); line-height: 1.04; color: var(--msd-deep-forest);
}

/* Bouton or avec flèche (échelle du prototype) */
.msd-actualites .elementor.elementor .msd-nw-cta { margin-top: 28px; }
.msd-actualites .elementor.elementor .msd-nw-cta .elementor-button {
  display: inline-flex; align-items: center; justify-content: center;
  height: calc(36 * var(--msd-s)); min-width: calc(228 * var(--msd-s)); padding: 0 calc(20 * var(--msd-s));
  border: 1.5px solid var(--msd-muted-gold); border-radius: 2px;
  background: var(--msd-muted-gold); color: var(--msd-forest-black);
  font-family: var(--msd-font-sans); font-weight: 500; font-size: calc(14.5 * var(--msd-s)); line-height: 1;
  transition: background-color .2s;
}
.msd-actualites .elementor.elementor .msd-nw-cta .elementor-button:hover,
.msd-actualites .elementor.elementor .msd-nw-cta .elementor-button:focus { background: #bfa062; color: var(--msd-forest-black); }
.msd-actualites .elementor.elementor .msd-nw-cta .elementor-button-content-wrapper::after,
.msd-actualites .elementor.elementor .msd-nw-more .elementor-button-content-wrapper::after {
  content: ""; flex: none; background: currentColor;
  width: calc(15 * var(--msd-s)); height: calc(10 * var(--msd-s)); margin-left: calc(14 * var(--msd-s));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M1 6H18M13 1L18 6L13 11' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M1 6H18M13 1L18 6L13 11' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Badge de catégorie */
.msd-actualites .elementor.elementor .msd-nw-badge .elementor-heading-title {
  display: inline-block; padding: 5px 10px;
  background: var(--msd-deep-forest); color: var(--msd-warm-ivory);
  font-family: var(--msd-font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
}
/* Mention « démonstration » */
.msd-actualites .elementor.elementor .msd-nw-status .elementor-heading-title {
  font-family: var(--msd-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6;
  color: #6f6b62;
}
/* Lien « Lire plus » (bouton Elementor restylé en lien) */
.msd-actualites .elementor.elementor .msd-nw-more .elementor-button {
  display: inline-flex; align-items: center; padding: 0; min-width: 0; height: auto;
  background: none; border: 0; border-radius: 0;
  font-family: var(--msd-font-sans); font-size: 14.5px; font-weight: 500; line-height: 1.6; color: var(--msd-deep-forest);
  text-decoration: underline; text-decoration-color: var(--msd-muted-gold); text-underline-offset: 5px;
}
.msd-actualites .elementor.elementor .msd-nw-more .elementor-button-content-wrapper::after {
  width: 16px; height: 10px; margin-left: 10px; background: var(--msd-muted-gold);
}
.msd-actualites .elementor.elementor .msd-nw-more .elementor-button:hover { color: var(--msd-muted-gold); }

/* Cadrages non destructifs */
.msd-actualites .elementor.elementor .msd-nw-pos-porcin img { object-position: 50% 44%; }
.msd-actualites .elementor.elementor .msd-nw-pos-eau img { object-position: 50% 30%; }
.msd-actualites .elementor.elementor .msd-nw-pos-nuit img { object-position: 50% 42%; }
.msd-actualites .elementor.elementor .msd-nw-pos-visite img { object-position: 50% 40%; }
.msd-actualites .elementor.elementor .msd-nw-pos-equipe img { object-position: 50% 32%; }
.msd-actualites .elementor.elementor .msd-nw-pos-lampe img { object-position: 50% 40%; }

/* ---------- Hero ---------- */

.msd-actualites .elementor.elementor .msd-nw-hero.e-con {
  display: flex; flex-direction: row; align-items: center; position: relative; overflow: hidden;
  min-height: clamp(460px, 36vw, 600px);
  padding: calc(76 * var(--msd-s) + clamp(36px, 4vw, 64px)) 0 clamp(44px, 4.5vw, 72px);
  background: var(--msd-forest-black); border-bottom: 1px solid var(--msd-muted-gold);
}
.msd-actualites .elementor.elementor .msd-nw-hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 40%; width: auto; max-width: none; z-index: 0; }
.msd-actualites .elementor.elementor .msd-nw-hero__media .elementor-widget-container { height: 100%; }
.msd-actualites .elementor.elementor .msd-nw-hero__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; }
.msd-actualites .elementor.elementor .msd-nw-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--msd-forest-black) 0%, rgba(11, 15, 13, .7) 16%, rgba(11, 15, 13, .12) 42%, rgba(11, 15, 13, 0) 60%);
}
.msd-actualites .elementor.elementor .msd-nw-hero.e-con::before {
  content: ""; display: block; position: absolute; z-index: 1;
  left: 30%; top: 14%; width: 30%; height: 86%; right: auto; bottom: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23a88a4a' stroke-width='1' vector-effect='non-scaling-stroke'%3E%3Cpath d='M60 0c50 40-10 80 50 120s110 30 90 90 60 70 110 90'/%3E%3Cpath d='M80 0c50 40-10 80 50 120s110 30 90 90 60 70 110 90'/%3E%3Cpath d='M100 0c50 40-10 80 50 120s110 30 90 90 60 70 110 90'/%3E%3Cpath d='M120 0c50 40-10 80 50 120s110 30 90 90 60 70 110 90'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  opacity: .45; pointer-events: none; mix-blend-mode: normal;
}
.msd-actualites .elementor.elementor .msd-nw-hero__content.e-con {
  display: block; position: relative; z-index: 2;
  max-width: calc(640px + 2 * var(--msd-nw-gutter)); padding-inline: var(--msd-nw-gutter);
}
.msd-actualites .elementor.elementor .msd-nw-hero__title { margin-top: 18px; }
.msd-actualites .elementor.elementor .msd-nw-hero__title .elementor-heading-title {
  font-family: var(--msd-font-serif); font-weight: 400;
  font-size: clamp(42px, 4.3vw, 70px); line-height: 1; letter-spacing: -.01em; color: var(--msd-warm-ivory);
}
.msd-actualites .elementor.elementor .msd-nw-hero__title em { font-style: italic; color: var(--msd-muted-gold); }
.msd-actualites .elementor.elementor .msd-nw-hero__text {
  max-width: 600px; margin-top: 22px;
  font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: rgba(243, 240, 232, .88);
}

/* ---------- Mention contenus de démonstration ---------- */

.msd-actualites .elementor.elementor .msd-nw-notice {
  padding: 12px var(--msd-nw-gutter);
  background: var(--msd-deep-forest); color: var(--msd-text-on-dark);
  font-family: var(--msd-font-mono); font-size: 12px; letter-spacing: .04em; line-height: 1.6;
  border-bottom: 1px solid rgba(184, 180, 169, .25);
}
.msd-actualites .elementor.elementor .msd-nw-notice strong { color: var(--msd-warm-ivory); font-weight: 500; }

/* ---------- Article à la une ---------- */

.msd-actualites .elementor.elementor .msd-nw-featured-wrap.e-con {
  display: block; background: var(--msd-warm-ivory); padding: clamp(40px, 4vw, 64px) var(--msd-nw-gutter) 0;
}
.msd-actualites .elementor.elementor .msd-nw-featured.e-con {
  display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  background: #f8f6f0; border: 1px solid rgba(184, 180, 169, .7);
}
.msd-actualites .elementor.elementor .msd-nw-featured__media { position: relative; min-height: 360px; overflow: hidden; width: auto; max-width: none; }
.msd-actualites .elementor.elementor .msd-nw-featured__media .elementor-widget-container { position: static; }
.msd-actualites .elementor.elementor .msd-nw-featured__media img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 32%;
}
.msd-actualites .elementor.elementor .msd-nw-featured__body.e-con {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(28px, 3.4vw, 56px); color: var(--msd-ink-soft);
}
.msd-actualites .elementor.elementor .msd-nw-featured__body > .elementor-element { width: auto; max-width: 100%; }
.msd-actualites .elementor.elementor .msd-nw-meta.e-con { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; width: auto; }
.msd-actualites .elementor.elementor .msd-nw-meta > .elementor-element { width: auto; }
.msd-actualites .elementor.elementor .msd-nw-featured__title { margin-top: 18px; }
.msd-actualites .elementor.elementor .msd-nw-featured__title .elementor-heading-title {
  font-family: var(--msd-font-serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.06; color: var(--msd-forest-black);
}
.msd-actualites .elementor.elementor .msd-nw-featured__excerpt { margin-top: 16px; font-size: 16px; line-height: 1.65; }
.msd-actualites .elementor.elementor .msd-nw-featured__body .msd-nw-cta { margin-top: 26px; }

/* ---------- Catégories + grille ---------- */

.msd-actualites .elementor.elementor .msd-nw-archive.e-con {
  display: block; background: var(--msd-warm-ivory); color: var(--msd-ink-soft);
  padding: clamp(32px, 3vw, 48px) var(--msd-nw-gutter) clamp(48px, 4.6vw, 76px);
}
.msd-actualites .elementor.elementor .msd-nw-cats .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.msd-actualites .elementor.elementor .msd-nw-cats .elementor-icon-list-item {
  margin: 0; padding: 9px 16px;
  border: 1px solid rgba(184, 180, 169, .9); background: #f8f6f0;
  font-size: 14px; line-height: 1.6; color: var(--msd-ink-soft);
}
.msd-actualites .elementor.elementor .msd-nw-cats .elementor-icon-list-item::after { display: none; }
.msd-actualites .elementor.elementor .msd-nw-cats .elementor-icon-list-text { padding: 0; color: inherit; }
.msd-actualites .elementor.elementor .msd-nw-cats .elementor-icon-list-item:first-child {
  background: var(--msd-deep-forest); border-color: var(--msd-deep-forest); color: var(--msd-warm-ivory);
}

.msd-actualites .elementor.elementor .msd-nw-grid.e-con {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px);
  margin-top: clamp(24px, 2.4vw, 36px);
}
.msd-actualites .elementor.elementor .msd-nw-card.e-con { display: flex; flex-direction: column; background: #f8f6f0; border: 1px solid rgba(184, 180, 169, .7); }
.msd-actualites .elementor.elementor .msd-nw-card__media.e-con { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.msd-actualites .elementor.elementor .msd-nw-card__img { position: absolute; inset: 0; width: auto; max-width: none; }
.msd-actualites .elementor.elementor .msd-nw-card__img .elementor-widget-container { height: 100%; }
.msd-actualites .elementor.elementor .msd-nw-card__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.msd-actualites .elementor.elementor .msd-nw-card__media .msd-nw-badge { position: absolute; left: 14px; bottom: 14px; width: auto; }
.msd-actualites .elementor.elementor .msd-nw-illus { position: absolute; top: 10px; right: 10px; width: auto; }
.msd-actualites .elementor.elementor .msd-nw-illus .elementor-heading-title {
  display: block; padding: 3px 8px;
  background: rgba(11, 15, 13, .72); color: var(--msd-warm-ivory);
  font-family: var(--msd-font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6;
}
.msd-actualites .elementor.elementor .msd-nw-card__body.e-con {
  display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 18px 20px 22px;
}
.msd-actualites .elementor.elementor .msd-nw-card__body > .elementor-element { width: auto; max-width: 100%; }
.msd-actualites .elementor.elementor .msd-nw-card__title { margin-top: 10px; }
.msd-actualites .elementor.elementor .msd-nw-card__title .elementor-heading-title {
  font-family: var(--msd-font-serif); font-weight: 400; font-size: clamp(22px, 1.75vw, 26px); line-height: 1.12; color: var(--msd-forest-black);
}
.msd-actualites .elementor.elementor .msd-nw-card__excerpt { margin-top: 10px; font-size: 14.5px; line-height: 1.55; }
.msd-actualites .elementor.elementor .msd-nw-card .msd-nw-more { margin-top: auto; padding-top: 14px; }

/* ---------- Sur le terrain ---------- */

.msd-actualites .elementor.elementor .msd-nw-field.e-con {
  display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); gap: clamp(28px, 3.6vw, 64px); align-items: center;
  padding: clamp(44px, 4.4vw, 72px) var(--msd-nw-gutter);
  background: #e9e5da; color: var(--msd-ink-soft); border-top: 1px solid rgba(184, 180, 169, .6);
}
.msd-actualites .elementor.elementor .msd-nw-intro.e-con { display: block; }
.msd-actualites .elementor.elementor .msd-nw-field__text { max-width: 52ch; margin-top: 16px; font-size: 16px; line-height: 1.6; }
.msd-actualites .elementor.elementor .msd-nw-field__list.e-con { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.msd-actualites .elementor.elementor .msd-nw-card--compact .msd-nw-card__media.e-con { aspect-ratio: 4 / 3; }
.msd-actualites .elementor.elementor .msd-nw-card--compact .msd-nw-card__title { margin-top: 0; }
.msd-actualites .elementor.elementor .msd-nw-card--compact .msd-nw-card__title .elementor-heading-title { font-size: clamp(20px, 1.6vw, 24px); }

/* ---------- Galerie ---------- */

.msd-actualites .elementor.elementor .msd-nw-gallery.e-con {
  display: block; padding: clamp(48px, 4.6vw, 76px) var(--msd-nw-gutter);
  background: var(--msd-forest-black); color: var(--msd-warm-ivory); border-top: 1px solid var(--msd-muted-gold);
}
.msd-actualites .elementor.elementor .msd-nw-gallery__title { margin-top: 16px; }
.msd-actualites .elementor.elementor .msd-nw-gallery__title .elementor-heading-title {
  font-family: var(--msd-font-serif); font-weight: 400; font-size: clamp(32px, 3vw, 48px); line-height: 1.05; color: var(--msd-warm-ivory);
}
.msd-actualites .elementor.elementor .msd-nw-gallery__list.e-con {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: clamp(24px, 2.4vw, 36px);
}
.msd-actualites .elementor.elementor .msd-nw-shot {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid rgba(184, 180, 169, .25);
}
.msd-actualites .elementor.elementor .msd-nw-shot .elementor-widget-container { position: static; }
.msd-actualites .elementor.elementor .msd-nw-shot img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover;
}

/* ---------- Newsletter (démonstratif, aucune collecte) ---------- */

.msd-actualites .elementor.elementor .msd-nw-newsletter.e-con {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center;
  padding: clamp(44px, 4.4vw, 72px) var(--msd-nw-gutter);
  background: var(--msd-deep-forest); color: var(--msd-warm-ivory); border-top: 1px solid rgba(184, 180, 169, .25);
}
.msd-actualites .elementor.elementor .msd-nw-newsletter__title { margin-top: 16px; }
.msd-actualites .elementor.elementor .msd-nw-newsletter__title .elementor-heading-title {
  font-family: var(--msd-font-serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.06; color: var(--msd-warm-ivory);
}
.msd-actualites .elementor.elementor .msd-nw-newsletter__text { max-width: 52ch; margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: rgba(243, 240, 232, .88); }
.msd-actualites .elementor.elementor .msd-nw-form-wrap.e-con { display: block; }
.msd-actualites .elementor.elementor .msd-nw-form { display: flex; gap: 10px; margin: 0; }
.msd-actualites .elementor.elementor .msd-nw-form__field {
  flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 0 16px; height: 50px; box-sizing: border-box;
  background: rgba(243, 240, 232, .08); border: 1px solid rgba(184, 180, 169, .45);
}
.msd-actualites .elementor.elementor .msd-nw-form__field svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--msd-muted-gold); stroke-width: 1.5; stroke-linejoin: round; }
.msd-actualites .elementor.elementor .msd-nw-form__field input {
  flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  font: inherit; font-size: 15px; color: var(--msd-warm-ivory);
}
/* Contraste AA (nettoyage final) : placeholder ivoire .6 (4,50:1, au seuil) → .65 (4,99:1). */
.msd-actualites .elementor.elementor .msd-nw-form__field input::placeholder { color: rgba(243, 240, 232, .65); opacity: 1; }
/* Contraste AA (nettoyage final) : surtitre or sur Deep Forest, #A88A4A (4,06:1) → #B29250 (4,52:1). */
.msd-actualites .elementor.elementor .msd-nw-newsletter .msd-nw-eyebrow .elementor-heading-title { color: #B29250; }
.msd-actualites .elementor.elementor .msd-nw-form__btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  height: 50px; min-width: calc(228 * var(--msd-s)); padding: 0 26px; margin: 0;
  border: 1.5px solid var(--msd-muted-gold); border-radius: 2px;
  background: var(--msd-muted-gold); color: var(--msd-forest-black);
  font-family: var(--msd-font-sans); font-weight: 500; font-size: calc(14.5 * var(--msd-s)); line-height: 1;
  opacity: .75; cursor: not-allowed;
}
.msd-actualites .elementor.elementor .msd-nw-form__field input:disabled { cursor: not-allowed; }
.msd-actualites .elementor.elementor .msd-nw-form__note .elementor-heading-title {
  margin-top: 12px; font-family: var(--msd-font-mono); font-size: 12px; letter-spacing: .04em; line-height: 1.6; color: var(--msd-stone);
}

/* ==========================================================================
   Responsive (mêmes points de rupture que le prototype)
   ========================================================================== */

@media (max-width: 1279px) {
  .msd-actualites .elementor.elementor .msd-nw-grid.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msd-actualites .elementor.elementor .msd-nw-field.e-con { grid-template-columns: 1fr; }
  .msd-actualites .elementor.elementor .msd-nw-gallery__list.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .msd-actualites { --msd-nw-gutter: 32px; }

  .msd-actualites .elementor.elementor .msd-nw-hero.e-con { padding-top: calc(72px + 48px); }
  .msd-actualites .elementor.elementor .msd-nw-hero__media { left: 25%; }
  .msd-actualites .elementor.elementor .msd-nw-hero__media::after {
    background: linear-gradient(90deg, var(--msd-forest-black) 0%, rgba(11, 15, 13, .82) 30%, rgba(11, 15, 13, .35) 70%, rgba(11, 15, 13, .2) 100%);
  }
  .msd-actualites .elementor.elementor .msd-nw-hero.e-con::before { left: 20%; width: 45%; }

  .msd-actualites .elementor.elementor .msd-nw-featured.e-con { grid-template-columns: 1fr; }
  .msd-actualites .elementor.elementor .msd-nw-featured__media { min-height: 0; aspect-ratio: 16 / 9; }
  .msd-actualites .elementor.elementor .msd-nw-newsletter.e-con { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .msd-actualites { --msd-nw-gutter: 16px; }

  .msd-actualites .elementor.elementor .msd-nw-hero.e-con { min-height: 0; padding: calc(72px + 170px) 0 44px; align-items: flex-end; }
  .msd-actualites .elementor.elementor .msd-nw-hero__media { left: 0; bottom: auto; height: 420px; }
  .msd-actualites .elementor.elementor .msd-nw-hero__media::after {
    background: linear-gradient(0deg, var(--msd-forest-black) 0%, rgba(11, 15, 13, .75) 45%, rgba(11, 15, 13, .15) 100%);
  }
  .msd-actualites .elementor.elementor .msd-nw-hero.e-con::before { left: 30%; top: 30%; width: 70%; height: 70%; opacity: .3; }
  .msd-actualites .elementor.elementor .msd-nw-hero__title .elementor-heading-title { font-size: clamp(40px, 11.5vw, 52px); }
  .msd-actualites .elementor.elementor .msd-nw-eyebrow .elementor-heading-title { font-size: 11.5px; letter-spacing: .12em; }
  .msd-actualites .elementor.elementor .msd-nw-cta .elementor-button { height: 46px; width: 100%; min-width: 0; }

  .msd-actualites .elementor.elementor .msd-nw-h2 br,
  .msd-actualites .elementor.elementor .msd-nw-hero__title br { display: none; }

  /* catégories : défilement horizontal plutôt qu'un mur de pastilles */
  .msd-actualites .elementor.elementor .msd-nw-cats .elementor-icon-list-items {
    flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--msd-nw-gutter)); padding: 0 var(--msd-nw-gutter) 6px 0;
  }
  .msd-actualites .elementor.elementor .msd-nw-cats .elementor-icon-list-item { flex: none; }

  .msd-actualites .elementor.elementor .msd-nw-grid.e-con { grid-template-columns: 1fr; }
  .msd-actualites .elementor.elementor .msd-nw-field__list.e-con { grid-template-columns: 1fr; }

  /* galerie : défilement horizontal natif (composant pj-gallery du prototype) */
  .msd-actualites .elementor.elementor .msd-nw-gallery__list.e-con {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
    margin-right: calc(-1 * var(--msd-nw-gutter)); padding-right: var(--msd-nw-gutter);
    width: auto;
  }
  .msd-actualites .elementor.elementor .msd-nw-shot { scroll-snap-align: start; }

  .msd-actualites .elementor.elementor .msd-nw-form { flex-direction: column; }
  .msd-actualites .elementor.elementor .msd-nw-form__field { flex: none; }
  .msd-actualites .elementor.elementor .msd-nw-form__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .msd-actualites .elementor.elementor .elementor-button { transition: none; }
}
