/**
 * TechBBQ Recap Video — full-bleed poster with left-aligned copy and watch CTA.
 *
 * Figma refs in widget PHP (1440).
 * Full-bleed section — no Elementor container padding.
 *
 * Breakpoints (mobile-first): 0–767 (base), 768–1023, 1024–1439, 1440+.
 */

.techbbq-recap-video {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 375px;
	overflow: hidden;
	color: var(--techbbq-content-primary);
	background-color: var(--techbbq-bg-surface);
}

.techbbq-recap-video:not(.techbbq-recap-video--playing) {
	cursor: pointer;
}

.techbbq-recap-video__cover-trigger {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 0;
	border: 0;
	margin: 0;
	color: inherit;
	background: transparent;
	cursor: pointer;
}

.techbbq-recap-video__cover-trigger::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(13, 13, 13, 0);
	transition: background-color 0.2s ease;
	pointer-events: none;
}

/* Beat Hello reset.css [type=button]:hover / button:hover (#c36). */
[type="button"].techbbq-recap-video__cover-trigger:hover,
[type="button"].techbbq-recap-video__cover-trigger:focus,
button.techbbq-recap-video__cover-trigger:hover,
button.techbbq-recap-video__cover-trigger:focus {
	background-color: transparent;
	border-color: transparent;
	color: inherit;
}

.techbbq-recap-video__cover-trigger:hover::after {
	background-color: rgba(13, 13, 13, 0.12);
}

.techbbq-recap-video__cover-trigger:focus-visible {
	outline: 2px solid var(--techbbq-content-primary);
	outline-offset: -4px;
}

.techbbq-recap-video--playing .techbbq-recap-video__cover-trigger {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.techbbq-recap-video:not(.techbbq-recap-video--playing) .techbbq-recap-video__player .plyr {
	pointer-events: none;
}

.techbbq-recap-video:not(.techbbq-recap-video--playing) .techbbq-recap-video__inner {
	pointer-events: none;
}

.techbbq-recap-video:not(.techbbq-recap-video--playing) .techbbq-recap-video__play {
	pointer-events: auto;
}

.techbbq-recap-video__backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.techbbq-recap-video__poster-picture,
.techbbq-recap-video__poster-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.techbbq-recap-video__fade {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	max-width: 716px;
	background: linear-gradient(
		269.4deg,
		rgba(17, 17, 17, 0) 0.57%,
		rgba(17, 17, 17, 0.8) 99.43%
	);
}

.techbbq-recap-video__player {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.techbbq-recap-video__player .plyr {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	--plyr-color-main: var(--techbbq-content-primary);
	--plyr-video-background: var(--techbbq-bg-main);
	--plyr-menu-background: rgba(13, 13, 13, 0.92);
	--plyr-menu-color: var(--techbbq-content-primary);
}

.techbbq-recap-video__player .plyr__video-wrapper {
	height: 100%;
}

.techbbq-recap-video__player .plyr__control--overlaid {
	display: none;
}

.techbbq-recap-video__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.techbbq-recap-video__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.techbbq-recap-video--playing .techbbq-recap-video__player {
	z-index: 3;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.techbbq-recap-video--playing .techbbq-recap-video__backdrop,
.techbbq-recap-video--playing .techbbq-recap-video__inner {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.techbbq-recap-video__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: inherit;
	padding-top: var(--techbbq-section-space-medium);
	padding-bottom: var(--techbbq-section-space-medium);
}

.techbbq-recap-video__header {
	flex-shrink: 0;
}

.techbbq-recap-video__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--techbbq-space-2);
	justify-content: center;
	align-items: flex-start;
	max-width: 480px;
}

.techbbq-recap-video__title {
	margin: 0;
	font-family: var(--techbbq-font-family-heading);
	font-size: 36px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.36px;
}

.techbbq-recap-video__play {
	display: inline-flex;
	gap: var(--techbbq-space-2);
	align-items: center;
	padding: 12px 0;
	border: 0;
	color: inherit;
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-s-size);
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.01em;
	background: transparent;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Beat Hello reset.css [type=button]:hover / button:hover (#c36). */
[type="button"].techbbq-recap-video__play:hover,
[type="button"].techbbq-recap-video__play:focus,
button.techbbq-recap-video__play:hover,
button.techbbq-recap-video__play:focus {
	background-color: transparent;
	border-color: transparent;
	color: inherit;
}

.techbbq-recap-video__play:hover {
	opacity: 0.75;
	transform: translateX(2px);
}

.techbbq-recap-video__play:hover .techbbq-recap-video__play-label {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.techbbq-recap-video__play:focus-visible {
	outline: 2px solid var(--techbbq-content-primary);
	outline-offset: 2px;
}

.techbbq-recap-video__play-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.techbbq-recap-video__play-label {
	white-space: nowrap;
}

/* ── Tablet (768–1023) ──────────────────────────────────────── */
@media (min-width: 768px) {
	.techbbq-recap-video {
		min-height: 426px;
	}

	.techbbq-recap-video__title {
		font-size: 48px;
		letter-spacing: -0.48px;
	}

	.techbbq-recap-video__play {
		font-size: 25px;
	}

	.techbbq-recap-video__play-icon {
		width: 26px;
		height: 26px;
	}
}

/* ── Desktop (1024–1439) ──────────────────────────────────────── */
@media (min-width: 1024px) {
	.techbbq-recap-video {
		min-height: 568px;
	}
}

/* ── Wide screen (1440+) ──────────────────────────────────────── */
@media (min-width: 1440px) {
	.techbbq-recap-video {
		min-height: 800px;
	}

	.techbbq-recap-video__title {
		font-size: 60px;
		letter-spacing: -0.6px;
	}
}
