/* ===================================================
   LAUTRECHILI — MAIN CSS
   Polices : Roboto (titres) + Outfit (corps)
   Palette : Navy #1C2D4F / Crème #F4EFE6 / Or #C8A84B
   =================================================== */

:root {
  --cream: #F4EFE6;
  --navy: #1C2D4F;
  --navy-deep: #101D33;
  --gold: #C8A84B;
  --gold-pale: #EDCE80;
  --warm-white: #FDFAF4;
  --text-1: #17130E;
  --text-2: #3A3020;
  --text-3: #867A68;
  --border: #DDD4C2;
  --serif: 'Roboto', system-ui, sans-serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--cream); color: var(--text-2); font-size: 15px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* HEADER */
.site-header {
  background: var(--navy);
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height, 70px);
  border-bottom: 1px solid rgba(200,168,75,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-family: var(--serif); font-size: 17px; letter-spacing: 0.15em; font-weight: 600; color: white; text-transform: uppercase; }
.logo-text .accent { color: var(--gold); }

/* Nav desktop — wp_nav_menu génère : ul.main-nav > li.menu-item > a + ul.sub-menu */
.main-nav { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  padding: 0 16px; height: var(--header-height, 70px);
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav > li > a:hover,
.main-nav > li:hover > a { color: var(--gold); }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a { color: var(--gold); }

/* Caret automatique sur les parents */
.main-nav > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  transition: transform 0.2s;
}
.main-nav > li.menu-item-has-children:hover > a::after { transform: rotate(180deg); opacity: 1; }

/* Dropdown niveau 1 */
.main-nav .sub-menu {
  visibility: hidden; opacity: 0; pointer-events: none;
  position: absolute; top: 100%; left: 0;
  min-width: 200px;
  background: var(--navy-deep);
  border-top: 2px solid var(--gold);
  list-style: none; margin: 0; padding: 8px 0;
  z-index: 200;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.main-nav li:hover > .sub-menu {
  visibility: visible; opacity: 1; pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s, transform 0.2s, visibility 0s;
}
.main-nav .sub-menu li { position: relative; }
.main-nav .sub-menu a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px; font-weight: 400;
  padding: 10px 20px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.main-nav .sub-menu a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

/* Dropdown niveau 2 */
.main-nav .sub-menu .sub-menu { top: 0; left: 100%; }
.main-nav .sub-menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid currentColor;
  opacity: 0.6;
  float: right;
  margin-top: 4px;
}

/* Recherche + Hamburger */
.nav-search {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.65);
  background: transparent; flex-shrink: 0; margin-left: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.nav-search:hover { border-color: var(--gold); color: var(--gold); }
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: 8px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: white; transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 64px 80px;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  /* Pas de background ici — géré dynamiquement par customizer */
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,29,51,0.92) 0%, rgba(16,29,51,0.4) 55%, rgba(16,29,51,0.1) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-pale);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,168,75,0.5);
}
.hero-title {
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 900;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 15.5px;
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 0;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
  z-index: -1;
}
.btn-gold:hover { color: var(--gold); }
.btn-gold:hover::before { transform: translateX(0); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.55);
  color: white;
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  z-index: 0;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  transform: translateX(-101%);
  transition: transform 0.3s ease;
  z-index: -1;
}
.btn-ghost:hover { color: var(--navy-deep); border-color: white; }
.btn-ghost:hover::before { transform: translateX(0); }

/* SECTION UTILITIES */
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.see-all {
  font-size: 12.5px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  font-weight: 500;
  white-space: nowrap;
}

/* PILLARS */
.section-pillars { background: var(--warm-white); padding: 80px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar { border-top: 2px solid var(--gold); padding-top: 28px; }
.pillar-icon-wrap { width: 52px; height: 52px; margin-bottom: 18px; }
.pillar h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.pillar p { font-size: 14px; color: var(--text-3); line-height: 1.75; }

/* SECTION DERNIERS ARTICLES */
.section-latest { padding: 80px; background: var(--cream); }
.articles-main-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 20px; }

