:root {
  --venue-ink: #16142a;
  --venue-muted: #6f6a83;
  --venue-purple: #6252e8;
  --venue-purple-dark: #4436bb;
  --venue-surface: #ffffff;
  --venue-soft: #f4f2ff;
}

.venue-program-page {
  background: #f7f7fb;
  color: var(--venue-ink);
  padding-top: 0 !important;
}

.venue-program-hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #27213d;
}

.venue-program-hero .hero-animated-media {
  position: absolute;
  inset: 0;
}

.venue-program-hero .hero-animated-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-program-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 16, 40, .92) 0%, rgba(24, 19, 45, .66) 52%, rgba(24, 19, 45, .28) 100%),
    linear-gradient(0deg, rgba(20, 16, 40, .55), transparent 65%);
}

.venue-program-hero-content {
  position: relative;
  z-index: 2;
  min-height: 300px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #fff;
  padding-top: 42px;
  padding-bottom: 42px;
}

.venue-program-logo {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  object-fit: contain;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 42px rgba(7, 4, 19, .35);
}

.venue-program-eyebrow,
.venue-preview-eyebrow {
  display: block;
  color: #d8d2ff;
  font-size: .75rem;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}

.venue-program-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -.04em;
  font-weight: 850;
  margin: 0;
}

.venue-program-hero p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  margin: 10px 0 0;
}

.venue-place-link {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 10px 28px rgba(7, 4, 19, .18);
  backdrop-filter: blur(12px);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.venue-place-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .22);
  transform: translateY(-1px);
}

.venue-place-link svg {
  width: 16px;
  height: 16px;
}

.venue-program-shell {
  padding-top: 28px;
  padding-bottom: 64px;
}

.venue-program-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--venue-muted);
  font-size: .85rem;
  margin-bottom: 18px;
}

.venue-program-meta span,
.venue-program-meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.venue-program-meta svg {
  width: 15px;
  height: 15px;
}

.venue-program-meta a {
  color: var(--venue-purple-dark);
  font-weight: 700;
  text-decoration: none;
}

.venue-ticket-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 14px;
  padding: 10px 12px;
  border: 1px solid #e3def6;
  border-radius: 14px;
  color: #5d5673;
  font-size: .76rem;
  line-height: 1.4;
  background: #f1effc;
}

.venue-ticket-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--venue-purple);
}

.venue-day-switcher {
  position: sticky;
  top: 8px;
  z-index: 20;
  margin: 0 0 18px;
}

.venue-day-chips {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 8px 2px 14px;
  margin: 0;
  scrollbar-width: none;
}

.venue-day-chips::-webkit-scrollbar {
  display: none;
}

.venue-day-chip {
  min-width: 78px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid #e4e0f3;
  border-radius: 18px;
  color: var(--venue-ink);
  text-decoration: none;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 20px rgba(34, 27, 73, .07);
  backdrop-filter: blur(12px);
}

.venue-day-chip strong {
  font-size: .86rem;
}

.venue-day-chip span {
  color: var(--venue-muted);
  font-size: .72rem;
}

.venue-day-chip.is-active {
  color: #fff;
  border-color: var(--venue-purple);
  background: linear-gradient(135deg, var(--venue-purple), var(--venue-purple-dark));
  box-shadow: 0 10px 24px rgba(68, 54, 187, .25);
}

.venue-day-chip.is-active span {
  color: rgba(255, 255, 255, .78);
}

.venue-day-chip.is-today:not(.is-active) {
  border-color: #a79df1;
  color: var(--venue-purple-dark);
}

.venue-program-day {
  scroll-margin-top: 106px;
  margin-top: 34px;
}

.venue-days-enhanced .venue-program-day:not(.is-active) {
  display: none;
}

.venue-days-enhanced .venue-program-day.is-active {
  margin-top: 0;
}

.venue-program-day-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 14px;
}

.venue-program-day-heading span {
  display: none;
}

.venue-program-day-heading h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -.02em;
}

.venue-program-day-heading small {
  color: var(--venue-muted);
  font-weight: 650;
}

.venue-film-list {
  display: grid;
  gap: 14px;
}

