/* One heading/control row for every carousel with visible navigation. */
@media (min-width:561px){
 html body :is(#lsl-workshops-en,#lsl-events-en,#lsl-corporate-en) .experiences .section-head{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
 }
 html body :is(#lsl-workshops-en,#lsl-events-en,#lsl-corporate-en) .section-head :is(h1,h2){min-width:0;margin:0}
 html body :is(#lsl-workshops-en,#lsl-events-en,#lsl-corporate-en) .section-head .rail-controls{
  display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;width:auto;max-width:none;margin:0;padding:0;gap:8px;visibility:visible;
 }
}

#lsl-workshops-en .experience-card .lsl-bestseller-badge {
  top: 14px;
  left: 14px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 3px;
  background: #000;
  box-shadow: none;
  font-family: "Inter Tight", Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

/* The red promotion label is kept distinct from the black bestseller label. */
#lsl-workshops-en .experience-card .lsl-sale-badge,
#lsl-events-en .experience-card .lsl-sale-badge {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 3px;
  background: #ce0015;
  color: #fff;
  font-family: "Inter Tight", Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}

/* Keep both carousel controls visible, with only the chevrons drawn. */
#lsl-workshops-en .experience-card .gallery-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  backdrop-filter: none;
  transform: translateY(-50%);
  transition: color .2s ease;
}

#lsl-workshops-en .experience-card .gallery-button:hover,
#lsl-workshops-en .experience-card .gallery-button:focus-visible {
  border: 0;
  background: transparent;
  color: #d93850;
  transform: translateY(-50%);
}

#lsl-workshops-en .experience-card .gallery-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  #lsl-workshops-en .rail-wrap .rail,
  #lsl-events-en .rail-wrap .rail,
  #lsl-corporate-en .rail-wrap .rail {
    padding-top: 16px;
    padding-bottom: 26px;
  }

  #lsl-workshops-en .rail .experience-card,
  #lsl-events-en .rail .experience-card,
  #lsl-corporate-en .rail .experience-card {
    position: relative;
    transition: box-shadow .2s linear;
  }

  #lsl-workshops-en .rail .experience-card:hover,
  #lsl-events-en .rail .experience-card:hover,
  #lsl-corporate-en .rail .experience-card:hover {
    z-index: 2;
    box-shadow: 0 6px 20px rgba(28, 28, 32, .09);
  }

  #lsl-workshops-en .card-gallery .slide.is-active,
  #lsl-events-en .card-gallery .slide:only-child,
  #lsl-corporate-en .card-gallery .slide:only-child {
    z-index: 1;
    transition: transform .2s linear;
  }

  #lsl-workshops-en .card-gallery:hover .slide.is-active,
  #lsl-events-en .card-gallery:hover .slide:only-child,
  #lsl-corporate-en .card-gallery:hover .slide:only-child {
    transform: scale(1.05);
  }

}

@media (max-width: 560px) {
  #lsl-workshops-en .experience-card .lsl-bestseller-badge {
    top: 12px;
    left: 12px;
    min-height: 22px;
    padding: 0 6px;
    font-size: 14px;
  }

  #lsl-events-en .experience-card .lsl-sale-badge {
    top: 12px;
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #lsl-workshops-en .experience-card,
  #lsl-events-en .experience-card,
  #lsl-corporate-en .experience-card,
  #lsl-workshops-en .card-gallery .slide.is-active,
  #lsl-events-en .card-gallery .slide:only-child,
  #lsl-corporate-en .card-gallery .slide:only-child {
    transition-duration: .01ms;
  }
}

html body :is(#lsl-workshops-en,#lsl-events-en,#lsl-corporate-en) .rail-controls[hidden]{display:none!important}

/* Direct workshop booking; View more continues to open workshop information. */

/* Event cards share the desktop workshop presentation and keep a visible CTA. */
@media (min-width: 1151px) and (hover: hover) and (pointer: fine) {
  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail {
    gap: 20px;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail .experience-card {
    position: relative;
    flex-basis: clamp(297px, 22vw, 363px);
    transform: none;
    transform-origin: center;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, .08);
    transition: transform .3s cubic-bezier(0, 0, .5, 1), box-shadow .3s cubic-bezier(0, 0, .5, 1);
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail .experience-card:hover {
    transform: scale3d(1.01, 1.01, 1.01);
    box-shadow: 2px 4px 16px rgba(0, 0, 0, .16);
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail .experience-card,
  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail .experience-card * {
    cursor: pointer;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-gallery {
    aspect-ratio: 22 / 25;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-gallery :is(img, .slide) {
    transform: none;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .lsl-sale-badge {
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid #e8e8ed;
    border-radius: 999px;
    background: #f5f5f7;
    color: #535358;
    box-shadow: none;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-body {
    min-height: 190px;
    padding: 22px 18px 18px;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-index-spacer {
    display: none;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-title {
    font: 400 30px/1 var(--lsl-font-display) !important;
    margin: 0 0 16px;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-copy {
    font: 400 14px/1.4 var(--lsl-font-body);
    margin: 0 0 12px;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-footer {
    border-top-color: transparent;
    padding-top: 0;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-link {
    position: static;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .card-link::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: 18px;
    cursor: pointer;
  }

  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail .experience-card:has(.card-link:focus-visible) {
    outline: 2px solid var(--lsl-red, #d93850);
    outline-offset: 4px;
  }
}

@media (min-width: 1151px) and (hover: hover) and (pointer: fine) and (max-height: 820px) {
  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail .experience-card {
    flex-basis: clamp(286px, 20.9vw, 330px);
  }
}

@media (min-width: 1151px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail .experience-card {
    transition: none;
  }
  html body.lsl-home-page #allrecords :is(#lsl-events-en, #lsl-corporate-en) .rail .experience-card:hover {
    transform: none;
  }
}
