:root {
  color-scheme: dark;
  --page: #101523;
  --header: #0c111d;
  --panel: #181f30;
  --panel-alt: #20283a;
  --line: #32394a;
  --text: #f7f3ea;
  --muted: #bec3cf;
  --accent: #f5ca7f;
  --accent-ink: #171726;
  --body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--text); font: 1.125rem/1.55 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#programma, #contatti { scroll-margin-top: 20px; }
.container { width: min(1192px, calc(100% - 88px)); margin-inline: auto; }
.programme-page .container { width: auto; margin-inline: clamp(12px, 1.65vw, 24px); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 4; padding: 8px 12px; background: var(--text); color: var(--page); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.preview-bar { background: #232736; color: #eeedf3; border-bottom: 1px solid #3c3e4d; }
.preview-inner { min-height: 57px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.preview-label, .preview-note { font-size: 1rem; }
.preview-label { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.preview-label span { width: 7px; height: 7px; border-radius: 50%; background: #f0c77e; }
.preview-note { justify-self: end; color: #d0cdda; text-align: right; }
.preview-bar :focus-visible, .site-header :focus-visible { outline-color: #f5ca7f; }
.site-header { position: relative; z-index: 1; color: #f8f3ec; background: var(--header); border-bottom: 1px solid #ffffff20; }
.site-header .header-inner { width: auto; margin-inline: clamp(12px, 1.65vw, 24px); }
.header-inner {
  display: grid;
  grid-template-areas: "address brand navigation";
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 100px;
  gap: 6px clamp(8px, 1.4vw, 24px);
  padding-block: 10px;
}
.header-info { grid-area: address; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 16px; font: normal 1rem/1.4 var(--body); }
.site-address { margin: 0; color: var(--muted); font-style: normal; }
.site-address strong, .site-address span { display: block; }
.site-address strong, .header-contacts p { color: var(--text); font-weight: 750; }
.header-contacts { flex: 0 0 auto; }
.header-contacts p { margin: 0 0 2px; }
.contact-links { display: flex; gap: 2px; }
.contact-links a { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 6px; }
.contact-links a:hover { background: var(--panel-alt); }
.contact-links img { width: 26px; height: 26px; }
.brand { grid-area: brand; display: block; }
.brand img { width: 292.5px; height: auto; }
.site-header nav { grid-area: navigation; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0 clamp(12px, 1.15vw, 24px); }
.site-header nav > a, .android-menu summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 10px;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav > a, .android-menu summary { font-size: 1.3rem; }
.site-header nav a:hover, .android-menu summary:hover { color: #f5ca7f; }
.site-header .nav-current::after { position: absolute; content: ''; height: 2px; left: 0; right: 0; bottom: 4px; background: #dfab69; }
.android-menu { position: relative; }
.android-menu summary { list-style: none; cursor: pointer; gap: 8px; }
.android-menu summary::-webkit-details-marker { display: none; }
.android-menu summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.android-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.android-links {
  position: absolute;
  inset-block-start: calc(100% + 4px);
  inset-inline-end: 0;
  min-width: max(100%, 12.5rem);
  margin: 0;
  padding: 5px;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px #0006;
}
.android-links a { display: block; min-height: 44px; padding: 9px 11px; border-radius: 5px; font-size: 1rem; text-decoration: none; }
.android-links a:hover { background: var(--panel-alt); }
main { position: relative; overflow: clip; isolation: isolate; }
.programme-page main { background: radial-gradient(ellipse at 68% 0, #30294b 0, transparent 64%) 0 0 / 100% 220px no-repeat; }
.programme { padding-block: clamp(16px, 2vw, 26px); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font: 800 clamp(3.1rem, 6.95vw, 6.5rem)/1 var(--body); letter-spacing: -.057em; text-wrap: balance; }
.programme-bar { padding-block-end: 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); border-radius: 100px; color: var(--text); padding: 6px 15px; min-height: 42px; background: transparent; font-size: 1rem; }
.filters button:hover:not([aria-pressed="true"]) { background: var(--panel-alt); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.card { min-width: 0; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.card:hover { border-color: var(--accent); }
.poster { position: relative; display: grid; place-items: center; overflow: hidden; text-decoration: none; background: var(--panel-alt); isolation: isolate; }
.card .poster { aspect-ratio: 5 / 7; }
.poster:focus-visible { outline-offset: -5px; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.poster:hover img { filter: brightness(1.09); }
.poster-fallback { padding: .8em; text-align: center; font: 700 clamp(1rem, 2vw, 1.5rem)/1.15 var(--body); overflow-wrap: anywhere; }
.card .poster::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,#10152380,transparent 34%); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: .96rem; font-weight: 650; }
.kind { color: var(--accent); }
.rating { display: inline-block; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; white-space: nowrap; }
/* Backgrounds sampled from the DGCA classification database icons. */
.rating--all { background: #fff; color: #141414; border-color: transparent; }
.rating--6 { background: #05a358; color: #101515; border-color: transparent; }
.rating--10 { background: #026d8b; color: #fff; border-color: transparent; }
.rating--14 { background: #e65317; color: #101515; border-color: transparent; }
.rating--18 { background: #e00632; color: #fff; border-color: transparent; }
.card-title { font-size: clamp(.85rem, 1.375vw, 1.17rem); line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; margin: 8px 0 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-underline-offset: .15em; }
.subtitle { margin: 3px 0 0; color: var(--muted); font-size: 1rem; }
.showtimes { margin: 15px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.showtimes li { background: var(--panel-alt); padding: 5px 8px; border-radius: 5px; font-size: 1rem; }
.showtimes li time { color: var(--muted); font-weight: 400; font-variant-numeric: normal; }
.state { color: var(--accent); font-size: 1rem; margin: 10px 0 0; }
.actions { display: flex; align-items: center; gap: 8px 13px; flex-wrap: wrap; margin-top: 14px; }
.card .actions { margin-top: auto; padding-top: 14px; }
.action { color: var(--accent); font-weight: 700; font-size: 1rem; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.action:hover { opacity: .8; }
.action.trailer::before { content: ''; display: inline-block; margin-right: 6px; height: 0; width: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid currentColor; }
.booking {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.booking:hover { background: #ffe0aa; }
.card .booking { align-self: stretch; margin-top: 12px; }
.detail-copy .booking { margin-block: 14px; }
.empty { background: var(--panel); border: 1px solid var(--line); padding: 20px; border-radius: 8px; }
dialog { background: var(--panel); color: var(--text); width: min(940px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line); border-radius: 13px; }
dialog::backdrop { background: #08080ccd; }
.dialog-header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--panel); border-bottom: 1px solid var(--line); padding: 9px 19px; color: var(--muted); }
.dialog-header button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel-alt); color: var(--text); }
.dialog-header button span { margin-left: 3px; }
.film-details {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 2.45fr);
  align-items: start;
  gap: clamp(18px, 3.6vw, 35px);
  padding: clamp(16px, 3vw, 30px);
}
.film-poster { display: block; width: 100%; height: auto; border-radius: 8px; }
.film-poster-figure { margin: 0; }
.film-poster-figure figcaption { margin-top: 6px; color: var(--muted); font-size: .82rem; }
.film-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(125px, 100%), 1fr));
  gap: 12px 20px;
  margin: 18px 0 0;
}
.film-facts > div { min-width: 0; padding-block-start: 9px; border-top: 1px solid var(--line); }
.film-facts .film-fact--wide { grid-column: 1 / -1; }
.film-facts dt { color: var(--muted); font-weight: 650; font-size: .94rem; }
.film-facts dd { margin: 2px 0 0; font-size: 1.06rem; }
.price-panel {
  margin-top: 20px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  border-radius: 7px;
  background: var(--panel-alt);
}
.price-panel h2 { margin: 0 0 3px; color: var(--accent); font-size: 1rem; }
.price-panel p { margin: 0; font-size: 1.16rem; font-weight: 750; white-space: pre-line; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.card .actions { min-height: 38px; }
.detail-main { padding-block: 26px 52px; }
.detail-main .film-details {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.45fr);
  gap: clamp(18px, 4vw, 48px);
  padding: 24px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.film-details--no-poster, .detail-main .film-details--no-poster { grid-template-columns: 1fr; }
.detail-title { margin: 0 0 8px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.06; overflow-wrap: anywhere; }
dialog .detail-title { font-size: clamp(1.95rem, 4.5vw, 3.4rem); }
.detail-copy { min-width: 0; overflow-wrap: anywhere; }
.detail-copy .plot { line-height: 1.65; margin: 22px 0 0; }
.plot-copy { white-space: pre-line; }
/* Plot text can contain formatting stored by the original editor. */
.detail-copy .plot * { font-family: var(--body) !important; }
.detail-copy .plot h2 { font-size: 1.4rem; margin-bottom: 5px; }
.booking-example { padding: 19px; }
.booking-example h2 { font-size: 1.55rem; margin: 0 0 7px; }
.booking-example p { margin-bottom: 0; }
@media (max-width: 1060px) {
  .card-grid { gap: 16px; }
  .container { width: calc(100% - 60px); }
}
@media (min-width: 1221px) and (max-width: 1780px) {
  .site-header nav { display: grid; grid-template-columns: max-content max-content; justify-items: end; }
}
@media (max-width: 1220px) {
  .header-inner { grid-template-areas: "address brand ." "navigation navigation navigation"; }
}
@media (max-width: 1140px) {
  .header-inner { grid-template-areas: "address address address" ". brand ." "navigation navigation navigation"; }
}
@media (max-width: 740px) {
  .site-header nav { display: grid; justify-items: start; grid-template-columns: max-content minmax(0, 1fr); gap: 0 12px; }
  .android-menu { width: 100%; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .preview-inner { min-height: 48px; }
  .preview-label, .preview-note { font-size: .85rem; }
  .brand img { width: clamp(157.5px, 46.5vw, 246px); }
  h1 { font-size: clamp(2.15rem, 9.5vw, 4.3rem); letter-spacing: -.049em; }
  .programme-bar { padding-block-end: 15px; }
  .filters { gap: 6px; }
  .filters button { padding-inline: 10px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px; }
  .card-title { font-size: .8rem; }
  .actions { gap: 5px 12px; }
  .film-details, .detail-main .film-details { grid-template-columns: 1fr; padding: 16px; }
  .film-poster { width: min(48%, 200px); }
}
@media (max-width: 610px) {
  .header-info { gap: 8px 6px; font-size: .9rem; }
}
@media (max-width: 420px) {
  .contact-links a { width: 32px; height: 36px; }
  .contact-links img { width: 24px; height: 24px; }
  .card-body .booking { padding-inline: 5px; }
  .film-details { padding: 14px; gap: 12px; }
  .film-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
}
@media (max-width: 355px) {
  .contact-links { display: grid; grid-template-columns: repeat(2, max-content); }
}
@media (max-width: 350px) {
  .site-header nav { column-gap: 4px; }
  .android-menu summary { max-width: 100%; gap: 3px; overflow-wrap: anywhere; }
  .card-grid { grid-template-columns: 1fr; }
}
