/* ============================================
   Video Page Styles
   ============================================ */
.zs-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.zs-video-card {
  overflow: hidden;
  background: var(--zs-color-white);
  border: 1px solid var(--zs-color-border);
  transition: box-shadow 0.3s ease;
}

.zs-video-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.zs-video-card-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}

.zs-video-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zs-video-card-thumb .zs-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(200,22,29,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.zs-video-card:hover .zs-play-btn {
  background: var(--zs-color-primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.zs-play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--zs-color-white);
  margin-left: 3px;
}

.zs-video-card-body {
  padding: 16px;
}

.zs-video-card-body h4 {
  font-size: var(--zs-font-size-sm);
  font-weight: 600;
}

.zs-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.zs-video-modal.is-open {
  display: flex;
}

.zs-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.zs-video-modal__dialog {
  position: relative;
  width: min(960px, 94vw);
  border-radius: 10px;
  background: #111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 1;
}

.zs-video-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
}

.zs-video-modal__close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.zs-video-modal__ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.zs-video-modal__ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1024px) {
  .zs-video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .zs-video-grid { grid-template-columns: 1fr; }
}
