/* Identite Virage mediafootmarseille.fr. Palette de la charte, logo non redessine. */
html body {
  --dn-mfm-ink: #071b2d;
  --dn-mfm-paper: #ffffff;
  --dn-mfm-sky: #edf7fc;
  --dn-mfm-accent: #009fe3;
  --dn-mfm-gold: #f2a900;
  --dn-mfm-muted: #52697a;
  --dn-mfm-line: #b8d9ea;
  --dn-mfm-display: "Arial Narrow", "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  --dn-mfm-body: Inter, ui-sans-serif, system-ui, sans-serif;
}
html body .dn-mfm,
html body .dn-mfm-archive,
html body .dn-mfm-article,
html body .dn-id-page--mediafoot,
html body .dn-id-foot--mediafoot {
  color: var(--dn-mfm-ink);
  background: var(--dn-mfm-paper);
  font-family: var(--dn-mfm-body);
}
html body .dn-mfm h1, html body .dn-mfm h2, html body .dn-mfm h3,
html body .dn-mfm-archive h1, html body .dn-mfm-archive h2,
html body .dn-mfm-article h1, html body .dn-id-page--mediafoot h1 {
  font-family: var(--dn-mfm-display);
  hyphens: none; -webkit-hyphens: none; overflow-wrap: normal;
}
html body .dn-mfm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html body .dn-mfm-cat {
  display: inline-block; margin: 0 0 6px; color: var(--dn-mfm-accent);
  font: 700 0.72rem/1.2 var(--dn-mfm-display); letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none;
}
html body .dn-mfm-byline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.55rem; margin: 6px 0 0;
  color: var(--dn-mfm-muted); font: 400 0.8125rem/1.4 var(--dn-mfm-body);
}
html body .dn-mfm-byline a { color: var(--dn-mfm-ink); text-decoration: none; }
html body .dn-mfm-sep { color: var(--dn-mfm-line); }

/* Fil du Velodrome */
html body .dn-mfm-fil {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px;
  margin-top: 14px; padding: 10px 14px; background: var(--dn-mfm-sky); border-top: 3px solid var(--dn-mfm-ink); border-bottom: 1px solid var(--dn-mfm-line);
}
html body .dn-mfm-fil__date { font: 700 0.78rem/1.3 var(--dn-mfm-display); letter-spacing: 0.08em; text-transform: uppercase; }
html body .dn-mfm-fil__nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
html body .dn-mfm-fil__nav a { color: var(--dn-mfm-ink); font: 600 0.85rem/1.3 var(--dn-mfm-body); text-decoration: none; border-bottom: 2px solid transparent; }
html body .dn-mfm-fil__nav a:hover, html body .dn-mfm-fil__nav a:focus-visible { border-bottom-color: var(--dn-mfm-accent); }

/* Masthead */
html body .dn-mfm-masthead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; padding: 26px 0 18px; }
html body .dn-mfm-edition { margin: 0 0 6px; font: 700 1.05rem/1.2 var(--dn-mfm-display); letter-spacing: 0.02em; }
html body .dn-mfm-intro { margin: 0; max-width: 44rem; color: var(--dn-mfm-muted); font: 400 1.02rem/1.5 var(--dn-mfm-body); }
html body .dn-mfm-mark { font: 700 3rem/0.9 var(--dn-mfm-display); color: var(--dn-mfm-ink); letter-spacing: -0.02em; }
html body .dn-mfm-mark span { color: var(--dn-mfm-gold); padding: 0 2px; }

