/* Fonty McFontface */

@font-face {
	font-family: "Museo Sans";
	font-weight: 200;
	font-style: italic;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_100_Italic-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 200;
	font-style: normal;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_100-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 300;
	font-style: italic;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_300_Italic-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 300;
	font-style: normal;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_300-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 400;
	font-style: italic;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_500_Italic-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 400;
	font-style: normal;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_500-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 700;
	font-style: italic;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_700_Italic-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 700;
	font-style: normal;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_700-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 900;
	font-style: normal;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_900-webfont.woff2");
}

@font-face {
	font-family: "Museo Sans";
	font-weight: 900;
	font-style: italic;
	font-stretch: 100%;
	src: url("../fonts/MuseoSans_900_Italic-webfont.woff2");
}

:root {
	--grey4: #f3f3f3;
	--dark-grey: #58595b;
	--white: white;
	--white-smoke: #ebebeb;
	--black: #00052a;
	--pink-1: #dba1a0;
	--red: #f26a5a;
	--pink-2: #edcbcd;
	--yellow: #e2c53e;
	--red-accent-1: #e05747;
	--red-accent-2: #b84a3d;
	--dim-grey: #cacaca;
	--turquoise: #30d0c7;
	--orange-1: #efba87;
	--transparent: #0000;
	--pale-green: #92fe9d;
	--deep-sky-blue: #00c9ff;
	--grey-3: #747476;
	--cinekids-y: #fcd638;
	--cinekids-g: #00a89e;
	--cinekids-b: #172e4d;
	--black-2: #0000004d;
	--cafe-green: #758a66;
	--cafe-green-light: #c2cbbc;
	
	--aspect-ratio-default: 1920/1080;
	--aspect-ratio-poster: 5/7;
	--aspect-ratio-cover-landscape: 1920/1080;
	--aspect-ratio-cover-portrait: 1;
	--aspect-ratio-carousel-landscape: 1920/1080;
	--aspect-ratio-carousel-portrait: 1;
	--aspect-ratio-gallery: 1920/1080;

	--space-xxs: 2px;
	--space-xs: 0.25rem;
	--space-s: 0.5rem;
	--space-m: 1rem;
	--space-l: 2rem;
	--space-xl: 3rem;
}

html {
	scroll-behavior: smooth;
	font-size: 100%;
}

@media (max-width: 40em) {
	html {
		font-size: 90%;
	}
}

body {
	font-family: 'Museo Sans', sans-serif;
	font-weight: 300;
	line-height: 1.5;
	color: var(--dark-grey);
	background-color: var(--grey4);
	margin: 0;
}

input, button, textarea, select {
	font: inherit;
	letter-spacing: inherit;
	font-size: max(1em, 16px);
	color: inherit;
}

button {
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

b, strong {
	font-weight: 700;
}

[href='#main'] {
	position: absolute;
	top: -10em;
	left: 0;
	right: 0;
	background: white;
	padding: var(--space-s) var(--space-m);
	text-align: center;
}

[href='#main']:focus-visible {
	outline-offset: -0.2rem;
}

[href='#main']:focus {
	z-index: 100;
	top: 0;
}

:focus-visible {
	outline: 2px solid var(--black);
	outline-offset: 0.15rem;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* 
	Menus
*/

.menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.menu a {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--space-s);
	align-items: center;
}

.menu a svg {
	height: 1.5em;
	width: auto;
}

header {
	margin-bottom: var(--space-m);
}

@media (max-width: 40em) {
	header {
		margin-bottom: 0;
	}
}

.site-logo {
	margin-right: var(--space-m);
	display: block;
}

.site-logo svg {
	height: 3.25rem;
	width: auto;
	fill: var(--dark-grey);
	display: block;
}

@media (max-width: 40em) {
	.site-logo svg {
		height: 2.5rem;
	}
}

header nav, header ul, .flex-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-s) var(--space-l);
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

header nav {
	justify-content: space-between;
	margin: var(--space-l) 0;
}