.card-featured {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 500px;
}
.card-featured .card-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #B06838;
}
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,29,51,0.92) 0%, rgba(16,29,51,0.15) 60%, transparent 100%);
}
.card-body { position: relative; z-index: 2; padding: 32px 28px; }
.cat-pill {
  display: inline-block; padding: 4px 12px;
  font-size: 10.5px; letter-spacing: 0.14em; font-weight: 600; text-transform: uppercase;
  background: var(--gold); color: var(--navy-deep); margin-bottom: 12px;
  text-decoration: none;
}
.cat-pill:hover { opacity: 0.85; }
.card-title-lg { font-family: var(--serif); font-size: 30px; font-weight: 600; color: white; line-height: 1.15; margin-bottom: 10px; text-decoration: none; display: block; }
.card-title-lg:hover { color: var(--gold-pale); }
.card-meta { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
.card-meta span { margin-right: 12px; }

.articles-stack { display: flex; flex-direction: column; gap: 14px; }
.card-sm {
  display: flex; gap: 14px;
  background: white; border: 1px solid var(--border);
  padding: 14px; align-items: flex-start;
  text-decoration: none;
  transition: border-color 0.2s;
}
.card-sm:hover { border-color: var(--gold); }
.card-sm-img {
  width: 82px; min-width: 82px; height: 82px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.card-sm-body { flex: 1; min-width: 0; }
.card-sm .cat-pill { font-size: 9.5px; padding: 2px 8px; margin-bottom: 6px; }
.card-sm-title { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 6px; }
.card-sm-meta { font-size: 11.5px; color: var(--text-3); }

/* SECTION ÉDITORIALE */
.section-editorial { background: var(--navy); padding: 80px; position: relative; }
.section-editorial .section-title { color: white; }
.editorial-header { margin-bottom: 40px; }

/* Titre sélection éditoriale — forcer une ligne */
.editorial-title {
  white-space: nowrap;
  font-size: 38px !important;
  margin-bottom: 32px !important;
}
.editorial-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(200,168,75,0.35);
  background: rgba(200,168,75,0.08);
  padding: 5px 14px;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-pale); font-weight: 500;
  margin-bottom: 14px;
}
.editorial-desc { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 6px; }
.editorial-link { color: var(--gold); font-size: 12.5px; text-decoration: none; letter-spacing: 0.08em; border-bottom: 1px solid rgba(200,168,75,0.5); padding-bottom: 2px; white-space: nowrap; }