/* Grand angle */
html body .dn-mfm-kicker { margin: 0 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--dn-mfm-ink); font: 700 1.3rem/1.2 var(--dn-mfm-display); }
html body .dn-mfm-grand__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.7fr); gap: 24px 32px; align-items: start; padding-bottom: 30px; }
html body .dn-mfm-grand__media, html body .dn-mfm-ville__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dn-mfm-sky); }
html body .dn-mfm-grand__media img, html body .dn-mfm-ville__media img { width: 100%; height: 100%; object-fit: cover; }
html body .dn-mfm-grand__lead h3 { margin: 0 0 10px; font: 700 2rem/1.12 var(--dn-mfm-display); }
html body .dn-mfm-chapo { margin: 0; font: 400 1.05rem/1.5 var(--dn-mfm-body); }
html body .dn-mfm-depesches { display: grid; gap: 0; }
html body .dn-mfm-depesche { padding: 14px 0; border-bottom: 1px solid var(--dn-mfm-line); }
html body .dn-mfm-depesche:first-child { padding-top: 0; }
html body .dn-mfm-depesche h3 { margin: 0 0 4px; font: 700 1.05rem/1.25 var(--dn-mfm-display); }
html body .dn-mfm-depesche time { color: var(--dn-mfm-muted); font: 400 0.8rem/1.4 var(--dn-mfm-body); }

/* Mercato minute */
html body .dn-mfm-mercato { margin: 6px 0 30px; padding: 26px 0; background: var(--dn-mfm-ink); color: #fff; }
html body .dn-mfm-mercato__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 16px; }
html body .dn-mfm-mercato__head h2 { margin: 0; font: 700 1.5rem/1.2 var(--dn-mfm-display); color: var(--dn-mfm-gold); }
html body .dn-mfm-mercato__head a { color: #fff; font: 600 0.9rem/1.3 var(--dn-mfm-body); }
html body .dn-mfm-mercato__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; list-style: none; margin: 0; padding: 0; }
html body .dn-mfm-mercato__list li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
html body .dn-mfm-mercato__list time { color: var(--dn-mfm-gold); font: 700 0.78rem/1.4 var(--dn-mfm-display); }
html body .dn-mfm-mercato__list a { color: #fff; font: 600 1rem/1.35 var(--dn-mfm-body); text-decoration: none; }
html body .dn-mfm-mercato__list a:hover, html body .dn-mfm-mercato__list a:focus-visible { text-decoration: underline; }

/* Le club et sa ville */
html body .dn-mfm-ville__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--dn-mfm-ink); }
html body .dn-mfm-ville__head h2 { margin: 0; font: 700 1.5rem/1.2 var(--dn-mfm-display); }
html body .dn-mfm-ville__head a { color: var(--dn-mfm-ink); font: 600 0.9rem/1.3 var(--dn-mfm-body); }
html body .dn-mfm-ville__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
html body .dn-mfm-ville__card { grid-column: span 2; }
html body .dn-mfm-ville__card--1 { grid-column: span 3; }
html body .dn-mfm-ville__card--3 { grid-column: span 3; }
html body .dn-mfm-ville__card h3 { margin: 0; font: 700 1.08rem/1.25 var(--dn-mfm-display); }
html body .dn-mfm-ville__card--1 .dn-mfm-ville__media { aspect-ratio: 3 / 2; }
html body .dn-mfm-ville__media { margin-bottom: 10px; }

/* Kiosque */
html body .dn-mfm-kiosque { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; padding: 14px; background: var(--dn-mfm-sky); }
html body .dn-mfm-kiosque__item { flex: 1 1 8rem; padding: 10px 12px; background: var(--dn-mfm-paper); border-left: 4px solid var(--dn-mfm-accent); text-decoration: none; color: var(--dn-mfm-ink); }
html body .dn-mfm-kiosque__item span { display: block; font: 700 1rem/1.2 var(--dn-mfm-display); }
html body .dn-mfm-kiosque__item em { font: 400 0.72rem/1.4 var(--dn-mfm-body); color: var(--dn-mfm-muted); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
html body .dn-mfm-kiosque__item:hover, html body .dn-mfm-kiosque__item:focus-visible { border-left-color: var(--dn-mfm-gold); }

/* Dernieres depeches */
html body .dn-mfm-latest h2 { margin: 0 0 12px; font: 700 1.4rem/1.2 var(--dn-mfm-display); }
html body .dn-mfm-latest ol { list-style: none; margin: 0; padding: 0; }
html body .dn-mfm-latest li { display: grid; grid-template-columns: 6.5rem minmax(5rem, 8rem) minmax(0, 1fr); gap: 10px 16px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--dn-mfm-line); }
html body .dn-mfm-latest time { color: var(--dn-mfm-muted); font: 400 0.8rem/1.4 var(--dn-mfm-body); }

