/* ============================================================
   HotNews.co.il — video.css
   ============================================================ */

/* ─── Grid וידאו (רשימה) ─── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
}

.video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: 0.15s ease;
}
.video-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-soft);
}

.video-card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}
.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.video-card:hover .video-card-thumb img {
  opacity: 0.85;
}
.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.video-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transition: 0.2s ease;
}
.video-card:hover .video-play-icon {
  opacity: 1;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.video-card-body {
  padding: 12px 14px 14px;
}
.video-card-body h2 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.video-card-body h2 a {
  color: var(--text-main);
  text-decoration: none;
}
.video-card:hover .video-card-body h2 a {
  color: var(--brand-primary);
}
.video-card-body p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.video-card-time {
  font-size: 12px;
  color: var(--text-soft);
}

/* ─── וידאו בודד ─── */
.video-single-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  padding-top: 12px;
  align-items: start;
}
.video-single-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.video-embed-wrap {
  overflow: hidden;
}
.video-embed-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-embed-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 20px 24px;
}
.video-title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
}
.video-meta-row {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.video-summary {
  margin: 0;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ─── Related sidebar ─── */
.video-related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.video-related-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.video-related-thumb {
  position: relative;
  width: 100px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #1e293b;
  flex-shrink: 0;
}
.video-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-related-thumb .video-duration {
  bottom: 4px;
  left: 4px;
}
.video-related-body strong {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-main);
}
.video-related-item:hover .video-related-body strong {
  color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1180px) {
  .video-single-shell {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .video-grid {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
  }
  .video-title {
    font-size: 20px;
  }
  .video-info {
    padding: 16px;
  }
}

.video-sidebar-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}
