/*
Theme Name: worldwildben
Template: blocksy
Text Domain: worldwildben
*/

:root {
  --wwb-bg: #F6F3EE;
  --wwb-bg-soft: #ECE7DE;
  --wwb-text: #1F2933;
  --wwb-body: #33404A;
  --wwb-muted: #5F6B76;
  --wwb-green: #3F6F4F;
  --wwb-green-dark: #31583E;
  --wwb-green-soft: #DDE8D8;
  --wwb-orange: #C56A34;
  --wwb-night: #252B3A;
  --wwb-white: #FFFFFF;
  --wwb-radius-pill: 999px;
}

html,
body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--wwb-text);
  background: var(--wwb-bg);
  font-weight: 550;
  letter-spacing: -0.01em;
}

body,
p,
li {
  color: var(--wwb-body);
  font-weight: 600;
  line-height: 1.62;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--wwb-text);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}.page-template-page-wwb-accueil .ct-header,
.page-template-page-wwb-portfolio .ct-header,
.page-template-page-wwb-preparer-randonnee .ct-header,
.page-template-page-wwb-randonnees .ct-header,
.page-template-page-wwb-rando-fiche .ct-header,
.page-template-page-wwb-legal .ct-header,
.page-template-page-wwb-accueil #header,
.page-template-page-wwb-portfolio #header,
.page-template-page-wwb-preparer-randonnee #header,
.page-template-page-wwb-randonnees #header,
.page-template-page-wwb-rando-fiche #header,
.page-template-page-wwb-legal #header,
.page-template-page-wwb-accueil [data-header],
.page-template-page-wwb-portfolio [data-header],
.page-template-page-wwb-preparer-randonnee [data-header],
.page-template-page-wwb-randonnees [data-header],
.page-template-page-wwb-rando-fiche [data-header],
.page-template-page-wwb-legal [data-header] {
  display: none;
}

.wwb-struct-page,
.wwb-page-main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 44px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wwb-struct-hero {
  position: relative;
  overflow: hidden;
  min-height: 295px;
  margin: 0 0 16px;
  padding: 26px 34px 34px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(37,43,58,.91) 0%, rgba(37,43,58,.62) 48%, rgba(37,43,58,.20) 100%),
    radial-gradient(circle at 78% 28%, rgba(197,106,52,.48), transparent 25%),
    radial-gradient(circle at 66% 74%, rgba(63,111,79,.62), transparent 31%),
    linear-gradient(135deg, #253047 0%, #60735d 44%, #d0a168 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  box-shadow: 0 14px 34px rgba(31,41,51,.11);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.wwb-struct-hero-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0;
}

.wwb-struct-hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex: 0 0 auto;
}

.wwb-struct-hero-logo:hover,
.wwb-struct-hero-logo:focus {
  color: #fff;
  text-decoration: none;
}

.wwb-struct-hero-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.wwb-struct-hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wwb-struct-hero-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-left: auto;
}

.wwb-struct-hero-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.wwb-struct-hero-menu a:hover,
.wwb-struct-hero-menu a:focus {
  color: #fff;
  background: rgba(255,255,255,.13);
  text-decoration: none;
}

/* WWB STRUCT HERO MENU MOBILE PORTRAIT - START */
/*
 * Mobile portrait : masque le menu circulaire du hero.
 * Correction source dans la section CSS du hero.
 */
@media (max-width: 767px) and (orientation: portrait) {
    .wwb-struct-hero .wwb-struct-hero-menu {
        display: none;
    }
}
/* WWB STRUCT HERO MENU MOBILE PORTRAIT - END */

.wwb-struct-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: max-content;
  margin: 26px 0 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 9.5px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.wwb-struct-hero h1 {
  max-width: 720px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(23px, 2.35vw, 30px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.012em;
}

.wwb-struct-hero p {
  max-width: 650px;
  margin: 0 0 20px;
  color: rgba(255,255,255,.91);
  font-size: 13.8px;
  line-height: 1.52;
  font-weight: 620;
}

.wwb-struct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wwb-struct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 13px;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.wwb-struct-btn,
.wwb-struct-btn:hover,
.wwb-struct-btn:focus,
.wwb-struct-btn:visited {
  color: #fff;
  text-decoration: none;
}

.wwb-struct-btn-primary {
  background: var(--wwb-green);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 22px rgba(63,111,79,.25);
}

.wwb-struct-btn-primary:hover,
.wwb-struct-btn-primary:focus {
  background: var(--wwb-green-dark);
}

.wwb-struct-btn-glass {
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wwb-struct-btn-glass:hover,
.wwb-struct-btn-glass:focus {
  background: rgba(255,255,255,.18);
}

.wwb-struct-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
}

.wwb-struct-card {
  background: #fff;
  border: 1px solid rgba(31,41,51,.07);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(31,41,51,.07);
}

.wwb-struct-card-large {
  grid-column: span 3;
}

.wwb-struct-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--wwb-green);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wwb-struct-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--wwb-orange);
  border-radius: 99px;
}

.wwb-struct-card h2,
.wwb-struct-card h3 {
  margin: 0 0 8px;
  color: var(--wwb-text);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.035em;
}

.wwb-struct-card p {
  margin: 0;
  color: var(--wwb-body);
  font-size: 12.8px;
  line-height: 1.45;
  font-weight: 650;
}

.wwb-struct-card a {
  display: inline-flex;
  margin-top: 13px;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 11px;
  background: var(--wwb-green);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.wwb-mini-header {
  position: sticky;
  top: 14px;
  z-index: 90;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(37,43,58,.94);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 34px rgba(31,41,51,.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.wwb-mini-header.wwb-mini-header-hidden:not(.wwb-mini-header-visible) {
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
}

.wwb-mini-header a,
.wwb-mini-header-title {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.90);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.wwb-mini-header a:hover,
.wwb-mini-header a:focus {
  color: #fff;
  background: rgba(255,255,255,.17);
  border-color: rgba(255,255,255,.22);
  text-decoration: none;
}

.wwb-mini-header-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.wwb-portfolio-page .wwb-portfolio-mini-header {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  justify-content: space-between;
}

.wwb-portfolio-themes {
  display: grid;
  gap: 18px;
}

.wwb-portfolio-theme {
  background: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border: 1px solid rgba(31,41,51,.07);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(31,41,51,.07);
  scroll-margin-top: 96px;
}

.wwb-portfolio-theme h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.04em;
}

.wwb-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wwb-portfolio-grid figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #60735d, #d0a168);
}

.wwb-portfolio-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wwb-portfolio-placeholder {
  min-height: 160px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(63,111,79,.16), rgba(197,106,52,.16));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--wwb-body);
  font-size: 13px;
  font-weight: 650;
}


/* ==========================================================
   WWB Préparer sa randonnée - CSS propre
   ========================================================== */

.wwb-prepare-page .wwb-prepare-section {
  margin: 18px 0 0;
}

.wwb-prepare-page #meteo,
.wwb-prepare-page #equipement,
.wwb-prepare-page #securite,
.wwb-prepare-page #securite-marge,
.wwb-prepare-page #traces-gps,
.wwb-prepare-page #respect,
.wwb-prepare-page #checklist,
.wwb-prepare-page #meteo-rapide {
  scroll-margin-top: 96px;
}