/* Footer */
html body .dn-mfm-foot__wordmark { padding: 30px 0 18px; background: var(--dn-mfm-paper); position: relative; overflow: hidden; }
html body .dn-mfm-brand { position: relative; z-index: 1; display: inline-block; margin: 0 0 14px; }
html body .dn-mfm-brand img { display: block; width: auto; height: auto; min-width: 180px; max-height: 58px; max-width: min(320px, 74vw); }
html body .dn-mfm-foot__wordmark::after { content: "Marseille"; position: absolute; right: 0; bottom: -0.35em; font: 700 clamp(3rem, 12vw, 8rem)/1 var(--dn-mfm-display); color: var(--dn-mfm-sky); z-index: 0; pointer-events: none; }
html body .dn-mfm-foot__sections { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 16px; }
html body .dn-mfm-foot__sections a { color: var(--dn-mfm-ink); font: 600 0.9rem/1.3 var(--dn-mfm-body); text-decoration: none; }
html body .dn-mfm-foot__night { padding: 24px 0 18px; background: var(--dn-mfm-ink); color: #fff; }
html body .dn-mfm-foot__grid { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: flex-start; }
html body .dn-mfm-foot__night h2 { margin: 0 0 10px; font: 700 1rem/1.2 var(--dn-mfm-display); color: var(--dn-mfm-gold); }
html body .dn-mfm-foot__house nav { display: flex; flex-direction: column; gap: 6px; }
html body .dn-mfm-foot__night a { color: #fff; font: 600 0.9rem/1.3 var(--dn-mfm-body); text-decoration: none; }
html body .dn-mfm-foot__night a:hover, html body .dn-mfm-foot__night a:focus-visible { text-decoration: underline; }
html body .dn-mfm-foot__ads { max-width: 32rem; }
html body .dn-mfm-foot__ads p { margin: 0 0 12px; font: 400 0.92rem/1.5 var(--dn-mfm-body); color: rgba(255,255,255,0.85); }
html body .dn-mfm-foot__ticket { display: inline-block; padding: 9px 16px; background: var(--dn-mfm-gold); color: var(--dn-mfm-ink) !important; font-weight: 700 !important; }
html body .dn-mfm-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.2); font: 400 0.8rem/1.4 var(--dn-mfm-body); color: rgba(255,255,255,0.8); }
html body .dn-mfm-foot__base nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
html body .dn-mfm-foot__base a, html body .dn-mfm-foot__base button { color: rgba(255,255,255,0.9); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-decoration: none; }

/* Articles et archives partagees */
html body .dn-mfm-archive .dn-archive-card__body, html body .dn-mfm-archive .dn-team-card__body { padding: 12px; }
html body .dn-mfm-archive .dn-archive-description, html body .dn-mfm-archive .dn-author-bio { max-width: 44rem; }
html body .dn-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px 36px; align-items: start; }
html body .dn-article-content { font-size: 1.125rem; line-height: 1.65; max-width: 42rem; }
html body .dn-article-rail__slot { box-sizing: border-box; width: 300px; min-width: 300px; height: 250px; min-height: 250px; border: 1px dashed var(--dn-mfm-line); background: var(--dn-mfm-sky); }
html body .dn-mfm-embed, html body figure.wp-block-embed, html body figure.wp-block-embed-youtube, html body .fluid-width-video-wrapper { overflow: visible !important; aspect-ratio: auto !important; min-height: 0; background: var(--dn-mfm-paper) !important; }
html body figure.wp-block-embed iframe, html body figure.wp-block-embed-youtube iframe { display: block; width: 100%; max-height: 360px; }
html body .dn-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-bottom: 36px; }
html body .dn-team-card { border: 1px solid var(--dn-mfm-line); background: var(--dn-mfm-paper); }

