/* ==========================================
   HOLY QURAN PASHTO
   HOMEPAGE FEATURED VIDEO CARD
========================================== */

.homepage-video-card {
  width: calc(100% - 80px);
  max-width: 1250px;
  margin: 40px auto 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
  font-family: inherit;
}

/* ==========================================
   LEFT SIDE
========================================== */

.homepage-video-info {
  position: relative;
  z-index: 1;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.homepage-video-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  margin-bottom: 14px;
  background: #eaf2ff;
  color: #163d82;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.homepage-video-label-icon {
  font-size: 10px;
}

.homepage-video-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.homepage-video-description {
  max-width: 460px;
  margin: 0 0 20px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.homepage-watch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  padding: 13px 20px;
  border-radius: 12px;
  background: #163d82;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 61, 130, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.homepage-watch-button:hover {
  transform: translateY(-2px);
  background: #12346f;
  box-shadow: 0 12px 25px rgba(22, 61, 130, 0.28);
}

/* ==========================================
   RIGHT GREEN SIDE
========================================== */

.homepage-video-media {
  position: relative;
  z-index: 2;

  padding: 22px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
  overflow: visible;

  background: linear-gradient(
    135deg,
    #08783f 0%,
    #159653 100%
  );
}


/* ==========================================
   GESCHEURDE LIJN TUSSEN WIT EN GROEN
========================================== */

.homepage-video-media::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;
  left: -28px;

  width: 30px;
  height: 100%;

  z-index: 5;
  pointer-events: none;

  background: #08783f;

  clip-path: polygon(
    100% 0%,

    45% 0%,
    68% 4%,
    30% 8%,
    62% 12%,
    20% 16%,
    58% 20%,
    35% 24%,
    72% 28%,
    25% 32%,
    60% 36%,
    32% 40%,
    70% 44%,
    22% 48%,
    58% 52%,
    28% 56%,
    68% 60%,
    35% 64%,
    72% 68%,
    25% 72%,
    60% 76%,
    32% 80%,
    70% 84%,
    22% 88%,
    60% 92%,
    38% 96%,
    55% 100%,

    100% 100%
  );
}

/* ==========================================
   VIDEO
========================================== */

.homepage-youtube-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.homepage-video-thumbnail {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  display: block;
  position: relative;
  cursor: pointer;
  background: #000000;
}

.homepage-video-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.homepage-youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  border-radius: 14px;
  background: #ff0033;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.homepage-video-thumbnail:hover .homepage-youtube-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.homepage-youtube-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ==========================================
   DATE + VIEWS
========================================== */

.homepage-video-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.homepage-meta-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
}

.homepage-meta-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #edf4ff;
  font-size: 16px;
}

.homepage-meta-card div:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.homepage-meta-card strong {
  color: #172033;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.homepage-meta-card span {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) {
  .homepage-video-card {
    width: calc(100% - 40px);
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
  }

  .homepage-video-info {
    padding: 28px 26px;
  }

  .homepage-video-media {
    padding: 20px;
  }

  .homepage-video-title {
    font-size: 24px;
  }

  .homepage-video-description {
    font-size: 13px;
  }

  .homepage-meta-card {
    padding: 10px;
  }

  .homepage-meta-card strong {
    font-size: 12px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 760px) {
  .homepage-video-card {
    width: calc(100% - 24px);
    margin: 20px auto 24px;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
  }

  .homepage-video-info {
    padding: 24px 20px 26px;
  }

  .homepage-video-label {
    margin-bottom: 12px;
  }

  .homepage-video-title {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .homepage-video-description {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  .homepage-video-media {
    padding: 18px;
  }

  .homepage-video-media::before {
    display: none;
  }

  .homepage-youtube-player {
    border-radius: 14px;
  }

  .homepage-youtube-play {
    width: 64px;
    height: 44px;
    font-size: 20px;
  }

  .homepage-video-meta {
    gap: 10px;
    margin-top: 12px;
  }

  .homepage-meta-card {
    gap: 8px;
    padding: 10px;
  }

  .homepage-meta-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .homepage-meta-card strong {
    font-size: 12px;
  }

  .homepage-meta-card span {
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .homepage-video-info {
    padding: 20px 16px;
  }

  .homepage-video-title {
    font-size: 20px;
  }

  .homepage-watch-button {
    width: 100%;
  }

  .homepage-video-media {
    padding: 14px;
  }

  .homepage-video-meta {
    grid-template-columns: 1fr;
  }
}



/* ==========================================
   PHONE - COMPACT VIDEO CARD
========================================== */

@media (max-width: 600px) {

  .homepage-video-card {
    width: calc(100% - 24px);
    margin: 20px auto 24px;
  }

  /* LEFT SIDE */
  .homepage-video-info {
    padding: 22px 20px 20px;
  }

  .homepage-video-label {
    padding: 7px 11px;
    margin-bottom: 14px;
    font-size: 12px;
  }

  .homepage-video-title {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.15;
  }

  /* Description only 2 lines */
  .homepage-video-description {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Not needed on phone: thumbnail already has Play */
  .homepage-watch-button {
    display: none;
  }

  /* GREEN VIDEO AREA */
  .homepage-video-media {
    padding: 14px;
  }

  .homepage-youtube-player {
    border-radius: 14px;
  }

  /* DATE + VIEWS NEXT TO EACH OTHER */
  .homepage-video-meta {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .homepage-meta-card {
    padding: 9px 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .homepage-meta-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .homepage-meta-card strong {
    font-size: 12px;
  }

  .homepage-meta-card span {
    font-size: 9px;
    margin-top: 1px;
  }
}




/* Normal play triangle - prevents iPhone emoji */
.homepage-css-play {
  display: inline-block;

  width: 0;
  height: 0;

  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;

  flex-shrink: 0;
}

/* Small play icon inside Website Guide */
.homepage-video-label-icon .homepage-css-play {
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-left-width: 7px;
}

/* White triangle inside red YouTube button */
.homepage-youtube-play .homepage-css-play {
  color: #ffffff;

  border-top-width: 10px;
  border-bottom-width: 10px;
  border-left-width: 17px;
}