/* Label Enfants Phare — 0.3.6 */
:root {
  --leph-navy: #221d54;
  --leph-yellow: #e6d34e;
  --leph-border: #e9e8ef;
  --leph-border-strong: #dedce7;
  --leph-text: #221d54;
  --leph-muted: #747185;
  --leph-cream: #faf9f5;
  --leph-lavender: #f6f4fb;
  --leph-soft: #f2f0f8;
}

/* Salient header overlay for spectacle pages. The header stays in Salient; this only
 * makes it transparent and places it over the hero on this CPT template. */
body.single-leph_spectacle #header-outer,
body.single-leph_spectacle #header-secondary-outer,
body.leph-spectacle-page #header-outer,
body.leph-spectacle-page #header-secondary-outer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  z-index: 9999 !important;
}

body.single-leph_spectacle #header-space,
body.single-leph_spectacle #header-outer::before,
body.single-leph_spectacle #header-outer::after,
body.leph-spectacle-page #header-outer::before,
body.leph-spectacle-page #header-outer::after {
  background: transparent !important;
  box-shadow: none !important;
}

body.single-leph_spectacle #header-outer .row,
body.single-leph_spectacle #header-outer .container,
body.single-leph_spectacle #header-outer .nectar-header,
body.single-leph_spectacle #header-outer .span_9,
body.single-leph_spectacle #header-outer .span_3,
body.leph-spectacle-page #header-outer .row,
body.leph-spectacle-page #header-outer .container,
body.leph-spectacle-page #header-outer .nectar-header,
body.leph-spectacle-page #header-outer .span_9,
body.leph-spectacle-page #header-outer .span_3 {
  background: transparent !important;
  box-shadow: none !important;
}

body.leph-spectacle-page #header-space,
body.leph-spectacle-page .header-space {
  display: none !important;
  height: 0 !important;
}

body.single-leph_spectacle #header-outer .container,
body.single-leph_spectacle #header-outer .row,
body.single-leph_spectacle #header-outer #top,
body.leph-spectacle-page #header-outer .container,
body.leph-spectacle-page #header-outer .row,
body.leph-spectacle-page #header-outer #top {
  background: transparent !important;
}

body.single-leph_spectacle #header-outer #top nav > ul > li > a,
body.single-leph_spectacle #header-outer #top nav > ul > li > a .menu-title-text,
body.single-leph_spectacle #header-outer #top nav > ul > li > a .sf-sub-indicator,
body.single-leph_spectacle #header-outer #top nav > ul > li > a i,
body.single-leph_spectacle #header-outer #top nav > ul > li > a span,
body.leph-spectacle-page #header-outer #top nav > ul > li > a,
body.leph-spectacle-page #header-outer #top nav > ul > li > a .menu-title-text,
body.leph-spectacle-page #header-outer #top nav > ul > li > a .sf-sub-indicator,
body.leph-spectacle-page #header-outer #top nav > ul > li > a i,
body.leph-spectacle-page #header-outer #top nav > ul > li > a span {
  color: #fff !important;
}

body.single-leph_spectacle #header-outer #top .slide-out-widget-area-toggle a,
body.single-leph_spectacle #header-outer #top .slide-out-widget-area-toggle a i,
body.single-leph_spectacle #header-outer #top .mobile-user-account > a i,
body.leph-spectacle-page #header-outer #top .slide-out-widget-area-toggle a,
body.leph-spectacle-page #header-outer #top .slide-out-widget-area-toggle a i,
body.leph-spectacle-page #header-outer #top .mobile-user-account > a i {
  color: #fff !important;
}

.leph-spectacle-single {
  width: 100%;
  overflow: clip;
  color: var(--leph-text);
  background: #fff;
}

.leph-container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

/* HERO */
.leph-hero {
  position: relative;
  min-height: clamp(600px, 74vh, 760px);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.leph-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,29,84,.965) 0%, rgba(34,29,84,.72) 42%, rgba(34,29,84,.28) 80%, rgba(34,29,84,.12) 100%);
}

.leph-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(1320px, calc(100% - 48px));
  min-height: clamp(600px, 74vh, 760px);
  padding-top: 88px;
  padding-bottom: 72px;
}

.leph-hero__copy {
  width: min(68%, 820px);
  margin-left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
  color: #fff;
}

.leph-hero__copy h1 {
  margin: 0;
  color: #fff;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.leph-hero__subtitle {
  margin: 8px 0 0;
  max-width: 700px;
  color: rgba(255,255,255,.93);
  line-height: 1.45;
  text-wrap: balance;
}

.leph-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid rgba(230,211,78,.95);
  color: var(--leph-yellow);
  background: transparent;
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 20px;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.leph-hero__cta:hover,
.leph-hero__cta:focus-visible {
  color: var(--leph-navy);
  background: var(--leph-yellow);
  border-color: var(--leph-yellow);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

/* Generic buttons used by secondary panels. */
.leph-button {
  font-family: 'Bubblegum Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--leph-navy);
  color: var(--leph-navy);
  background: transparent;
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.leph-button:hover,
.leph-button:focus-visible {
  color: #fff;
  background: var(--leph-navy);
  border-color: var(--leph-navy);
  transform: translateY(-1px);
}

/* Hero information band */
.leph-hero__meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 3;
  background: var(--leph-navy);
}

.leph-hero__meta-inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 68px;
}

.leph-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 0 24px;
  color: rgba(255,255,255,.94);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.leph-hero__meta-item:first-child {
  padding-left: 0;
}

.leph-hero__meta-item + .leph-hero__meta-item {
  border-left: 1px solid rgba(255,255,255,.13);
}

.leph-hero__meta-icon {
  display: inline-flex;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--leph-yellow);
}

.leph-hero__meta-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* MAIN GRID */
.leph-tabs-section {
  padding: 28px 0 86px;
  background: #fff;
}

.leph-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: clamp(42px, 5vw, 72px);
  align-items: start;
}

.leph-main-content,
.leph-sidebar {
  min-width: 0;
}

.leph-sidebar {
  min-height: 1px;
}

