.webok-video-page,
.webok-video-single {
	--video-bg: #f4f8fb;
	--video-panel: #ffffff;
	--video-text: #13343a;
	--video-muted: #68828a;
	--video-line: rgba(18, 52, 58, 0.14);
	--video-accent: #0b6b77;
	--video-soft: rgba(11, 107, 119, 0.09);
	--video-shadow: 0 10px 24px rgba(20, 57, 71, 0.08);
	--video-width: 1200px;
	background: linear-gradient(180deg, #eef6f8 0%, #f8fbfc 40%, #f3f7fa 100%);
	color: var(--video-text);
	font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.webok-video-page {
	--video-width: 1200px;
}

.webok-video-page,
.webok-video-page *,
.webok-video-single,
.webok-video-single * {
	box-sizing: border-box;
}

.webok-video-page__inner,
.webok-video-single__inner {
	max-width: var(--video-width);
	margin: 0 auto;
	padding: 0 16px;
}

.webok-video-page__hero {
	position: relative;
	overflow: hidden;
	min-height: 300px;
	padding: 34px 0 28px;
	background:
		linear-gradient(100deg, rgba(13, 9, 23, 0.12), rgba(13, 9, 23, 0) 48%),
		linear-gradient(120deg, #4e2d6f, #8c49c5 48%, #c087ff);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.webok-video-page__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 8, 31, 0) 0%, rgba(17, 8, 31, 0.28) 70%);
	pointer-events: none;
	z-index: 0;
}

.webok-video-page__hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, rgba(244, 227, 255, 0.65), rgba(244, 227, 255, 0));
	pointer-events: none;
	z-index: 0;
}

.webok-video-hero-anim {
	position: absolute;
	right: 20px;
	top: 22px;
	bottom: 16px;
	width: min(34%, 360px);
	pointer-events: none;
	z-index: 1;
	opacity: 0.98;
}

.webok-video-hero-anim [class^="webok-video-hero-anim__s"] {
	position: absolute;
	display: block;
}

.webok-video-hero-anim__s1 {
	width: 262px;
	height: 178px;
	right: 18px;
	top: 34px;
	border: 1px solid rgba(192, 245, 255, 0.42);
	border-radius: 26px;
	background:
		linear-gradient(135deg, rgba(192, 245, 255, 0.08), rgba(192, 245, 255, 0.01) 62%),
		repeating-linear-gradient(
			90deg,
			rgba(192, 245, 255, 0.12) 0,
			rgba(192, 245, 255, 0.12) 1px,
			transparent 1px,
			transparent 34px
		),
		repeating-linear-gradient(
			180deg,
			rgba(192, 245, 255, 0.08) 0,
			rgba(192, 245, 255, 0.08) 1px,
			transparent 1px,
			transparent 28px
		);
	box-shadow: inset 0 0 36px rgba(160, 237, 255, 0.08), 0 0 26px rgba(140, 228, 255, 0.08);
	animation: webok-video-hero-panel 6s ease-in-out infinite;
}

.webok-video-hero-anim__s2 {
	width: 214px;
	height: 130px;
	right: 42px;
	top: 58px;
	border-radius: 22px;
	border: 1px solid rgba(210, 249, 255, 0.36);
	background: linear-gradient(180deg, rgba(210, 249, 255, 0.08), rgba(210, 249, 255, 0.02));
	box-shadow: inset 0 0 18px rgba(185, 244, 255, 0.06);
	animation: webok-video-hero-frame 4.8s ease-in-out infinite;
}

.webok-video-hero-anim__s3 {
	width: 138px;
	height: 138px;
	right: 80px;
	top: 54px;
	border-radius: 50%;
	border: 1px solid rgba(216, 249, 255, 0.74);
	box-shadow:
		inset 0 0 0 1px rgba(216, 249, 255, 0.2),
		inset 0 0 0 20px rgba(216, 249, 255, 0.03),
		0 0 20px rgba(170, 236, 255, 0.16);
	background:
		radial-gradient(circle, rgba(198, 247, 255, 0.12) 0, rgba(198, 247, 255, 0.02) 46%, transparent 47%),
		conic-gradient(from 0deg, rgba(198, 247, 255, 0.24), rgba(198, 247, 255, 0.02), rgba(198, 247, 255, 0.24));
	animation: webok-video-hero-radar 12s linear infinite;
}

.webok-video-hero-anim__s4 {
	width: 42px;
	height: 42px;
	right: 126px;
	top: 102px;
	background: linear-gradient(135deg, rgba(239, 253, 255, 1), rgba(170, 240, 255, 0.96));
	clip-path: polygon(18% 10%, 88% 50%, 18% 90%);
	filter: drop-shadow(0 0 16px rgba(198, 247, 255, 0.4));
	animation: webok-video-hero-play 2.8s ease-in-out infinite;
}

.webok-video-hero-anim__s5 {
	width: 202px;
	height: 2px;
	right: 46px;
	top: 126px;
	background: linear-gradient(90deg, transparent, rgba(214, 249, 255, 0.95) 48%, transparent);
	box-shadow: 0 0 14px rgba(188, 245, 255, 0.34);
	animation: webok-video-hero-scan 3.2s ease-in-out infinite;
}

.webok-video-hero-anim__s6 {
	width: 8px;
	height: 8px;
	right: 110px;
	top: 78px;
	border-radius: 50%;
	background: rgba(238, 253, 255, 1);
	box-shadow:
		-54px 22px 0 0 rgba(208, 248, 255, 0.94),
		52px -16px 0 0 rgba(208, 248, 255, 0.88),
		74px 50px 0 0 rgba(208, 248, 255, 0.78),
		-24px 72px 0 0 rgba(208, 248, 255, 0.72),
		0 0 18px rgba(198, 247, 255, 0.34);
	animation: webok-video-hero-nodes 2.4s ease-in-out infinite;
}

@keyframes webok-video-hero-panel {
	0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.84; }
	50% { transform: translate3d(-4px, 3px, 0); opacity: 1; }
}

