/*
Theme Name:  Taylor Made Media
Description: Custom theme for taylormademedia.tv
Version:     1.0.0
Text Domain: tmm
*/

:root {
	--font-sans: 'Jost', sans-serif;
	--darkblue: #2A2F3D;
	--blue: #292E3D;
	--gold: #DA9F58;
	--grey: #777;
	--site-padding: 40px;
	--max-column-width: 1950px;
    --header-height: 130px;
	--admin-bar: 32px;
    --easing: cubic-bezier(0.8, 0, 0.2, 1);
	--news-card-width: 405px;
	--news-card-image-height: 225px;
	--news-card-gap: 20px;
}

@media (min-width: 1950px) {

}

@media (max-width: 800px) {
	:root {
		--admin-bar: 46px;
		--header-height: 100px;
		--news-card-width: min(405px, calc(100vw - (var(--site-padding) * 2)));
		--news-card-image-height: calc(var(--news-card-width) * 0.5555555556);
		--site-padding: 30px;
	}
}

/*----------------------------------*
 | Reset
 *----------------------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.site-scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: var(--scroll-progress, 0%);
	height: 3px;
	background: var(--gold);
	pointer-events: none;
	transition: width 0.12s linear;
}

@media (max-width: 850px) {
	body {
		font-size: 14px;
	}
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
    text-wrap: balance;
}

a,
a:visited {
    color: inherit;
}

address {
	font-style: normal;
}

/*----------------------------------*
 | Utility classes
 *----------------------------------*/

.flex-apart {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.flex-apart.top-align {
	align-items: flex-start;
}

.flex-apart.bottom-align {
	align-items: flex-end;
}

@media (max-width: 850px) {
	.flex-apart.stack-850 {
		display: block;
	}
}

.flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.fill-viewport {
	height: 100dvh;
}

.space-for-header {
	padding-top: var(--header-height);
}

.admin-bar .space-for-header {
	padding-top: calc(var(--header-height) + var(--admin-bar));
}

.mb-0 { margin-bottom: 0 !important }
.mb-l { margin-bottom: 150px !important }


@media (max-width: 800px) {
	body *.mobile-hide {
		display: none;
	}
}

@media (max-width: 800px) {
	.flex-apart.mobile-stack {
		flex-direction: column;
	}
}

.dev-note {
	background: cyan;
	padding: 18px;
	margin: 30px 0;
}


/*----------------------------------*
 | Global
 *----------------------------------*/

.site {
	max-width: var(--max-column-width);
	margin: auto;
}

.main-column {
	max-width: var(--max-column-width);
	margin: auto;
}

.main-column.padded {
	padding: 0 var(--site-padding);
}

.article-column {
	max-width: var(--max-column-width);
	margin: auto;
	padding: 0 var(--site-padding);
}

body:not(.home) #main {
	padding-top: calc(var(--header-height) + var(--site-padding));
}

body.home section[id] {
	scroll-margin-top: calc(var(--header-height) + 20px);
}

body.admin-bar.home section[id] {
	scroll-margin-top: calc(var(--header-height) + var(--admin-bar) + 20px);
}

hr.section-break {
	max-width: calc(var(--max-column-width) - (var(--site-padding) * 2));
	width: calc(100% - (var(--site-padding) * 2));
	border: none;
	height: 3px;
	background: var(--gold);
	margin: 100px auto;
}

hr.section-break.no-padding {
	width: auto;
}

@media (max-width: 580px) {
	hr.section-break {
		margin: 60px auto;
	}
}

.error-page {
	padding-bottom: 200px;
}

/*----------------------------------*
 | Links
 *----------------------------------*/

.link-arrow-right,
.link-arrow-left {
	position: relative;
	transition: all 0.4s;
	text-decoration: none;
}

.link-arrow-left:after,
.link-arrow-right:after {
	content: '';
	position: absolute;
	display: block;
	right: 0; 
	top: calc(50% - 6px);
	width: 36px;
	height: 13px;
	background-image: url('img/arrow-right.svg');
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.4s;
}

.link-arrow-left:after {
	background-image: url('img/arrow-left.svg');
	right: auto;
	left: 0;
}

.link-arrow-right:hover {
	padding-right: 50px;
	color: var(--gold);
}

.link-arrow-left:hover {
	padding-left: 50px;
	color: var(--gold);
}

