/*=====================================================*
* Bridgerton Feature Section
*=====================================================*/

.screen-feature-section {
	--bf-dark: #171513;
	--bf-text: #625b54;
	--bf-copper: #b97843;
	--bf-copper-dark: #95592f;
	--bf-border: #e7dbd0;
	--bf-bg: #fbf7f2;

}

.screen-feature-section .container {
	width: min(1440px, calc(100% - 48px));
	margin: 0 auto;
}


/*=====================================================*
* Main Layout
*=====================================================*/

.screen-feature-layout {
	display: grid;

	grid-template-columns:
		minmax(0, 1.15fr)
		minmax(340px, 0.85fr);

	align-items: center;

	gap: clamp(48px, 5vw, 80px);

	padding: clamp(42px, 5vw, 42px);

	/*border: 1px solid var(--bf-border);*/
	border-radius: 24px;

	background: #fff;

	/*box-shadow: 0 22px 55px rgba(77, 47, 27, 0.08);*/
}


/*=====================================================*
* Video / Media
*=====================================================*/

.screen-feature-media {
	position: relative;

	border-radius: 5px;

	overflow: hidden;

	cursor: pointer;

	box-shadow:
		0 18px 42px rgba(0, 0, 0, 0.18);

	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease;
}

.screen-feature-media:hover {
	transform: translateY(-4px);

	box-shadow:
		0 26px 60px rgba(0, 0, 0, 0.24);
}

.trailer-thumbnail {
	position: relative;

	width: 100%;

	aspect-ratio: 16 / 9;

	overflow: hidden;

	background: #111;
}

.trailer-thumbnail img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transform: scale(1.7);

	transition:
		transform 0.45s ease;
}

.screen-feature-media:hover
.trailer-thumbnail img {
	transform: scale(1.5);
}


/* Dark cinematic overlay */

.trailer-thumbnail::after {
	content: "";

	position: absolute;
	inset: 0;

	background:
		linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.05),
			rgba(0, 0, 0, 0.18)
		);

	pointer-events: none;
}


/*=====================================================
YouTube Play Overlay
=====================================================*/
.yt-play-overlay {
	position: absolute;
	inset: 0;
	z-index: 3;

	display: flex;
	align-items: center;
	justify-content: center;

	pointer-events: none;
}

.yt-play-overlay svg {
	display: block;

	width: 68px;
	height: 48px;

	flex: 0 0 auto;
	max-width: none;

	filter:
		drop-shadow(
			0 4px 10px rgba(0, 0, 0, 0.35)
		);

	transition:
		transform 0.3s ease,
		filter 0.3s ease;
}

.screen-feature-media:hover .yt-play-overlay svg {
	transform: scale(1.08);

	filter:
		drop-shadow(
			0 6px 14px rgba(0, 0, 0, 0.45)
		);
}

/*=====================================================*
* Content
*=====================================================*/

.screen-feature-content {
	min-width: 0;

	max-width: 560px;
}

.screen-feature-eyebrow {
	display: inline-block;

	margin-bottom: 16px;

	color: var(--bf-copper);

	font-size: .85rem;
    font-weight: 500;
    letter-spacing: 2px;

	text-transform: uppercase;
}

.screen-feature-content h2 {
	margin: 0;

	color: var(--bf-dark);

	font-size: clamp(38px, 4.5vw, 50px);
    font-weight: 700;
	line-height: 1.02;

	letter-spacing: -0.035em;
}

.screen-feature-content p {
	margin: 24px 0 0;

	color: var(--bf-text);

	font-size: clamp(16px, 1.2vw, 18px);
	line-height: 1.75;
}



/*=====================================================
WATCH THE FEATURE - EDITORIAL TEXT LINK
=====================================================*/

.screen-feature-watch {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 30px;
    padding: 0 0 8px 0;

    background: transparent !important;
    border: none;
    border-bottom: 2px solid rgba(139, 83, 53, 0.25);
    border-radius: 0;

    color: #805039 !important;

    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;

    box-shadow: none !important;
    cursor: pointer;

    transition: color 0.25s ease, border-color 0.25s ease;
}

/* Arrow */

.screen-feature-watch span[aria-hidden="true"] {
    display: inline-block;
    font-size: 25px;
    line-height: 1;
    transition: transform 0.25s ease;
}

/* Hover */

.screen-feature-watch:hover {
    background: transparent !important;
    color: #a66b46 !important;
    border-bottom-color: #a66b46;
    box-shadow: none !important;
}

.screen-feature-watch:hover span[aria-hidden="true"] {
    transform: translateX(5px);
}



/*=====================================================*
* Modal
*=====================================================*/

.trailer-modal {
	position: fixed;
	z-index: 99999;

	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 24px;

	background: rgba(0, 0, 0, 0.75);

	opacity: 0;
	visibility: hidden;

	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

.trailer-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.trailer-modal-content {
	position: relative;

	width: min(1200px, 100%);

	background: #000;

	border-radius: 16px;

	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.5);

	transform: scale(0.97);

	transition:
		transform 0.25s ease;
}

.trailer-modal.is-open
.trailer-modal-content {
	transform: scale(1);
}


/*=====================================================*
* Modal Close
*=====================================================*/

.trailer-close {
	position: absolute;
	z-index: 5;

	top: -16px;
	right: -16px;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 42px;
	height: 42px;

	border: 0;
	border-radius: 50%;

	background: var(--bf-copper);
	color: #fff;

	font-size: 26px;
	line-height: 1;

	cursor: pointer;

	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.3);
}

.trailer-close:hover {
	background: var(--bf-copper-dark);
}


/*=====================================================*
* Responsive Video
*=====================================================*/

.trailer-video-wrapper {
	position: relative;

	width: 100%;

	aspect-ratio: 16 / 8;

	overflow: hidden;

	border-radius: 16px;
}

.trailer-video-wrapper iframe {
	position: absolute;

	inset: 0;

	width: 100%;
	height: 100%;

	border: 0;
}


/*=====================================================*
* Body Lock
*=====================================================*/

body.trailer-modal-open {
	overflow: hidden;
}


.trailer-thumbnail,
.screen-feature-media,
.screen-feature-layout,
.screen-feature-section {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}



/*=====================================================*
* Tablet
*=====================================================*/

@media (max-width: 1024px) {

	.screen-feature-layout {
		grid-template-columns:
			minmax(0, 1fr)
			minmax(300px, 0.9fr);

		gap: 36px;

		padding: 36px;
	}

	.screen-feature-content h2 {
		font-size: clamp(36px, 5vw, 48px);
	}

}


/*=====================================================*
* Mobile
*=====================================================*/

@media (max-width: 767px) {

	.screen-feature-section {
		padding: 50px 0;
	}

	.screen-feature-section .container {
		width: calc(100% - 28px);
	}

	.screen-feature-layout {
		grid-template-columns: 1fr;

		gap: 28px;

		padding: 20px;

		border-radius: 18px;
	}

	.screen-feature-content {
		max-width: none;
	}

	.screen-feature-content h2 {
		font-size: clamp(34px, 9vw, 44px);
	}

	.screen-feature-content p {
		margin-top: 18px;

		font-size: 16px;
		line-height: 1.65;
	}

	.screen-feature-watch {
		margin-top: 24px;
	}

	.trailer-close {
		top: -12px;
		right: -6px;
	}

	.trailer-thumbnail {
		width: 100%;
		max-width: 100%;
	}

	.screen-feature-media {
		width: 100%;
		max-width: 100%;
	}

}



/*=====================================================*
* End Bridgerton Feature Section
*=====================================================*/