@keyframes webok-video-hero-frame {
	0%, 100% { transform: scale(0.985); opacity: 0.68; }
	50% { transform: scale(1.015); opacity: 0.98; }
}

@keyframes webok-video-hero-radar {
	to { transform: rotate(360deg); }
}

@keyframes webok-video-hero-play {
	0%, 100% { transform: scale(0.94); opacity: 0.84; }
	50% { transform: scale(1.08); opacity: 1; }
}

@keyframes webok-video-hero-scan {
	0%, 100% { transform: translate3d(-14px, 0, 0); opacity: 0.18; }
	50% { transform: translate3d(14px, 0, 0); opacity: 1; }
}

@keyframes webok-video-hero-nodes {
	0%, 100% { opacity: 0.5; transform: scale(0.92); }
	50% { opacity: 1; transform: scale(1.08); }
}

.webok-video-page__hero .webok-video-breadcrumb {
	color: rgba(247, 239, 255, 0.8);
}

.webok-video-page__hero .webok-video-breadcrumb__item:not(:last-child)::after {
	color: rgba(247, 239, 255, 0.6);
}

.webok-video-page__hero .webok-video-breadcrumb a {
	color: rgba(247, 239, 255, 0.85);
}

.webok-video-page__hero .webok-video-breadcrumb a:hover {
	color: #ffffff;
}

.webok-video-page__hero .webok-video-page__eyebrow {
	background: rgba(255, 255, 255, 0.16);
	color: #f7eefe;
	border: 1px solid rgba(255, 255, 255, 0.36);
}

.webok-video-page__hero .webok-video-page__title {
	color: #ffffff;
	text-shadow: 0 8px 24px rgba(20, 7, 40, 0.3);
}

.webok-video-page__hero .webok-video-page__intro {
	color: rgba(249, 240, 255, 0.88);
}

