/*
 * SHOTZ single project – v1.3 (26/11/2026)
 * Used by single-project.php (child theme). Mirrors the Work page (2727) hero.
 * Content max. 1400 px centred, full width below that (like all Elementor sections).
 * Site breakpoints: tablet max 1150 px, mobile max 700 px.
 * Measured on Work: hero 425 / 290 px, title 75.2 / 56 / 48 px,
 * text 24/36, 17.6/21.12, 16/19.2 px. Text inset = 10 % of a half column
 * (= 5 % of the content width), mobile 35 px. Title inset 22 / 23 / 20 px.
 */

.shotz-project {
	--shotz-hero-bg: #DFE0D6;
	display: block;
	width: min(100%, 1400px);
	max-width: none;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	color: #000;
}

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

/* Hero: title left, description right */
.shotz-project__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 425px;
	background: var(--shotz-hero-bg);
}

.shotz-project__hero-title {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 110px 0 0 22px;
}

.shotz-project__icon {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	line-height: 0;
}

.shotz-project__icon svg {
	width: 100%;
	height: auto;
}

.shotz-project .shotz-project__title {
	margin: 0 0 -8px;
	padding: 0;
	font-family: "Brown LL Complete", sans-serif;
	font-weight: 100;
	font-size: 75.2px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: uppercase;
	color: #fff;
	overflow-wrap: break-word;
}

.shotz-project__hero-text {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 110px 10% 28px;
}

/* Body text style: description and credits */
.shotz-project .shotz-project__description,
.shotz-project .shotz-project__credits {
	margin: 0;
	padding: 0;
	font-family: "Brown LL Complete", sans-serif;
	font-weight: 100;
	font-size: 1.5rem;
	line-height: 1.5;
	letter-spacing: -0.7px;
	color: #000;
}

.shotz-project .shotz-project__description p {
	margin: 0 0 0.6em;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
}

.shotz-project .shotz-project__description p:last-child {
	margin-bottom: 0;
}

.shotz-project .shotz-project__description a {
	color: inherit;
}

/* Media: video or featured image, content width.
   .shotz-project__video alone = the browser's own player (before the player script runs, or without JavaScript). */
.shotz-project__media {
	line-height: 0;
	background: #000;
}

.shotz-project__video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	object-fit: contain;
	background: #000;
}

.shotz-project__image {
	display: block;
	width: 100%;
	height: auto;
}

/*
 * Video player: MediaElement.js (WordPress core), styled like the players on Work.
 * Measured on Work (tile 700 px wide): control bar transparent, padding 0 5% 1%,
 * play button 44 x 46 px with a 16 px icon, time 14/21 px Helvetica, progress line
 * 2 px (62 % / 100 % of #FAF9F8) with 2 % margin, volume icon 18 px (mute toggle
 * only), fullscreen icon 15 px, no large play button in the middle.
 * Before the first start only the small play triangle (22 px) is shown, like on the tiles.
 * Icons: Font Awesome Free 6 (CC BY 4.0), the same icons the players on Work use.
 */
.shotz-project__media .mejs-container {
	min-width: 0;
	background: #000;
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1;
}

/* 16:9 box; overrides the pixel sizes MediaElement writes inline (not in fullscreen) */
.shotz-project__media .mejs-container:not(.mejs-container-fullscreen) {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
}

.shotz-project__media .mejs-container mediaelementwrapper {
	display: block;
	width: 100%;
	height: 100%;
}

.shotz-project__media .mejs-container .shotz-project__video {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto;
}

/* Picture fills the 16:9 box like on Work; in fullscreen the whole picture is shown */
.shotz-project__media .mejs-container:not(.mejs-container-fullscreen) .shotz-project__video {
	object-fit: cover;
}

/* No large play button; a click on the picture still starts and pauses the video */
.shotz-project__media .mejs-container .mejs-overlay-button {
	display: none !important;
}

.shotz-project__media .mejs-container .mejs-overlay-play {
	cursor: pointer;
}

/* No loading wheel, like on Work */
.shotz-project__media .mejs-container .mejs-overlay-loading {
	display: none;
}

/* Before the first start: small play triangle at the position of the play button, no control bar */
.shotz-project__media:not(.is-started) .mejs-container::after {
	content: "";
	position: absolute;
	z-index: 4;
	left: calc(5% + 11px);
	bottom: calc(1.7778% + 13px); /* 1.7778 % of the height = 1 % of the width at 16:9 */
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23FAF9F8' d='M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z'/%3E%3C/svg%3E") no-repeat center / contain;
	pointer-events: none;
}

.shotz-project__media:not(.is-started) .mejs-container .mejs-controls {
	visibility: hidden;
}

/* Control bar */
.shotz-project__media .mejs-container .mejs-controls {
	height: auto;
	padding: 0 5% 1%;
	align-items: center;
	background: none;
}

