/* ─────────────────────────────────────────────
   WEST COAST ODYSSEY v3 — MAIN STYLESHEET
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,400&family=DM+Sans:wght@300;400;500&family=Bebas+Neue&display=swap');

/* Leaflet est chargé via wp_enqueue_style dans functions.php */

/* ── VARIABLES ─────────────────────────────── */
:root {
  --wco-sand:     #E8D5B0;
  --wco-rust:     #C1440E;
  --wco-canyon:   #8B3A2A;
  --wco-sky:      #2C5F8A;
  --wco-dusk:     #1A2E42;
  --wco-cream:    #F5EDD9;
  --wco-charcoal: #1C1C1C;
  --wco-gold:     #D4A843;
  --wco-sage:     #7A8C6E;
  --wco-accent:   #C1440E;
  --wco-accent2:  #D4A843;
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--wco-charcoal);
  color: var(--wco-cream);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAVIGATION ────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--wco-dusk);
  border-bottom: 1px solid rgba(212,168,67,0.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.site-header__logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  color: var(--wco-gold);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Menu sections rapides */
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-header__nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.site-header__nav a {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wco-sand);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.site-header__nav a:hover,
.site-header__nav a:focus {
  color: var(--wco-gold);
  background: rgba(255,255,255,0.05);
}

.site-header__nav .current-menu-item a,
.site-header__nav .current_page_item a { color: var(--wco-gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--wco-cream); transition: all 0.25s; }

/* ── HERO — demi-hauteur ──────────────────── */
.hero {
  position: relative;
  min-height: 45vh;      /* ← moitié de l'ancien 90vh */
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}

/* Colonne gauche : texte */
.hero__left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem 3rem 3rem;
}

.hero__bg-left {
  position: absolute;
  inset: 0;
  background-color: var(--wco-dusk);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 8s ease;
}
.hero:hover .hero__bg-left { transform: scale(1.04); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,46,66,0.6) 0%, rgba(28,28,28,0.92) 100%);
  z-index: 1;
}

.hero__text { position: relative; z-index: 2; }

.hero__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wco-gold);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.9;
  color: var(--wco-cream);
  letter-spacing: 0.02em;
}

.hero__title--accent {
  display: block;
  color: var(--wco-accent);
}

.hero__subtitle {
  font-size: 0.9rem;
  color: var(--wco-sand);
  margin-top: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero__cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.65rem 1.75rem;
  border: 1.5px solid var(--wco-gold);
  color: var(--wco-gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
  align-self: flex-start;
}
.hero__cta:hover { background: var(--wco-gold); color: var(--wco-charcoal); }

/* Colonne droite : carte */
.hero__right {
  position: relative;
  z-index: 2;
  min-height: 45vh;
}

.hero__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Filtre coloré sur la carte pour l'intégrer au thème */
.hero__map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 401;
  border-left: 3px solid rgba(212,168,67,0.3);
}

/* Badge de localisation dans la carte */
.map-location-badge {
  background: var(--wco-dusk);
  color: var(--wco-cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(212,168,67,0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-location-badge::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wco-rust);
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* Leaflet customisation minimale */
.leaflet-container { background: var(--wco-dusk) !important; }
.leaflet-tile-pane { filter: sepia(20%) saturate(80%) brightness(85%); }
.leaflet-control-zoom a {
  background: var(--wco-dusk) !important;
  color: var(--wco-cream) !important;
  border-color: rgba(212,168,67,0.3) !important;
}
.leaflet-popup-content-wrapper {
  background: var(--wco-dusk);
  color: var(--wco-cream);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 2px;
  box-shadow: none;
}
.leaflet-popup-tip { background: var(--wco-dusk); }

/* ── SECTIONS COMMUNES ────────────────────── */
.wco-section { padding: 4.5rem 3rem; }
.wco-section--dark { background: var(--wco-charcoal); }
.wco-section--dusk { background: var(--wco-dusk); }

.wco-section__inner { max-width: 1400px; margin: 0 auto; }

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wco-gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--wco-cream);
  margin-bottom: 2.5rem;
  line-height: 1.1;
}

/* ── GRILLE ARTICLES ──────────────────────── */
.posts-grid { display: grid; gap: 1.5rem; align-items: stretch; }