header nav > * {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

header .language-switcher {
	margin-top: var(--space-l);
}

.language-switcher ul {
	text-transform: uppercase;
	gap: var(--space-xs);
}

.language-switcher a {
	background: var(--pink-1);
	color: white;
	text-align: center;
	display: block;
	text-decoration: none;
	padding: var(--space-s) var(--space-m);
}

.language-switcher a.active {
	background: var(--red);
}

.searchbox {
	display: flex;
	gap: var(--space-s);
	margin: var(--space-m) 0;
}

.searchbox .btn {
	padding: var(--space-s) var(--space-m);
}

.searchbox svg {
	/*height: 1em;*/
	width: 1em;
	display: block;
}

.searchbox input {
	appearance: none;
	border: none;
	border-bottom: 1px solid;
	background: transparent;
	padding: 3px 0;
	flex-grow: 1;
}

@media (max-width: 50em) {
	.main-menu {
		display: none;
	}
}

.main-menu .menu {
	/*justify-content: space-between;*/
	gap: 0 var(--space-l);
	font-weight: 700;
	font-size: 1.2em;
}

header nav .menu a {
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	font-weight: 300;
	letter-spacing: 0.04em;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
}

header nav .menu a:is(.active, :focus-visible, :hover) {
	border-bottom-color: var(--red);
}

header nav .menu a.highlighted {
	color: var(--red);
}

/*
	Cafe Menu
*/

.cafe-menu {
	padding-bottom: var(--space-l);
}

.cafe-menu-page h1 {
	font-weight: 200;
	text-transform: uppercase;
	/*letter-spacing: 0.01em;*/
	text-align: center;
	font-size: 3.6em;
	margin: 0;
}

@media (max-width: 40em) {
	.cafe-menu-page h1 {
		font-size: 2.4em;
	}
}

.cafe-menu {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(25em, 1fr));
	gap: var(--space-s);
}

.cafe-menu-section {
	border-radius: 0.5em;
	padding: var(--space-l);
	background: white;
	position: relative;
}

@media (max-width: 40em) {
	.cafe-menu-section {
		padding: var(--space-m);
	}
}

.cafe-menu-section h2 {
	position: sticky;
	top: 0;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0 0 var(--space-l);
	background: var(--white);
	padding: var(--space-xs) 0;
	border-bottom: var(--space-xs) solid var(--grey4);
	cursor: pointer;
	font-size: 1.4em;
}

.cafe-menu-section ul {
	list-style: none;
	padding: 0;
	margin: var(--space-m) 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-m);
}

.cafe-menu-section li {
	display: grid;
	grid-template-columns: 1fr 5em;
	gap: var(--space-m);
}

.cafe-menu-section p {
	margin: 0;
}

/*
	Schedule
*/

.schedule-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xxs) var(--space-l);
	align-items: center;
	margin-bottom: var(--space-m);
}

.schedule-filter-list {
	display: flex;
	gap: var(--space-s) var(--space-m);
	flex-wrap: nowrap;
	align-items: flex-start;
}

.schedule-filter-list-label {
	font-weight: bold;
	padding-top: var(--space-s);
	min-width: 4em;
}

@media (max-width: 40em) {

	.schedule-filters {
		gap: var(--space-s);
	}

	.schedule-filter-list {
		flex-direction: column;
	}

	.schedule-filter-list-label {
		padding: 0 var(--space-m);
	}
}

.schedule-daylist {
	display: flex;
	gap: var(--space-xxs);
	flex-wrap: nowrap;
	list-style: none;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--red) var(--grey4);
	overscroll-behavior-x: contain;
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--grey4);
}

.schedule-daylist > * {
	flex-grow: 1;
}

.schedule-anchor {
	padding: var(--space-s) var(--space-m);
	display: block;
	text-decoration: none;
	background: var(--white);
	color: var(--grey-3);
	text-transform: uppercase;
}

.schedule-anchor:focus-visible {
	outline-offset: -0.15rem;
}

.schedule-anchor-weekday {
	color: var(--black);
	font-weight: 700;
}

.schedule-anchor:is(:hover, :focus-visible, .active) {
	background: var(--red-accent-1);
	color: var(--white);
}

.schedule-anchor:is(:hover, :focus-visible, .active) > * {
	color: inherit;
}

.schedule-item {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: var(--space-l);
	margin: var(--space-l) 0;
	--icon-fill-color: currentColor;
	/*align-items: start;*/
}

@media (max-width: 40em) {
	.schedule-item {
		margin-bottom: var(--space-xl);
		grid-template-columns: 1fr;
		gap: var(--space-s);
	}
}

.schedule-item:last-child {
	padding-bottom: var(--space-xl);
	margin-bottom: 0;
}

.schedule-item-info {
	display: flex;
	flex-direction: column;
	gap: var(--space-xxs);
}

.schedule-item-info-head {
	color: var(--dark-grey);
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}

.schedule-item-info-head .showing-tag {
	/*font-weight: 500;*/
}

.flex-break {
	flex-basis: 100%;
}

.schedule-item-date {
	display: flex;
	justify-content: space-between;
}

.film-page .schedule-item-date,
.event-page .schedule-item-date {
	display: block;
}

.schedule-item-date, .schedule-item-time, .schedule-item-tickets .btn {
	padding: var(--space-s) var(--space-m);
}

.showing-info-coords :is(.schedule-item-date, .schedule-item-time, .schedule-item-tickets .btn) {
	padding: var(--space-m) var(--space-l);
}

@media (max-width: 40em) {
	.schedule-item-date {
		flex-grow: 1;
	}

	.showing-info-coords .schedul-item-date {
		text-align: center;
	}
}

