/**
 * Video Center — shared page styles (list + detail)
 * Loads after style.css. Scope: .vc-* prefix to avoid theme collisions.
 * Brand: #b81c22 · Fonts: Poppins / Hind (same as new_list / shop)
 */
.vc-hero {
	background: linear-gradient(135deg, #8b1519 0%, #b81c22 100%);
	padding: 56px 0 40px;
	color: #fff;
}
.vc-hero h1 {
	font-size: 44px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #fff;
	text-align: center;
	line-height: 1.2;
}
.vc-hero .vc-hero-lead {
	font-size: 18px;
	opacity: 0.92;
	max-width: 720px;
	margin: 0 auto 22px;
	line-height: 1.65;
	color: #fff;
	text-align: center;
}
.vc-hero .vc-stats {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.vc-hero .vc-stats li {
	text-align: center;
	color: #fff;
}
.vc-hero .vc-stats .num {
	display: block;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}
.vc-hero .vc-stats .lb {
	display: block;
	font-size: 12px;
	opacity: 0.85;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-top: 2px;
}

.vc-breadcrumb { background: #fafafa; border-bottom: 1px solid #eee; }
.vc-section { padding: 36px 0 48px; }

/* ---- Filter chips ---- */
.vc-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}
.vc-filters button,
.vc-filters a.chip {
	appearance: none;
	border: 1px solid #e8e0e0;
	background: #fff;
	color: #555;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	padding: 10px 18px;
	border-radius: 20px;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
	text-decoration: none;
	display: inline-block;
}
.vc-filters button:hover,
.vc-filters a.chip:hover {
	border-color: #b81c22;
	color: #b81c22;
}
.vc-filters .is-active,
.vc-filters button[aria-pressed="true"] {
	background: #b81c22;
	border-color: #b81c22;
	color: #fff;
}

/* ---- Featured card ---- */
.vc-featured {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	background: #fff;
	border: 1px solid #e8e0e0;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 32px;
	align-items: center;
}
.vc-featured .vc-thumb {
	flex: 1 1 320px;
	min-width: 260px;
	max-width: 560px;
}
.vc-featured .vc-featured-body {
	flex: 1 1 280px;
	min-width: 240px;
}

/* ---- Thumb / facade ---- */
.vc-thumb {
	position: relative;
	display: block; /* span 也要能建立 containing block */
	aspect-ratio: 16 / 9;
	background: #292524;
	border-radius: 8px;
	overflow: hidden;
}
.vc-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	/* 建立定位层级：img 画在不透明 fallback 渐变之上、角标/播放键(z-index>=1)之下 */
	position: relative;
	z-index: 1;
}
.vc-thumb .vc-thumb-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #3f3a36 0%, #1c1917 100%);
}
.vc-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #b81c22;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 3px;
	z-index: 1;
}
.vc-duration {
	position: absolute;
	right: 10px;
	bottom: 10px;
	background: rgba(28, 25, 23, 0.9);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	z-index: 1;
}
/* 居中：inset:0 + margin:auto，不依赖 translate，避免 hover scale / 异步图片导致漂移 */
.vc-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background: #b81c22;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
	transition: transform 0.18s, background 0.18s;
	transform: none;
	transform-origin: center center;
	padding: 0;
	z-index: 2;
	text-decoration: none;
}
.vc-play:hover,
.vc-play:focus-visible {
	background: #8b1519;
	transform: scale(1.06);
	outline: none;
}
.vc-play:focus-visible {
	box-shadow: 0 0 0 3px rgba(184, 28, 34, 0.35), 0 4px 18px rgba(0, 0, 0, 0.28);
}
.vc-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; display: block; }
.vc-featured .vc-play { width: 68px; height: 68px; }
.vc-featured .vc-play svg { width: 26px; height: 26px; }

