/* ===== VIDEOS (סרטונים) — Figma 4952:3742 (desktop) / 4984:16567 (mobile) ===== */
:root {
  --blk: #030a11;
  --gray: #6c6c6c;
  --gold-badge: #b58d41;
  --vid-bg: #f6f6f6;
  --vid-green: #0a251c;   /* card bottom gradient / overlay green */
}

.videos-page { background: var(--vid-bg); }
.hdr.hdr--solid { background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.07); }

.videos {
  max-width: 1300px;
  margin: 0 auto;
  padding: calc(100vw * 150 / 1920) 20px 70px;   /* clear the fixed header */
}

/* ---------- HERO ---------- */
.videos-hero {
  position: relative;
  padding: 52px 0 14px;
  text-align: center;
}
.videos-hero__crumb {
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: flex-start;   /* RTL: flex-start = visual RIGHT */
  gap: 7px;
  font-size: 16px;
  color: #000;
  margin-bottom: 24px;
}
.videos-hero__crumb a { color: #000; display: inline-flex; align-items: center; }
.videos-hero__crumb-home { width: 16px; height: 16px; display: block; }
.videos-hero__crumb .sep { color: #000; }
.videos-hero__crumb b { font-weight: 700; }
.videos-hero__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 62px;
  line-height: 72px;
  color: #000;
  margin: 0;
}

/* ---------- VIDEO GRID ---------- */
.videos-grid {
  display: grid;
  direction: ltr;            /* DOM L→R matches Figma x: 308 · 641 · 974 · 1307 */
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 31px;
  margin-top: 30px;
}

.video-card {
  position: relative;
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 302 / 519;
  background: #0c1f18;
}
.video-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* bottom green fade — Figma: linear-gradient(to top, #0a251c, transparent), h ~176px (34% of card) */
.video-card__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(to top, var(--vid-green) 0%, rgba(10, 37, 28, 0) 100%);
  z-index: 2;
  pointer-events: none;
  border-bottom-left-radius: var(--r-card);
  border-bottom-right-radius: var(--r-card);
}
.video-card__play {
  position: absolute;
  left: 50%;
  top: 71.2%;                /* Figma: play center at (642.94+45.4-319)/519 = 71.2% */
  transform: translate(-50%, -50%);
  width: 30.06%;             /* 90.82 / 302 */
  z-index: 4;
  display: block;
  transition: transform 0.2s ease;
}
.video-card__play img { width: 100%; height: auto; display: block; }
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.07); }
.video-card__title {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  width: 90%;
  direction: rtl;
  text-align: center;
  font-family: "Heebo", var(--font-body);
  font-weight: 400;
  font-size: 22px;
  line-height: 26px;
  color: #fff;
  z-index: 3;
  margin: 0;
}

/* ================= MOBILE ================= */
@media (max-width: 1024px) {
  .videos { padding: 72px 21px 40px; }   /* clear 72px mobile header; 21px side margins per Figma */

  .videos-hero { padding: 26px 0 6px; text-align: center; }
  .videos-hero__crumb { justify-content: flex-start; margin-bottom: 14px; font-size: 14px; }
  .videos-hero__title { font-size: 44px; line-height: 54px; text-align: center; }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    margin-top: 18px;
  }
  .video-card__title { font-size: 16px; line-height: 19px; bottom: 14px; width: 92%; }
  .video-card__shade { height: 36%; }
}

@media (max-width: 420px) {
  .videos-hero__title { font-size: 38px; line-height: 46px; }
}