.link-arrow-left:hover:after,
.link-arrow-right:hover:after {
	opacity: 1;
}


/*----------------------------------*
 | Typography
 *----------------------------------*/

.post-content {

}

p.centered,
h1.centered,
h2.centered,
h3.centered,
h4.centered {
	text-align: center;
}

h1 {
	color: var(--blue);
	font-size: 38px;
	letter-spacing: 2px;
}

h2 {
	position: relative;
	margin-top: 120px;
	margin-bottom: 40px;
	font-size: 42px;
	line-height: 1.4;
	color: var(--blue);
	letter-spacing: 2px;
}

h2.with-line {
	margin-bottom: 160px;
}

h2.with-line:after {
	content: '';
	position: absolute;
	bottom: -80px;
	left: calc(50% - 40px);
	width: 80px;
	height: 3px;
	background: var(--gold);
}

h2.with-line.left:after {
	left: 0;
}

h3 {
	font-size: 28px;
	color: var(--blue);
}

h4 {
	font-weight: 600;
}

.entry-content p {
	margin: 20px 0;
}

.heading-group {
	margin-bottom: 40px;
	line-height: 18px;
}

.heading-group h2 {
	margin-top: 0;
	line-height: 1;
	margin-bottom: 0;
}

.heading-group a {
	font-size: 18px;
}

@media (max-width: 850px) {
	h2 {
		margin-top: 60px;
		font-size: 25px;
		margin-bottom: 30px;
	}

	h2.with-line {
		margin-bottom: 100px;
	}

	h2.with-line:after {
		bottom: -40px;
	}
}

@media (max-width: 700px) {
	.heading-group a {
		font-size: 16px;
	}
}


/*----------------------------------*
 | Tables
 *----------------------------------*/

.wp-block-table thead {
	border-bottom: 1px solid var(--gold);
}

.wp-block-table td, .wp-block-table th {
	border-color: var(--gold);
	padding: 18px;
}

.wp-block-table th {
	text-align: left;
	color: var(--gold);
	font-weight: normal;
	padding-bottom: 28px;
}

/*----------------------------------*
 | Header
 *----------------------------------*/

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	padding-top: 28px;
	width: 100%;
	z-index: 10;
	height: var(--header-height);
	transition: background 0.2s;
}

.site-header .main-column {
	height: 100%;
}

.site-header .logo {
	width: 130px;
	fill: white;
	transform: translatey(-7px);
	transition: fill 0.3s;
}

.site-header .logo #media,
.site-header .logo #taylor,
.site-header .logo #made {
	transform-box: fill-box;
	transform-origin: center;
	animation-duration: 4s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}

.site-header .logo #media,
.site-header .logo #taylor {
	animation-name: logo-shift-left;
}

.site-header .logo #made {
	animation-name: logo-shift-right;
}

@keyframes logo-shift-left {
	0%,
	100% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(-4%);
	}
}

@keyframes logo-shift-right {
	0%,
	100% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(4%);
	}
}

body.home .site-header.inverted .logo {
	fill: var(--blue);
}

body.home .site-header.inverted {
	color: var(--blue);
}

body.home .site-header.inverted,
body:not(.home) .site-header {
	background: white;
	transition: background 0.8s;
}

body:not(.home) .site-header .logo {
	fill: var(--blue);
}

@media (max-width: 800px) {
	.site-header .logo {
        width: 95px;
        transform: translatey(-4px);
	}
}

/*----------------------------------*
 | Main nav
 *----------------------------------*/

.main-nav ul {
	display: flex;
	list-style: none;
	color: white;
	font-size: 17px;
	justify-content: flex-end;
	gap: var(--site-padding);
	letter-spacing: 2px;
}

.site-header.inverted ul {
	color: var(--blue);
}

body:not(.home) .main-nav ul {
	color: var(--blue);
}

.main-nav a {
	display: inline-block;
	position: relative;
	text-decoration: none;
	transition: color 0.4s;
}

.main-nav .current-menu-item a {
	color: var(--gold);
}

.main-nav .current-menu-item a:after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--gold);
}

.mobile-nav-contact {
	display: none;
}