.editorial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card-ed {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s;
}
.card-ed:hover { border-color: rgba(200,168,75,0.4); }
.card-ed-img {
  height: 165px; width: 100%;
  position: relative; overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-deep);
}
.rank-num {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  width: 26px; height: 26px;
  background: var(--gold); color: var(--navy-deep);
  font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.card-ed-body { padding: 16px 14px; }
.card-ed-cat { font-size: 10px; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; text-transform: uppercase; margin-bottom: 7px; }
.card-ed-title { font-family: var(--serif); font-size: 16.5px; font-weight: 600; color: white; line-height: 1.3; margin-bottom: 10px; }
.card-ed-meta { font-size: 11px; color: rgba(255,255,255,0.35); }

/* SECTION CATÉGORIES */
.section-categories { padding: 80px; background: var(--warm-white); position: relative; }
.category-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.cat-tab {
  padding: 13px 26px;
  font-size: 13.5px; font-weight: 500; color: var(--text-3);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1.5px;
  letter-spacing: 0.04em; text-decoration: none;
  background: none; border-top: none; border-left: none; border-right: none;
  transition: color 0.2s;
}
.cat-tab.active,
.cat-tab[data-active="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.cat-tab:hover:not(.active) { color: var(--text-2); }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-panel { display: none; }
.cat-panel.active { display: block; }

.card-cat { background: white; border: 1px solid var(--border); overflow: hidden; display: block; text-decoration: none; transition: border-color 0.2s; }
.card-cat:hover { border-color: var(--gold); }
.card-cat-img {
  height: 195px; width: 100%;
  background-size: cover; background-position: center;
  background-color: var(--navy);
}
.card-cat-body { padding: 20px; }
.card-cat-cat { font-size: 10.5px; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.card-cat-title { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.25; margin-bottom: 10px; }
.card-cat-exc { font-size: 13.5px; color: var(--text-3); line-height: 1.65; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-cat-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 12px; }
.card-cat-meta { font-size: 11.5px; color: var(--text-3); }
.read-more { font-size: 12px; color: var(--gold); text-decoration: none; letter-spacing: 0.08em; font-weight: 600; }

/* SECTION VOYAGE */
.section-voyage { background: var(--cream); padding: 80px; }
.voyage-intro { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.voyage-intro p { font-size: 15px; color: var(--text-3); margin-top: 12px; line-height: 1.75; }
.voyage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.voyage-col { border-top: 1.5px solid var(--gold); padding-top: 26px; }
.voyage-col h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.voyage-col p { font-size: 14px; color: var(--text-3); line-height: 1.75; }

/* BLOC SPONSOR */
.section-sponsor { background: var(--navy-deep); padding: 56px 80px; }
.sponsor-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid rgba(200,168,75,0.2);
  padding: 36px 48px;
}
.sponsor-badge {
  font-size: 10px; letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.sponsor-logo { max-width: 140px; max-height: 60px; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.8; }
.sponsor-content { flex: 1; }
.sponsor-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: white; margin-bottom: 8px; }
.sponsor-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }
.sponsor-cta { flex-shrink: 0; }

/* FOOTER */
.site-footer {
  background: var(--navy-deep);
  padding: 64px 80px 36px;
  border-top: 1px solid rgba(200,168,75,0.18);
}
.footer-top { text-align: center; margin-bottom: 44px; }
.footer-tagline { font-family: var(--serif); font-size: 19px; color: rgba(255,255,255,0.45); margin-top: 14px; font-weight: 300; letter-spacing: 0.04em; }
.footer-nav-links {
  display: flex; justify-content: center; gap: 36px; margin-bottom: 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0; flex-wrap: wrap;
}
.footer-nav-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 13px; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-nav-links a:hover { color: var(--gold); }
.footer-copy { text-align: center; font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }

/* ============================================================
   PAGES STATIQUES (Contact, Mentions légales, etc.)
   ============================================================ */
.page-content-section {
  background: var(--cream);
  padding: 72px 80px 96px;
  min-height: 50vh;
}
.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 56px 64px;
  border: 1px solid var(--border);
}

/* ============================================================
   CONTACT FORM 7
   ============================================================ */
.wpcf7 { width: 100%; }
.wpcf7 label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-2);
  background: var(--cream);
  border: 1.5px solid var(--border);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--gold);
  background: white;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