@media (max-width: 1024px) {
  html body .dn-mfm-grand__grid, html body .dn-article-layout { grid-template-columns: minmax(0, 1fr); }
  html body .dn-mfm-ville__grid, html body .dn-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .dn-mfm-ville__card, html body .dn-mfm-ville__card--1, html body .dn-mfm-ville__card--3 { grid-column: span 1; }
  html body .dn-article-rail__slot { max-width: 100%; }
}
@media (max-width: 720px) {
  html body .dn-mfm-mercato__list { grid-template-columns: minmax(0, 1fr); }
  html body .dn-mfm-ville__grid, html body .dn-team-grid { grid-template-columns: minmax(0, 1fr); }
  html body .dn-mfm-kiosque { flex-wrap: nowrap; overflow-x: auto; }
  html body .dn-mfm-kiosque__item { flex: 0 0 10rem; }
  html body .dn-mfm-latest li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  html body .dn-mfm-mark { font-size: 2.2rem; }
  html body .dn-mfm-foot__grid { flex-direction: column; }
}

/* --- correctif v2 : hierarchie, alignements, grille sans vide, densite media --- */
html body .dn-mfm { font-size: 1rem; line-height: 1.55; }
html body .dn-mfm-section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 18px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--dn-mfm-ink);
}
html body .dn-mfm-section-head .dn-mfm-kicker { margin: 0; padding: 0; border: 0; }
html body .dn-mfm-section-head a { color: var(--dn-mfm-accent); font: 700 0.85rem/1.3 var(--dn-mfm-body); text-decoration: none; }
html body .dn-mfm-grand__title { margin: 0 0 10px; font-size: clamp(1.7rem, 2.4vw, 2.5rem); line-height: 1.08; font-weight: 700; }
html body .dn-mfm-depesches__title { margin: 0 0 8px; font: 700 0.78rem/1.2 var(--dn-mfm-display); letter-spacing: 0.09em; text-transform: uppercase; color: var(--dn-mfm-muted); }
html body .dn-mfm-byline { font-size: 0.85rem; }
html body .dn-mfm-ville__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 20px; }
html body .dn-mfm-ville__card { grid-column: span 3; }
html body .dn-mfm-ville__card--1 { grid-column: span 7; }
html body .dn-mfm-ville__card--2 { grid-column: span 5; }
html body .dn-mfm-ville__card--3 { grid-column: span 3; }
html body .dn-mfm-ville__card--1 .dn-mfm-ville__media { aspect-ratio: 16 / 9; }
html body .dn-mfm-ville__card--2 .dn-mfm-ville__media { aspect-ratio: 16 / 9; }
html body .dn-mfm-ville__card--1 h3 { font-size: 1.5rem; line-height: 1.15; }
html body .dn-mfm-ville__card--2 h3 { font-size: 1.2rem; line-height: 1.2; }
html body .dn-mfm-kiosque { gap: 12px; }
html body .dn-mfm-kiosque__item span { font-size: 1.05rem; }
html body .dn-mfm-masthead { padding: 30px 0 22px; }
html body .dn-mfm-fil { padding: 12px 16px; }
@media (max-width: 1024px) {
  html body .dn-mfm-ville__card, html body .dn-mfm-ville__card--1, html body .dn-mfm-ville__card--2, html body .dn-mfm-ville__card--3 { grid-column: span 6; }
  html body .dn-mfm-ville__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  html body .dn-mfm-ville__grid { grid-template-columns: minmax(0, 1fr); }
  html body .dn-mfm-ville__card, html body .dn-mfm-ville__card--1, html body .dn-mfm-ville__card--2, html body .dn-mfm-ville__card--3 { grid-column: span 1; }
}
/* Correctif header SmartMag a 1024 : logo et navigation compacts, sans casse */
@media (max-width: 1200px) and (min-width: 941px) {
  html body .smart-head-main .logo-image img { max-height: 44px; width: auto; }
  html body .smart-head-main .navigation-main a { font-size: 0.95rem; }
}

