/* Facebook Reels in nieuwsberichten: poster + modal (niet product-Inspiratie) */

.nieuws-video-item--fb {
  /* Geen grijs op de Bootstrap-kolom: die staat in de gutter (links van tekst/YouTube).
     Standaard kolompadding → panel-links = zelfde lijn als bodytekst en YT. */
  background: transparent;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 0;
  padding-bottom: 0;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
}

.nieuws-video-row--fb.nieuws-video-row--yt .nieuws-video-item--fb {
  margin-bottom: 48px;
}

.nieuws-video-row--fb.nieuws-video-row--yt .nieuws-video-item--yt {
  margin-top: 12px;
  clear: both;
  padding-top: 8px;
}

.nieuws-video-fb {
  width: 267px;
  max-width: 100%;
  margin: 0;
  background: #e9ecef;
  border-radius: 6px;
  padding: 16px 14px 18px;
  box-sizing: content-box;
}

.nieuws-video-fb-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(70vh, 520px);
  overflow: hidden;
  border-radius: 4px;
  background: #eceff1;
  text-decoration: none;
  color: inherit;
}

.nieuws-video-fb-thumb {
  display: block;
  width: 100%;
  height: 100%;
}

.nieuws-video-fb-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nieuws-video-fb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: none;
  pointer-events: none;
}

.nieuws-video-fb-play::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}

.nieuws-video-fb-card:hover .nieuws-video-fb-play,
.nieuws-video-fb-card:focus .nieuws-video-fb-play {
  background: rgba(0, 0, 0, 0.7);
}

.nieuws-video-fb-card:focus {
  outline: 2px solid #184a9c;
  outline-offset: 2px;
}

.nieuws-video-fb-caption {
  margin-top: 8px;
  font-size: 0.98em;
  font-weight: 600;
  line-height: 1.3;
  color: #333;
  text-align: center;
}

.nieuws-video-caption {
  font-size: 0.98em;
  line-height: 1.35;
  color: #333;
}

.nieuws-video-modal-dialog {
  max-width: min(360px, calc(100vw - 24px));
  margin: 30px auto;
}

.nieuws-video-modal-body {
  padding: 12px 14px 8px;
  text-align: center;
}

.nieuws-video-embed {
  position: relative;
  width: min(267px, calc(100vw - 48px));
  max-width: 100%;
  margin: 0 auto;
  background: #000;
}

.nieuws-video-embed.is-portrait {
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 180px);
}

.nieuws-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nieuws-video-consent {
  padding: 28px 16px;
  text-align: center;
}

.nieuws-video-consent-msg {
  margin: 0 0 14px;
  color: #555;
}

.nieuws-video-consent-actions .btn {
  margin: 4px;
}

.nieuws-video-modal-footer {
  text-align: center;
  padding: 10px 14px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.nieuws-video-fb-link {
  font-size: 0.92em;
  color: #555;
  text-decoration: underline;
}

.nieuws-video-fb-link:hover,
.nieuws-video-fb-link:focus {
  color: #b85c00;
}

@media (max-width: 480px) {
  .nieuws-video-modal-dialog {
    margin: 12px auto;
    width: calc(100% - 16px);
  }

  .nieuws-video-embed.is-portrait {
    width: min(267px, calc(100vw - 32px));
    max-height: calc(100vh - 140px);
  }
}