.wwb-prepare-page [style*="background-image"] {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.wwb-prepare-quicknav {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 18px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(246, 243, 238, .9);
  border: 1px solid rgba(31, 41, 51, .08);
  box-shadow: 0 12px 28px rgba(31, 41, 51, .1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.wwb-prepare-quicknav a {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(63, 111, 79, .1);
  text-align: left;
  text-decoration: none;
}

.wwb-prepare-quicknav a:hover,
.wwb-prepare-quicknav a:focus {
  background: rgba(221, 232, 216, .96);
  border-color: rgba(63, 111, 79, .22);
}

.wwb-prepare-quicknav a::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.wwb-prepare-quicknav a:nth-child(1)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-meteo.svg"); }
.wwb-prepare-quicknav a:nth-child(2)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-gear.svg"); }
.wwb-prepare-quicknav a:nth-child(3)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-gps.svg"); }
.wwb-prepare-quicknav a:nth-child(4)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-safety.svg"); }
.wwb-prepare-quicknav a:nth-child(5)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-respect.svg"); }
.wwb-prepare-quicknav a:nth-child(6)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-checklist.svg"); }

.wwb-prepare-quicknav span {
  color: var(--wwb-text, #1F2933);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.01em;
}

.wwb-prepare-quicknav small {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 80;
  display: block;
  width: max-content;
  min-width: 190px;
  max-width: 240px;
  transform: translateX(-50%) translateY(-4px);
  opacity: 0;
  pointer-events: none;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(37, 43, 58, .96);
  color: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 22px rgba(31, 41, 51, .22);
  font-size: 10.5px;
  line-height: 1.28;
  text-align: center;
  font-weight: 750;
  transition: opacity .16s ease, transform .16s ease;
}

.wwb-prepare-quicknav a:hover small,
.wwb-prepare-quicknav a:focus small {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wwb-prepare-quicknav b {
  display: none;
}

.wwb-prepare-feature,
.wwb-respect-feature,
#equipement,
.wwb-checklist-soft,
.wwb-prepare-final-cta,
.wwb-prepare-final-cta-compact {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(31, 41, 51, .07);
  box-shadow: 0 10px 24px rgba(31, 41, 51, .07);
}

.wwb-prepare-feature-content,
.wwb-prepare-section-head {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.wwb-prepare-feature-content p + p {
  margin-top: 12px;
}

.wwb-prepare-section h2,
.wwb-prepare-section-head h2,
.wwb-prepare-feature-content h2 {
  margin: 0 0 10px;
  color: var(--wwb-text, #1F2933);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.04em;
  text-align: left;
}

.wwb-prepare-section p,
.wwb-prepare-section-head p,
.wwb-prepare-feature-content p {
  margin: 0;
  color: var(--wwb-body, #33404A);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 650;
  letter-spacing: -.01em;
  text-align: left;
}

.wwb-prepare-page .wwb-struct-label,
.wwb-prepare-page .wwb-menu-label,
.wwb-prepare-page #meteo .wwb-struct-label,
.wwb-prepare-page #ressources-meteo .wwb-struct-label,
.wwb-prepare-page #equipement .wwb-equipement-label,
.wwb-prepare-page .wwb-light-feature .wwb-light-label,
.wwb-prepare-page #securite-marge .wwb-prevoir-label,
.wwb-prepare-page #traces-gps .wwb-traces-label,
.wwb-prepare-page #respect .wwb-respect-label,
.wwb-prepare-page #checklist .wwb-checklist-label {
  position: relative;
  width: auto;
  min-width: 0;
  max-width: max-content;
  min-height: 42px;
  display: inline-grid;
  grid-template-columns: 22px auto;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 8px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(63, 111, 79, .1);
  color: var(--wwb-text, #1F2933);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.01em;
  text-transform: none;
  text-shadow: none;
}

.wwb-prepare-page .wwb-struct-label::before,
.wwb-prepare-page .wwb-menu-label::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  border-radius: 0;
  box-shadow: none;
}

.wwb-prepare-intro-feature .wwb-struct-label::before,
.wwb-prepare-final-cta .wwb-struct-label::before { background-image: url("/wp-content/uploads/preparer/icons/nav-gear.svg"); }
#meteo .wwb-struct-label::before,
#ressources-meteo .wwb-struct-label::before { background-image: url("/wp-content/uploads/preparer/icons/nav-meteo.svg"); }
#equipement .wwb-equipement-label::before { background-image: url("/wp-content/uploads/preparer/icons/nav-gear.svg"); }
.wwb-light-feature .wwb-light-label::before,
#securite-marge .wwb-prevoir-label::before { background-image: url("/wp-content/uploads/preparer/icons/nav-safety.svg"); }
#traces-gps .wwb-traces-label::before { background-image: url("/wp-content/uploads/preparer/icons/nav-gps.svg"); }
#respect .wwb-respect-label::before { background-image: url("/wp-content/uploads/preparer/icons/nav-respect.svg"); }
#checklist .wwb-checklist-label::before { background-image: url("/wp-content/uploads/preparer/icons/nav-checklist.svg"); }

.wwb-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.wwb-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: #2F5B3E;
  border: 1px solid rgba(63, 111, 79, .18);
  box-shadow: 0 4px 12px rgba(31, 41, 51, .08);
  font-size: 10.5px;
  line-height: 1;
  font-weight: 900;
}

.wwb-prepare-visual,
.wwb-prepare-visual-photo,
.wwb-prepare-visual-placeholder {
  display: none;
}

#ressources-meteo {
  background:
    radial-gradient(circle at 88% 18%, rgba(197, 106, 52, .10), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(63, 111, 79, .09), transparent 34%),
    linear-gradient(135deg, rgba(246, 243, 238, .92), rgba(255, 255, 255, 1) 46%, rgba(221, 232, 216, .30));
}

#ressources-meteo .wwb-prepare-feature-content {
  max-width: none;
  width: 100%;
}

#ressources-meteo h2 {
  max-width: 900px;
}

#ressources-meteo > .wwb-prepare-feature-content > p {
  max-width: 980px;
}

.wwb-resource-grid,
.wwb-kit-grid,
.wwb-checklist-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.wwb-resource-grid,
.wwb-resource-grid-visual {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wwb-kit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wwb-kit-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wwb-checklist-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wwb-resource-card,
.wwb-kit-card,
.wwb-check-item {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(31, 41, 51, .07);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(31, 41, 51, .07);
}

.wwb-resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
}

.wwb-resource-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  margin: 0 0 12px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(31, 41, 51, .08);
  overflow: hidden;
  box-sizing: border-box;
}

.wwb-resource-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.wwb-resource-card h3,
.wwb-kit-card h3,
.wwb-local-rules h3 {
  margin: 0 0 10px;
  color: var(--wwb-text, #1F2933);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.035em;
}

.wwb-resource-card p {
  margin: 0;
}

.wwb-resource-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--wwb-green, #3F6F4F);
  color: #fff;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.wwb-kit-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.wwb-kit-card li {
  margin: 0;
  color: var(--wwb-body, #33404A);
  font-size: 13.2px;
  line-height: 1.5;
  font-weight: 650;
}

.wwb-respect-layout {
  display: block;
}

.wwb-respect-layout > div:first-child {
  max-width: 760px;
}

.wwb-respect-layout blockquote,
.wwb-respect-layout blockquote::before {
  all: unset;
}

.wwb-respect-layout blockquote {
  display: block;
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--wwb-green, #3F6F4F);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -.02em;
}

.wwb-local-rules {
  margin-top: 14px;
  border-radius: 20px;
  padding: 18px;
  background: rgba(63, 111, 79, .08);
  border: 1px solid rgba(63, 111, 79, .14);
}

.wwb-check-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(63, 111, 79, .07);
  border: 1px solid rgba(63, 111, 79, .1);
  box-shadow: none;
}

.wwb-check-item span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--wwb-green, #3F6F4F);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}

.wwb-check-item p {
  margin: 0;
  color: var(--wwb-body, #33404A);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.wwb-prepare-final-cta,
.wwb-prepare-final-cta-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 12px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(63, 111, 79, .12), rgba(197, 106, 52, .08)),
    #fff;
}

.wwb-prepare-final-cta-compact h2 {
  font-size: clamp(20px, 1.7vw, 25px);
}

.wwb-prepare-final-cta-compact p {
  max-width: 680px;
  font-size: 13px;
}

.wwb-prepare-final-cta-compact .wwb-struct-actions {
  gap: 7px;
}

.wwb-prepare-final-cta-compact .wwb-struct-btn-glass {
  color: var(--wwb-green, #3F6F4F);
  border-color: rgba(63, 111, 79, .18);
  background: rgba(63, 111, 79, .08);
}

@media (max-width: 1100px) {
  .wwb-resource-grid,
  .wwb-resource-grid-visual,
  .wwb-kit-grid,
  .wwb-kit-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .wwb-prepare-quicknav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wwb-prepare-quicknav small {
    display: none;
  }
}

@media (max-width: 760px) {
  .wwb-prepare-quicknav,
  .wwb-resource-grid,
  .wwb-resource-grid-visual,
  .wwb-kit-grid,
  .wwb-kit-grid-four,
  .wwb-checklist-grid {
    grid-template-columns: 1fr;
  }

  .wwb-prepare-feature,
  .wwb-respect-feature,
  #equipement,
  .wwb-checklist-soft,
  .wwb-prepare-final-cta,
  .wwb-prepare-final-cta-compact {
    padding: 18px;
    border-radius: 20px;
  }

  .wwb-prepare-final-cta,
  .wwb-prepare-final-cta-compact {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* WWB Météo rapide Préparer */
.wwb-weather-section {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(31, 41, 51, .07);
  background-color: #fff;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  box-shadow: 0 10px 24px rgba(31, 41, 51, .07);
}
.wwb-weather-section .wwb-struct-label::before { background-image: url("/wp-content/uploads/preparer/icons/nav-meteo.svg"); }
.wwb-weather-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.wwb-weather-card { background: rgba(255,255,255,.92); border: 1px solid rgba(31,41,51,.08); border-radius: 18px; padding: 16px; box-shadow: 0 8px 20px rgba(31,41,51,.06); }
.wwb-weather-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.wwb-weather-card h3 { margin: 0; color: var(--wwb-text, #1F2933); font-size: 15px; line-height: 1.12; font-weight: 900; letter-spacing: -.03em; }
.wwb-weather-card-head span { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; background: rgba(63,111,79,.1); color: var(--wwb-green, #3F6F4F); font-size: 10px; line-height: 1; font-weight: 900; }
.wwb-weather-subtitle { margin: 0 0 12px; color: var(--wwb-muted, #5F6B76); font-size: 11px; line-height: 1.35; font-weight: 800; }
.wwb-weather-main { margin-bottom: 12px; }
.wwb-weather-main strong { display: block; color: var(--wwb-text, #1F2933); font-size: 26px; line-height: 1; font-weight: 950; letter-spacing: -.05em; }
.wwb-weather-main span { display: block; margin-top: 4px; color: var(--wwb-muted, #5F6B76); font-size: 12px; font-weight: 750; }
.wwb-weather-signal-badge { display: inline-flex; width: 100%; margin: 0 0 10px; padding: 7px 8px; border-radius: 12px; background: rgba(63,111,79,.08); color: var(--wwb-green, #3F6F4F); font-size: 10.5px; line-height: 1.1; font-weight: 950; }
.wwb-weather-data { display: grid; gap: 7px; margin: 0; }
.wwb-weather-data div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 7px; border-top: 1px solid rgba(31,41,51,.07); }
.wwb-weather-data dt { color: var(--wwb-muted, #5F6B76); font-size: 11px; font-weight: 800; }
.wwb-weather-data dd { margin: 0; color: var(--wwb-text, #1F2933); font-size: 12px; font-weight: 900; text-align: right; }
.wwb-weather-note { margin-top: 14px; color: #33404A; font-size: 12px; line-height: 1.5; font-weight: 720; }
@media (max-width: 1100px) { .wwb-weather-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .wwb-weather-section { padding: 18px; border-radius: 20px; } .wwb-weather-grid { grid-template-columns: 1fr; } }
/* Fin WWB Météo rapide Préparer */

/* WWB PREPARER MOBILE WHITE IMAGE OVERLAY - START */
/*
 * Page Preparer - telephone et tablette uniquement.
 *
 * Cadres cibles selon le HTML rendu :
 * - Preparer sa sortie : .wwb-prepare-intro-feature
 * - Meteo : #meteo
 * - Cartes et traces : #traces-gps
 * - Prevoir : #securite-marge
 * - Respect : #respect
 *
 * Logique :
 * - l'image de fond reste sur la section
 * - un calque blanc 50% est place au-dessus de l'image
 * - le contenu direct de la section est remonte au-dessus du calque
 */
@media (max-width: 1024px) {
  .wwb-prepare-page .wwb-prepare-intro-feature,
  .wwb-prepare-page #meteo,
  .wwb-prepare-page #traces-gps,
  .wwb-prepare-page #securite-marge,
  .wwb-prepare-page #respect {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #1f2933;
  }

  .wwb-prepare-page .wwb-prepare-intro-feature::before,
  .wwb-prepare-page #meteo::before,
  .wwb-prepare-page #traces-gps::before,
  .wwb-prepare-page #securite-marge::before,
  .wwb-prepare-page #respect::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, .50);
  }

  .wwb-prepare-page .wwb-prepare-intro-feature > *,
  .wwb-prepare-page #meteo > *,
  .wwb-prepare-page #traces-gps > *,
  .wwb-prepare-page #securite-marge > *,
  .wwb-prepare-page #respect > * {
    position: relative;
    z-index: 1;
  }

  .wwb-prepare-page .wwb-prepare-intro-feature :is(h1, h2, h3, p, li, span, strong, small, a),
  .wwb-prepare-page #meteo :is(h1, h2, h3, p, li, span, strong, small, a),
  .wwb-prepare-page #traces-gps :is(h1, h2, h3, p, li, span, strong, small, a),
  .wwb-prepare-page #securite-marge :is(h1, h2, h3, p, li, span, strong, small, a),
  .wwb-prepare-page #respect :is(h1, h2, h3, p, li, span, strong, small, a) {
    color: #1f2933 !important;
    text-shadow: none !important;
  }
}
/* WWB PREPARER MOBILE WHITE IMAGE OVERLAY - END */

/* Fin WWB Préparer sa randonnée - CSS propre */

@font-face {
  font-family: "Notably Absent";
  src: url("assets/fonts/notably-absent-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.wwb-site-footer {
  --wwb-footer-bg: #e7ebe1;
  --wwb-footer-text: #253126;
  --wwb-footer-muted: rgba(37,49,38,.72);
  --wwb-footer-line: rgba(37,49,38,.16);
  --wwb-footer-accent: #3f6f4f;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  color: var(--wwb-footer-text);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--wwb-footer-bg);
}

.wwb-footer-landscape {
  min-height: 260px;
  height: 27vw;
  background-image: var(--wwb-footer-bg-image);
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.wwb-footer-panel {
  background: var(--wwb-footer-bg);
  margin-top: -1px;
  padding: 34px 28px 22px;
}

.wwb-footer-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(145px, .75fr)) minmax(220px, 1fr);
  gap: clamp(24px, 3vw, 46px);
  align-items: start;
}

.wwb-footer-brand p,
.wwb-footer-contact p {
  margin: 0;
  color: var(--wwb-footer-muted);
  line-height: 1.65;
  font-size: 14px;
}

.wwb-footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  min-height: 96px;
  padding: 14px;
  margin: 0 0 16px;
  border-radius: 28px;
  background: rgba(37,49,38,.88);
  box-shadow: 0 18px 34px rgba(37,49,38,.18);
  border: 1px solid rgba(255,255,255,.18);
}

.wwb-footer-logo {
  display: block;
  max-width: 72px;
  max-height: 72px;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wwb-footer-logo-text {
  display: none;
}

.wwb-footer-title {
  margin-bottom: 10px;
  font-family: "Notably Absent", Manrope, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: none;
  color: var(--wwb-footer-text);
}

.wwb-footer-signature {
  margin-top: 12px;
  font-weight: 760;
  color: var(--wwb-footer-text);
}

.wwb-footer-socials {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  margin-top: 16px;
  align-items: center;
}

.wwb-footer-socials a {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(37,49,38,.28);
  display: grid;
  place-items: center;
  color: var(--wwb-footer-text);
  text-decoration: none;
  background: rgba(255,255,255,.22);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.wwb-footer-socials a:hover,
.wwb-footer-socials a:focus {
  transform: translateY(-2px);
  background: rgba(255,255,255,.42);
  border-color: rgba(37,49,38,.48);
  text-decoration: none;
}

.wwb-footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-bottom: 16px;
  color: var(--wwb-footer-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wwb-footer-heading span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 999px;
  border: 1px solid rgba(37,49,38,.22);
  color: var(--wwb-footer-accent);
}

.wwb-footer-socials svg {
  width: 18px;
  height: 18px;
}

.wwb-footer-heading svg {
  width: 23px;
  height: 23px;
}

.wwb-footer-socials svg,
.wwb-footer-heading svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wwb-footer-socials svg path,
.wwb-footer-socials svg circle,
.wwb-footer-socials svg rect,
.wwb-footer-heading svg path,
.wwb-footer-heading svg circle,
.wwb-footer-heading svg rect {
  vector-effect: non-scaling-stroke;
}

.wwb-footer-socials a[aria-label="Facebook"] svg,
.wwb-footer-socials a[aria-label="Threads"] svg,
.wwb-footer-socials a[aria-label="Strava"] svg,
.wwb-footer-socials a[aria-label="AllTrails"] svg {
  fill: currentColor;
  stroke: none;
}

.wwb-footer-column,
.wwb-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wwb-footer-column a {
  color: var(--wwb-footer-muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  width: fit-content;
  transition: color .18s ease, transform .18s ease;
}

.wwb-footer-column a:hover,
.wwb-footer-column a:focus {
  color: var(--wwb-footer-text);
  transform: translateX(3px);
  text-decoration: none;
}

.wwb-footer-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--wwb-footer-accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(37,49,38,.12);
}

.wwb-footer-mail:hover,
.wwb-footer-mail:focus {
  color: #fff;
  text-decoration: none;
}

.wwb-footer-bottom {
  width: min(1240px, 100%);
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--wwb-footer-line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(37,49,38,.66);
  font-size: 12px;
  line-height: 1.5;
}

.wwb-struct-hero-logo span:last-child,
.wwb-struct-hero-logo .wwb-struct-hero-brand,
.wwb-struct-hero-logo-text {
  font-family: "Notably Absent", Manrope, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: none;
}

@media (max-width: 1100px) {
  .wwb-footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .wwb-footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .wwb-footer-landscape {
    min-height: 230px;
    background-size: auto 100%;
    background-position: center bottom;
  }

  .wwb-footer-panel {
    padding: 30px 22px 22px;
  }

  .wwb-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wwb-footer-contact {
    grid-column: auto;
  }

  .wwb-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
/* === FIN WORLD WILD BEN - FOOTER COMMUN === */

/* WWB Typographie et layout texte */
html,
body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--wwb-text, #1F2933);
  font-weight: 550;
  letter-spacing: -0.01em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
p,
li,
.wwb-struct-page p,
.wwb-struct-page li,
.wwb-prepare-page p,
.wwb-prepare-page li,
.wwb-rando-fiche-page p,
.wwb-rando-fiche-page li,
.wwb-portfolio-v2-page p,
.wwb-portfolio-v2-page li {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 640;
  line-height: 1.62;
  letter-spacing: -0.012em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wwb-struct-page h1,
.wwb-struct-page h2,
.wwb-struct-page h3,
.wwb-prepare-page h1,
.wwb-prepare-page h2,
.wwb-prepare-page h3,
.wwb-rando-fiche-page h1,
.wwb-rando-fiche-page h2,
.wwb-rando-fiche-page h3,
.wwb-portfolio-v2-page h1,
.wwb-portfolio-v2-page h2,
.wwb-portfolio-v2-page h3 {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.wwb-struct-hero h1 {
  font-weight: 850;
  letter-spacing: -0.026em;
  line-height: 1.12;
}

.wwb-struct-hero p {
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.55;
}

.wwb-struct-kicker,
.wwb-struct-label,
.wwb-menu-label,
.wwb-struct-btn,
.wwb-v2-mini-header a,
.wwb-prepare-quicknav span,
.wwb-resource-card a,
.wwb-weather-card-head span,
.wwb-weather-signal-badge {
  font-weight: 950;
  letter-spacing: -0.01em;
}

.wwb-prepare-page .wwb-prepare-intro-feature .wwb-prepare-feature-content,
.wwb-prepare-page #meteo .wwb-prepare-feature-content,
.wwb-prepare-page #securite .wwb-prepare-feature-content,
.wwb-prepare-page #securite-marge .wwb-prepare-feature-content,
.wwb-prepare-page #traces-gps .wwb-prepare-feature-content,
.wwb-prepare-page #respect .wwb-respect-layout > div:first-child {
  width: min(50%, 560px);
  max-width: 560px;
  margin-left: 0;
  margin-right: auto;
}

.wwb-prepare-page .wwb-prepare-intro-feature p,
.wwb-prepare-page #meteo p,
.wwb-prepare-page #securite p,
.wwb-prepare-page #securite-marge p,
.wwb-prepare-page #traces-gps p,
.wwb-prepare-page #respect p,
.wwb-prepare-page .wwb-prepare-intro-feature h2,
.wwb-prepare-page #meteo h2,
.wwb-prepare-page #securite h2,
.wwb-prepare-page #securite-marge h2,
.wwb-prepare-page #traces-gps h2,
.wwb-prepare-page #respect h2,
.wwb-prepare-page .wwb-prepare-intro-feature .wwb-keywords,
.wwb-prepare-page #meteo .wwb-keywords,
.wwb-prepare-page #securite .wwb-keywords,
.wwb-prepare-page #securite-marge .wwb-keywords,
.wwb-prepare-page #traces-gps .wwb-keywords {
  max-width: 100%;
}

.wwb-weather-section {
  background-color: #fff;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 900px) {
  .wwb-prepare-page .wwb-prepare-intro-feature .wwb-prepare-feature-content,
  .wwb-prepare-page #meteo .wwb-prepare-feature-content,
  .wwb-prepare-page #securite .wwb-prepare-feature-content,
  .wwb-prepare-page #securite-marge .wwb-prepare-feature-content,
  .wwb-prepare-page #traces-gps .wwb-prepare-feature-content,
  .wwb-prepare-page #respect .wwb-respect-layout > div:first-child {
    width: 100%;
    max-width: 100%;
  }
}
/* Fin WWB Typographie et layout texte */

/* WWB Fiche randonnée - CTA préparer */
.wwb-sidebar #preparer.wwb-side-card {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  padding: 22px 20px 20px;
  border-radius: 26px;
  background-color: #F7F2EA;
  background-image:
    url("/wp-content/uploads/randonnees/template/bg_preparer.webp");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center 92%;
  border: 1px solid rgba(63, 111, 79, .14);
  box-shadow: 0 18px 38px rgba(31, 41, 51, .09);
}

.wwb-sidebar #preparer.wwb-side-card::before,
.wwb-sidebar #preparer.wwb-side-card::after {
  content: none;
  display: none;
}

.wwb-sidebar #preparer.wwb-side-card h3 {
  position: relative;
  z-index: 2;
  max-width: 66%;
  margin: 0 0 10px;
  color: var(--wwb-text, #1F2933);
  font-size: 21px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -.04em;
}

.wwb-sidebar #preparer.wwb-side-card h3::before {
  content: "Préparation";
  display: flex;
  width: max-content;
  align-items: center;
  min-height: 24px;
  margin: 0 0 9px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(63, 111, 79, .12);
  color: var(--wwb-green, #3F6F4F);
  font-size: 10.5px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.01em;
  box-shadow: 0 8px 18px rgba(63, 111, 79, .08);
}

.wwb-sidebar #preparer.wwb-side-card > p {
  position: relative;
  z-index: 2;
  max-width: 62%;
  margin: 0 0 18px;
  color: var(--wwb-body, #33404A);
  font-size: 13.4px;
  line-height: 1.52;
  font-weight: 750;
  letter-spacing: -.012em;
}

.wwb-sidebar #preparer.wwb-side-card .wwb-rando-side-cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  width: min(100%, 290px);
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--wwb-green, #3F6F4F);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.012em;
  box-shadow: 0 14px 26px rgba(63, 111, 79, .25);
}

.wwb-sidebar #preparer.wwb-side-card .wwb-rando-side-cta::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.wwb-sidebar #preparer.wwb-side-card .wwb-rando-side-cta:hover,
.wwb-sidebar #preparer.wwb-side-card .wwb-rando-side-cta:focus {
  background: #315B3E;
  transform: translateY(-1px);
}

.wwb-sidebar #preparer.wwb-side-card > :last-child:not(.wwb-rando-side-cta) {
  display: none;
}

@media (max-width: 980px) {
  .wwb-sidebar #preparer.wwb-side-card {
    min-height: 0;
  background-image:
    url("/wp-content/uploads/randonnees/template/bg_preparer.webp");
    background-position: center 92%;
  }

  .wwb-sidebar #preparer.wwb-side-card h3,
  .wwb-sidebar #preparer.wwb-side-card > p {
    max-width: 100%;
  }
}
/* Fin WWB Fiche randonnée - CTA préparer */

/* WWB Fiche randonnée - bloc Trace GPS */
.wwb-sidebar #trace-gps.wwb-side-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 20px 20px 78px;
  border-radius: 26px;
  background-color: #F6F8F5;
  background-image:
    url("/wp-content/uploads/randonnees/template/bg_trace.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 96%;
  border: 1px solid rgba(63, 111, 79, .14);
  box-shadow: 0 18px 38px rgba(31, 41, 51, .08);
}

.wwb-sidebar #trace-gps.wwb-side-card h3 {
  position: relative;
  z-index: 2;
  max-width: 66%;
  margin: 0 0 12px;
  color: var(--wwb-text, #1F2933);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -.04em;
}

.wwb-sidebar #trace-gps.wwb-side-card h3::before {
  content: "Navigation";
  display: flex;
  width: max-content;
  align-items: center;
  min-height: 24px;
  margin: 0 0 9px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(63, 111, 79, .12);
  color: var(--wwb-green, #3F6F4F);
  font-size: 10.5px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.01em;
  box-shadow: 0 8px 18px rgba(63, 111, 79, .08);
}

.wwb-sidebar #trace-gps.wwb-side-card a,
.wwb-sidebar #trace-gps.wwb-side-card .wwb-rando-side-cta,
.wwb-sidebar #trace-gps.wwb-side-card .wwb-rando-download {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  max-width: 290px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--wwb-green, #3F6F4F);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.012em;
  box-shadow: 0 14px 26px rgba(63, 111, 79, .25);
}

.wwb-sidebar #trace-gps.wwb-side-card a::after,
.wwb-sidebar #trace-gps.wwb-side-card .wwb-rando-side-cta::after,
.wwb-sidebar #trace-gps.wwb-side-card .wwb-rando-download::after {
  content: "↓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.wwb-sidebar #trace-gps.wwb-side-card a:hover,
.wwb-sidebar #trace-gps.wwb-side-card a:focus,
.wwb-sidebar #trace-gps.wwb-side-card .wwb-rando-side-cta:hover,
.wwb-sidebar #trace-gps.wwb-side-card .wwb-rando-side-cta:focus,
.wwb-sidebar #trace-gps.wwb-side-card .wwb-rando-download:hover,
.wwb-sidebar #trace-gps.wwb-side-card .wwb-rando-download:focus {
  background: #315B3E;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .wwb-sidebar #trace-gps.wwb-side-card {
    min-height: 190px;
    padding: 20px 20px 78px;
    background-position: center 96%;
  }

  .wwb-sidebar #trace-gps.wwb-side-card h3 {
    max-width: 100%;
  }
}
/* Fin WWB Fiche randonnée - bloc Trace GPS */

/* WWB RANDO FICHE MOBILE ORDER - START */
/*
 * Fiches randonnée - téléphone et tablette uniquement.
 *
 * Ordre mobile/tablette souhaité :
 * 01 Hero
 * 02 Description
 * 03 Présentation photo et données techniques
 * 04 Déroulé
 * 05 Carte et profil altimétrique
 * 06 Photos
 * 07 Préparation
 * 08 Navigation
 * 09 Fiche pratique
 * 10 À proximité
 * 11 Footer
 *
 * Stratégie :
 * - Desktop inchangé.
 * - La grille principale devient une pile verticale.
 * - Les wrappers .wwb-main-stack et .wwb-sidebar deviennent transparents
 *   via display: contents pour permettre l'ordre visuel des cartes.
 */
@media (max-width: 1024px) {

  .wwb-rando-fiche-page .wwb-rando-layout {
    display: flex;
    flex-direction: column;
  }

  .wwb-rando-fiche-page .wwb-main-stack,
  .wwb-rando-fiche-page .wwb-sidebar {
    display: contents;
  }

  .wwb-rando-fiche-page #itineraire {
    order: 10;
  }

  .wwb-rando-fiche-page .wwb-sidebar .wwb-side-card:first-child {
    order: 20;
  }

  .wwb-rando-fiche-page .wwb-main-stack .wwb-section-card:not(#itineraire):not(#carte):not(#photos) {
    order: 30;
  }

  .wwb-rando-fiche-page #carte {
    order: 40;
  }

  .wwb-rando-fiche-page #photos {
    order: 50;
  }

  .wwb-rando-fiche-page #preparer {
    order: 60;
  }

  .wwb-rando-fiche-page #trace-gps {
    order: 70;
    width: 100%;
    max-width: none;
    align-self: stretch;
    box-sizing: border-box;
  }

  .wwb-rando-fiche-page #trace-gps.wwb-side-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 22px;
  }

  .wwb-rando-fiche-page #trace-gps h3 {
    width: 100%;
    margin-bottom: 0;
  }

  .wwb-rando-fiche-page #trace-gps .wwb-btn,
  .wwb-rando-fiche-page #trace-gps .wwb-full-btn,
  .wwb-rando-fiche-page #trace-gps .wwb-rando-side-cta,
  .wwb-rando-fiche-page #trace-gps .wwb-rando-download {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    justify-content: space-between;
  }

  .wwb-rando-fiche-page #imprimer-sortie {
    order: 80;
  }

  .wwb-rando-fiche-page .wwb-nearby-section {
    order: 90;
  }
}
/* WWB RANDO FICHE MOBILE ORDER - END */

