/* =====================================================================
   SCHEDA FILM (template-movie.php) — solo le sezioni della scheda.
   La base (token, hero, bottoni, dock...) è in css/lrf.css.
   ===================================================================== */

/* Footer e menu di sito: fondo pieno col colore della pagina (non in homepage) */
.menucontinside{ width: var(--centercolwidth); max-width: var(--maxwidth); }
.contfooterhome{ position: relative; background-color: var(--film); z-index: 3; }
.contfooterhomeinside{ width: var(--centercolwidth); max-width: var(--maxwidth); }


/* ---------------------------------------------------------------------
   STORIA
   --------------------------------------------------------------------- */
.lrf-story__grid{
	display: grid;
	grid-template-columns: minmax(240px, 4.2fr) 7fr;
	gap: clamp(48px, 7vw, 120px);
	align-items: start;
}
.lrf-story__grid.is-noposter{ grid-template-columns: minmax(0, 1fr); max-width: 860px; }

.lrf-story__aside{
	position: sticky;
	top: 16vh;
}

.lrf-poster{
	position: relative;
	margin: 0;
	border-radius: 4px;
	overflow: hidden;
	box-shadow:
		0 50px 90px -40px rgba(0, 0, 0, 0.9),
		0 0 0 1px rgba(255, 255, 255, 0.07);
}
.lrf-poster img{ display: block; width: 100%; height: auto; }

.lrf-pull{
	margin: 0 0 1.1em;
	font-family: 'Inter', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: clamp(1.6rem, 2.8vw, 2.5rem);
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--ink);
	text-wrap: balance;
}

.lrf-synopsis{
	max-width: 64ch;
	font-size: clamp(1rem, 1.12vw, 1.13rem);
	line-height: 1.8;
	color: var(--ink-2);
}
.lrf-synopsis p{ margin: 0 0 1.2em; }
.lrf-synopsis p:last-child{ margin-bottom: 0; }
.lrf-synopsis p.is-lead{
	font-size: clamp(1.3rem, 1.9vw, 1.65rem);
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--ink);
}
.lrf-synopsis strong{ color: var(--ink); font-weight: 600; }
.lrf-synopsis a{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-hi); }

/* eventuale form orari dentro la sinossi (shortcode [cinema_orari]) */
.lrf-synopsis form,
.lrf-synopsis input,
.lrf-synopsis select,
.lrf-synopsis button{ font-family: inherit; }

.lrf-credits{
	margin: 1.6em 0 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--ink-3);
}