/* Floating / sticky tab navigation */
.leph-tabs {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
  margin: 0 0 22px;
  padding: 6px 8px;
  border: 1px solid rgba(34,29,84,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 28px rgba(34,29,84,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.leph-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--leph-navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.leph-tabs a:hover,
.leph-tabs a:focus-visible {
  color: var(--leph-navy);
  background: rgba(230,211,78,.12);
}

.leph-tabs a.is-active {
  color: var(--leph-navy);
  background: rgba(230,211,78,.18);
}

.leph-tabs__icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: var(--leph-yellow);
  flex: 0 0 14px;
}

.leph-tabs__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.leph-tab-panel {
  display: none;
}

.leph-tab-panel.is-active {
  display: block;
}

/* Spacing reset for the custom content scope. */
.leph-spectacle-single h1,
.leph-spectacle-single h2,
.leph-spectacle-single h3,
.leph-spectacle-single p {
  margin-block-start: 0;
}

/* Label Enfants Phare typography: headings follow the site charter. */
.leph-spectacle-single h1 {
  font-family: 'Teacher', sans-serif !important;
  font-weight: 600 !important;
}

.leph-spectacle-single h2 {
  font-family: 'Teacher', sans-serif !important;
  font-weight: 500 !important;
}

.leph-spectacle-single h3 {
  font-family: 'Teacher', sans-serif !important;
  font-weight: 500 !important;
}

.leph-spectacle-single .leph-richtext > p:last-child,
.leph-spectacle-single .leph-credits__text > div > p:last-child,
.leph-spectacle-single .leph-audio-text > p:last-child {
  margin-bottom: 0;
}

/* MEDIA */
.leph-video {
  width: 100%;
  overflow: hidden;
}

.leph-video--full {
  overflow: hidden;
  border-radius: 18px;
  background: #eeedf4;
  box-shadow: 0 14px 36px rgba(34,29,84,.07);
}

.leph-video--full iframe,
.leph-video--full .wp-block-embed,
.leph-video--full .youtube-player,
.leph-video__ratio {
  width: 100%;
}

.leph-video--full iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 0;
}

.leph-video__ratio {
  position: relative;
  aspect-ratio: 16 / 9;
}

.leph-video__ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* PRESENTATION */
.leph-section {
  margin: 0;
}

.leph-presentation {
  padding-top: 16px;
}

.leph-presentation h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(34,29,84,.10);
  font-weight: 700;
  letter-spacing: -.01em;
}

.leph-presentation h2::before {
  content: '“';
  color: var(--leph-yellow);
  font-size: 1.05em;
  line-height: .9;
  transform: translateY(1px);
}

.leph-richtext {
  line-height: 1.72;
}

.leph-richtext p {
  margin: 0 0 10px;
}

.leph-richtext > *:last-child {
  margin-bottom: 0;
}

/* SPECTACLE GALLERY — editorial mosaic */
.leph-gallery-surface {
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(230,211,78,.16), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(34,29,84,.10), transparent 36%),
    linear-gradient(135deg, #f8f6fc 0%, #f2eef9 55%, #fbf8ed 100%);
  box-shadow: inset 0 0 0 1px rgba(34,29,84,.035), 0 18px 36px rgba(34,29,84,.035);
}

.leph-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  height: clamp(380px, 34vw, 560px);
}

.leph-gallery__item {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #ececf1;
  text-decoration: none;
  cursor: zoom-in;
}

.leph-gallery__item--featured {
  height: 100%;
}

.leph-gallery__side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  min-width: 0;
  min-height: 0;
  height: 100%;
  gap: 10px;
}

.leph-gallery__side .leph-gallery__item {
  min-height: 0;
  height: 100%;
}

.leph-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .42s cubic-bezier(.22,1,.36,1), filter .42s ease;
}

.leph-gallery__item::after {
  content: '↗';
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(34,29,84,.70);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
}

.leph-gallery__item:hover img,
.leph-gallery__item:focus-visible img {
  transform: scale(1.02);
}

.leph-gallery__item:hover::after,
.leph-gallery__item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.leph-gallery[data-count="1"] {
  grid-template-columns: 1fr;
  height: clamp(300px, 42vw, 560px);
}

.leph-gallery[data-count="1"] .leph-gallery__item--featured {
  height: 100%;
}

.leph-gallery[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: clamp(300px, 38vw, 560px);
}

.leph-gallery[data-count="2"] .leph-gallery__side {
  gap: 0;
}

/* CREDITS */
.leph-credits {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
  gap: 28px;
  align-items: center;
  margin: 32px 0 0;
  padding: 30px 34px;
  border: 1px solid var(--leph-border);
  border-radius: 20px;
  background: var(--leph-lavender);
}

.leph-credits__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.leph-credits__text h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--leph-border-strong);
  font-weight: 700;
}

.leph-credits__text h3::before {
  content: '✦';
  color: var(--leph-yellow);
  font-size: .85em;
  line-height: 1;
}

.leph-credits__text > div {
  font-size: 14px;
  line-height: 1.55;
}

.leph-credits__text > div p {
  margin: 0 0 4px;
}

.leph-credits__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.leph-credits__image img {
  display: block;
  width: min(100%, 165px);
  max-height: 220px;
  height: auto;
  margin-inline: auto;
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(34,29,84,.11);
}

/* OTHER PANELS */
.leph-audio-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 30px;
  padding: 24px;
  border: 1px solid var(--leph-border);
  border-radius: 20px;
  background: #fff;
}

.leph-audio-card__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.leph-audio-card__content {
  min-width: 0;
}

