.ai-films-page {
	background: #f6f3ee;
	color: #2b2b2b;
}

.ai-films-page #masthead,
.ai-films-page .below-site-header,
.ai-films-page #content,
.ai-films-page .site-footer,
.ai-films-page .site-header-main {
	background: #f6f3ee;
}

.ai-films-page #secondary,
.ai-films-page .widget-area {
	display: none;
}

.ai-films-page .site-content .wrapper {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0 56px 48px;
	box-sizing: border-box;
}

.ai-films {
	max-width: 960px;
	margin: 0 auto;
	padding: 56px 0 24px;
	font-family: Lato, "Helvetica Neue", Arial, sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.7;
	color: #3f3f3f;
}

.ai-films h1,
.ai-films h2,
.ai-films h3 {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 400;
	color: #1c1c1c;
	letter-spacing: 0;
	text-transform: none;
}

.ai-films h1,
.ai-films h2,
.ai-films h3,
.ai-films p,
.ai-films li,
.ai-films label {
	font-stretch: normal;
}

.ai-films h1 {
	margin: 8px 0 10px;
	font-size: 40px;
	line-height: 1.2;
	text-align: center;
}

.ai-hero__subtitle,
.ai-section__lead {
	margin: 0 auto 28px;
	max-width: 640px;
	text-align: center;
	color: #8a847c;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
}

.ai-films h2 {
	margin: 0 0 8px;
	font-size: 32px;
	line-height: 1.25;
	text-align: center;
}

.ai-films h3 {
	margin: 36px 0 12px;
	font-size: 26px;
	line-height: 1.35;
	text-align: left;
}

.ai-section {
	margin-top: 88px;
}

.ai-prose p,
.ai-quote__note,
.ai-form__based,
.ai-card__logline {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.7;
}

.ai-quote__note {
	margin-bottom: 22px;
}

.ai-prose--intro {
	position: relative;
	max-width: none;
	margin-top: 26px;
	padding-top: 22px;
}

.ai-prose--intro::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 72px;
	height: 1px;
	background: #d9d2c8;
}

.ai-films-page .ai-films button {
	border-radius: 0;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
}

.ai-hero__poster,
.ai-card__media,
.ai-work__main {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #e7e1d8;
	cursor: pointer;
	overflow: hidden;
}

.ai-hero__poster img,
.ai-card__media img,
.ai-work__main img,
.ai-grid--stills img {
	display: block;
	width: 100%;
	height: auto;
}

.ai-card__media {
	aspect-ratio: 16 / 9;
	cursor: default;
}

.ai-card__media[data-ai-video] {
	cursor: pointer;
}

.ai-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ai-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 78px;
	height: 78px;
	margin: -39px 0 0 -39px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.ai-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent #fff;
}

.ai-play--small {
	width: 46px;
	height: 46px;
	margin: -23px 0 0 -23px;
}

.ai-play--small::after {
	border-width: 7px 0 7px 11px;
}

.ai-hero__meta {
	display: flex;
	justify-content: flex-start;
	gap: 16px;
	margin-top: 12px;
	color: #6f6a64;
	font-size: 14px;
}

.ai-films-page .ai-films .ai-hero__vertical {
	padding: 0;
	border: 0;
	border-bottom: 1px solid #6f6a64;
	border-radius: 0;
	background: transparent;
	color: #6f6a64;
	font-family: Lato, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.ai-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 16px;
}

.ai-card h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
	text-align: left;
}

.ai-card__type {
	margin: 2px 0 10px;
	color: #8d8882;
	font-size: 13px;
	line-height: 1.4;
}

.ai-card__logline {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.55;
}

.ai-work__main {
	margin: 28px 0 8px;
}

.ai-grid--stills {
	gap: 14px;
	margin-top: 8px;
	margin-bottom: 32px;
}

.ai-quote ul {
	margin: 8px 0 22px;
	padding-left: 18px;
}

.ai-quote li {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.6;
}

