/*
Theme Name: SenWorld V6
Theme URI: https://senworld.fr/
Description: Expérience éditoriale multi-éditions et dossiers vivants de SenWorld.
Author: SenWorld
Version: 1.3.0
Template: senworld-premium-media
Text Domain: senworld-v6
*/

:root {
  color-scheme: light;
  --swv6-paper: #f6f3ec;
  --swv6-white: #fffefb;
  --swv6-ink: #101116;
  --swv6-muted: #62636a;
  --swv6-line: #d7d3ca;
  --swv6-red: #d7192d;
  --swv6-red-dark: #a80e1e;
  --swv6-gold: #9a6b0a;
  --swv6-sand: #ede7db;
  --swv6-serif: Georgia, "Times New Roman", serif;
  --swv6-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --swv6-width: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; color: var(--swv6-ink); background: var(--swv6-paper); font-family: var(--swv6-sans); font-size: 16px; line-height: 1.55; }
body.swv6-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { z-index: 100000; top: 1rem; left: 1rem; width: auto; height: auto; padding: .75rem 1rem; clip: auto; color: #fff; background: #111; }

.swv6-shell { width: min(var(--swv6-width), calc(100% - 2rem)); margin: 0 auto; }
.swv6-utility { color: #b8bbc3; background: #090a0d; font-size: .78rem; }
.swv6-utility__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; }
.swv6-masthead { position: relative; z-index: 50; color: #fff; background: #0d0e12; border-bottom: 1px solid #32343a; }
.swv6-masthead__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 1.55rem 0 1.2rem; }
.swv6-brand { font-size: clamp(1.85rem, 4vw, 3.15rem); font-weight: 900; letter-spacing: -.075em; line-height: 1; }
.swv6-brand span { color: var(--swv6-red); }
.swv6-promise { color: #c1c3ca; font-family: var(--swv6-serif); font-size: .9rem; font-style: italic; text-align: center; }
.swv6-edition { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; }
.swv6-edition label { color: #aeb0b8; font-size: .75rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.swv6-edition select { min-height: 2.75rem; padding: 0 2.3rem 0 .8rem; color: #fff; background: #1b1d22; border: 1px solid #3c3e45; border-radius: .25rem; font-weight: 750; }
.swv6-navigation { border-top: 1px solid #24262c; }
.swv6-navigation__inner { display: flex; align-items: center; gap: 1.55rem; min-height: 3rem; overflow-x: auto; color: #d5d6da; font-size: .86rem; font-weight: 750; white-space: nowrap; scrollbar-width: none; }
.swv6-navigation__inner::-webkit-scrollbar { display: none; }
.swv6-navigation a[aria-current="page"], .swv6-navigation a:hover { color: #fff; }
.swv6-navigation .swv6-radar-link { color: #ff9da7; }
.swv6-search { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.swv6-search input { width: 12rem; min-height: 2rem; padding: .35rem .65rem; color: #fff; background: #17191e; border: 1px solid #3c3e45; border-radius: .2rem; font-size: .8rem; }
.swv6-search button { min-height: 2rem; padding: .35rem .65rem; color: #fff; background: var(--swv6-red); border: 0; border-radius: .2rem; font-size: .75rem; font-weight: 800; }
.swv6-menu-toggle { display: none; min-width: 2.75rem; min-height: 2.75rem; padding: 0; color: #fff; background: transparent; border: 1px solid #3c3e45; border-radius: .25rem; }

.swv6-main { width: min(var(--swv6-width), calc(100% - 2rem)); min-height: 60vh; margin: 0 auto; padding: 1.55rem 0 4rem; }
.swv6-main[aria-busy="true"] { opacity: .5; transition: opacity .18s ease; }
.swv6-newsline { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; margin-bottom: 1.5rem; padding: .72rem 0; border-block: 1px solid var(--swv6-line); font-size: .9rem; }
.swv6-newsline strong { color: var(--swv6-red); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.swv6-newsline span:last-child { color: var(--swv6-muted); }

.swv6-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); min-height: 500px; background: var(--swv6-white); border-bottom: 4px solid var(--swv6-ink); }
.swv6-lead__media { min-height: 440px; background-color: #e8e3d9; background-position: center; background-size: cover; }
.swv6-media--placeholder { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #f2eee6 0%, #ddd4c5 58%, #cabdac 100%); }
.swv6-media--placeholder::before { position: absolute; inset: 0; background: repeating-linear-gradient(118deg, transparent 0 52px, rgba(255,255,255,.32) 53px 54px); content: ""; }
.swv6-media--placeholder::after { position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: clamp(1rem, 4vw, 3rem); color: rgba(22,24,29,.72); font-family: var(--swv6-serif); font-size: clamp(1.4rem, 4vw, 3.8rem); font-weight: 700; letter-spacing: -.04em; content: "SenWorld"; }
.swv6-lead__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.swv6-eyebrow { color: var(--swv6-red); font-size: .75rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.swv6-lead h1 { margin: 1rem 0 1.1rem; font-family: var(--swv6-serif); font-size: clamp(2.5rem, 4.25vw, 4.5rem); font-weight: 700; letter-spacing: -.055em; line-height: .94; }
.swv6-lead__dek { margin: 0 0 1.5rem; color: var(--swv6-muted); font-family: var(--swv6-serif); font-size: 1.08rem; line-height: 1.5; }
.swv6-meta { color: var(--swv6-muted); font-size: .78rem; }

.swv6-section { padding: 2.8rem 0; border-bottom: 1px solid var(--swv6-line); }
.swv6-section__heading { display: grid; grid-template-columns: 1fr minmax(220px, .45fr); align-items: end; gap: 2rem; margin-bottom: 1.4rem; }
.swv6-section__heading h2 { margin: 0; font-family: var(--swv6-serif); font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.04em; line-height: 1; }
.swv6-section__heading p { margin: 0; color: var(--swv6-muted); font-size: .94rem; line-height: 1.55; }
.swv6-changed { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--swv6-ink); }
.swv6-changed--timeline { grid-template-columns: repeat(5, 1fr); }
.swv6-change { padding: 1.25rem 1.25rem 1.25rem 0; border-right: 1px solid var(--swv6-line); }
.swv6-change + .swv6-change { padding-left: 1.25rem; }
.swv6-change:last-child { border-right: 0; }
.swv6-change__time { color: var(--swv6-red); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.swv6-change h3 { margin: .7rem 0; font-family: var(--swv6-serif); font-size: 1.3rem; line-height: 1.1; }
.swv6-change p { margin: 0; color: var(--swv6-muted); font-size: .9rem; line-height: 1.5; }

.swv6-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--swv6-ink); }
.swv6-story { min-height: 230px; padding: 1.5rem 1.4rem 1.5rem 0; border-right: 1px solid var(--swv6-line); border-bottom: 1px solid var(--swv6-line); }
.swv6-story + .swv6-story { padding-left: 1.4rem; }
.swv6-story:nth-child(3n) { border-right: 0; }
.swv6-story:first-child { grid-column: span 2; }
.swv6-story__eyebrow { color: var(--swv6-red); font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.swv6-story h3 { margin: 1rem 0 .8rem; font-family: var(--swv6-serif); font-size: 1.65rem; letter-spacing: -.025em; line-height: 1.08; }
.swv6-story:first-child h3 { max-width: 760px; font-size: clamp(2rem, 4vw, 3.35rem); }
.swv6-story p { max-width: 680px; margin: 0 0 1.2rem; color: var(--swv6-muted); font-size: .94rem; line-height: 1.55; }

.swv6-dossier-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 3rem; margin: 3rem 0; padding: clamp(2rem, 5vw, 4rem); color: #fff; background: #111216; }
.swv6-dossier-band h2 { max-width: 800px; margin: .9rem 0 1.2rem; font-family: var(--swv6-serif); font-size: clamp(2.4rem, 5vw, 4.7rem); letter-spacing: -.05em; line-height: .98; }
.swv6-dossier-band p { max-width: 720px; color: #c5c7cd; line-height: 1.6; }
.swv6-dossier-link { display: inline-flex; gap: .65rem; align-items: center; margin-top: 1.5rem; padding-bottom: .35rem; border-bottom: 1px solid var(--swv6-red); font-size: .82rem; font-weight: 800; }
.swv6-timeline { display: grid; align-content: center; }
.swv6-timeline__item { position: relative; padding: 0 0 1.4rem 1.4rem; border-left: 1px solid #4d5058; font-size: .9rem; line-height: 1.45; }
.swv6-timeline__item::before { position: absolute; top: .15rem; left: -.28rem; width: .5rem; height: .5rem; background: var(--swv6-red); border-radius: 50%; content: ""; }
.swv6-timeline__item strong { display: block; margin-bottom: .25rem; color: #ff9ba5; font-size: .75rem; }
.swv6-radar { margin-inline: calc((100vw - min(var(--swv6-width), calc(100vw - 2rem))) / -2); padding-inline: max(1rem, calc((100vw - var(--swv6-width)) / 2)); background: var(--swv6-sand); }
.swv6-radar .swv6-story-grid { border-color: var(--swv6-gold); }
.swv6-radar .swv6-story__eyebrow { color: var(--swv6-gold); }
.swv6-empty { padding: 2rem 0; color: var(--swv6-muted); border-top: 1px solid var(--swv6-line); }

.swv6-archive-header { padding: 1.2rem 0 2rem; border-bottom: 1px solid var(--swv6-line); }
.swv6-archive-header--editorial { max-width: 980px; padding-block: 2.4rem 2.8rem; }
.swv6-archive-header--editorial p { max-width: 720px; color: var(--swv6-muted); font-family: var(--swv6-serif); font-size: 1.18rem; }
.swv6-archive-header h1, .swv6-article h1 { margin: .5rem 0 1rem; font-family: var(--swv6-serif); font-size: clamp(2.5rem, 6vw, 5.6rem); letter-spacing: -.055em; line-height: .96; }
.swv6-archive-list { display: grid; gap: 0; }
.swv6-archive-item { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--swv6-line); }
.swv6-archive-item__image { min-height: 240px; background: #e8e3d9 center/cover; }
.swv6-archive-item h2 { margin: .7rem 0; font-family: var(--swv6-serif); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.04; }
.swv6-archive-item p { color: var(--swv6-muted); }

.swv6-article { max-width: 920px; margin: 0 auto; padding-top: 1.5rem; }
.swv6-article--dossier { max-width: 1120px; }
.swv6-article__header { max-width: 980px; padding: 1rem 0 2.6rem; }
.swv6-article__deck { max-width: 800px; margin: 0 0 1.4rem; color: var(--swv6-muted); font-family: var(--swv6-serif); font-size: 1.25rem; line-height: 1.5; }
.swv6-article__meta { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; padding: 1rem 0; color: var(--swv6-muted); border-block: 1px solid var(--swv6-line); font-size: .85rem; }
.swv6-article__image { min-height: 340px; margin: 0 0 2rem; overflow: hidden; background: #e8e3d9; }
.swv6-article__image img { width: 100%; max-height: 650px; object-fit: cover; }
.swv6-article__content { max-width: 760px; margin: 2rem auto; font-family: var(--swv6-serif); font-size: 1.15rem; line-height: 1.78; }
.swv6-article__content h2 { margin-top: 2.2rem; font-size: 1.8rem; line-height: 1.15; }
.swv6-article__content a { color: var(--swv6-red-dark); text-decoration: underline; text-underline-offset: .18em; }
.swv6-article__content .sw-v6-source-role { display: inline-block; margin-left: .35rem; padding: .12rem .4rem; color: var(--swv6-muted); background: var(--swv6-sand); border-radius: 999px; font-family: var(--swv6-sans); font-size: .72rem; text-decoration: none; }
.swv6-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2rem 0; background: var(--swv6-line); border: 1px solid var(--swv6-line); }
.swv6-proof div { padding: 1rem; background: var(--swv6-white); }
.swv6-proof strong { display: block; color: var(--swv6-red); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.swv6-dossier-band--article { margin-block: 2rem 3.5rem; }
.swv6-article-layout { display: grid; grid-template-columns: 260px minmax(0, 700px); gap: clamp(2rem, 6vw, 6rem); justify-content: center; padding-top: 1rem; }
.swv6-article-summary { position: sticky; top: 1rem; align-self: start; padding-top: 1rem; border-top: 3px solid var(--swv6-ink); }
.swv6-article-summary > span { color: var(--swv6-red); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.swv6-article-summary ul { padding-left: 1.1rem; }
.swv6-article-summary li { margin: .9rem 0; font-family: var(--swv6-serif); font-size: 1rem; line-height: 1.45; }
.swv6-article__content--structured { max-width: none; margin: 0; }
.swv6-article__content--structured section { margin-top: 3rem; }
.swv6-article__content--structured li { margin: .75rem 0; }
.swv6-article__lead { margin-top: 0; font-size: 1.35rem; line-height: 1.65; }
.swv6-article-factbox { padding: 1.6rem 1.8rem 1.8rem; background: var(--swv6-white); border-left: 4px solid var(--swv6-gold); }
.swv6-article-factbox > span { color: var(--swv6-gold); font-family: var(--swv6-sans); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.swv6-article-factbox h2 { margin-top: .5rem; }
.swv6-article-sources { padding-top: 1.2rem; border-top: 2px solid var(--swv6-ink); }
.swv6-article-sources > p { color: var(--swv6-muted); font-family: var(--swv6-sans); font-size: .9rem; }
.swv6-article-sources ol { padding: 0; list-style: none; counter-reset: sources; }
.swv6-article-sources li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--swv6-line); counter-increment: sources; }
.swv6-article-sources li::before { color: var(--swv6-red); content: counter(sources, decimal-leading-zero); font-family: var(--swv6-sans); font-size: .72rem; font-weight: 850; grid-column: 1 / -1; }
.swv6-article-sources a { font-weight: 700; }
.swv6-article-sources time { color: var(--swv6-muted); font-family: var(--swv6-sans); font-size: .78rem; }

.swv6-footer { color: #b8bbc3; background: #0d0e12; }
.swv6-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding: 2.5rem 0; }
.swv6-footer strong { display: block; color: #fff; font-size: 1.25rem; }
.swv6-footer p { max-width: 560px; margin: .5rem 0 0; }
.swv6-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; font-size: .85rem; }

@media (max-width: 880px) {
  .swv6-masthead__main { grid-template-columns: 1fr auto auto; }
  .swv6-promise { display: none; }
  .swv6-menu-toggle { display: inline-grid; place-items: center; }
  .swv6-navigation { display: none; }
  .swv6-navigation.is-open { display: block; }
  .swv6-navigation__inner { display: grid; gap: 0; padding: .5rem 0 1rem; overflow: visible; white-space: normal; }
  .swv6-navigation a { padding: .7rem 0; border-bottom: 1px solid #24262c; }
  .swv6-search { width: 100%; margin: .75rem 0 0; }
  .swv6-search input { width: 100%; min-height: 2.65rem; }
  .swv6-search button { min-height: 2.65rem; }
  .swv6-lead { grid-template-columns: 1fr; }
  .swv6-lead__copy { padding: 2rem 1.5rem; }
  .swv6-changed, .swv6-changed--timeline, .swv6-story-grid { grid-template-columns: repeat(2, 1fr); }
  .swv6-story:first-child { grid-column: span 2; }
  .swv6-story:nth-child(3n) { border-right: 1px solid var(--swv6-line); }
  .swv6-story:nth-child(2n) { border-right: 0; }
  .swv6-dossier-band { grid-template-columns: 1fr; }
  .swv6-article-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .swv6-article-summary { position: static; }
}

@media (max-width: 580px) {
  .swv6-shell, .swv6-main { width: min(100% - 1.25rem, var(--swv6-width)); }
  .swv6-utility__inner span:first-child, .swv6-edition label { display: none; }
  .swv6-masthead__main { gap: .6rem; padding-block: 1rem; }
  .swv6-brand { font-size: 1.65rem; }
  .swv6-edition select { max-width: 140px; }
  .swv6-newsline { grid-template-columns: auto 1fr; }
  .swv6-newsline span:last-child { display: none; }
  .swv6-lead { min-height: auto; }
  .swv6-lead__media { min-height: 275px; }
  .swv6-lead h1 { font-size: 2.45rem; }
  .swv6-section { padding: 2rem 0; }
  .swv6-section__heading { display: block; }
  .swv6-section__heading p { margin-top: .75rem; }
  .swv6-changed, .swv6-story-grid { grid-template-columns: 1fr; }
  .swv6-change, .swv6-change + .swv6-change, .swv6-story, .swv6-story + .swv6-story { padding: 1.2rem 0; border-right: 0; }
  .swv6-story:first-child { grid-column: auto; }
  .swv6-story:first-child h3 { font-size: 2rem; }
  .swv6-dossier-band { margin: 2rem -.625rem; padding: 2.2rem 1.2rem; }
  .swv6-dossier-band h2 { font-size: 2.55rem; }
  .swv6-radar { margin-inline: -.625rem; padding-inline: .625rem; }
  .swv6-archive-item { grid-template-columns: 1fr; gap: 1rem; }
  .swv6-archive-item__image { min-height: 210px; }
  .swv6-proof { grid-template-columns: 1fr; }
  .swv6-article__header { padding-bottom: 1.8rem; }
  .swv6-article__image { min-height: 240px; }
  .swv6-article__lead { font-size: 1.2rem; }
  .swv6-article__content { font-size: 1.08rem; line-height: 1.72; }
  .swv6-footer__inner { grid-template-columns: 1fr; }
  .swv6-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