.leph-audio-card__heading {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.leph-icon--star {
  color: var(--leph-yellow);
  font-size: 1.15rem;
  line-height: 1.2;
}

.leph-audio-card__content h3 {
  margin-top: 0;
}

.leph-audio-card__content .leph-button {
  margin-top: 16px;
  color: var(--leph-navy);
  border-color: var(--leph-navy);
  background: transparent;
}

.leph-audio-card__content .leph-button:hover,
.leph-audio-card__content .leph-button:focus-visible {
  color: #fff;
  background: var(--leph-navy);
  border-color: var(--leph-navy);
}

.leph-audio-text {
  margin-top: 22px;
}

.leph-creators-carousel,
.leph-shop-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.leph-creator-card,
.leph-product-card {
  overflow: hidden;
}

.leph-creator-card__image img,
.leph-product-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.leph-creator-card__content {
  padding-top: 11px;
}

.leph-creator-card__function {
  font-size: .82rem;
  font-weight: 700;
  color: var(--leph-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.leph-creator-card__content h3 {
  margin: 5px 0 8px;
}

.leph-resource {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--leph-border);
}

.leph-resource__icon {
  color: var(--leph-yellow);
  font-size: 1.05rem;
}

.leph-resource__content {
  flex: 1;
  min-width: 0;
}

.leph-resource__content h3 {
  margin: 0 0 5px;
}

.leph-resource__action {
  color: var(--leph-navy);
  border-color: var(--leph-navy);
  white-space: nowrap;
}

.leph-resource__action:hover,
.leph-resource__action:focus-visible {
  color: #fff;
  background: var(--leph-navy);
  border-color: var(--leph-navy);
}

.leph-product-card a {
  text-decoration: none;
}

.leph-media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.leph-media-gallery__item {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: #f2f2f5;
}

.leph-media-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.leph-media-gallery__item:hover img,
.leph-media-gallery__item:focus-visible img {
  transform: scale(1.02);
}

/* LIGHTBOX */
.leph-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(34,29,84,.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.leph-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.leph-lightbox__image {
  display: block;
  max-width: min(1200px, 88vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.34);
}

.leph-lightbox__close,
.leph-lightbox__prev,
.leph-lightbox__next {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.leph-lightbox__close {
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 28px;
  line-height: 1;
}

.leph-lightbox__prev,
.leph-lightbox__next {
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  font-size: 22px;
}

.leph-lightbox__prev { left: 20px; }
.leph-lightbox__next { right: 20px; }

.leph-lightbox__close:hover,
.leph-lightbox__close:focus-visible,
.leph-lightbox__prev:hover,
.leph-lightbox__prev:focus-visible,
.leph-lightbox__next:hover,
.leph-lightbox__next:focus-visible {
  background: rgba(255,255,255,.20);
  transform: translateY(-1px);
}

.leph-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  letter-spacing: .04em;
}

body.leph-lightbox-open {
  overflow: hidden;
}


/* SIDEBAR — upcoming dates + audio CTA */
.leph-sidebar {
  display: grid;
  gap: 22px;
  align-content: start;
}

.leph-sidebar-dates {
  padding: 27px 28px 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(230,211,78,.23), transparent 36%),
    linear-gradient(135deg, #f3f1fb 0%, #fff7d1 100%);
  border: 1px solid #ebe8f1;
  border-radius: 20px;
}

.leph-sidebar-dates__title,
.leph-sidebar-dates__title span {
  color: var(--leph-navy);
}

.leph-sidebar-dates__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid #e7e5ed;
  font-family: 'Fuzzy Bubbles', cursive;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.05;
}

.leph-sidebar-dates__title > span:first-child {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--leph-yellow);
  font-size: 18px;
  line-height: 1;
}

.leph-sidebar-dates__list { display: grid; }

.leph-sidebar-dates__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 14px;
  padding: 15px 27px 15px 0;
  border-bottom: 1px solid #e7e5ed;
  color: var(--leph-navy) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.leph-sidebar-dates__item:last-child { border-bottom: 0; }

.leph-sidebar-dates__date {
  grid-column: 1;
  color: var(--leph-navy);
  font: 700 14px/1.25 'DM Sans', sans-serif;
}

.leph-sidebar-dates__location {
  grid-column: 1;
  color: #5f5c70;
  font: 400 13px/1.4 'DM Sans', sans-serif;
}

.leph-sidebar-dates__time {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--leph-navy);
  font: 600 13px/1.2 'DM Sans', sans-serif;
  white-space: nowrap;
}

.leph-sidebar-dates__empty {
  margin: 0;
  padding: 11px 0 17px;
  color: #5f5c70;
  font: 400 15px/1.5 'DM Sans', sans-serif;
}

.leph-sidebar-dates__item:hover .leph-sidebar-dates__time,
.leph-sidebar-dates__item:focus-visible .leph-sidebar-dates__time { transform: translateX(2px); }

.leph-sidebar-dates__time { transition: transform .2s ease; }

.leph-sidebar-audio {
  padding: 25px 25px 24px;
  border: 1px solid rgba(34,29,84,.07);
  border-radius: 20px;
  background: #faf9fd;
  box-shadow: 0 18px 34px rgba(34,29,84,.045);
}

.leph-sidebar-audio__topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: var(--leph-navy);
  font: 700 12px/1.2 'DM Sans', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.leph-sidebar-audio__topline > span:first-child {
  display: inline-flex;
  color: var(--leph-yellow);
  font-size: 16px;
}

.leph-sidebar-audio__body {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.leph-sidebar-audio__image {
  overflow: hidden;
  border-radius: 11px;
  box-shadow: 0 10px 20px rgba(34,29,84,.14);
}

.leph-sidebar-audio__image img {
  display: block;
  width: 100%;
  height: auto;
}

.leph-sidebar-audio__content h2 {
  margin: 0 0 7px;
  color: var(--leph-navy);
  font-family: 'Teacher', sans-serif !important;
  font-size: 26px;
  font-weight: 500 !important;
  line-height: 1.05;
}

.leph-sidebar-audio__content p {
  margin: 0;
  color: #5f5c70;
  font: 400 13px/1.45 'DM Sans', sans-serif;
}

.leph-sidebar-audio__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--leph-navy);
  color: #fff !important;
  font: 600 13px/1.2 'DM Sans', sans-serif;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.leph-sidebar-audio__cta:hover,
.leph-sidebar-audio__cta:focus-visible {
  background: var(--leph-yellow);
  color: var(--leph-navy) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}