.venue-film-card {
  --venue-poster-width: 142px;
  --venue-poster-ratio: 600 / 889;
  display: grid;
  grid-template-columns: var(--venue-poster-width) minmax(0, 1fr);
  scroll-margin-top: 104px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ebe8f3;
  border-radius: 22px;
  background: var(--venue-surface);
  box-shadow: 0 10px 30px rgba(33, 25, 72, .07);
}

.venue-theatre-card[data-event-url] {
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .venue-theatre-card[data-event-url]:hover {
    border-color: rgba(98, 82, 232, .28);
    box-shadow: 0 14px 34px rgba(33, 25, 72, .12);
    transform: translateY(-1px);
  }
}

.venue-film-poster {
  position: relative;
  align-self: start;
  width: 100%;
  aspect-ratio: var(--venue-poster-ratio);
  padding: 0;
  border: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #aaa4c1;
  background: linear-gradient(145deg, #eeebfa, #dcd7ef);
}

.venue-poster-zoom {
  cursor: zoom-in;
}

.venue-poster-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.venue-poster-link img {
  transition: transform .22s ease, filter .22s ease;
}

.venue-poster-link:hover img {
  filter: saturate(1.04);
  transform: scale(1.018);
}

.venue-poster-link:focus-visible {
  z-index: 1;
  outline: 3px solid var(--color-brand-identity, #a21caf);
  outline-offset: -3px;
}

.venue-film-poster img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.venue-poster-zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  color: #fff;
  background: rgba(16, 12, 34, .72);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .24);
  backdrop-filter: blur(8px);
  transition: transform .18s ease, background-color .18s ease;
}

.venue-poster-zoom:hover .venue-poster-zoom-hint,
.venue-poster-zoom:focus-visible .venue-poster-zoom-hint {
  background: var(--venue-purple);
  transform: scale(1.08);
}

.venue-film-poster .venue-poster-zoom-hint svg {
  width: 14px;
  height: 14px;
}

.venue-film-poster svg {
  width: 34px;
  height: 34px;
}

.venue-film-content {
  min-width: 0;
  padding: 17px 16px 15px;
}

.venue-film-topline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.venue-film-card h3 {
  margin: 0;
  color: var(--venue-ink);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 820;
}

.venue-film-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease;
}

.venue-film-card h3 a:hover {
  color: var(--venue-purple-dark);
}

.venue-film-card h3 a:focus-visible {
  color: var(--venue-purple-dark);
  outline: 2px solid var(--color-brand-identity, #a21caf);
  outline-offset: 3px;
  border-radius: 4px;
}

.venue-film-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.venue-film-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #615a77;
  font-size: .7rem;
  font-weight: 750;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--venue-soft);
}

.venue-film-meta svg {
  width: 12px;
  height: 12px;
}

.venue-trailer-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: .8rem;
  font-weight: 820;
  text-decoration: none;
  background: linear-gradient(135deg, #e94667, #b72f76);
  box-shadow: 0 9px 20px rgba(183, 47, 118, .23);
  transition: transform .18s ease, box-shadow .18s ease;
}

.venue-trailer-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(183, 47, 118, .3);
}

.venue-trailer-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}

.venue-trailer-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.venue-showtimes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.venue-program-save,
.venue-calendar-action,
.venue-participate-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 12px;
  font: inherit;
  font-size: .8rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.venue-program-save:focus-visible,
.venue-calendar-action:focus-visible,
.venue-participate-action:focus-visible {
  outline: 2px solid var(--color-brand-identity, #a21caf);
  outline-offset: 2px;
}

.venue-program-save svg,
.venue-calendar-action svg,
.venue-participate-action svg {
  width: 15px;
  height: 15px;
}

.venue-theatre-showtime-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
}

.venue-showtime-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #d9d3f3;
  border-radius: 12px;
  color: var(--venue-purple-dark);
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
  background: #faf9ff;
}

.venue-showtime-pill svg {
  width: 14px;
  height: 14px;
}

.venue-showtime-pill.is-sold-out {
  color: #8b8599;
  border-color: #ebe8ee;
  background: #f4f3f5;
}

.venue-showtime-pill.is-past {
  cursor: default;
  color: #9a97a2;
  border-color: #e5e3e8;
  background: #efeff2;
  box-shadow: none;
  opacity: .78;
}