.lrf-facts{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	margin: clamp(40px, 5vw, 64px) 0 0;
	border-top: 1px solid var(--line);
}
.lrf-facts__row{
	padding: 18px 20px 20px 0;
	border-bottom: 1px solid var(--line);
}
.lrf-facts__row.is-wide{ grid-column: span 2; }
.lrf-facts dt{
	margin-bottom: 8px;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.lrf-facts dd{
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ink);
}
.lrf-ratings{ display: flex; gap: 6px; }
.lrf-ratings img{ width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.lrf-pro{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 26px;
	margin-top: 28px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.lrf-pro__label{ color: var(--ink-3); font-weight: 500; }
.lrf-pro a,
.lrf-pro button{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ink);
	letter-spacing: inherit;
	text-transform: inherit;
	font-size: inherit;
	font-weight: inherit;
	border-bottom: 1px solid var(--line);
	padding-bottom: 3px;
	transition: border-color .3s ease, color .3s ease;
}
.lrf-pro a:hover,
.lrf-pro button:hover{ border-color: var(--accent-hi); }
.lrf-pro svg{ font-size: 1.15em; }

/* Area Trade: sempre arancio */
.lrf .lrf-trade,
.lrf .lrf-trade:hover{ color: #FF8A65; }

/* Press: bianco pieno (non grigio come le altre voci) */
.lrf .lrf-press,
.lrf .lrf-press:hover{ color: var(--ink); }


/* ---------------------------------------------------------------------
   CAST
   --------------------------------------------------------------------- */
/* nomi in stile "billing block" da manifesto */
.lrf-billing{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.15em 0;
	margin: 0;
	font-size: clamp(1.9rem, 4.6vw, 4.2rem);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--ink);
}
.lrf-billing span{
	transition: color .4s ease;
}
.lrf-billing span:not(:last-child)::after{
	content: "/";
	margin: 0 0.35em;
	font-weight: 200;
	color: var(--accent-hi);
}
.lrf-billing:hover span{ color: var(--ink-3); }
.lrf-billing span:hover{ color: var(--ink); }

.lrf-cast__faces{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 28px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lrf-cast__photo{
	display: block;
	aspect-ratio: 4 / 5;
	margin-bottom: 14px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.05) center / cover no-repeat;
	filter: grayscale(1) contrast(1.05);
	transition: filter .6s ease;
}
.lrf-cast__faces li:hover .lrf-cast__photo{ filter: none; }
.lrf-cast__name{
	font-size: 0.95rem;
	font-weight: 500;
}


/* ---------------------------------------------------------------------
   CRITICA — fascia cinemascope con barre che si aprono
   --------------------------------------------------------------------- */
.lrf-band{
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(88vh, 60vw);
	margin-top: clamp(72px, 9vw, 132px);
	overflow: hidden;
	isolation: isolate;
	background: #000;
}
.lrf-band.is-interlude{ min-height: min(70vh, 42vw); }
.lrf-band.is-plain{ background: rgba(0, 0, 0, 0.25); }

.lrf-band__img{
	position: absolute;
	inset: -12% 0;
	z-index: -2;
	background: var(--band) center / cover no-repeat;
	transform: translate3d(0, var(--shift, 0px), 0) scale(1.05);
	will-change: transform;
}
.lrf-band.is-plain .lrf-band__img{ display: none; }
.lrf-band::before{
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* solo una velatura da sinistra, sotto le citazioni: il resto
	   dell'immagine resta pulito */
	background: linear-gradient(90deg,
		rgba(0, 0, 0, 0.85) 0%,
		rgba(0, 0, 0, 0.72) 30%,
		rgba(0, 0, 0, 0.35) 55%,
		transparent 78%);
}
.lrf-band.is-interlude::before{
	background: linear-gradient(180deg, rgba(var(--film-rgb), 0.35), transparent 40%, transparent 60%, rgba(var(--film-rgb), 0.35));
}

/* barre del formato: partono chiuse e si aprono sul 2.39:1 */
.lrf-band__bars::before,
.lrf-band__bars::after{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1;
	height: 50%;
	background: var(--film);
	transition: height 1.6s cubic-bezier(.7, 0, .2, 1);
}
.lrf-band__bars::before{ top: 0; }
.lrf-band__bars::after{ bottom: 0; }
.lrf-band.is-open .lrf-band__bars::before,
.lrf-band.is-open .lrf-band__bars::after{ height: 7%; }
.lrf-no-js .lrf-band__bars::before,
.lrf-no-js .lrf-band__bars::after{ height: 7%; }

.lrf-band__inner{
	position: relative;
	z-index: 2;
	padding: 14vh 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s;
}
.lrf-band.is-open .lrf-band__inner,
.lrf-no-js .lrf-band__inner{ opacity: 1; transform: none; }
.lrf-band .lrf-kicker{ color: rgba(245, 240, 232, 0.6); }

.lrf-quotes{
	display: grid;
	max-width: 1000px;
}
.lrf-quote{
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s .8s;
}
.lrf-quote.is-active{
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s, visibility 0s;
}
.lrf-quote blockquote{
	margin: 0;
	font-family: 'Playfair Display', serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(2rem, 5vw, 4.4rem);
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
	text-indent: -0.4em;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.lrf-quote.is-long blockquote{ font-size: clamp(1.5rem, 3.1vw, 2.7rem); line-height: 1.2; }
.lrf-quote figcaption{
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 1.6em;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.lrf-quote figcaption::before{
	content: "";
	width: 28px;
	height: 1px;
	background: var(--accent-hi);
}
.lrf-quote figcaption [hidden]{ display: none; }
.lrf-quote figcaption img{
	height: 26px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.85;
}

.lrf-quotes__nav{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: clamp(40px, 6vh, 64px);
}
.lrf-quotes__nav button{
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 110px;
	text-align: left;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
	transition: color .3s ease;
}
.lrf-quotes__nav button:hover,
.lrf-quotes__nav button.is-active{ color: var(--ink); }
.lrf-quotes__nav i{
	position: relative;
	display: block;
	height: 2px;
	background: rgba(245, 240, 232, 0.18);
	overflow: hidden;
}
.lrf-quotes__nav i b{
	position: absolute;
	inset: 0;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left;
}
.lrf-quotes__nav button.is-active i b{
	animation: lrf-fill var(--quote-time, 7s) linear forwards;
}
@keyframes lrf-fill{ to{ transform: scaleX(1); } }


/* ---------------------------------------------------------------------
   FOTO — pellicola orizzontale
   --------------------------------------------------------------------- */
.lrf-stills__track{
	--h: clamp(260px, 62vh, 640px);
	display: flex;
	gap: 14px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: calc((100% - var(--wrap)) / 2);
	padding: 0 calc((100% - var(--wrap)) / 2) 6px;
	scrollbar-width: none;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}
.lrf-stills__track::-webkit-scrollbar{ display: none; }
.lrf-stills__track.is-dragging{ cursor: grabbing; scroll-snap-type: none; }
.lrf-stills__track.is-dragging .lrf-still{ pointer-events: none; }

.lrf-still{
	position: relative;
	flex: none;
	height: var(--h);
	aspect-ratio: var(--ar, 1.5);
	max-width: 88vw;
	border-radius: 3px;
	overflow: hidden;
	scroll-snap-align: start;
	background: rgba(255, 255, 255, 0.04);
}
.lrf-still img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform 1.2s var(--ease), filter .6s ease;
	-webkit-user-drag: none;
}
.lrf-still::after{
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 30%);
	opacity: 0;
	transition: opacity .5s ease;
}
.lrf-still:hover img{ transform: scale(1.04); }
.lrf-still:hover::after{ opacity: 1; }
.lrf-still__n{
	position: absolute;
	left: 16px;
	bottom: 14px;
	z-index: 1;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	font-variant-numeric: tabular-nums;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .4s ease, transform .4s var(--ease);
}
.lrf-still:hover .lrf-still__n{ opacity: 1; transform: none; }


/* ---------------------------------------------------------------------
   VIDEO
   --------------------------------------------------------------------- */
.lrf-videos__grid{
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 44px);
	align-items: start;
}
.lrf-videos__grid.is-single{ grid-template-columns: minmax(0, 1fr); max-width: 1000px; }

