.stageflow-single {
  background: #f5f3ee;
  color: #191919;
}

.stageflow-single__container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.stageflow-single__hero {
  min-height: 580px;
  padding: 120px 0 90px;
  background-color: #151515;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.stageflow-single__hero-content {
  width: min(720px, 100%);
}

.stageflow-single__label,
.stageflow-single__type {
  display: inline-flex;
  margin: 0 8px 16px 0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stageflow-single__label {
  color: #191919;
  background: #e6c979;
}

.stageflow-single__type {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.stageflow-single__title {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.98;
  color: #fff;
}

.stageflow-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6c979;
}

.stageflow-single__lead {
  max-width: 700px;
  margin: 0;
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.stageflow-single__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.stageflow-single__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
}

.stageflow-single__button--primary {
  color: #191919;
  background: #e6c979;
}

.stageflow-single__button--secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.stageflow-single__button--dark {
  margin-top: 22px;
  color: #fff;
  background: #191919;
}

.stageflow-single__content {
  padding: 70px 0 100px;
}

.stageflow-single__layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
  gap: 70px;
}

.stageflow-single__sidebar {
  position: relative;
  margin-top: -180px;
}

.stageflow-single__poster {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.stageflow-single__main {
  display: grid;
  gap: 70px;
}

.stageflow-single__section h2 {
  margin: 4px 0 24px;
  font-size: clamp(30px, 4vw, 46px);
}

.stageflow-single__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a7933;
}

.stageflow-single__description {
  font-size: 18px;
  line-height: 1.75;
  color: #4b4b4b;
}

.stageflow-single__description p:first-child {
  margin-top: 0;
}

.stageflow-single__schedules {
  overflow: hidden;
  border: 1px solid #ddd8ce;
  border-radius: 10px;
  background: #fff;
}

.stageflow-single__schedule {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 110px minmax(150px, auto);
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid #e7e2d8;
}

.stageflow-single__schedule:last-child {
  border-bottom: 0;
}

.stageflow-single__schedule-date {
  display: grid;
  gap: 2px;
}

.stageflow-single__schedule-date span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #98752e;
}

.stageflow-single__schedule-date strong {
  font-size: 18px;
}

.stageflow-single__schedule-time {
  font-size: 28px;
  font-weight: 700;
}

.stageflow-single__schedule-status {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.stageflow-single__schedule-status small {
  color: #777;
}

.stageflow-single__sold-out,
.stageflow-single__available {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.stageflow-single__sold-out {
  color: #8b1f18;
  background: #fbe7e5;
}

.stageflow-single__available {
  color: #176b2b;
  background: #eaf7ed;
}

.stageflow-single__empty {
  padding: 28px;
  border: 1px solid #ddd8ce;
  border-radius: 10px;
  background: #fff;
  color: #666;
}

.stageflow-single__video {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #111;
}

.stageflow-single__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 900px) {
  .stageflow-single__hero {
    min-height: auto;
    padding: 100px 0 150px;
  }

  .stageflow-single__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
  }

  .stageflow-single__sidebar {
    margin-top: -130px;
  }

  .stageflow-single__schedule {
    grid-template-columns: 1fr auto;
  }

  .stageflow-single__schedule-status {
    grid-column: 1 / -1;
    justify-items: start;
  }
}

@media screen and (max-width: 680px) {
  .stageflow-single__container {
    width: min(100% - 30px, 1240px);
  }

  .stageflow-single__hero {
    padding: 80px 0 120px;
  }

  .stageflow-single__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stageflow-single__sidebar {
    width: min(260px, 78%);
    margin: -105px auto 0;
  }

  .stageflow-single__content {
    padding-top: 0;
  }

  .stageflow-single__main {
    gap: 50px;
  }

  .stageflow-single__schedule {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px;
  }

  .stageflow-single__schedule-time {
    font-size: 24px;
  }

  .stageflow-single__hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .stageflow-single__button {
    width: 100%;
  }
}
/* Barra di navigazione della pagina singola */
.stageflow-single-nav {
  position: relative;
  z-index: 20;
  background: #111;
  color: #fff;
}

.stageflow-single-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.stageflow-single-nav__brand {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.stageflow-single-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stageflow-single-nav__links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.stageflow-single-nav__links a:hover,
.stageflow-single-nav__brand:hover {
  color: #e6c979;
}

.stageflow-single__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.stageflow-single__back:hover {
  color: #e6c979;
}

/* Sezioni più pulite */
.stageflow-single__section {
  padding: 0;
  border: 0;
  background: transparent;
}

.stageflow-single__section h2 {
  padding: 0 0 16px;
  border-bottom: 1px solid #d8d3ca;
}

.stageflow-single__description {
  padding: 0;
  border: 0;
  background: transparent;
}

/* La programmazione mantiene solo il contenitore utile */
.stageflow-single__schedules {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.stageflow-single__schedule {
  border: 0;
  border-bottom: 1px solid #ded9cf;
  background: transparent;
}

.stageflow-single__schedule:first-child {
  border-top: 1px solid #ded9cf;
}

/* Pulsante Webtic più leggibile */
.stageflow-single__button--dark {
  color: #fff;
  background: #191919;
}

.stageflow-single__button--dark:hover {
  color: #191919;
  background: #e6c979;
}