.venue-showtime-pill small {
  font-size: .62rem;
  font-weight: 700;
}

@media (max-width: 430px) {
  .venue-theatre-showtime-actions {
    width: 100%;
  }

  .venue-theatre-showtime-actions .venue-showtime-pill,
  .venue-theatre-showtime-actions .venue-calendar-action,
  .venue-theatre-showtime-actions .venue-program-save,
  .venue-theatre-showtime-actions .venue-participate-action {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }
}

.venue-ticket-note--theatre {
  border-color: #ead9c7;
  color: #664c38;
  background: #fff8ef;
}

.venue-ticket-note--theatre svg {
  color: #a85f24;
}

.venue-theatre-details {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
}

.venue-theatre-details div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px;
  color: var(--venue-muted);
  font-size: .75rem;
  line-height: 1.45;
}

.venue-theatre-details dt {
  color: var(--venue-ink);
  font-weight: 800;
}

.venue-theatre-details dd {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.venue-theatre-card {
  /* Afișele teatrului sunt portret (în prezent 300×430/450). Raportul vechi,
     landscape, scurta containerul la 105px și tăia restul imaginii, chiar
     dacă imaginea declara object-fit: contain. */
  --venue-poster-ratio: 300 / 430;
  grid-template-columns: minmax(260px, 36%) minmax(0, 1fr);
}

.venue-theatre-card .venue-film-poster {
  background: linear-gradient(145deg, #f4eadd, #e7d5c0);
  color: #9b704b;
}

.venue-stale-card,
.venue-empty-state {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 32px 20px;
  border: 1px solid #e3def4;
  border-radius: 24px;
  background: #fff;
}

.venue-stale-card > svg,
.venue-empty-state > svg {
  width: 36px;
  height: 36px;
  color: var(--venue-purple);
}

.venue-stale-card h2,
.venue-empty-state h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 850;
}

.venue-stale-card p {
  margin: 5px 0 0;
  color: var(--venue-muted);
}

.venue-stale-card a,
.venue-empty-state a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  background: var(--venue-purple);
}

.venue-poster-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 64px 24px 24px;
  background: rgba(11, 8, 25, .92);
  backdrop-filter: blur(10px);
}

.venue-poster-lightbox[hidden] {
  display: none;
}

.venue-poster-lightbox figure {
  max-width: min(520px, 88vw);
  max-height: calc(100dvh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.venue-poster-lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 132px);
  display: block;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .52);
}

.venue-poster-lightbox figcaption {
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  text-align: center;
}

.venue-poster-lightbox-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.venue-poster-lightbox-close svg {
  width: 22px;
  height: 22px;
}

.venue-lightbox-open {
  overflow: hidden;
}

.venue-place-facts {
  margin: 0 0 24px;
  padding: 19px;
  border: 1px solid #e8e4f4;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(98, 82, 232, .13), transparent 42%),
    #fff;
  box-shadow: 0 10px 28px rgba(39, 30, 83, .07);
}

.venue-place-facts-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}

.venue-place-facts-heading h2 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 850;
}

.venue-place-facts-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--venue-purple-dark);
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
}

.venue-place-facts-heading > a svg {
  width: 14px;
  height: 14px;
}

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

.venue-place-fact {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 1px 9px;
  padding: 12px;
  border: 1px solid #e8e4f4;
  border-radius: 16px;
  background: rgba(248, 247, 255, .86);
}

.venue-place-fact-icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--venue-purple), var(--venue-purple-dark));
}

.venue-place-fact-icon svg {
  width: 17px;
  height: 17px;
}

.venue-place-fact strong {
  min-width: 0;
  color: var(--venue-ink);
  font-size: .92rem;
  line-height: 1.1;
}

.venue-place-fact > span:last-child {
  min-width: 0;
  overflow: hidden;
  color: var(--venue-muted);
  font-size: .68rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Bloc compact reutilizat de place.php. */
.venue-preview {
  margin: 0 0 24px;
  padding: 19px;
  border: 1px solid #e8e4f4;
  border-radius: 24px;
  background: linear-gradient(150deg, #fff 0%, #f6f4ff 100%);
  box-shadow: 0 10px 28px rgba(39, 30, 83, .07);
}

.venue-preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}

.venue-preview-eyebrow {
  color: var(--venue-purple);
  font-size: .65rem;
  margin-bottom: 6px;
}

.venue-preview-heading h2 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 850;
}