.schedule-item-date {
	background: var(--white);
	flex-grow: 1;
}

.schedule-item-date strong {
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;	
}

.schedule-item-time {
	background: var(--white);
	border-right: 2px solid var(--grey4);
	font-weight: 900;
}

.schedule-item-tickets {
	/*margin-inline-start: var(--space-s);*/
}

.schedule-item-tickets a {
	display: block;
}

.schedule-item-title {
	margin: var(--space-m) 0 var(--space-s);
	/*padding-inline: var(--space-m);*/
	font-size: 1.4em;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-weight: 900;
}

@media (max-width: 40em) {
	.schedule-item-title {
		margin: var(--space-s) 0 var(--space-xs);
	}
}

.schedule-item-title a {
	text-decoration: none;
}

.schedule-item .event-hero-facts {
	/*padding-inline: var(--space-m);*/
	/*font-size: 0.9em;*/
}

@media (max-width: 40em) {
	.schedule-item .event-hero-facts {
		gap: 0 var(--space-m);
	}

	.schedule-item .event-hero-facts ul {
		gap: var(--space-s);
	}
}

.schedule-item-image img {
	width: 100%;
	height: auto;
	aspect-ratio: var(--aspect-ratio-gallery);
	object-fit: cover;
	object-position: var(--focus, 50% 50%);
}

.schedule-day {
	position: relative;
}

.schedule-day-heading {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: var(--space-s) 0;
	background: var(--grey4);
	margin: 0;
	font-weight: 300;
	border-bottom: 1px solid rgb(0 0 0 / 0.15);
}

body:has(.schedule-daylist) .schedule-day-heading {
	top: 3.95rem;
}

.schedule-day-content {
	scroll-margin-top: 8rem;
}

.schedule-day-content:focus-visible {
	outline: none;
}

.schedule-day-heading span {
	font-weight: 700;
	text-transform: uppercase;
	color: var(--black);
}

.schedule-item-logline {
	/*color: var(--red);
	display: flex;
	flex-wrap: nowrap;
	gap: var(--space-s);
	padding: var(--space-s) var(--space-m);
	background: var(--white-smoke);*/
	/*margin: var(--space-s) 0;*/
	color: var(--grey-3);
}

.schedule-item-logline svg {
	width: 1.25em;
	height: 1.25em;
	fill: currentColor;
	flex-shrink: 0;
	padding-top: var(--space-xxs);
}

.schedule-item-logline-content > :first-child {
	margin-top: 0;
}

.schedule-item-logline-content > :last-child {
	margin-bottom: 0;
}

.schedule-item-logline > :first-child {
	margin-top: 0;
}

.schedule-item-logline > :last-child {
	margin-bottom: 0;
}

/*
	Layout
*/
.columns {
	display: grid;
	grid-template-columns: repeat(var(--columns, 3), 1fr);
	gap: var(--space-xl);
}

.split-layout {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 0 var(--space-xl);
}

@media (max-width: 40em) {
	.columns, .split-layout {
		grid-template-columns: 1fr;
		gap: var(--space-m);
	}
}

/*
	Showing
*/

.showing-tags {
	display: flex;
	list-style: none;
	padding: 0;
	flex-wrap: wrap;
	gap: var(--space-xxs);
	margin: 0;
}

.showing-tag {
	background: var(--bg, #fff);
	color: var(--fg, #000);
	/*flex-grow: 1;*/
}

.showing-tag a {
	text-decoration: none;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--space-s);
	padding: var(--space-s) var(--space-m);
	justify-content: space-between;
}

.showing-tag svg {
	fill: currentColor;
	height: 1.25em;
	width: auto;
}

.showing-tag--active {
	background: var(--black);
	color: var(--white);
}

.showing-info {
	padding: var(--space-s) var(--space-l);
	background: var(--white);
	/*margin: var(--space-s) 0;*/
}

@media (max-width: 40em) {
	.showing-info {
		padding: 1px var(--space-m);
	}
} 

.showing-info-coords {
	padding: var(--space-s) 0;
	/*display: flex;*/
	/*flex-wrap: wrap;*/
	/*justify-content: space-between;*/
	/*font-weight: bold;*/
	/*font-size: 1.2em;*/
	/*margin-bottom: var(--space-m);*/
}

.showing-info-coords .schedule-item-info-head {
	font-size: 1.2em;
}

.showing-schedule-shortcut {
	padding: var(--space-s) var(--space-l);
}

@media (max-width: 40em) {
	.showing-info-coords {
		/*padding-block: 0;*/
	}

	.showing-info-coords .schedule-item-info-head {
		font-size: 1em;

	}
	
	.showing-info-coords :is(
		.schedule-item-date, 
		.schedule-item-time, 
		.schedule-item-tickets .btn
	), .showing-schedule-shortcut  {
		padding-inline: var(--space-m);
	}

	.showing-info-coords .schedule-item-info-head {
		flex-wrap: wrap;
	}

	.showing-info-coords .schedule-item-tickets {
		width: 100%;
		text-align: center;
	}

	.showing-schedule-shortcut {
		text-align: center;
		padding: 0;
	}
}

.showing-info-coords .schedule-item-date {
	flex-grow: 1;
}

.showing-tags-and-series {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xxs);
}

