.shotgun-slider {
  --shotgun-gap: clamp(12px, 1.2vw, 18px);
  --shotgun-card-width: calc((100vw - (var(--shotgun-gap) * 4)) / 3.84);
  --shotgun-card-cut: clamp(28px, 3.2vw, 48px);
  --shotgun-card-radius: 8px;
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding-block: 100px;
  isolation: isolate;
  background: transparent;
  color: #f6f6f0;
}

.shotgun-slider__viewport {
  position: relative;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: default;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.shotgun-slider__viewport::-webkit-scrollbar {
  display: none;
}

.shotgun-slider.is-dragging .shotgun-slider__viewport,
.shotgun-slider.is-recentring .shotgun-slider__viewport {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.shotgun-slider__viewport:focus-visible {
  outline: 1px solid rgba(246, 246, 240, 0.42);
  outline-offset: -1px;
}

.shotgun-slider__track {
  display: flex;
  align-items: stretch;
  gap: var(--shotgun-gap);
  width: max-content;
  min-width: 100%;
  padding-inline: calc(50vw - (var(--shotgun-card-width) / 2));
}

.shotgun-card {
  position: relative;
  flex: 0 0 var(--shotgun-card-width);
  display: grid;
  grid-template-rows: auto minmax(var(--event-card-row-min, 190px), 1fr);
  width: var(--shotgun-card-width);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--shotgun-card-radius);
  background: var(--kodz-glass-surface);
  box-shadow: 0 0.75rem 2.5rem rgb(0 0 0 / 16%);
  -webkit-backdrop-filter: blur(var(--kodz-glass-blur));
  backdrop-filter: blur(var(--kodz-glass-blur));
  color: #f6f6f0;
  clip-path: var(--shotgun-card-shape, polygon(0 0, 100% 0, 100% 100%, var(--shotgun-card-cut) 100%, 0 calc(100% - var(--shotgun-card-cut))));
  scroll-snap-align: center;
  scroll-snap-stop: always;
  cursor: pointer;
}

.shotgun-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--shotgun-card-radius) var(--shotgun-card-radius) 0 0;
  background: #060708;
}

.shotgun-card__media::after {
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(246, 246, 240, 0.08);
  border-radius: calc(var(--shotgun-card-radius) - 1px) calc(var(--shotgun-card-radius) - 1px) 0 0;
  content: "";
  pointer-events: none;
}

.shotgun-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
  transform: scale(1.001);
  transition: filter 320ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shotgun-card.is-active .shotgun-card__media img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.shotgun-card__info {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--event-card-info-gap, 16px);
  min-height: var(--event-card-info-min, 210px);
  padding: clamp(12px, 1.25vw, 18px) clamp(12px, 1.25vw, 18px) var(--event-card-info-bottom, 56px);
  /* The card shell owns the shared glass layer. Repeating it here would
     compound 53% over 53% and make this area effectively ~78% opaque. */
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-transform: uppercase;
}

