/* Yellow-Sub — archives annuelles 1.0.1. Tous les sélecteurs sont limités au module. */
.ysna-enabled #main { background: #303030; color: #f4f1e9; }
/* Les paragraphes SEO conservés hors du bloc restent lisibles sur le fond sombre. */
.ysna-enabled :where(#main h1, #main h2, #main h3, #main h4, #main h5, #main h6) { color: #f4f1e9; }
.ysna-enabled :where(#main a) { color: #fecc59; }
.ysna-shell {
  --ysna-yellow: #fecc59; --ysna-text: #f4f1e9; --ysna-muted: #c4c4c4;
  --ysna-border: #505050; --ysna-panel: #282828;
  max-width: 1180px; margin: 0 auto; padding: 12px 0 24px;
  color: var(--ysna-text); font-family: Inter, var(--body-font-family, Arial), sans-serif;
  font-size: 16px; line-height: 1.6; text-align: left;
}
.ysna-shell *, .ysna-shell *::before, .ysna-shell *::after { box-sizing: border-box; }
.ysna-shell h1, .ysna-shell h2, .ysna-shell h3, .ysna-shell p, .ysna-shell ul { margin: 0; padding: 0; }
.ysna-shell h1, .ysna-shell h2 { font-family: Oswald, var(--heading-font-family, Arial), sans-serif; font-weight: 600; line-height: 1.2; text-transform: none; }
.ysna-shell h2 { color: var(--ysna-yellow); font-size: clamp(24px, 2.3vw, 30px); margin-bottom: 8px; }
.ysna-shell a { color: inherit; text-decoration: none; transition: color .15s, background-color .15s; }
.ysna-shell a:hover { color: var(--ysna-yellow); }
.ysna-shell a:focus-visible, .ysna-shell button:focus-visible, .ysna-shell input:focus-visible { outline: 3px solid var(--ysna-yellow); outline-offset: 4px; }
.ysna-shell button, .ysna-shell input { font: inherit; text-transform: none; letter-spacing: normal; }
.ysna-eyebrow { color: var(--ysna-yellow); font-size: 14px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.ysna-heading-row { display: flex; justify-content: space-between; gap: 24px; align-items: start; margin-top: 10px; }
.ysna-title { color: var(--ysna-text); font-size: clamp(28px, 3.5vw, 44px); margin: 0; }
.ysna-title > span:first-child { display: block; }
.ysna-year { display: block; font-family: Oswald, var(--heading-font-family, Arial), sans-serif; color: var(--ysna-yellow); font-size: clamp(64px, 8vw, 100px); font-weight: 700; line-height: 1.05; margin-top: 4px; }
.ysna-intro { color: var(--ysna-muted); margin-top: 14px !important; max-width: 920px; }
.ysna-masthead { padding-bottom: 22px; border-bottom: 2px solid var(--ysna-yellow); }
.ysna-socials { display: flex; justify-content: end; gap: 10px; padding-top: 5px; }
.ysna-socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ysna-yellow); color: var(--ysna-yellow); font: 700 25px Arial, sans-serif; }
.ysna-socials svg { width: 23px; height: 23px; }
.ysna-year-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 0 28px; color: var(--ysna-yellow); }
.ysna-year-nav > div:last-child { text-align: right; }
.ysna-year-nav > div a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 108px; padding: 8px 16px; border: 1px solid var(--ysna-yellow); font-weight: 600; }
.ysna-back { font-size: 14px; text-decoration: underline !important; text-underline-offset: 4px; }
.ysna-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1.05fr); gap: 30px; align-items: start; }
.ysna-main, .ysna-sidebar { min-width: 0; }
.ysna-main { scroll-margin-top: 100px; }
.ysna-sort { color: var(--ysna-muted); font-size: 14px; margin-bottom: 18px !important; }
.ysna-list { border: 1px solid var(--ysna-border); background: var(--ysna-panel); }
.ysna-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) 38px; align-items: start; gap: 18px; padding: 22px 18px; }
.ysna-item + .ysna-item { border-top: 1px solid var(--ysna-border); }
.ysna-date { display: flex; flex-direction: column; align-items: start; padding-right: 12px; border-right: 1px solid var(--ysna-border); line-height: 1.3; color: var(--ysna-muted); font-size: 13px; }
.ysna-day { color: var(--ysna-yellow); font-family: Oswald, var(--heading-font-family, Arial), sans-serif; font-size: 38px; font-weight: 600; }
.ysna-month { text-transform: uppercase; }
.ysna-mobile-date { display: none; }
.ysna-item-body h3 { color: var(--ysna-text); font-family: Inter, var(--body-font-family, Arial), sans-serif; font-size: 18px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.ysna-item-body p { color: var(--ysna-muted); font-size: 14px; line-height: 1.55; margin-top: 6px; overflow-wrap: anywhere; }
.ysna-read { display: grid; place-items: center; min-height: 44px; width: 38px; color: var(--ysna-yellow) !important; font-size: 27px; }
.ysna-sidebar { display: flex; flex-direction: column; gap: 22px; }
.ysna-panel { border: 1px solid var(--ysna-border); border-top: 2px solid var(--ysna-yellow); background: var(--ysna-panel); padding: 18px; }
.ysna-panel > p { color: var(--ysna-muted); font-size: 14px; line-height: 1.55; }
.ysna-years-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; list-style: none; margin-top: 14px !important; }
.ysna-years-grid li { margin: 0 !important; list-style: none; }
.ysna-years-grid a { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--ysna-yellow); color: var(--ysna-text); font-size: 13px; font-weight: 500; }
.ysna-years-grid a[aria-current=page], .ysna-years-grid a:hover { background: var(--ysna-yellow); color: #171717; }
.ysna-years-note { margin-top: 14px !important; }
.ysna-pagination { margin-top: 18px; border-top: 1px solid var(--ysna-yellow); padding-top: 16px; }
.ysna-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; list-style: none; }
.ysna-pagination li { margin: 0 !important; list-style: none; }
.ysna-pagination a, .ysna-pagination span { display: grid; place-items: center; min-height: 44px; min-width: 44px; padding: 7px 11px; border: 1px solid var(--ysna-yellow); color: var(--ysna-yellow); font-size: 14px; font-weight: 600; }
.ysna-pagination .current, .ysna-pagination a:hover { background: var(--ysna-yellow); color: #171717; }
.ysna-pagination .dots { border-color: transparent; min-width: 20px; padding-right: 0; padding-left: 0; }
.ysna-range { color: var(--ysna-muted); font-size: 12px; text-align: center; margin-top: 10px !important; }
.ysna-newsletter h2 { font-size: 25px; line-height: 1.25; }
.ysna-newsletter .ysn-form-wrap { max-width: none; margin: 14px 0 0; }
.ysna-newsletter .ysn-newsletter-row { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.ysna-newsletter .ysn-field, .ysna-newsletter .ysn-submit { margin: 0; width: 100%; }
.ysna-newsletter .ysn-field label { color: var(--ysna-text); font-size: 14px; }
.ysna-newsletter .ysn-field input { width: 100%; height: auto; min-height: 46px; margin: 0; background: #303030; border: 1px solid #707070; border-radius: 0; color: var(--ysna-text); padding: 10px 12px; box-shadow: none; font-size: 16px; }
.ysna-newsletter .ysn-submit button, .ysna-search .ys-search-home button, .ysna-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 18px; margin: 0; border: 1px solid var(--ysna-yellow); border-radius: 0; background: var(--ysna-yellow); color: #171717 !important; font-weight: 700; cursor: pointer; }
.ysna-newsletter .ysn-submit button { width: 100%; }
.ysna-newsletter .ysn-privacy { color: var(--ysna-muted); font-size: 12px; margin-top: 12px; }
.ysna-newsletter .ysn-status { margin-top: 12px; }
.ysna-newsletter .ysn-turnstile { max-width: 100%; }
.ysna-search { border: 1px solid var(--ysna-yellow); margin-top: 28px; padding: 18px; background: var(--ysna-panel); }
.ysna-search .ys-search-home { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ysna-text); }
.ysna-search .ys-search-home__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 22px; align-items: center; width: 100%; max-width: none; margin: 0; }
.ysna-search .ys-search-home__content { min-width: 0; margin: 0; }
.ysna-search .ys-search-home .ys-search-home__title { color: var(--ysna-yellow); font-size: 26px; }
.ysna-search .ys-search-home .ys-search-home__intro { color: var(--ysna-muted); font-size: 14px; }
.ysna-search .ys-search-home__form { min-width: 0; margin: 0; }
.ysna-search .ys-search-home .ys-search-home__row { display: flex; gap: 8px; align-items: stretch; }
.ysna-search .ys-search-home input[type=search] { min-width: 0; width: 100%; height: auto; min-height: 46px; margin: 0; padding: 10px 12px; border: 1px solid #707070; border-radius: 0; color: var(--ysna-text); background: #303030; box-shadow: none; font-size: 16px; }
.ysna-search .ys-search-home input[type=search]::placeholder { color: var(--ysna-muted); }
.ysna-search .ys-search-home button { width: auto; height: auto; flex: 0 0 auto; font-size: 15px; letter-spacing: normal; text-transform: none; }
.ysna-search .ys-search-home input:focus-visible, .ysna-search .ys-search-home button:focus-visible { outline: 3px solid var(--ysna-yellow); outline-offset: 4px; }
.ysna-search .ys-search-home__suggestions { grid-column: 1 / -1; min-width: 0; }
.ysna-search .ys-search__suggestion-text { overflow: hidden; }
.ysna-year-nav-bottom { margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--ysna-yellow); }
.ysna-year-nav-bottom > div a { border: 0; padding: 6px 0; }
.ysna-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ysna-admin-note { font-size: 13px; padding: 12px; border: 1px dashed var(--ysna-yellow); margin-top: 12px !important; }
@media (max-width: 849px) {
  .ysna-layout { grid-template-columns: minmax(0, 1fr); }
  .ysna-sidebar { gap: 20px; }
  .ysna-newsletter { order: -1; }
  .ysna-title { font-size: 32px; }
  .ysna-search .ys-search-home__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 549px) {
  .ysna-shell { padding: 6px 0 90px; font-size: 15px; }
  .ysna-eyebrow { font-size: 12px; }
  .ysna-heading-row { gap: 10px; }
  .ysna-title { font-size: 27px; }
  .ysna-year { font-size: 68px; }
  .ysna-socials { gap: 6px; }
  .ysna-socials a { width: 32px; height: 32px; }
  .ysna-intro { font-size: 15px; }
  .ysna-year-nav { grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 22px; }
  .ysna-year-nav .ysna-back { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .ysna-year-nav > div a { min-width: 90px; }
  .ysna-shell h2 { font-size: 25px; }
  .ysna-item { grid-template-columns: minmax(0, 1fr) 34px; gap: 4px 10px; padding: 18px 12px; }
  .ysna-date { grid-column: 1 / -1; border: 0; padding: 0; margin-bottom: 4px; }
  .ysna-day, .ysna-month, .ysna-date-year { display: none; }
  .ysna-mobile-date { display: inline; font-size: 12px; }
  .ysna-item-body h3 { font-size: 17px; }
  .ysna-item-body p { font-size: 14px; }
  .ysna-read { width: 34px; }
  .ysna-panel { padding: 16px 12px; }
  .ysna-newsletter h2 { font-size: 25px; }
  .ysna-years-grid { gap: 6px; }
  .ysna-years-grid a { font-size: 12px; }
  .ysna-search { padding: 16px 12px; }
  .ysna-search .ys-search-home__inner { gap: 12px; }
  .ysna-search .ys-search-home .ys-search-home__row { flex-direction: column; }
  .ysna-search .ys-search-home button { width: 100%; }
  .ysna-year-nav-bottom > div a { font-size: 13px; }
}