.venue-preview-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--venue-purple-dark);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.venue-preview-heading > a svg {
  width: 14px;
  height: 14px;
}

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

.venue-preview-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8e4f2;
  border-radius: 16px;
  color: var(--venue-ink);
  text-decoration: none;
  background: #fff;
}

.venue-preview-poster {
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #aaa4c1;
  background: #ebe8f5;
}

.venue-preview-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-preview-copy {
  padding: 9px;
}

.venue-preview-copy h3 {
  min-height: 2.35em;
  margin: 0;
  overflow: hidden;
  font-size: .78rem;
  line-height: 1.18;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.venue-preview-copy p {
  margin: 6px 0 0;
  color: var(--venue-purple-dark);
  font-size: .7rem;
  font-weight: 800;
}

.venue-preview-fallback,
.venue-preview-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--venue-muted);
  font-size: .82rem;
}

.venue-preview-fallback > svg,
.venue-preview-empty > svg {
  width: 22px;
  height: 22px;
  color: var(--venue-purple);
  flex: 0 0 auto;
}

.venue-preview-fallback p {
  margin: 2px 0 0;
}

.venue-preview-fallback a,
.venue-preview-empty a {
  margin-left: auto;
  color: var(--venue-purple-dark);
  font-weight: 800;
  text-decoration: none;
}

/* Paginile de program urmează aceeași coloană publică precum detaliile de
   locație și homepage-ul. Bootstrap trece containerul la 720px exact la
   768px; fără această treaptă, programul devenea vizibil mai lat decât restul
   site-ului, iar newsletterul rămânea într-un layout desktop înghesuit. */