.shotgun-card__eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(246, 246, 240, 0.42);
  font-size: clamp(0.5rem, 0.58vw, 0.64rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.shotgun-card__eyebrow time {
  overflow: hidden;
  text-overflow: ellipsis;
}

.shotgun-card__main {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.shotgun-card__main h3 {
  display: -webkit-box;
  min-height: 2em;
  max-height: 2em;
  margin: 0;
  overflow: hidden;
  color: #f6f6f0;
  font-size: clamp(1rem, 1.25vw, 1.42rem);
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shotgun-card__genres {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 51px;
  overflow: hidden;
}

.shotgun-card__genres span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding-inline: 7px;
  border: 1px solid rgba(246, 246, 240, 0.34);
  color: rgba(246, 246, 240, 0.42);
  font-size: clamp(0.48rem, 0.54vw, 0.58rem);
  font-weight: 700;
  line-height: 1;
}

.shotgun-card__tickets {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 0;
  color: var(--color-foreground);
  cursor: pointer;
  font-size: clamp(0.56rem, 0.66vw, 0.7rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.shotgun-card:hover .shotgun-card__tickets,
.shotgun-card__tickets:hover,
.shotgun-card__tickets:focus-visible {
  color: var(--kodz-link-hover-color);
  outline: none;
}

.shotgun-bracket {
  display: block;
  width: 7px;
  height: 16px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.75;
}

.shotgun-bracket.is-right {
  transform: scale(-1, -1);
}

.shotgun-slider__controls {
  position: relative;
  z-index: 3;
  display: flex;
  width: max-content;
  gap: 16px;
  margin: 28px auto 0;
}

.shotgun-slider__controls button {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 9px;
  min-width: 58px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: color 180ms ease;
}

.shotgun-slider__controls button:hover,
.shotgun-slider__controls button:focus-visible {
  color: var(--kodz-link-hover-color);
  outline: none;
}

.shotgun-slider__controls .shotgun-bracket {
  width: 13px;
  height: 30px;
  stroke-width: 0.9;
}

.shotgun-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.shotgun-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shotgun-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.86);
}

.shotgun-modal__sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
  width: min(1080px, 100%);
  height: min(720px, calc(100svh - 64px));
  overflow: hidden;
  border: 1px solid #292929;
  background: #050607;
  transform: translateY(16px) scale(0.985);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shotgun-modal.is-open .shotgun-modal__sheet {
  transform: none;
}

.shotgun-modal__panel {
  display: grid;
  align-content: space-between;
  padding: clamp(18px, 2vw, 28px);
  border-right: 1px solid #202020;
}

.shotgun-modal__summary {
  min-width: 0;
}

.shotgun-modal__panel h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.55rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.shotgun-modal__visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: clamp(16px, 1.6vw, 24px);
  border-radius: var(--kodz-ui-radius);
  object-fit: cover;
}

.shotgun-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shotgun-modal__actions a {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 8px;
  color: var(--color-foreground);
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.shotgun-modal__actions a:hover,
.shotgun-modal__actions a:focus-visible {
  color: var(--kodz-link-hover-color);
  outline: none;
}

.shotgun-modal__actions button {
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  padding: 0;
  border: 0;
  border-radius: var(--kodz-ui-radius);
  background: var(--kodz-glass-surface);
  color: #f6f6f0;
  cursor: pointer;
  font-size: 0;
  -webkit-backdrop-filter: blur(var(--kodz-glass-blur));
  backdrop-filter: blur(var(--kodz-glass-blur));
}

.shotgun-modal__actions .kodz-icon-close:hover,
.shotgun-modal__actions .kodz-icon-close:focus-visible {
  background: rgb(244 244 240 / 12%);
  color: var(--kodz-link-hover-color);
}

.shotgun-modal__frame-shell {
  position: relative;
  background: #171819;
}

.shotgun-modal__frame-shell::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(246, 246, 240, 0.34);
  content: "CHARGEMENT SHOTGUN";
  font-size: 0.68rem;
  font-weight: 700;
}

.shotgun-modal iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

body.has-shotgun-modal {
  overflow: hidden;
}

@media (min-width: 992px) {
  .shotgun-modal {
    --shotgun-modal-edge-gap: clamp(1.25rem, 1.45vw, 1.75rem);
    --shotgun-navbar-height: 3.25rem;
    --shotgun-admin-offset: 0px;
    place-items: start center;
    padding:
      calc(var(--shotgun-admin-offset) + var(--shotgun-navbar-height) + (var(--shotgun-modal-edge-gap) * 2))
      clamp(16px, 2vw, 32px)
      var(--shotgun-modal-edge-gap);
  }

  .admin-bar .shotgun-modal {
    --shotgun-admin-offset: 32px;
  }

  .shotgun-modal__sheet {
    height: min(
      720px,
      calc(100svh - var(--shotgun-admin-offset) - var(--shotgun-navbar-height) - (var(--shotgun-modal-edge-gap) * 3))
    );
    border-radius: var(--kodz-ui-radius);
  }
}

@media (max-width: 991px) {
  .shotgun-slider {
    --shotgun-card-width: min(56vw, 520px);
  }

  .shotgun-modal__sheet {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .shotgun-modal__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    border-right: 0;
    border-bottom: 1px solid #202020;
  }

  .shotgun-modal__visual {
    display: none;
  }
}

@media (max-width: 767px), (max-width: 991px) and (hover: none) and (pointer: coarse) {
  .shotgun-card,
  .events-card {
    --event-card-row-min: 0px;
    --event-card-info-min: 0px;
    --event-card-info-gap: 0px;
    --event-card-info-bottom: 16px;
  }

  .shotgun-card__info {
    grid-template-rows: auto auto auto;
    align-content: start;
  }

  .shotgun-card__eyebrow {
    margin-bottom: 16px;
  }

  .shotgun-card__genres {
    height: 51px;
    align-content: start;
  }

  .shotgun-card__tickets {
    position: static;
    justify-self: end;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .shotgun-slider {
    --shotgun-card-width: min(82vw, 390px);
  }

  .shotgun-slider__track {
    padding-inline: calc(50vw - (var(--shotgun-card-width) / 2));
  }

  .shotgun-modal {
    z-index: 99;
    display: block;
    padding: 0;
  }

  .shotgun-modal__sheet {
    width: 100vw;
    height: 100svh;
    border: 0;
    grid-template-rows: auto minmax(0, 1fr);
    transform: translateY(1rem);
  }

  .shotgun-modal__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.75rem;
    padding: calc(4rem + 10px) var(--page-padding) 0.75rem;
  }

  .shotgun-modal__panel h3 {
    margin: 0;
    font-size: clamp(1.05rem, 5vw, 1.5rem);
  }

  .shotgun-modal__actions {
    gap: 0.55rem;
  }

  .shotgun-modal__actions a {
    display: none;
  }

  .shotgun-modal__actions button {
    width: 2.75rem;
    height: 2.75rem;
    flex-basis: 2.75rem;
    border-radius: var(--kodz-ui-radius);
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .shotgun-slider {
    --shotgun-card-width: min(56vw, 520px);
  }
}

body.has-shotgun-modal > .shotgun-modal.is-open {
  z-index: calc(var(--z-header) - 1);
}

@media (prefers-reduced-motion: reduce) {
  .shotgun-slider__viewport {
    scroll-behavior: auto;
  }

  .shotgun-card__media img,
  .shotgun-modal,
  .shotgun-modal__sheet {
    transition: none;
  }
}
.shotgun-slider__heading {
  margin: 0 var(--page-padding) 2rem;
  max-width: 42rem;
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}
