/* AOC home video module: responsive YouTube embeds and vertical feature clips. */
.aoc-review-feature {
	min-height: 0;
	align-items: stretch;
}

.aoc-video-frame--featured {
	min-height: 0;
	aspect-ratio: 16 / 9;
}

.aoc-video-frame--featured::after,
.aoc-video-frame--embed::after {
	display: none;
}

.aoc-video-frame iframe,
.aoc-short-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.aoc-video-facade-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #050b15;
}

.aoc-video-facade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	color: #fff;
	background: #050b15;
	cursor: pointer;
}

.aoc-video-facade::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(2, 12, 28, .03) 35%, rgba(2, 12, 28, .48) 100%);
	transition: background-color .2s ease;
}

.aoc-video-facade:hover::after,
.aoc-video-facade:focus-visible::after {
	background-color: rgba(7, 89, 223, .12);
}

.aoc-video-facade:focus-visible {
	outline: 3px solid #79adff;
	outline-offset: -4px;
}

.aoc-video-facade img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.aoc-video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	width: 68px;
	height: 68px;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 50%;
	background: rgba(7, 89, 223, .9);
	box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
	transform: translate(-50%, -50%);
	transition: transform .2s ease, background-color .2s ease;
}

.aoc-video-play::after {
	content: "";
	position: absolute;
	left: 27px;
	top: 21px;
	border-top: 13px solid transparent;
	border-bottom: 13px solid transparent;
	border-left: 19px solid #fff;
}

.aoc-video-facade:hover .aoc-video-play,
.aoc-video-facade:focus-visible .aoc-video-play {
	background: #0759df;
	transform: translate(-50%, -50%) scale(1.07);
}

.aoc-video-external {
	position: absolute;
	left: 14px;
	bottom: 13px;
	z-index: 4;
	padding: 7px 10px;
	border: 1px solid rgba(255, 255, 255, .46);
	border-radius: 999px;
	color: #fff;
	background: rgba(3, 14, 31, .72);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-decoration: none;
	backdrop-filter: blur(8px);
}

.aoc-video-external:hover,
.aoc-video-external:focus-visible {
	color: #fff;
	background: #0759df;
}

.aoc-video-frame__badge {
	position: absolute;
	right: 22px;
	bottom: 20px;
	z-index: 2;
	max-width: calc(100% - 44px);
	padding: 11px 14px;
	display: grid;
	gap: 3px;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 12px;
	color: #fff;
	background: rgba(4, 16, 36, .76);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
	backdrop-filter: blur(10px);
	pointer-events: none;
}

.aoc-video-frame__badge small,
.aoc-video-frame__badge strong {
	margin: 0;
	display: block;
}

.aoc-video-frame__badge small {
	color: #9ac4ff;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .12em;
}

.aoc-video-frame__badge strong {
	font-size: 14px;
}

.aoc-video-card {
	overflow: hidden;
}

.aoc-video-card__copy {
	padding: 20px 18px 16px;
}

.aoc-video-card__copy small,
.aoc-short-video-card small {
	display: block;
	margin-bottom: 7px;
	color: var(--aoc-blue);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .13em;
}

.aoc-video-card__copy strong {
	display: block;
	color: var(--aoc-ink);
	font-size: 18px;
	line-height: 1.3;
}

.aoc-video-card__copy p {
	margin: 8px 0 0;
	color: var(--aoc-muted);
	font-size: 13px;
	line-height: 1.65;
}

.aoc-short-video-section {
	padding-top: 76px;
}

.aoc-short-video-section__heading {
	align-items: center;
}

.aoc-short-video-section__heading > p {
	max-width: 490px;
	margin: 0;
	color: var(--aoc-muted);
	font-size: 14px;
	line-height: 1.65;
}

.aoc-short-video-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.aoc-short-video-card {
	min-width: 0;
	padding: 14px;
	display: grid;
	grid-template-columns: minmax(220px, .78fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	border: 1px solid var(--aoc-line);
	border-radius: 22px;
	background: linear-gradient(145deg, #fff 0%, #f7f9fd 100%);
	box-shadow: 0 14px 38px rgba(18, 45, 86, .08);
}

.aoc-short-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 16px;
	background: #050b15;
}

.aoc-short-video-card > div:last-child {
	padding-right: 14px;
}

.aoc-short-video-card h3 {
	margin: 0;
	color: var(--aoc-ink);
	font-size: clamp(24px, 2vw, 34px);
	line-height: 1.05;
	letter-spacing: -.035em;
}

.aoc-short-video-card p {
	margin: 16px 0 0;
	color: var(--aoc-muted);
	font-size: 13px;
	line-height: 1.7;
}

@media (max-width: 1100px) {
	.aoc-short-video-card {
		grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr);
		gap: 20px;
	}
}

@media (max-width: 820px) {
	.aoc-review-feature {
		display: block;
	}

	.aoc-short-video-section {
		padding-top: 60px;
	}

	.aoc-short-video-section__heading {
		align-items: flex-start;
	}

	.aoc-short-video-section__heading > p {
		max-width: none;
	}

	.aoc-short-video-grid {
		grid-template-columns: 1fr;
	}

	.aoc-short-video-card {
		grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	}
}

@media (max-width: 560px) {
	.aoc-video-play {
		width: 58px;
		height: 58px;
	}

	.aoc-video-play::after {
		left: 23px;
		top: 18px;
		border-top-width: 11px;
		border-bottom-width: 11px;
		border-left-width: 17px;
	}

	.aoc-video-frame__badge {
		right: 12px;
		bottom: 12px;
		max-width: calc(100% - 24px);
	}

	.aoc-short-video-card {
		display: block;
	}

	.aoc-short-video-frame {
		max-width: 320px;
		margin-inline: auto;
	}

	.aoc-short-video-card > div:last-child {
		padding: 24px 10px 12px;
	}
}
