/* Lecture confortable et images d'actualités au cadrage stable. */
.article-formatted-body{color:#35434a;font-size:1rem;line-height:1.75;overflow-wrap:anywhere;white-space:normal}
.article-formatted-body p{margin:0 0 1.1em;white-space:pre-line}
.article-formatted-body h3,.article-formatted-body h4,.article-formatted-body h5{margin:1.4em 0 .55em;color:#16232a;line-height:1.18}
.article-formatted-body h3{font-size:1.65em}.article-formatted-body h4{font-size:1.35em}.article-formatted-body h5{font-size:1.15em}
.article-formatted-body .article-large-text{font-size:1.2em}.article-formatted-body .article-small-text{font-size:.9em}
.article-formatted-body ul,.article-formatted-body ol{padding-left:1.5em;margin:1em 0}.article-formatted-body li{margin:.35em 0}.article-formatted-body blockquote{margin:1.1em 0;padding:.45em 1.1em;border-left:4px solid #f15a24;background:#f8f7f3;color:#243339}.article-formatted-body a{color:#c8491e;text-decoration:underline;text-underline-offset:2px}.article-formatted-body u{text-underline-offset:2px}.article-formatted-body mark{background:#ffe28a}
.article-formatted-body mark{background:#ffe89a;color:#222}
.article-external-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;margin:20px 0 0;padding:13px 19px;background:#f15a24;color:#fff!important;font-weight:800;text-decoration:none;border-radius:5px;overflow-wrap:anywhere}
.article-external-link[hidden]{display:none!important}
.article-dialog{max-height:min(92dvh,900px);overflow-y:auto;overscroll-behavior:contain}
.article-dialog .dialog-close{position:sticky;top:12px;float:right;z-index:3;margin:12px 12px -56px 0}
.article-dialog #dialog-body{padding:0;margin-top:22px}
.news-carousel{height:560px;min-height:0}
.news-carousel .carousel-track,.news-carousel .news-slide{height:100%}
.featured-news-card{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}
.featured-news-card figure{position:relative;height:100%;min-height:0;overflow:hidden;background:#1c2a31}
.featured-news-card figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.featured-news-card>div{min-width:0;min-height:0;justify-content:flex-start;padding:34px 42px}
.featured-news-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;max-width:100%;font-size:clamp(2.2rem,2.8vw,3.1rem);line-height:1.02}
.featured-news-card>div>p:not(.news-date){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-width:100%;margin-bottom:15px}
.featured-news-card>div>.button{flex:0 0 auto;margin-top:auto}
.member-article-dialog #member-article-body{white-space:normal}
@media(max-width:920px){.news-carousel{height:760px}.featured-news-card{grid-template-rows:320px minmax(0,1fr)}.featured-news-card figure{height:100%;min-height:0}.featured-news-card>div{padding:28px 32px}}
@media(max-width:620px){.news-carousel{height:660px}.featured-news-card{grid-template-rows:230px minmax(0,1fr)}.featured-news-card figure{height:100%;min-height:0}.featured-news-card>div{padding:22px 23px 25px}.featured-news-card h3{font-size:clamp(1.75rem,7vw,2.25rem)}.article-dialog{max-height:92dvh}}

/* Les filtres restent au-dessus des ornements de la section. */
.news::before{pointer-events:none}
.news-filters{position:relative;z-index:2}
.news-filters button{min-height:42px;font-size:.875rem;transition:background .2s,border-color .2s,color .2s}
.news-filters button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.news-carousel .loading-state{display:grid;place-items:center;min-height:100%;width:100%;padding:28px;text-align:center;color:#e4e9e9;font-size:1rem}

/* Fenêtre de lecture adaptée aux articles longs. */
.article-dialog{width:min(850px,calc(100% - 32px));max-height:min(92dvh,960px);overflow:visible;border:1px solid #d6dddc;border-radius:18px;background:#fff;box-shadow:0 34px 110px rgba(0,0,0,.48)}
.article-dialog::backdrop{background:rgba(7,17,22,.78);backdrop-filter:blur(7px)}
.article-dialog > .article-dialog-scroll{max-height:min(92dvh,960px);overflow-y:auto;overscroll-behavior:contain;padding:0;border-radius:17px;scrollbar-color:#df6b45 #f3f4f1}
.article-dialog-media{position:relative;height:clamp(220px,32vw,310px);background:#172229;overflow:hidden}
.article-dialog-media img{display:block;width:100%;height:100%;object-fit:cover}
.article-dialog-media::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(10,19,24,.7));pointer-events:none}
.article-dialog-media span{position:absolute;z-index:1;left:clamp(24px,6vw,60px);bottom:22px;color:#fff;font:800 1rem "Barlow Condensed",sans-serif;letter-spacing:.16em;text-transform:uppercase}
.article-dialog > .dialog-close{position:absolute;z-index:5;top:16px;right:16px;float:none;width:44px;height:44px;margin:0;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(15,28,35,.88);color:#fff;line-height:1;font-size:1.7rem;display:grid;place-items:center;cursor:pointer}
.article-dialog > .dialog-close:hover,.article-dialog > .dialog-close:focus-visible{background:#e85b28;outline:2px solid #fff;outline-offset:2px}
.article-dialog > .article-dialog-scroll > .article-dialog-copy{padding:clamp(28px,6vw,60px);color:#25333a}
.article-dialog-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;color:#59666a;font-size:.875rem;font-weight:700}
.article-dialog-meta span{padding:6px 11px;border-radius:4px;background:#fff0e9;color:#b7441d;text-transform:uppercase;letter-spacing:.06em;font-size:.75rem;font-weight:800}
.article-dialog h2{max-width:660px;margin:18px 0 16px;color:#15232b;font-family:"Barlow Condensed",sans-serif;font-size:clamp(2.5rem,6vw,4.3rem);font-weight:800;line-height:1.02;letter-spacing:-.015em;text-transform:uppercase}
.article-dialog-intro{max-width:680px;margin:0;color:#405159;font-size:clamp(1.05rem,2.5vw,1.2rem);font-weight:600;line-height:1.6}
.article-dialog-intro[hidden]{display:none}
.article-dialog-rule{height:2px;width:76px;margin:28px 0;background:#ef612c;transform:skewX(-24deg)}
.article-dialog #dialog-body{max-width:680px;margin:0;padding:0;font-size:1.0625rem;line-height:1.85}
.article-dialog .article-external-link{margin-top:28px}
@media(max-width:620px){.article-dialog{width:calc(100% - 18px);max-height:94dvh}.article-dialog > .article-dialog-scroll{max-height:94dvh}.article-dialog-media{height:205px}.article-dialog > .article-dialog-scroll > .article-dialog-copy{padding:26px 23px 34px}.article-dialog h2{font-size:2.65rem}.article-dialog #dialog-body{font-size:1rem}.article-dialog > .dialog-close{top:12px;right:12px}}

/* Mascotte du journal, présente sur les deux fenêtres de lecture. */
.member-article-dialog article > .member-article-media{position:relative;padding:0;overflow:hidden;background:#172229}
.member-article-dialog .member-article-media > #member-article-image{display:block;width:100%;height:300px;object-fit:cover}
.article-dialog > .article-reading-mascot,.member-article-dialog > .article-reading-mascot{position:absolute;z-index:4;right:-34px;bottom:-16px;width:122px;height:122px;object-fit:contain;opacity:.56;filter:drop-shadow(0 5px 5px rgba(10,19,24,.3));pointer-events:none}
.member-article-dialog{overflow:visible}
.article-dialog > .article-reading-mascot,.member-article-dialog > .article-reading-mascot{background:transparent}
@media(max-width:620px){.member-article-dialog .member-article-media > #member-article-image{height:210px}.article-dialog > .article-reading-mascot,.member-article-dialog > .article-reading-mascot{right:3px;bottom:-13px;width:84px;height:84px;opacity:.46}}

/* Mascottes ponctuelles : elles accompagnent les rubriques sans recouvrir le contenu. */
.mascot-section-title{display:flex;align-items:center;gap:16px}
.mascot-section-title h2{margin:0}
.mascot-section-title .section-mascot{display:block;flex:none;width:72px;height:86px;object-fit:contain;opacity:.72;filter:drop-shadow(0 5px 6px rgba(19,29,34,.1));pointer-events:none}
.faq-intro > .faq-mascot{width:112px;height:145px;margin:18px 0 0 auto;object-fit:contain;opacity:.72;filter:drop-shadow(0 6px 7px rgba(19,29,34,.12));pointer-events:none}
.category-card > .blade-mascot{position:absolute;z-index:0;top:17px;right:20px;display:block;width:62px;height:84px;object-fit:contain;opacity:.5;pointer-events:none;filter:drop-shadow(0 4px 5px rgba(74,28,11,.18))}
.category-card > :not(.blade-mascot){position:relative;z-index:1}
@media(max-width:760px){.mascot-section-title{gap:10px}.mascot-section-title .section-mascot{width:55px;height:69px;opacity:.65}.faq-intro{position:relative;top:auto;padding-right:80px}.faq-intro > .faq-mascot{position:absolute;top:0;right:0;display:block;width:70px;height:92px;margin:0;opacity:.55}}
@media(max-width:430px){.mascot-section-title .section-mascot{width:47px;height:60px}.category-card > .blade-mascot{right:14px;top:15px;width:48px;height:68px;opacity:.43}}

/* Keep the mobile contact action in normal flow above the questions. */
@media(max-width:760px){.faq-intro > p:not(.eyebrow){display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:20px 0 0}.faq-intro a.button-primary{max-width:100%;padding:12px 18px;text-align:center;overflow-wrap:anywhere}.faq-list{min-width:0}}
