@charset "UTF-8";
/**
 * 视频中心页面样式。
 *
 * 配合 page-video-center.php 使用，沿用主题的配色变量与区块节奏。
 * 视频不做分类，按顺序平铺。
 */

/* ---------- Hero ---------- */
.zs-video-hero { position: relative; overflow: hidden; padding: 76px 0 88px; color: rgba(255,255,255,.72); background: radial-gradient(circle at 88% 8%, rgba(35,164,83,.26), transparent 34%), linear-gradient(115deg,#061722,#0a2638 58%,#0b3f32); }
.zs-video-hero::after { content: ""; position: absolute; right: -140px; bottom: -220px; width: 560px; height: 560px; border: 86px solid rgba(255,255,255,.045); border-radius: 50%; }
.zs-video-hero .zs-container { position: relative; z-index: 2; }
.zs-video-hero .zs-breadcrumb { margin-bottom: 22px; color: rgba(255,255,255,.5); }
.zs-video-hero .zs-breadcrumb a { color: rgba(255,255,255,.72); }
.zs-video-hero .zs-breadcrumb a:hover { color: #fff; }
.zs-video-hero .zs-breadcrumb span[aria-current] { color: rgba(255,255,255,.82); }
.zs-video-hero h1 { margin-bottom: 16px; color: #fff; }
.zs-video-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.zs-video-hero__text > p { max-width: 620px; margin-bottom: 26px; color: rgba(255,255,255,.68); font-size: 1.02rem; }
.zs-video-hero__stats { display: flex; flex-wrap: wrap; gap: 40px; margin: 0 0 30px; padding: 0; list-style: none; }
.zs-video-hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.zs-video-hero__stats strong { color: #fff; font-size: 1.75rem; font-weight: 800; line-height: 1.2; }
.zs-video-hero__stats span { color: rgba(255,255,255,.6); font-size: .82rem; }
.zs-video-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 最新视频卡片 ---------- */
.zs-video-feature { display: block; width: 100%; padding: 0; overflow: hidden; text-align: left; color: var(--zs-ink); background: #fff; border: 0; border-radius: 8px; box-shadow: 0 26px 60px rgba(0,0,0,.28); }
button.zs-video-feature { cursor: pointer; transition: transform .3s ease, box-shadow .3s ease; }
button.zs-video-feature:hover { transform: translateY(-4px); box-shadow: 0 30px 66px rgba(0,0,0,.34); }
.zs-video-feature__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0d2233; }
.zs-video-feature__thumb img { width: 100%; height: 100%; object-fit: cover; }
.zs-video-feature__thumb--empty { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); background: linear-gradient(135deg,#0d2434,#123f33); }
.zs-video-feature__thumb--empty svg { width: 58px; height: 58px; }
.zs-video-feature__tag { position: absolute; top: 14px; left: 14px; padding: 5px 12px; color: #fff; background: rgba(35,164,83,.94); border-radius: 80px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
.zs-video-play { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; color: #fff; background: rgba(35,164,83,.92); border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.32); transition: transform .25s ease, background-color .25s ease; }
.zs-video-play svg { width: 30px; height: 30px; }
button.zs-video-feature:hover .zs-video-play,
.zs-video-card__button:hover .zs-video-play { transform: scale(1.08); background: var(--zs-green-dark); }
.zs-video-feature__body { display: block; padding: 18px 20px 20px; }
.zs-video-feature__body strong { display: block; margin-bottom: 6px; color: var(--zs-navy); font-size: 1.05rem; font-weight: 800; line-height: 1.4; }
.zs-video-feature__text { display: block; color: var(--zs-muted); font-size: .88rem; line-height: 1.6; }

/* ---------- 视频网格 ---------- */
.zs-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.zs-video-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--zs-line); border-radius: 8px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.zs-video-card:hover { border-color: rgba(35,164,83,.4); box-shadow: var(--zs-shadow); transform: translateY(-4px); }
.zs-video-card__button { position: relative; display: block; width: 100%; padding: 0; background: #0d2233; border: 0; cursor: pointer; }
.zs-video-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; }
.zs-video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.zs-video-card:hover .zs-video-card__thumb img { transform: scale(1.04); }
.zs-video-card__button .zs-video-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.zs-video-card__button .zs-video-play svg { width: 24px; height: 24px; }
.zs-video-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 24px; }
.zs-video-card__body h3 { margin-bottom: 10px; font-size: 1.08rem; }
.zs-video-card__body p { margin-bottom: 0; color: var(--zs-muted); font-size: .9rem; line-height: 1.65; }

/* ---------- 暂无视频 ---------- */
.zs-video-empty-section { background: var(--zs-soft); }
.zs-video-empty { max-width: 720px; margin: 0 auto; padding: 56px 46px; text-align: center; background: #fff; border: 1px solid var(--zs-line); border-radius: 10px; box-shadow: 0 18px 44px rgba(8,28,43,.06); }
.zs-video-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 74px; height: 74px; margin-bottom: 22px; color: #fff; background: linear-gradient(135deg, var(--zs-green), var(--zs-green-dark)); border-radius: 50%; box-shadow: 0 14px 32px rgba(35,164,83,.28); }
.zs-video-empty__icon svg { width: 34px; height: 34px; }
.zs-video-empty h2 { margin-bottom: 14px; }
.zs-video-empty > p { max-width: 540px; margin: 0 auto 26px; color: var(--zs-muted); }
.zs-video-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.zs-video-intro { max-width: 860px; margin: 42px auto 0; text-align: center; }

/* ---------- CTA ---------- */
.zs-video-cta { padding: 76px 0; color: rgba(255,255,255,.72); background: radial-gradient(circle at 12% 20%, rgba(35,164,83,.22), transparent 38%), var(--zs-navy); }
.zs-video-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 46px; }
.zs-video-cta__inner h2 { margin-bottom: 12px; color: #fff; }
.zs-video-cta__inner p { max-width: 640px; margin-bottom: 0; color: rgba(255,255,255,.66); }
.zs-video-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

/* ---------- 播放弹层 ---------- */
.zs-video-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.zs-video-modal[hidden] { display: none; }
.zs-video-modal__backdrop { position: absolute; inset: 0; background: rgba(4,14,22,.86); }
.zs-video-modal__dialog { position: relative; z-index: 2; width: min(1040px, 100%); }
.zs-video-modal__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.zs-video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.zs-video-modal__close { position: absolute; top: -48px; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; cursor: pointer; transition: background-color .25s ease; }
.zs-video-modal__close:hover { background: var(--zs-green); border-color: var(--zs-green); }
.zs-video-modal__close svg { width: 20px; height: 20px; }
.zs-video-modal__title { margin: 16px 0 0; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.6; }
body.zs-video-modal-open { overflow: hidden; }

/* ---------- 空状态要点 ---------- */
.zs-video-empty__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 0 0 26px; padding: 0; list-style: none; }
.zs-video-empty__points li { display: inline-flex; align-items: center; gap: 8px; color: var(--zs-navy); font-size: .88rem; font-weight: 700; }
.zs-video-empty__points svg { width: 16px; height: 16px; color: var(--zs-green); }

/* ---------- 继续了解入口 ---------- */
.zs-video-links { background: #fff; }
.zs-video-links__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.zs-video-link-card { display: flex; flex-direction: column; padding: 32px 28px; background: var(--zs-soft); border: 1px solid var(--zs-line); border-radius: 8px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
.zs-video-link-card:hover { background: #fff; border-color: rgba(35,164,83,.42); box-shadow: var(--zs-shadow); transform: translateY(-4px); }
.zs-video-link-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--zs-green), var(--zs-green-dark)); border-radius: 10px; }
.zs-video-link-card__icon svg { width: 26px; height: 26px; }
.zs-video-link-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.zs-video-link-card p { margin-bottom: 18px; color: var(--zs-muted); font-size: .9rem; line-height: 1.65; }
.zs-video-link-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--zs-green-dark); font-size: .88rem; font-weight: 800; }
.zs-video-link-card__more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.zs-video-link-card:hover .zs-video-link-card__more svg { transform: translateX(4px); }

@media (max-width: 1180px) {
	.zs-video-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.zs-video-empty__points { flex-direction: column; align-items: flex-start; gap: 10px; }
	.zs-video-links__grid { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
	.zs-video-hero__grid { grid-template-columns: 1fr; gap: 38px; }
	.zs-video-feature { max-width: 640px; }
	.zs-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.zs-video-hero { padding: 52px 0 60px; }
	.zs-video-hero__stats { gap: 26px; }
	.zs-video-hero__stats strong { font-size: 1.45rem; }
	.zs-video-hero__actions .zs-btn { width: 100%; }
	.zs-video-grid { grid-template-columns: 1fr; gap: 20px; }
	.zs-video-empty { padding: 40px 22px; }
	.zs-video-empty__actions .zs-btn { width: 100%; }
	.zs-video-cta { padding: 56px 0; }
	.zs-video-cta__inner { flex-direction: column; align-items: flex-start; gap: 26px; }
	.zs-video-cta__actions { width: 100%; }
	.zs-video-cta__actions .zs-btn { width: 100%; }
	.zs-video-modal { padding: 52px 14px 20px; }
	.zs-video-modal__close { top: -44px; right: 0; }
	.zs-video-card__body { padding: 18px 18px 22px; }
}
