/* ARPOZ Selecta V2.1 — shell de base, indépendant du design du parent. */
:root { --arpoz-shell-height: 76px; }
html, body { margin: 0; min-height: 100%; }
body.arpoz-site { background: var(--arpoz-bg, #000); color: var(--arpoz-text, #fff); }

/* ARPOZ V2.1 — présentation commune du fil d’Ariane (hors page d’accueil).
   Les templates conservent leurs classes de placement ; l’apparence est définie ici. */
.arpoz-breadcrumb-container {
  grid-column: 1 / -1;
  grid-row: 1;
  display: block;
  min-width: 0;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  color: #666666;
  font-size: 13px;
  line-height: 1.5;
}
.arpoz-breadcrumb-container nav,
.arpoz-breadcrumb-container .breadcrumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font-size: inherit;
  line-height: inherit;
}
.arpoz-breadcrumb-container a {
  color: inherit;
  text-decoration: none;
}
.arpoz-breadcrumb-container a:hover,
.arpoz-breadcrumb-container a:focus-visible {
  color: #289dcc;
  text-decoration: none;
}
.arpoz-breadcrumb-container span { color: inherit; }
html[data-arpoz-theme="dark"] .arpoz-breadcrumb-container,
body.dark-mode .arpoz-breadcrumb-container,
body.arpoz-dark .arpoz-breadcrumb-container { color: #ffffff; }
html[data-arpoz-theme="dark"] .arpoz-breadcrumb-container a,
body.dark-mode .arpoz-breadcrumb-container a,
body.arpoz-dark .arpoz-breadcrumb-container a { color: #ffffff; }
html[data-arpoz-theme="dark"] .arpoz-breadcrumb-container a:hover,
html[data-arpoz-theme="dark"] .arpoz-breadcrumb-container a:focus-visible,
body.dark-mode .arpoz-breadcrumb-container a:hover,
body.dark-mode .arpoz-breadcrumb-container a:focus-visible,
body.arpoz-dark .arpoz-breadcrumb-container a:hover,
body.arpoz-dark .arpoz-breadcrumb-container a:focus-visible { color: #289dcc; }
.arpoz-site-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--arpoz-bg, #000); color: var(--arpoz-text, #fff); }
.arpoz-header, .arpoz-footer { width: 100%; background: var(--arpoz-bg, #000); color: var(--arpoz-text, #fff); }
.arpoz-header { border-bottom: 1px solid var(--arpoz-border, #333); }
.arpoz-header__inner, .arpoz-footer__inner { width: 100%; max-width: none; margin: 0; padding: 14px clamp(14px, 2.2vw, 32px); box-sizing: border-box; }
.arpoz-header__inner { min-height: var(--arpoz-shell-height); display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.arpoz-header__brand { flex: 0 0 auto; min-width: 0; }
.arpoz-header__logo { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.arpoz-logo-image { display: block; }
.arpoz-logo-image img { display: block; width: auto; height: auto; max-width: 220px; max-height: 62px; object-fit: contain; }
.arpoz-logo-image--dark { display: none; }
/* Le script ARPOZ partage l'attribut data-arpoz-theme sur l'élément racine. */
html[data-arpoz-theme="light"] .arpoz-logo-image--light { display: none; }
html[data-arpoz-theme="light"] .arpoz-logo-image--dark { display: block; }
.arpoz-header__site-title { color: inherit; font-size: clamp(1.15rem, 1.8vw, 1.65rem); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.arpoz-primary-nav { flex: 1 1 auto; min-width: 0; }
.arpoz-primary-nav__list, .arpoz-primary-nav .sub-menu, .arpoz-footer-nav__list { list-style: none; padding: 0; margin: 0; }
.arpoz-primary-nav__list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px clamp(10px, 1.5vw, 24px); }
.arpoz-primary-nav li { position: relative; margin: 0; }
.arpoz-primary-nav a, .arpoz-footer-nav a { display: inline-block; padding: 8px 2px; color: inherit; text-decoration: none; font-size: .94rem; }
.arpoz-primary-nav a:hover, .arpoz-primary-nav a:focus-visible, .arpoz-footer-nav a:hover { color: var(--arpoz-blue, #289dcc); }
.arpoz-primary-nav .sub-menu { display: none; position: absolute; z-index: 100; top: 100%; left: 0; min-width: 190px; padding: 8px 12px; background: var(--arpoz-surface-raised, #1a1a1a); border: 1px solid var(--arpoz-border, #333); }
.arpoz-primary-nav li:hover > .sub-menu, .arpoz-primary-nav li:focus-within > .sub-menu { display: block; }
.arpoz-primary-nav .sub-menu a { display: block; white-space: nowrap; }
.arpoz-header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 1 auto; }
.arpoz-search { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--arpoz-border, #333); }
.arpoz-search__input { width: clamp(110px, 13vw, 190px); min-width: 0; border: 0; border-radius: 0; padding: 9px 10px; color: var(--arpoz-control-text, #fff); background: var(--arpoz-control-bg, #171717); font: inherit; }
.arpoz-search__submit { min-width: 38px; border: 0; border-left: 1px solid var(--arpoz-border, #333); background: transparent; color: inherit; cursor: pointer; font-size: 1.35rem; }
.arpoz-theme-toggle { white-space: nowrap; }
.arpoz-home { flex: 1 0 auto; width: 100%; min-height: 0; background: var(--arpoz-bg, #000); color: var(--arpoz-text, #fff); }
.arpoz-footer { border-top: 1px solid var(--arpoz-border, #333); }
.arpoz-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.arpoz-footer-nav__list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; }
.arpoz-footer__copyright { margin: 0; color: var(--arpoz-text-muted, #b8b8b8); font-size: .85rem; }
.arpoz-skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; padding: 10px; background: var(--arpoz-bg, #000); color: var(--arpoz-text, #fff); }
.arpoz-skip-link:focus { left: 10px; top: 10px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) {
 .arpoz-header__inner { flex-wrap: wrap; }
 .arpoz-header__brand { order: 1; }
 .arpoz-header__tools { order: 2; margin-left: auto; }
 .arpoz-primary-nav { order: 3; flex-basis: 100%; }
 .arpoz-primary-nav__list { justify-content: flex-start; }
}
@media (max-width: 600px) {
 .arpoz-logo-image img { max-width: 180px; max-height: 52px; }
 .arpoz-header__inner { gap: 10px; padding: 12px; }
 .arpoz-header__tools { width: 100%; margin-left: 0; }
 .arpoz-search { flex: 1 1 auto; }
 .arpoz-search__input { width: 100%; }
 .arpoz-theme-toggle { min-height: 38px; padding: 6px 8px; }
 .arpoz-primary-nav__list { gap: 2px 14px; }
 .arpoz-footer__inner { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 12px; }
}

/* ARPOZ Selecta V2.1 — Accueil : grille du bloc 1 + bloc 2 et styles du bloc Nouveaux tracks. */
.arpoz-home__container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(12px, 2.2vw, 32px);
  box-sizing: border-box;
}
.arpoz-home__top-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  align-items: start;
  gap: var(--arpoz-grid-gap, clamp(10px, 1.25vw, 20px));
  width: 100%;
}
.arpoz-home__top-grid > * { min-width: 0; }
.arpoz-home-tracks { min-width: 0; color: var(--arpoz-text, #fff); }
.arpoz-home-tracks__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.arpoz-home-tracks__heading .arpoz-section-title {
  margin: 0;
  /* Réutilise la présentation du titre de section déjà définie pour le slider. */
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.arpoz-home-tracks__all { flex: 0 0 auto; color: var(--arpoz-text-muted, #b8b8b8); font-size: .82rem; text-decoration: none; }
.arpoz-home-tracks__all:hover { color: var(--arpoz-blue, #289dcc); }
.arpoz-home-tracks__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.arpoz-home-track { display: grid; grid-template-columns: minmax(88px, 36%) minmax(0, 1fr); gap: 12px; min-width: 0; padding-bottom: 12px; border-bottom: 1px solid var(--arpoz-border, #333); }
.arpoz-home-track:last-child { padding-bottom: 0; border-bottom: 0; }
.arpoz-home-track__image { display: block; position: relative; overflow: hidden; aspect-ratio: 100 / 54; background: var(--arpoz-surface, #111); }
.arpoz-home-track__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.arpoz-home-track__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; color: var(--arpoz-text-muted, #b8b8b8); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.arpoz-home-track__content { align-self: start; min-width: 0; }
.arpoz-home-track__date { display: block; margin-bottom: 5px; color: var(--arpoz-text-muted, #b8b8b8); font-size: .72rem; }
.arpoz-home-track__title { margin: 0; color: var(--arpoz-text, #fff); font-size: clamp(.9rem, 1vw, 1.05rem); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.arpoz-home-track__title a { color: inherit; text-decoration: none; }
.arpoz-home-track__title a:hover { color: var(--arpoz-blue, #289dcc); }
.arpoz-home-track__excerpt { margin: 6px 0 0; color: var(--arpoz-text-muted, #b8b8b8); font-size: .8rem; line-height: 1.4; }
.arpoz-home-tracks__empty { color: var(--arpoz-text-muted, #b8b8b8); font-size: .9rem; }
@media (max-width: 767px) {
 .arpoz-home__container { padding: 12px; }
 .arpoz-home__top-grid { grid-template-columns: minmax(0, 1fr); }
 .arpoz-home-track { grid-template-columns: minmax(90px, 30%) minmax(0, 1fr); }
}


/* Harmonisation du bloc 2 avec le cadre et l'en-tête du slider. */
.arpoz-home__top-grid {
  align-items: stretch;
}

.arpoz-home__top-grid > * {
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

.arpoz-home-tracks {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--arpoz-border, #d4d4d4);
  border-radius: 5px;
  overflow: hidden;
  background: var(--arpoz-surface, #f5f5f5);
  color: var(--arpoz-text, #111);
}

.arpoz-home-tracks__heading {
  flex: 0 0 auto;
  min-height: 38px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 20px;
  border-bottom: 1px solid var(--arpoz-border, #d4d4d4);
  background: var(--arpoz-surface-raised, #f1f1f1);
}

.arpoz-home-tracks__heading .arpoz-section-title {
  position: relative;
  margin: 0;
  padding-left: 15px;
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.arpoz-home-tracks__heading .arpoz-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--arpoz-blue, #289dcc);
}

.arpoz-home-tracks__all {
  color: var(--arpoz-text, #111);
  font-size: .8rem;
  white-space: nowrap;
}

.arpoz-home-tracks__list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  padding: 0 20px;
}

.arpoz-home-track {
  flex: 1 1 0;
  align-content: start;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--arpoz-border, #d4d4d4);
}

.arpoz-home-track:last-child {
  border-bottom: 0;
}

.arpoz-home-track__date,
.arpoz-home-track__excerpt {
  color: var(--arpoz-text-muted, #555);
}

.arpoz-home-track__title {
  color: var(--arpoz-text, #111);
}

@media (max-width: 767px) {
  .arpoz-home__top-grid > * {
    height: auto;
  }

  .arpoz-home-tracks__heading {
    min-height: 32px;
    padding: 7px 14px;
  }

  .arpoz-home-tracks__list {
    padding: 0 14px;
  }

  .arpoz-home-track {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  }
}


/* Le visuel du slider ne doit pas recevoir de fond coloré distinct. */
.arpoz-home-slider__media,
.arpoz-home-slider__image,
.arpoz-home-slider__visual,
.arpoz-home-slider__photo {
  background: transparent !important;
}


/* Bloc 2 — couleurs pilotées par le thème clair/sombre ARPOZ. */
.arpoz-home-tracks {
  background: var(--arpoz-surface, var(--arpoz-bg, #fff));
  color: var(--arpoz-text, #111);
  border-color: var(--arpoz-border, #d4d4d4);
}
.arpoz-home-tracks__heading {
  background: var(--arpoz-surface-raised, var(--arpoz-surface, #f1f1f1));
  border-bottom-color: var(--arpoz-border, #d4d4d4);
}
.arpoz-home-tracks__heading .arpoz-section-title,
.arpoz-home-track__title {
  color: var(--arpoz-text, #111);
}
.arpoz-home-tracks__all {
  color: var(--arpoz-text, #111);
}
.arpoz-home-track {
  border-bottom-color: var(--arpoz-border, #d4d4d4);
}
.arpoz-home-track__date,
.arpoz-home-track__excerpt,
.arpoz-home-tracks__empty {
  color: var(--arpoz-text-muted, #555);
}
.arpoz-home-track__image,
.arpoz-home-track__placeholder {
  background: var(--arpoz-surface-raised, transparent);
}

/* Fallback si le thème expose ses modes via data-theme ou classe sur html/body. */
html[data-theme="dark"] .arpoz-home-tracks,
body.dark-mode .arpoz-home-tracks,
body.arpoz-dark .arpoz-home-tracks {
  --arpoz-surface: #171717;
  --arpoz-surface-raised: #202020;
  --arpoz-text: #f5f5f5;
  --arpoz-text-muted: #b8b8b8;
  --arpoz-border: #3b3b3b;
}
html[data-theme="light"] .arpoz-home-tracks,
body.light-mode .arpoz-home-tracks,
body.arpoz-light .arpoz-home-tracks {
  --arpoz-surface: #f5f5f5;
  --arpoz-surface-raised: #efefef;
  --arpoz-text: #111;
  --arpoz-text-muted: #555;
  --arpoz-border: #d4d4d4;
}


/* Restauration ciblée V3 : largeur constante du bouton de thème. */
.arpoz-theme-toggle {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  height: 46px;
  min-height: 46px;
  padding: 6px 10px;
  overflow: hidden;
  white-space: nowrap;
  flex: 0 0 150px;
  line-height: 1;
}
.arpoz-theme-toggle [data-arpoz-theme-label] {
  display: inline-block;
  width: auto;
  min-width: 0;
  text-align: left;
  overflow: visible;
}
@media (max-width: 600px) {
  .arpoz-theme-toggle {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    flex: 0 0 150px;
  }
}


/* Ajustements ciblés accueil — têtières harmonisées et navigation du slider en pied. */
.arpoz-home-slider__header,
.arpoz-home-tracks__heading {
  box-sizing: border-box;
  min-height: 38px;
  height: 38px;
  display: flex;
  align-items: center;
}
.arpoz-home-slider__header {
  justify-content: space-between;
}
.arpoz-home-slider__all {
  flex: 0 0 auto;
  white-space: nowrap;
}
.arpoz-home-slider__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.arpoz-home-slider__dots {
  flex: 1 1 auto;
  min-width: 0;
}
.arpoz-home-slider__controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.arpoz-home-track {
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
}
@media (max-width: 767px) {
  .arpoz-home-slider__header,
  .arpoz-home-tracks__heading {
    min-height: 32px;
    height: 32px;
  }
  .arpoz-home-track {
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  }
}

/* Ajustements bloc 1 / bloc 2 : liens harmonisés et cartouches régulières. */
.arpoz-home-slider__all {
  color: var(--arpoz-text, #111);
  font-size: .8rem;
  text-decoration: none;
}
.arpoz-home-slider__all:hover,
.arpoz-home-tracks__all:hover {
  color: var(--arpoz-blue, #289dcc);
}
.arpoz-home-tracks__list {
  justify-content: stretch;
  gap: 0;
}
.arpoz-home-track {
  box-sizing: border-box;
  align-items: center;
  min-height: 0;
  padding: 10px 0;
}
.arpoz-home-track__image {
  width: 100%;
  align-self: center;
}
.arpoz-home-track__content {
  align-self: center;
  min-width: 0;
}
@media (max-width: 767px) {
  .arpoz-home-track { padding: 10px 0; }
}

/* Bloc 1 — même typographie d'en-tête que « Nouveaux tracks ». */
.arpoz-home-slider__header .arpoz-home-slider__eyebrow {
  position: relative;
  margin: 0;
  padding-left: 15px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.arpoz-home-slider__header .arpoz-home-slider__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--arpoz-blue, #289dcc);
}

/* ==========================================================
   ARPOZ V2.1 — Composants de contenus liés
   « Derniers titres » et « Dans le même style ».
   Classes dédiées au thème ARPOZ : aucune dépendance aux classes
   de présentation historiques du thème parent.
   ========================================================== */

.arpoz-related-block {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid var(--arpoz-border, #d4d4d4);
  border-radius: 6px;
  overflow: hidden;
  background: var(--arpoz-surface, #f8f8f8);
  color: var(--arpoz-text, #111);
  box-shadow: none;
}

.arpoz-related-block .related-posts-wrapper {
  min-width: 0;
  padding: 0;
}

.arpoz-related-block .related-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 0 10px 10px;
}

.arpoz-related-block .related-posts > * {
  min-width: 0;
  width: auto;
  max-width: 100%;
  margin: 0;
}

.arpoz-related-block .related-posts > .arpoz-related-block__heading {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  grid-column: 1 / -1;
  width: calc(100% + 20px);
  min-height: 42px;
  margin: 0 -10px;
  padding: 9px 20px 9px 36px;
  border: 0;
  border-bottom: 1px solid var(--arpoz-border, #d4d4d4);
  border-radius: 0;
  background: var(--arpoz-surface-raised, #efefef);
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.arpoz-related-block .related-posts > .arpoz-related-block__heading::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 5px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--arpoz-blue, #289dcc);
}

/* Les deux blocs partagent le même fond clair : le contenu et les mécanismes restent inchangés. */
html[data-arpoz-theme="dark"] .arpoz-related-block {
  --arpoz-surface: #202124;
  --arpoz-surface-raised: #292b30;
  --arpoz-text: #f5f5f5;
  --arpoz-border: #3b3d42;
}

html[data-arpoz-theme="light"] .arpoz-related-block {
  --arpoz-surface: #f8f8f8;
  --arpoz-surface-raised: #efefef;
  --arpoz-text: #111;
  --arpoz-border: #e3e3e3;
}

@media (max-width: 767px) {
  .arpoz-related-block .related-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 8px 8px;
  }

  .arpoz-related-block .related-posts > .arpoz-related-block__heading {
    width: calc(100% + 16px);
    min-height: 32px;
    margin: 0 -8px;
    padding: 7px 14px 7px 30px;
  }

  .arpoz-related-block .related-posts > .arpoz-related-block__heading::before {
    left: 14px;
  }
}

@media (max-width: 480px) {
  .arpoz-related-block .related-posts {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ARPOZ Selecta V2.1 — placement des blocs liés dans le template article. */
/* Sidebar : les 12 derniers titres sont empilés pour rester lisibles. */
.arpoz-single-sidebar .arpoz-related-block--latest .related-posts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 10px 10px;
}

.arpoz-single-sidebar .arpoz-related-block--latest .related-posts-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Bas de page : bloc « Dans le même style » sur toute la largeur disponible. */
.arpoz-related-block--full-width {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 24px 0 0;
  padding: 0 0 10px;
  overflow: hidden;
}

.arpoz-related-block--full-width > .arpoz-related-block__heading {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  margin: 0 0 12px;
  padding: 9px 20px 9px 36px;
  border: 0;
  border-bottom: 1px solid var(--arpoz-border, #d4d4d4);
  border-radius: 0;
  background: var(--arpoz-surface-raised, #efefef);
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.arpoz-related-block--full-width > .arpoz-related-block__heading::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 5px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--arpoz-blue, #289dcc);
}

.arpoz-related-block--full-width .related-posts-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.arpoz-related-block--full-width .related-posts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 10px;
}

.arpoz-related-block--full-width .related-posts > * {
  min-width: 0;
  width: auto;
  max-width: 100%;
  margin: 0;
}

@media (max-width: 767px) {
  .arpoz-related-block--full-width > .arpoz-related-block__heading {
    min-height: 32px;
    padding: 7px 14px 7px 30px;
  }

  .arpoz-related-block--full-width > .arpoz-related-block__heading::before {
    left: 14px;
  }

  .arpoz-related-block--full-width .related-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .arpoz-related-block--full-width .related-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The related-style block belongs to the full article layout, below main content + sidebar. */
.arpoz-single-layout > .arpoz-related-block--full-width {
  grid-column: 1 / -1;
  justify-self: stretch;
  align-self: start;
  min-width: 0;
}

.arpoz-single-layout > .arpoz-related-block--full-width .related-posts-wrapper,
.arpoz-single-layout > .arpoz-related-block--full-width .related-posts {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* Titres et textes des blocs liés : reprendre la typographie des cartes HP. */
.arpoz-related-block .arpoz-card__body {
  margin: 4px 0 0;
  padding: 0;
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.arpoz-related-block .arpoz-card__body h3 {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.arpoz-related-block .arpoz-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.arpoz-related-block .arpoz-card__body h3 a:hover {
  text-decoration: underline;
}

.arpoz-related-block .arpoz-card__date {
  margin: 5px 0 0;
  padding: 0;
  color: var(--arpoz-muted, #888);
  font-size: 11px;
  line-height: 1.35;
}


/* Correctif têtière « Derniers titres avec » : pleine largeur du bloc sidebar. */
.arpoz-single-sidebar .arpoz-related-block--latest {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.arpoz-single-sidebar .arpoz-related-block--latest > .arpoz-related-block__heading {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  margin: 0 0 12px;
  padding: 9px 20px 9px 36px;
  border: 0;
  border-bottom: 1px solid var(--arpoz-border, #d4d4d4);
  background: var(--arpoz-surface-raised, #efefef);
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.arpoz-single-sidebar .arpoz-related-block--latest > .arpoz-related-block__heading::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 5px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--arpoz-blue, #289dcc);
}


@media (max-width: 767px) {
  .arpoz-single-sidebar .arpoz-related-block--latest > .arpoz-related-block__heading {
    min-height: 32px;
    padding: 7px 14px 7px 30px;
  }

  .arpoz-single-sidebar .arpoz-related-block--latest > .arpoz-related-block__heading::before {
    left: 14px;
  }
}


/* Le bloc « Autres albums de » reprend la présentation de « Derniers titres avec ». */
.arpoz-single-sidebar .arpoz-related-block--albums {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.arpoz-single-sidebar .arpoz-related-block--albums > .arpoz-related-block__heading {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  margin: 0 0 12px;
  padding: 9px 20px 9px 36px;
  border: 0;
  border-bottom: 1px solid var(--arpoz-border, #d4d4d4);
  background: var(--arpoz-surface-raised, #efefef);
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.arpoz-single-sidebar .arpoz-related-block--albums > .arpoz-related-block__heading::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 5px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--arpoz-blue, #289dcc);
}

@media (max-width: 767px) {
  .arpoz-single-sidebar .arpoz-related-block--albums > .arpoz-related-block__heading {
    min-height: 32px;
    padding: 7px 14px 7px 30px;
  }
  .arpoz-single-sidebar .arpoz-related-block--albums > .arpoz-related-block__heading::before {
    left: 14px;
  }
}


/* ARPOZ Selecta V2.1 — bloc Focus artiste / scène géographique.
   Ajout ciblé au véritable fichier chargé : arpoz-shell.css.
   Aucun style existant n'est supprimé ni remplacé. */
.arpoz-related-block--focus {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.arpoz-related-block--focus > .arpoz-related-block__heading {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid var(--arpoz-border, #d4d4d4);
  border-radius: 0;
  background: var(--arpoz-surface-raised, #efefef);
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.arpoz-related-block--focus .arpoz-focus__content {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 1px minmax(0, 1.5fr);
  align-items: start;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 14px;
}

.arpoz-related-block--focus .arpoz-focus__artist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.arpoz-related-block--focus .arpoz-focus__artist-image {
  display: block;
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

.arpoz-related-block--focus .arpoz-focus__artist-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.arpoz-related-block--focus .arpoz-focus__artist-name {
  display: block;
  max-width: 100%;
  color: var(--arpoz-text, #111);
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.arpoz-related-block--focus .arpoz-focus__artist-name:hover,
.arpoz-related-block--focus .arpoz-focus__geo-label:hover {
  color: var(--arpoz-blue, #289dcc);
}

.arpoz-related-block--focus .arpoz-focus__separator {
  display: block;
  align-self: stretch;
  width: 1px;
  min-height: 100px;
  background: var(--arpoz-border, #d4d4d4);
}

.arpoz-related-block--focus .arpoz-focus__geo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  color: var(--arpoz-text, #111);
  text-decoration: none;
}

.arpoz-related-block--focus .arpoz-focus__geo-image {
  display: block;
  width: 100%;
  height: 100px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.arpoz-related-block--focus .arpoz-focus__geo-label {
  display: block;
  color: var(--arpoz-text, #111);
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.arpoz-related-block--focus .arpoz-focus__geo-label strong {
  font-weight: 700;
}

html[data-arpoz-theme="dark"] .arpoz-related-block--focus {
  --arpoz-surface: #202124;
  --arpoz-surface-raised: #292b30;
  --arpoz-text: #f5f5f5;
  --arpoz-border: #3b3d42;
}

html[data-arpoz-theme="light"] .arpoz-related-block--focus {
  --arpoz-surface: #f8f8f8;
  --arpoz-surface-raised: #efefef;
  --arpoz-text: #111;
  --arpoz-border: #e3e3e3;
}

@media (max-width: 480px) {
  .arpoz-related-block--focus .arpoz-focus__content {
    grid-template-columns: minmax(76px, .8fr) 1px minmax(0, 1.2fr);
    gap: 10px;
    padding: 12px;
  }
  .arpoz-related-block--focus .arpoz-focus__artist-image {
    flex-basis: 80px;
    width: 80px;
    height: 80px;
  }
  .arpoz-related-block--focus .arpoz-focus__geo-image {
    height: 80px;
  }
  .arpoz-related-block--focus .arpoz-focus__separator {
    min-height: 80px;
  }
}


/* Focus — disposition fluide : padding commun, sans colonnes vides quand l’artiste est masqué. */
.arpoz-related-block--focus .arpoz-focus__content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
}

.arpoz-related-block--focus .arpoz-focus__artist {
  flex: 0 0 100px;
  width: 100px;
  min-width: 0;
}

.arpoz-related-block--focus .arpoz-focus__separator {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  min-height: 100px;
}

.arpoz-related-block--focus .arpoz-focus__geo {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  align-items: flex-start;
}

.arpoz-related-block--focus .arpoz-focus__geo-image {
  display: block;
  flex: 0 0 auto;
  width: 185.185px;
  max-width: 100%;
  height: 100px;
  aspect-ratio: 100 / 54;
  object-fit: cover;
}

.arpoz-related-block--focus .arpoz-focus__geo-label {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 3px;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 480px) {
  .arpoz-related-block--focus .arpoz-focus__content {
    gap: 10px;
    padding: 12px;
  }

  .arpoz-related-block--focus .arpoz-focus__artist {
    flex-basis: 80px;
    width: 80px;
  }

  .arpoz-related-block--focus .arpoz-focus__artist-image {
    flex-basis: 80px;
    width: 80px;
    height: 80px;
  }

  .arpoz-related-block--focus .arpoz-focus__separator {
    min-height: 80px;
  }

  .arpoz-related-block--focus .arpoz-focus__geo-image {
    width: 148.148px;
    height: 80px;
  }
}


/* Correctif ciblé : rétablir la têtière Focus conforme à la maquette sombre. */
.arpoz-related-block--focus > .arpoz-related-block__heading {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px 9px 48px;
  border-bottom: 1px solid #383a3f;
  background: #292b30;
  color: #f5f5f5;
}

.arpoz-related-block--focus > .arpoz-related-block__heading::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  display: block;
  width: 5px;
  height: 18px;
  margin: 0;
  transform: translateY(-50%);
  background: var(--arpoz-blue, #289dcc);
}

@media (max-width: 480px) {
  .arpoz-related-block--focus > .arpoz-related-block__heading {
    padding-left: 40px;
  }

  .arpoz-related-block--focus > .arpoz-related-block__heading::before {
    left: 14px;
  }
}


/* Focus — couleurs adaptatives au thème ARPOZ clair/sombre. */
.arpoz-related-block--focus {
  background: var(--arpoz-surface, #f8f8f8);
  color: var(--arpoz-text, #111);
  border-color: var(--arpoz-border, #e3e3e3);
}

.arpoz-related-block--focus > .arpoz-related-block__heading {
  background: var(--arpoz-surface-raised, #efefef) !important;
  color: var(--arpoz-text, #111) !important;
  border-bottom-color: var(--arpoz-border, #d4d4d4) !important;
}

/* Mode sombre : s'appuie sur l'attribut utilisé par le script ARPOZ. */
html[data-arpoz-theme="dark"] .arpoz-related-block--focus {
  --arpoz-surface: #202124;
  --arpoz-surface-raised: #292b30;
  --arpoz-text: #f5f5f5;
  --arpoz-border: #3b3d42;
}

/* Mode clair. */
html[data-arpoz-theme="light"] .arpoz-related-block--focus {
  --arpoz-surface: #f8f8f8;
  --arpoz-surface-raised: #efefef;
  --arpoz-text: #111111;
  --arpoz-border: #e3e3e3;
}

/* Compatibilité si le thème applique son mode sur body. */
body.arpoz-dark .arpoz-related-block--focus,
body.dark-mode .arpoz-related-block--focus,
html[data-theme="dark"] .arpoz-related-block--focus {
  --arpoz-surface: #202124;
  --arpoz-surface-raised: #292b30;
  --arpoz-text: #f5f5f5;
  --arpoz-border: #3b3d42;
}

body.arpoz-light .arpoz-related-block--focus,
body.light-mode .arpoz-related-block--focus,
html[data-theme="light"] .arpoz-related-block--focus {
  --arpoz-surface: #f8f8f8;
  --arpoz-surface-raised: #efefef;
  --arpoz-text: #111111;
  --arpoz-border: #e3e3e3;
}


/* Focus — laisser le nom complet de l’artiste tenir sur une ligne.
   Le portrait conserve ses dimensions ; la colonne s’adapte au texte. */
.arpoz-related-block--focus .arpoz-focus__artist {
  flex: 0 1 auto;
  width: max-content;
  min-width: 100px;
  max-width: max-content;
}

.arpoz-related-block--focus .arpoz-focus__artist-name {
  width: max-content;
  max-width: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 480px) {
  .arpoz-related-block--focus .arpoz-focus__artist {
    flex-basis: auto;
    width: max-content;
    min-width: 80px;
  }
}


/* Focus — réparation isolée de la têtière.
   Neutralise les règles globales qui ramènent le trait bleu sur le texte. */
.arpoz-single-sidebar .arpoz-related-block.arpoz-related-block--focus > h3.arpoz-related-block__heading {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  padding: 9px 14px 9px 36px !important;
  text-align: left !important;
  background: var(--arpoz-surface-raised, #efefef) !important;
  color: var(--arpoz-text, #111111) !important;
  border-bottom: 1px solid var(--arpoz-border, #d4d4d4) !important;
}

.arpoz-single-sidebar .arpoz-related-block.arpoz-related-block--focus > h3.arpoz-related-block__heading::before {
  content: "" !important;
  position: absolute !important;
  left: 20px !important;
  right: auto !important;
  top: 50% !important;
  display: block !important;
  width: 5px !important;
  min-width: 5px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
  background: var(--arpoz-blue, #289dcc) !important;
  z-index: 1 !important;
}

@media (max-width: 480px) {
  .arpoz-single-sidebar .arpoz-related-block.arpoz-related-block--focus > h3.arpoz-related-block__heading {
    padding-left: 30px !important;
  }

  .arpoz-single-sidebar .arpoz-related-block.arpoz-related-block--focus > h3.arpoz-related-block__heading::before {
    left: 14px !important;
  }
}


/* ARPOZ — typographie commune des titres et dates dans les blocs de contenus liés.
   Appliquée aux blocs sidebar concernés, sans modifier leur grille ni leurs requêtes. */
.arpoz-single-sidebar .arpoz-related-block--latest .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--albums-reviews .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--concert-setlists .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--art-by .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--charts .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--dossiers .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--fanarts .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--news .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--lifestyle .single-related-posts .article-content {
  min-width: 0;
  font-family: inherit;
}

.arpoz-single-sidebar .arpoz-related-block--latest .single-related-posts .article-content > a,
.arpoz-single-sidebar .arpoz-related-block--albums-reviews .single-related-posts .article-content > a,
.arpoz-single-sidebar .arpoz-related-block--concert-setlists .single-related-posts .article-content > a,
.arpoz-single-sidebar .arpoz-related-block--art-by .single-related-posts .article-content > a,
.arpoz-single-sidebar .arpoz-related-block--charts .single-related-posts .article-content > a,
.arpoz-single-sidebar .arpoz-related-block--dossiers .single-related-posts .article-content > a,
.arpoz-single-sidebar .arpoz-related-block--fanarts .single-related-posts .article-content > a,
.arpoz-single-sidebar .arpoz-related-block--news .single-related-posts .article-content > a,
.arpoz-single-sidebar .arpoz-related-block--lifestyle .single-related-posts .article-content > a {
  display: block;
  margin: 0;
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.arpoz-single-sidebar .arpoz-related-block--latest .single-related-posts .article-content > a:hover,
.arpoz-single-sidebar .arpoz-related-block--albums-reviews .single-related-posts .article-content > a:hover,
.arpoz-single-sidebar .arpoz-related-block--concert-setlists .single-related-posts .article-content > a:hover,
.arpoz-single-sidebar .arpoz-related-block--art-by .single-related-posts .article-content > a:hover,
.arpoz-single-sidebar .arpoz-related-block--charts .single-related-posts .article-content > a:hover,
.arpoz-single-sidebar .arpoz-related-block--dossiers .single-related-posts .article-content > a:hover,
.arpoz-single-sidebar .arpoz-related-block--fanarts .single-related-posts .article-content > a:hover,
.arpoz-single-sidebar .arpoz-related-block--news .single-related-posts .article-content > a:hover,
.arpoz-single-sidebar .arpoz-related-block--lifestyle .single-related-posts .article-content > a:hover {
  text-decoration: underline;
}

.arpoz-single-sidebar .arpoz-related-block--latest .single-related-posts .post-meta-date,
.arpoz-single-sidebar .arpoz-related-block--albums-reviews .single-related-posts .post-meta-date,
.arpoz-single-sidebar .arpoz-related-block--concert-setlists .single-related-posts .post-meta-date,
.arpoz-single-sidebar .arpoz-related-block--art-by .single-related-posts .post-meta-date,
.arpoz-single-sidebar .arpoz-related-block--charts .single-related-posts .post-meta-date,
.arpoz-single-sidebar .arpoz-related-block--dossiers .single-related-posts .post-meta-date,
.arpoz-single-sidebar .arpoz-related-block--fanarts .single-related-posts .post-meta-date,
.arpoz-single-sidebar .arpoz-related-block--news .single-related-posts .post-meta-date,
.arpoz-single-sidebar .arpoz-related-block--lifestyle .single-related-posts .post-meta-date {
  display: block;
  margin: 4px 0 0;
  color: var(--arpoz-muted, #888);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.35;
}


/* Blocs de contenus liés — léger espace entre la vignette et le titre. */
.arpoz-single-sidebar .arpoz-related-block--latest .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--albums-reviews .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--concert-setlists .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--art-by .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--charts .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--dossiers .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--fanarts .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--news .single-related-posts .article-content,
.arpoz-single-sidebar .arpoz-related-block--lifestyle .single-related-posts .article-content {
  padding-top: 5px;
}


/* Lecteurs Deezer — préserver les interactions tactiles sur mobile */
.entry-content iframe[title="deezer-widget"],
.entry-content iframe[src*="widget.deezer.com/widget/"],
.post-content iframe[title="deezer-widget"],
.post-content iframe[src*="widget.deezer.com/widget/"] {
  display: block;
  max-width: 100%;
  border: 0;
  border-radius: 0 !important;
  clip-path: none !important;
  overflow: hidden;
  background: transparent;
}

/* Deezer — angles arrondis sans modifier l'iframe */
.entry-content:has(> iframe[title="deezer-widget"]),
.entry-content:has(> iframe[src*="widget.deezer.com/widget/"]),
.post-content:has(> iframe[title="deezer-widget"]),
.post-content:has(> iframe[src*="widget.deezer.com/widget/"]) {
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

/* ARPOZ V2.1 — Bloc Vinyl : mêmes espacements et couleurs adaptatives que les autres blocs. */
.arpoz-single-sidebar .arpoz-related-block--latest-vinyls > .arpoz-related-block__heading {
  background: var(--arpoz-surface-raised, #efefef);
  color: var(--arpoz-text, #111);
}

.arpoz-single-sidebar .arpoz-related-block--latest-vinyls > .arpoz-related-block__heading::before {
  background: var(--arpoz-blue, #289dcc);
}

.arpoz-single-sidebar .arpoz-related-block--latest-vinyls .single-related-posts .article-content {
  min-width: 0;
  padding-top: 5px;
}

.arpoz-single-sidebar .arpoz-related-block--latest-vinyls .single-related-posts .article-content > a {
  display: block;
  margin: 0;
  color: var(--arpoz-text, #111);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.arpoz-single-sidebar .arpoz-related-block--latest-vinyls .single-related-posts .post-meta-date {
  display: block;
  margin: 4px 0 0;
  color: var(--arpoz-muted, #888);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.arpoz-single-sidebar .arpoz-related-block--latest-vinyls .related-posts-thumbnail {
  overflow: hidden;
}

.arpoz-single-sidebar .arpoz-related-block--latest-vinyls .related-posts-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


/* ARPOZ V2.1 — harmonisation des traits bleus verticaux des têtières HP. */
.arpoz-home-tracks__heading .arpoz-section-title::before,
.arpoz-home-slider__header .arpoz-home-slider__eyebrow::before {
  width: 5px !important;
  min-width: 5px !important;
  height: 18px !important;
  display: block;
  transform: translateY(-50%);
}

/* ARPOZ V2.1 — fonds communs des têtières et blocs de contenus liés.
   Référence visuelle : bloc Focus. Le trait, les espacements et la typographie
   restent définis par les règles existantes ci-dessus. */
html[data-arpoz-theme="light"] .arpoz-single-sidebar .arpoz-related-block,
body.arpoz-light .arpoz-single-sidebar .arpoz-related-block,
body.light-mode .arpoz-single-sidebar .arpoz-related-block,
html[data-theme="light"] .arpoz-single-sidebar .arpoz-related-block {
  background-color: #f8f8f8 !important;
  border-color: #e3e3e3;
  color: #111111;
}
html[data-arpoz-theme="light"] .arpoz-single-sidebar .arpoz-related-block > .arpoz-related-block__heading,
body.arpoz-light .arpoz-single-sidebar .arpoz-related-block > .arpoz-related-block__heading,
body.light-mode .arpoz-single-sidebar .arpoz-related-block > .arpoz-related-block__heading,
html[data-theme="light"] .arpoz-single-sidebar .arpoz-related-block > .arpoz-related-block__heading {
  background-color: #efefef !important;
  border-bottom-color: #d4d4d4 !important;
  color: #111111 !important;
}
html[data-arpoz-theme="dark"] .arpoz-single-sidebar .arpoz-related-block,
body.arpoz-dark .arpoz-single-sidebar .arpoz-related-block,
body.dark-mode .arpoz-single-sidebar .arpoz-related-block,
html[data-theme="dark"] .arpoz-single-sidebar .arpoz-related-block {
  background-color: #202124 !important;
  border-color: #3b3d42;
  color: #f5f5f5;
}
html[data-arpoz-theme="dark"] .arpoz-single-sidebar .arpoz-related-block > .arpoz-related-block__heading,
body.arpoz-dark .arpoz-single-sidebar .arpoz-related-block > .arpoz-related-block__heading,
body.dark-mode .arpoz-single-sidebar .arpoz-related-block > .arpoz-related-block__heading,
html[data-theme="dark"] .arpoz-single-sidebar .arpoz-related-block > .arpoz-related-block__heading {
  background-color: #292b30 !important;
  border-bottom-color: #3b3d42 !important;
  color: #f5f5f5 !important;
}


/* H1 Page / Genre : mêmes règles typographiques que le H1 des Archives. */
@media (max-width: 1024px) {
  .arpoz-page-title { font-size: clamp(23px, 3.4vw, 36px); }
}
@media (max-width: 767px) {
  .arpoz-page-title { font-size: clamp(25px, 7vw, 34px); }
}

/* ARPOZ V2.1 — zoning Page / Genre : titre, contenu et sidebar. */
.arpoz-page-container { width: 100%; box-sizing: border-box; }
.arpoz-page-header {
  position: relative; display: flex; align-items: center; box-sizing: border-box;
  min-height: 108px; height: 108px; margin: 0 0 18px; padding: 20px 18px;
  overflow: hidden; border: 1px solid var(--arpoz-border, #3b3d42); border-radius: 8px;
  background: var(--arpoz-surface, #202124); isolation: isolate;
}
.arpoz-page-header.has-featured-image {
  background-image: linear-gradient(rgba(0,0,0,.48), rgba(0,0,0,.48)), var(--arpoz-page-header-image);
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}
.arpoz-page-titlebox { position: relative; z-index: 1; width: 100%; min-width: 0; }
.arpoz-page-title {
  margin: 0 0 16px;
  padding: 0;
  color: var(--arpoz-text, #fff);
  font-family: inherit;
  font-size: clamp(25px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  background: transparent;
  text-shadow: none;
  box-shadow: none;
}
.arpoz-page-header.has-featured-image .arpoz-page-title { color: #fff; }
html[data-arpoz-theme="light"] .arpoz-page-header.has-featured-image .arpoz-page-title,
body.arpoz-light .arpoz-page-header.has-featured-image .arpoz-page-title,
body.light-mode .arpoz-page-header.has-featured-image .arpoz-page-title,
html[data-theme="light"] .arpoz-page-header.has-featured-image .arpoz-page-title { color: #111; }
html[data-arpoz-theme="light"] .arpoz-page-header.has-featured-image .arpoz-page-title,
body.arpoz-light .arpoz-page-header.has-featured-image .arpoz-page-title,
body.light-mode .arpoz-page-header.has-featured-image .arpoz-page-title,
html[data-theme="light"] .arpoz-page-header.has-featured-image .arpoz-page-title { color: #111; }
html[data-arpoz-theme="light"] .arpoz-page-header.has-featured-image,
body.arpoz-light .arpoz-page-header.has-featured-image,
body.light-mode .arpoz-page-header.has-featured-image,
html[data-theme="light"] .arpoz-page-header.has-featured-image {
  background-image: linear-gradient(rgba(255,255,255,.76), rgba(255,255,255,.76)), var(--arpoz-page-header-image);
}
html[data-arpoz-theme="dark"] .arpoz-page-header.has-featured-image .arpoz-page-title,
body.arpoz-dark .arpoz-page-header.has-featured-image .arpoz-page-title,
body.dark-mode .arpoz-page-header.has-featured-image .arpoz-page-title,
html[data-theme="dark"] .arpoz-page-header.has-featured-image .arpoz-page-title { color: #f5f5f5; }
.arpoz-page-layout {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  align-items: start; gap: 18px; width: 100%; box-sizing: border-box;
}
.arpoz-page-content, .arpoz-page-sidebar-column { min-width: 0; box-sizing: border-box; }
.arpoz-page-content { background: transparent !important; }
.arpoz-page-content {
  padding: 18px; border: 1px solid var(--arpoz-border, #3b3d42); border-radius: 8px;
  background: transparent; color: var(--arpoz-text, #f5f5f5);
}
.arpoz-page-sidebar-column { display: flex; flex-direction: column; gap: 18px; }
.arpoz-page-sidebar-image { width: 100%; overflow: hidden; border: 1px solid var(--arpoz-border, #3b3d42); border-radius: 8px; line-height: 0; }
.arpoz-page-sidebar-image img { display: block; width: 100%; height: auto; max-width: 100%; }
.arpoz-page-sidebar-column .arpoz-archive-sidebar {
  display: block; float: none; width: 100%; min-width: 0; min-height: 260px; margin: 0; padding: 14px;
  box-sizing: border-box; border: 1px solid var(--arpoz-border, #3b3d42); border-radius: 8px;
  background: var(--arpoz-surface, #202124); color: var(--arpoz-text, #f5f5f5);
}
.arpoz-page-sidebar-column .arpoz-archive-sidebar__inner { min-height: 0; }
.arpoz-page-header:not(.has-featured-image) { background: transparent; }
html[data-arpoz-theme="light"] .arpoz-page-header:not(.has-featured-image) .arpoz-page-title,
body.arpoz-light .arpoz-page-header:not(.has-featured-image) .arpoz-page-title,
body.light-mode .arpoz-page-header:not(.has-featured-image) .arpoz-page-title,
html[data-theme="light"] .arpoz-page-header:not(.has-featured-image) .arpoz-page-title { color: #111; }

html[data-arpoz-theme="dark"] .arpoz-page-header:not(.has-featured-image) .arpoz-page-title,
body.arpoz-dark .arpoz-page-header:not(.has-featured-image) .arpoz-page-title,
body.dark-mode .arpoz-page-header:not(.has-featured-image) .arpoz-page-title,
html[data-theme="dark"] .arpoz-page-header:not(.has-featured-image) .arpoz-page-title { color: #f5f5f5; }
html[data-arpoz-theme="light"] .arpoz-page-sidebar-column .arpoz-archive-sidebar,
body.arpoz-light .arpoz-page-sidebar-column .arpoz-archive-sidebar,
body.light-mode .arpoz-page-sidebar-column .arpoz-archive-sidebar,
html[data-theme="light"] .arpoz-page-sidebar-column .arpoz-archive-sidebar { background: #f8f8f8; color: #111; border-color: #e3e3e3; }
html[data-arpoz-theme="dark"] .arpoz-page-sidebar-column .arpoz-archive-sidebar,
body.arpoz-dark .arpoz-page-sidebar-column .arpoz-archive-sidebar,
body.dark-mode .arpoz-page-sidebar-column .arpoz-archive-sidebar,
html[data-theme="dark"] .arpoz-page-sidebar-column .arpoz-archive-sidebar { background: #202124; color: #f5f5f5; border-color: #3b3d42; }
.arpoz-genre-container .genre-art-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.arpoz-genre-container .art-card { min-width: 0; overflow: hidden; border: 1px solid var(--arpoz-border, #3b3d42); border-radius: 8px; }
.arpoz-genre-container .art-card > a { display: block; color: inherit; text-decoration: none; }
/* ARPOZ — shortcode [arpoz_scenes_cards] : image pleine largeur au ratio 100:54.
   Le recadrage se fait par overflow/object-fit, sans déformation de l’image. */
.genre-art-container .art-thumbnail2 {
  display: block;
  width: 100%;
  aspect-ratio: 100 / 54;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.genre-art-container .art-thumbnail2 img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

.arpoz-genre-container .art-thumbnail img { display: block; width: 100%; height: auto; }
.arpoz-genre-container .art-content { padding: 12px; }
.arpoz-genre-container .art-content h2 { margin: 0 0 8px; }
.arpoz-genre-container .pagination, .arpoz-genre-container .cta-container { margin-top: 18px; }
@media (max-width: 1024px) {
  .arpoz-genre-container .genre-art-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .arpoz-page-layout { grid-template-columns: minmax(0, 1fr); }
  .arpoz-page-header { min-height: 108px; height: 108px; }
  .arpoz-page-sidebar-column { gap: 14px; }
}
@media (max-width: 480px) {
  .arpoz-genre-container .genre-art-container { grid-template-columns: minmax(0, 1fr); }
}

/* ARPOZ V2.1 — Bloc Genres dans la sidebar des pages Genre.
   Les données proviennent des mêmes réglages que le bloc Genres de la HP. */
.arpoz-genre-container .arpoz-genre-sidebar-block { margin: 0; padding: 0; color: var(--arpoz-text, #f5f5f5); background: #202124; border: 1px solid var(--arpoz-border, #3b3d42); border-radius: 8px; overflow: hidden; }
.arpoz-genre-container .arpoz-genre-sidebar-block__header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0; padding: 11px 14px;
  border-bottom: 1px solid var(--arpoz-border, #3b3d42);
  background: #292b30; color: #f5f5f5;
}
.arpoz-genre-container .arpoz-genre-sidebar-block__title {
  position: relative; margin: 0; padding-left: 18px; color: #f5f5f5;
  font-size: 11px; font-weight: 800; line-height: 1.3;
  letter-spacing: .16em; text-transform: uppercase;
}
/* Même marqueur :before commun que les autres têtières ARPOZ. */
.arpoz-genre-container .arpoz-genre-sidebar-block__title::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 5px; height: 18px; transform: translateY(-50%);
  background: var(--arpoz-blue, #289dcc);
}
.arpoz-genre-container .arpoz-genre-sidebar-block__all {
  color: #f5f5f5; font-size: 11px; line-height: 1.3; white-space: nowrap; text-decoration: none;
}
.arpoz-genre-container .arpoz-genre-sidebar-block__all:hover { color: var(--arpoz-blue, #289dcc); }
.arpoz-genre-container .arpoz-genre-sidebar-block__sections { display: flex; flex-direction: column; gap: 0; }
.arpoz-genre-container .arpoz-genre-sidebar-block__section { min-width: 0; padding: 12px 0; }
.arpoz-genre-container .arpoz-genre-sidebar-block__section + .arpoz-genre-sidebar-block__section { border-top: 1px solid var(--arpoz-border, #3b3d42); }
.arpoz-genre-container .arpoz-genre-sidebar-block__section-title {
  margin: 0 0 10px; color: var(--arpoz-text, #f5f5f5); font-size: 11px; font-weight: 800;
  line-height: 1.3; letter-spacing: .08em; text-align: center; text-transform: uppercase;
}
.arpoz-genre-container .arpoz-genre-sidebar-block__bubbles { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; }
.arpoz-genre-container .arpoz-genre-sidebar-block__bubble,
.arpoz-gang-sets-block__content .arpoz-gang-set-bubble {
  display: inline-flex; align-items: center; justify-content: center; min-height: 30px; max-width: 100%;
  box-sizing: border-box; padding: 6px 10px; border: 1px solid #3b3b3b; border-radius: 999px;
  background: #171717; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .035em; line-height: 1.25; text-align: center;
  text-transform: uppercase; text-decoration: none; overflow-wrap: anywhere;
}
.arpoz-genre-container .arpoz-genre-sidebar-block__bubble:hover,
.arpoz-genre-container .arpoz-genre-sidebar-block__bubble:focus-visible,
.arpoz-gang-sets-block__content .arpoz-gang-set-bubble:hover,
.arpoz-gang-sets-block__content .arpoz-gang-set-bubble:focus-within {
  background: var(--arpoz-blue, #289dcc); border-color: var(--arpoz-blue, #289dcc); color: #fff;
}
.arpoz-gang-sets-block__content .arpoz-gang-set-bubble a {
  display: block; color: inherit; text-decoration: none;
}
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__header,
body.arpoz-light .arpoz-genre-container .arpoz-genre-sidebar-block__header,
body.light-mode .arpoz-genre-container .arpoz-genre-sidebar-block__header,
html[data-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__header { background: #efefef; color: #111; border-bottom-color: #d4d4d4; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__title,
body.arpoz-light .arpoz-genre-container .arpoz-genre-sidebar-block__title,
body.light-mode .arpoz-genre-container .arpoz-genre-sidebar-block__title,
html[data-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__title { color: #111; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block,
body.arpoz-light .arpoz-genre-container .arpoz-genre-sidebar-block,
body.light-mode .arpoz-genre-container .arpoz-genre-sidebar-block,
html[data-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block { background: #f8f8f8; color: #111; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__section-title,
body.arpoz-light .arpoz-genre-container .arpoz-genre-sidebar-block__section-title,
body.light-mode .arpoz-genre-container .arpoz-genre-sidebar-block__section-title,
html[data-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__section-title { color: #111; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__all,
body.arpoz-light .arpoz-genre-container .arpoz-genre-sidebar-block__all,
body.light-mode .arpoz-genre-container .arpoz-genre-sidebar-block__all,
html[data-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__all { color: #111 !important; font-weight: 700 !important; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__all:hover,
body.arpoz-light .arpoz-genre-container .arpoz-genre-sidebar-block__all:hover,
body.light-mode .arpoz-genre-container .arpoz-genre-sidebar-block__all:hover,
html[data-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__all:hover { color: var(--arpoz-blue, #289dcc); }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__bubble,
body.arpoz-light .arpoz-genre-container .arpoz-genre-sidebar-block__bubble,
body.light-mode .arpoz-genre-container .arpoz-genre-sidebar-block__bubble,
html[data-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__bubble,
html[data-arpoz-theme="light"] .arpoz-gang-sets-block__content .arpoz-gang-set-bubble,
body.arpoz-light .arpoz-gang-sets-block__content .arpoz-gang-set-bubble,
body.light-mode .arpoz-gang-sets-block__content .arpoz-gang-set-bubble,
html[data-theme="light"] .arpoz-gang-sets-block__content .arpoz-gang-set-bubble {
  background: #fff; color: #111; border-color: #e3e3e3;
}
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__bubble:hover,
body.arpoz-light .arpoz-genre-container .arpoz-genre-sidebar-block__bubble:hover,
body.light-mode .arpoz-genre-container .arpoz-genre-sidebar-block__bubble:hover,
html[data-theme="light"] .arpoz-genre-container .arpoz-genre-sidebar-block__bubble:hover,
html[data-arpoz-theme="light"] .arpoz-gang-sets-block__content .arpoz-gang-set-bubble:hover,
body.arpoz-light .arpoz-gang-sets-block__content .arpoz-gang-set-bubble:hover,
body.light-mode .arpoz-gang-sets-block__content .arpoz-gang-set-bubble:hover,
html[data-theme="light"] .arpoz-gang-sets-block__content .arpoz-gang-set-bubble:hover {
  background: var(--arpoz-blue, #289dcc); border-color: var(--arpoz-blue, #289dcc); color: #fff;
}
/* ARPOZ V2.1 — Derniers titres du genre dans la sidebar. */
.arpoz-genre-container .arpoz-genre-latest-block { margin: 0 0 18px; padding: 0 14px 14px; color: var(--arpoz-text, #f5f5f5); background: #202124; border: 1px solid var(--arpoz-border, #3b3d42); border-radius: 8px; overflow: hidden; }
.arpoz-genre-container .arpoz-genre-latest-block__header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 -14px 0; padding:11px 14px; border-bottom:1px solid var(--arpoz-border,#3b3d42); background:#292b30; color:#f5f5f5; }
.arpoz-genre-container .arpoz-genre-latest-block__title { position:relative; min-width:0; margin:0; padding-left:18px; color:#f5f5f5; font-size:11px; font-weight:800; line-height:1.3; letter-spacing:.16em; text-transform:uppercase; }
.arpoz-genre-container .arpoz-genre-latest-block__title::before { content:""; position:absolute; left:0; top:50%; width:5px; height:18px; transform:translateY(-50%); background:var(--arpoz-blue,#289dcc); }
.arpoz-genre-container .arpoz-genre-latest-block__header .arpoz-genre-sidebar-block__all { margin-left:auto; text-align:right; flex:0 0 auto; }

.arpoz-genre-container .arpoz-genre-latest-block__list { display:flex; flex-direction:column; gap:0; }
.arpoz-genre-container .arpoz-genre-latest-block__item + .arpoz-genre-latest-block__item { border-top:1px solid var(--arpoz-border,#3b3d42); }
.arpoz-genre-container .arpoz-genre-latest-block__link { display:flex; align-items:center; gap:10px; padding:10px 0; color:var(--arpoz-text,#f5f5f5); text-decoration:none; font-size:13px; font-weight:700; line-height:1.35; }
.arpoz-genre-container .arpoz-genre-latest-block__link:hover { color:var(--arpoz-blue,#289dcc); }
.arpoz-genre-container .arpoz-genre-latest-block__thumb { display:block; flex:0 0 64px; width:64px; overflow:hidden; border-radius:4px; line-height:0; }
.arpoz-genre-container .arpoz-genre-latest-block__thumb img { display:block; width:64px; height:64px; object-fit:cover; }
.arpoz-genre-container .arpoz-genre-latest-block__name { min-width:0; overflow-wrap:anywhere; }
.arpoz-genre-container .arpoz-genre-latest-block__empty { margin:0; padding:14px 0 0; color:var(--arpoz-text-muted,#b8b8b8); font-size:13px; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block, body.arpoz-light .arpoz-genre-container .arpoz-genre-latest-block, body.light-mode .arpoz-genre-container .arpoz-genre-latest-block, html[data-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block { background:#f8f8f8; color:#111; border-color:#d4d4d4; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block__header, body.arpoz-light .arpoz-genre-container .arpoz-genre-latest-block__header, body.light-mode .arpoz-genre-container .arpoz-genre-latest-block__header, html[data-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block__header { background:#efefef; color:#111; border-bottom-color:#d4d4d4; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block__title, body.arpoz-light .arpoz-genre-container .arpoz-genre-latest-block__title, body.light-mode .arpoz-genre-container .arpoz-genre-latest-block__title, html[data-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block__title { color:#111; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block__link, body.arpoz-light .arpoz-genre-container .arpoz-genre-latest-block__link, body.light-mode .arpoz-genre-container .arpoz-genre-latest-block__link, html[data-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block__link { color:#111; }
html[data-arpoz-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block__link:hover, body.arpoz-light .arpoz-genre-container .arpoz-genre-latest-block__link:hover, body.light-mode .arpoz-genre-container .arpoz-genre-latest-block__link:hover, html[data-theme="light"] .arpoz-genre-container .arpoz-genre-latest-block__link:hover { color:var(--arpoz-blue,#289dcc); }


/* ARPOZ V2.1 — Liste principale des articles sur les pages Genre.
   Cartes réutilisées depuis content-archive.php, avec pagination propre à la page Genre. */
.arpoz-genre-container .arpoz-genre-articles { min-width: 0; margin-top: 22px; }
.arpoz-genre-container .arpoz-genre-archive-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.arpoz-genre-container .arpoz-genre-pagination { width: 100%; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--arpoz-border, #333); }
.arpoz-genre-container .arpoz-genre-pagination ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.arpoz-genre-container .arpoz-genre-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--arpoz-border, #444); color: var(--arpoz-text, #fff); background: transparent; text-decoration: none; }
.arpoz-genre-container .arpoz-genre-pagination .page-numbers.current { border-color: var(--arpoz-blue, #289dcc); color: #fff; background: var(--arpoz-blue, #289dcc); }
.arpoz-genre-container .arpoz-genre-pagination a.page-numbers:hover { border-color: var(--arpoz-blue, #289dcc); color: var(--arpoz-blue, #289dcc); }
.arpoz-genre-container .arpoz-genre-articles__empty { margin: 0; padding: 16px 0; color: var(--arpoz-text-muted, #b8b8b8); }
@media (max-width: 1024px) { .arpoz-genre-container .arpoz-genre-archive-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .arpoz-genre-container .arpoz-genre-archive-items { grid-template-columns: minmax(0, 1fr); } }


/* ARPOZ V2.1 — liste Genre : retirer le cadre de la colonne principale,
   supprimer le cadre extérieur de pagination et imposer le ratio image 100:54. */
.arpoz-genre-list-page .arpoz-genre-list-primary {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.arpoz-genre-list-page .arpoz-genre-pagination {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.arpoz-genre-list-page .arpoz-genre-pagination ul {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.arpoz-genre-list-page .arpoz-page-sidebar-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 100 / 54 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* ARPOZ V2.1 — liste Genre : préserver le bandeau illustré en mode sombre et clair. */
.arpoz-genre-list-header.has-featured-image {
  background-image: linear-gradient(var(--arpoz-genre-header-overlay, rgba(0,0,0,.48)), var(--arpoz-genre-header-overlay, rgba(0,0,0,.48))), var(--arpoz-page-header-image) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
html[data-arpoz-theme="light"] .arpoz-genre-list-header.has-featured-image,
body.arpoz-light .arpoz-genre-list-header.has-featured-image,
body.light-mode .arpoz-genre-list-header.has-featured-image,
html[data-theme="light"] .arpoz-genre-list-header.has-featured-image {
  --arpoz-genre-header-overlay: rgba(255,255,255,.76);
}
html[data-arpoz-theme="dark"] .arpoz-genre-list-header.has-featured-image,
body.arpoz-dark .arpoz-genre-list-header.has-featured-image,
body.dark-mode .arpoz-genre-list-header.has-featured-image,
html[data-theme="dark"] .arpoz-genre-list-header.has-featured-image {
  --arpoz-genre-header-overlay: rgba(0,0,0,.48);
}


/* Liste Genre : alignement de la têtière sur son contenu et image au ratio 100:54. */
.arpoz-genre-list-page .arpoz-genre-sidebar-block {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.arpoz-genre-list-page .arpoz-genre-sidebar-block__header {
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px !important;
  box-sizing: border-box;
}
.arpoz-genre-list-page .arpoz-genre-sidebar-block__sections {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.arpoz-genre-list-page .arpoz-page-sidebar-image {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  box-sizing: border-box;
}
.arpoz-genre-list-page .arpoz-page-sidebar-image img,
.arpoz-genre-list-page .arpoz-page-sidebar-image img.arpoz-genre-list-sidebar-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 100 / 54 !important;
  object-fit: cover !important;
  object-position: center !important;
}


/* Liste Genre — dernières garanties ciblées, sans effet sur template_genre.php. */
.arpoz-genre-list-page #primary.arpoz-genre-list-primary,
.arpoz-genre-list-page #primary.arpoz-genre-list-primary > #main.site-main {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.arpoz-genre-list-page .arpoz-genre-pagination {
  display: block;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.arpoz-genre-list-page .arpoz-genre-pagination > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  list-style: none !important;
}

.arpoz-genre-container .arpoz-page-sidebar-column { gap: 14px; }
.arpoz-genre-container .arpoz-genre-latest-block { margin: 0; }


/* ARPOZ V2.1 — correctifs ciblés : hover du fil d’Ariane en mode sombre et espacement sidebar Genre. */
html[data-arpoz-theme="dark"] .arpoz-genre-container > .arpoz-breadcrumb-container--page a:hover,
html[data-arpoz-theme="dark"] .arpoz-genre-container > .arpoz-breadcrumb-container--page a:focus-visible,
body.dark-mode .arpoz-genre-container > .arpoz-breadcrumb-container--page a:hover,
body.dark-mode .arpoz-genre-container > .arpoz-breadcrumb-container--page a:focus-visible,
body.arpoz-dark .arpoz-genre-container > .arpoz-breadcrumb-container--page a:hover,
body.arpoz-dark .arpoz-genre-container > .arpoz-breadcrumb-container--page a:focus-visible,
html[data-theme="dark"] .arpoz-genre-container > .arpoz-breadcrumb-container--page a:hover,
html[data-theme="dark"] .arpoz-genre-container > .arpoz-breadcrumb-container--page a:focus-visible { color: var(--arpoz-blue, #289dcc) !important; }


/* ARPOZ Selecta V2.1 — LIST des blocs de sidebar Single.
   Reprend la têtière et la liste validées, sans dépendre de .arpoz-genre-container. */
.arpoz-single-sidebar .arpoz-related-block--list {
  box-sizing: border-box; width: 100%; min-width: 0; overflow: hidden;
}
.arpoz-single-sidebar .arpoz-related-block--list > .arpoz-related-block__heading--list {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-sizing: border-box; width: 100%; min-height: 42px; margin: 0; padding: 9px 14px 9px 36px;
  border: 0; border-bottom: 1px solid var(--arpoz-border, #d4d4d4); border-radius: 0;
  background: var(--arpoz-surface-raised, #efefef); color: var(--arpoz-text, #111);
  font-family: inherit; font-size: 12px; font-weight: 800; line-height: 1.4;
  letter-spacing: .14em; text-transform: uppercase;
}
.arpoz-single-sidebar .arpoz-related-block--list > .arpoz-related-block__heading--list::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 5px; height: 18px;
  transform: translateY(-50%); background: var(--arpoz-blue, #289dcc);
}
.arpoz-single-sidebar .arpoz-related-block__heading-title {
  min-width: 0; margin: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit;
  text-transform: uppercase !important;
}
.arpoz-single-sidebar .arpoz-related-block__all {
  flex: 0 0 auto; margin-left: auto; color: inherit; font-size: 11px; font-weight: 700;
  line-height: 1.3; letter-spacing: 0; text-transform: none; white-space: nowrap; text-decoration: none;
}
.arpoz-single-sidebar .arpoz-related-block__all:hover { color: var(--arpoz-blue, #289dcc); }
.arpoz-single-sidebar .arpoz-related-list { display: flex; flex-direction: column; gap: 0; padding: 0 14px; }
.arpoz-single-sidebar .arpoz-related-list__item + .arpoz-related-list__item { border-top: 1px solid var(--arpoz-border, #d4d4d4); }
.arpoz-single-sidebar .arpoz-related-list__link {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 0;
  color: var(--arpoz-text, #111); font-size: 13px; font-weight: 700; line-height: 1.35; text-decoration: none;
}
.arpoz-single-sidebar .arpoz-related-list__link:hover { color: var(--arpoz-blue, #289dcc); }
.arpoz-single-sidebar .arpoz-related-list__thumb {
  display: block; flex: 0 0 100px; width: 100px; min-width: 100px; height: 54px; min-height: 0; overflow: hidden; border-radius: 4px; line-height: 0;
}
.arpoz-single-sidebar .arpoz-related-list__thumb img {
  display: block !important; width: 100% !important; height: 100% !important; min-height: 0 !important; max-width: none !important; aspect-ratio: 100 / 54 !important; object-fit: cover !important; object-position: center !important;
}
.arpoz-single-sidebar .arpoz-related-list__name { min-width: 0; overflow-wrap: anywhere; text-transform: capitalize; }
html[data-arpoz-theme="dark"] .arpoz-single-sidebar .arpoz-related-block--list { --arpoz-surface: #202124; --arpoz-surface-raised: #292b30; --arpoz-text: #f5f5f5; --arpoz-border: #3b3d42; }
html[data-arpoz-theme="light"] .arpoz-single-sidebar .arpoz-related-block--list { --arpoz-surface: #f8f8f8; --arpoz-surface-raised: #efefef; --arpoz-text: #111; --arpoz-border: #d4d4d4; }
@media (max-width: 767px) {
  .arpoz-single-sidebar .arpoz-related-block--list > .arpoz-related-block__heading--list { min-height: 32px; padding: 7px 10px 7px 30px; }
  .arpoz-single-sidebar .arpoz-related-block--list > .arpoz-related-block__heading--list::before { left: 10px; }
  .arpoz-single-sidebar .arpoz-related-list { padding: 0 10px; }
}


/* ARPOZ V2.1 — Liens d’archives dans les têtières des blocs GRID Vinyls et Albums reviews. */
.arpoz-single-sidebar .arpoz-related-block--latest > .arpoz-related-block__heading--with-archive {
  justify-content: space-between;
  gap: 12px;
}
.arpoz-single-sidebar .arpoz-related-block__heading--with-archive .arpoz-related-block__all {
  flex: 0 0 auto;
  margin-left: auto;
  color: inherit;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
}
.arpoz-single-sidebar .arpoz-related-block__heading--with-archive .arpoz-related-block__all:hover {
  color: var(--arpoz-blue, #289dcc);
}


/* ARPOZ Selecta V2.1 — menu mobile spécifique. Le header Desktop reste inchangé. */
.arpoz-mobile-menu-toggle, .arpoz-mobile-menu { display: none; }
@media (max-width: 600px) {
  .arpoz-header { position: relative; z-index: 1000; }
  .arpoz-header__inner { min-height: 70px; padding: 8px 10px; padding-right: 56px; gap: 0; flex-wrap: nowrap; justify-content: flex-start; }
  .arpoz-header__brand { order: 1; }
  .arpoz-logo-image img { max-width: 112px; max-height: 52px; }
  .arpoz-header__tools, .arpoz-primary-nav { display: none !important; }
  /* Le bouton est positionné dans la zone du header, à droite du logo, et non dans le flux sous celui-ci. */
  .arpoz-mobile-menu-toggle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 0; background: #289dcc; color: #fff; cursor: pointer; }
  .arpoz-mobile-menu-toggle__icon { display: flex; width: 18px; flex-direction: column; gap: 4px; }
  .arpoz-mobile-menu-toggle__icon span { display: block; width: 18px; height: 2px; background: currentColor; }
  .arpoz-mobile-menu { display: block; position: fixed; inset: 0; z-index: 99999; }
  .arpoz-mobile-menu[hidden] { display: none !important; }
  .arpoz-mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.52); }
  .arpoz-mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); overflow-y: auto; padding: 18px 18px 28px; box-sizing: border-box; background: var(--arpoz-bg, #fff); color: var(--arpoz-text, #111); box-shadow: -8px 0 28px rgba(0,0,0,.2); }
  .arpoz-mobile-menu__heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--arpoz-border, #ddd); font-size: 1.05rem; font-weight: 700; }
  .arpoz-mobile-menu__close { width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
  .arpoz-mobile-menu__tools { display: grid; gap: 12px; margin-bottom: 20px; }
  .arpoz-mobile-search { display: flex; width: 100%; min-height: 42px; box-sizing: border-box; }
  .arpoz-mobile-search .arpoz-search__input { flex: 1 1 auto; width: 1%; min-height: 42px; box-sizing: border-box; }
  .arpoz-mobile-search .arpoz-search__submit { min-width: 44px; }
  .arpoz-mobile-theme-toggle { min-height: 42px; justify-self: start; padding: 8px 12px; border: 1px solid var(--arpoz-border, #ddd); background: var(--arpoz-surface, transparent); color: inherit; cursor: pointer; }
  .arpoz-mobile-nav__list, .arpoz-mobile-nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
  .arpoz-mobile-nav__list > li { border-top: 1px solid var(--arpoz-border, #ddd); }
  .arpoz-mobile-nav__list a { display: block; padding: 13px 2px; color: inherit; text-decoration: none; font-size: 1rem; line-height: 1.35; }
  .arpoz-mobile-nav__list a:hover, .arpoz-mobile-nav__list a:focus-visible { color: var(--arpoz-blue, #289dcc); }
  .arpoz-mobile-nav__list .sub-menu { padding: 0 0 8px 14px; }
  .arpoz-mobile-nav__list .sub-menu a { padding: 9px 2px; font-size: .94rem; }
  body.arpoz-mobile-menu-open { overflow: hidden; }
}
@media (min-width: 601px) {
  .arpoz-mobile-menu-toggle, .arpoz-mobile-menu { display: none !important; }
}


/* ARPOZ Selecta V2.1 — switch thème binaire Clair/Sombre (Desktop + mobile). */
.arpoz-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--arpoz-text, #fff);
  box-shadow: none;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.arpoz-theme-switch__label { font-size: 13px; line-height: 1.2; }
.arpoz-theme-switch__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 66px;
  width: 66px;
  height: 36px;
  box-sizing: border-box;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}
.arpoz-theme-switch__knob {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 2px;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
  transition: left .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.arpoz-theme-switch__knob svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arpoz-theme-switch__moon { display: none; }
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__track { background: #000; border-color: #000; }
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__knob { left: 32px; background: #000; color: #fff; border-color: #fff; }
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__sun { display: none; }
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__moon { display: block; }
.arpoz-theme-toggle:focus-visible { outline: 2px solid #289dcc; outline-offset: 4px; }
.arpoz-mobile-theme-toggle { width: auto; min-height: 42px; justify-content: center; }
@media (max-width: 600px) {
  .arpoz-mobile-theme-toggle { display: inline-flex; width: auto; padding: 8px 0; }
}


/* Correctif ciblé — switch thème : espace disponible et fonds transparents. */
.arpoz-header__tools {
  background: transparent !important;
  box-shadow: none !important;
}
.arpoz-header__tools .arpoz-theme-toggle,
.arpoz-mobile-menu__tools .arpoz-theme-toggle {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  min-width: 0;
  flex-shrink: 0;
}
.arpoz-theme-toggle {
  gap: 10px;
  padding: 6px 4px;
}
.arpoz-theme-switch__track {
  flex-basis: 76px;
  width: 76px;
  height: 40px;
}
.arpoz-theme-switch__knob {
  left: 3px;
  width: 30px;
  height: 30px;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__knob {
  left: 39px;
}
.arpoz-theme-switch__knob svg {
  width: 21px;
  height: 21px;
}
.arpoz-theme-switch__label {
  display: inline-block;
  white-space: nowrap;
}
.arpoz-mobile-theme-toggle {
  align-self: flex-start;
  background: transparent !important;
}


/* Ajustement visuel validé sur demande : filets fins et contour blanc en mode sombre. */
.arpoz-theme-switch__track {
  border-width: 1px;
  border-color: #111;
}
.arpoz-theme-switch__knob {
  border-width: 1px;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__track {
  border-color: #fff;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__knob {
  left: 44px;
  border-color: #fff;
}


/* ARPOZ Selecta — switch Clair/Sombre raffiné (version validée en aperçu) */
.arpoz-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit;
  white-space: nowrap;
}

.arpoz-theme-switch__label {
  display: inline-block;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  color: #777;
  white-space: nowrap;
  transition: color 160ms ease;
}

.arpoz-theme-toggle[data-arpoz-theme-mode="light"] .arpoz-theme-switch__label--light {
  color: var(--arpoz-text, #222);
  font-weight: 600;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="light"] .arpoz-theme-switch__label--dark {
  color: #777;
  font-weight: 400;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__label--light {
  color: #bdbdbd;
  font-weight: 400;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__label--dark {
  color: var(--arpoz-text, #fff);
  font-weight: 600;
}

.arpoz-theme-switch__track {
  position: relative;
  display: inline-block;
  flex: 0 0 68px;
  width: 68px;
  height: 34px;
  box-sizing: border-box;
  border: 1px solid #a9a9a9;
  border-radius: 999px;
  background: #fff;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.arpoz-theme-switch__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
  border: 1px solid #a9a9a9;
  border-radius: 50%;
  background: #fff;
  color: #111;
  transition: left 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.arpoz-theme-switch__knob svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
.arpoz-theme-switch__moon { display: none; }

.arpoz-theme-toggle[data-arpoz-theme-mode="light"] .arpoz-theme-switch__track {
  background: #fff;
  border-color: #a9a9a9;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="light"] .arpoz-theme-switch__knob {
  left: 3px;
  background: #fff;
  color: #111;
  border-color: #a9a9a9;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__track {
  background: #050505;
  border-color: #fff;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__knob {
  left: 37px;
  background: #050505;
  color: #fff;
  border-color: #fff;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__sun { display: none; }
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__moon { display: block; }

.arpoz-theme-toggle:focus-visible {
  outline: 2px solid #289dcc;
  outline-offset: 3px;
}

.arpoz-mobile-theme-toggle {
  align-self: flex-start;
  width: auto;
  min-height: 42px;
  padding: 4px 0;
  background: transparent !important;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .arpoz-theme-toggle *,
  .arpoz-theme-toggle {
    transition: none !important;
  }
}

/* ARPOZ — accordéon récursif du menu mobile : le lien et le bouton +/- sont indépendants. */
@media (max-width: 600px) {
  .arpoz-mobile-nav__list li.arpoz-has-accordion { display: flex; flex-wrap: wrap; align-items: stretch; }
  .arpoz-mobile-nav__list li.arpoz-has-accordion > a { flex: 1 1 0; min-width: 0; }
  .arpoz-mobile-nav__list .arpoz-submenu-toggle { flex: 0 0 42px; align-self: stretch; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--arpoz-border, #ddd); background: transparent; color: inherit; font: inherit; font-size: 23px; line-height: 1; cursor: pointer; }
  .arpoz-mobile-nav__list .arpoz-submenu-toggle:hover,
  .arpoz-mobile-nav__list .arpoz-submenu-toggle:focus-visible { color: #289dcc; }
  .arpoz-mobile-nav__list .sub-menu { flex: 0 0 100%; width: 100%; box-sizing: border-box; padding: 0 0 8px 14px; }
  .arpoz-mobile-nav__list .sub-menu[hidden] { display: none !important; }
  .arpoz-mobile-nav__list .sub-menu:not([hidden]) { display: block !important; }
}


/* ARPOZ — correctif ciblé switch Clair/Sombre : largeur et icône unique */
.arpoz-header__tools {
  flex-shrink: 0;
  min-width: max-content;
}
.arpoz-theme-toggle {
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  max-width: none;
  gap: 9px;
  white-space: nowrap;
  overflow: visible;
}
.arpoz-theme-switch__label {
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  white-space: nowrap;
  overflow: visible;
}
.arpoz-theme-switch__label--light { margin-right: 0; }
.arpoz-theme-switch__label--dark { margin-left: 0; }
.arpoz-theme-switch__track {
  flex: 0 0 68px;
  width: 68px;
  min-width: 68px;
}
/* Un seul pictogramme doit être visible dans le curseur, dans les deux modes. */
.arpoz-theme-toggle .arpoz-theme-switch__sun,
.arpoz-theme-toggle .arpoz-theme-switch__moon {
  display: none !important;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="light"] .arpoz-theme-switch__sun {
  display: block !important;
}
.arpoz-theme-toggle[data-arpoz-theme-mode="dark"] .arpoz-theme-switch__moon {
  display: block !important;
}
@media (max-width: 600px) {
  .arpoz-mobile-menu__tools {
    align-items: flex-start;
  }
  .arpoz-mobile-theme-toggle {
    align-self: flex-start;
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
    max-width: none;
    margin-right: 0;
  }
}



/* ARPOZ Selecta V2.1 — footer en trois colonnes.
   Les trois rubriques et leurs liens sont gérés dans le menu WordPress « footer » :
   chaque rubrique est un élément parent, ses liens sont ses sous-éléments. */
.arpoz-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}
.arpoz-footer-nav {
  width: 100%;
  min-width: 0;
}
.arpoz-footer-nav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  width: 100%;
}
.arpoz-footer-nav__list > li {
  min-width: 0;
}
.arpoz-footer-nav__list > li > a {
  display: inline-block;
  margin: 0 0 8px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--arpoz-blue, #289dcc);
  color: var(--arpoz-text, #fff);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.arpoz-footer-nav__list .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: static;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.arpoz-footer-nav__list .sub-menu li {
  min-width: 0;
}
.arpoz-footer-nav__list .sub-menu a {
  display: inline-block;
  padding: 5px 0;
  color: var(--arpoz-text-muted, #b8b8b8);
  font-size: .9rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: normal;
}
.arpoz-footer-nav__list .sub-menu a:hover,
.arpoz-footer-nav__list .sub-menu a:focus-visible {
  color: var(--arpoz-blue, #289dcc);
}
.arpoz-footer__copyright {
  align-self: flex-start;
  padding-top: 14px;
  border-top: 1px solid var(--arpoz-border, #333);
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .arpoz-footer__inner {
    gap: 18px;
  }
  .arpoz-footer-nav__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .arpoz-footer-nav__list > li > a {
    margin-bottom: 5px;
    padding-bottom: 6px;
  }
  .arpoz-footer__copyright {
    padding-top: 12px;
  }
}

/* ARPOZ Selecta V2.1 — Footer : trois colonnes éditoriales cohérentes avec le shell. */
.arpoz-footer {
  border-top: 1px solid var(--arpoz-border, #333);
}
.arpoz-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  padding: 28px clamp(14px, 2.2vw, 32px) 14px;
}
.arpoz-footer-nav { width: 100%; min-width: 0; }
.arpoz-footer-nav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
  width: 100%;
}
.arpoz-footer-nav__group { min-width: 0; }
.arpoz-footer-nav__heading {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--arpoz-border, #333);
  color: var(--arpoz-blue, #289dcc);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.arpoz-footer-nav__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.arpoz-footer-nav__links li { margin: 0; padding: 0; }
.arpoz-footer-nav__links a,
.arpoz-footer-nav__unlinked {
  display: inline-block;
  padding: 4px 0;
  color: var(--arpoz-text-muted, #b8b8b8);
  font-size: .9rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color .15s ease;
}
.arpoz-footer-nav__links a:hover,
.arpoz-footer-nav__links a:focus-visible { color: var(--arpoz-blue, #289dcc); }
.arpoz-footer-nav__unlinked { color: var(--arpoz-text-muted, #b8b8b8); }
.arpoz-footer__copyright {
  width: 100%;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--arpoz-border, #333);
  color: var(--arpoz-text-muted, #b8b8b8);
  font-size: .8rem;
}
@media (max-width: 600px) {
  .arpoz-footer__inner { gap: 20px; padding: 22px 12px 12px; }
  .arpoz-footer-nav__list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .arpoz-footer-nav__heading { margin-bottom: 8px; }
}

/* ARPOZ Selecta V2.1 — footer aligné sur le traitement typographique Discovery de la HP. */
.arpoz-footer {
  background: #111;
  border-top: 1px solid var(--arpoz-border, #333);
}
.arpoz-footer__inner {
  display: block;
  padding-top: 16px;
  padding-bottom: 0;
}
.arpoz-footer-nav { width: 100%; }
.arpoz-footer-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}
.arpoz-footer-nav__group {
  min-width: 0;
  padding: 0 24px 18px;
}
.arpoz-footer-nav__group + .arpoz-footer-nav__group {
  border-left: 1px solid var(--arpoz-border, #444);
}
.arpoz-footer-nav__heading {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.arpoz-footer-nav__items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arpoz-footer-nav__items li { margin: 0; padding: 0; }
.arpoz-footer-nav__items a,
.arpoz-footer-nav__items span {
  display: inline-block;
  padding: 1px 0;
  color: var(--arpoz-text-muted, #b8b8b8);
  font-size: .88rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease;
}
.arpoz-footer-nav__items a:hover,
.arpoz-footer-nav__items a:focus-visible { color: var(--arpoz-blue, #289dcc); }
.arpoz-footer__copyright {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 24px;
  border-top: 1px solid var(--arpoz-border, #333);
  color: var(--arpoz-text-muted, #b8b8b8);
  font-size: .8rem;
}
@media (max-width: 600px) {
  .arpoz-footer-nav__grid { grid-template-columns: minmax(0, 1fr); }
  .arpoz-footer-nav__group { padding: 16px 12px; }
  .arpoz-footer-nav__group + .arpoz-footer-nav__group {
    border-left: 0;
    border-top: 1px solid var(--arpoz-border, #444);
  }
  .arpoz-footer-nav__heading { margin-bottom: 10px; }
  .arpoz-footer__copyright { padding: 12px; }
}


/* ARPOZ Selecta V2.1 — footer 4 colonnes, compatible avec les modes clair et sombre. */
.arpoz-footer {
  background: var(--arpoz-bg, #000);
  color: var(--arpoz-text, #fff);
  border-top: 1px solid var(--arpoz-border, #333);
}
.arpoz-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr) minmax(180px, 2fr);
  align-items: start;
  gap: 0;
  padding: 20px 24px 16px;
}
.arpoz-footer-nav { display: contents; }
.arpoz-footer-nav__grid {
  display: contents;
}
.arpoz-footer-nav__group {
  min-width: 0;
  padding: 0 22px 8px;
  border: 0 !important;
}
.arpoz-footer-nav__heading {
  margin: 0 0 14px;
  padding: 0;
  border: 0 !important;
  color: var(--arpoz-text, #fff);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.arpoz-footer-nav__items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arpoz-footer-nav__items li { margin: 0; padding: 0; }
.arpoz-footer-nav__items a,
.arpoz-footer-nav__items span {
  display: inline-block;
  padding: 1px 0;
  color: var(--arpoz-text-muted, #b8b8b8);
  font-size: .88rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease;
}
.arpoz-footer-nav__items a:hover,
.arpoz-footer-nav__items a:focus-visible,
.arpoz-footer-meta__links a:hover,
.arpoz-footer-meta__links a:focus-visible { color: var(--arpoz-blue, #289dcc); }
.arpoz-footer-meta {
  min-width: 0;
  padding: 0 12px 8px 24px;
  color: var(--arpoz-text-muted, #b8b8b8);
}
.arpoz-footer__copyright {
  width: auto;
  margin: 0 0 12px;
  padding: 0;
  border: 0 !important;
  color: var(--arpoz-text-muted, #b8b8b8);
  font-size: .8rem;
  line-height: 1.5;
}
.arpoz-footer-meta__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arpoz-footer-meta__links li { margin: 0; padding: 0; }
.arpoz-footer-meta__links a {
  color: var(--arpoz-text-muted, #b8b8b8);
  font-size: .82rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease;
}
@media (max-width: 760px) {
  .arpoz-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
    padding: 20px 12px 14px;
  }
  .arpoz-footer-nav__group { padding: 0 10px 6px; }
  .arpoz-footer-meta { padding: 0 10px 6px; }
}
@media (max-width: 420px) {
  .arpoz-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .arpoz-footer-nav__group { padding: 0 8px 4px; }
  .arpoz-footer-meta { padding: 0 8px 4px; text-align: center; }
  .arpoz-footer-meta__links { align-items: center; }
}


/* ARPOZ Selecta V2.1 — correction ciblée du footer : groupes centrés, contenus alignés à gauche, méta sur une seule ligne. */
.arpoz-footer {
  background: #000 !important;
  color: #f5f5f5;
  border-top: 0 !important;
  width: 100%;
}
.arpoz-footer .arpoz-footer__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1240px !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  padding: 34px 28px 20px !important;
  gap: 0 !important;
}
.arpoz-footer .arpoz-footer-nav {
  display: block !important;
  width: 100% !important;
}
.arpoz-footer .arpoz-footer-nav__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 220px)) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: clamp(28px, 6vw, 100px) !important;
  width: 100% !important;
  margin: 0 auto !important;
}
.arpoz-footer .arpoz-footer-nav__group {
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  text-align: left !important;
}
.arpoz-footer .arpoz-footer-nav__heading {
  margin: 0 0 14px !important;
  color: #fff !important;
  text-align: left !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
.arpoz-footer .arpoz-footer-nav__items {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: left !important;
}
.arpoz-footer .arpoz-footer-nav__items li { margin: 0 !important; padding: 0 !important; }
.arpoz-footer .arpoz-footer-nav__items a,
.arpoz-footer .arpoz-footer-meta__links a {
  color: #c7c7c7 !important;
  text-decoration: none !important;
  transition: color .18s ease;
}
.arpoz-footer .arpoz-footer-nav__items a { display: inline-block !important; padding: 0 !important; font-size: .9rem !important; line-height: 1.55 !important; }
.arpoz-footer .arpoz-footer-nav__items a:hover,
.arpoz-footer .arpoz-footer-nav__items a:focus-visible,
.arpoz-footer .arpoz-footer-meta__links a:hover,
.arpoz-footer .arpoz-footer-meta__links a:focus-visible { color: #289dcc !important; }
.arpoz-footer .arpoz-footer-meta {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px 28px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 28px 0 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #333 !important;
  text-align: center !important;
}
.arpoz-footer .arpoz-footer-meta__links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.arpoz-footer .arpoz-footer-meta__links li { margin: 0 !important; padding: 0 !important; }
.arpoz-footer .arpoz-footer-meta__links a { font-size: .82rem !important; line-height: 1.5 !important; }
.arpoz-footer .arpoz-footer__copyright {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #aaa !important;
  font-size: .8rem !important;
  line-height: 1.5 !important;
}
/* En mode sombre, le footer est volontairement plus clair que le fond de page. */
body.dark-mode .arpoz-footer,
body.arpoz-dark .arpoz-footer,
html[data-theme="dark"] .arpoz-footer,
html[data-arpoz-theme="dark"] .arpoz-footer,
html[data-theme-mode="dark"] .arpoz-footer,
body[data-theme="dark"] .arpoz-footer {
  background: #202124 !important;
  color: #f5f5f5 !important;
}
body.dark-mode .arpoz-footer .arpoz-footer-meta,
body.arpoz-dark .arpoz-footer .arpoz-footer-meta,
html[data-theme="dark"] .arpoz-footer .arpoz-footer-meta,
html[data-arpoz-theme="dark"] .arpoz-footer .arpoz-footer-meta,
html[data-theme-mode="dark"] .arpoz-footer .arpoz-footer-meta,
body[data-theme="dark"] .arpoz-footer .arpoz-footer-meta { border-top-color: #45494e !important; }
@media (max-width: 700px) {
  .arpoz-footer .arpoz-footer__inner { padding: 28px 20px 18px !important; }
  .arpoz-footer .arpoz-footer-nav__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px 30px !important;
    max-width: 480px !important;
  }
  .arpoz-footer .arpoz-footer-meta { margin-top: 24px !important; gap: 10px 18px !important; }
}
@media (max-width: 380px) {
  .arpoz-footer .arpoz-footer-nav__grid { gap: 22px 18px !important; }
  .arpoz-footer .arpoz-footer-meta__links { gap: 8px 16px !important; }
}

/* ARPOZ Selecta — séparateur du footer en bleu officiel */
.arpoz-footer .arpoz-footer__inner {
    border-top: none !important;
}

/* ARPOZ Selecta — séparateur bleu dans les deux modes */
.arpoz-footer .arpoz-footer-meta {
    border-top: 1px solid #289dcc !important;
    background: transparent !important;
}

/* Forçage du bleu en mode sombre */
body.dark-mode .arpoz-footer .arpoz-footer-meta,
body.arpoz-dark .arpoz-footer .arpoz-footer-meta,
html[data-theme="dark"] .arpoz-footer .arpoz-footer-meta,
html[data-arpoz-theme="dark"] .arpoz-footer .arpoz-footer-meta,
html[data-theme-mode="dark"] .arpoz-footer .arpoz-footer-meta,
body[data-theme="dark"] .arpoz-footer .arpoz-footer-meta {
    border-top: 1px solid #289dcc !important;
    background: transparent !important;
}

/* Neutraliser un éventuel séparateur ajouté par un pseudo-élément */
.arpoz-footer .arpoz-footer-meta::before {
    background: #289dcc !important;
}