@media (max-width: 991.98px) {
  body.venue-program-page .venue-program-hero-content,
  body.venue-program-page .venue-program-shell,
  body.venue-program-page .home-footer > .container {
    width: 100%;
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
  }

  body.venue-program-page > .newsletter-banner {
    width: calc(100% - 24px);
    max-width: 616px;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.venue-program-page .newsletter-promo-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.venue-program-page .newsletter-promo-action {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .venue-program-hero,
  .venue-program-hero-content {
    min-height: 270px;
  }

  .venue-program-hero-content {
    gap: 18px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .venue-program-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }

  .venue-program-hero h1 {
    font-size: 2rem;
    font-weight: 800;
  }

  .venue-program-hero p {
    font-size: .95rem;
  }

  .venue-place-link {
    margin-top: 16px;
    font-size: .8rem;
  }

  .venue-program-shell {
    padding-top: 22px;
    padding-bottom: 36px;
  }

  .venue-program-day-heading h2 {
    font-size: 1.18rem;
    font-weight: 800;
  }

  .venue-film-card h3 {
    font-size: .98rem;
    font-weight: 800;
  }

  .venue-theatre-card {
    grid-template-columns: minmax(220px, 36%) minmax(0, 1fr);
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  body.venue-program-page .venue-program-hero-content,
  body.venue-program-page .venue-program-shell,
  body.venue-program-page .home-footer > .container {
    max-width: 540px;
  }

  body.venue-program-page > .newsletter-banner {
    max-width: 516px;
  }
}

@media (max-width: 767.98px) {
  .venue-day-switcher {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    margin-right: -4px;
    padding-right: 0;
  }

  /* Selectorul rămâne pe toată lățimea, iar spațiul pentru X face parte din
     scrollport. Astfel ultimul chip poate fi adus complet în câmpul vizual,
     fără ca lista să pară tăiată brusc înaintea controlului de închidere. */
  .venue-day-chips {
    padding-right: calc(env(safe-area-inset-right, 0px) + 64px);
    scroll-padding-right: calc(env(safe-area-inset-right, 0px) + 64px);
  }

  .venue-day-switcher::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: calc(env(safe-area-inset-right, 0px) + 64px);
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(247, 247, 251, 0), #f7f7fb 72%);
  }

  .venue-program-hero,
  .venue-program-hero-content {
    min-height: 245px;
  }

  .venue-program-hero-content {
    align-items: end;
    gap: 14px;
    padding: 64px 18px 22px;
  }

  .venue-program-logo {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .venue-program-hero h1 {
    font-size: 1.82rem;
  }

  .venue-program-hero p {
    font-size: .88rem;
  }

  .venue-place-link {
    min-height: 38px;
    margin-top: 13px;
    padding: 8px 12px;
    font-size: .76rem;
  }

  .venue-program-shell {
    padding: 18px 12px 24px;
  }

  .venue-program-meta {
    align-items: flex-start;
    font-size: .74rem;
  }

  .venue-program-meta a {
    white-space: nowrap;
  }

  .venue-film-card {
    --venue-poster-width: 124px;
    grid-template-columns: var(--venue-poster-width) minmax(0, 1fr);
    scroll-margin-top: 112px;
    border-radius: 18px;
  }

  .venue-film-poster {
    min-height: 0;
  }

  .venue-theatre-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .venue-film-content {
    padding: 14px 12px 12px;
  }

  .venue-film-topline {
    display: block;
  }

  .venue-trailer-link {
    width: fit-content;
    margin-top: 9px;
  }

  .venue-showtime-pill {
    min-height: 36px;
    padding: 7px 9px;
    font-size: .78rem;
  }

  .venue-preview {
    margin-left: -12px;
    margin-right: -12px;
    padding: 17px 16px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .venue-preview-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px 4px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .venue-preview-card {
    width: 128px;
    flex: 0 0 128px;
    scroll-snap-align: start;
  }

  .venue-place-facts {
    margin-left: -12px;
    margin-right: -12px;
    padding: 17px 16px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .venue-place-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-place-fact {
    padding: 10px;
  }

  .venue-preview-fallback,
  .venue-preview-empty {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .venue-preview-fallback a,
  .venue-preview-empty a {
    width: 100%;
    margin-left: 34px;
  }
}

@media (max-width: 339.98px) {
  .venue-film-card:not(.venue-theatre-card) {
    --venue-poster-width: 112px;
    grid-template-columns: var(--venue-poster-width) minmax(0, 1fr);
  }
}

@media (min-width: 992px) {
  body.venue-program-page > main {
    padding-top: 12px;
  }

  body.venue-program-page .venue-program-hero {
    width: min(1100px, calc(100% - 32px));
    margin-inline: auto;
    border: 1px solid rgba(55, 48, 77, 0.1);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(31, 25, 65, 0.09);
  }

  body.venue-program-page .venue-program-hero-content {
    max-width: 1040px;
  }

  body.venue-program-page .venue-day-switcher {
    top: calc(var(--public-desktop-fixed-offset, 122px) + 12px);
  }

  .venue-program-shell {
    max-width: 1040px;
  }

  .venue-film-card {
    --venue-poster-width: 168px;
    grid-template-columns: var(--venue-poster-width) minmax(0, 1fr);
  }

  .venue-film-poster {
    min-height: 0;
  }

  .venue-theatre-card {
    grid-template-columns: minmax(320px, 36%) minmax(0, 1fr);
  }

  .venue-film-content {
    padding: 24px;
  }
}

/* Două coloane numai când shellul poate oferi aproximativ 540px fiecărui
   card. Cinema împarte filmele zilei active; Teatru împarte zilele, deoarece
   acestea conțin frecvent un singur spectacol. */
@media (min-width: 1200px) {
  body.venue-program-page .venue-program-shell {
    max-width: 1100px;
  }

  .venue-program-days--cinema .venue-film-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .venue-program-days--theatre {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 22px 16px;
  }

  .venue-program-days--theatre .venue-program-day {
    min-width: 0;
    margin-top: 0;
  }

  .venue-program-days--theatre .venue-film-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .venue-film-card,
  .venue-theatre-card {
    --venue-poster-width: 156px;
    grid-template-columns: var(--venue-poster-width) minmax(0, 1fr);
  }

  .venue-film-content {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .venue-day-chip,
  .venue-showtime-pill {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .venue-program-save,
  .venue-calendar-action,
  .venue-participate-action {
    border-color: ButtonText;
    background: Canvas;
    color: ButtonText;
  }
}