.shotz-project__media .mejs-container .mejs-button {
	width: auto;
	height: auto;
	margin: 0;
	line-height: 0;
}

.shotz-project__media .mejs-container .mejs-button > button {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 46px;
	margin: 0;
	padding: 14px;
	overflow: visible;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #FAF9F8;
	cursor: pointer;
	transition: none; /* the theme animates all button properties */
}

.shotz-project__media .mejs-container .mejs-button > button::before {
	content: "";
	display: block;
	flex: none;
	width: 16px;
	height: 16px;
	background: #FAF9F8;
	-webkit-mask: no-repeat center / contain;
	mask: no-repeat center / contain;
}

/* Hover colour of the play/pause and sound icons, like on Work */
.shotz-project__media .mejs-container .mejs-playpause-button > button:hover::before,
.shotz-project__media .mejs-container .mejs-volume-button > button:hover::before {
	background: #DFE0D6;
}

.shotz-project__media .mejs-container .mejs-play > button::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z'/%3E%3C/svg%3E");
}

.shotz-project__media .mejs-container .mejs-pause > button::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z'/%3E%3C/svg%3E");
}

.shotz-project__media .mejs-container .mejs-replay > button::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M205 34.8c11.5 5.1 19 16.6 19 29.2l0 64 112 0c97.2 0 176 78.8 176 176c0 113.3-81.5 163.9-100.2 174.1c-2.5 1.4-5.3 1.9-8.1 1.9c-10.9 0-19.7-8.9-19.7-19.7c0-7.5 4.3-14.4 9.8-19.5c9.4-8.8 22.2-26.4 22.2-56.7c0-53-43-96-96-96l-96 0 0 64c0 12.6-7.4 24.1-19 29.2s-25 3-34.4-5.4l-160-144C3.9 225.7 0 217.1 0 208s3.9-17.7 10.6-23.8l160-144c9.4-8.5 22.9-10.6 34.4-5.4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M205 34.8c11.5 5.1 19 16.6 19 29.2l0 64 112 0c97.2 0 176 78.8 176 176c0 113.3-81.5 163.9-100.2 174.1c-2.5 1.4-5.3 1.9-8.1 1.9c-10.9 0-19.7-8.9-19.7-19.7c0-7.5 4.3-14.4 9.8-19.5c9.4-8.8 22.2-26.4 22.2-56.7c0-53-43-96-96-96l-96 0 0 64c0 12.6-7.4 24.1-19 29.2s-25 3-34.4-5.4l-160-144C3.9 225.7 0 217.1 0 208s3.9-17.7 10.6-23.8l160-144c9.4-8.5 22.9-10.6 34.4-5.4z'/%3E%3C/svg%3E");
}

.shotz-project__media .mejs-container .mejs-volume-button {
	margin-left: 10px;
}

.shotz-project__media .mejs-container .mejs-volume-button > button {
	width: 24px;
	height: 26px;
	padding: 3px;
}

.shotz-project__media .mejs-container .mejs-volume-button > button::before {
	width: 18px;
	height: 18px;
}

.shotz-project__media .mejs-container .mejs-mute > button::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M533.6 32.5C598.5 85.2 640 165.8 640 256s-41.5 170.7-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64l0 384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352 64 352c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l67.8 0L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M533.6 32.5C598.5 85.2 640 165.8 640 256s-41.5 170.7-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64l0 384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352 64 352c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l67.8 0L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z'/%3E%3C/svg%3E");
}

.shotz-project__media .mejs-container .mejs-unmute > button::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M301.1 34.8C312.6 40 320 51.4 320 64l0 384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352 64 352c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l67.8 0L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3zM425 167l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M301.1 34.8C312.6 40 320 51.4 320 64l0 384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352 64 352c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l67.8 0L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3zM425 167l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0z'/%3E%3C/svg%3E");
}

/* Volume button only switches the sound on and off, like on Work */
.shotz-project__media .mejs-container .mejs-volume-slider,
.shotz-project__media .mejs-container .mejs-horizontal-volume-slider {
	display: none !important;
}

.shotz-project__media .mejs-container .mejs-fullscreen-button {
	margin-left: 17px;
}

.shotz-project__media .mejs-container .mejs-fullscreen-button > button {
	width: 15px;
	height: 15px;
	padding: 0;
}

.shotz-project__media .mejs-container .mejs-fullscreen-button > button::before {
	width: 15px;
	height: 15px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M0 .625h4.375v1.75H1.75V5H0zM7.875 .625h4.375V5H10.5V2.375H7.875zM12.25 8.5v4.375H7.875v-1.75H10.5V8.5zM0 8.5h1.75v2.625h2.625v1.75H0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M0 .625h4.375v1.75H1.75V5H0zM7.875 .625h4.375V5H10.5V2.375H7.875zM12.25 8.5v4.375H7.875v-1.75H10.5V8.5zM0 8.5h1.75v2.625h2.625v1.75H0z'/%3E%3C/svg%3E");
}