.nav-toggle {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.main-nav a:after {
		content: '';
		position: absolute;
		bottom: -3px;
		left: 0;
		width: 0;
		height: 1px;
		background: var(--gold);
		transition: width 0.4s;
	}

	.main-nav a:hover:after {
		width: 100%;
	}

	.main-nav a:hover {
		color: var(--gold);
	}
}

@media (max-width: 800px) {
	.nav-toggle {
		display: block;
		fill: white;
	}

	.nav-toggle .close-icon {
		fill: white !important;
	}

	.nav-toggle svg {
		width: 24px;
		transition: fill 0.3s;
	}

	body:not(.home) .nav-toggle svg {
		fill: var(--blue);
	}

	body.home .site-header.inverted .nav-toggle svg {
		fill: var(--blue);
	}


	.main-nav {
		position: fixed;
		top: 0;
		right: 0;
		width: 60%;
		height: 100%;
		padding: var(--site-padding);
		background: var(--blue);
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		transform: translateX(100%);
		transition: transform 0.4s var(--easing);
	}

	body .site-header .main-nav ul {
		color: white;
		font-size: 22px;
		letter-spacing: 2px;
	}

	.main-nav .nav-toggle {
		position: absolute;
		top: 28px;
		right: var(--site-padding);
	}

	.main-nav .menu-main {
		display: block;
		margin: 40px 0 0 0;
		padding: 0;
		font-size: 22px;
	}

	.main-nav .menu-main li {
		margin: 20px 0;
	}

	.main-nav .menu-social {
		margin: var(--site-padding) 0 0 0;
		padding: 0;
	}

	.mobile-nav-contact {
		display: block;
		color: white;
		font-size: 14px;
	}

	.mobile-nav-contact a {
		display: block;
	}

	body.show-nav .main-nav {
		transform: translateX(0);
	}

}

/*----------------------------------*
 | Social links
 *----------------------------------*/

.social-links [href*="instagram.com"],
.social-links [href*="linkedin.com"],
.social-links [href*="youtube.com"],
.social-links [href*="youtu.be"],
.social-links [href*="vimeo.com"],
.social-links [href*="vimeopro.com"] {
	display: inline-block;
	width: 24px;
	height: 24px;
	font-size: 0;
	line-height: 0;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: background-image 0.2s;
}

.social-links [href*="instagram.com"] {
	background-image: url("img/socials/instagram.svg");
}

.social-links [href*="linkedin.com"] {
	background-image: url("img/socials/linkedin.svg");
}

.social-links [href*="youtube.com"],
.social-links [href*="youtu.be"] {
	background-image: url("img/socials/youtube.svg");
}

.social-links [href*="vimeo.com"],
.social-links [href*="vimeopro.com"] {
	background-image: url("img/socials/vimeo.svg");
}

@media (hover: hover) and (pointer: fine) {
	.social-links [href*="instagram.com"]:hover,
	.social-links [href*="instagram.com"]:focus-visible {
		background-image: url("img/socials/instagram-hover.svg");
	}

	.social-links [href*="linkedin.com"]:hover,
	.social-links [href*="linkedin.com"]:focus-visible {
		background-image: url("img/socials/linkedin-hover.svg");
	}

	.social-links [href*="youtube.com"]:hover,
	.social-links [href*="youtube.com"]:focus-visible,
	.social-links [href*="youtu.be"]:hover,
	.social-links [href*="youtu.be"]:focus-visible {
		background-image: url("img/socials/youtube-hover.svg");
	}

	.social-links [href*="vimeo.com"]:hover,
	.social-links [href*="vimeo.com"]:focus-visible,
	.social-links [href*="vimeopro.com"]:hover,
	.social-links [href*="vimeopro.com"]:focus-visible {
		background-image: url("img/socials/vimeo-hover.svg");
	}
}

.social-links ul {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	padding: 0;
	list-style: none;
}

@media(max-width: 800px) {
	.social-links ul {
		margin-top: 30px;
	}
	
}


.social-links ul a:after,
.social-links ul a:before {
	display: none;
}

/*----------------------------------*
 | Footer
 *----------------------------------*/

.site-footer {
	padding-top: var(--site-padding);
	padding-bottom: var(--site-padding);
	background: var(--blue);
	color: white;
	font-size: 18px;
}

.site-footer p {
	line-height: 1.5;
	margin-bottom: var(--site-padding);
}

/*.site-footer p a {
	text-decoration: underline;
	text-decoration-color: var(--grey)
}*/