.lrf-video{ display: block; }
.lrf-video__thumb,
.lrf-videos__thumb{
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 3px;
	overflow: hidden;
	background: #000;
}
.lrf-video__thumb img,
.lrf-videos__thumb img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease), opacity .5s ease;
	opacity: 0.88;
}
.lrf-video:hover .lrf-video__thumb img,
.lrf-videos__list a:hover img{ transform: scale(1.04); opacity: 1; }

.lrf-video__play{
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	font-size: 26px;
	background: rgba(245, 240, 232, 0.14);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	transform: translate(-50%, -50%);
	transition: background-color .35s ease, transform .5s var(--ease);
}
.lrf-video__play svg{ margin-left: 3px; }
.lrf-video:hover .lrf-video__play{ background: var(--accent); transform: translate(-50%, -50%) scale(1.08); }
.lrf-video__play.is-small{ width: 38px; height: 38px; font-size: 14px; }
.lrf-videos__list a:hover .lrf-video__play{ background: var(--accent); }

.lrf-video__meta{
	display: block;
	padding-top: 20px;
}
.lrf-video__idx{
	display: block;
	margin-bottom: 6px;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	color: var(--accent-hi);
}
.lrf-video__title{
	display: block;
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
	max-width: 40ch;
}

.lrf-videos__list{
	margin: 0;
	padding: 0 6px 0 0;
	list-style: none;
	align-self: stretch;
	height: 0;
	min-height: 100%;
	overflow-y: auto;
	-webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
	mask-image: linear-gradient(180deg, #000 82%, transparent);
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
}
.lrf-videos__list li + li{ border-top: 1px solid var(--line); }
.lrf-videos__list a{
	display: grid;
	grid-template-columns: 44% 1fr;
	gap: 16px;
	align-items: center;
	padding: 14px 0;
}
.lrf-videos__list li:first-child a{ padding-top: 0; }
.lrf-videos__title{
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ink-2);
	transition: color .3s ease;
}
.lrf-videos__list a:hover .lrf-videos__title{ color: var(--ink); }