/*
	Event hero / film hero
*/

.event-hero {
	background: var(--red);
	color: white;
	position: relative;
	z-index: 2;
}

.event-hero-info {
	padding: var(--space-l);
}

.event-hero-info > * + * {
	margin-top: var(--space-s);
}

@media (max-width: 40em) {
	.event-hero-info > * + * {
		margin-top: var(--space-s);
	}
}

.event-hero-info h1 {
	margin: 0;
	font-size: 2.4em;
	line-height: 1.1;
	letter-spacing: -0.01em;
	/*text-wrap: balance;*/
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}


@media (max-width: 40em) {
	.event-hero-info {
		padding: var(--space-m);
	}

	.event-hero-info h1 {
		font-size: 1.4em;
	}
}

.event-hero-cover {
	position: relative;
}

.event-hero-cover img {
	width: 100%;
	height: auto;
	aspect-ratio: var(--aspect-ratio-cover-landscape);
	object-fit: cover;
	object-position: var(--focus, 50% 50%);
}

@media (max-aspect-ratio: 1) {
	.event-hero-cover img {
		/*aspect-ratio: var(--aspect-ratio-cover-portrait);*/
	}
}

.event-hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-l);
}

.event-hero-facts svg {
	fill: var(--icon-fill-color, var(--white));
	/*opacity: 0.7;*/
	height: 1.2em;
	width: auto;
}

.event-hero-facts ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	align-items: center;
	gap: 0 var(--space-m);
}

.event-hero-facts li {
	display: flex;
	gap: var(--space-xs);
	align-items: center;
	flex-wrap: nowrap;
}

ul.pipe-separated, 
ul.pipe-separated li {
	gap: 0 var(--space-s);
}

.pipe-separated li:not(:last-child)::after {
	content: '|';
	opacity: 0.6;
}

.showing-tags-banner {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

@media (min-width: 40em) {
	.showing-tags-banner {
		text-transform: uppercase;
		letter-spacing: 0.02em;
		font-weight: 700;
	}
}

.showing-tags-banner .showing-tags {
	gap: 0;
}

.showing-tags-banner .showing-tag {
	padding: 0;
	background: var(--bg, var(--white)) linear-gradient(to top, rgb(0 0 0 / 0.15) 0%, rgb(0 0 0 / 0) 0.25em);
	box-shadow: -0.2em 0.2em 0.33em rgb(0 0 0 / 0.1);
}

.showing-tags-banner .showing-series > :first-child,
.showing-tags-banner:not(:has(.showing-series)) .showing-tags > :first-child {
	box-shadow: none;
}

.showing-tags-banner .showing-tag a {
	padding: var(--space-m) var(--space-l);
}

@media (max-width: 40em) {
	.showing-tags-banner .showing-tag a {
		padding: var(--space-s) var(--space-m);
	}
}

.btn.trailer-btn {
	position: absolute;
	font-size: 1em;
	left: 0;
	bottom: 0;
	/*bottom: var(--space-xs);*/
	/*left: var(--space-xs);*/
	display: flex;
	align-items: center;
	gap: var(--space-s);
	background: var(--white);
	color: var(--red);
	padding: var(--space-m) var(--space-l);
	box-shadow: 0.2em -0.2em 0.4em rgb(0 0 0 / 0.15);
}

.btn.trailer-btn svg {
	fill: currentColor;
	display: block;
	width: auto;
	height: 1.33em;
}

@media (max-width: 40em) {
	.btn.trailer-btn {
		position: static;
		justify-content: center;
		box-shadow: none;
	}

	.btn.trailer-btn svg {
		height: 1em;
	}
}

/*
	Series item
*/

.series-item {
	background: var(--bg, white);
	color: var(--fg, black);
	margin: 1rem 0;
}

/*
	Footer
*/

footer {
	background: white;
	padding: var(--space-l) 0;
}

.footer-section {
	margin: var(--space-m) 0;
}

@media (max-width: 40em) {
	footer {
		/*padding-block: var(--space-m);*/
	}
}

.social-links p {
	/*font-weight: 500;*/
}

.social-links ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-m);
}

.footer-links ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-m);
}

.membership-list {
	list-style: none;
	padding: 0;
	display: flex;
	gap: var(--space-xl);
	flex-wrap: wrap;
}

