.certificate-video-page img,
.certificate-video-page video {
	max-width: 100%;
	height: auto;
}

.certificate-video-hero {
	overflow: hidden;
}

.certificate-video-hero__inner {
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.certificate-video-trust {
	display: grid;
	gap: 12px;
	margin-top: 26px;
}

.certificate-video-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(18, 48, 79, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 2px 0 rgba(18, 48, 79, 0.08), 0 8px 16px rgba(18, 48, 79, 0.04);
}

.certificate-video-trust__icon {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	padding: 9px;
	border-radius: 10px;
	background: rgba(47, 111, 237, 0.1);
	color: var(--primary);
	border: 1px solid rgba(47, 111, 237, 0.14);
	box-shadow: 0 2px 0 rgba(7, 29, 51, 0.18);
}

.certificate-video-trust strong,
.certificate-video-trust span {
	display: block;
}

.certificate-video-trust strong {
	margin: 0 0 3px;
	color: var(--text);
	font-size: 14px;
	line-height: 1.35;
}

.certificate-video-trust span {
	color: var(--text-soft);
	font-size: 12px;
	line-height: 1.65;
}

.certificate-video-hero-stack {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 0.72fr;
	grid-template-rows: repeat(6, minmax(0, 1fr));
	gap: 14px;
	width: min(100%, 640px);
	height: clamp(540px, 70vh, 620px);
	margin-left: auto;
}

.certificate-video-hero-stack__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(18, 48, 79, 0.12);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 3px 0 rgba(18, 48, 79, 0.22), 0 10px 18px rgba(18, 48, 79, 0.06);
}

.certificate-video-hero-stack__item:first-child {
	grid-row: 1 / -1;
}

.certificate-video-hero-stack__item:not(:first-child) {
	grid-row: span 3;
}

.certificate-video-hero-stack__item:nth-child(n + 4) {
	display: none;
}

.certificate-video-hero-stack__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.certificate-video-hero-stack__item figcaption {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	width: fit-content;
	max-width: calc(100% - 24px);
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--text);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	box-shadow: 0 8px 18px rgba(18, 48, 79, 0.12);
}

.certificate-video-stats .stats-bar__item {
	display: flex;
	min-height: 118px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 20px;
	text-align: center;
}

.certificate-video-stats .stats-bar__item strong {
	margin-bottom: 9px;
	font-size: clamp(28px, 3vw, 40px);
	letter-spacing: 0;
}

.certificate-video-stats .stats-bar__item span {
	max-width: 210px;
	margin: 0 auto;
	color: #49627f;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.certificate-video-proof-grid {
	margin-top: 34px;
}

.certificate-video-section-head {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.72fr);
	gap: 32px;
	align-items: end;
	margin-bottom: 26px;
}

.certificate-video-section-head .section-header__title {
	margin-bottom: 0;
}

.certificate-video-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.certificate-video-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid rgba(18, 48, 79, 0.12);
	border-radius: 999px;
	background: #ffffff;
	color: var(--text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 2px 0 rgba(18, 48, 79, 0.14), 0 8px 16px rgba(18, 48, 79, 0.05);
	cursor: pointer;
	transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.certificate-video-filter span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: rgba(47, 111, 237, 0.1);
	color: var(--primary);
	font-size: 11px;
}

.certificate-video-filter:hover,
.certificate-video-filter.is-active {
	transform: translateY(-1px);
	border-color: rgba(47, 111, 237, 0.34);
	background: var(--primary);
	color: #ffffff;
	box-shadow: 0 3px 0 rgba(18, 48, 79, 0.24), 0 12px 22px rgba(18, 48, 79, 0.1);
}