.wpcf7 p { margin-bottom: 20px; }
.wpcf7 p:last-child { margin-bottom: 0; }
.wpcf7 input[type="submit"] {
  background: var(--navy);
  color: white;
  border: 2px solid var(--navy);
  padding: 14px 40px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  width: auto;
}
.wpcf7 input[type="submit"]:hover:not([disabled]) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.wpcf7 input[type="submit"][disabled] { opacity: 0.5; cursor: not-allowed; }
.wpcf7-spinner { margin-left: 10px; vertical-align: middle; }
.wpcf7 .wpcf7-acceptance { display: block; }
.wpcf7 .wpcf7-list-item { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.wpcf7 .wpcf7-list-item label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 400; text-transform: none;
  letter-spacing: 0; color: var(--text-3); cursor: pointer;
}
.wpcf7 .wpcf7-list-item input[type="checkbox"] {
  width: 18px; min-width: 18px; height: 18px;
  margin-top: 1px; accent-color: var(--gold); cursor: pointer;
}
.wpcf7 .wpcf7-list-item a {
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid rgba(200,168,75,0.35);
}
.wpcf7 .wpcf7-list-item a:hover { border-bottom-color: var(--gold); }
.wpcf7 .wpcf7-not-valid-tip { font-size: 12px; color: #c0392b; margin-top: 4px; display: block; }
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid { border-color: #c0392b; background: #fff5f5; }
.wpcf7 .wpcf7-response-output {
  margin-top: 20px; padding: 14px 18px;
  font-size: 14px; font-weight: 500;
  border-left: 3px solid var(--gold);
  background: rgba(200,168,75,0.06);
  color: var(--navy); display: none;
}
.wpcf7 .wpcf7-response-output:not(:empty) { display: block; }
.wpcf7.sent .wpcf7-response-output { border-left-color: #27ae60; background: rgba(39,174,96,0.06); color: #1a7a42; }
.wpcf7.failed .wpcf7-response-output,
.wpcf7.invalid .wpcf7-response-output { border-left-color: #c0392b; background: rgba(192,57,43,0.06); color: #922b21; }

/* ============================================================
   PAGE 404
   ============================================================ */
.error-404 {
  background: var(--cream);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.error-404-inner { max-width: 560px; }
.error-404-number {
  font-family: var(--serif);
  font-size: 140px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  opacity: 0.08;
  margin: -20px 0 -40px;
  letter-spacing: -0.04em;
}
.error-404-title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.error-404-desc {
  font-size: 16px;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 40px;
}
.error-404-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.error-404-search .search-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  border: 1.5px solid var(--border);
  background: white;
}
.error-404-search .search-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-2);
  background: transparent;
}
.error-404-search .search-field::placeholder { color: var(--text-3); }
.error-404-search .search-submit {
  background: var(--navy);
  border: none;
  color: white;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.error-404-search .search-submit:hover { background: var(--gold); color: var(--navy-deep); }

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */
.single-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 64px 80px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,29,51,0.95) 0%, rgba(16,29,51,0.4) 55%, rgba(16,29,51,0.1) 100%);
}
.single-hero-content { position: relative; z-index: 2; max-width: 800px; }
.single-hero-title {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 900;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
}
.single-hero-meta {
  display: flex; gap: 20px;
  font-size: 13px; color: rgba(255,255,255,0.55); flex-wrap: wrap;
}
.single-layout {
  display: grid;
  grid-template-columns: 1fr 30%;
  gap: 0; align-items: start;
  background: var(--cream);
}
.single-sidebar {
  background: var(--warm-white);
  border-left: 1px solid var(--border);
  min-height: 100%;
}
.single-sidebar-inner {
  position: sticky; top: 90px; padding: 40px 28px;
}
.sidebar-title {
  font-family: var(--serif);
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.sidebar-articles { display: flex; flex-direction: column; gap: 0; }
.sidebar-article {
  display: flex; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; align-items: center; transition: opacity 0.2s;
}
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article:hover { opacity: 0.75; }
.sidebar-article-img {
  width: 64px; min-width: 64px; height: 64px;
  background-size: cover; background-position: center;
  background-color: var(--navy); flex-shrink: 0;
}
.sidebar-article-body { flex: 1; min-width: 0; }
.sidebar-article-title {
  font-family: var(--serif);
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  line-height: 1.3; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-article-date { font-size: 11px; color: var(--text-3); margin: 0; }
.sidebar-see-all {
  display: block; margin-top: 16px;
  font-size: 12px; color: var(--gold); text-decoration: none;
  letter-spacing: 0.08em; font-weight: 500;
  border-bottom: 1px solid rgba(200,168,75,0.35);
  padding-bottom: 2px; width: fit-content;
}
.single-content {
  padding: 56px 72px 80px;
  background: var(--cream); min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.single-content-inner { width: 100%; max-width: 720px; }
.single-content-inner.entry-content { font-size: 16px; line-height: 1.8; color: var(--text-1); }
.single-content-inner.entry-content h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy); margin: 40px 0 16px; }
.single-content-inner.entry-content h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin: 32px 0 12px; }
.single-content-inner.entry-content p { margin-bottom: 20px; }
.single-content-inner.entry-content a { color: var(--gold); border-bottom: 1px solid rgba(200,168,75,0.4); text-decoration: none; }
.single-content-inner.entry-content img { width: 100%; height: auto; margin: 32px 0; }
.single-content-inner.entry-content blockquote { border-left: 3px solid var(--gold); padding: 16px 24px; margin: 32px 0; background: var(--warm-white); font-family: var(--serif); font-size: 20px; color: var(--navy); }