.site-footer a {
	position: relative;
	text-decoration: none;
}

	.site-footer a:before {
		content: '';
		position: absolute;
		bottom: -3px;
		left: 0;
		width: 100%;
		height: 1px;
		background: rgba(255,255,255,0.3);
	}

@media (hover: hover) and (pointer: fine) {


	.site-footer a:after {
		content: '';
		position: absolute;
		bottom: -3px;
		left: 0;
		width: 0;
		height: 1px;
		background: white;
		transition: width 0.4s, colour 0.4s;
	}

	.site-footer a:hover:after {
		width: 100%;
		background: var(--gold);
	}

	.site-footer a:hover {
		color: var(--gold);
	}
}


.site-footer p.accent {
	color: var(--gold);
	font-size: 16px;
	margin-top: 80px;
}

.site-footer-footer {
	display: flex;
	justify-content: space-between;
	margin-top: var(--site-padding);
	padding-top: var(--site-padding);
	border-top: 3px solid var(--gold);
}

.site-colophon {
	font-size: 11px;
	color: var(--grey);
}

.footer-links ul {
	display: flex;
	gap: 20px;
	padding: 0;
	list-style: none;
	font-size: 11px;
}

@media (max-width: 800px) {
	.site-footer-footer {
		display: block;
	}

	.footer-links ul {
		margin-top: 20px;
	}
}


/*----------------------------------*
 | Home hero
 *----------------------------------*/

.home-hero .video-wrapper {
	position: relative;
	background: var(--blue);
}

.home-hero .video-wrapper .video-poster,
.home-hero .video-wrapper video {
	display: block;
	width: 100%;
}

.home-hero .video-wrapper .video-poster {
	position: relative;
	z-index: 1;
	transition: opacity 0.4s var(--easing);
}

.home-hero .video-wrapper video {
	position: absolute;
	inset: 0;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.4s var(--easing);
}

.home-hero .video-wrapper .video-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: white;
	border-radius: 50%;
	animation: hero-video-loader 0.8s linear infinite;
}

.home-hero .video-wrapper .arrow {
	position: absolute;
	bottom: 40px;
	left: calc(50% - 15px);
	width: 30px;
	z-index: 3;
	opacity: 0;
	transition: opacity 0.4s var(--easing), transform 0.4s var(--easing);
}

.home-hero .video-wrapper .arrow svg {
	fill: white;
	transition: fill 0.4s;
}

.home-hero .video-wrapper.video-ready .video-poster,
.home-hero .video-wrapper.video-ready .video-loader {
	opacity: 0;
	pointer-events: none;
}

.home-hero .video-wrapper.video-ready video,
.home-hero .video-wrapper.video-ready .arrow {
	opacity: 1;
}

.home-hero .video-wrapper:not(.video-ready) .video-poster {
	opacity: 1;
}

@keyframes hero-video-loader {
	to {
		transform: rotate(360deg);
	}
}

@media (hover: hover) and (pointer: fine) {
	.home-hero .video-wrapper .arrow:hover {
		transform: translateY(10px);
	}

	.home-hero .video-wrapper .arrow:hover svg {
		fill: var(--gold);
	}
}

/*----------------------------------*
 | Clients
 *----------------------------------*/

.clients-list {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	padding: 20px 0 100px 0;
}

@media (max-width: 850px) {
	.clients-list {
		grid-template-columns: 1fr 1fr 1fr;
		padding-bottom: 30px;
	}
}

@media (max-width: 580px) {
	.clients-list {
		grid-template-columns: 1fr 1fr;
		padding-bottom: 0;
	}

	.clients-list li:last-child {
		grid-column: span 2;
	}
}

.clients-list li {
	display: flex;
	justify-content: center;
}

.client-logo-stack {
	position: relative;
	display: inline-block;
}

.client-logo {
	display: block;
}

.client-logo-base {
	opacity: 0;
	transition: opacity 0.4s var(--easing);
}

.client-logo-overlay {
	position: absolute;
	inset: 0;
	transition: opacity 0.4s var(--easing);
}

.client-logo-tint {
	filter: brightness(0) saturate(100%) invert(24%) sepia(16%) saturate(826%) hue-rotate(188deg) brightness(93%) contrast(90%);
}