.post-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;          /* prend toute la hauteur de la cellule grille */
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(193,68,14,0.4); }
.post-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--wco-rust), var(--wco-gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.post-card:hover::after { transform: scaleX(1); }

/* Image : hauteur fixe, ne s'étire pas */
.post-card__thumb {
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(139,58,42,0.3);
  position: relative;
  display: block;
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.post-card:hover .post-card__thumb img { transform: scale(1.06); }
.post-card__thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.post-card__thumb-placeholder svg { width: 36px; height: 36px; opacity: 0.15; }

/* Corps : prend tout l'espace restant, flex column
   → le lien "Lire la suite" est poussé en bas de chaque carte */
.post-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* L'extrait s'étire pour remplir l'espace disponible */
.post-card__excerpt {
  flex: 1;
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--wco-sand);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Le lien reste collé en bas */
.post-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wco-rust);
  font-weight: 500;
  transition: color 0.2s;
  align-self: flex-start;
}
.post-card:hover .post-card__link { color: var(--wco-gold); }
.post-card__meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.6rem; }
.post-card__category { font-size: 0.63rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--wco-gold); font-weight: 500; }
.post-card__date { font-size: 0.7rem; color: var(--wco-sage); font-weight: 300; }

/* Titre de l'article — couleur et affichage forcés pour résister
   aux thèmes parents, plugins et caches navigateur. */
.post-card__title,
.post-card__title a,
.post-card__title a:link,
.post-card__title a:visited,
.post-card__title a:hover,
.post-card__title a:active {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #F5EDD9 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-decoration: none !important;
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
  min-height: 1.35em;
}

.post-card:hover .post-card__title,
.post-card:hover .post-card__title a {
  color: #E8D5B0 !important;
}

/* ── GALERIE LIEUX ────────────────────────── */
.albums-section { background: var(--wco-charcoal); }

.albums-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.albums-filter__btn {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--wco-sand);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.albums-filter__btn:hover,
.albums-filter__btn.is-active {
  border-color: var(--wco-gold);
  color: var(--wco-gold);
  background: rgba(212,168,67,0.08);
}

/* Grille des albums */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Carte album */
.album-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: rgba(139,58,42,0.25);
}

.album-card__cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.album-card:hover .album-card__cover { transform: scale(1.08); }

.album-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.92) 0%, rgba(28,28,28,0.1) 60%);
  transition: opacity 0.3s;
}
.album-card:hover .album-card__overlay { opacity: 0.95; }

.album-card__info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  transform: translateY(0);
  transition: transform 0.3s;
}
.album-card:hover .album-card__info { transform: translateY(-6px); }

.album-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wco-cream);
  margin-bottom: 0.3rem;
}

.album-card__count {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wco-gold);
}

.album-card__desc {
  font-size: 0.78rem;
  color: var(--wco-sand);
  line-height: 1.5;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s 0.05s, transform 0.3s 0.05s;
}
.album-card:hover .album-card__desc { opacity: 1; transform: translateY(0); }

.album-card__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.album-card__placeholder svg { width: 48px; height: 48px; opacity: 0.1; }

/* ── LIGHTBOX ALBUM ─────────────────────────
   Ouvre les photos d'un lieu */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.96);
  flex-direction: column;
}
.lightbox.is-open { display: flex; }

.lightbox__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.lightbox__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--wco-cream);
}

.lightbox__close {
  background: none; border: 1px solid rgba(255,255,255,0.2);
  color: var(--wco-cream); width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox__close:hover { border-color: var(--wco-gold); color: var(--wco-gold); }

.lightbox__grid {
  flex: 1; overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
  padding: 1.5rem 2.5rem 2.5rem;
}

.lightbox__photo {
  aspect-ratio: 4/3; overflow: hidden; cursor: zoom-in;
  background: rgba(255,255,255,0.04);
}
.lightbox__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lightbox__photo:hover img { transform: scale(1.04); }

/* ── ITINÉRAIRE / TIMELINE ──────────────────*/
.itinerary-section { background: var(--wco-dusk); }

.timeline {
  position: relative;
  margin-top: 0.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--wco-rust), var(--wco-sky));
}