/* WWB Accueil - blocs sous hero ACF */
.wwb-struct-page .wwb-home-after-hero { width: 100%; margin: 34px 0 0; }
.wwb-struct-page .wwb-home-topline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-bottom: 28px; }
.wwb-struct-page .wwb-home-panel { min-height: 240px; background-image: var(--wwb-home-bg, none); background-repeat: no-repeat; background-size: cover; background-position: center; }
.wwb-struct-page .wwb-home-intro, .wwb-struct-page .wwb-home-bio { padding: 4px 0; }
.wwb-struct-page .wwb-home-photo { display: grid; place-items: center; overflow: hidden; border-radius: 24px; border: 1px solid rgba(31, 41, 51, .12); }
.wwb-struct-page .wwb-home-photo img { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.wwb-struct-page .wwb-home-photo span { color: rgba(31, 41, 51, .42); font-weight: 850; }
.wwb-struct-page .wwb-home-label { margin: 0 0 11px; color: var(--wwb-green, #3F6F4F); font-size: 11px; line-height: 1; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.wwb-struct-page .wwb-home-after-hero h2 { margin: 0 0 12px; color: var(--wwb-text, #1F2933); font-size: clamp(24px, 2.3vw, 34px); line-height: 1.05; font-weight: 950; letter-spacing: -.045em; }
.wwb-struct-page .wwb-home-after-hero p { margin: 0; color: var(--wwb-body, #33404A); font-size: 15px; line-height: 1.62; font-weight: 650; }
.wwb-struct-page .wwb-home-link, .wwb-struct-page .wwb-home-entrycard a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 18px; padding: 10px 15px; border-radius: 999px; background: var(--wwb-green, #3F6F4F); color: #fff; text-decoration: none; font-size: 13px; line-height: 1; font-weight: 950; }
.wwb-struct-page .wwb-home-entrycards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.wwb-struct-page .wwb-home-entrycard { position: relative; min-height: 230px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: 24px; background-color: #28392E; background-image: var(--wwb-home-bg, none); background-repeat: no-repeat; background-size: cover; background-position: center; }
.wwb-struct-page .wwb-home-entrycard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 27, 24, .10), rgba(19, 27, 24, .74)); }
.wwb-struct-page .wwb-home-entrycard > * { position: relative; z-index: 1; }
.wwb-struct-page .wwb-home-entrycard h2, .wwb-struct-page .wwb-home-entrycard p { color: #fff; }
.wwb-struct-page .wwb-home-entrycard h2 { font-size: 25px; }
.wwb-struct-page .wwb-home-entrycard a { align-self: flex-start; background: rgba(255, 255, 255, .94); color: var(--wwb-green, #3F6F4F); }
.wwb-struct-page .wwb-home-instagram { margin-top: 0; background-image: var(--wwb-home-bg, none); background-repeat: no-repeat; background-size: cover; background-position: center; }
.wwb-struct-page .wwb-home-instagram-head { max-width: 640px; margin-bottom: 18px; }
.wwb-struct-page .wwb-home-instagram-track { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; }
.wwb-struct-page .wwb-home-instagram-track img, .wwb-struct-page .wwb-home-instagram-track .sbi_item, .wwb-struct-page .wwb-home-instagram-track [class*="instagram"] img { scroll-snap-align: start; }
.wwb-struct-page .wwb-home-instagram-fallback { display: grid; min-height: 120px; place-items: center; border-radius: 22px; border: 1px solid rgba(31, 41, 51, .10); color: var(--wwb-body, #33404A); text-align: center; font-weight: 850; padding: 20px; }
@media (max-width: 980px) { .wwb-struct-page .wwb-home-topline, .wwb-struct-page .wwb-home-entrycards { grid-template-columns: 1fr; } .wwb-struct-page .wwb-home-panel { min-height: 0; } .wwb-struct-page .wwb-home-photo img { min-height: 220px; } }
/* Fin WWB Accueil - blocs sous hero ACF */


/* =====================================================
   WWB EXTRACTION RANDONNEES V1
   ===================================================== */


  :root {
    --wwb-bg: #F6F3EE;
    --wwb-paper: #FFFFFF;
    --wwb-paper-soft: #FBFAF7;
    --wwb-text: #1F2933;
    --wwb-body: #33404A;
    --wwb-muted: #5F6B76;
    --wwb-green: #3F6F4F;
    --wwb-green-dark: #31583E;
    --wwb-green-soft: #DDE8D8;
    --wwb-orange: #C56A34;
    --wwb-blue: #2F5D7C;
    --wwb-night: #252B3A;
    --wwb-line: rgba(31, 41, 51, .10);
    --wwb-shadow: 0 14px 34px rgba(31, 41, 51, .11);
    --wwb-shadow-soft: 0 8px 22px rgba(31, 41, 51, .075);
  }

  .wwb-page- {
    background: var(--wwb-bg);
    color: var(--wwb-text);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  .wwb--container {
    width: 100%;
    margin: 0 auto;
  }


  .wwb-randos-intro-grid {
    display: grid;
    grid-template-columns: 1.12fr repeat(2, minmax(0, .44fr));
    grid-template-rows: repeat(2, auto);
    gap: 12px;
    margin: 16px auto 24px;
  }

  .wwb-randos-intro-main,
  .wwb-randos-mini-card,
  .wwb-randos-info-grid article {
    background: var(--wwb-paper);
    border: 1px solid rgba(31,41,51,.06);
    border-radius: 20px;
    box-shadow: var(--wwb-shadow-soft);
  }

  .wwb-randos-intro-main {
    grid-row: 1 / span 2;
    padding: 22px;
  }

  .wwb-randos-intro-main h2 {
    margin: 10px 0 9px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.07;
    font-weight: 900;
    letter-spacing: -.05em;
  }

  .wwb-randos-intro-main p,
  .wwb-randos-mini-card p,
  .wwb-randos-info-grid p {
    margin: 0;
    color: var(--wwb-body);
    font-weight: 650;
  }

  .wwb-intro-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--wwb-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .wwb-intro-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--wwb-orange);
    border-radius: 99px;
  }

  .wwb-randos-mini-card {
    padding: 14px;
  }

  .wwb-randos-mini-card strong {
    display: block;
    color: var(--wwb-green);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
  }

  .wwb-randos-mini-card span {
    display: block;
    margin-top: 5px;
    color: var(--wwb-muted);
    font-size: 10.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .wwb-randos-mini-card p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.35;
  }

  .wwb-randos-selector-section {
    padding-bottom: 42px;
  }

  .wwb-selector-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 12px;
  }

  .wwb-selector-head h2 {
    margin: 8px 0 0;
    font-size: clamp(27px, 3.5vw, 40px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.05em;
  }

  .wwb-selector-head p {
    margin: 6px 0 0;
    color: var(--wwb-body);
    font-weight: 650;
    max-width: 720px;
  }

  .wwb-selector-tools {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
  }

  .wwb-tool {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--wwb-line);
    background: #fff;
    color: var(--wwb-body);
    font-size: 12px;
    font-weight: 850;
  }

  .wwb-tool.active {
    background: var(--wwb-green);
    color: #fff;
    border-color: var(--wwb-green);
  }

  .wwb-randos-selector {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 720px;
    background: var(--wwb-paper);
    border-radius: 24px;
    box-shadow: var(--wwb-shadow);
    overflow: hidden;
    border: 1px solid rgba(31,41,51,.06);
  }

  .wwb-randos-sidebar {
    background: var(--wwb-paper-soft);
    border-right: 1px solid var(--wwb-line);
    padding: 18px;
    overflow: auto;
  }

  .wwb-sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .wwb-sidebar-head h3 {
    margin: 0 0 4px;
    font-size: 24px;
    line-height: 1.07;
    font-weight: 900;
    letter-spacing: -.04em;
  }

  .wwb-sidebar-head p {
    margin: 0;
    color: var(--wwb-body);
    font-size: 13.5px;
    font-weight: 650;
  }

  .wwb-sidebar-head span {
    white-space: nowrap;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--wwb-green-soft);
    color: var(--wwb-green);
    font-size: 10.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .wwb-search-field input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--wwb-line);
    border-radius: 14px;
    background: #fff;
    color: var(--wwb-text);
    font-size: 13.8px;
    font-weight: 700;
    outline: none;
    padding: 0 12px;
  }

  .wwb-filter {
    margin: 14px 0;
  }

  .wwb-filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: var(--wwb-text);
    font-size: 11.5px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .wwb-filter-title em {
    font-style: normal;
    color: var(--wwb-muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: none;
    letter-spacing: 0;
  }

  .wwb-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .wwb-chip-list button {
    padding: 7px 9px;
    border-radius: 999px;
    border: 1px solid rgba(63,111,79,.22);
    background: #fff;
    color: var(--wwb-green);
    font-size: 12px;
    font-weight: 900;
  }

  .wwb-chip-list button.active {
    background: var(--wwb-green);
    color: #fff;
    border-color: var(--wwb-green);
  }

  .wwb-chip-list button.orange {
    background: var(--wwb-orange);
    color: #fff;
    border-color: var(--wwb-orange);
  }

  .wwb-range {
    height: 7px;
    border-radius: 99px;
    background: #E5E0D8;
    overflow: hidden;
    margin: 10px 0 6px;
  }

  .wwb-range i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--wwb-green), #628E6E);
    border-radius: 99px;
  }

  .wwb-filter-denivele .wwb-range i {
    background: linear-gradient(90deg, var(--wwb-orange), #D99668);
  }

  .wwb-filter-duree .wwb-range i {
    background: linear-gradient(90deg, var(--wwb-blue), #6F98B0);
  }

  .wwb-range-values {
    display: flex;
    justify-content: space-between;
    color: var(--wwb-muted);
    font-size: 11px;
    font-weight: 850;
  }

  .wwb-result-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 17px 0 10px;
  }

  .wwb-result-title strong {
    font-size: 13.5px;
    font-weight: 950;
  }

  .wwb-result-title button {
    border: 0;
    background: transparent;
    color: var(--wwb-green);
    font-size: 12px;
    font-weight: 900;
  }

  .wwb-rando-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--wwb-line);
    box-shadow: 0 6px 14px rgba(31,41,51,.045);
    margin-bottom: 9px;
  }

  .wwb-rando-card.active {
    border-color: rgba(63,111,79,.38);
    box-shadow: 0 10px 20px rgba(63,111,79,.10);
  }

  .wwb-rando-thumb {
    height: 58px;
    border-radius: 12px;
    background: linear-gradient(135deg, #536b72, #d0a168);
  }

  .wwb-rando-card h4 {
    margin: 0 0 4px;
    font-size: 14.4px;
    line-height: 1.18;
    font-weight: 950;
  }

  .wwb-rando-card p {
    margin: 0 0 5px;
    color: var(--wwb-body);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
  }

  .wwb-rando-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--wwb-muted);
    font-size: 11px;
    font-weight: 850;
  }

  .wwb-randos-map-placeholder {
    position: relative;
    min-height: 720px;
    background:
      radial-gradient(circle at 72% 30%, rgba(197,106,52,.22), transparent 25%),
      radial-gradient(circle at 35% 72%, rgba(63,111,79,.22), transparent 28%),
      linear-gradient(135deg, #4F7059 0%, #334854 58%, #252B3A 100%);
    overflow: hidden;
  }

  .wwb-map-toolbar {
    position: absolute;
    left: 18px;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .wwb-map-toolbar span {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(0,0,0,.26);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
  }

  .wwb-map-toolbar button {
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    padding: 8px 12px;
    color: var(--wwb-green);
    font-size: 12px;
    font-weight: 900;
  }

  .wwb-map-placeholder-content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(420px, calc(100% - 48px));
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.92);
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--wwb-shadow);
    text-align: center;
  }

  .wwb-map-placeholder-content strong {
    display: block;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 8px;
  }

  .wwb-map-placeholder-content p {
    margin: 0;
    color: var(--wwb-body);
    font-size: 14px;
    font-weight: 650;
  }

  .wwb-randos-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-bottom: 52px;
  }

  .wwb-randos-info-grid article {
    padding: 18px;
  }

  .wwb-randos-info-grid h3 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 950;
  }

  @media (max-width: 980px) {
    .wwb-randos-intro-grid,
    .wwb-randos-info-grid {
      grid-template-columns: 1fr;
    }

    .wwb-randos-intro-main {
      grid-row: auto;
    }

    .wwb-selector-head {
      align-items: flex-start;
      flex-direction: column;
    }

    .wwb-randos-selector {
      grid-template-columns: 1fr;
    }

    .wwb-randos-sidebar {
      border-right: 0;
      border-bottom: 1px solid var(--wwb-line);
    }

    .wwb-randos-map-placeholder {
      min-height: 560px;
    }
  }

  @media (max-width: 640px) {
    .wwb--container {
    width: 100%;
    }
.wwb-randos-map-placeholder {
      min-height: 520px;
    }
  }

  /* ==========================================================
     WWB Randonnées - Styles propres page active
     ----------------------------------------------------------
     Bloc consolidé de la page Randonnées.
     Header intégré, Blocksy masqué sur cette page, hero compact.
     ========================================================== */

  body.page-template-page-wwb-randonnees .ct-header,
  body.page-template-page-wwb-randonnees #header,
  body.page-template-page-wwb-randonnees header.site-header,
  body.page-template-page-wwb-randonnees .site-header,
  body.page-template-page-wwb-randonnees header[data-header] {
    display: none !important;
  }