@media (max-width: 40em) {
	.membership-list {
		gap: var(--space-l);
	}
}

.membership-list img {
	height: 3em;
	width: auto;
}

/*
	Email newsletter subscribe form
*/

.subscribe-form {
	background: var(--grey4);
	padding: var(--space-xl);
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 0 var(--space-xl);
}

@media (max-width: 40em) {
	.subscribe-form {
		grid-template-columns: 1fr;
		padding: var(--space-m);
	}
}

.subscribe-form h2 {
	text-transform: uppercase;
	margin: 0 0 var(--space-m);
	font-weight: 900;
}

.subscribe-form p {
	margin: 0 0 var(--space-m);
}

.subscribe-form .checkbox-field {
	font-size: 0.9em;
	color: var(--grey-3);
}

.btn, 
.block-button [data-style=default], 
.block-buttons [data-style=default] {
	background: var(--red);
	appearance: none;
	border: none;
	padding: var(--space-m) var(--space-l);
	text-transform: uppercase;
	color: white;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: var(--space-s);
}

.btn svg {
	fill: currentColor;
	height: 1.33em;
	width: auto;
}

.subscribe-form input:not([type=checkbox]) {
	appearance: none;
	border: none;
	border-bottom: 1px solid;
	width: 100%;
	box-sizing: border-box;
	padding: var(--space-xs);
	background: transparent;
}

.subscribe-form input:not([type=checkbox]):focus {
	background: white;
}

.subscribe-form p {
	display: grid;
	grid-template-columns: repeat(var(--columns, 1), 1fr);
	gap: var(--space-m);
}

@media (max-width: 40em) {
	.subscribe-form .btn {
		width: 100%;
		justify-content: center;
	}
}

/*
	Kirby Admin Bar
*/

.kirby-admin-bar {
	padding: var(--space-m);
}

.kirby-admin-bar ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: var(--space-m);
}

/* 
	Grid layout

	https://ryanmulligan.dev/blog/layout-breakouts/
*/

.grid {
	--gap: clamp(0.5rem, 3vw, 3rem);
	--full: minmax(var(--gap), 1fr);
	--content: min(40rem, 100% - var(--gap) * 2);
	--popout: minmax(0, 2rem);
	--feature: minmax(0, 10rem);

	display: grid;
	grid-template-columns:
		[full-start] var(--full)
		[feature-start] var(--feature)
		[popout-start] var(--popout)
		[content-start] var(--content) [content-end]
		var(--popout) [popout-end]
		var(--feature) [feature-end]
		var(--full) [full-end];
}

.grid > * {
	grid-column: feature;
}

.grid-row-content {
	grid-column: content;
}

.grid-row-popout {
	grid-column: popout;
}

.grid-row-feature {
	grid-column: feature;
}

.grid-row-full {
	grid-column: full;
}

/*
	Film / showing page
*/

.page-info-layout {
	display: grid;
	grid-template-columns: 12em 1fr;
	gap: var(--space-l);
	margin: var(--space-l) 0;
}

@media (max-width: 40em) {
	.page-info-layout {
		grid-template-columns: 1fr;
		gap: var(--space-l);
		margin: var(--space-l) 0;
	}
}

.film-actor {
	white-space: nowrap;
}

.film-poster img {
	border: var(--space-xs) solid var(--white);
	box-shadow: 0 0.25em 0.5em rgb(0 0 0 / 0.2);
	box-sizing: border-box;
}

@media (max-width: 40em) {
	.page-info-layout .film-poster img {
		width: 12em;
		/*display: block;*/
		/*margin: 0 auto;*/
	}
}

.page-facts {
	--thickness: var(--thickness-s);
	list-style: none;
	padding: 0;
	margin: var(--space-m) 0;
	border: var(--thickness) solid;
	border-left: none;
	border-right: none;
}

.page-facts li {
	padding: var(--space-s) 0;
}

.page-facts li + li {
	border-top: var(--thickness) solid;
}

.page-facts .btn {
	display: block;
}

.film-details h2 {
	text-transform: uppercase;
	font-size: 1em;
	letter-spacing: 0.02em;
	font-weight: 300;
}

/*
	Carousel 
*/

.carousel-wrapper {
	/*margin-bottom: var(--space-l);*/
}

.carousel-item {
	position: relative;
	/*display: block;*/
	display: flex;
	flex-direction: column;
	text-decoration: none;
	height: 100%;
}

.carousel-item:focus-visible {
	outline-offset: -0.15rem;
}

.carousel-item img {
	width: 100%;
	height: auto;
	aspect-ratio: var(--aspect-ratio-carousel-landscape);
	object-fit: cover;
	object-position: var(--focus, 50% 50%);
}

@media (max-aspect-ratio: 1) {
	.carousel-item img {
		/*aspect-ratio: var(--aspect-ratio-carousel-portrait);*/
	}
}