.clients-list a:hover .client-logo-overlay,
.clients-list a:focus-visible .client-logo-overlay,
.clients-list li:hover .client-logo-overlay {
	opacity: 0;
}

.clients-list a:hover .client-logo-base,
.clients-list li:hover .client-logo-base {
	opacity: 1;
}


/*----------------------------------*
 | Films
 *----------------------------------*/

:root {
	--film-thumb-height: 300px;
	--film-row-gap: 7px;
	--film-column-gap: 7px;
	--film-card-height: var(--film-thumb-height);
	--film-tile-wide-width: calc(var(--film-thumb-height) * 1.79);
	--film-tile-portrait-width: calc(var(--film-thumb-height) * 0.88);
}

.films-heading-actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

@media (max-width: 700px) {
	.films-heading-actions {
/*		display: none;*/
	}
}

.films-nav {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin: 20px 0;
}

.films-nav-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--blue);
	cursor: pointer;
	transition: color 0.4s var(--easing), opacity 0.4s var(--easing);
}

.films-nav-button[disabled] {
	opacity: 0.35;
	cursor: default;
}

.films-nav-button svg {
	width: 36px;
	fill: var(--gold);
}

.films-list {
	position: relative;
	inline-size: 100%;
	block-size: calc((var(--film-card-height) * 2) + var(--film-row-gap));
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-gutter: stable both-edges;
	scrollbar-width: none;
	cursor: grab;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}

@media (hover: none), (pointer: coarse) {
	.films-list {
		cursor: auto;
		touch-action: auto;
		-webkit-user-select: auto;
		user-select: auto;
	}
}

.films-list-track {
	display: inline-flex;
	flex-direction: column;
	gap: var(--film-row-gap);
	min-inline-size: max-content;
	padding: 0 var(--site-padding) 18px var(--site-padding);
	margin: 0;
}

@media (min-width: 1950px) {
	.films-list-track {
		padding-left: calc(var(--site-padding) + ((100vw - var(--max-column-width))/2) );
	}
}

.films-list::-webkit-scrollbar {
	display: none;
}

.films-list-row {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--film-column-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.films-list-row li {
	block-size: var(--film-card-height);
	inline-size: var(--film-tile-wide-width);
}

.films-list-row li a,
.films-list-row li .film-thumb {
	inline-size: var(--film-tile-wide-width);
}

.films-list-row-primary li:nth-child(3),
.films-list-row-primary li:nth-child(3) a,
.films-list-row-primary li:nth-child(3) .film-thumb,
.films-list-row-primary li:nth-child(6),
.films-list-row-primary li:nth-child(6) a,
.films-list-row-primary li:nth-child(6) .film-thumb,
.films-list-row-primary li:nth-child(9),
.films-list-row-primary li:nth-child(9) a,
.films-list-row-primary li:nth-child(9) .film-thumb,
.films-list-row-primary li:nth-child(12),
.films-list-row-primary li:nth-child(12) a,
.films-list-row-primary li:nth-child(12) .film-thumb  {
	inline-size: var(--film-tile-portrait-width);
}

.films-list-row-secondary li:first-child,
.films-list-row-secondary li:first-child a,
.films-list-row-secondary li:first-child .film-thumb,
.films-list-row-secondary li:nth-child(4),
.films-list-row-secondary li:nth-child(4) a,
.films-list-row-secondary li:nth-child(4) .film-thumb,
.films-list-row-secondary li:nth-child(7),
.films-list-row-secondary li:nth-child(7) a,
.films-list-row-secondary li:nth-child(7) .film-thumb,
.films-list-row-secondary li:nth-child(10),
.films-list-row-secondary li:nth-child(10) a,
.films-list-row-secondary li:nth-child(10) .film-thumb {
	inline-size: var(--film-tile-portrait-width);
}


.films-list.is-dragging {
	cursor: grabbing;
}

.films-list a {
	display: inline-block;
	inline-size: var(--film-tile-wide-width);
	max-inline-size: none;
	text-decoration: none;
	-webkit-user-drag: none;
}

.film-thumb {
	position: relative;
	display: block;
}

.films-list img {
	display: block;
	block-size: var(--film-thumb-height);
	inline-size: 100%;
	max-inline-size: none;
	object-fit: cover;
	object-position: center;
	-webkit-user-drag: none;
	transition: filter 1s;
}

.film-meta {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 18px;
	background: rgba(218, 159, 88, 0.8)
}

.film-client,
.film-copy {
	display: block;
	max-inline-size: 100%;
	line-height: 1.2;
}

.film-client {
	display: inline-block;
	position: relative;
	font-size: 25px;
	margin-bottom: 18px;
	color: white;
	padding-right: 30px;
}

.film-client:after {
	content: '';
	width: 100%;
	position: absolute;
	left: 0;
	bottom: -8px;
	height: 3px;
	background: var(--blue);
}

.film-copy {
	font-size: 18px;
	color: white;
}

.film-meta {
	opacity: 0;
	transition: opacity 1s;
}

.film-client {
	opacity: 0;
	transition: opacity 0.5s;
	transition-delay: 0.2s;
}

@media (max-width: 800px) {
	:root {
		--film-thumb-height: 200px;
/*		--film-row-gap: 24px;
		--film-column-gap: 18px;*/
	}
}

@media (hover: hover) and (pointer: fine) {


	.film-client:after {
		width: 0;
		transition: width 1s var(--easing);
		transition-delay: 0.3s;
	}

	.film-copy {
		opacity: 0;
		transition: opacity 0.4s;
		transition-delay: 0.3s;
	}

	.films-list .film-meta:hover {
		opacity: 1;
	}

	.films-list .film-meta:hover .film-client,
	.films-list .film-meta:hover .film-copy {
		opacity: 1;
	}

	.films-list .film-meta:hover .film-client:after {
		width: 100%;
	}

	.films-list a:hover img,
	.films-list li:hover img {
		filter: grayscale(1);
	}

	.films-nav-button:hover:not([disabled]) {
		color: var(--gold);
	}
}

/*----------------------------------*
 | Single film
 *----------------------------------*/

.single-films #main {
	padding-bottom: 150px;
}