.webok-video-page__content,
.webok-video-single__content {
	padding: 28px 0 64px;
}

.webok-video-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
	color: var(--video-muted);
}

.webok-video-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.webok-video-breadcrumb__item:not(:last-child)::after {
	content: ">";
	color: rgba(19, 52, 58, 0.35);
}

.webok-video-breadcrumb a {
	color: var(--video-muted);
	text-decoration: none;
}

.webok-video-breadcrumb a:hover {
	color: var(--video-accent);
}

.webok-video-page__eyebrow {
	background: var(--video-soft);
	color: var(--video-accent);
	letter-spacing: 0.16em;
}

.webok-video-single__section-kicker {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 4px;
	background: var(--video-soft);
	color: var(--video-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.webok-video-page__title {
	font-size: clamp(20px, 3vw, 34px);
}

.webok-video-page__intro {
	font-size: clamp(16px, 1.45vw, 24px);
	color: var(--video-muted);
}

.webok-video-page__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.webok-video-page__sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 110px;
	align-self: start;
	height: max-content;
	display: grid;
	gap: 18px;
}

.webok-video-page__sidebar--mobile-taxonomy {
	display: none;
}

.webok-video-sidebar__panel {
	padding: 22px;
	border: 1px solid var(--video-line);
	border-radius: 8px;
	background: var(--video-panel);
	box-shadow: var(--video-shadow);
}

.webok-video-sidebar__title {
	margin: 0 0 14px;
	font-size: 18px;
}

.webok-video-sidebar__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 92px;
	gap: 10px;
}

.webok-video-sidebar__search input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(19, 52, 58, 0.14);
	border-radius: 4px;
	background: #fff;
	color: var(--video-text);
	font-size: 14px;
}

.webok-video-sidebar__search input:focus {
	outline: none;
	border-color: rgba(0, 153, 153, 0.46);
	box-shadow: 0 0 0 4px rgba(0, 153, 153, 0.1);
}

.webok-video-sidebar__search button,
.webok-video-single__button {
	appearance: none;
	-webkit-appearance: none;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #11a8b5;
	border-radius: 4px;
	background: #11a8b5;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.webok-video-single__button--secondary {
	background: #ffffff;
	color: var(--video-text);
	border-color: rgba(19, 52, 58, 0.16);
}

.webok-video-sidebar__search button:hover,
.webok-video-sidebar__search button:focus-visible,
.webok-video-single__button:hover,
.webok-video-single__button:focus-visible {
	background: #0798a5 !important;
	border-color: #0798a5 !important;
	color: #ffffff !important;
}

.webok-video-sidebar__category-list,
.webok-video-sidebar__recent-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.webok-video-sidebar__category-item > a,
.webok-video-sidebar__recent-list a {
	display: block;
	padding: 10px 12px;
	border-radius: 4px;
	border: 1px solid rgba(19, 52, 58, 0.1);
	background: #ffffff;
	color: var(--video-text);
	text-decoration: none;
}

.webok-video-sidebar__category-item > a:hover,
.webok-video-sidebar__recent-list a:hover,
.webok-video-sidebar__category-item.is-active > a {
	background: rgba(0, 153, 153, 0.08);
	color: var(--video-accent);
}

.webok-video-sidebar__empty {
	margin: 0;
	color: var(--video-muted);
	font-size: 14px;
}

.webok-video-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 28px);
	align-items: stretch;
}

.webok-video-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	width: 100%;
	max-width: none;
	min-height: 0;
	height: 100%;
	border: 1px solid rgba(15, 67, 76, 0.1);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: var(--video-shadow);
}

.webok-video-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: linear-gradient(135deg, #cfe7ea, #eff6f8 50%, #c9dde3);
}

.webok-video-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.webok-video-card:hover .webok-video-card__media img {
	transform: scale(1.04);
}

.webok-video-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(12, 78, 87, 0.36);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.webok-video-card__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 20px 22px;
}