.wwb-randos-intro-grid {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }

  .wwb-randos-selector-section {
    padding-bottom: 16px !important;
  }

  .wwb-randos-info-grid {
    gap: 16px !important;
    padding-bottom: 44px !important;
  }

  .wwb-randos-info-grid article {
    padding: 22px !important;
  }

  /* Fin espacements harmonisés */


  /* Carte Mapbox Randonnées intégrée */
  .wwb-randos-selector {
    display: grid;
    grid-template-columns: 325px minmax(0, 1fr);
    height: 720px;
    min-height: 720px;
    max-height: 720px;
    overflow: hidden;
  }

  .wwb-randos-sidebar {
    height: 720px;
    max-height: 720px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
  }

  .wwb-randos-map {
    position: relative;
    height: 720px;
    min-height: 720px;
    max-height: 720px;
    background: #253047;
    overflow: hidden;
  }

  .wwb-map-toolbar {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .wwb-sidebar-head h2 {
    margin: 0 0 4px;
    font-size: 23px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.035em;
  }

  .wwb-sidebar-head p {
    margin: 0;
    color: var(--wwb-body);
    font-size: 13.2px;
    font-weight: 650;
    line-height: 1.42;
  }

  .wwb-rando-list {
    display: grid;
    gap: 9px;
  }

  .wwb-rando-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid var(--wwb-line);
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(31,41,51,.045);
  }

  .wwb-rando-card.is-active {
    border-color: rgba(63,111,79,.42);
    box-shadow: 0 10px 20px rgba(63,111,79,.10);
  }

  .wwb-rando-thumb {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    background: linear-gradient(135deg,#60735d,#d0a168);
    background-size: cover;
    background-position: center;
  }

  .wwb-rando-card h3 {
    margin: 0 0 4px;
    color: var(--wwb-text);
    font-size: 13.8px !important;
    line-height: 1.22 !important;
    font-weight: 950 !important;
    letter-spacing: -.025em !important;
  }

  .wwb-rando-card p {
    margin: 0 0 5px;
    color: var(--wwb-body);
    font-size: 11.6px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  .wwb-rando-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--wwb-muted);
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
  }

  .wwb-field {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
  }

  .wwb-field span,
  .wwb-filter-title {
    color: var(--wwb-text);
    font-size: 10.8px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .wwb-field input[type="search"] {
    width: 100%;
    height: 40px;
    border: 1px solid var(--wwb-line);
    border-radius: 13px;
    padding: 0 12px;
    background: #fff;
    color: var(--wwb-text);
    font-size: 13px;
    font-weight: 700;
    outline: none;
  }

  .wwb-filter {
    margin: 13px 0;
  }

  .wwb-filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }

  .wwb-filter-title strong {
    color: var(--wwb-muted);
    font-size: 10.8px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;
  }

  .wwb-filter input[type="range"] {
    width: 100%;
    height: 22px;
    margin: 4px 0 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
  }

  .wwb-filter input[type="range"]::-webkit-slider-runnable-track {
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wwb-green), #628E6E);
  }

  .wwb-filter input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    margin-top: -5px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--wwb-green);
    box-shadow: 0 4px 10px rgba(31,41,51,.18);
  }

  .wwb-filter input[type="range"]::-moz-range-track {
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wwb-green), #628E6E);
  }

  .wwb-filter input[type="range"]::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--wwb-green);
    box-shadow: 0 4px 10px rgba(31,41,51,.18);
  }

  .wwb-filter:has(input[data-denivele]) input[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, var(--wwb-orange), #D99668);
  }

  .wwb-filter:has(input[data-denivele]) input[type="range"]::-webkit-slider-thumb {
    border-color: var(--wwb-orange);
  }

  .wwb-filter:has(input[data-denivele]) input[type="range"]::-moz-range-track {
    background: linear-gradient(90deg, var(--wwb-orange), #D99668);
  }

  .wwb-filter:has(input[data-denivele]) input[type="range"]::-moz-range-thumb {
    border-color: var(--wwb-orange);
  }

  .wwb-filter:has(input[data-duree]) input[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, var(--wwb-blue), #6F98B0);
  }

  .wwb-filter:has(input[data-duree]) input[type="range"]::-webkit-slider-thumb {
    border-color: var(--wwb-blue);
  }

  .wwb-filter:has(input[data-duree]) input[type="range"]::-moz-range-track {
    background: linear-gradient(90deg, var(--wwb-blue), #6F98B0);
  }

  .wwb-filter:has(input[data-duree]) input[type="range"]::-moz-range-thumb {
    border-color: var(--wwb-blue);
  }

  .wwb-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .wwb-pill-list button,
  .wwb-chip-list button {
    margin: 0;
    min-height: auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(63,111,79,.10);
    color: var(--wwb-green);
    border: 1px solid rgba(63,111,79,.16);
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
  }

  .wwb-pill-list button:hover,
  .wwb-chip-list button.active {
    background: var(--wwb-green);
    color: #fff;
  }

  .wwb-selected-card {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 20px;
    width: 292px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--wwb-shadow);
  }

  .wwb-selected-image {
    height: 126px;
    background: linear-gradient(135deg,#C8B28C,#60735D);
    background-size: cover;
    background-position: center;
  }

  .wwb-selected-body {
    padding: 13px;
  }

  .wwb-selected-body span,
  .wwb-action-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--wwb-green-soft);
    color: var(--wwb-green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
  }

  .wwb-selected-card h2 {
    margin: 0 0 8px;
    color: var(--wwb-text);
    font-size: 17px !important;
    line-height: 1.16 !important;
    font-weight: 900 !important;
    letter-spacing: -.035em !important;
  }

  .wwb-selected-card p {
    margin: 0;
    color: var(--wwb-body);
    font-size: 12.5px !important;
    font-weight: 650 !important;
    line-height: 1.42 !important;
  }

  .wwb-selected-card a,
  .wwb-reset,
  .wwb-randos-mini-card a,
  .wwb-randos-mini-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 13px;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 0;
    background: var(--wwb-green);
    color: #fff;
    font-size: 12.2px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
  }

  .wwb-selected-card a:hover,
  .wwb-reset:hover,
  .wwb-randos-mini-card a:hover,
  .wwb-randos-mini-card button:hover {
    background: var(--wwb-green-dark);
  }

  .wwb-popup-img {
    width: 100%;
    height: 132px;
    background: #ddd;
    background-size: cover;
    background-position: center;
  }

  .wwb-popup-body {
    padding: 13px;
    font-family: "Manrope", system-ui, sans-serif;
  }

  .wwb-popup-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.18;
    color: var(--wwb-text);
  }

  .wwb-popup-body p {
    margin: 0;
    color: var(--wwb-body);
    font-size: 12px;
    font-weight: 650;
  }

  .wwb-popup-body a {
    display: block;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--wwb-green);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
  }

  .wwb-map-help-toggle {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 18px;
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255,255,255,.92);
    color: var(--wwb-green);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
  }

  .wwb-map-help-panel {
    position: absolute;
    z-index: 5;
    top: 58px;
    right: 18px;
    width: min(320px, calc(100% - 36px));
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--wwb-shadow);
    display: none;
  }

  .wwb-map-help-panel.is-open {
    display: block;
  }

  .wwb-map-help-panel h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 950;
  }

  .wwb-map-help-panel ul {
    margin: 0;
    padding-left: 18px;
  }

  .wwb-map-help-panel li {
    margin: 0 0 6px;
    color: var(--wwb-body);
    font-size: 12.5px;
    font-weight: 650;
  }

  .wwb-map-help-close {
    float: right;
    border: 0;
    background: transparent;
    color: var(--wwb-green);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
  }

  @media (max-width: 980px) {
    .wwb-randos-selector {
      grid-template-columns: 1fr;
      height: auto;
      min-height: auto;
      max-height: none;
    }

    .wwb-randos-sidebar {
      height: auto;
      max-height: none;
      border-right: 0;
      border-bottom: 1px solid var(--wwb-line);
    }

    .wwb-randos-map {
      height: 560px;
      min-height: 560px;
      max-height: 560px;
    }
  }

  @media (max-width: 640px) {
    .wwb-selected-card {
      left: 16px;
      right: 16px;
      width: auto;
    }

    .wwb-randos-map {
      height: 520px;
      min-height: 520px;
      max-height: 520px;
    }
  }


  /* Ajustement carte : barre masquée et fiche sélection compacte */
  .wwb-map-toolbar {
    display: none !important;
  }

  .wwb-selected-card {
    width: 248px !important;
    right: 16px !important;
    bottom: 16px !important;
    border-radius: 16px !important;
  }

  .wwb-selected-image {
    height: 92px !important;
  }

  .wwb-selected-body {
    padding: 10px 11px 11px !important;
  }

  .wwb-selected-body span {
    margin-bottom: 7px !important;
    padding: 4px 7px !important;
    font-size: 9.2px !important;
    line-height: 1 !important;
  }

  .wwb-selected-card h2 {
    margin: 0 0 6px !important;
    font-size: 14.5px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em !important;
  }

  .wwb-selected-card p {
    margin: 0 !important;
    font-size: 11.4px !important;
    line-height: 1.35 !important;
    font-weight: 650 !important;
  }

  .wwb-selected-card a {
    margin-top: 9px !important;
    min-height: 30px !important;
    padding: 7px 10px !important;
    border-radius: 11px !important;
    font-size: 11px !important;
  }

  .wwb-popup-img {
    height: 88px !important;
  }

  .wwb-popup-body {
    padding: 10px !important;
  }

  .wwb-popup-body h3 {
    margin: 0 0 6px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  .wwb-popup-body p {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .wwb-popup-body a {
    margin-top: 8px !important;
    padding: 7px 9px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
  }

  @media (max-width: 640px) {
    .wwb-selected-card {
      left: 12px !important;
      right: 12px !important;
      bottom: 12px !important;
      width: auto !important;
    }

    .wwb-selected-image {
      height: 86px !important;
    }
  }

  /* Fin ajustement carte compacte */


  /* Ajustements UI carte : aide à gauche, suppression popup sélection permanent */
  .wwb-selector-tools {
    display: none !important;
  }

  .wwb-map-help-toggle {
    left: 18px !important;
    right: auto !important;
    top: 18px !important;
  }

  .wwb-map-help-panel {
    left: 18px !important;
    right: auto !important;
    top: 58px !important;
  }

  .wwb-selected-card {
    display: none !important;
  }

  /* Fin ajustements UI carte */


  /* Popup unique : panneau sélection permanent désactivé */
  .wwb-selected-card {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Fin popup unique */


  /* Sidebar carte compacte */
  .wwb-randos-selector {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
  }

  .wwb-randos-sidebar {
    height: 680px !important;
    max-height: 680px !important;
    padding: 14px !important;
  }

  .wwb-randos-map {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
  }

  .wwb-sidebar-head {
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .wwb-sidebar-head h2 {
    margin: 0 0 2px !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
  }

  .wwb-sidebar-head p {
    font-size: 12.4px !important;
    line-height: 1.32 !important;
  }

  .wwb-sidebar-head-tools {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .wwb-sidebar-head-tools [data-result-count] {
    padding: 5px 8px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  .wwb-reset-compact {
    margin: 0 !important;
    min-height: 28px !important;
    padding: 6px 9px !important;
    border-radius: 999px !important;
    font-size: 10.8px !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .wwb-field {
    gap: 5px !important;
    margin-bottom: 10px !important;
  }

  .wwb-field input[type="search"] {
    height: 36px !important;
    border-radius: 12px !important;
    font-size: 12.4px !important;
  }

  .wwb-filter {
    margin: 9px 0 10px !important;
  }

  .wwb-filter-title {
    margin-bottom: 5px !important;
    font-size: 10.2px !important;
    line-height: 1.1 !important;
  }

  .wwb-filter-title strong {
    font-size: 10.2px !important;
  }

  .wwb-chip-list {
    gap: 6px !important;
  }

  .wwb-chip-list button,
  .wwb-pill-list button {
    min-height: 26px !important;
    padding: 5px 8px !important;
    font-size: 10.8px !important;
    line-height: 1 !important;
  }

  .wwb-filter input[type="range"] {
    height: 16px !important;
    margin-top: 2px !important;
  }

  .wwb-filter input[type="range"]::-webkit-slider-runnable-track {
    height: 5px !important;
  }

  .wwb-filter input[type="range"]::-webkit-slider-thumb {
    width: 15px !important;
    height: 15px !important;
    margin-top: -5px !important;
    border-width: 4px !important;
  }

  .wwb-filter input[type="range"]::-moz-range-track {
    height: 5px !important;
  }

  .wwb-filter input[type="range"]::-moz-range-thumb {
    width: 9px !important;
    height: 9px !important;
    border-width: 4px !important;
  }

  .wwb-rando-list {
    gap: 8px !important;
  }

  .wwb-rando-card {
    grid-template-columns: 52px 1fr !important;
    gap: 9px !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }

  .wwb-rando-thumb {
    width: 52px !important;
    height: 52px !important;
    border-radius: 11px !important;
  }

  .wwb-rando-card h3 {
    margin-bottom: 3px !important;
    font-size: 12.6px !important;
    line-height: 1.18 !important;
  }

  .wwb-rando-card p {
    margin-bottom: 4px !important;
    font-size: 10.8px !important;
    line-height: 1.2 !important;
  }

  .wwb-rando-meta {
    gap: 4px !important;
    font-size: 9.8px !important;
    line-height: 1.2 !important;
  }

  @media (max-width: 980px) {
    .wwb-randos-selector,
    .wwb-randos-sidebar {
      height: auto !important;
      max-height: none !important;
    }

    .wwb-randos-map {
      height: 560px !important;
      min-height: 560px !important;
      max-height: 560px !important;
    }
  }

  @media (max-width: 640px) {
    .wwb-randos-map {
      height: 520px !important;
      min-height: 520px !important;
      max-height: 520px !important;
    }
  }

  /* Fin sidebar carte compacte */

  /* Fin carte Mapbox Randonnées intégrée */

/* Fin styles propres page Randonnées */


  /* WWB - Typographie commune alignée fiche randonnée */
  .wwb-randonnees-page {
    font-size: 14.5px !important;
    line-height: 1.48 !important;
    font-weight: 570 !important;
    letter-spacing: -0.01em !important;
  }

  /* Labels type “Description” de la fiche */
  .wwb-intro-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-bottom: 8px !important;
    color: var(--wwb-green) !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  .wwb-intro-label::before {
    content: "" !important;
    width: 28px !important;
    height: 2px !important;
    background: var(--wwb-orange) !important;
    border-radius: 99px !important;
  }

  /* Titres h2 body = même charte que les h2 de fiche rando */
  .wwb-randos-intro-main h2,
  .wwb-selector-head h2 {
    margin: 0 0 9px !important;
    font-size: clamp(22px, 2.6vw, 30px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -.045em !important;
    color: var(--wwb-text) !important;
  }

  .wwb-randos-intro-main p,
  .wwb-selector-head p {
    margin: 0 !important;
    color: var(--wwb-body) !important;
    font-size: 13.7px !important;
    line-height: 1.48 !important;
    font-weight: 650 !important;
  }

  /* Cartes synthèse haut de page */
  .wwb-randos-mini-card {
    padding: 14px !important;
  }

  .wwb-randos-mini-card strong {
    display: block !important;
    color: var(--wwb-green) !important;
    font-size: 18px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    letter-spacing: -.03em !important;
  }

  .wwb-randos-mini-card span {
    display: block !important;
    margin-top: 5px !important;
    color: var(--wwb-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
  }

  .wwb-randos-mini-card p {
    margin-top: 6px !important;
    color: var(--wwb-body) !important;
    font-size: 13px !important;
    line-height: 1.38 !important;
    font-weight: 650 !important;
  }

  .wwb-randos-mini-card a,
  .wwb-randos-mini-card button {
    font-size: 12px !important;
    min-height: 32px !important;
    padding: 7px 11px !important;
  }

  /* Titre et texte sidebar carte */
  .wwb-sidebar-head h2 {
    margin: 0 0 4px !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -.04em !important;
  }

  .wwb-sidebar-head p {
    margin: 0 !important;
    color: var(--wwb-body) !important;
    font-size: 12.8px !important;
    line-height: 1.36 !important;
    font-weight: 650 !important;
  }

  /* Blocs bas de page = proches des cards fiche */
  .wwb-randos-info-grid {
    gap: 14px !important;
  }

  .wwb-randos-info-grid article {
    padding: 18px !important;
  }

  .wwb-randos-info-grid h3 {
    margin: 0 0 7px !important;
    color: var(--wwb-text) !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    letter-spacing: -.035em !important;
  }

  .wwb-randos-info-grid p {
    margin: 0 !important;
    color: var(--wwb-body) !important;
    font-size: 12.8px !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;
  }

  /* Fin typographie commune alignée fiche randonnée */


  /* WWB - Compacité blocs body Randonnées */
  .wwb-randos-intro-grid {
    gap: 10px !important;
    margin-top: 12px !important;
    margin-bottom: 24px !important;
    align-items: stretch !important;
  }

  .wwb-randos-intro-main {
    padding: 18px 20px !important;
    min-height: 0 !important;
  }

  .wwb-randos-intro-main h2 {
    max-width: 620px !important;
    margin: 7px 0 8px !important;
    font-size: clamp(19px, 2vw, 25px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
  }

  .wwb-randos-intro-main p {
    max-width: 680px !important;
    font-size: 12.6px !important;
    line-height: 1.44 !important;
    font-weight: 620 !important;
  }

  .wwb-randos-mini-card {
    padding: 11px 12px !important;
    min-height: 0 !important;
  }

  .wwb-randos-mini-card strong {
    font-size: 15px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em !important;
  }

  .wwb-randos-mini-card span {
    margin-top: 4px !important;
    font-size: 9.2px !important;
    line-height: 1.05 !important;
    letter-spacing: .08em !important;
  }

  .wwb-randos-mini-card p {
    margin-top: 5px !important;
    font-size: 11.4px !important;
    line-height: 1.32 !important;
    font-weight: 620 !important;
  }

  .wwb-randos-mini-card a,
  .wwb-randos-mini-card button {
    margin-top: 8px !important;
    min-height: 28px !important;
    padding: 6px 9px !important;
    border-radius: 10px !important;
    font-size: 10.8px !important;
    line-height: 1 !important;
  }

  .wwb-pill-list {
    gap: 5px !important;
    margin-top: 5px !important;
  }

  .wwb-pill-list button {
    min-height: 24px !important;
    padding: 5px 8px !important;
    font-size: 10.2px !important;
  }

  .wwb-selector-head {
    margin-bottom: 10px !important;
  }

  .wwb-selector-head h2 {
    margin: 6px 0 0 !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
  }

  .wwb-selector-head p {
    max-width: 680px !important;
    margin-top: 5px !important;
    font-size: 12.6px !important;
    line-height: 1.42 !important;
    font-weight: 620 !important;
  }

  .wwb-intro-label {
    gap: 8px !important;
    margin-bottom: 6px !important;
    font-size: 9.4px !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
  }

  .wwb-intro-label::before {
    width: 22px !important;
    height: 2px !important;
  }

  .wwb-randos-info-grid {
    gap: 12px !important;
    padding-bottom: 42px !important;
  }

  .wwb-randos-info-grid article {
    padding: 14px 15px !important;
    border-radius: 16px !important;
  }

  .wwb-randos-info-grid h3 {
    margin: 0 0 5px !important;
    font-size: 15px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
  }

  .wwb-randos-info-grid p {
    font-size: 11.8px !important;
    line-height: 1.38 !important;
    font-weight: 620 !important;
  }

  @media (max-width: 980px) {
    .wwb-randos-intro-main {
      padding: 16px !important;
    }

    .wwb-randos-intro-main h2,
    .wwb-selector-head h2 {
      font-size: 22px !important;
    }
  }

  /* Fin compacité blocs body Randonnées */


  /* WWB - Respiration mini-cartes Randonnées */
  .wwb-randos-intro-grid {
    gap: 14px !important;
  }

  .wwb-randos-mini-card {
    min-height: 132px !important;
    padding: 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    border-radius: 19px !important;
  }

  .wwb-randos-mini-card strong {
    font-size: 16.2px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -0.028em !important;
  }

  .wwb-randos-mini-card span {
    margin-top: 6px !important;
    font-size: 9.8px !important;
    line-height: 1.1 !important;
    letter-spacing: .09em !important;
  }

  .wwb-randos-mini-card p {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    font-size: 12.2px !important;
    line-height: 1.42 !important;
    font-weight: 620 !important;
  }

  .wwb-randos-mini-card a,
  .wwb-randos-mini-card button {
    margin-top: auto !important;
    min-height: 30px !important;
    padding: 7px 11px !important;
    border-radius: 11px !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .wwb-randos-mini-card .wwb-pill-list,
  .wwb-randos-mini-card [data-department-summary] {
    margin-top: 11px !important;
    gap: 7px !important;
  }

  .wwb-randos-mini-card .wwb-pill-list button,
  .wwb-randos-mini-card [data-department-summary] button {
    min-height: 27px !important;
    padding: 6px 9px !important;
    font-size: 10.8px !important;
  }

  /* Fin respiration mini-cartes Randonnées */


  /* WWB - Respiration boutons mini-cartes */
  .wwb-randos-mini-card {
    min-height: 142px !important;
    padding: 17px 18px 16px !important;
  }

  .wwb-randos-mini-card p {
    margin-top: 8px !important;
    margin-bottom: 12px !important;
    font-size: 12px !important;
    line-height: 1.40 !important;
  }

  .wwb-randos-mini-card a,
  .wwb-randos-mini-card button {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    min-height: 31px !important;
    padding: 7px 12px !important;
    border-radius: 11px !important;
    font-size: 10.9px !important;
    line-height: 1 !important;
  }

  .wwb-randos-mini-card [data-department-summary] {
    margin-top: 13px !important;
    margin-bottom: 4px !important;
  }

  .wwb-randos-mini-card [data-department-summary] button {
    min-height: 28px !important;
    padding: 6px 10px !important;
  }

  /* Fin respiration boutons mini-cartes */


  /* WWB - Fin de page Randonnées sans blocs bas */
  .wwb-randos-selector-section {
    padding-bottom: 44px !important;
  }

  /* Fin page Randonnées sans blocs bas */



/* ==========================================================
   WWB EXTRACTION CSS RANDO FICHE V1
   ========================================================== */


  :root {
    --wwb-bg: #F6F3EE;
    --wwb-paper: #FFFFFF;
    --wwb-paper-soft: #FBFAF7;
    --wwb-text: #1F2933;
    --wwb-body: #33404A;
    --wwb-muted: #5F6B76;
    --wwb-green: #3F6F4F;
    --wwb-green-soft: #DDE8D8;
    --wwb-orange: #C56A34;
    --wwb-night: #252B3A;
    --wwb-line: rgba(31, 41, 51, .10);
    --wwb-shadow: 0 14px 34px rgba(31, 41, 51, .11);
    --wwb-shadow-soft: 0 8px 22px rgba(31, 41, 51, .075);
    --wwb-radius-xl: 24px;
    --wwb-radius-lg: 20px;
    --wwb-pill: 999px;
    --wwb-max: 1440px;
  }

  body.wwb-rando-fiche-template-active .ct-header,
  body.wwb-rando-fiche-template-active #header,
  body.wwb-rando-fiche-template-active header.site-header,
  body.wwb-rando-fiche-template-active .site-header,
  body.wwb-rando-fiche-template-active [data-header] {
    display: none !important;
  }

  body.wwb-rando-fiche-template-active {
    background: var(--wwb-bg);
  }

  .wwb-rando-fiche-page {
    background: var(--wwb-bg);
    color: var(--wwb-text);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14.5px;
    line-height: 1.48;
    font-weight: 570;
    letter-spacing: -.01em;
  }

  .wwb-container {
    width: 100%;
    margin: 0 auto;
  }


  .wwb-rando-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
    padding: 0 0 44px;
  }

  .wwb-main-stack {
    display: grid;
    gap: 16px;
  }

  .wwb-section-card,
  .wwb-side-card {
    background: var(--wwb-paper);
    border: 1px solid rgba(31,41,51,.06);
    border-radius: var(--wwb-radius-lg);
    box-shadow: var(--wwb-shadow-soft);
  }

  .wwb-section-card {
    padding: 22px;
  }

  .wwb-section-card h2,
  .wwb-side-card h3 {
    margin: 0 0 9px;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.045em;
  }

  .wwb-section-card p {
    margin: 0 0 11px;
    color: var(--wwb-body);
    font-size: 13.7px;
    font-weight: 650;
  }

  .wwb-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--wwb-green);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .wwb-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--wwb-orange);
    border-radius: 99px;
  }

  .wwb-step-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
  }

  .wwb-step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: var(--wwb-paper-soft);
    border: 1px solid var(--wwb-line);
  }

  .wwb-step b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--wwb-green-soft);
    color: var(--wwb-green);
    font-size: 12px;
    font-weight: 950;
  }

  .wwb-step strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 950;
  }

  .wwb-step span {
    color: var(--wwb-body);
    font-size: 12.8px;
    font-weight: 650;
  }

  .wwb-map-placeholder {
    position: relative;
    min-height: 390px;
    border-radius: 20px;
    overflow: hidden;
    background:
      radial-gradient(circle at 72% 30%, rgba(197,106,52,.22), transparent 25%),
      radial-gradient(circle at 35% 72%, rgba(63,111,79,.22), transparent 28%),
      linear-gradient(135deg, #4F7059 0%, #334854 58%, #252B3A 100%);
  }

  .wwb-map-note {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(360px, calc(100% - 42px));
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.92);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--wwb-shadow);
  }

  .wwb-map-note strong {
    display: block;
    margin-bottom: 7px;
    font-size: 18px;
    font-weight: 950;
  }

  .wwb-map-note p {
    margin: 0;
    font-size: 12.8px;
  }

  /* WWB RANDO GALLERY PORTRAIT CANON - START */
  .wwb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
    align-items: stretch;
  }

  .wwb-gallery-main,
  .wwb-gallery-small,
  .wwb-presentation-img,
  .wwb-nearby-img {
    position: relative;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #536b72, #d0a168);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
  }

  .wwb-gallery-main,
  .wwb-gallery-small {
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .wwb-gallery-main {
    grid-column: auto;
  }

  .wwb-gallery-side {
    display: contents;
  }

  .wwb-photo-label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: var(--wwb-pill);
    background: rgba(0,0,0,.25);
    color: #fff;
    font-size: 10.5px;
    font-weight: 850;
    backdrop-filter: blur(10px);
  }

  .wwb-gallery-more {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    color: var(--wwb-muted);
    font-size: 12.5px;
  }

  .wwb-gallery-more button {
    border: 0;
    border-radius: var(--wwb-pill);
    padding: 10px 14px;
    background: var(--wwb-green);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
  }
  /* WWB RANDO GALLERY PORTRAIT CANON - END */

  .wwb-sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
  }

  .wwb-side-card {
    padding: 18px;
  }

  .wwb-side-card h3 {
    font-size: 18px;
  }

  .wwb-presentation-img {
    min-height: 320px;
    aspect-ratio: 4 / 5;
    width: 100%;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #C8B28C, #60735D);
    background-size: cover;
    background-position: center;
  }

  .wwb-info-list {
    display: grid;
    gap: 9px;
  }

  .wwb-info-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--wwb-line);
    font-size: 12.8px;
    font-weight: 750;
  }

  .wwb-info-row:last-child {
    border-bottom: 0;
  }

  .wwb-info-row span {
    color: var(--wwb-muted);
  }

  .wwb-info-row strong {
    color: var(--wwb-text);
    text-align: right;
  }

  .wwb-warning {
    border-left: 4px solid var(--wwb-orange);
    background: #fff8f3;
    padding: 14px;
    border-radius: 14px;
    color: var(--wwb-body);
    font-size: 12.8px;
    font-weight: 650;
  }

  .wwb-full-btn {
    width: 100%;
  }

  .wwb-nearby-section {
    padding-bottom: 52px;
  }

  .wwb-nearby-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 12px;
  }

  .wwb-nearby-head h2 {
    margin: 8px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.05em;
  }

  .wwb-nearby-head p {
    margin: 6px 0 0;
    color: var(--wwb-body);
    font-size: 13.5px;
    font-weight: 650;
  }

  .wwb-nearby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .wwb-nearby-card {
    background: var(--wwb-paper);
    border: 1px solid rgba(31,41,51,.06);
    border-radius: var(--wwb-radius-lg);
    box-shadow: var(--wwb-shadow-soft);
    padding: 16px;
  }

  .wwb-nearby-img {
    height: 108px;
    background: linear-gradient(135deg, #60735d, #c8b28c);
    margin-bottom: 12px;
  }

  .wwb-nearby-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.16;
    font-weight: 950;
  }

  .wwb-nearby-card p {
    margin: 0;
    color: var(--wwb-body);
    font-size: 12.8px;
    font-weight: 650;
  }

  .wwb-lightbox-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--wwb-paper-soft);
    border: 1px solid var(--wwb-line);
    color: var(--wwb-muted);
    font-size: 12.5px;
    font-weight: 750;
  }

  @media (max-width: 980px) {
    .wwb-rando-layout {
      grid-template-columns: 1fr;
    }

    .wwb-sidebar {
      position: static;
    }

    .wwb-nearby-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 760px) {
    .wwb-container {
    width: 100%;
    }

.wwb-gallery-grid {
      grid-template-columns: 1fr;
    }

    .wwb-nearby-head {
      align-items: flex-start;
      flex-direction: column;
    }
  }