/* Time and progress line */
.shotz-project__media .mejs-container .mejs-time {
	box-sizing: border-box;
	width: auto;
	height: auto;
	padding: 0;
	overflow: visible;
	color: #FAF9F8;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	text-align: center;
}

.shotz-project__media .mejs-container .mejs-time-rail {
	height: 2px;
	margin: 0 2%;
	padding: 0;
}

.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-total,
.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-buffering,
.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-loaded,
.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-current,
.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-hovered {
	height: 2px;
	margin: 0;
	border-radius: 0;
}

.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-total {
	background: rgba(250, 249, 248, 0.62);
}

/* Larger click area for the thin line (invisible) */
.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-total::before {
	content: "";
	position: absolute;
	top: -14px;
	right: 0;
	bottom: -14px;
	left: 0;
}

.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-current {
	background: #FAF9F8;
}

.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-loaded,
.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-hovered,
.shotz-project__media .mejs-container .mejs-time-rail .mejs-time-handle {
	display: none;
}

.shotz-project__media .mejs-container .mejs-time-float {
	display: none !important;
}

/* Credits below the media: 2/3 of the media width, text on the site text line */
.shotz-project__credits-wrap {
	max-width: calc(100% * 2 / 3);
	padding: 50px 0 0 5%;
}

/* Tab stop for the values: width of "PRODUCTION CO." (8.83em) + a reserve of 10 letters (6.7em) */
.shotz-project .shotz-project__credits {
	--shotz-credit-tab: 15.5em;
}

.shotz-project__credit {
	display: grid;
	grid-template-columns: var(--shotz-credit-tab) minmax(0, 1fr);
	column-gap: 0.75em;
}

.shotz-project .shotz-project__credit dt,
.shotz-project .shotz-project__credit dd {
	margin: 0;
	padding: 0;
	font: inherit;
	letter-spacing: inherit;
}

.shotz-project .shotz-project__credit dt {
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.shotz-project .shotz-project__credit dd {
	font-weight: 100;
}

/* Tablet */
@media (max-width: 1150px) {
	.shotz-project__hero {
		min-height: 290px;
	}

	.shotz-project__hero-title {
		padding: 90px 0 0 23px;
	}

	.shotz-project__icon {
		top: 12px;
		right: 26px;
		width: 35px;
	}

	.shotz-project .shotz-project__title {
		font-size: 56px;
		margin-bottom: -6px;
	}

	.shotz-project__hero-text {
		padding: 90px 10% 37px;
	}

	.shotz-project .shotz-project__description,
	.shotz-project .shotz-project__credits {
		font-size: 1.1rem;
		line-height: 1.2;
	}

	.shotz-project__credits-wrap {
		padding: 40px 0 0 5%;
	}
}

/* Mobile */
@media (max-width: 700px) {
	.shotz-project__hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.shotz-project__hero-title {
		min-height: 164px;
		padding: 100px 20px 0;
	}

	.shotz-project__icon {
		display: none;
	}

	.shotz-project__hero--no-text .shotz-project__hero-text {
		display: none;
	}

	.shotz-project .shotz-project__title {
		font-size: 48px;
		margin-bottom: -4px;
	}

	.shotz-project__hero-text {
		padding: 40px 35px 30px;
	}

	.shotz-project .shotz-project__description,
	.shotz-project .shotz-project__credits {
		font-size: 1rem;
		line-height: 1.2;
	}

	/* Narrow screens: tab stop at the longest label, without the reserve */
	.shotz-project .shotz-project__credits {
		--shotz-credit-tab: 9.2em;
	}

	.shotz-project__credits-wrap {
		max-width: none;
		padding: 35px 35px 0;
	}
}
/* ---------------------------------------------------------------------------
 * v1.4 (27/11/2026)
 * Add at the END of shotz-single-project.css (nothing else changes).
 * ------------------------------------------------------------------------- */

/* Credit labels (Client, Agency, Production Co., Director, Location,
   SHOTZ Services) in the colour of the footer menu headings
   (SERVICES, COMPANY, FILMING IN): Elementor global colour "Secondary" #A2A093. */
.shotz-project .shotz-project__credit dt {
	color: var(--e-global-color-secondary, #A2A093);
}

/* City links in the "Location" credit. Same look as the links on the
   landing pages: black like the text, never underlined,
   hover = colour change (#A2A093, --lp-hover there). */
.shotz-project .shotz-project__credit dd a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.shotz-project .shotz-project__credit dd a:hover,
.shotz-project .shotz-project__credit dd a:focus-visible {
	color: #A2A093;
	text-decoration: none;
}