.carousel-item-background:only-child {
	flex-grow: 1;
}

.carousel-item-background:only-child img {
	height: 100%;
}

.carousel-item-content {
	background: var(--red);
	color: var(--white);
	padding: var(--space-l) 0;
	flex-grow: 1;
}

@media (max-width: 40em) {
	.carousel-item-content {
		padding-block: var(--space-m);
	}
}

.carousel-item-content p {
	margin: 0;
}

.carousel-item-content .schedule-item-info-head {
	margin-top: var(--space-m);
}

.carousel-item-content .schedule-item-date {
	flex-grow: 1;
}

.carousel-item-head, .carousel-item-title {
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.carousel-item-title {
	font-weight: 900;
	font-size: 2.4em;
	margin: 0 !important;
	line-height: 1.15;
}

.carousel-item-head {
	margin-bottom: var(--space-xs) !important;
}

@media (max-width: 40em) {
	.carousel-item-title {
		font-size: 1.4em;
	}
}

.carousel-nav {
	padding: var(--space-m) 0;
	color: var(--color-black);
	background: var(--color-white);
	/*border-top: 1px solid;*/
}

.carousel-nav button {
	cursor: pointer;
	padding: var(--space-s);
	background: none;
	border: none;
	appearance: none;
}

.carousel-nav {
	justify-content: center !important;
}

.carousel-arrows {
	display: none !important;
}

.carousel-nav .carousel-dot {
	width: var(--space-xl);
	height: var(--space-s);
	padding: 0;
	background: var(--grey-3);
	border: none;
	border-radius: 0 !important;
}

.carousel-nav .carousel-dot--selected {
	background: var(--red);
}

/*
	Hamburger menu
*/

.nav-menu {
	padding: var(--space-l) 0;
	background: var(--white);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 300;
	box-shadow: 0 1em 2em rgb(0 0 0 / 0.15);
	
	/* Fade-in / fade-out effect… */
	opacity: 1;
	transition-duration: 0.25s;
	transition-property: display, opacity;

	/* Note: not supported in Firefox */
	transition-behavior: allow-discrete;
}

/* …also requires a starting-style */
@starting-style {
	.nav-menu {
		opacity: 0;
	}
}

[aria-controls][aria-expanded=false] + .nav-menu {
	display: none;
	opacity: 0;
}

.nav-menu-header {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

.nav-menu-body {
	margin: var(--space-m) 0 0;
}

.nav-menu .menu {
	font-size: 1.2em;
	font-weight: bold;
	margin: var(--space-l) 0 0;
}

.nav-menu .menu a {
	text-decoration: none;
}

@media (max-width: 40em) {
	.nav-menu .menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		font-size: 1.4em;
		gap: 0;
	}

	.nav-menu .menu li {
		border-bottom: 1px solid var(--grey4);
	}

	.nav-menu .menu a {
		padding: var(--space-xs) 0;
	}
}

.mobile-menu .btn {
	padding-inline: var(--space-m);
}

.mobile-menu .btn {
	color: var(--red);
	background: transparent;
	padding: 0 0 0 2px;
	font-size: 1.2em;
}

.mobile-menu .btn .btn-label {
	/*display: none;*/
}

/*
	Tease: Post
*/

.tease-post {
	background: var(--white);
}

.tease-post a {
	display: block;
	text-decoration: none;
}

.tease-post-cover img {
	width: 100%;
	height: auto;
	aspect-ratio: var(--aspect-ratio-default);
	object-fit: cover;
	object-position: var(--focus, 50% 50%);
}

.tease-post-info {
	padding: var(--space-m);
}

.tease-post-title {
	font-weight: bold;
	color: var(--black);
	/*font-size: 1.25em;*/
	line-height: 1.25;
	margin-bottom: var(--space-s);
}

/*
	Post
*/

.post-cover {
	margin-bottom: var(--space-l);
}

.post-cover img {
	width: 100%;
	height: auto;
}

.post-page {
	margin-bottom: var(--space-xl);
}

@media (max-width: 40em) {
	.post-page {
		margin-bottom: var(--space-m);
	}
}

@media (min-width: 40em) {

	.post-page {
		position: relative;
		align-items: start;
	}

	.post-byline {
		position: sticky;
		top: 0;
	}
}

.post-byline h1 {
	line-height: 1.15;
	margin: var(--space-s) 0 var(--space-m);
}

/*
	Tease: film
*/

.film-item a {
	text-decoration: none;
	display: block;
}

.film-item .film-title {
	margin: var(--space-m) 0 0;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	font-size: 1em;
	font-weight: 900;
}

.film-item img {
	aspect-ratio: 5/7;
	object-fit: cover;
}

.film-item .film-meta {
	display: none;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	align-items: center;
	gap: 0 var(--space-m);
}

.film-item .film-meta li {
	display: flex;
	gap: var(--space-xs);
	align-items: center;
	flex-wrap: nowrap;
}

/*
	Block: Button / Buttons
*/

.block-button[data-alignment=left] {
	text-align: left;
}

.block-button[data-alignment=center] {
	text-align: center;
}

.block-button[data-alignment=right] {
	text-align: right;
}

.block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-m);
	justify-content: center;
	align-items: center;
}