.wwb-rando-fiche-page .wwb-map-placeholder {
    min-height: 500px !important;
    aspect-ratio: 4 / 3;
  }

  @media (max-width: 980px) {
    .wwb-rando-fiche-page .wwb-map-placeholder {
      min-height: 420px !important;
      aspect-ratio: auto;
    }
  }

  @media (max-width: 760px) {
.wwb-rando-fiche-page .wwb-map-placeholder {
      min-height: 360px !important;
    }
  }
.wwb-rando-mini-header {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-18px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .wwb-rando-mini-header.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .wwb-rando-mini-inner {
    width: min(var(--wwb-max), calc(100% - 32px));
    min-height: 54px;
    margin: 0 auto;
    padding: 8px 10px 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 18px;
    background: rgba(37, 43, 58, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 34px rgba(31, 41, 51, 0.18);
    backdrop-filter: blur(18px);
    pointer-events: auto;
  }

  .wwb-rando-mini-text {
    min-width: 0;
    display: grid;
    gap: 2px;
    color: #fff;
  }

  .wwb-rando-mini-text span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
  }

  .wwb-rando-mini-text strong {
    display: block;
    max-width: 620px;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    line-height: 1.16;
    font-weight: 850;
    letter-spacing: -0.018em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wwb-rando-mini-menu {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .wwb-rando-mini-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
  }

  .wwb-rando-mini-menu a:hover {
    background: rgba(255, 255, 255, 0.16);
  }

  @media (max-width: 760px) {
    .wwb-rando-mini-header {
      top: 8px;
    }

    .wwb-rando-mini-inner {
      width: min(var(--wwb-max), calc(100% - 20px));
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
      padding: 10px;
      border-radius: 16px;
    }

    .wwb-rando-mini-text strong {
      max-width: 100%;
      font-size: 13px;
      white-space: normal;
    }

    .wwb-rando-mini-menu {
      width: 100%;
      overflow-x: auto;
    }
  }
.wwb-rando-fiche-page .wwb-step-list-scroll {
    max-height: 286px;
    overflow-y: auto;
    padding-right: 7px;
    overscroll-behavior: contain;
  }

  .wwb-rando-fiche-page .wwb-step-list-scroll::-webkit-scrollbar {
    width: 7px;
  }

  .wwb-rando-fiche-page .wwb-step-list-scroll::-webkit-scrollbar-track {
    background: rgba(31, 41, 51, 0.06);
    border-radius: 999px;
  }

  .wwb-rando-fiche-page .wwb-step-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(63, 111, 79, 0.42);
    border-radius: 999px;
  }

  .wwb-rando-fiche-page .wwb-step-list-scroll .wwb-step {
    min-height: 58px;
  }

  .wwb-rando-fiche-page .wwb-presentation-img {
    background-size: cover !important;
    background-position: center !important;
  }
.wwb-rando-fiche-page .wwb-description-content {
    color: var(--wwb-body);
    font-size: 13.8px;
    line-height: 1.64;
    font-weight: 620;
  }

  .wwb-rando-fiche-page .wwb-description-content p {
    margin: 0 0 12px;
  }

  .wwb-rando-fiche-page .wwb-description-content p:last-child {
    margin-bottom: 0;
  }

  .wwb-rando-fiche-page .wwb-description-content strong {
    color: var(--wwb-text);
    font-weight: 850;
  }
.wwb-rando-fiche-page .wwb-gallery-main,
  .wwb-rando-fiche-page .wwb-gallery-small,
  .wwb-rando-fiche-page .wwb-nearby-img {
    background-size: cover !important;
    background-position: center !important;
  }

  .wwb-rando-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(14px, 3vw, 30px);
    overflow: auto;
    background: rgba(37, 43, 58, 0.76);
    box-sizing: border-box;
  }

  .wwb-rando-lightbox.is-open {
    display: flex;
  }

  .wwb-rando-lightbox-box {
    position: relative;
    width: min(92vw, 720px);
    max-width: 92vw;
    height: min(90vh, 900px);
    height: min(90dvh, 900px);
    max-height: 90vh;
    max-height: 90dvh;
    margin: auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    background: #0f1720;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    box-sizing: border-box;
  }

  .wwb-rando-lightbox-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #0f1720;
    overflow: hidden;
  }

  .wwb-rando-lightbox-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }

  .wwb-rando-lightbox-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 24%;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent);
  }

  .wwb-rando-lightbox-bar {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
  }

  .wwb-rando-lightbox-bar button {
    position: absolute;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: rgba(15, 23, 32, 0.62);
    color: transparent;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(12px);
    pointer-events: auto;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  }

  .wwb-rando-lightbox-bar button::before {
    color: #fff;
    font-size: 24px;
    font-weight: 850;
    line-height: 1;
  }

  .wwb-rando-lightbox-bar button:hover {
    border-color: rgba(255, 255, 255, 0.76);
    background: rgba(15, 23, 32, 0.84);
  }

  .wwb-rando-lightbox-bar button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.82);
    outline-offset: 3px;
  }

  .wwb-rando-lightbox-bar button:first-of-type,
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-prev,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-prev] {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  .wwb-rando-lightbox-bar button:first-of-type:hover,
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-prev:hover,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-prev]:hover {
    transform: translateY(calc(-50% - 1px));
  }

  .wwb-rando-lightbox-bar button:first-of-type::before,
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-prev::before,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-prev]::before {
    content: "‹";
  }

  .wwb-rando-lightbox-bar button:nth-of-type(2),
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-next,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-next] {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  .wwb-rando-lightbox-bar button:nth-of-type(2):hover,
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-next:hover,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-next]:hover {
    transform: translateY(calc(-50% - 1px));
  }

  .wwb-rando-lightbox-bar button:nth-of-type(2)::before,
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-next::before,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-next]::before {
    content: "›";
  }

  .wwb-rando-lightbox-bar button:nth-of-type(3),
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-close,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-close] {
    top: 18px;
    right: 18px;
    transform: none;
  }

  .wwb-rando-lightbox-bar button:nth-of-type(3):hover,
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-close:hover,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-close]:hover {
    transform: translateY(-1px);
  }

  .wwb-rando-lightbox-bar button:nth-of-type(3)::before,
  .wwb-rando-lightbox-bar button.wwb-rando-lightbox-close::before,
  .wwb-rando-lightbox-bar button[data-wwb-gallery-close]::before {
    content: "×";
    font-size: 24px;
  }

  .wwb-rando-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    min-width: 86px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.50);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
    backdrop-filter: blur(10px);
    transform: translateX(-50%);
    pointer-events: auto;
  }

  @media (max-width: 760px) {
    .wwb-rando-lightbox {
      padding: 12px;
    }

    .wwb-rando-lightbox-box {
      width: min(94vw, 520px);
      max-width: 94vw;
      height: min(88vh, 760px);
      height: min(88dvh, 760px);
      max-height: 88vh;
      max-height: 88dvh;
      border-radius: 20px;
    }

    .wwb-rando-lightbox-bar button {
      width: 42px;
      height: 42px;
    }

    .wwb-rando-lightbox-bar button::before {
      font-size: 22px;
    }

    .wwb-rando-lightbox-bar button:first-of-type,
    .wwb-rando-lightbox-bar button.wwb-rando-lightbox-prev,
    .wwb-rando-lightbox-bar button[data-wwb-gallery-prev] {
      left: 10px;
    }

    .wwb-rando-lightbox-bar button:nth-of-type(2),
    .wwb-rando-lightbox-bar button.wwb-rando-lightbox-next,
    .wwb-rando-lightbox-bar button[data-wwb-gallery-next] {
      right: 10px;
    }

    .wwb-rando-lightbox-bar button:nth-of-type(3),
    .wwb-rando-lightbox-bar button.wwb-rando-lightbox-close,
    .wwb-rando-lightbox-bar button[data-wwb-gallery-close] {
      top: 10px;
      right: 10px;
    }

    .wwb-rando-lightbox-counter {
      bottom: 12px;
      min-width: 76px;
      padding: 8px 12px;
      font-size: 11.5px;
    }
  }

  .wwb-rando-fiche-page .wwb-presentation-img .wwb-photo-label {
    display: none !important;
  }