.film-layout {
	gap: var(--site-padding);
	margin-bottom: 80px;
	align-items: flex-start;
}

.film-preview {
	width: 60%;
}

.film-preview img {
	width: 100%;
	height: auto;
}

.film-video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: white;
}

.film-video-list {
	display: grid;
	gap: var(--site-padding);
	margin-top: var(--site-padding);
}

.film-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.consent-embed {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 24px;
	background: rgba(57, 66, 92, 0.08);
	text-align: center;
}

.consent-embed-message {
	margin: 0;
	color: var(--blue);
}

.consent-embed-message button {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gold);
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
}

.film-main {
	width: 40%;
}

.film-main h1 {
	line-height: 1.2;
}

.film-main .entry-header {
	margin-bottom: 50px;
}

.film-pagination {
	gap: var(--site-padding);
}

.film-pagination-previous,
.film-pagination-next {
	flex: 1 1 0;
}

.film-pagination-next {
	text-align: right;
}

.film-pagination a {
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.film-pagination a:hover {
		color: var(--gold);
	}
}

@media (max-width: 500px) {
	.film-layout {
		flex-direction: column;
	}

	.film-preview {
		order: 2;
		width: 100%;
	}

	.film-main {
		width: 100%;
	}
}

/*----------------------------------*
 | Archive
 *----------------------------------*/

.latest {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--site-padding);
	row-gap: 22px;
}

.archive .entry-thumbnail {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.archive .entry-thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
}

.archive .entry-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.latest > article:first-child {
	grid-row: 1 / span 3;
}

.latest > article:nth-child(2),
.latest > article:nth-child(3),
.latest > article:nth-child(4) {
	grid-column: 2;
}

.latest > article:nth-child(2),
.latest > article:nth-child(3),
.latest > article:nth-child(4) {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: calc(var(--site-padding) / 2);
	align-items: start;
}

.latest > article:nth-child(3),
.latest > article:nth-child(4) {
	padding-top: calc(var(--site-padding) / 2);
	border-top: 3px solid var(--gold);
}

.latest > article:nth-child(2) .entry-thumbnail,
.latest > article:nth-child(3) .entry-thumbnail,
.latest > article:nth-child(4) .entry-thumbnail {
	grid-column: 1;
	grid-row: 1 / span 2;
	margin-bottom: 0;
}

.latest > article:nth-child(2) .entry-thumbnail img,
.latest > article:nth-child(3) .entry-thumbnail img,
.latest > article:nth-child(4) .entry-thumbnail img {
	width: 100%;
	height: 100%;
}