/* SIDEBAR — compact discovery + programming CTA */
.leph-sidebar-further {
  padding: 23px 24px 20px;
  background: linear-gradient(135deg, #f5f2fb 0%, #fbf9f0 100%);
  border: 1px solid rgba(34,29,84,.07);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(34,29,84,.035);
}

.leph-sidebar-further__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--leph-navy);
  font-family: 'Fuzzy Bubbles', cursive;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.05;
}

.leph-sidebar-further__title > span:first-child {
  display: inline-flex;
  color: var(--leph-yellow);
  font-size: 16px;
  line-height: 1;
}

.leph-sidebar-further__links { display: grid; }

.leph-sidebar-further__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(34,29,84,.08);
  color: var(--leph-navy) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  font: 600 13px/1.3 'DM Sans', sans-serif;
}

.leph-sidebar-further__link:first-child { border-top: 0; }

.leph-sidebar-further__link > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.leph-sidebar-further__link i {
  color: var(--leph-yellow);
  font-size: 13px;
}

.leph-sidebar-further__arrow {
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.leph-sidebar-further__link:hover .leph-sidebar-further__arrow,
.leph-sidebar-further__link:focus-visible .leph-sidebar-further__arrow {
  transform: translateX(3px);
}

.leph-sidebar-program {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 0;
  color: var(--leph-navy) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  font: 600 13px/1.45 'DM Sans', sans-serif;
}

.leph-sidebar-program__arrow {
  color: var(--leph-yellow);
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.leph-sidebar-program:hover .leph-sidebar-program__arrow,
.leph-sidebar-program:focus-visible .leph-sidebar-program__arrow {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .leph-container,
  .leph-hero__inner {
    width: min(100%, calc(100% - 36px));
  }

  .leph-hero {
    min-height: 660px;
  }

  .leph-hero__inner {
    min-height: 660px;
  }

  .leph-hero__copy {
    width: 100%;
  }

  .leph-content-layout {
    grid-template-columns: 1fr;
  }

  .leph-sidebar {
    display: grid;
    gap: 18px;
    margin-top: 6px;
  }

  .leph-gallery {
    aspect-ratio: 16 / 10;
  }

  .leph-credits,
  .leph-audio-card {
    grid-template-columns: 1fr;
  }

  .leph-credits__image img {
    width: min(54%, 190px);
  }

  .leph-creators-carousel,
  .leph-shop-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .leph-container,
  .leph-hero__inner {
    width: min(100%, calc(100% - 28px));
  }

  .leph-hero {
    min-height: 650px;
  }

  .leph-hero__inner {
    min-height: 650px;
    padding-top: 92px;
    padding-bottom: 48px;
  }

  .leph-hero__labels {
    gap: 6px;
    margin-top: 13px;
  }

  .leph-hero__label {
    min-height: 29px;
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .leph-hero__cta {
    margin-top: 16px;
  }

  .leph-tabs-section {
    padding: 22px 0 58px;
  }

  .leph-tabs {
    top: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 18px;
    padding: 5px 6px;
    border-radius: 15px;
    scrollbar-width: none;
  }

  .leph-tabs::-webkit-scrollbar {
    display: none;
  }

  .leph-tabs a {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .leph-gallery-surface {
    margin-top: 24px;
    padding: 9px;
    border-radius: 18px;
  }

  .leph-gallery,
  .leph-gallery[data-count="2"] {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .leph-gallery .leph-gallery__item--featured {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .leph-gallery__side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .leph-gallery__side .leph-gallery__item {
    flex: none;
    aspect-ratio: 16 / 10;
  }

  .leph-credits {
    margin-top: 24px;
    padding: 24px;
    border-radius: 18px;
  }

  .leph-credits__image img {
    width: min(58%, 175px);
  }

  .leph-media-gallery,
  .leph-creators-carousel,
  .leph-shop-products {
    grid-template-columns: 1fr;
  }

  .leph-lightbox {
    padding: 16px;
  }

  .leph-lightbox__image {
    max-width: 94vw;
    max-height: 80vh;
  }

  .leph-lightbox__prev,
  .leph-lightbox__next {
    top: auto;
    bottom: 18px;
    margin-top: 0;
  }

  .leph-lightbox__prev { left: 18px; }
  .leph-lightbox__next { right: 18px; }

  .leph-lightbox__counter {
    bottom: 34px;
  }
}


/* 0.3.4 responsive refinements */
@media (max-width: 900px) {
  .leph-hero__meta-inner {
    min-height: 60px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .leph-hero__meta-inner::-webkit-scrollbar { display: none; }
  .leph-hero__meta-item {
    padding: 0 18px;
    font-size: 13px;
    white-space: nowrap;
  }
  .leph-hero__meta-item:first-child { padding-left: 0; }
}
@media (max-width: 600px) {
  .leph-hero__meta-inner { min-height: 56px; }
  .leph-hero__meta-item { gap: 8px; padding: 0 14px; font-size: 12px; }
  .leph-hero__meta-icon { width: 17px; height: 17px; flex-basis: 17px; }
  .leph-hero__copy { width: 100%; }
  .leph-hero__cta { margin-top: 17px; }
}


/* 0.3.5 visual refinement */
.leph-hero__meta-icon i,
.leph-tabs__icon i,
.leph-section-title__icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
}

.leph-hero__meta-icon i::before,
.leph-tabs__icon i::before,
.leph-section-title__icon i::before {
  display: block;
  margin: 0;
}

.leph-tabs {
  margin-bottom: 24px;
  padding: 7px 10px;
  gap: 2px;
  border-radius: 16px;
}

.leph-tabs a {
  min-height: 32px;
  padding: 6px 12px;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .005em;
}

.leph-tabs a.is-active {
  background: rgba(230,211,78,.24);
  font-weight: 600;
}

.leph-tabs__icon {
  width: 14px;
  height: 14px;
  color: var(--leph-yellow);
}

.leph-presentation {
  padding-top: 14px;
}

.leph-presentation h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  padding: 0 0 11px;
  border-bottom: 1px solid #ecebf1;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 700;
}

.leph-section-title__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--leph-yellow);
  font-size: 15px;
}

.leph-richtext {
  font-size: 16px;
  line-height: 1.68;
}

.leph-gallery-surface {
  margin-top: 13px;
  padding: 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 10%, rgba(230,211,78,.20), transparent 29%),
    radial-gradient(circle at 92% 90%, rgba(34,29,84,.13), transparent 34%),
    linear-gradient(135deg, #f7f4fc 0%, #eeeaf8 58%, #fbf7e8 100%);
  box-shadow: inset 0 0 0 1px rgba(34,29,84,.045), 0 20px 42px rgba(34,29,84,.055);
}

.leph-gallery {
  grid-template-columns: minmax(0, 2.65fr) minmax(0, 1fr);
  aspect-ratio: auto;
  align-items: start;
}

.leph-gallery__item--featured {
  aspect-ratio: 16 / 10;
  height: auto;
}

.leph-gallery__side {
  gap: 10px;
}

.leph-gallery__side .leph-gallery__item {
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
}

.leph-credits {
  margin-top: 28px;
  padding: 28px 34px;
  border-radius: 20px;
}

.leph-credits__text h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9e7f0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.08;
}

.leph-credits__text > div {
  font-size: 13px;
  line-height: 1.5;
}

.leph-credits__text > div p {
  margin-bottom: 3px;
}

.leph-credits__image img {
  width: min(100%, 250px);
  height: auto !important;
  max-height: 300px;
  object-fit: contain !important;
  object-position: center;
}

.leph-hero__meta-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .leph-gallery {
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .leph-tabs {
    margin-bottom: 18px;
  }
  .leph-tabs a {
    padding: 6px 9px;
    font-size: 12px;
  }
  .leph-gallery,
  .leph-gallery[data-count="2"] {
    grid-template-columns: 1fr;
  }
  .leph-gallery__side .leph-gallery__item {
    aspect-ratio: 16 / 9;
  }
  .leph-credits__image img {
    width: min(62%, 195px);
  }
}

/* 0.3.6 fine-tuning: keep the editorial gallery perfectly aligned and the poster compact. */

.leph-gallery {
  height: clamp(380px, 34vw, 560px) !important;
  aspect-ratio: auto !important;
  align-items: stretch !important;
}

.leph-gallery__item--featured {
  height: 100% !important;
  aspect-ratio: auto !important;
}

.leph-gallery__side {
  display: grid !important;
  grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  height: 100% !important;
  min-height: 0 !important;
}

.leph-gallery__side .leph-gallery__item {
  height: 100% !important;
  aspect-ratio: auto !important;
  min-height: 0 !important;
}

.leph-credits__image img {
  width: auto !important;
  max-width: 160px !important;
  height: auto !important;
  max-height: 220px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

@media (max-width: 600px) {
  .leph-gallery {
    height: auto !important;
  }

  .leph-gallery__item--featured {
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
  }

  .leph-gallery__side {
    grid-template-rows: none !important;
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  .leph-gallery__side .leph-gallery__item {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  .leph-credits__image img {
    max-width: 155px !important;
    max-height: 210px !important;
  }
}


/* 0.3.7 — Livre audio: editorial card, highlight quote and split credits/artists. */
.leph-audio-card {
  display: grid;
  grid-template-columns: minmax(190px, 38%) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--leph-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(34,29,84,.035);
}

.leph-audio-card__image img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
  border-radius: 15px;
}

.leph-audio-card__content {
  min-width: 0;
}

.leph-audio-card__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(34,29,84,.10);
}

.leph-audio-card__heading h2 {
  margin: 0;
  line-height: 1.05;
}

.leph-audio-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  flex: 0 0 24px;
  color: var(--leph-yellow);
  font-size: 20px;
  line-height: 1;
}

.leph-audio-card__description {
  font-size: 15px;
  line-height: 1.65;
  color: var(--leph-text);
}

.leph-audio-card__description p {
  margin: 0 0 8px;
}

.leph-audio-card__description > *:last-child {
  margin-bottom: 0;
}

.leph-audio-card__button {
  font-family: 'Bubblegum Sans', sans-serif;
  margin-top: 18px;
  color: var(--leph-yellow) !important;
  border-color: var(--leph-yellow) !important;
  background: transparent !important;
}

.leph-audio-card__button:hover,
.leph-audio-card__button:focus-visible {
  color: var(--leph-navy) !important;
  border-color: var(--leph-yellow) !important;
  background: var(--leph-yellow) !important;
}

.leph-audio-highlight {
  margin: 34px 0 38px;
  padding: 7px 0 7px 22px;
  border-left: 2px solid var(--leph-border-strong);
  max-width: 820px;
  color: var(--leph-navy);
  font-family: 'Fuzzy Bubbles', cursive;
  font-size: 24px;
  line-height: 1.28;
}

.leph-audio-highlight p {
  margin: 0 0 8px;
}

.leph-audio-highlight > *:last-child {
  margin-bottom: 0;
}

.leph-audio-video {
  margin-top: 0;
}

.leph-audio-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.leph-audio-credits,
.leph-audio-artists {
  min-width: 0;
  padding: 24px 26px;
  border-radius: 18px;
}

.leph-audio-credits {
  border: 1px solid var(--leph-border);
  background: transparent;
}

.leph-audio-artists {
  border: 1px solid rgba(34,29,84,.08);
  background: var(--leph-lavender);
  box-shadow: 0 12px 28px rgba(34,29,84,.045);
}

.leph-audio-credits h3,
.leph-audio-artists h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--leph-border);
}