/* Vidéos YouTube centrées et responsive */
.single-content-inner .wp-block-embed,
.single-content-inner .wp-block-embed__wrapper,
.entry-content .wp-block-embed,
.entry-content .wp-block-embed__wrapper {
  width: 100%; max-width: 720px; margin: 32px auto;
}
.single-content-inner .wp-block-embed__wrapper iframe,
.entry-content .wp-block-embed__wrapper iframe {
  width: 100% !important; aspect-ratio: 16 / 9;
  height: auto !important; display: block;
}
.single-content-inner iframe,
.entry-content iframe {
  width: 100% !important; max-width: 100%;
  aspect-ratio: 16 / 9; height: auto !important;
  display: block; margin: 32px auto;
}

.single-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--border);
  width: 100%; max-width: 720px;
}
.single-nav-link {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; padding: 16px 20px;
  border: 1px solid var(--border); background: white;
  transition: border-color 0.2s;
}
.single-nav-link:hover { border-color: var(--gold); }
.single-nav-next { text-align: right; }
.single-nav-label {
  font-size: 11px; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.single-nav-title {
  font-family: var(--serif); font-size: 15px; font-weight: 600;
  color: var(--navy); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Reset wrappers GB ───────────────────────────────────────────────────── */
.gb-element { box-sizing: border-box; }
#main-content > .gb-element { margin-left: 0 !important; margin-right: 0 !important; }

/* ── Forcer pleine largeur sur les sections GB de homepage ──────────────── */
.gb-section-pillars,
.gb-section-latest,
.gb-section-manual,
.gb-section-category,
.gb-section-voyage {
    width: 100%;
    max-width: 100%;
}

/* ── Corriger la grille GB (GB ajoute flex par défaut sur element) ───────── */
.gb-grid-3,
.gb-grid-4,
.gb-grid-latest,
.gb-grid-cat {
    display: grid !important;
}

/* ── Classes globales GenerateBlocks ─────────────────────────────────────── */
.gb-section-pillars  { background: var(--warm-white); padding: 80px; }
.gb-section-latest   { background: var(--cream); padding: 80px; }
.gb-section-manual   { background: var(--navy); padding: 80px; }
.gb-section-category { background: var(--warm-white); padding: 80px; }
.gb-section-voyage   { background: var(--cream); padding: 80px; }

.gb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
/* Grille principale */
.gb-grid-latest {
  display: grid !important;
  grid-template-columns: 1.9fr 1fr;
  gap: 0 !important;
  column-gap: 0 !important;
  align-items: stretch;
}
.gb-grid-latest > * {
  margin: 0 !important;
  padding: 0 !important;
}
.gb-grid-latest > .wp-block-query {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}
/* Espace entre card featured et colonne droite */
.gb-grid-latest > .wp-block-query:first-child {
  margin-right: 20px !important;
}
.gb-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gb-grid-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.gb-pillar { border-top: 2px solid var(--gold); padding-top: 28px; text-align: center; }

/* Icônes piliers — centrées */
.gb-element-e5f2y9k1 .gb-shape,
.gb-element-j6w4b8p3 .gb-shape,
.gb-element-n7i6u4s2 .gb-shape {
  margin-left: auto;
  margin-right: auto;
}

.gb-card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  overflow: hidden;
  transition: border-color 0.2s;
}
.gb-card-dark:hover { border-color: rgba(200,168,75,0.4); }

.gb-card-light {
  background: white;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.gb-card-light:hover { border-color: var(--gold); }

.gb-card-featured {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  cursor: pointer;
}
/* Lien du titre étend la zone cliquable à toute la card */
.gb-card-featured .wp-block-post-title a {
  color: white !important;
  text-decoration: none;
}
.gb-card-featured .wp-block-post-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}
.gb-card-featured:hover .single-hero-overlay,
.gb-card-featured:hover .gb-element-lt5sfov1 {
  background: linear-gradient(to top, rgba(16,29,51,0.95) 0%, rgba(16,29,51,0.3) 60%, transparent 100%);
}

/* Colonne droite — wrapper */
.gb-articles-stack,
ul.gb-articles-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  height: 100%;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Chaque <li> — hauteur strictement égale */
ul.gb-articles-stack > li {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-bottom: none;
  margin: 0;
  padding: 0;
}
/* Card */
.gb-card-sm {
  display: flex !important;
  gap: 12px;
  background: white;
  padding: 10px 14px;
  align-items: center;
  text-decoration: none;
  height: 100%;
  overflow: hidden;
  transition: background 0.2s;
}
.gb-card-sm:hover { background: var(--warm-white); }
/* Image — taille fixe */
.gb-card-sm .gb-card-sm-img,
.gb-card-sm figure {
  width: 72px !important;
  min-width: 72px !important;
  height: 72px !important;
  flex-shrink: 0;
  overflow: hidden;
  margin: 0;
}
.gb-card-sm .gb-card-sm-img img,
.gb-card-sm figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
/* Corps texte */
.gb-card-sm .gb-card-sm-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
/* Titre — 2 lignes max */
.gb-card-sm .gb-card-sm-body .wp-block-post-title,
.gb-card-sm-title {
  font-family: var(--serif) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  line-height: 1.3 !important;
  margin: 3px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.gb-card-sm .gb-card-sm-body .wp-block-post-title a {
  color: var(--navy) !important;
  text-decoration: none;
}
/* Date */
.gb-card-sm .gb-card-sm-body .wp-block-post-date,
.gb-card-sm-meta {
  font-size: 11px !important;
  color: var(--text-3) !important;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gb-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.gb-editorial-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(200,168,75,0.35);
  background: rgba(200,168,75,0.08);
  padding: 5px 14px;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-pale); font-weight: 500;
  margin-bottom: 14px;
}

.gb-rank {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  width: 26px; height: 26px;
  background: var(--gold); color: var(--navy-deep);
  font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

.gb-cat-label {
  font-size: 10.5px; letter-spacing: 0.14em; color: var(--gold);
  font-weight: 600; text-transform: uppercase; margin-bottom: 8px;
}

.gb-cat-pill {
  display: inline-block; padding: 4px 12px;
  font-size: 10.5px; letter-spacing: 0.14em; font-weight: 600;
  text-transform: uppercase; background: var(--gold); color: var(--navy-deep);
  margin-bottom: 12px; text-decoration: none;
}

.gb-see-all {
  font-size: 12.5px; color: var(--gold); text-decoration: none;
  letter-spacing: 0.08em; border-bottom: 1px solid var(--gold);
  padding-bottom: 2px; font-weight: 500;
}

/* ============================================================
   PAGE CONTINENT
   ============================================================ */
.continent-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: flex-end;
  padding: 64px 80px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.continent-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,29,51,0.9) 0%, rgba(16,29,51,0.3) 60%, rgba(16,29,51,0.1) 100%);
}
.continent-hero-content { position: relative; z-index: 2; }
.continent-hero-title {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 900;
  color: white;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}