/* ---- Meta / type ---- */
.vc-cat {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b81c22;
	margin: 0 0 8px;
}
.vc-title {
	font-size: 22px;
	font-weight: 700;
	color: #222;
	line-height: 1.35;
	margin: 0 0 10px;
}
.vc-title a { color: inherit; text-decoration: none; }
.vc-title a:hover { color: #b81c22; }
.vc-featured .vc-title { font-size: 26px; }
.vc-desc {
	font-size: 16px;
	color: #555;
	line-height: 1.65;
	margin: 0 0 14px;
}
.vc-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 14px;
	color: #888;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}
.vc-meta i { color: #b81c22; margin-right: 4px; }
.vc-meta .vc-yt-link {
	color: #b81c22;
	font-weight: 600;
	text-decoration: none;
}
.vc-meta .vc-yt-link:hover { text-decoration: underline; }

/* ---- Video grid ---- */
.vc-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}
.vc-grid > [class*='col-'] {
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 24px;
	display: flex;
}
.vc-card {
	background: #fff;
	border: 1px solid #e8e0e0;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
	transition: box-shadow 0.22s, transform 0.22s;
}
.vc-card:hover {
	box-shadow: 0 8px 28px rgba(184, 28, 34, 0.1);
	transform: translateY(-2px);
}
.vc-card .vc-card-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.vc-card .vc-title {
	font-size: 17px;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vc-card .vc-card-foot {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid #f2ece9;
}
.vc-card .vc-watch {
	font-size: 15px;
	font-weight: 600;
	color: #b81c22;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.vc-card .vc-watch:hover { color: #8b1519; }

/* ---- Detail layout ---- */
.vc-detail-wrap { padding: 32px 0 48px; }
.vc-detail-main { margin-bottom: 28px; }
.vc-player-shell {
	position: relative;
	background: #0f0f0f;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}
.vc-player-shell iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.vc-player-facade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: #0f0f0f;
	display: block;
}
.vc-player-facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
	/* 同 .vc-thumb img：盖过 fallback 渐变，位于播放键(z-index:2)之下 */
	position: relative;
	z-index: 1;
}
.vc-player-facade .vc-facade-fallback {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, #292524 0%, #0f0f0f 100%);
}
.vc-player-facade .vc-play {
	width: 72px;
	height: 72px;
	background: #ff0000;
}
.vc-player-facade .vc-play:hover,
.vc-player-facade .vc-play:focus-visible {
	background: #cc0000;
}
.vc-player-facade .vc-play svg { width: 28px; height: 28px; }
.vc-yt-tag {
	position: absolute;
	left: 16px;
	bottom: 16px;
	background: #ff0000;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 2;
	pointer-events: none;
}
.vc-detail-title {
	font-size: 28px;
	font-weight: 700;
	color: #222;
	line-height: 1.3;
	margin: 22px 0 12px;
}
.vc-detail-body h2 {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	margin: 26px 0 12px;
}
.vc-detail-body p {
	font-size: 16px;
	color: #555;
	line-height: 1.75;
	margin: 0 0 14px;
}
.vc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}
.vc-tags span {
	display: inline-block;
	border: 1px solid #e8e0e0;
	background: #fff;
	color: #555;
	font-size: 13px;
	padding: 6px 14px;
	border-radius: 16px;
}
.vc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	align-items: center;
}
.vc-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
	padding: 11px 22px;
	border-radius: 5px;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	cursor: pointer;
	font-family: inherit;
}
.vc-btn-primary {
	background: #b81c22;
	color: #fff;
	border-color: #b81c22;
}
.vc-btn-primary:hover {
	background: #8b1519;
	border-color: #8b1519;
	color: #fff;
	text-decoration: none;
}
.vc-btn-ghost {
	background: #fff;
	color: #444;
	border-color: #d6d3d1;
}
.vc-btn-ghost:hover {
	border-color: #b81c22;
	color: #b81c22;
	text-decoration: none;
}