/* correctif v3 : barre Fil du Velodrome mono-ligne, liens defilables */
html body .dn-mfm-fil { flex-wrap: nowrap; align-items: center; gap: 10px 18px; justify-content: space-between; }
html body .dn-mfm-fil__date { flex: 0 0 auto; }
html body .dn-mfm-fil__nav { min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
html body .dn-mfm-fil__nav::-webkit-scrollbar { display: none; }
html body .dn-mfm-fil__nav a { flex: 0 0 auto; }
@media (max-width: 720px) {
  html body .dn-mfm-fil { flex-wrap: wrap; }
  html body .dn-mfm-fil__date { flex-basis: 100%; }
}

/* correctif v4 : etats hover/focus coherents sur tous les cliquables */
html body .dn-mfm a { transition: color .15s ease, border-color .15s ease; }
html body .dn-mfm-grand__title a:hover, html body .dn-mfm-grand__title a:focus-visible,
html body .dn-mfm-depesche h3 a:hover, html body .dn-mfm-depesche h3 a:focus-visible,
html body .dn-mfm-ville__card h3 a:hover, html body .dn-mfm-ville__card h3 a:focus-visible,
html body .dn-mfm-latest a:hover, html body .dn-mfm-latest a:focus-visible,
html body .dn-mfm-kiosque__item:hover span, html body .dn-mfm-kiosque__item:focus-visible span { color: var(--dn-mfm-accent); }
html body .dn-mfm a:focus-visible, html body .dn-mfm button:focus-visible,
html body .dn-id-foot--mediafoot a:focus-visible, html body .dn-id-foot--mediafoot button:focus-visible { outline: 3px solid var(--dn-mfm-accent); outline-offset: 2px; }
html body .dn-id-foot--mediafoot a:hover, html body .dn-id-foot--mediafoot a:focus-visible { text-decoration: underline; }

/* correctif v5 : bloc de partage natif et ses etats */
html body .dn-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; }
html body .dn-share__label { font: 700 0.72rem/1.2 var(--dn-mfm-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dn-mfm-muted); }
html body .dn-share a { color: var(--dn-mfm-ink); font: 600 0.85rem/1.3 var(--dn-mfm-body); text-decoration: none; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
html body .dn-share a:hover, html body .dn-share a:focus-visible { color: var(--dn-mfm-accent); border-bottom-color: var(--dn-mfm-accent); }

/* correctif v6 : retour hover explicite sur tous les cliquables (breadcrumb, auteur, pagination, bouton, social) */
html body .dn-breadcrumb a:hover, html body .dn-breadcrumb a:focus-visible,
html body .dn-article-author:hover, html body .dn-article-author:focus-visible,
html body .dn-author-card a:hover, html body .dn-author-card a:focus-visible { color: var(--dn-mfm-accent); text-decoration: underline; }
html body .dn-pagination a:hover, html body .dn-pagination a:focus-visible { color: var(--dn-mfm-accent); border-color: var(--dn-mfm-accent); }
html body button[data-dn-open-consent]:hover, html body button[data-dn-open-consent]:focus-visible,
html body .dn-id-foot--mediafoot button:hover, html body .dn-id-foot--mediafoot button:focus-visible { color: var(--dn-mfm-accent); text-decoration: underline; }
html body .spc-social a:hover, html body .spc-social a:focus-visible { opacity: .7; }
html body .dn-archive-card a:hover, html body .dn-archive-card a:focus-visible { color: var(--dn-mfm-accent); }

/* correctif v7 : menu mobile sans newsletter non verifiee + croix alignee */
html body .mobile-menu-container.off-canvas .off-canvas-widgets,
html body .mobile-menu-container.off-canvas .smartmag-widget-newsletter,
html body .mobile-menu-container.off-canvas .block-newsletter,
html body .mobile-menu-container.off-canvas .spc-newsletter { display: none !important; }
html body .mobile-menu-container.off-canvas .off-canvas-head {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 60px; padding: 8px 16px; border-bottom: 1px solid var(--dn-mfm-line);
}
html body .mobile-menu-container.off-canvas .off-canvas-head .close {
  position: static; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0; flex: 0 0 auto; color: var(--dn-mfm-ink);
}
html body .mobile-menu-container.off-canvas .off-canvas-head .ts-logo { margin-left: auto; }

/* correctif v8 : typo lisible, a la une illustree, ville colonnes egales, rail article, annonceurs */
html body .dn-mfm { font-size: 16px; line-height: 1.6; }
html body .dn-mfm-intro, html body .dn-mfm-chapo { font-size: 1.0625rem; line-height: 1.6; }
html body .dn-mfm-depesche h3, html body .dn-mfm-ville__card h3 { font-size: 1.125rem; line-height: 1.3; }
html body .dn-mfm-latest li > a { font-size: 1.0625rem; line-height: 1.35; }
html body .dn-mfm-byline, html body .dn-mfm-depesche time, html body .dn-mfm-latest time, html body .dn-mfm-cat { font-size: 0.8125rem; }
html body .dn-mfm-depesche__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 8px; background: var(--dn-mfm-sky); }
html body .dn-mfm-depesche__media img { width: 100%; height: 100%; object-fit: cover; }
html body .dn-mfm-depesches { display: grid; gap: 16px; }
html body .dn-mfm-ville__card--1, html body .dn-mfm-ville__card--2 { grid-column: span 6; }
html body .dn-mfm-ville__card--1 .dn-mfm-ville__media, html body .dn-mfm-ville__card--2 .dn-mfm-ville__media { aspect-ratio: 16 / 9; }
html body .dn-mfm-ville__card--1 h3, html body .dn-mfm-ville__card--2 h3 { font-size: 1.25rem; line-height: 1.2; }
html body .dn-article-rail__slot { background: transparent; border: 0; }
@media (max-width: 1024px) { html body .dn-article-rail { display: none; } }
html body .dn-trust--advertising { display: grid; gap: 24px; }
html body .dn-trust__formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
html body .dn-trust__format { min-width: 0; }
html body .dn-trust__format h3, html body .dn-trust__format p,
html body .dn-trust__marketplace h2, html body .dn-trust__marketplace p,
html body .dn-trust__commercial-copy h2 { overflow-wrap: break-word; word-break: normal; writing-mode: horizontal-tb; }
html body .dn-trust__marketplace { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 24px; align-items: center; }
html body .dn-trust__marketplace-logo { grid-row: span 2; align-self: center; }
html body .dn-trust__marketplace > div:not(.dn-trust__marketplace-logo) { min-width: 0; }
html body .dn-trust__marketplace .dn-trust__button { grid-column: 2; justify-self: start; }
@media (max-width: 720px) {
  html body .dn-trust__marketplace { grid-template-columns: minmax(0, 1fr); }
  html body .dn-trust__marketplace-logo { grid-row: auto; }
  html body .dn-trust__marketplace .dn-trust__button { grid-column: 1; }
}

