/**
 * Nexza Showreel widget: label column + rounded video box.
 */

.nx-reel {
	display: grid;
	grid-template-columns: 16% 1fr;
	padding-top: var(--nx-section);
	padding-bottom: var(--nx-section);
}

.nx-reel--nolabel {
	grid-template-columns: 1fr;
}

.nx-reel-label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 8px;
}

.nx-reel-label span {
	font-size: 14px;
	color: var(--nx-muted-dark);
}

.nx-reel-label b {
	font-size: clamp(28px, 3vw, 48px);
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--nx-sand);
}

.nx-reel-box {
	position: relative;
	min-height: clamp(260px, 52vw, 800px);
	overflow: hidden;
	border: 1px solid rgba(251, 248, 244, .05);
	border-radius: 28px;
	background: var(--nx-placeholder);
	transform-origin: center top;
}

.nx-reel-poster,
.nx-reel-box iframe,
.nx-reel-box video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.nx-reel-box video {
	background: var(--nx-ink);
	object-fit: contain;
}

.nx-reel-play {
	position: absolute;
	left: 28px;
	top: 28px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 96px;
	height: 96px;
	border-radius: 20px;
	background: var(--nx-sand);
	color: var(--nx-ink);
	transition: transform .5s var(--nx-ease), background-color .3s;
}

.nx-reel-play:hover,
.nx-reel-play:focus-visible {
	background: var(--nx-copper);
	color: var(--nx-ink);
	transform: scale(1.08);
}

@media (max-width: 860px) {
	.nx-reel {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.nx-reel-label {
		flex-direction: row;
		align-items: baseline;
		gap: 12px;
		padding-top: 0;
	}

	.nx-reel-box {
		min-height: 0;
		aspect-ratio: 16 / 9;
		border-radius: 20px;
	}

	.nx-reel-play {
		left: 16px;
		top: 16px;
		width: 72px;
		height: 72px;
		border-radius: 16px;
	}
}