.continent-desc-section {
  background: var(--warm-white);
  padding: 56px 80px;
  border-bottom: 1px solid var(--border);
}
.continent-desc-inner {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  text-align: center;
}
.continent-desc-inner p { margin-bottom: 16px; }
.continent-desc-inner p:last-child { margin-bottom: 0; }
.continent-countries { background: var(--navy-deep); padding: 0; }
.continent-countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--navy-deep);
}
.country-card { display: block; text-decoration: none; overflow: hidden; }
.country-card-img {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  transition: transform 0.4s ease;
  overflow: hidden;
}
.country-card:hover .country-card-img { transform: scale(1.04); }
.country-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  transition: background 0.3s;
}
.country-card:hover .country-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
}
.country-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
}
.country-card-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: 0.01em;
}

@media (max-width: 1280px) {
  .editorial-title { font-size: 30px !important; }
  .gb-card-sm .gb-card-sm-img,
  .gb-card-sm figure {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
  }
  .gb-card-sm .gb-card-sm-body .wp-block-post-title,
  .gb-card-sm-title {
    font-size: 13px !important;
    -webkit-line-clamp: 2 !important;
  }
  .gb-card-sm {
    padding: 8px 10px !important;
    gap: 8px !important;
  }
}

@media (max-width: 1024px) {
  .gb-section-pillars, .gb-section-latest, .gb-section-manual,
  .gb-section-category, .gb-section-voyage { padding: 48px 40px; }
  .continent-hero { padding: 48px 40px; }
  .page-content-section { padding: 48px 40px 72px; }
  .page-content-inner { padding: 40px 40px; }
  .continent-hero-title { font-size: 52px; }
  .continent-desc-section { padding: 40px 40px; }
  .continent-countries-grid { grid-template-columns: repeat(2, 1fr); }
  .country-card-img { height: 240px; }
  .gb-grid-latest {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .gb-card-featured { height: 420px; }
  ul.gb-articles-stack {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr);
    height: auto !important;
    border-left: none;
    border-top: 1px solid var(--border);
    gap: 0 !important;
    align-items: stretch !important;
  }
  ul.gb-articles-stack > li {
    flex: none;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    overflow: hidden;
    padding: 0;
  }
  ul.gb-articles-stack > li:nth-child(2n) { border-right: none; }
  ul.gb-articles-stack > li:nth-last-child(-n+2) { border-bottom: none; }
  .gb-card-sm {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px !important;
    height: 100%;
    gap: 8px !important;
  }
  .gb-card-sm .gb-card-sm-img,
  .gb-card-sm figure {
    width: 100% !important;
    min-width: unset !important;
    height: 100px !important;
  }
  .gb-card-sm .gb-card-sm-body .wp-block-post-title,
  .gb-card-sm-title {
    -webkit-line-clamp: 3 !important;
    font-size: 13px !important;
  }
  .gb-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gb-grid-cat { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .gb-section-pillars, .gb-section-latest, .gb-section-manual,
  .gb-section-category, .gb-section-voyage { padding: 40px 20px; }
  .continent-hero { padding: 40px 20px; height: 360px; }
  .page-content-section { padding: 32px 20px 56px; }
  .page-content-inner { padding: 28px 24px; border: none; }
  .continent-hero-title { font-size: 38px; }
  .continent-desc-section { padding: 32px 20px; }
  .continent-countries-grid { grid-template-columns: 1fr; }
  .country-card-img { height: 200px; }
  .gb-grid-3, .gb-grid-4, .gb-grid-cat,
  .gb-grid-latest { grid-template-columns: 1fr !important; }
  .gb-card-featured { height: 340px; }
  ul.gb-articles-stack {
    height: auto;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  ul.gb-articles-stack > li {
    flex: none;
    height: auto;
    min-height: 80px;
  }
  .gb-section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   ARCHIVE / PAGE BLOG
   ============================================================ */
.archive-header {
    background: var(--navy);
    padding: 64px 80px;
    border-bottom: 1px solid rgba(200,168,75,0.2);
}
.archive-header-inner { max-width: 800px; }
.archive-title {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 900;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.archive-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    margin-top: 12px;
    max-width: 560px;
    line-height: 1.7;
}
.archive-count {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 16px;
}
.archive-section {
    background: var(--cream);
    padding: 64px 80px;
}
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}
.archive-empty {
    text-align: center;
    color: var(--text-3);
    font-size: 15px;
    padding: 64px 0;
}
.archive-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    border: 1px solid var(--border);
    background: white;
    transition: all 0.2s;
}
.archive-pagination .page-numbers:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.archive-pagination .page-numbers.current {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}
.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next {
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 0 18px;
}
.archive-pagination .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
}