/* ne pas écraser le background inline du hero, juste alléger l'ambiance */
/* Plus de texte dans l'image de présentation */
  .wwb-rando-fiche-page .wwb-presentation-img .wwb-photo-label {
    display: none !important;
  }
/* On ne touche pas au background du hero ici */
.wwb-rando-fiche-page .wwb-btn[disabled],
  .wwb-rando-fiche-page .wwb-btn[aria-disabled="true"] {
    opacity: 0.62;
    cursor: not-allowed;
    box-shadow: none;
  }

  .wwb-rando-fiche-page .wwb-map-note {
    max-width: 420px;
  }
.wwb-rando-fiche-page .wwb-nearby-card a {
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .wwb-rando-fiche-page .wwb-nearby-card a:hover .wwb-nearby-img {
    transform: scale(1.02);
    transition: transform 0.18s ease;
  }
.wwb-rando-fiche-page .wwb-info-row strong {
    white-space: nowrap;
  }


/* Carte : marges cohérentes avec les blocs médias */
  .wwb-rando-fiche-page #carte.wwb-section-card {
    padding-left: 22px !important;
    padding-right: 22px !important;
    overflow: hidden;
  }

  .wwb-rando-fiche-page #carte.wwb-section-card > .wwb-label,
  .wwb-rando-fiche-page #carte.wwb-section-card > h2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wwb-rando-fiche-page #carte.wwb-section-card > .wwb-map-placeholder {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Carte Mapbox */
  .wwb-rando-fiche-page .wwb-map-placeholder {
    position: relative;
    min-height: 520px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    background: #d7ddd7 !important;
  }

  .wwb-rando-fiche-page #wwb-rando-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
  }

  /* Aide utilisateur pour la 3D */
  .wwb-rando-fiche-page .wwb-rando-map-help {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 4;
    max-width: 300px;
    padding: 9px 11px;
    border-radius: 14px;
    background: rgba(31,41,51,.84);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .wwb-rando-fiche-page .wwb-rando-map-help strong {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .wwb-rando-fiche-page .wwb-rando-map-help span {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    color: rgba(255,255,255,.92);
  }

  /* Profil altimétrique */
  .wwb-rando-fiche-page .wwb-rando-elevation {
    position: relative;
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(246,243,238,0.96) 0%, rgba(237,233,227,0.98) 100%) !important;
    border: 1px solid rgba(31,41,51,.08);
    padding: 14px 16px 12px;
  }

  .wwb-rando-fiche-page .wwb-rando-elevation-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px !important;
  }

  .wwb-rando-fiche-page .wwb-rando-elevation-head strong {
    font-size: 14px;
    font-weight: 900;
    color: #1f2933;
  }

  .wwb-rando-fiche-page #wwb-rando-elevation-help {
    font-size: 11px;
    color: #5f6b76;
    font-weight: 800;
  }

  .wwb-rando-fiche-page .wwb-rando-elevation-frame {
    position: relative;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    padding: 14px 16px 14px !important;
  }

  .wwb-rando-fiche-page .wwb-rando-elevation-chart {
    position: relative;
    padding-top: 26px !important;
    padding-bottom: 38px !important;
  }

  .wwb-rando-fiche-page .wwb-rando-elevation-ytitle {
    position: absolute;
    left: 22px !important;
    top: 7px !important;
    font-size: 12px;
    font-weight: 900;
    color: #5f6b76;
    line-height: 1;
  }

  .wwb-rando-fiche-page .wwb-rando-elevation-xtitle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 7px !important;
    font-size: 12px;
    font-weight: 900;
    color: #5f6b76;
    line-height: 1;
  }

  .wwb-rando-fiche-page #wwb-rando-elevation-canvas {
    display: block;
    width: 100%;
    height: 190px !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .wwb-rando-fiche-page .wwb-rando-elevation-tooltip {
    margin-top: 0;
    position: absolute;
    z-index: 6;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(31,41,51,.92);
    color: #fff;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0,0,0,.20);
    pointer-events: none;
    white-space: nowrap;
    transform: translateX(-50%);
  }

  .wwb-rando-fiche-page .wwb-rando-elevation-tooltip[hidden] {
    display: none !important;
  }

  @media (max-width: 980px) {
    .wwb-rando-fiche-page .wwb-map-placeholder {
      min-height: 440px;
      height: 440px;
    }
  }

  @media (max-width: 760px) {
    .wwb-rando-fiche-page #carte.wwb-section-card {
      padding-left: 18px !important;
      padding-right: 18px !important;
    }

    .wwb-rando-fiche-page .wwb-map-placeholder {
      min-height: 360px;
      height: 360px;
    }

    .wwb-rando-fiche-page .wwb-rando-map-help {
      left: 10px;
      right: 10px;
      max-width: none;
      top: 10px;
    }

    .wwb-rando-fiche-page .wwb-rando-elevation-head {
      flex-direction: column;
      align-items: flex-start;
    }

    .wwb-rando-fiche-page #wwb-rando-elevation-canvas {
      height: 170px !important;
    }
  }