.block-buttons[data-alignment=left] {
	justify-content: left;
}

.block-buttons[data-alignment=center] {
	justify-content: center;
}

.block-buttons[data-alignment=right] {
	justify-content: right;
}

@media (max-width: 40em) {
	.block-button,
	.block-buttons {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.block-button a,
	.block-buttons a {
		text-align: center;
		justify-content: center;
	}
}

/*
	Snippet: Switch page language
*/



.switch-page-language {
	margin: var(--space-m) 0;
}

.switch-page-language p {
	margin: 0;
}

.switch-page-language li {
	flex-grow: 1;
}

/*
	Text utilities
*/

.text-uc {
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.01em;
}

/*
	Block: Films
*/

.block-films {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
	gap: var(--space-l);
	margin: var(--space-m) 0;
}

@media (max-width: 40em) {
	.block-films {
		gap: var(--space-m);
	}
}

/*
	Page: search results
*/

.search-results {
	list-style: none;
	padding: 0;
	margin: var(--space-l) 0;
}

.search-result {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: var(--space-l);
	margin: var(--space-l) 0;
	--icon-fill-color: currentColor;
}

.search-result-title {
	text-transform: uppercase;
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-decoration: none;
	display: block;
	margin: var(--space-s) 0;
}

/*
	Block: Quote (overrides built-in Quote block)
*/

.block-quote {
	padding: 0;
	margin: var(--space-l) 0;
	background: var(--white);
}

.block-quote blockquote {
	font-size: 1.2em;
	margin: 0;
	padding: var(--space-m);
	line-height: 1.25;
	font-weight: 300;
}

.block-quote figcaption {
	margin-top: var(--space-m) calc(-1 * var(--space-m)) calc(-1 * var(--space-m));
	background: var(--red-accent-1);
	color: var(--white);
	padding: var(--space-m);
	text-align: right;
}

/*
	Built-in blocks
*/

.blocks > h2 {
	text-transform: uppercase;
	font-weight: 300;
	/*letter-spacing: 0.02em;*/
	font-size: 2.4em;
	margin: var(--space-m) 0 var(--space-s);
}

.block-news {
	margin: var(--space-m) 0;
}

.content-section {
	margin-bottom: var(--space-l);
}

/*
	Homepage-specific styles
*/

.home-page .blocks > h2 {
	color: var(--red);
	/*text-align: center;*/
	/*font-size: 2.4em;*/
	font-weight: 700;
	letter-spacing: 0;
	margin: var(--space-l) 0 var(--space-m);
	/*border-bottom: var(--space-xs) solid;*/
}

@media (max-width: 40em) {
	.home-page .blocks > h2 {
		margin-block: var(--space-m);
		font-size: 1.6em;
	}
}

.home-page .content-section:has(.block-films, .block-news, .block-now-playing) {
	grid-column: full;	
}

@media (max-width: 40em) {
	.home-page .content-section:has(.block-carousel) {
		grid-column: full;	
	}
}

.home-page .content-section:has(.block-films, .block-news, .block-now-playing) .blocks {
	--gap: clamp(0.5rem, 3vw, 3rem);
	--full: minmax(var(--gap), 1fr);
	--content: min(40rem, 100% - var(--gap) * 2);
	--popout: minmax(0, 2rem);
	--feature: minmax(0, 10rem);

	display: grid;
	grid-template-columns:
		[full-start] var(--full)
		[feature-start] var(--feature)
		[popout-start] var(--popout)
		[content-start] var(--content) [content-end]
		var(--popout) [popout-end]
		var(--feature) [feature-end]
		var(--full) [full-end];
}

.home-page .content-section:has(.block-films, .block-news, .block-now-playing) .blocks > * {
	grid-column: feature;
}

.home-page .block-films,
.home-page .block-news,
.home-page .block-now-playing  {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline-start: var(--space-l);
	scrollbar-width: thin;
	scrollbar-color: var(--red) var(--white);
	grid-column: full !important;
	padding: var(--space-m) var(--space-l);
	margin: 0;
	gap: var(--space-l);
}

.home-page .block-news {
	/*align-items: start;*/
}

@media (max-width: 40em) {
	.home-page .block-films,
	.home-page .block-news,
	.home-page .block-now-playing {
		padding-inline: var(--space-m);
		gap: var(--space-m);
		scroll-padding-inline-start: var(--space-m);
	}
}

.home-page .block-films .film-item {
	width: min(45%, 12em);
	flex-shrink: 0;
	flex-grow: 0;
	scroll-snap-align: start;
}

.home-page .block-news .tease {
	width: min(90%, 18em);
	flex-shrink: 0;
	flex-grow: 0;
	scroll-snap-align: start;
}

.home-page .block-now-playing .schedule-item {
	width: min(90%, 30em);
	flex-shrink: 0;
	flex-grow: 0;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: var(--space-s);
	margin: 0;
	padding: 0;
}


/*
	Block: persons
*/

.persons-block {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-l);
}