/* ── SEARCH OVERLAY ─────────────────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--navy-deep);
  padding: 40px 80px;
  z-index: 500;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 2px solid var(--gold);
}
.search-overlay.open {
  transform: translateY(0);
}
.search-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 499;
}
.search-backdrop.open { display: block; }

/* Fermeture */
.search-overlay-close {
  position: absolute;
  top: 20px; right: 32px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  padding: 6px;
}
.search-overlay-close:hover { color: var(--gold); }

/* Formulaire généré par get_search_form() */
.search-overlay .search-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  border-bottom: 1.5px solid rgba(255,255,255,0.2);
  padding-bottom: 12px;
}
.search-overlay .search-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: white;
  padding: 0;
  letter-spacing: -0.01em;
}
.search-overlay .search-field::placeholder { color: rgba(255,255,255,0.2); }
.search-overlay .search-submit {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 0 8px 20px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.search-overlay .search-submit:hover { opacity: 0.7; }

/* Hint */
.search-overlay::after {
  content: 'Appuyez sur Échap pour fermer';
  display: block;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .site-header { padding: 0 32px; }
  .main-nav > li > a { padding: 0 10px; font-size: 12px; }
  .hero { padding: 48px 40px; }
  .hero-title { font-size: 48px; }
  .section-pillars, .section-latest, .section-editorial,
  .section-categories, .section-voyage, .section-sponsor,
  .site-footer { padding-left: 40px; padding-right: 40px; }
  .single-hero { padding: 48px 40px; }
  .single-hero-title { font-size: 38px; }
  .single-layout { grid-template-columns: 1fr 35%; }
  .single-content { padding: 40px 32px 64px; }
  .single-sidebar-inner { padding: 32px 20px; }
  .archive-header { padding: 48px 40px; }
  .archive-section { padding: 48px 40px; }
  .archive-title { font-size: 38px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .site-header { padding: 0 20px; }
  .nav-search { display: none; }
  .nav-hamburger { display: flex; }
  .main-nav {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--navy-deep);
    border-top: 1px solid rgba(200,168,75,0.2);
    z-index: 99; padding: 0;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .main-nav > li > a { height: auto; padding: 14px 20px; font-size: 14px; justify-content: space-between; }
  .main-nav > li.menu-item-has-children > a::after { border-top-color: rgba(255,255,255,0.4); }
  .main-nav > li.menu-item-has-children.open > a::after { transform: rotate(180deg); }
  /* Accordion mobile */
  .main-nav .sub-menu {
    visibility: visible; opacity: 1; pointer-events: auto;
    position: static; transform: none;
    box-shadow: none; border-top: none;
    background: rgba(0,0,0,0.2);
    padding: 0; display: none; transition: none;
  }
  .main-nav li.open > .sub-menu { display: block; }
  .main-nav .sub-menu a { padding: 11px 20px 11px 36px; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .main-nav .sub-menu .sub-menu a { padding-left: 52px; }
  /* Layout */
  .hero { padding: 40px 20px; min-height: 500px; height: auto; }
  .hero-title { font-size: 34px; }
  .section-title { font-size: 28px; margin-bottom: 32px; }
  .section-pillars, .section-latest, .section-editorial,
  .section-categories, .section-voyage, .section-sponsor,
  .site-footer { padding: 48px 20px; }
  .archive-header { padding: 40px 20px; }
  .archive-section { padding: 40px 20px; }
  .archive-title { font-size: 28px; }
  .archive-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillars-grid, .articles-main-grid, .editorial-grid,
  .voyage-grid, .cat-grid { grid-template-columns: 1fr; }
  .card-featured { height: 360px; }
  .editorial-title { white-space: normal; font-size: 28px !important; }
  .category-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .cat-tab { white-space: nowrap; padding: 12px 18px; }
  .sponsor-inner { flex-direction: column; text-align: center; gap: 24px; padding: 28px 20px; }
  .footer-nav-links { gap: 16px; flex-direction: column; align-items: center; }
  .single-hero { padding: 40px 20px; min-height: 360px; }
  .single-hero-title { font-size: 28px; }
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar {
    order: 2; border-left: none; border-top: 1px solid var(--border);
  }
  .single-sidebar-inner { position: static; padding: 32px 20px; }
  .single-content { order: 1; padding: 32px 20px 48px; }
  .single-nav { grid-template-columns: 1fr; }
  .single-nav-next { text-align: left; }
  .archive-pagination { flex-wrap: wrap; gap: 4px; }
  .archive-pagination .page-numbers { min-width: 36px; height: 36px; font-size: 12px; }
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea { font-size: 16px; padding: 12px 14px; }
  .wpcf7 input[type="submit"] { width: 100%; padding: 16px; }
  .error-404-number { font-size: 90px; }
  .error-404-title { font-size: 32px; }
  .error-404-ctas { flex-direction: column; align-items: center; }
  .search-overlay { padding: 32px 20px; }
  .search-overlay .search-field { font-size: 22px; }
}