.latest > article:nth-child(2) .entry-header,
.latest > article:nth-child(2) .entry-content,
.latest > article:nth-child(3) .entry-header,
.latest > article:nth-child(3) .entry-content,
.latest > article:nth-child(4) .entry-header,
.latest > article:nth-child(4) .entry-content {
	grid-column: 2;
}

.all-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--site-padding);
}

.archive-post h2 {
	font-size: 25px;
	margin-top: 0;
	line-height: 1.3;
	margin-bottom: 14px;
	letter-spacing: 0;
}

.archive-post .entry-header a {
	text-decoration: none;
}

.archive-post .entry-header h2 a {
	color: var(--blue);
}

.archive-post .entry-header a {
	color: var(--gold);
}

.latest > article:first-child h2 {
	font-size: 35px;
}

.archive-post .entry-thumbnail {
	margin-bottom: 12px;
}

.archive-post .entry-date {
	display: block;
	color: var(--gold);
	margin-bottom: 10px;
}

.pagination {
	margin: 50px 0 100px 0;
}

.pagination ul {
	display: flex;
	gap: 10px;
	list-style: none;
	padding: 0;
}

.pagination .prev,
.pagination .next {
	text-decoration: none;
}

.pagination .current {
	color: var(--gold);
}

@media (max-width: 900px) {
	.latest > article:nth-child(2) h2,
	.latest > article:nth-child(3) h2,
	.latest > article:nth-child(4) h2 {
		font-size: 16px;
	}

}


@media (max-width: 700px) {
	.latest {
		grid-template-columns: 1fr;
	}

	.latest article:first-child h2 {
		font-size: 30px;
		line-height: 1.3;
	}

	.latest > article:first-child {
		padding-bottom: 30px;
		border-bottom: 2px solid var(--gold);
		margin-bottom: 20px;
	}

	.all-posts {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		row-gap: 30px;
	}

	.all-posts article h2 {
		font-size: 16px;
	}

	.latest > article:first-child,
	.latest > article:nth-child(2),
	.latest > article:nth-child(3),
	.latest > article:nth-child(4) {
		grid-column: auto;
		grid-row: auto;
	}

	.latest > article:nth-child(2),
	.latest > article:nth-child(3),
	.latest > article:nth-child(4) {
		grid-template-columns: 3fr 4fr;
	}


	.latest > article:nth-child(2) h2,
	.latest > article:nth-child(3) h2,
	.latest > article:nth-child(4) h2 {
		font-size: 16px;
	}

	.latest > article:nth-child(2) .entry-date,
	.latest > article:nth-child(3) .entry-date,
	.latest > article:nth-child(4) .entry-date {
		font-size: 12px;
		margin-bottom: 4px;
	}

	.latest > article:nth-child(2) .entry-thumbnail,
	.latest > article:nth-child(2) .entry-header,
	.latest > article:nth-child(2) .entry-content,
	.latest > article:nth-child(3) .entry-thumbnail,
	.latest > article:nth-child(3) .entry-header,
	.latest > article:nth-child(3) .entry-content,
	.latest > article:nth-child(4) .entry-thumbnail,
	.latest > article:nth-child(4) .entry-header,
	.latest > article:nth-child(4) .entry-content {
		grid-column: auto;
		grid-row: auto;
	}


}

/*----------------------------------*
 | News
 *----------------------------------*/

.news-strip {
	margin-top: 40px;
	margin-bottom: 100px;
}

.news-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.news-viewport::-webkit-scrollbar {
	display: none;
}

.news-list {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--news-card-gap);
	inline-size: max-content;
	margin: 0 0 50px 0;
	padding: 0 0 0 var(--site-padding);
	list-style: none;
}

@media (min-width: 1950px) {
	.news-list {
		padding-left: calc(var(--site-padding) + ((100vw - var(--max-column-width))/2) );
	}
}


.news-list li {
	flex: 0 0 auto;
	inline-size: var(--news-card-width);
}

.news-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: inherit;
	text-decoration: none;
}

.news-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	inline-size: 100%;
	aspect-ratio: 16 / 9;
	block-size: var(--news-card-image-height);
	background: #f3f1ec;
	overflow: hidden;
}