.stop {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.stop__dot-wrap {
  width: 2.75rem;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding-top: 1.3rem;
  z-index: 1;
}

.stop__dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--wco-rust);
  border: 2px solid var(--wco-dusk);
  box-shadow: 0 0 0 2px var(--wco-rust);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.stop:last-child .stop__dot {
  background: var(--wco-sky);
  box-shadow: 0 0 0 2px var(--wco-sky);
}

.stop:hover .stop__dot { transform: scale(1.5); }

.stop__content {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.1rem 1.4rem;
  transition: background 0.2s, border-color 0.2s;
}

.stop:hover .stop__content {
  background: rgba(193,68,14,0.07);
  border-color: rgba(193,68,14,0.25);
}

.stop__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.3rem;
}

.stop__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wco-cream);
}

.stop__nights {
  font-family: 'Bebas Neue', cursive;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--wco-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.stop__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.stop__tag {
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--wco-gold);
}

/* Responsive timeline */
@media (max-width: 768px) {
  .timeline::before { left: 1rem; }
  .stop__dot-wrap { width: 2rem; padding-top: 1.1rem; }
  .stop { gap: 1rem; }
  .stop__content { padding: 0.9rem 1rem; }
  .stop__name { font-size: 1rem; }
}

/* ── COMPTE À REBOURS ───────────────────── */
.countdown-strip {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--wco-dusk) 0%, var(--wco-canyon) 100%);
  border-top: 1px solid rgba(212,168,67,0.25);
  border-bottom: 1px solid rgba(212,168,67,0.25);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.countdown-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--wco-gold), transparent);
  opacity: 0.6;
}

.countdown-strip__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: left;
}

.countdown-strip__number {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  color: var(--wco-gold);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  min-width: 1.5ch;
  text-align: right;
}

.countdown-strip__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 300px;
}

.countdown-strip__label {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--wco-cream);
  line-height: 1.2;
}

.countdown-strip__sublabel {
  font-size: 0.78rem;
  color: var(--wco-sand);
  letter-spacing: 0.08em;
  font-weight: 300;
}

/* ── ARTICLE SINGLE — pleine largeur ────────*/

/* Les règles width:100% sont marquées !important pour résister
   aux thèmes parents ou plugins qui voudraient contraindre la largeur. */

/* Hero : image plein écran avec titre en surimpression */
.single-hero {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--wco-dusk);
}

.single-hero__img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.single-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.single-hero:hover .single-hero__img { transform: scale(1.03); }

.single-hero__placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--wco-dusk), var(--wco-canyon));
}

.single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,46,66,0.05) 0%,
    rgba(28,28,28,0.88) 100%
  );
}

/* Caption sur le bas de l'image */
.single-hero__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 0 1.25rem;
}

.single-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 3rem;
}

.single-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.single-hero__category { color: var(--wco-gold); font-weight: 500; }
.single-hero__sep      { color: rgba(255,255,255,0.3); }
.single-hero__date     { color: var(--wco-sage); }

.single-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--wco-cream);
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Zone corps de l'article — fond pleine largeur */
.single-body {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: var(--wco-charcoal);
  padding: 4rem 3rem 5rem;
  box-sizing: border-box;
}

/* Colonne de lecture centrée */
.single-body__inner {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

/* Contenu rédigé */
.single-body__content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--wco-sand);
  font-weight: 300;
}

.single-body__content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--wco-cream);
  margin: 2.75rem 0 1rem;
  line-height: 1.2;
}

.single-body__content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wco-cream);
  margin: 2rem 0 0.75rem;
}

.single-body__content p { margin-bottom: 1.4rem; }

/* Image dans l'article : sort légèrement de la colonne pour respirer */
.single-body__content img {
  width: calc(100% + 6rem);
  max-width: calc(100% + 6rem);
  margin: 2.5rem -3rem;
  display: block;
  object-fit: cover;
}

.single-body__content blockquote {
  border-left: 3px solid var(--wco-rust);
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin: 2.5rem 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--wco-cream);
  line-height: 1.6;
}