.leph-audio-meta__icon {
  display: inline-flex;
  width: 17px;
  flex: 0 0 17px;
  color: var(--leph-yellow);
  font-size: 15px;
}

.leph-audio-credits > div,
.leph-audio-artists > div {
  font-size: 14px;
  line-height: 1.62;
}

.leph-audio-credits p,
.leph-audio-artists p {
  margin: 0 0 6px;
}

.leph-tab-panel[aria-hidden="true"] {
  display: none;
}

.leph-tab-panel[aria-hidden="false"] {
  display: block;
}

@media (max-width: 800px) {
  .leph-audio-card {
    grid-template-columns: 1fr;
  }

  .leph-audio-card__image img {
    width: min(100%, 340px);
  }

  .leph-audio-meta {
    grid-template-columns: 1fr;
  }
}

/* 0.3.8 — refinements: reliable tab video hydration and livre audio polish. */
.leph-audio-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(230,211,78,.12), transparent 30%),
    linear-gradient(135deg, #faf9f5 0%, #f6f4fb 52%, #f1f0f8 100%);
}

.leph-audio-card__heading {
  gap: 8px;
  margin: 0 0 12px;
  padding: 0 0 11px;
}

.leph-audio-card__heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 30px);
  line-height: 1.08;
  font-weight: 700;
}

