/* Le Mag : fond « papier », typographie de presse (Newsreader, assets/vendor/fonts/newsreader) et pied de page.
   body.ir-mag est posé par irShellSection (MCL/inc/sidenav.inc.php) sur toutes les pages du Mag. */
:root { --mag-serif: 'Newsreader', Georgia, 'Times New Roman', serif; }

/* Fond : noir chaud / blanc cassé, halo rouge diffus en haut de page, en fondu à l'entrée et à la sortie du Mag */
body { transition: background-color .5s ease; }
.ir-topbar { transition: background-color .5s ease; }
body.ir-mag { --bg-app: #131211; }
[data-theme="light"] body.ir-mag { --bg-app: #FFFFFF; } /* thème clair : blanc comme le reste du site, pas de papier */
body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 720px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s ease;
	background: radial-gradient(1100px 520px at 50% -140px, rgba(232, 21, 0, .11), transparent 70%), radial-gradient(700px 420px at 92% 0, rgba(255, 170, 90, .05), transparent 70%); }
[data-theme="light"] body::before { background: none; }
body.ir-mag::before { opacity: 1; }
body.ir-mag :is(.app-layout, [data-loader=content]) { background-color: transparent; }
@media (prefers-reduced-motion: reduce) { body, .ir-topbar, body::before { transition: none; } }

/* Typographie : titres et texte des articles en serif de presse, interface (boutons, méta, menus) en Inter */
body.ir-mag :is(.mag-head h1, .mag-feat h2, .mag-card h3, .mag-grid-title, .mag-pop h2, .mag-pop li b, .ma-title, .ma-chapo, .ma-body, .ma-rel-card h3, .ma h2, .mnl h2, .mft-logo) {
	font-family: var(--mag-serif); font-optical-sizing: auto; letter-spacing: -.005em; }
body.ir-mag :is(.mag-head h1, .ma-title) { font-weight: 600; letter-spacing: -.015em; }
body.ir-mag .mag-head h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1; }
body.ir-mag :is(.mag-feat h2, .ma-title) { font-weight: 600; line-height: 1.08; }
body.ir-mag .mag-card h3 { font-size: 21px; font-weight: 600; line-height: 1.22; }
body.ir-mag .mag-pop li b { font-size: 16.5px; font-weight: 500; }
body.ir-mag .mag-pop li::before { font-family: var(--mag-serif); font-size: 34px; font-weight: 300; font-style: italic; color: #E81500; min-width: 26px; }
body.ir-mag .ma-chapo { font-size: clamp(20px, 2.2vw, 24px); font-style: italic; font-weight: 400; line-height: 1.45; }
body.ir-mag .ma-body { font-size: 20px; line-height: 1.68; }
body.ir-mag .ma-body h2 { font-family: var(--mag-serif); font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
body.ir-mag .ma-body :is(.mag-beat, .mag-prof, .mag-ad, .mag-embed, figcaption, table, pre, code) { font-family: var(--font-sans); }
/* Lettrine au premier paragraphe */
body.ir-mag .ma-body > p:first-of-type::first-letter { float: left; margin: .06em .1em 0 0; font-size: 4.3em; line-height: .8; font-weight: 600; color: #E81500; }
/* Citations mises en exergue */
body.ir-mag .ma-body blockquote { position: relative; margin: 40px 0; padding: 6px 0 6px 28px; border-left: 3px solid #E81500; font-size: 27px; font-style: italic; font-weight: 400; line-height: 1.4; }
body.ir-mag .ma-body blockquote::before { content: '“'; position: absolute; left: 22px; top: -34px; font-size: 80px; line-height: 1; color: #E81500; opacity: .35; font-style: normal; }
