/* We Love Green 2027: brand assets complement the existing accessible design. */
@font-face {
  font-family: "WLG Windsor";
  src: url("https://medias.welovegreen.fr/preprod/themes/pitch-theme-sage-10/public/branding-2027/fonts/windsor-elongated.adde7fe72ee07ce22c16.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "WLG Lektorat";
  src: url("https://medias.welovegreen.fr/preprod/themes/pitch-theme-sage-10/public/branding-2027/fonts/lektorat-narrow-bold.2a27ee8be04e37cd92f5.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.title {
  font-family: "WLG Windsor", Georgia, serif !important;
  font-weight: 700 !important;
}

nav,
.header-quick-menu a,
#c-button--slide-right,
.c-menu__close,
#c-menu--slide-right .title,
#c-menu--slide-right .nav-link,
.c-menu #navbar-mobile #navbarSupportedContent li.menu-item a,
.heroSectionHome #menu a,
.btn,
button,
input[type="submit"],
input[type="button"],
label,
legend,
#getyourticket {
  font-family: "WLG Lektorat", Arial, sans-serif;
  font-weight: 700;
}

#c-menu--slide-right .title {
  font-family: "WLG Lektorat", Arial, sans-serif !important;
  font-weight: 700 !important;
}

.wlg-brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.banner .wlg-brand-link-header {
  display: block;
  margin-left: max(4vw, 68px);
}

.banner .wlg-brand-logo-header {
  width: 220px;
  max-width: calc(100vw - 2rem);
}

.heroSectionHome .wlg-brand-hero {
  position: relative;
  z-index: 1;
  padding-top: 88px;
}

.heroSectionHome .wlg-brand-logo-hero {
  width: 400px;
  max-width: calc(100vw - 2rem);
}

footer .wlg-brand-logo-footer {
  width: 280px;
  max-width: calc(100vw - 2rem);
}

@media (max-width: 767.98px) {
  .banner .wlg-brand-link-header {
    margin-left: 12px;
  }

  .banner .wlg-brand-logo-header {
    width: 140px;
  }

  /* Keep the logo and pause control above the wrapping quick navigation. */
  body:not(.home) .header-actions {
    top: 68px;
  }

  body:not(.home) .motion-toggle {
    top: 12px;
    right: 12px;
    left: auto;
  }

  .heroSectionHome .wlg-brand-hero {
    padding-top: 128px;
  }

  .heroSectionHome .wlg-brand-logo-hero {
    width: 300px;
  }
}

/* Above the transparent header, below the open menu; keep pause clickable. */
.motion-toggle { z-index: 998; }

/* Keep the configured quick menu available in WordPress, but show only the burger. */
.header-actions .header-quick-nav { display: none; }

/* October art direction: shared palette and the supplied Narrow Bold face. */
:root {
  --wlg-background: #332F5B;
  --wlg-accent: #D4F53B;
  --wlg-content-max: 1200px;
  --wlg-gutter: clamp(16px, 4vw, 64px);
  --wlg-content-width: min(calc(100% - 2 * var(--wlg-gutter)), var(--wlg-content-max));
}

body {
  background-color: var(--wlg-background);
  font-family: "WLG Lektorat", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

body .section,
body footer,
body .section .bg-black,
#c-menu--slide-right {
  background-color: var(--wlg-background) !important;
  color: #fff;
}

.home .section:nth-child(2) {
  background-image: linear-gradient(0deg, var(--wlg-background), transparent);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.section.title-text-cta.style-three p,
.section.gallery.style-two .section-title,
.section.news .card-news .title,
.section .wp-text a,
.section p a,
.section ul a {
  color: var(--wlg-accent);
}

.section.block-repeater .title,
.section.news .title {
  background: transparent;
}

#map .section-title {
  background: var(--wlg-background);
  color: var(--wlg-accent);
}

.heroSectionHome #annonce .section-title {
  color: var(--wlg-accent) !important;
  background: transparent !important;
}

.heroSectionHome #menu a,
.btn.btn-secondary {
  color: var(--wlg-accent) !important;
  border: 2px solid var(--wlg-accent);
  background: transparent !important;
}

.heroSectionHome #menu a:hover,
.heroSectionHome #menu a:focus-visible,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus-visible {
  color: var(--wlg-background) !important;
  background: var(--wlg-accent) !important;
}

/* Preserve contrasting text on the genuinely light inset panels. */
.section :is(.inner-block.bg-white, .inner-block.bg-light, .card.available:not(:hover)) :is(h1, h2, h3, h4, h5, h6, .title, .section-title, .price, .title-offer, p a, ul a, .wp-text a) {
  color: var(--wlg-background);
}

.section.programming.style-two > .inner-block :is(h1, h2, h3, h4, h5, h6, .title, .section-title, a) {
  color: var(--wlg-background);
}

/* Four equally sized, transparent controls; keyboard focus stays visible. */
.header-actions { --wlg-nav-item-width: clamp(88px, 8.5vw, 120px); }
.header-quick-menu { flex-wrap: nowrap; gap: .75rem; }
.header-quick-menu li { flex: 0 0 var(--wlg-nav-item-width); }
.header-actions .header-quick-menu a,
.header-actions #c-button--slide-right {
  box-sizing: border-box;
  width: var(--wlg-nav-item-width);
  min-height: 44px;
  padding-inline: .25rem;
  background: transparent;
  border: 0;
  color: #fff;
}