.persons-block .person-info {
	padding: var(--space-s) var(--space-m);
	background: var(--white);
	color: var(--red);
}

.persons-block .person-name {
	text-transform: uppercase;
	font-weight: 900;
	margin: 0;
}

.persons-block .person-logline {
	color: var(--grey-3);
}

.persons-block .person-logline > :first-child {
	margin-top: 0;
}

.persons-block .person-logline > :last-child {
	margin-bottom: 0;
}

.persons-block img {
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	object-fit: cover;
	object-position: var(--focus, 50% 50%);
	filter: grayscale(100%);
}

/*
	Page: Timeline
*/

.timeline {
	margin: var(--space-xl) 0;
}

.timeline-item {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-xl);
	align-items: start;
	border-left: var(--space-xxs) solid var(--red);
	padding: var(--space-m);
	position: relative;
}

@media (max-width: 40em) {
	.timeline-item {
		display: flex;
		flex-direction: column;
	}
}

.timeline-item-info::before {
	display: block;
	content: '';
	height: var(--space-xxs);
	width: var(--space-m);
	background: var(--red);
	margin-bottom: var(--space-m);
	top: calc(var(--space-l) + var(--space-xs));
	left: 0;
	position: absolute;
}

.timeline-item-info h2 {
	margin: 0;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	background: var(--white);
	color: var(--red);
	width: max-content;
	padding: 0 var(--space-s);
	border: var(--space-xxs) solid var(--red);
}

.timeline-item--highlighted .timeline-item-info h2 {
	color: var(--white);
	background: var(--red);
}

.timeline-item-graphics {}

.timeline-item-gallery {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-m);
}

.timeline-item-gallery img {
	border: var(--space-xs) solid var(--white);
	box-shadow: 0 0.25em 0.5em rgb(0 0 0 / 0.2);
	box-sizing: border-box;
	display: block;
	margin-left: auto;
	max-width: min(100%, 24em);
}

.timeline-item-gallery img.aspect--portrait {
	max-height: 24em;
	width: auto;
}

.timeline-item-gallery--single {
	grid-template-columns: 1fr;
}

.timeline-page h1 {
	color: var(--red);
	text-transform: uppercase;
	font-weight: 900;
}

.timeline-intro {
	font-size: 1.2em;
	max-width: 40em;
}

/*
	Component: Downloads
*/

.downloads {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: var(--space-m) 0;
	gap: var(--space-m);
	align-items: center;
}

/*
	Page: Memory
*/

.memories {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14em, 1fr));
	gap: var(--space-m);
	align-items: center;
}

.memory-item {
	padding: 0;
	margin: 0;
}

.memory-item a {
	display: block;
}

.memory-item blockquote {
	background: var(--white);
	padding: var(--space-m);
	margin: 0;
	font-weight: 700;
	font-size: 1.15em;
	line-height: 1.25;
}

.memory-item blockquote a > :first-child {
	margin-top: 0;
}

.memory-item blockquote a > :last-child {
	margin-bottom: 0;
}

.memory-item blockquote a {
	text-decoration: none;
}

.memory-item figcaption {
	font-size: 0.9em;
	color: var(--grey-3);
	line-height: 1.25;
	margin-top: var(--space-m);
	font-weight: 400;
}

.memory-item.memory-audio a {
	background: var(--white);
	display: flex;
	justify-content: center;
	padding: var(--space-m);
}

.memory-item.memory-video a {
	position: relative;
}

.memory-item.memory-video svg {
	fill: var(--red);
	width: 1.5em;
	height: 1.5em;
	display: block;
	position: relative;
	left: var(--space-xxs);
}

.memory-item.memory-video .play-icon {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
	background: var(--white);
	padding: var(--space-s);
	border-radius: 50%;
}

.memory-item-page h1 {
	text-align: center;
}

.memory-item-page audio {
	width: 100%;
}

.memory-item-page figure {
	padding: 0;
	margin: var(--space-l) 0;
}

.memory-item-page blockquote {
	padding: var(--space-l);
	margin: 0;
	background: var(--white);
}

.memory-item-page figcaption {
	font-weight: 700;
	font-size: 0.9em;
	color: var(--grey-3);
	padding: var(--space-m) var(--space-l);
}