/* WWB METEO RAPIDE SPACING - START */

.wwb-prepare-page #meteo-rapide .wwb-weather-grid {
  margin-bottom: 26px;
}

.wwb-prepare-page #meteo-rapide .wwb-weather-note {
  margin-top: 0;
}

@media (max-width: 760px) {
  .wwb-prepare-page #meteo-rapide .wwb-weather-grid {
    margin-bottom: 20px;
  }
}

/* WWB METEO RAPIDE SPACING - END */

/* WWB RESPECT INLINE RULES - START */

#respect .wwb-respect-inline-rules {
  margin-top: 18px;
}

#respect .wwb-respect-inline-rules h3 {
  margin: 0 0 8px;
  color: var(--wwb-text, #1F2933);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -.03em;
}

#respect .wwb-respect-inline-rules p {
  margin: 0;
}

/* WWB RESPECT INLINE RULES - END */






/* WWB GLOBAL AFTER HERO GAP - START */

/*
 * Design system WWB :
 * Un seul rythme vertical entre le Hero et le premier élément du corps.
 * Référence visuelle : page Randonnées.
 *
 * Règle volontairement générique :
 * - pas de cas Accueil
 * - pas de cas Préparer
 * - pas de cas Portfolio
 * - pas de cas Randonnées
 *
 * Toute page WWB actuelle ou future doit utiliser :
 * .wwb-struct-page > .wwb-struct-hero
 */

:root {
  --wwb-after-hero-gap: 16px;
}

.wwb-struct-page > .wwb-struct-hero {
  margin-bottom: var(--wwb-after-hero-gap);
}

.wwb-struct-page > .wwb-struct-hero + * {
  margin-top: 0 !important;
}

/* WWB GLOBAL AFTER HERO GAP - END */

/* WWB HOME INTRO BIO CANONICAL LAYOUT - START */

/*
 * Version canonique du haut de la page Accueil.
 * Une seule source de vérité pour :
 * - bloc présentation
 * - bloc bio
 * - icônes
 * - boutons sociaux
 */

.wwb-home-topline {
  align-items: stretch;
  gap: clamp(28px, 4vw, 48px);
}

.wwb-home-intro-card,
.wwb-home-bio {
  min-height: 455px;
}

/* Bloc présentation : texte structuré + icônes en bas */
.wwb-home-intro-card {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: 18px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.wwb-home-intro-card::before,
.wwb-home-intro-card::after {
  display: none;
}

.wwb-home-intro-content {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 690px;
}

.wwb-home-page .wwb-home-intro-card .wwb-home-label {
  display: block;
  width: 100%;
  margin: 0 0 28px !important;
  text-align: center;
}

.wwb-home-page .wwb-home-intro-card h2 {
  max-width: 560px;
  margin: 0 0 28px !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
  letter-spacing: -.035em;
}

.wwb-home-intro-copy {
  align-self: center;
  width: 100%;
}

.wwb-home-page .wwb-home-intro-copy p {
  max-width: 690px;
  margin: 0;
  font-size: clamp(14px, 1vw, 15.5px);
  line-height: 1.72;
  font-weight: 650;
}

.wwb-home-page .wwb-home-intro-copy p + p {
  margin-top: 18px;
}

.wwb-home-page .wwb-home-intro-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
  max-width: 660px;
  margin: auto auto 0;
  padding-top: 18px;
  padding-bottom: 0;
}

.wwb-home-page .wwb-home-intro-icon {
  display: flex;
  min-width: 92px;
  min-height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--wwb-text, #1F2933);
  text-align: center;
  text-decoration: none;
}

.wwb-home-page .wwb-home-intro-icon img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain;
}

.wwb-home-page .wwb-home-intro-icon span {
  font-size: 12.5px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.01em;
}

.wwb-home-page a.wwb-home-intro-icon:hover,
.wwb-home-page a.wwb-home-intro-icon:focus {
  transform: translateY(-2px);
  color: var(--wwb-green, #3F6F4F);
}

/* Bloc bio */
.wwb-home-bio {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.wwb-home-page .wwb-home-bio h2 {
  margin-bottom: 24px !important;
  font-size: 22px !important;
  line-height: 1.16 !important;
  letter-spacing: -.04em;
}

.wwb-home-page .wwb-home-bio p {
  max-width: 470px;
  line-height: 1.72;
}

.wwb-home-page .wwb-home-bio p + p {
  margin-top: 18px;
}

.wwb-home-bio-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.wwb-home-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(31, 41, 51, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.wwb-home-social-btn svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wwb-home-social-facebook svg {
  fill: currentColor;
  stroke: none;
}

.wwb-home-social-btn:hover,
.wwb-home-social-btn:focus {
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none !important;
  filter: saturate(1.08);
  box-shadow: 0 16px 28px rgba(31, 41, 51, .18);
}

.wwb-home-social-instagram {
  background: linear-gradient(135deg, #833AB4 0%, #C13584 42%, #F77737 100%);
}

.wwb-home-social-facebook {
  background: #1877F2;
}

@media (max-width: 1100px) {
  .wwb-home-intro-card,
  .wwb-home-bio {
    min-height: 0;
  }

  .wwb-home-intro-card {
    padding-top: 10px;
  }

  .wwb-home-intro-content {
    display: block;
  }

  .wwb-home-page .wwb-home-intro-icons {
    margin-top: 30px;
    padding-top: 0;
  }

  .wwb-home-bio-socials {
    margin-top: 22px;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .wwb-home-page .wwb-home-intro-card .wwb-home-label,
  .wwb-home-page .wwb-home-intro-card h2 {
    margin-bottom: 22px !important;
  }

  .wwb-home-page .wwb-home-intro-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 360px;
  }

  .wwb-home-page .wwb-home-intro-icon img {
    width: 34px !important;
    height: 34px !important;
  }

  .wwb-home-social-btn {
    min-width: 140px;
    flex: 1 1 140px;
  }
}

/* WWB HOME INTRO BIO CANONICAL LAYOUT - END */

/* WWB HOME INTRO ICONS 115 - START */

/*
 * Home intro icons : +15%.
 * Base desktop précédente : 38px -> 44px.
 * Base mobile précédente : 34px -> 39px.
 */

.wwb-home-page .wwb-home-intro-icon {
  min-height: 94px;
}

.wwb-home-page .wwb-home-intro-icon img {
  width: 44px !important;
  height: 44px !important;
}

@media (max-width: 760px) {
  .wwb-home-page .wwb-home-intro-icon {
    min-height: 78px;
  }

  .wwb-home-page .wwb-home-intro-icon img {
    width: 39px !important;
    height: 39px !important;
  }
}

/* WWB HOME INTRO ICONS 115 - END */

/* WWB HOME INDEX RHYTHM 75 - START */

/*
 * Rythme vertical spécifique à la page d’accueil.
 * Le design system global conserve Hero -> contenu = 16px.
 * La home ajoute 59px de padding-top pour obtenir 75px au total.
 */

.wwb-home-page .wwb-home-after-hero {
  padding-top: 59px !important;
}

.wwb-home-page .wwb-home-topline + .wwb-home-entrycards {
  margin-top: 75px !important;
}

.wwb-home-page .wwb-home-entrycards + .wwb-home-instagram {
  margin-top: 75px !important;
}

.wwb-home-page + .wwb-site-footer {
  margin-top: 75px !important;
}

@media (max-width: 760px) {
  .wwb-home-page .wwb-home-after-hero {
    padding-top: 59px !important;
  }

  .wwb-home-page .wwb-home-topline + .wwb-home-entrycards,
  .wwb-home-page .wwb-home-entrycards + .wwb-home-instagram,
  .wwb-home-page + .wwb-site-footer {
    margin-top: 75px !important;
  }
}

/* WWB HOME INDEX RHYTHM 75 - END */

/* WWB HOME PATHS HEADING - START */

.wwb-home-paths-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  margin: 0 0 22px;
  color: var(--wwb-text, #1F2933);
}

.wwb-home-paths-heading h2 {
  margin: 0;
  color: var(--wwb-text, #1F2933);
  font-size: 16px !important;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -.035em;
  text-align: center;
  white-space: nowrap;
}

.wwb-home-paths-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wwb-green, #3F6F4F);
}

.wwb-home-paths-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wwb-home-paths-icon .wwb-paths-mountain-fill {
  fill: rgba(232, 238, 225, .72);
  stroke: none;
}

.wwb-home-paths-icon circle {
  fill: rgba(208, 161, 104, .65);
  stroke: none;
}

@media (max-width: 560px) {
  .wwb-home-paths-heading {
    gap: 9px;
  }

  .wwb-home-paths-heading h2 {
    font-size: 16px !important;
    white-space: normal;
  }

  .wwb-home-paths-icon {
    width: 27px;
    height: 27px;
  }
}

/* WWB HOME PATHS HEADING - END */\n\n/* WWB HOME PATHS HEADING - START */

.wwb-home-paths-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 22px;
  color: var(--wwb-text, #1F2933);
}

.wwb-home-paths-heading h2 {
  margin: 0;
  color: var(--wwb-text, #1F2933);
  font-size: 16px !important;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.035em;
  text-align: center;
  white-space: nowrap;
}

.wwb-home-paths-line {
  display: block;
  width: clamp(42px, 5vw, 74px);
  height: 1px;
  flex: 0 0 auto;
  background: rgba(63, 111, 79, .52);
  transform: translateY(.5px);
}

@media (max-width: 560px) {
  .wwb-home-paths-heading {
    gap: 10px;
  }

  .wwb-home-paths-heading h2 {
    font-size: 16px !important;
    white-space: normal;
  }

  .wwb-home-paths-line {
    width: 30px;
  }
}

/* WWB HOME PATHS HEADING - END */\n
/* WWB HOME PATHS LINES CENTERED - START */

/*
 * Intertitre home : barres longues et alignées
 * sur le centre vertical du texte.
 */

.wwb-home-paths-heading {
  align-items: center !important;
  gap: 16px !important;
}

.wwb-home-paths-heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
  line-height: 1 !important;
}

.wwb-home-paths-line {
  width: clamp(92px, 9vw, 150px) !important;
  height: 1px !important;
  align-self: center;
  position: relative;
  top: 0.02em;
  background: rgba(63, 111, 79, .56) !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .wwb-home-paths-line {
    width: clamp(42px, 18vw, 86px) !important;
  }
}

@media (max-width: 420px) {
  .wwb-home-paths-heading {
    gap: 10px !important;
  }

  .wwb-home-paths-line {
    width: 34px !important;
  }
}

/* WWB HOME PATHS LINES CENTERED - END */

/* WWB HOME RHYTHM WITH PATHS HEADING - START */

/*
 * Rythme index après ajout de l’intertitre "3 chemins".
 * L’intertitre appartient au bloc des cartes.
 */

.wwb-home-page .wwb-home-topline + .wwb-home-paths-heading {
  margin-top: 75px !important;
  margin-bottom: 22px !important;
}

.wwb-home-page .wwb-home-paths-heading + .wwb-home-entrycards {
  margin-top: 0 !important;
}

.wwb-home-page .wwb-home-entrycards + .wwb-home-instagram {
  margin-top: 75px !important;
}

.wwb-home-page + .wwb-site-footer {
  margin-top: 75px !important;
}

@media (max-width: 760px) {
  .wwb-home-page .wwb-home-topline + .wwb-home-paths-heading {
    margin-top: 75px !important;
    margin-bottom: 22px !important;
  }

  .wwb-home-page .wwb-home-paths-heading + .wwb-home-entrycards {
    margin-top: 0 !important;
  }
}

/* WWB HOME RHYTHM WITH PATHS HEADING - END */

/* WWB HOME CARDS TYPO MATCH INTRO - START */

/*
 * Home : harmonisation typographique des 3 cartes
 * avec le bloc présentation.
 */

.wwb-home-page .wwb-home-entrycard h2,
.wwb-home-page .wwb-home-entrycard h3,
.wwb-home-page .wwb-home-entrycards article h2,
.wwb-home-page .wwb-home-entrycards article h3 {
  font-size: 20px !important;
  line-height: 1.18 !important;
  letter-spacing: -.035em;
  font-weight: 950;
  margin-bottom: 18px !important;
}

.wwb-home-page .wwb-home-entrycard p,
.wwb-home-page .wwb-home-entrycards article p {
  font-size: clamp(14px, 1vw, 15.5px) !important;
  line-height: 1.72 !important;
  font-weight: 650;
  margin-top: 0;
}

@media (max-width: 760px) {
  .wwb-home-page .wwb-home-entrycard h2,
  .wwb-home-page .wwb-home-entrycard h3,
  .wwb-home-page .wwb-home-entrycards article h2,
  .wwb-home-page .wwb-home-entrycards article h3 {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }
}

/* WWB HOME CARDS TYPO MATCH INTRO - END */

/* WWB DIMENSIONS TOOL VISIBLE FRAME - START */

/*
 * Outil dimensions admin :
 * rend le contour complet des blocs vraiment visible.
 * Ne s’applique que quand l’outil ajoute .wwb-dim-target.
 */

.wwb-dim-target {
  outline: 1px dashed rgba(63, 111, 79, .48) !important;
  outline-offset: 0 !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .22) inset,
    0 0 0 2px rgba(63, 111, 79, .30) !important;
}

/* Sur les blocs foncés, le cadre doit rester lisible. */
.wwb-home-entrycard.wwb-dim-target,
.wwb-home-entrycards article.wwb-dim-target {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .38) inset,
    0 0 0 2px rgba(63, 111, 79, .46) !important;
}

/* La pastille reste visible sans masquer la lecture du cadre. */
.wwb-dim-badge {
  z-index: 999999 !important;
  border: 1px solid rgba(255, 255, 255, .36) !important;
}

/* WWB DIMENSIONS TOOL VISIBLE FRAME - END */

/* WWB HERO RAW IMAGE NO OVERLAY - START */

/*
 * Hero WWB : image brute.
 * Les corrections de luminosité/fondu sont gérées dans Photoshop.
 * On neutralise donc les voiles, blur, blend et pseudo-overlays.
 */

.wwb-struct-hero {
  background-blend-mode: normal !important;
  filter: none !important;
}

.wwb-struct-hero::before,
.wwb-struct-hero::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Sécurité : aucun voile enfant direct positionné ne doit couvrir le hero. */
.wwb-struct-hero > .wwb-hero-overlay,
.wwb-struct-hero > .wwb-struct-hero-overlay,
.wwb-struct-hero > .hero-overlay {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* WWB HERO RAW IMAGE NO OVERLAY - END */

/* WWB HERO TEXT READABILITY TEST - START */

/*
 * Test lisibilité Hero :
 * uniquement traitement typographique.
 * Aucun voile, aucun blur, aucun fond ajouté sur la photo.
 */

.wwb-struct-hero-logo,
.wwb-struct-kicker,
.wwb-struct-hero h1,
.wwb-struct-hero p {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .52),
    0 4px 14px rgba(0, 0, 0, .34),
    0 10px 28px rgba(0, 0, 0, .22);
}

.wwb-struct-hero h1 {
  -webkit-text-stroke: .18px rgba(22, 31, 28, .24);
  paint-order: stroke fill;
}

.wwb-struct-hero p {
  -webkit-text-stroke: .12px rgba(22, 31, 28, .20);
  paint-order: stroke fill;
}

/* Les boutons gardent leur style, juste une meilleure lecture du texte. */
.wwb-struct-btn {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}

/* WWB HERO TEXT READABILITY TEST - END */

/* WWB HERO EXCLUDE BRAND TEXT EFFECT - START */

/*
 * Le traitement de lisibilité reste actif sur le titre et le sous-texte,
 * mais pas sur le gros branding "World Wild Ben".
 */

.wwb-struct-hero-logo,
.wwb-struct-hero-logo *,
.wwb-struct-brand,
.wwb-struct-brand *,
.wwb-site-brand,
.wwb-site-brand * {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  paint-order: normal !important;
}

/* WWB HERO EXCLUDE BRAND TEXT EFFECT - END */


/* WWB HOME INSTAGRAM AGNOSTIC BLOCK - START */

/*
 * Accueil : bloc Instagram agnostique.
 * Le contenu dynamique est injecté via wwb_home_instagram_shortcode.
 * Le token et l'auth restent gérés par l'application / plugin Instagram.
 */

.wwb-struct-page .wwb-home-instagram-agnostic,
.wwb-home-page .wwb-home-instagram-agnostic {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.85fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin: clamp(34px, 5vw, 68px) auto;
  padding: clamp(18px, 2.5vw, 30px);
  border: 1px solid rgba(31, 51, 41, .14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(246, 243, 238, .96), rgba(224, 235, 224, .92)),
    var(--wwb-home-bg, none);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px rgba(31, 51, 41, .10);
  overflow: hidden;
}

.wwb-struct-page .wwb-home-instagram-agnostic::before,
.wwb-home-page .wwb-home-instagram-agnostic::before {
  content: "";
  position: absolute;
  inset: auto -8% -38% 28%;
  height: 76%;
  background:
    radial-gradient(circle at 50% 50%, rgba(63, 111, 79, .16), transparent 58%);
  pointer-events: none;
}

.wwb-struct-page .wwb-home-instagram-copy,
.wwb-home-page .wwb-home-instagram-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.wwb-struct-page .wwb-home-instagram-copy .wwb-home-label,
.wwb-home-page .wwb-home-instagram-copy .wwb-home-label {
  margin-bottom: 9px;
}

.wwb-struct-page .wwb-home-instagram-copy h2,
.wwb-home-page .wwb-home-instagram-copy h2 {
  max-width: 15ch;
  margin: 0 0 12px;
  color: #1f3329;
  font-size: clamp(23px, 2.7vw, 36px);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.055em;
}

.wwb-struct-page .wwb-home-instagram-copy p:not(.wwb-home-label),
.wwb-home-page .wwb-home-instagram-copy p:not(.wwb-home-label) {
  max-width: 32ch;
  margin: 0 0 18px;
  color: rgba(31, 51, 41, .78);
  font-size: clamp(14px, 1vw, 15.5px);
  line-height: 1.62;
  font-weight: 650;
}

.wwb-struct-page .wwb-home-instagram-button,
.wwb-home-page .wwb-home-instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  background: #1f3329;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.015em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31, 51, 41, .18);
}

.wwb-struct-page .wwb-home-instagram-feed,
.wwb-home-page .wwb-home-instagram-feed {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
}

.wwb-struct-page .wwb-home-instagram-shortcode,
.wwb-home-page .wwb-home-instagram-shortcode {
  width: 100%;
  min-width: 0;
}

/*
 * Normalisation légère pour les widgets Instagram :
 * le plugin garde son rendu, WWB contrôle seulement le contenant.
 */
.wwb-struct-page .wwb-home-instagram-shortcode iframe,
.wwb-struct-page .wwb-home-instagram-shortcode img,
.wwb-struct-page .wwb-home-instagram-shortcode video,
.wwb-home-page .wwb-home-instagram-shortcode iframe,
.wwb-home-page .wwb-home-instagram-shortcode img,
.wwb-home-page .wwb-home-instagram-shortcode video {
  max-width: 100%;
}

.wwb-struct-page .wwb-home-instagram-shortcode > *,
.wwb-home-page .wwb-home-instagram-shortcode > * {
  max-width: 100%;
}

.wwb-struct-page .wwb-home-instagram-fallback-maquette,
.wwb-home-page .wwb-home-instagram-fallback-maquette {
  width: 100%;
  min-height: 238px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 16px;
  align-items: stretch;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(31, 51, 41, .12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.28));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
  overflow: hidden;
}