.leph-audio-card__icon {
  width: 17px;
  flex-basis: 17px;
  font-size: 15px;
}

.leph-audio-video {
  margin-top: 0;
}

.leph-audio-card + .leph-audio-highlight {
  margin-top: 46px;
}

.leph-audio-highlight + .leph-audio-video {
  margin-top: 40px;
}

.leph-audio-card + .leph-audio-video {
  margin-top: 46px;
}


/* 0.3.9 — Livre audio final polish: spacing, action button and unified credits/artists block. */
.leph-audio-card__heading {
  gap: 14px;
}

.leph-audio-card__icon {
  width: 18px;
  flex-basis: 18px;
  font-size: 15px;
}

.leph-audio-card__button {
  margin-top: 10px;
  color: #fff !important;
  border-color: var(--leph-navy) !important;
  background: var(--leph-navy) !important;
}

.leph-audio-card__button:hover,
.leph-audio-card__button:focus-visible {
  color: var(--leph-navy) !important;
  border-color: var(--leph-yellow) !important;
  background: var(--leph-yellow) !important;
}

.leph-audio-highlight {
  margin: 34px 0 34px;
  padding: 4px 0 4px 22px;
}

.leph-audio-highlight p {
  margin: 0 !important;
}

.leph-audio-highlight > *:last-child {
  margin-bottom: 0 !important;
}

.leph-audio-highlight + .leph-audio-video {
  margin-top: 0;
}

.leph-audio-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 42px;
  padding: 34px 38px;
  border: 1px solid rgba(34,29,84,.07);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(230,211,78,.11), transparent 26%),
    linear-gradient(135deg, #faf9f5 0%, #f6f4fb 52%, #f0eff8 100%);
  box-shadow: 0 14px 32px rgba(34,29,84,.045);
}

.leph-audio-credits,
.leph-audio-artists {
  padding: 0 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.leph-audio-credits {
  padding-left: 0;
  border-right: 1px solid rgba(34,29,84,.10);
}

.leph-audio-artists {
  padding-right: 0;
}

.leph-audio-credits h3,
.leph-audio-artists h3 {
  gap: 11px;
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(34,29,84,.08);
}

.leph-audio-credits > div,
.leph-audio-artists > div {
  font-size: 14px;
  line-height: 1.58;
}

.leph-audio-credits p,
.leph-audio-artists p {
  margin: 0 0 4px;
}

@media (max-width: 800px) {
  .leph-audio-meta {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .leph-audio-credits {
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(34,29,84,.10);
  }

  .leph-audio-artists {
    padding: 0;
  }
}


/* 0.3.10 — Livre audio micro-polish */
.leph-audio-card__heading {
  gap: 9px !important;
}

.leph-audio-card__icon {
  width: 17px !important;
  flex-basis: 17px !important;
  height: 17px !important;
  font-size: 15px !important;
}

.leph-audio-card__button {
  margin-top: 2px !important;
}

.leph-audio-highlight {
  display: block;
}

.leph-audio-highlight + .leph-audio-video {
  margin-top: 0 !important;
}

@media (max-width: 600px) {
  .leph-audio-card__heading {
    gap: 9px !important;
  }
}

/* 0.3.11 — Créateurs : carousel éditorial */
.leph-creators-section {
  position: relative;
}

.leph-creators-intro {
  margin: 0 0 22px;
  color: var(--leph-navy);
  font-family: 'Fuzzy Bubbles', cursive;
  font-size: 1.8rem;
  line-height: 1.15;
}

.leph-creators-carousel {
  display: block;
}

.leph-creators-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  outline: none;
}

.leph-creators-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.leph-creators-carousel__track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 2px 1px 8px;
}

.leph-creator-card {
  position: relative;
  display: flex;
  flex: 0 0 calc((100vw - 22px) / 2);
  max-width: 430px;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--leph-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(34,29,84,.045);
}

.leph-creator-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #efedf4;
}

.leph-creator-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leph-creator-card__content {
  position: relative;
  padding: 24px 24px 28px;
  min-height: 185px;
}

.leph-creator-card__function {
  margin: 0 0 7px;
  color: var(--leph-muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.leph-creator-card__content h3 {
  margin: 0 0 10px;
  color: var(--leph-navy);
  font-size: 1.65rem;
  line-height: 1.08;
}

.leph-creator-card__description {
  max-height: calc(1.65 * 15px * 5);
  overflow: hidden;
  color: var(--leph-text);
  font-size: 15px;
  line-height: 1.65;
}

.leph-creator-card__description p {
  margin: 0 0 6px;
}

.leph-creator-card__description p:last-child {
  margin-bottom: 0;
}

.leph-creator-card__expand {
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--leph-border-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--leph-navy);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.leph-creator-card__expand:hover,
.leph-creator-card__expand:focus-visible {
  border-color: rgba(34,29,84,.28);
  background: var(--leph-lavender);
}

.leph-creator-card__expand i {
  display: inline-flex;
  font-style: normal;
  transition: transform .2s ease;
}

.leph-creator-card.is-expanded .leph-creator-card__description {
  max-height: none;
}

.leph-creator-card.is-expanded .leph-creator-card__expand i {
  transform: rotate(180deg);
}

.leph-creators-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.leph-carousel-arrow {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--leph-border-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--leph-navy);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, opacity .2s ease;
}

.leph-carousel-arrow:hover:not(:disabled),
.leph-carousel-arrow:focus-visible:not(:disabled) {
  background: var(--leph-lavender);
  border-color: rgba(34,29,84,.25);
  transform: translateY(-1px);
}

.leph-carousel-arrow:disabled {
  opacity: .35;
  cursor: default;
}

.leph-carousel-arrow i {
  display: inline-flex;
  font-style: normal;
  font-size: 18px;
}

@media (min-width: 901px) {
  .leph-creator-card {
    flex-basis: calc((min(100%, 870px) - 22px) / 2);
  }
}

@media (max-width: 900px) {
  .leph-creator-card {
    flex-basis: calc((100vw - 50px) / 2);
  }
}

@media (max-width: 600px) {
  .leph-creators-intro {
    margin-bottom: 18px;
    font-size: 1.6rem;
  }

  .leph-creators-carousel__track {
    gap: 14px;
  }

  .leph-creator-card {
    flex-basis: calc(100vw - 42px);
    border-radius: 16px;
  }

  .leph-creator-card__content {
    padding: 20px 20px 26px;
  }

  .leph-creator-card__content h3 {
    font-size: 1.5rem;
  }

  .leph-carousel-arrow {
    width: 52px;
    height: 52px;
  }
}



/* 0.3.12 — finition créateurs & médias */
.leph-creators-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 11px;
  color: var(--leph-navy);
  font-family: 'Fuzzy Bubbles', cursive;
  font-size: 1.8rem;
  line-height: 1.15;
}