.webok-video-card__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.webok-video-card__terms a {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 4px;
	background: rgba(0, 153, 153, 0.08);
	color: var(--video-accent);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.webok-video-card__title {
	margin: 0;
	font-size: clamp(22px, 1.8vw, 34px);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.webok-video-card__title a {
	color: var(--video-text);
	text-decoration: none;
}

.webok-video-card__title a:hover,
.webok-video-card__title a:focus-visible {
	color: #0798a5 !important;
}


.webok-video-pagination {
	margin-top: 24px;
}

.webok-video-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin-right: 10px;
	padding: 0 12px;
	border-radius: 4px;
	border: 1px solid rgba(19, 52, 58, 0.12);
	background: #fff;
	color: var(--video-text);
	text-decoration: none;
}

.webok-video-pagination .page-numbers.current,
.webok-video-pagination .page-numbers:hover {
	background: #11a8b5;
	border-color: #11a8b5;
	color: #fff;
}

.webok-video-empty {
	padding: 40px 30px;
	border: 1px dashed rgba(0, 153, 153, 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.85);
	text-align: center;
}

.webok-video-empty h2 {
	margin: 0 0 10px;
	font-size: 24px;
}

.webok-video-empty p {
	margin: 0;
	color: var(--video-muted);
}

.webok-video-empty a {
	display: inline-flex;
	margin-top: 16px;
	padding: 10px 18px;
	border-radius: 4px;
	border: 1px solid #11a8b5;
	background: #11a8b5;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.webok-video-single__showcase-grid {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 34px;
	align-items: start;
	margin-bottom: 28px;
}

.webok-video-single__media-column {
	display: grid;
	align-content: start;
}

.webok-video-single__top-sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 110px;
	align-self: start;
	height: max-content;
	display: grid;
	gap: 18px;
}

.webok-video-single__player-title {
	margin-bottom: 14px;
}

.webok-video-single__player-title h2 {
	margin: 0;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--video-text);
}

.webok-video-single__player-wrap {
	position: relative;
	z-index: 2;
}

.webok-video-single__player {
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid var(--video-line);
	background: #0f2d33;
	box-shadow: var(--video-shadow);
	aspect-ratio: 16 / 9;
}

.webok-video-single__player iframe,
.webok-video-single__player blockquote {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
}