.news-thumb img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	object-position: center;
}

.news-thumb-placeholder {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	background: linear-gradient(135deg, rgba(57, 66, 92, 0.12), rgba(218, 159, 88, 0.18));
}

.news-date {
	font-size: 12px;
	line-height: 1.2;
	color: var(--gold);
}

.news-title {
	display: block;
	font-size: 24px;
	line-height: 1.2;
	color: black;
}

.news-dots {
	display: flex;
	justify-content: flex-start;
	gap: 12px;
	margin-top: 28px;
}

.news-dot {
	position: relative;
	height: 3px;
	width: 48px;
	border: 0;
	border-top: 10px solid white;
	border-bottom: 10px solid white;
	padding: 0;
	background: var(--gold);
	transition:opacity 0.3s;
	cursor: pointer;
	opacity: 0.3;
	box-sizing: content-box;
}

.news-card .read-more {
	font-size: 16px;
}

.news-dot.is-active {
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
.news-dot:hover {
		background: var(--blue);
	}
}

/*----------------------------------*
 | Cookie notice
 *----------------------------------*/

.cookie-notice {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	height: 126px;
	background: var(--blue);
	color: white;
	transform: translateY(100%);
	transition: transform 0.4s var(--easing);
}

body.has-cookie-notice .cookie-notice {
	transform: translateY(0);
}

.cookie-notice .main-column,
.cookie-notice .cookie-notice-inner {
	height: 100%;
}

.cookie-notice-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cookie-notice p {
	font-size: 20px;
	margin: 0;
	color: white;
}

.cookie-notice-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.cookie-notice-button {
	height: 46px;
	padding: 0 18px;
	border: 1px solid white;
	background: white;
	color: var(--blue);
	cursor: pointer;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.cookie-notice-button-secondary {
	background: transparent;
	color: white;
}

@media (hover: hover) and (pointer: fine) {
	.cookie-notice-button:hover {
		background: var(--gold);
		border-color: var(--gold);
		color: var(--blue);
	}

	.cookie-notice-button-secondary:hover {
		background: transparent;
		color: var(--gold);
		border-color: var(--gold);
	}
}

@media (max-width: 850px) {
	.cookie-notice {
		padding: 12px 0;
		height: auto;
		min-height: 126px;
	}

	.cookie-notice p {
		font-size: 16px;
		text-align: center;
	}

	.cookie-notice-inner {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.cookie-notice-actions {
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
	}
}

/*----------------------------------*
 | About
 *----------------------------------*/

.about-title {
	width: 50%;
	margin: 0;
	padding-right: calc(var(--site-padding) * 2);
}

.about-text {
	width: 50%;
}

.awards {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	gap: 4vw;
	padding: 100px 0;
}

@media (max-width: 850px) {
	.about-title {
		width: auto;
	}

	.about-text {
		margin-left: auto;
	}
}

@media (min-width: 581px) and (max-width: 850px) {
	.awards {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.awards img {
		width: 15%;
	}
}

@media (max-width: 580px) {
	.about-text {
		width: auto;
	}

	.awards {
		margin-top: 40px;
		padding: 10%;
		gap: 40px;
		grid-template-columns: repeat(3, 1fr);
	}
}


/*----------------------------------*
 | Single
 *----------------------------------*/

.single-post h1 {
	border-top: 3px solid var(--gold);
	padding-top: 30px;
	font-size: 40px;
	color: black;
}

.single-post .entry-thumbnail img {
	width: 100%;
	height: auto;
}

.single-post .entry-date {
	display: block;
	color: var(--gold);
	margin: 10px 0 40px 0;
}

.single-post .entry-content {
	max-width: 585px;
	margin-left: auto;
}

.single-post .article-column {
	max-width: 888px;
}


/*----------------------------------*
 | Page
 *----------------------------------*/

.page h1 {
	border-top: 3px solid var(--gold);
	padding-top: 30px;
	font-size: 40px;
	color: black;
}


.page .entry-thumbnail img {
	width: 100%;
	height: auto;
}

.page .entry-date {
	color: var(--gold);
	margin: 10px 0 40px 0;
}

.page .entry-content {
	max-width: 720px;
	margin-left: auto;
}

.page .entry-content h3 {
	font-size: 22px;
	color: var(--gold);
	margin-top: 40px;
}