/* correctif v9 : tailles px absolues (theme a root 14px), marketplace, article */
html body .dn-mfm { font-size: 16px; }
html body .dn-mfm-intro { font-size: 16px; line-height: 1.55; }
html body .dn-mfm-chapo { font-size: 16px; line-height: 1.6; }
html body .dn-mfm-edition { font-size: 17px; }
html body .dn-mfm-kicker { font-size: 20px; }
html body .dn-mfm-grand__title { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
html body .dn-mfm-depesche h3, html body .dn-mfm-ville__card h3 { font-size: 18px; line-height: 1.3; }
html body .dn-mfm-latest li > a { font-size: 16px; line-height: 1.4; }
html body .dn-mfm-byline, html body .dn-mfm-depesche time, html body .dn-mfm-latest time, html body .dn-mfm-cat { font-size: 13px; line-height: 1.45; }
html body .dn-mfm-ville__card--1 h3, html body .dn-mfm-ville__card--2 h3 { font-size: 20px; line-height: 1.2; }
html body .dn-trust__marketplace { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 16px 28px; align-items: center; }
html body .dn-trust__marketplace-logo { grid-row: span 2; align-self: center; }
html body .dn-trust__marketplace-logo img { max-width: 180px; height: auto; }
html body .dn-trust__marketplace > div:not(.dn-trust__marketplace-logo) { min-width: 0; }
html body .dn-trust__marketplace .dn-trust__button { grid-column: 2; justify-self: start; }
html body .dn-trust__marketplace h2 { font-size: 24px; line-height: 1.25; }
html body .dn-trust__marketplace p { font-size: 16px; line-height: 1.6; }
html body .dn-trust__format h3 { font-size: 20px; }
html body .dn-trust__format p { font-size: 15px; line-height: 1.5; }
html body .dn-article-rail__slot { background: transparent; border: 0; }
@media (max-width: 1200px) {
  html body .dn-article-layout { grid-template-columns: minmax(0, 1fr); }
  html body .dn-article-rail { display: none; }
}
@media (max-width: 720px) {
  html body .dn-trust__marketplace { grid-template-columns: minmax(0, 1fr); }
  html body .dn-trust__marketplace-logo { grid-row: auto; }
  html body .dn-trust__marketplace-logo img { max-width: 150px; }
  html body .dn-trust__marketplace .dn-trust__button { grid-column: 1; }
}

/* correctif v10 : article en deux colonnes desktop, rail lateral structurel vide */
@media (min-width: 1025px) {
  html body .dn-article-layout { display: grid !important; grid-template-columns: minmax(0, 1fr) 300px !important; gap: 28px 36px; align-items: start; }
  html body .dn-article-rail { display: block !important; }
  html body .dn-article-main { min-width: 0; }
}

/* correctif v11 : retrait du CTA newsletter eepurl (header desktop+mobile) et blocs orphelins */
html body .smart-head a[href*="eepurl.com"],
html body a.ts-button[href*="eepurl.com"],
html body a[href*="eepurl.com"],
html body .mobile-menu a[href*="eepurl.com"] { display: none !important; visibility: hidden !important; }
html body .mobile-menu-container.off-canvas .off-canvas-widgets { display: none !important; }

/* correctif v12 : titres et libelles dans la palette approuvee */
html body .dn-mfm h1, html body .dn-mfm h2, html body .dn-mfm h3, html body .dn-mfm h4 { color: #071b2d; }
html body .dn-mfm-cat { color: #009fe3; }
html body .dn-mfm-latest h2, html body .dn-mfm-mercato h2 { color: #071b2d; }
html body .dn-mfm-mercato h2 { color: #f2a900; }

/* correctif v13 : forms_layout - formulaire Publicite centre a marges symetriques */
html body .dn-contact { max-width: 860px !important; width: 100%; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 600px) { html body .dn-form-grid { grid-template-columns: minmax(0, 1fr) !important; } }

/* correctif v14 : vertical_rhythm pages internes + content_hierarchy contact */
html body .dn-id-page .dn-id-page__head { padding-top: 16px !important; }
html body .dn-id-page .dn-id-page__head .dn-breadcrumb { margin: 0; }
html body .dn-id-page .dn-id-page__head h1 { margin-top: 18px !important; margin-bottom: 18px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
html body .dn-trust--contact .dn-trust__hero h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; max-width: 30ch; }
html body .dn-trust--contact .dn-trust__hero { margin-bottom: 24px; }
html body .dn-trust--contact .dn-trust__useful h2 { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.25; }

/* correctif v15 : gap fil d'Ariane -> titre >= 24px */
html body .dn-id-page .dn-id-page__head h1 { margin-top: 28px !important; }

/* correctif v16 : CTA commerciaux a fort contraste au repos, hover et focus */
html body .dn-trust a[class*="button"], html body .dn-trust .dn-trust__button, html body .dn-trust button,
html body .dn-contact a[class*="button"], html body .dn-contact button, html body .dn-contact-form button,
html body .dn-form-submit {
  background: #071b2d !important; color: #ffffff !important; border: 1px solid #071b2d !important;
}
html body .dn-trust a[class*="button"]:hover, html body .dn-trust a[class*="button"]:focus-visible,
html body .dn-trust .dn-trust__button:hover, html body .dn-trust .dn-trust__button:focus-visible,
html body .dn-trust button:hover, html body .dn-trust button:focus-visible,
html body .dn-contact a[class*="button"]:hover, html body .dn-contact a[class*="button"]:focus-visible,
html body .dn-contact button:hover, html body .dn-contact button:focus-visible,
html body .dn-contact-form button:hover, html body .dn-contact-form button:focus-visible,
html body .dn-form-submit:hover, html body .dn-form-submit:focus-visible {
  background: #071b2d !important; color: #ffffff !important; outline: 3px solid #009fe3; outline-offset: 2px;
}