.single-body__content a {
  color: var(--wco-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.single-body__content a:hover { color: var(--wco-rust); }

.single-body__content ul,
.single-body__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
  color: var(--wco-sand);
}
.single-body__content li { margin-bottom: 0.4rem; }

/* Navigation précédent / suivant */
.single-body__nav {
  display: flex;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

.single-body__nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 200px;
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s, border-color 0.2s;
}

.single-body__nav-link:hover {
  background: rgba(193,68,14,0.08);
  border-color: rgba(193,68,14,0.3);
}

.single-body__nav-link--next { text-align: right; margin-left: auto; }

.single-body__nav-dir {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wco-gold);
  font-weight: 500;
}

.single-body__nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--wco-cream);
  font-weight: 700;
  line-height: 1.3;
}

/* Retour au blog */
.single-body__back {
  margin-top: 2.5rem;
  text-align: center;
}

.single-body__back-link {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wco-sage);
  transition: color 0.2s;
}
.single-body__back-link:hover { color: var(--wco-gold); }

/* Filet de sécurité contre plugins/thèmes parents : 
   force le main et les wrappers fréquents à occuper toute la largeur */
body.single main,
body.single .site-content,
body.single .content-area,
body.single #content,
body.single #primary,
body.single #main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* ── ARCHIVES ───────────────────────────────*/
.archive-header { padding: 4rem 3rem 2rem; max-width: 1400px; margin: 0 auto; }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: 1400px; margin: 0 auto; padding: 3rem; }

/* ── FOOTER ─────────────────────────────────*/
.site-footer { background: #111; border-top: 1px solid rgba(212,168,67,0.15); padding: 3rem; }
.site-footer__inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.site-footer__logo { font-family: 'Bebas Neue', cursive; font-size: 2rem; color: var(--wco-gold); letter-spacing: 0.1em; }
.site-footer__tagline { font-size: 0.8rem; color: var(--wco-sage); letter-spacing: 0.08em; margin-top: 0.25rem; }
.site-footer__info { text-align: right; font-size: 0.8rem; color: var(--wco-sand); line-height: 1.8; }

/* ── RESPONSIVE ─────────────────────────────*/
@media (max-width: 1024px) {
  .albums-grid { grid-template-columns: repeat(2,1fr); }
  .archive-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .site-header__inner { padding: 0.75rem 1.5rem; }
  .site-header__nav { display: none; }
  .site-header__nav.is-open {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--wco-dusk);
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(212,168,67,0.15);
    z-index: 500;
  }
  .site-header__nav.is-open ul { flex-direction: column; }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { padding: 2.5rem 1.5rem; min-height: 40vh; }
  .hero__right { min-height: 260px; }

  .wco-section { padding: 3rem 1.5rem; }
  .posts-grid { grid-template-columns: 1fr !important; }
  /* Albums mobile : 1 seule colonne, pleine largeur, plus de place pour le texte */
  .albums-grid { grid-template-columns: 1fr !important; gap: 1rem; }
  .album-card { aspect-ratio: 16/10; }
  .album-card__info { padding: 1rem; }
  .album-card__name { font-size: 1.2rem; margin-bottom: 0.35rem; }
  .album-card__count { font-size: 0.72rem; }
  .album-card__desc { font-size: 0.82rem; }
  .archive-grid { grid-template-columns: 1fr; padding: 1.5rem; }
  .archive-header { padding: 2rem 1.5rem 1rem; }
  .site-footer__inner { flex-direction: column; text-align: center; }
  .site-footer__info { text-align: center; }
  .single-body { padding: 2.5rem 1.25rem 3rem; }
  .single-hero__img-wrap,
  .single-hero__placeholder { height: 180px; }
  .single-hero__inner { padding: 0 1.25rem; }
  .single-hero__title { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .single-body__content img { width: 100%; max-width: 100%; margin: 2rem 0; }
  .single-body__nav { flex-direction: column; }
  .single-body__nav-link--next { text-align: left; margin-left: 0; }

  .countdown-strip { padding: 2rem 1.5rem; }
  .countdown-strip__inner { gap: 1rem; }
  .countdown-strip__number { min-width: auto; text-align: center; }
  .countdown-strip__text { text-align: left; }
  .lightbox__grid { grid-template-columns: 1fr 1fr; padding: 1rem 1rem 2rem; }
  .lightbox__header { padding: 1rem 1rem 0.75rem; }
}