.certificate-video-filter:hover span,
.certificate-video-filter.is-active span {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.certificate-video-grid {
	column-count: 4;
	column-gap: 22px;
}

.making-video-card {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	width: 100%;
	margin: 0 0 22px;
	overflow: hidden;
	break-inside: avoid;
	border: 1px solid rgba(18, 48, 79, 0.12);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 3px 0 rgba(18, 48, 79, 0.22), 0 10px 18px rgba(18, 48, 79, 0.06);
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

.making-video-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 2;
	height: 4px;
	background: var(--primary);
}

.making-video-card:hover {
	transform: translateY(-2px);
	border-color: rgba(18, 48, 79, 0.16);
	box-shadow: 0 4px 0 rgba(18, 48, 79, 0.22), 0 16px 30px rgba(18, 48, 79, 0.1);
}

.making-video-card.is-hidden {
	display: none;
}

.making-video-card__media {
	position: relative;
	overflow: hidden;
	background: #0e1e33;
}

.making-video-card.is-vertical .making-video-card__media {
	aspect-ratio: 9 / 16;
}

.making-video-card.is-landscape .making-video-card__media {
	aspect-ratio: 16 / 9;
}

.making-video-card__poster,
.making-video-card__media video {
	display: block;
	width: 100%;
	height: 100%;
}

.making-video-card__poster {
	position: relative;
	padding: 0;
	border: 0;
	background: #0e1e33;
	cursor: pointer;
	overflow: hidden;
}

.making-video-card__poster img,
.making-video-card__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.making-video-card__poster img {
	display: block;
	transition: transform 0.22s ease, filter 0.22s ease;
}

.making-video-card:hover .making-video-card__poster img {
	transform: scale(1.035);
	filter: saturate(1.04);
}

.making-video-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--primary);
	box-shadow: 0 14px 32px rgba(10, 26, 50, 0.22);
	transform: translate(-50%, -50%);
}

.making-video-card__play-icon {
	transform: translateX(2px);
}

.making-video-card__watermark,
.making-video-card__duration {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}

.making-video-card__watermark {
	left: 12px;
	top: 12px;
	padding: 7px 9px;
	background: rgba(255, 255, 255, 0.82);
	color: rgba(18, 48, 79, 0.82);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.making-video-card__duration {
	right: 12px;
	bottom: 12px;
	padding: 7px 8px;
	background: rgba(10, 26, 50, 0.72);
	color: #ffffff;
}

.making-video-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 16px 16px 18px;
}

.making-video-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
	color: var(--primary);
	font-size: 10px;
	font-weight: 900;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.making-video-card h3 {
	margin: 0 0 8px;
	color: var(--text);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.38;
	letter-spacing: -0.01em;
}

.making-video-card p {
	margin: 0;
	color: var(--text-soft);
	font-size: 13px;
	line-height: 1.7;
}

.making-video-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 14px;
}

.making-video-card__tags span {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(47, 111, 237, 0.08);
	color: #24486f;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.certificate-video-feature-row {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.75fr);
	gap: 34px;
	align-items: start;
}

.certificate-video-checks {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 22px 24px;
	border: 1px solid rgba(18, 48, 79, 0.1);
	border-radius: 16px;
	background: #f6f9fd;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
	list-style: none;
}

.certificate-video-checks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--text-soft);
	font-size: 14px;
	line-height: 1.7;
}

.certificate-video-checks .check-list__icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--primary);
}

.making-video-card__media[data-loaded="true"]::after {
	content: "展示样片";
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 3;
	padding: 7px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	color: rgba(18, 48, 79, 0.82);
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	pointer-events: none;
}

@media (max-width: 1180px) {
	.certificate-video-grid {
		column-count: 3;
	}
}

@media (max-width: 1024px) {
	.certificate-video-hero__inner,
	.certificate-video-section-head,
	.certificate-video-feature-row {
		grid-template-columns: 1fr;
	}

	.certificate-video-hero-stack {
		width: 100%;
		height: min(620px, 78vh);
		margin-left: 0;
	}
}

@media (max-width: 760px) {
	.certificate-video-grid {
		column-count: 2;
		column-gap: 14px;
	}

	.making-video-card {
		margin-bottom: 14px;
	}

	.certificate-video-hero-stack {
		grid-template-columns: 1fr 1fr;
		height: auto;
		max-height: none;
	}

	.certificate-video-hero-stack__item:first-child {
		grid-column: span 2;
		grid-row: auto;
		aspect-ratio: 16 / 10;
	}

	.certificate-video-hero-stack__item:not(:first-child) {
		grid-row: auto;
		aspect-ratio: 1 / 1;
	}

	.certificate-video-filter {
		flex: 1 1 calc(50% - 10px);
		padding-inline: 12px;
	}
}

@media (max-width: 520px) {
	.certificate-video-hero .container {
		width: min(100% - 24px, 1180px);
	}

	.certificate-video-hero-stack {
		display: block;
	}

	.certificate-video-hero-stack__item:first-child {
		aspect-ratio: 4 / 3;
	}

	.certificate-video-hero-stack__item:not(:first-child) {
		display: none;
	}

	.certificate-video-grid {
		column-count: 1;
	}

	.certificate-video-filter {
		flex-basis: 100%;
		justify-content: space-between;
	}

	.making-video-card.is-vertical .making-video-card__media {
		aspect-ratio: 4 / 5;
	}
}