.leph-creators-intro__icon,
.leph-media-intro__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--leph-yellow);
  font-size: 1.05rem;
  line-height: 1;
}

.leph-creators-carousel__track {
  width: 100%;
}

.leph-creator-card {
  flex-basis: calc((100% - 22px) / 2);
  max-width: none;
}

.leph-creator-card__function {
  color: var(--leph-yellow);
}

.leph-creator-card__content {
  display: flex;
  flex-direction: column;
}

.leph-creator-card__expand-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.leph-creator-card__expand {
  position: static;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.leph-media-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--leph-navy);
  font-family: 'Fuzzy Bubbles', cursive;
  font-size: 1.8rem;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .leph-creator-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 600px) {
  .leph-creators-intro {
    margin-bottom: 9px;
    font-size: 1.6rem;
  }

  .leph-creator-card {
    flex-basis: 100%;
  }

  .leph-media-intro {
    margin-bottom: 16px;
    font-size: 1.6rem;
  }
}


/* 0.3.14 — Outils pédagogiques : cartes éditoriales, dégradé doux et description dépliable. */
.leph-creators-intro {
  margin-bottom: 16px;
}

.leph-resources {
  display: grid;
  gap: 18px;
}

.leph-resource {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(34,29,84,.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 93% 15%, rgba(230,211,78,.16), transparent 30%),
    linear-gradient(135deg, #f3f0fb 0%, #f7f2fb 48%, #fbf6d9 100%);
  box-shadow: 0 12px 28px rgba(34,29,84,.04);
}

.leph-resource__content {
  min-width: 0;
}

.leph-resource__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 9px;
}

.leph-resource__title-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  color: var(--leph-yellow);
  font-size: 17px;
  line-height: 1;
}

.leph-resource__heading h3 {
  margin: 0;
  color: var(--leph-navy);
  font-size: 23px;
  line-height: 1.12;
}

.leph-resource__description {
  max-width: 900px;
  color: var(--leph-text);
  font-size: 15px;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.leph-resource__description p {
  margin: 0 0 5px;
}

.leph-resource__description p:last-child {
  margin-bottom: 0;
}

.leph-resource.is-expanded .leph-resource__description {
  display: block;
  -webkit-line-clamp: unset;
}

.leph-resource__expand-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 9px;
}

.leph-resource__expand {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--leph-border-strong);
  border-radius: 50%;
  background: rgba(255,255,255,.76);
  color: var(--leph-navy);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.leph-resource__expand:hover,
.leph-resource__expand:focus-visible {
  border-color: rgba(34,29,84,.25);
  background: rgba(255,255,255,.95);
}

.leph-resource__expand i {
  display: inline-flex;
  font-style: normal;
  transition: transform .2s ease;
}

.leph-resource.is-expanded .leph-resource__expand i {
  transform: rotate(180deg);
}