/* ---- Related sidebar ---- */
.vc-side-title {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	border-left: 4px solid #b81c22;
	padding-left: 12px;
	margin: 0 0 16px;
}
.vc-related {
	margin: 0;
	padding: 0;
	list-style: none;
}
.vc-related li {
	margin-bottom: 12px;
}
.vc-related a {
	display: flex;
	gap: 12px;
	align-items: center;
	background: #fff;
	border: 1px solid #e8e0e0;
	border-radius: 8px;
	padding: 10px;
	text-decoration: none;
	transition: box-shadow 0.18s, border-color 0.18s;
}
.vc-related a:hover {
	border-color: #b81c22;
	box-shadow: 0 4px 16px rgba(184, 28, 34, 0.1);
	text-decoration: none;
}
.vc-related .vc-thumb {
	flex: 0 0 118px;
	width: 118px;
	height: 66px; /* 显式高度，避免 flex 轴上 aspect-ratio 被拉伸 */
	aspect-ratio: auto;
	border-radius: 6px;
	align-self: center;
}
.vc-related .vc-play {
	width: 32px;
	height: 32px;
}
.vc-related .vc-play svg {
	width: 12px;
	height: 12px;
	margin-left: 2px;
}
.vc-related .rt {
	font-size: 14px;
	font-weight: 600;
	color: #222;
	line-height: 1.35;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vc-related .rm {
	font-size: 12px;
	color: #999;
	margin: 0;
}

/* ---- Pagination ---- */
.vc-pager-wrap { margin-top: 8px; }

/* ---- CTA (reuses cta-banner language) ---- */
.vc-cta {
	background: linear-gradient(135deg, #8b1519 0%, #b81c22 100%);
	padding: 48px 0;
	text-align: center;
	color: #fff;
}
.vc-cta h2 { color: #fff; font-size: 28px; font-weight: 700; margin: 0 0 10px; }
.vc-cta p { font-size: 17px; opacity: 0.92; margin: 0 0 22px; }
.vc-cta .btn-cta {
	display: inline-block;
	background: #fff;
	color: #b81c22;
	font-weight: 700;
	font-size: 16px;
	padding: 12px 30px;
	border-radius: 5px;
	text-decoration: none;
	transition: background 0.2s;
}
.vc-cta .btn-cta:hover { background: #fef0f0; text-decoration: none; }

/* ---- Section heading ---- */
.vc-h2 {
	font-size: 24px;
	font-weight: 700;
	color: #222;
	margin: 0 0 20px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
	.vc-hero h1 { font-size: 34px; }
	.vc-featured .vc-thumb { max-width: none; }
	.vc-detail-title { font-size: 24px; }
}
@media (max-width: 767px) {
	.vc-hero { padding: 40px 0 32px; }
	.vc-hero h1 { font-size: 28px; }
	.vc-hero .vc-hero-lead { font-size: 16px; }
	.vc-hero .vc-stats { gap: 20px; }
	.vc-featured { flex-direction: column; padding: 14px; gap: 16px; }
	.vc-featured .vc-title { font-size: 20px; }
	.vc-section { padding: 28px 0 36px; }
	.vc-detail-title { font-size: 22px; }
	.vc-related .vc-thumb { flex-basis: 100px; width: 100px; }
}

/* Respect motion preference */
@media (prefers-reduced-motion: reduce) {
	.vc-card,
	.vc-play,
	.vc-card:hover {
		transition: none;
		transform: none;
	}
	.vc-card:hover { transform: none; }
}

/* prev / next */
.vc-prevnext {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}
.vc-pn {
	flex: 1 1 220px;
	display: block;
	border: 1px solid #e8e0e0;
	border-radius: 8px;
	padding: 14px 16px;
	text-decoration: none;
	background: #fff;
	transition: border-color 0.18s, box-shadow 0.18s;
}
.vc-pn:hover {
	border-color: #b81c22;
	box-shadow: 0 4px 16px rgba(184, 28, 34, 0.08);
	text-decoration: none;
}
.vc-pn-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #b81c22;
	margin-bottom: 6px;
}
.vc-pn-title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #222;
	line-height: 1.4;
}
.vc-detail-side { margin-bottom: 24px; }
