/* Stile originale della bozza, caricato dopo Bootstrap. */
h2,
h3 {
  font-weight: 700;
}
p {
  margin: 1em 0;
}
a:hover {
  color: inherit;
}
:root {
  --bg: #101013;
  --panel: #1c1c20;
  --orange: #ff852f;
  --text: #f8f8f8;
  --muted: #aaa9af;
  --line: #343439;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
.wrap {
  width: min(1220px, calc(100% - 72px));
  margin: auto;
}
.utility {
  background: var(--orange);
  color: #151515;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.utility .wrap {
  display: flex;
  justify-content: space-between;
  padding-block: 8px;
}
.utility-separator {
  opacity: 0.5;
  margin: 0 10px;
}
.utility a {
  letter-spacing: 0.3px;
}
header {
  background: #111114;
  border-bottom: 1px solid #ffffff12;
  position: relative;
  z-index: 5;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  min-height: 95px;
}
.brand img {
  width: 170px;
  display: block;
}
.header-inner nav {
  display: flex;
  gap: 32px;
  flex: 1;
  align-self: stretch;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}
.header-inner nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: #c7c6cb;
}
.header-inner nav a:hover {
  color: #fff;
}
.header-inner nav .active {
  color: white;
}
.header-inner nav .active:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  width: 100%;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 25px;
  background: var(--orange);
  color: #111;
  border: 1px solid var(--orange);
  font-size: 14px;
  font-weight: 750;
  border-radius: 3px;
  min-height: 48px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #ff9b53;
  transform: translateY(-2px);
}
.button.outline {
  background: transparent;
  border-color: #ffffff70;
  color: white;
}
.button.outline:hover {
  background: #ffffff12;
}
.button.small {
  padding: 11px 18px;
  min-height: 44px;
}
.button.dark {
  background: #171719;
  border-color: #171719;
  color: #fff;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 25px;
}
.hero {
  position: relative;
  height: 565px;
  isolation: isolate;
  overflow: hidden;
  background: #172324;
}
.hero-visual {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: -3;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
  filter: brightness(0.8);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      #111719 8%,
      #111719f5 28%,
      #111719c9 43%,
      #11171912 75%
    ),
    linear-gradient(0deg, #101013 0%, transparent 38%);
}
.hero-inner {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 560px;
  padding-bottom: 20px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--orange);
  display: block;
}
.hero h1 {
  font-size: clamp(58px, 7.2vw, 100px);
  line-height: 1;
  letter-spacing: -4px;
  margin: 24px 0 20px;
  font-weight: 900;
  max-width: 600px;
}
.hero-credit {
  font-size: 19px;
  font-weight: 600;
  color: #dfdfe0;
  line-height: 1.45;
}
.hero-summary {
  max-width: 370px;
  font-size: 16px;
  color: #b7bec1;
  margin-top: 20px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.hero-times {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}
.hero-times > span {
  font-size: 11px;
  font-weight: 700;
  color: #a7abad;
  letter-spacing: 1.6px;
}
.hero-times strong {
  font-size: 18px;
  letter-spacing: 1px;
}
.hero-times i {
  font-style: normal;
  color: var(--orange);
  margin: 0 12px;
}
.hero-controls {
  position: absolute;
  bottom: 38px;
  right: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-controls button {
  border: 1px solid #ffffff70;
  background: #12121244;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  font-size: 27px;
}
.hero-controls button:hover {
  background: var(--orange);
  color: #111;
}
.slide-count {
  font-size: 13px;
  margin-right: 12px;
  color: #aaa;
}
.slide-count b {
  color: white;
  margin-right: 8px;
}
.hero-bottom {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  gap: 6px;
  height: 3px;
}
.hero-bottom span {
  background: #ffffff30;
  width: 33.33%;
}
.hero-bottom span:first-child {
  background: var(--orange);
}
.program {
  padding-block: 55px 48px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
h2 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 12px 0 0;
}
.location-label {
  text-align: right;
  color: #98989e;
  font-size: 13px;
}
.location-label b {
  display: block;
  color: white;
  font-size: 16px;
  margin-top: 3px;
}
.program-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  gap: 20px;
}
.tabs {
  display: flex;
  gap: 32px;
}
.tabs button {
  color: #a0a0a7;
  padding: 16px 0;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  font-size: 15px;
  font-weight: 700;
}
.tabs button.selected {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.date-label {
  font-size: 11px;
  color: #999;
  letter-spacing: 1px;
}
.date-label b {
  color: #eee;
  margin-left: 9px;
  font-size: 12px;
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.film-card {
  min-width: 0;
}
.poster-button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: #232326;
  overflow: hidden;
  aspect-ratio: 2/3;
  border-radius: 4px;
}
.poster-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.poster-button:hover img {
  transform: scale(1.04);
}
.poster-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 9px;
  background: var(--orange);
  color: #101013;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
}
.poster-badge.soon {
  background: #15151bdb;
  color: white;
  border: 1px solid #ffffff50;
}
.poster-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 35px 18px 14px;
  background: linear-gradient(transparent, #000c);
  color: white;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}
.film-meta {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999aa2;
  margin-top: 18px;
}
.film-card h3 {
  font-size: 19px;
  line-height: 1.25;
  margin: 7px 0 14px;
  min-height: 48px;
}
.film-times {
  display: flex;
  gap: 8px;
  min-height: 39px;
  align-items: flex-start;
}
.time {
  padding: 7px 13px;
  color: var(--orange);
  border: 1px solid #ff852f70;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
}
.time:hover {
  background: var(--orange);
  color: #111;
}
.upcoming {
  color: #b0b0b5;
  font-size: 13px;
  padding-top: 6px;
}
.card-link {
  display: inline-block;
  font-size: 13px;
  color: #e2e2e5;
  margin-top: 16px;
  border-bottom: 1px solid #64646c;
  padding-bottom: 3px;
}
.program-note {
  font-size: 12px;
  color: #8b8b94;
  margin: 28px 0 0;
}
.event-section {
  padding: 55px 0 60px;
  background: #19191e;
  border-block: 1px solid #ffffff07;
}
.section-side {
  font-size: 14px;
  color: #aaa;
}
.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
.event-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-width: 0;
  background: #222227;
  border-radius: 4px;
  overflow: hidden;
}
.event-image {
  background: #101013;
}
.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-copy {
  padding: 30px 25px;
}
.event-copy .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
}
.event-copy h3 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.08;
  margin: 15px 0 18px;
}
.event-copy p {
  font-size: 14px;
  color: #b7b7be;
}
.event-copy .event-dates {
  color: #eee;
  font-weight: 700;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin: 22px 0 18px;
}
.text-link span {
  color: var(--orange);
  margin-left: 10px;
}
.show-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 12px;
}
.show-list li {
  padding: 9px 0;
  border-bottom: 1px solid #ffffff12;
}
.show-list b {
  color: var(--orange);
  margin-right: 10px;
}
.story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 68px;
  align-items: center;
  padding-block: 72px;
}
.story-photo {
  position: relative;
}
.story-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 4px;
}
.story-photo span {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  text-shadow: 0 1px 5px #000;
}
.story-copy h2 {
  font-size: 38px;
  line-height: 1.15;
}
.story-copy p {
  color: #a9a9b1;
  max-width: 430px;
  line-height: 1.8;
  margin: 22px 0 28px;
}
.contact-strip {
  background: var(--orange);
  padding: 36px 0;
  color: #111;
}
.contact-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.contact-strip .eyebrow {
  color: #60300e;
}
.contact-strip h2 {
  margin-top: 8px;
  font-size: 29px;
}
footer {
  padding: 48px 0 24px;
  background: #0b0b0e;
  color: #aaaab3;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.5fr 1fr;
  gap: 35px;
}
.footer-logo {
  width: 170px;
}
.footer-grid h3 {
  font-size: 14px;
  color: white;
  margin: 0 0 18px;
}
.footer-grid p,
.footer-grid a {
  font-size: 13px;
  line-height: 1.8;
}
.footer-grid > div > a {
  display: block;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.footer-grid a:hover {
  color: var(--orange);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #ffffff12;
  font-size: 11px;
  color: #74747e;
}
.modal-dialog {
  max-width: 850px;
}
.film-dialog-sheet {
  position: relative;
  padding: 40px;
  background: #1d1d22;
  color: #fff;
  border: 1px solid #45454c;
  border-radius: 8px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-backdrop.show {
  opacity: 0.8;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
}
.dialog-layout > img {
  width: 100%;
  border-radius: 3px;
}
.dialog-layout h2 {
  font-size: 35px;
}
.dialog-layout p {
  color: #bbb;
  font-size: 15px;
}
.dialog-layout .button {
  margin-top: 24px;
}
.dialog-layout .dialog-note {
  font-size: 12px;
}
.close-dialog {
  position: absolute;
  right: 10px;
  top: 5px;
  color: #fff;
  background: none;
  border: none;
  font-size: 32px;
}
#dialog-times {
  display: flex;
  gap: 8px;
}
@media (min-width: 1500px) {
  .hero-visual {
    inset-inline-start: 46%;
  }
  .hero-visual img {
    object-position: center 28%;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 25px;
  }
  .header-inner nav {
    gap: 20px;
  }
  .brand img {
    width: 145px;
  }
  .header-inner > .button {
    padding: 10px 12px;
  }
  .film-grid {
    gap: 18px;
  }
  .event-card {
    grid-template-columns: 40% 1fr;
  }
  .event-copy {
    padding: 22px 18px;
  }
  .event-copy h3 {
    font-size: 27px;
  }
  .event-copy .button {
    padding: 10px;
    font-size: 12px;
  }
  .story {
    gap: 35px;
  }
  .footer-grid {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .utility {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .utility a {
    display: none;
  }
  .header-inner {
    min-height: 78px;
    gap: 12px;
  }
  .brand img {
    width: 135px;
  }
  .header-inner > .button {
    margin-left: auto;
    font-size: 12px;
    padding: 9px 11px;
    min-height: 40px;
  }
  .header-inner > .button span {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-inner nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #19191e;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px;
    border-bottom: 1px solid #555;
  }
  .header-inner nav.open {
    display: flex;
  }
  .header-inner nav a {
    padding: 14px;
    height: auto;
  }
  .header-inner nav .active:after {
    display: none;
  }
  .hero {
    height: 550px;
  }
  .hero-visual {
    inset: 0 0 0 22%;
  }
  .hero-visual img {
    object-position: 54% 22%;
    filter: brightness(0.6);
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #111719f5, #111719b0 40%, #11171933),
      linear-gradient(0deg, #101013, transparent 80%);
  }
  .hero-copy {
    padding-top: 10px;
    max-width: 100%;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: 60px;
    letter-spacing: -2px;
    max-width: 90%;
    margin: 20px 0;
  }
  .hero-credit {
    font-size: 17px;
    max-width: 270px;
  }
  .hero-summary {
    font-size: 14px;
    max-width: 270px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 13px 16px;
  }
  .hero-times {
    margin-top: 23px;
    gap: 14px;
  }
  .hero-controls {
    bottom: 18px;
  }
  .hero-controls button {
    width: 33px;
    height: 33px;
    font-size: 22px;
  }
  .hero-times strong {
    font-size: 15px;
  }
  .hero-times > span {
    font-size: 10px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
  }
  .program {
    padding-block: 36px;
  }
  .section-heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  h2 {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .section-heading .eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .location-label,
  .section-side {
    display: none;
  }
  .program-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 24px;
  }
  .tabs {
    gap: 25px;
    width: 100%;
  }
  .tabs button {
    font-size: 14px;
    padding-block: 13px;
  }
  .date-label {
    padding-block: 13px;
    font-size: 10px;
  }
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
  }
  .film-card h3 {
    font-size: 17px;
    min-height: 43px;
  }
  .film-meta {
    font-size: 10px;
  }
  .poster-badge {
    top: 8px;
    left: 8px;
    font-size: 9px;
    padding: 4px 6px;
  }
  .poster-overlay {
    padding-inline: 12px;
    font-size: 11px;
  }
  .time {
    padding: 6px 9px;
    font-size: 13px;
  }
  .film-times {
    gap: 6px;
  }
  .card-link {
    font-size: 12px;
  }
  .event-section {
    padding-block: 36px;
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
  .event-card {
    grid-template-columns: 40% 1fr;
  }
  .event-copy {
    padding: 23px 17px;
  }
  .event-copy h3 {
    font-size: 27px;
  }
  .event-copy p {
    font-size: 13px;
  }
  .event-copy .eyebrow {
    font-size: 9px;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 40px;
  }
  .story-copy h2 {
    font-size: 30px;
  }
  .story-copy p {
    font-size: 15px;
  }
  .contact-strip {
    padding-block: 30px;
  }
  .contact-strip .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .contact-strip h2 {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .footer-grid > div:nth-child(3) {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
  }
  .dialog-layout > img {
    max-width: 170px;
    margin: auto;
  }
  .film-dialog-sheet {
    padding: 30px 24px;
  }
  .dialog-layout h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Regole del frontend dinamico. */
[hidden]{display:none!important}.hero-slide{position:absolute;inset:0;isolation:isolate}.hero-controls-wrap{position:relative;height:100%;pointer-events:none}.hero-controls{pointer-events:auto}.hero-bottom span{flex:1;width:auto}.hero h1{font-size:clamp(38px,5vw,70px);letter-spacing:-2px;overflow-wrap:anywhere;line-height:1.05}.hero-credit{font-size:17px;max-height:76px;overflow:hidden}.hero-summary{max-width:430px}.hero-times{flex-wrap:wrap}.hero-times strong{overflow-wrap:anywhere}.film-times{flex-wrap:wrap}.film-card[hidden]{display:none}.empty-state{padding:24px;border:1px solid var(--line);border-radius:4px;color:var(--muted)}.page-title{font-size:clamp(32px,5vw,56px);font-weight:800;line-height:1.12;letter-spacing:-1px;margin:14px 0 26px;overflow-wrap:anywhere}.date-filter{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:30px 0}.date-filter .form-control{width:auto;background:var(--panel);color:var(--text);border-color:var(--line);color-scheme:dark}.date-filter label{font-size:14px}.date-filter .card-link{margin-top:0}.selected-date{font-weight:700;color:var(--orange)}.detail{padding-block:36px 64px}.detail-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:56px;margin-top:32px}.detail-poster img{width:100%;border-radius:4px}.detail-copy .page-title{margin-top:16px}.detail-credits{color:#dfdfe0;font-size:18px}.detail-description{color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.detail-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:28px 0}.showing-calendar{margin-top:44px}.showing-calendar h2{font-size:27px;margin-bottom:24px}.showing-day{padding:20px 0;border-bottom:1px solid var(--line)}.showing-day h3{font-size:16px;margin:0 0 14px;text-transform:capitalize}.event-image img{object-fit:contain;max-height:420px}.event-copy h3{overflow-wrap:anywhere}.error-page{min-height:50vh}.hero-bottom{z-index:2}@media(max-width:760px){.hero h1{font-size:clamp(34px,8.5vw,52px);max-width:100%}.hero-copy{padding-bottom:66px}.hero-summary{max-width:100%}.hero{min-height:570px;height:auto}.hero-slide{position:relative;min-height:570px}.hero-slide .hero-inner{min-height:570px}.hero-controls-wrap{position:absolute;inset:0;width:calc(100% - 36px)}.hero-welcome .hero-inner{min-height:570px}.detail-grid{grid-template-columns:1fr;gap:30px}.detail-poster{max-width:220px;margin:auto}.date-filter{gap:12px}.date-filter label{width:100%}.hero-times strong{font-size:14px}.hero-times{gap:12px}.hero-actions{flex-wrap:wrap}.hero-credit{font-size:15px}}

.hero h1.long-title{font-size:clamp(32px,4vw,50px);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hero-times strong{max-width:330px}@media(max-width:760px){.hero h1.long-title{font-size:36px}.hero-times strong{max-width:240px}}

/* HTML della trama: formattazione semantica, senza stili incollati. */
.detail-description h2{font-size:28px;letter-spacing:-.5px;margin:30px 0 14px;color:var(--text)}.detail-description h3{font-size:22px;margin:26px 0 12px;color:var(--text)}.detail-description h4,.detail-description h5,.detail-description h6{font-size:19px;margin:22px 0 10px;color:var(--text)}.detail-description p{margin:0 0 18px}.detail-description ul,.detail-description ol{padding-left:24px;margin:16px 0 22px}.detail-description li{margin:7px 0}.detail-description strong,.detail-description b{color:#eee}.detail-description a{color:var(--orange);text-decoration:underline;overflow-wrap:anywhere}.detail-description blockquote{border-left:3px solid var(--orange);padding-left:20px;margin:24px 0}.detail-description pre{white-space:pre-wrap;overflow-wrap:anywhere}.detail-description code{color:var(--text)}

.hero-slide .hero-visual img { object-position: var(--banner-x,50%) var(--banner-y,27%); }
@media(max-width:760px){.hero-slide .hero-visual img {object-position:var(--banner-mobile-x,54%) var(--banner-mobile-y,22%);}}


.theatre-history {
    max-width: 1160px;
    margin-top: 32px;
    color: #ffffff;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.85;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.theatre-history p {
    margin: 0 0 24px;
}

.theatre-history p:last-child {
    margin-bottom: 0;
}

.theatre-gallery {
    margin-top: 64px;
}

.theatre-gallery h2 {
    margin: 12px 0 28px;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
}

.theatre-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.theatre-gallery-item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: #17191c;
}

.theatre-gallery-item a {
    display: block;
}

.theatre-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s ease;
}

.theatre-gallery-item a:hover img {
    transform: scale(1.035);
}

.theatre-gallery-item a:focus-visible {
    outline: 3px solid #ff8427;
    outline-offset: -3px;
}

.theatre-gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    aspect-ratio: 4 / 3;
    padding: 20px;
    color: #b9bec5;
    text-align: center;
    background: linear-gradient(135deg, #22262b, #141619);
}

.theatre-gallery-placeholder small {
    color: #ff8427;
    letter-spacing: .12em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .theatre-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .theatre-gallery {
        margin-top: 40px;
    }

    .theatre-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

.theatre-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 64px 76px 30px;
    border: 0;
    box-sizing: border-box;
    background: rgba(10, 11, 13, .96);
    color: #fff;
}

.theatre-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theatre-lightbox::backdrop {
    background: rgba(0, 0, 0, .85);
}

.theatre-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    margin: 0;
}

.theatre-lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 140px);
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .5);
}

.theatre-lightbox-content figcaption {
    color: #b9bec5;
    font-size: .9rem;
    letter-spacing: .12em;
}

.theatre-lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: #202226;
    color: #fff;
    font: inherit;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease;
}

.theatre-lightbox button:hover {
    background: #ff8427;
    color: #111;
}

.theatre-lightbox button:focus-visible {
    outline: 3px solid #ff8427;
    outline-offset: 4px;
}

.theatre-lightbox button[hidden] {
    display: none;
}

.theatre-lightbox-close {
    top: 16px;
    right: 20px;
}

.theatre-lightbox-prev {
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
}

.theatre-lightbox-next {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}

@media (max-width: 575px) {
    .theatre-lightbox {
        padding: 70px 12px 90px;
    }

    .theatre-lightbox-content img {
        max-height: calc(100dvh - 200px);
    }

    .theatre-lightbox-prev,
    .theatre-lightbox-next {
        top: auto;
        bottom: 22px;
        transform: none;
    }

    .theatre-lightbox-prev {
        left: calc(50% - 60px);
    }

    .theatre-lightbox-next {
        right: calc(50% - 60px);
    }
}

footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: color .2s, border-color .2s, background-color .2s;
}

footer .footer-social a:hover {
  color: var(--orange, #ff852f);
  border-color: var(--orange, #ff852f);
  background: rgba(255, 133, 47, .08);
}

footer .footer-social a:focus-visible {
  outline: 2px solid var(--orange, #ff852f);
  outline-offset: 4px;
}

/* Header compatto: logo, programmazione e menu devono entrare anche a 320 px. */
@media (max-width: 360px) {
  .header-inner {
    gap: 8px;
  }

  .header-inner > .brand {
    flex: 0 0 96px;
    min-width: 0;
  }

  .header-inner > .brand img {
    width: 96px;
    max-width: 100%;
  }

  .header-inner > .button {
    min-width: 0;
    padding-inline: 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .header-inner > .menu-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
  }
}