a.ai-rates {
	display: flex;
	width: fit-content;
	align-items: center;
	margin: 0;
	gap: 10px;
	color: #1c1c1c;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

a.ai-rates span {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a.ai-rates:hover {
	color: #000;
}

.ai-rates--pending {
	display: flex;
	width: fit-content;
	margin: 0;
	color: #6f6a64;
	font-size: 16px;
	text-decoration: none;
}

.ai-rates__icon {
	display: block;
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	border: 0;
	box-shadow: none;
}

.ai-form h2,
.ai-form .ai-section__lead {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	text-align: left;
}

.ai-form .ai-section__lead {
	margin-bottom: 22px;
	font-size: 15px;
	color: #9a948c;
}

.ai-form form,
.ai-form__notice {
	width: 100%;
	max-width: none;
}

.ai-films .ai-form p {
	margin: 0 0 8px;
}

.ai-films .ai-form input,
.ai-films .ai-form select {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 42px;
	max-width: none;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #e6dfd6;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: #1c1c1c;
	font-family: Lato, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 40px;
}

.ai-films .ai-form input::placeholder {
	color: #b7b1a8;
	opacity: 1;
}

.ai-films .ai-form select {
	color: #b7b1a8;
	-webkit-appearance: none;
	appearance: none;
	background-image: none;
}

.ai-films .ai-form select.is-chosen {
	color: #1c1c1c;
}

.ai-films .ai-form input:focus,
.ai-films .ai-form select:focus {
	outline: none;
	border-color: #cfc6bb;
}

.ai-films .ai-form__actions {
	margin-top: 14px;
	margin-bottom: 0;
}

.ai-films .ai-form button[type="submit"] {
	display: inline-block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 11px 18px;
	border: 0;
	border-radius: 0;
	background: #1c1c1c;
	color: #fff;
	font-family: Lato, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.ai-form__based {
	margin-top: 16px;
	color: #a8a39b;
	font-size: 12px;
	line-height: 1.5;
}

.ai-form__notice {
	padding: 12px 14px;
	background: #fff;
}

.ai-form__notice--ok {
	border-left: 3px solid #2f6b45;
}

.ai-form__notice--bad {
	border-left: 3px solid #8d3b32;
}

.ai-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.ai-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 100vh;
	height: 100svh;
	padding: 16px;
}

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

.ai-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 12, 12, 0.88);
}

.ai-lightbox__dialog {
	position: relative;
	z-index: 1;
	max-width: 96vw;
	max-height: 94vh;
}

.ai-lightbox__frame {
	background: #000;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ai-lightbox__frame[data-aspect="16:9"] {
	width: min(1040px, 92vw);
	aspect-ratio: 16 / 9;
}

.ai-lightbox__frame[data-aspect="9:16"] {
	width: min(calc(100vw - 32px), calc((100svh - 32px) * 9 / 16), 517px);
	aspect-ratio: 9 / 16;
	height: auto;
}

.ai-lightbox__frame[data-aspect="3:4"] {
	width: min(calc(100vw - 32px), calc((100svh - 32px) * 3 / 4), 690px);
	aspect-ratio: 3 / 4;
	height: auto;
}

.ai-lightbox__frame[data-aspect="1:1"] {
	width: min(720px, 90vw);
	aspect-ratio: 1 / 1;
}

.ai-lightbox__frame iframe,
.ai-lightbox__frame video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.ai-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	padding: 10px 14px;
	border: 0;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-family: Lato, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

@media (max-width: 1100px) {
	.ai-films-page .site-content .wrapper {
		padding-left: 28px;
		padding-right: 28px;
	}

	.ai-films h1 {
		font-size: 34px;
	}
}

@media (max-width: 900px) {
	.ai-films h1 {
		font-size: 32px;
	}

	.ai-films h2 {
		font-size: 28px;
	}

	.ai-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 14px;
	}
}

@media (max-width: 640px) {
	.ai-films-page .site-content .wrapper {
		padding-left: 16px;
		padding-right: 16px;
	}

	.ai-films {
		padding-top: 28px;
	}

	.ai-films h1 {
		font-size: 28px;
	}

	.ai-section {
		margin-top: 56px;
	}

	.ai-grid,
	.ai-grid--ads,
	.ai-grid--films,
	.ai-grid--stills {
		grid-template-columns: 1fr;
	}

}