.webok-video-single__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.webok-video-single__terms a {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 4px;
	background: rgba(0, 153, 153, 0.08);
	color: var(--video-accent);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.webok-video-single__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

.webok-video-single__actions--top {
	margin-top: 0;
}

.webok-video-single__intro-panel {
	padding: 24px;
	border: 1px solid var(--video-line);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: var(--video-shadow);
	margin-bottom: 28px;
}

.webok-video-single__intro-text {
	font-size: 16px;
	line-height: 1.9;
	color: var(--video-text);
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}

.webok-video-single__intro-text p {
	margin: 0;
}

.webok-video-single__intro-text > *:first-child {
	margin-top: 0;
}

.webok-video-single__intro-text a {
	color: var(--video-accent);
}

.webok-video-single__intro-text > *,
.webok-video-single__intro-text * {
	max-width: 100%;
}

.webok-video-single__intro-text img,
.webok-video-single__intro-text video,
.webok-video-single__intro-text iframe,
.webok-video-single__intro-text canvas,
.webok-video-single__intro-text svg {
	max-width: 100% !important;
	height: auto !important;
}

.webok-video-single__intro-text pre,
.webok-video-single__intro-text code {
	white-space: pre-wrap;
	word-break: break-word;
}

.webok-video-single__intro-text table {
	width: 100% !important;
	max-width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.webok-video-single__intro-text th,
.webok-video-single__intro-text td {
	word-break: break-word;
	overflow-wrap: anywhere;
}

.webok-video-single__intro-text .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}

.webok-video-single__intro-panel .webok-video-single__section-head {
	margin-bottom: 14px;
}

.webok-video-single__intro-panel .webok-video-single__section-head h2 {
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1.08;
}

.webok-video-single__section-head {
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
}

.webok-video-single__section-head h2 {
	margin: 0;
	font-size: 34px;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.webok-video-single__related {
	padding: 8px 0 72px;
}

.webok-video-single__related-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.webok-video-single__related-head {
	margin-bottom: 0;
	gap: 10px;
}

.webok-video-single__related-head h2 {
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.webok-video-single__related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 960px) {
	.webok-video-page__layout,
	.webok-video-single__showcase-grid {
		grid-template-columns: 1fr;
	}

	.webok-video-page__sidebar {
		position: static;
	}

	.webok-video-single__top-sidebar {
		position: static;
	}

	.webok-video-single__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.webok-video-card {
		max-width: none;
		min-height: 0;
	}
}

@media (max-width: 820px) {
	.webok-video-page__intro {
		font-size: clamp(18px, 4.5vw, 26px);
		line-height: 1.45;
	}

	.webok-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.webok-video-card {
		max-width: none;
		min-height: 0;
	}

	.webok-video-card__title {
		font-size: clamp(18px, 3.8vw, 26px);
	}

}

@media (max-width: 640px) {
	.webok-video-page__inner,
	.webok-video-single__inner {
		padding: 0 3px;
	}

	.webok-video-page__hero {
		height: auto;
		min-height: 240px;
		padding: 26px 0 20px;
	}

	.webok-video-page__hero .webok-list-hero__inner {
		height: auto;
		padding-top: 0;
		padding-bottom: 0;
	}

	.webok-video-hero-anim {
		width: 36%;
		opacity: 0.82;
	}

	.webok-video-hero-anim__s1 {
		width: 128px;
		height: 92px;
		right: 2px;
		top: 64px;
		border-radius: 18px;
	}

	.webok-video-hero-anim__s2 {
		width: 102px;
		height: 66px;
		right: 16px;
		top: 76px;
		border-radius: 14px;
	}

	.webok-video-hero-anim__s3 {
		width: 62px;
		height: 62px;
		right: 34px;
		top: 76px;
	}

	.webok-video-hero-anim__s4 {
		width: 18px;
		height: 18px;
		right: 58px;
		top: 98px;
	}

	.webok-video-hero-anim__s5 {
		width: 86px;
		height: 2px;
		right: 18px;
		top: 108px;
	}

	.webok-video-hero-anim__s6 {
		right: 54px;
		top: 80px;
		width: 5px;
		height: 5px;
	}

	.webok-video-page__content,
	.webok-video-single__content {
		padding-bottom: 44px;
	}

	.webok-video-page__sidebar--desktop {
		display: none;
	}

	.webok-video-page__sidebar--mobile-taxonomy {
		display: grid;
		position: static;
		height: auto;
		margin-top: 0;
	}

	.webok-video-page__sidebar--mobile-taxonomy {
		gap: 12px;
		margin-top: 16px;
	}

	.webok-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.webok-video-card__body {
		padding: 14px 14px 16px;
		gap: 10px;
	}

	.webok-video-card__terms {
		gap: 6px;
	}

	.webok-video-card__terms a {
		padding: 4px 8px;
		font-size: 10px;
	}

	.webok-video-card__title {
		font-size: clamp(14px, 4vw, 18px);
		line-height: 1.2;
	}

	.webok-video-sidebar__panel {
		padding: 18px;
	}

	.webok-video-sidebar__search {
		grid-template-columns: 1fr;
	}

	.webok-video-page__title {
		font-size: clamp(26px, 7vw, 36px);
	}

	.webok-video-page__intro {
		font-size: clamp(18px, 4.5vw, 26px);
		line-height: 1.45;
	}

	.webok-video-single__section-head h2 {
		font-size: 28px;
	}

	.webok-video-single__related-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.webok-video-single__related-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}