/* ---------------------------------------------------------------------
   IN SALA (widget programmazione)
   --------------------------------------------------------------------- */
.lrf-showtimes__widget{
	padding: clamp(20px, 3vw, 36px);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.035);
	box-shadow: inset 0 0 0 1px var(--line);
}


/* ---------------------------------------------------------------------
   NOTIZIE
   --------------------------------------------------------------------- */
.lrf-news__grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.6vw, 40px);
}
.lrf-news__item a{ display: block; height: 100%; }
.lrf-news__img{
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.05) center / cover no-repeat;
	transition: transform 1s var(--ease), filter .6s ease;
	filter: saturate(0.9);
}
.lrf-news__item a:hover .lrf-news__img{ transform: translateY(-4px); filter: none; }
.lrf-news__body{
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 20px;
}
.lrf-news__body time{
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.lrf-news__title{
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.lrf-news__excerpt{
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ink-3);
}
.lrf-news__more{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-2);
	transition: gap .3s var(--ease), color .3s ease;
}
.lrf-news__item a:hover .lrf-news__more{ gap: 12px; color: var(--ink); }


/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1000px){
	/* schermi stretti: il testo occupa tutta la larghezza, la velatura
	   sale dal basso invece che da sinistra */
	.lrf-band::before{
		background: linear-gradient(0deg,
			rgba(0, 0, 0, 0.85) 0%,
			rgba(0, 0, 0, 0.7) 45%,
			rgba(0, 0, 0, 0.3) 75%,
			transparent 100%);
	}

	.lrf-pro__label{ flex-basis: 100%; }

	.lrf-story__grid{ grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.lrf-story__aside{ position: relative; top: 0; width: min(62%, 320px); }

	.lrf-band{ min-height: 78vh; }
	.lrf-band__bars::before,
	.lrf-band__bars::after{ transition-duration: 1.2s; }
	.lrf-band.is-open .lrf-band__bars::before,
	.lrf-band.is-open .lrf-band__bars::after{ height: 4%; }
	.lrf-band__inner{ padding: 12vh 0; }

	.lrf-stills__track{ --h: clamp(220px, 46vh, 420px); gap: 10px; }

	.lrf-videos__grid{ grid-template-columns: minmax(0, 1fr); }
	.lrf-videos__list{
		display: flex;
		gap: 14px;
		height: auto;
		min-height: 0;
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
		overflow-y: visible;
		margin-right: -20px;
		padding: 0 20px 4px 0;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.lrf-videos__list li{ flex: 0 0 64%; scroll-snap-align: start; }
	.lrf-videos__list li + li{ border-top: 0; }
	.lrf-videos__list a,
	.lrf-videos__list li:first-child a{ grid-template-columns: 1fr; gap: 12px; padding: 0; }

	.lrf-news__grid{ grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.lrf-news__item a{ display: grid; grid-template-columns: 40% 1fr; gap: 18px; align-items: start; }
	.lrf-news__body{ padding-top: 0; }
	.lrf-news__excerpt{ display: none; }
}

@media (max-width: 600px){
	.lrf-facts{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lrf-facts__row.is-wide{ grid-column: 1 / -1; }
	.lrf-stills .lrf-counter{ display: none; }
	.lrf-quote blockquote{ text-indent: 0; }
}

@media (prefers-reduced-motion: reduce){
	.lrf-band__bars::before,
	.lrf-band__bars::after{ transition: none; }
	.lrf-band__inner{ transition: none; }
	.lrf-quotes__nav button.is-active i b{ animation: none; transform: scaleX(1); }
}