.header-actions .header-quick-menu a:not(:focus-visible),
.header-actions #c-button--slide-right:not(:focus-visible) {
  box-shadow: none;
}

.header-actions .header-quick-menu a:hover,
.header-actions #c-button--slide-right:hover { color: var(--wlg-accent); }

.header-actions #c-button--slide-right {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  height: 44px;
  font-size: 1rem;
}
.header-actions #c-button--slide-right span { margin-right: 0; color: inherit; }
.header-actions #c-button--slide-right .wrapper { flex: 0 0 30px; }

#c-menu--slide-right :is(a, button),
#c-menu--slide-right .c-menu__close span { color: #fff !important; }
#c-menu--slide-right #small :is(.title, p) { color: inherit; }
#c-menu--slide-right :is(a:hover, a:focus-visible, button:hover) { color: var(--wlg-accent) !important; }
#c-menu--slide-right .c-menu__close .wrapper::before,
#c-menu--slide-right .c-menu__close .wrapper::after { background: #fff; }
.motion-toggle { background: var(--wlg-background); }
#getyourticket { background-color: var(--wlg-background) !important; }
.slick-arrow { background: var(--wlg-background) !important; }

/* One reading measure for editorial blocks; panoramic media keep their rails. */
.section:is(.title-text-cta, .title-introduction-media, .block-repeater, .countdown, .partner, .programming, .faq, .slideshow),
.section.title-text-cta.style-two,
.section.title-text-cta.style-four,
.section.block-repeater.style-two {
  padding-inline: 0;
}

.section.programming.style-one {
  padding-inline: clamp(20px, 4vw, 56px);
}

.section.title-text-cta > .container,
.section.title-introduction-media > .container,
.section.faq > .container,
.section.block-repeater-ticketing > .container,
.section.block-repeater.style-one > .inner-block,
.section.block-repeater.style-two > .wp-section,
.section.block-repeater.style-three > .wp-section,
.section.title-text-cta.style-four > .inner-block,
.section.countdown > .inner-block,
.section.partner > .wp-section,
.section.gallery.style-two > .wp-content,
.section.programming.style-two > .inner-block,
.section.slideshow.style-one > .inner-block,
.section.title-text-cta.style-two > .wlg-content-shell,
.section.programming.style-one {
  box-sizing: border-box;
  width: var(--wlg-content-width);
  max-width: none;
  margin-inline: auto;
}

.section.title-text-cta > .container,
.section.title-introduction-media > .container,
.section.faq > .container,
.section.block-repeater-ticketing > .container { padding-inline: 0; }

.section.title-text-cta.style-two > .wlg-content-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.section.title-text-cta.style-two .wlg-content-shell > :is(.leftPart, .rightPart) {
  width: auto;
  min-width: 0;
}

.section.block-repeater.style-two > .wp-section > .wp-blocks,
.section.programming.style-one {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}

.section.block-repeater.style-two .wp-blocks > .card {
  width: auto;
  min-width: 0;
  margin: 0;
  border-color: transparent;
  background: var(--wlg-background);
}

.section.programming.style-one > .section-title { grid-column: 1 / -1; }
.section.programming.style-one > .column { width: auto; min-width: 0; margin-inline: 0; }
.section.programming.style-one .column h3 { background: var(--wlg-background); font-size: 1.25rem; }
.section.programming.style-one .column :is(h3, .artist a, .mention a) { color: #fff; border-color: var(--wlg-accent); }
.section.programming.style-one .column :is(.artist a:hover, .mention a:hover) { color: var(--wlg-accent); }

.section p a:hover,
.section ul a:hover,
.section.block-repeater.style-two .card:hover :is(.title, p),
.section.slideshow.style-one .inner-block .slideshow .slide .news .texteNews .title {
  color: var(--wlg-accent);
}

.section.block-repeater.style-two .card:hover,
.section.block-repeater .card.available:hover { border-color: var(--wlg-accent); }
.section.block-repeater .card.available:hover { color: var(--wlg-accent); }
.section.block-repeater .card.available:hover a.btn.btn-primary {
  background-color: var(--wlg-accent);
  color: var(--wlg-background);
}

.card-news .wp-text .title,
.card-news .wp-text .date,
.card-news .wp-text p b { color: var(--wlg-accent) !important; }
.card-news:is(.style-one, .style-two) a:hover { color: var(--wlg-accent); }
.card-news:is(.style-one, .style-two) a:hover .wp-text :is(.date, .title, p b) { color: var(--wlg-accent) !important; }

@media (max-width: 1023.98px) {
  .section.block-repeater.style-two > .wp-section > .wp-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  /* Leave room for the classic scrollbar as well as gaps and page gutters. */
  .header-actions { --wlg-nav-item-width: min(84px, calc((100vw - 64px) / 4)); }
  .header-quick-menu { gap: .5rem; }
  .header-actions .header-quick-menu a { font-size: .75rem; }
  .section.title-text-cta.style-two > .wlg-content-shell,
  .section.block-repeater.style-two > .wp-section > .wp-blocks,
  .section.programming.style-one { grid-template-columns: minmax(0, 1fr); }
}