.wwb-struct-page .wwb-home-instagram-phone,
.wwb-home-page .wwb-home-instagram-phone {
  position: relative;
  grid-row: 1 / span 2;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(31, 51, 41, .92), rgba(31, 51, 41, .70)),
    linear-gradient(135deg, #dce7dc, #f2eee2);
  box-shadow: 0 16px 32px rgba(31, 51, 41, .18);
  overflow: hidden;
}

.wwb-struct-page .wwb-home-instagram-phone::after,
.wwb-home-page .wwb-home-instagram-phone::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,.18)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 8px, transparent 8px 16px);
}

.wwb-struct-page .wwb-home-instagram-phone-top,
.wwb-home-page .wwb-home-instagram-phone-top {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 38px;
  height: 5px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.58);
}

.wwb-struct-page .wwb-home-instagram-story-ring,
.wwb-home-page .wwb-home-instagram-story-ring {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid rgba(255,255,255,.86);
  box-shadow: 0 0 0 4px rgba(197,106,52,.45);
}

.wwb-struct-page .wwb-home-instagram-phone-line,
.wwb-home-page .wwb-home-instagram-phone-line {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 108px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.50);
}

.wwb-struct-page .wwb-home-instagram-phone-line.short,
.wwb-home-page .wwb-home-instagram-phone-line.short {
  top: 124px;
  right: 44px;
  opacity: .72;
}

.wwb-struct-page .wwb-home-instagram-preview-grid,
.wwb-home-page .wwb-home-instagram-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(78px, 1fr));
  gap: 10px;
  min-width: 0;
}

.wwb-struct-page .wwb-home-instagram-preview-grid span,
.wwb-home-page .wwb-home-instagram-preview-grid span {
  min-height: 154px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(31,51,41,.05), rgba(31,51,41,.24)),
    linear-gradient(135deg, #d7e3d8, #f0eadb);
  box-shadow: 0 10px 22px rgba(31, 51, 41, .10);
}

.wwb-struct-page .wwb-home-instagram-preview-grid span:nth-child(2),
.wwb-home-page .wwb-home-instagram-preview-grid span:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(31,51,41,.06), rgba(31,51,41,.25)),
    linear-gradient(135deg, #c9d8cf, #e9ddc8);
}

.wwb-struct-page .wwb-home-instagram-preview-grid span:nth-child(3),
.wwb-home-page .wwb-home-instagram-preview-grid span:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(31,51,41,.04), rgba(31,51,41,.22)),
    linear-gradient(135deg, #dfe7df, #c9d9d5);
}

.wwb-struct-page .wwb-home-instagram-empty-copy,
.wwb-home-page .wwb-home-instagram-empty-copy {
  grid-column: 2;
  align-self: end;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.58);
  color: rgba(31, 51, 41, .74);
}

.wwb-struct-page .wwb-home-instagram-empty-copy strong,
.wwb-home-page .wwb-home-instagram-empty-copy strong {
  display: block;
  margin-bottom: 3px;
  color: #1f3329;
  font-size: 14px;
  font-weight: 950;
}

.wwb-struct-page .wwb-home-instagram-empty-copy span,
.wwb-home-page .wwb-home-instagram-empty-copy span {
  display: block;
  max-width: 520px;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 700;
}

@media (max-width: 980px) {
  .wwb-struct-page .wwb-home-instagram-agnostic,
  .wwb-home-page .wwb-home-instagram-agnostic {
    grid-template-columns: 1fr;
  }

  .wwb-struct-page .wwb-home-instagram-copy h2,
  .wwb-struct-page .wwb-home-instagram-copy p:not(.wwb-home-label),
  .wwb-home-page .wwb-home-instagram-copy h2,
  .wwb-home-page .wwb-home-instagram-copy p:not(.wwb-home-label) {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .wwb-struct-page .wwb-home-instagram-fallback-maquette,
  .wwb-home-page .wwb-home-instagram-fallback-maquette {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .wwb-struct-page .wwb-home-instagram-preview-grid,
  .wwb-home-page .wwb-home-instagram-preview-grid {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
  }

  .wwb-struct-page .wwb-home-instagram-preview-grid span:nth-child(n+4),
  .wwb-home-page .wwb-home-instagram-preview-grid span:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 560px) {
  .wwb-struct-page .wwb-home-instagram-agnostic,
  .wwb-home-page .wwb-home-instagram-agnostic {
    border-radius: 18px;
    padding: 18px;
  }

  .wwb-struct-page .wwb-home-instagram-button,
  .wwb-home-page .wwb-home-instagram-button {
    width: 100%;
  }

  .wwb-struct-page .wwb-home-instagram-fallback-maquette,
  .wwb-home-page .wwb-home-instagram-fallback-maquette {
    grid-template-columns: 1fr;
  }

  .wwb-struct-page .wwb-home-instagram-phone,
  .wwb-home-page .wwb-home-instagram-phone {
    display: none;
  }

  .wwb-struct-page .wwb-home-instagram-empty-copy,
  .wwb-home-page .wwb-home-instagram-empty-copy {
    grid-column: 1;
  }
}

/* WWB HOME INSTAGRAM AGNOSTIC BLOCK - END */


/* WWB PORTFOLIO QUICKNAV LIKE PREPARE - START */

/*
 * Portfolio : mini-menu aligné visuellement sur la page Préparer.
 * La structure réutilise volontairement .wwb-prepare-quicknav.
 */

.wwb-portfolio-page #portfolio-silence,
.wwb-portfolio-page #portfolio-puissance,
.wwb-portfolio-page #portfolio-solitude,
.wwb-portfolio-page #portfolio-lumiere,
.wwb-portfolio-page #portfolio-sauvage,
.wwb-portfolio-page #portfolio-partage {
  scroll-margin-top: 96px;
}

.wwb-portfolio-page .wwb-portfolio-quicknav a:nth-child(1)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-meteo.svg"); }
.wwb-portfolio-page .wwb-portfolio-quicknav a:nth-child(2)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-gear.svg"); }
.wwb-portfolio-page .wwb-portfolio-quicknav a:nth-child(3)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-gps.svg"); }
.wwb-portfolio-page .wwb-portfolio-quicknav a:nth-child(4)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-safety.svg"); }
.wwb-portfolio-page .wwb-portfolio-quicknav a:nth-child(5)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-respect.svg"); }
.wwb-portfolio-page .wwb-portfolio-quicknav a:nth-child(6)::before { background-image: url("/wp-content/uploads/preparer/icons/nav-checklist.svg"); }

/* WWB PORTFOLIO QUICKNAV LIKE PREPARE - END */


/* WWB PORTFOLIO EMPTY PLACEHOLDER - START */

/*
 * Portfolio : message éditorial pour les séries sans images.
 */

.wwb-portfolio-page .wwb-portfolio-placeholder-empty {
  display: grid;
  gap: 8px;
  min-height: 180px;
  align-content: center;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 22px;
  border: 1px dashed rgba(31, 51, 41, .20);
  background:
    linear-gradient(135deg, rgba(246, 243, 238, .88), rgba(224, 235, 224, .72));
  color: rgba(31, 51, 41, .78);
  text-align: center;
}

.wwb-portfolio-page .wwb-portfolio-placeholder-kicker {
  margin: 0;
  color: var(--wwb-green, #3F6F4F);
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.wwb-portfolio-page .wwb-portfolio-placeholder-empty h3 {
  margin: 0;
  color: var(--wwb-text, #1F2933);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}

.wwb-portfolio-page .wwb-portfolio-placeholder-empty p:not(.wwb-portfolio-placeholder-kicker) {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(31, 51, 41, .72);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 650;
}

.wwb-portfolio-page .wwb-portfolio-placeholder-empty strong {
  color: var(--wwb-green, #3F6F4F);
  font-weight: 950;
}

/* WWB PORTFOLIO EMPTY PLACEHOLDER - END */

/* Cartes de proximité des fiches randonnée */
.wwb-rando-fiche-page .wwb-nearby-grid {
  align-items: stretch;
}

.wwb-rando-fiche-page .wwb-nearby-card {
  overflow: hidden;
}

.wwb-rando-fiche-page .wwb-nearby-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
}

.wwb-rando-fiche-page .wwb-nearby-img {
  width: 100%;
  height: auto !important;
  min-height: 210px !important;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.wwb-rando-fiche-page .wwb-nearby-card h3 {
  margin: 14px 0 7px;
}

.wwb-rando-fiche-page .wwb-nearby-card p {
  margin: 0;
}

@media (max-width: 980px) {
  .wwb-rando-fiche-page .wwb-nearby-img {
    min-height: 190px !important;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .wwb-rando-fiche-page .wwb-nearby-card a {
    padding: 14px;
  }

  .wwb-rando-fiche-page .wwb-nearby-img {
    min-height: 180px !important;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }
}
/* Fin cartes de proximité des fiches randonnée */

/* WWB PORTFOLIO RANDOM GALLERY - START */
/*
 * Portfolio : 4 photos aleatoires par theme.
 * Le diaporama reutilise le style visuel du lightbox des fiches rando.
 */

.wwb-portfolio-page .wwb-portfolio-random-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wwb-portfolio-page .wwb-portfolio-random-grid figure {
  min-height: 210px;
}

.wwb-portfolio-page .wwb-portfolio-photo-button {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.wwb-portfolio-page .wwb-portfolio-photo-button img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1);
  transition: transform .24s ease, filter .24s ease;
}

.wwb-portfolio-page .wwb-portfolio-photo-button:hover img,
.wwb-portfolio-page .wwb-portfolio-photo-button:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.03);
}

.wwb-portfolio-page .wwb-portfolio-photo-button:focus-visible {
  outline: 3px solid rgba(63, 111, 79, .45);
  outline-offset: 3px;
}

.wwb-portfolio-lightbox .wwb-rando-lightbox-counter {
  min-width: 170px;
  text-align: center;
}

@media (max-width: 900px) {
  .wwb-portfolio-page .wwb-portfolio-random-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wwb-portfolio-page .wwb-portfolio-random-grid figure {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .wwb-portfolio-page .wwb-portfolio-random-grid {
    grid-template-columns: 1fr;
  }

  .wwb-portfolio-page .wwb-portfolio-random-grid figure {
    min-height: 220px;
  }
}
/* WWB PORTFOLIO RANDOM GALLERY - END */

/* WWB PORTFOLIO LIGHTBOX CONTAIN - START */
/*
 * Portfolio : le lightbox affiche chaque photo en entier.
 * Cette correction est limitee au lightbox Portfolio.
 */

.wwb-portfolio-lightbox .wwb-rando-lightbox-box {
  width: min(96vw, 1440px);
  max-width: 96vw;
  max-height: 94vh;
}

.wwb-portfolio-lightbox .wwb-rando-lightbox-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(82vh, calc(100vh - 118px));
  max-height: calc(100vh - 118px);
  overflow: hidden;
}

.wwb-portfolio-lightbox .wwb-rando-lightbox-image img,
.wwb-portfolio-lightbox #wwb-portfolio-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
}

.wwb-portfolio-lightbox .wwb-rando-lightbox-bar {
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .wwb-portfolio-lightbox .wwb-rando-lightbox-box {
    width: 96vw;
    max-height: 94vh;
  }

  .wwb-portfolio-lightbox .wwb-rando-lightbox-image {
    height: min(76vh, calc(100vh - 150px));
    max-height: calc(100vh - 150px);
  }

  .wwb-portfolio-lightbox .wwb-rando-lightbox-image img,
  .wwb-portfolio-lightbox #wwb-portfolio-lightbox-img {
    max-width: 100%;
    max-height: 100%;
  }
}
/* WWB PORTFOLIO LIGHTBOX CONTAIN - END */