.leph-resource__action {
  justify-self: end;
  align-self: center;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .leph-resource {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .leph-resource__action {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .leph-creators-intro {
    margin-bottom: 13px;
  }

  .leph-resource {
    border-radius: 17px;
    padding: 21px 20px;
  }

  .leph-resource__heading {
    gap: 10px;
  }

  .leph-resource__heading h3 {
    font-size: 21px;
  }

  .leph-resource__description {
    font-size: 15px;
  }
}


@media (max-width: 900px) {
  .leph-sidebar-further { padding: 21px 22px 18px; }
  .leph-sidebar-further__title { font-size: 24px; }
}



/* 0.3.35 — Typography system
 * Bubblegum Sans: headings + buttons
 * Teacher: body / functional text
 * Fuzzy Bubbles: handwritten editorial accents
 *
 * Typography is centralized here to prevent successive design passes
 * from accumulating conflicting font-family overrides.
 */
.leph-spectacle-single h1,
.leph-spectacle-single h2,
.leph-spectacle-single h3,
.leph-spectacle-single h4,
.leph-spectacle-single h5,
.leph-spectacle-single h6 {
  font-family: 'Bubblegum Sans', sans-serif !important;
  font-weight: 400 !important;
}

/* Body and functional content. */
.leph-spectacle-single,
.leph-spectacle-single p,
.leph-spectacle-single li,
.leph-spectacle-single td,
.leph-spectacle-single th,
.leph-spectacle-single label,
.leph-spectacle-single input,
.leph-spectacle-single select,
.leph-spectacle-single textarea {
  font-family: 'Teacher', sans-serif;
}

/* Buttons. */
.leph-spectacle-single .leph-button,
.leph-spectacle-single .leph-audio-card__button,
.leph-spectacle-single a.leph-button,
.leph-spectacle-single button {
  font-family: 'Bubblegum Sans', sans-serif !important;
  font-weight: 400 !important;
}

/* Handwritten/editorial accents. */
.leph-spectacle-single .leph-sidebar-dates__title,
.leph-spectacle-single .leph-sidebar-further__title,
.leph-spectacle-single .leph-audio-highlight p,
.leph-spectacle-single .leph-creators-intro {
  font-family: 'Fuzzy Bubbles', cursive !important;
  font-weight: 400 !important;
}

/* Preserve the current visual sizing; only the type system changes. */
.leph-spectacle-single .leph-presentation h2 {
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  padding-top: 6px !important;
  padding-bottom: 17px !important;
}

.leph-spectacle-single .leph-sidebar-dates__title {
  font-size: 27px !important;
  line-height: 1.05 !important;
}

.leph-spectacle-single .leph-audio-card__heading h2,
.leph-spectacle-single .leph-sidebar-audio__content h2 {
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

.leph-spectacle-single .leph-credits__text h3,
.leph-spectacle-single .leph-audio-credits h3,
.leph-spectacle-single .leph-audio-artists h3 {
  font-size: 26px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

.leph-spectacle-single .leph-creator-card__content h3 {
  font-size: 24px !important;
  font-weight: 400 !important;
}

@media (max-width: 700px) {
  .leph-spectacle-single .leph-credits__text h3,
  .leph-spectacle-single .leph-audio-credits h3,
  .leph-spectacle-single .leph-audio-artists h3 {
    font-size: 24px !important;
  }
}

/* Compact icon/title rhythm shared with the audio headings. */
.leph-spectacle-single .leph-presentation h2,
.leph-spectacle-single .leph-credits__text h3 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
}

.leph-spectacle-single .leph-presentation h2 .leph-section-title__icon,
.leph-spectacle-single .leph-credits__text h3 .leph-section-title__icon {
  display: none !important;
  width: 0 !important;
  flex: 0 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.leph-spectacle-single .leph-presentation h2::before,
.leph-spectacle-single .leph-credits__text h3::before {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.leph-spectacle-single .leph-presentation h2 > span:last-child,
.leph-spectacle-single .leph-credits__text h3 > span:last-child {
  margin: 0 !important;
  padding: 0 !important;
}

/* Practical sidebar information stays in navy. */
.leph-spectacle-single .leph-sidebar-dates__date,
.leph-spectacle-single .leph-sidebar-dates__location,
.leph-spectacle-single .leph-sidebar-dates__time,
.leph-spectacle-single .leph-sidebar-audio__content p {
  color: var(--leph-navy) !important;
}


/* 0.3.32 — Sidebar surface progression + presentation title breathing room.
 * Dates keeps the featured gradient; the audio card takes the same warm gradient
 * and the further-links block returns to the softer lavender surface. The
 * presentation heading gains 6px padding above and below without changing its
 * existing typography. */
.leph-spectacle-single .leph-sidebar-audio {
  background:
    radial-gradient(circle at 100% 0%, rgba(230,211,78,.23), transparent 36%),
    linear-gradient(135deg, #f3f1fb 0%, #fff7d1 100%) !important;
}

.leph-spectacle-single .leph-sidebar-further {
  background: #faf9fd !important;
}

.leph-spectacle-single .leph-presentation h2 {
  padding-top: 6px !important;
  padding-bottom: 17px !important;
}


/* 0.3.36 — Design pass
 * Requested refinements:
 * - Presentation title: Bubblegum Sans, 36px only.
 * - Upcoming dates title: Bubblegum Sans, 24px.
 * - Editorial Fuzzy Bubbles accents: 19px / 700.
 * - Creator functions: slightly smaller.
 */
.leph-spectacle-single .leph-presentation h2 {
  font-family: 'Bubblegum Sans', sans-serif !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
}

.leph-spectacle-single .leph-sidebar-dates__title {
  font-family: 'Bubblegum Sans', sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

.leph-spectacle-single .leph-sidebar-further__title,
.leph-spectacle-single .leph-creators-intro,
.leph-spectacle-single .leph-media-intro {
  font-family: 'Fuzzy Bubbles', cursive !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* The audio card description keeps its normal functional typography.
 * The short editorial slogan below the card gets the handwritten treatment. */
.leph-spectacle-single .leph-audio-card__description {
  font-family: 'Teacher', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

.leph-spectacle-single .leph-audio-highlight,
.leph-spectacle-single .leph-audio-highlight p {
  font-family: 'Fuzzy Bubbles', cursive !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.leph-spectacle-single .leph-creator-card__function {
  font-size: .72rem !important;
}


/* 0.3.40 — single WooCommerce product in the Boutique tab */
.leph-spectacle-single .leph-shop-feature {
  display: grid;
  grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 34px;
  background: #f8f7fb;
  border: 1px solid rgba(34,29,84,.10);
  border-radius: 24px;
}
.leph-spectacle-single .leph-shop-feature__image {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}
.leph-spectacle-single .leph-shop-feature__image a {
  display: block;
}
.leph-spectacle-single .leph-shop-feature__image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.leph-spectacle-single .leph-shop-feature__category {
  display: inline-block;
  margin-bottom: 17px;
  padding: 11px 24px;
  border-radius: 999px;
  background: #f8d84a;
  color: #221d54;
  font-family: 'Teacher', sans-serif !important;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}
.leph-spectacle-single .leph-shop-feature__content h2 {
  margin: 0 0 8px;
  font-family: 'Bubblegum Sans', sans-serif !important;
  color: #221d54;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
}
.leph-spectacle-single .leph-shop-feature__price {
  margin: 0 0 16px;
  color: #221d54;
  font-family: 'Teacher', sans-serif !important;
  font-size: 20px;
  font-weight: 600;
}
.leph-spectacle-single .leph-shop-feature__description {
  margin: 0 0 24px;
  color: #221d54;
  font-family: 'Teacher', sans-serif !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}
.leph-spectacle-single .leph-shop-feature__description p:last-child { margin-bottom: 0; }
.leph-spectacle-single .leph-shop-feature__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-family: 'Bubblegum Sans', sans-serif !important;
}
@media (max-width: 767px) {
  .leph-spectacle-single .leph-shop-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }
  .leph-spectacle-single .leph-shop-feature__content h2 { font-size: 28px; }
}
