/* ═══════════════════════════════════════════════════════════════
   Monutes Reportages
   Werkt samen met de huisstijl-variabelen van het thema en heeft
   eigen terugvalwaarden zodat het ook los blijft kloppen.
   ═══════════════════════════════════════════════════════════════ */

.rep-pagina {
  --rep-primair: var(--color-primary, #5e1c9a);
  --rep-accent:  var(--hero-accent, #c69dff);
  --rep-vlak:    var(--bg-section-alt, #ede8f5);
  --rep-rand:    var(--border-light, #eee);
  --rep-tekst:   var(--text-secondary, #555);
  --rep-dof:     var(--text-muted, #636363);
  --rep-radius:  var(--radius-sm, 14px);
}

/* Hero */
.rep-hero .hero-content { max-width: 960px; }
.rep-hero-kort { min-height: 46vh; }
.rep-klantregel {
  display: inline-flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
  justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(1rem, 2.1vw, 1.35rem); letter-spacing: 0.02em;
  color: #fff; margin: 0 0 0.6rem;
}
.rep-klantregel a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.rep-klantregel a:hover { border-color: #fff; }
.rep-kruis { color: var(--rep-accent); font-weight: 300; }
.rep-merk { color: var(--rep-accent); }

.rep-titel { line-height: 1.08; margin-bottom: 1rem; }

.rep-meta {
  display: inline-flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  justify-content: center;
  font-family: 'Montserrat', sans-serif; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.rep-meta span + span::before { content: '·'; color: var(--rep-accent); margin-right: 0.9rem; }

.rep-scrolhint {
  position: absolute; left: 50%; bottom: 2.2rem; width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.75));
  transform: translateX(-50%); animation: repHint 2.4s ease-in-out infinite;
}
@keyframes repHint { 0%,100% { opacity: 0.25; height: 30px; } 50% { opacity: 1; height: 50px; } }

/* Intro */
.rep-intro { max-width: 760px; margin-bottom: 2.5rem; }
.rep-intro p { color: var(--rep-tekst); font-size: 1.06rem; line-height: 1.8; margin-top: 0.85rem; }
.rep-leeg {
  text-align: center; color: var(--rep-dof); padding: 4rem 1rem;
  border: 1px dashed var(--rep-rand); border-radius: var(--radius, 20px);
}

/* Fotomuur */
.rep-muur { columns: 3; column-gap: 14px; }
.rep-tegel {
  position: relative; margin: 0 0 14px; overflow: hidden; display: block; width: 100%;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  border-radius: var(--rep-radius); background: var(--rep-vlak);
  opacity: 0; transform: translateY(24px);
  animation: repIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rep-tegel:nth-child(3n+2) { animation-delay: 0.07s; }
.rep-tegel:nth-child(3n+3) { animation-delay: 0.13s; }
@keyframes repIn { to { opacity: 1; transform: none; } }

.rep-knop {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative;
}
.rep-knop img {
  width: 100%; height: auto; display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.rep-tegel:hover .rep-knop img { transform: scale(1.05); }
.rep-glans {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(to top, rgba(26,0,51,0.5), rgba(26,0,51,0) 45%);
}
.rep-tegel:hover .rep-glans { opacity: 1; }

.rep-download {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.94); color: var(--rep-primair);
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  opacity: 0; transform: translateY(10px) scale(0.9);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.rep-download svg { width: 20px; height: 20px; fill: currentColor; }
.rep-tegel:hover .rep-download, .rep-download:focus-visible { opacity: 1; transform: none; }
.rep-download:hover { background: #fff; transform: translateY(-2px); }

.rep-voet {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rep-rand);
  color: var(--rep-dof); font-size: 0.92rem;
}
.rep-knoppen { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Overzichtskaarten */
.rep-kaarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rep-kaart {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius, 20px); overflow: hidden;
  background: var(--bg-card, #fff); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.08));
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s;
}
.rep-kaart:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg, 0 8px 48px rgba(0,0,0,.16)); }
.rep-kaart-beeld { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rep-vlak); }
.rep-kaart-beeld img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.rep-kaart:hover .rep-kaart-beeld img { transform: scale(1.06); }
.rep-kaart-tekst { display: block; padding: 1.15rem 1.25rem 1.35rem; }
.rep-kaart-klant {
  display: block; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--rep-primair); margin-bottom: 0.35rem;
}
.rep-kaart-tekst strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.05rem; line-height: 1.35; }
.rep-kaart-meta { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: var(--rep-dof); }

.rep-paginering { margin-top: 2.5rem; text-align: center; }
.rep-paginering .page-numbers {
  display: inline-block; padding: 0.55rem 0.95rem; margin: 0 0.15rem;
  border-radius: 8px; text-decoration: none; color: inherit; border: 1px solid var(--rep-rand);
}
.rep-paginering .page-numbers.current { background: var(--rep-primair); color: #fff; border-color: var(--rep-primair); }

/* Vergrote weergave */
.rep-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(12, 2, 24, 0.96);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.22s ease;
}
.rep-lightbox[hidden] { display: none !important; }
.rep-lightbox.zichtbaar { opacity: 1; pointer-events: auto; }
body.rep-open { overflow: hidden; }

.rep-lb-vlak { margin: 0; max-width: 92vw; max-height: 82vh; display: flex; }
.rep-lb-vlak img {
  max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  animation: repZoom 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes repZoom { from { opacity: 0; transform: scale(0.965); } to { opacity: 1; transform: none; } }

.rep-lb-sluit, .rep-lb-vorige, .rep-lb-volgende {
  position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07); color: #fff; cursor: pointer; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.rep-lb-sluit:hover, .rep-lb-vorige:hover, .rep-lb-volgende:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); }
.rep-lb-sluit { top: 22px; right: 22px; width: 46px; height: 46px; font-size: 1.05rem; }
.rep-lb-vorige, .rep-lb-volgende { top: 50%; width: 54px; height: 54px; font-size: 2rem; margin-top: -27px; line-height: 0; }
.rep-lb-vorige { left: 22px; } .rep-lb-volgende { right: 22px; }

.rep-lb-balk {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding: 0 1rem;
}
.rep-lb-teller { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); }
.rep-lb-download {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #fff; color: #1a0033; text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.86rem;
  padding: 0.75rem 1.4rem; border-radius: 99px; transition: transform 0.2s, box-shadow 0.2s;
}
.rep-lb-download svg { width: 18px; height: 18px; fill: currentColor; }
.rep-lb-download:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.4); }

@media (max-width: 900px) {
  .rep-muur { columns: 2; column-gap: 10px; }
  .rep-tegel { margin-bottom: 10px; }
  .rep-kaarten { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .rep-download { opacity: 1; transform: none; width: 38px; height: 38px; right: 8px; bottom: 8px; }
  .rep-lb-vorige, .rep-lb-volgende { width: 44px; height: 44px; margin-top: -22px; }
  .rep-lb-vorige { left: 10px; } .rep-lb-volgende { right: 10px; }
}
@media (max-width: 560px) {
  .rep-muur { columns: 1; }
  .rep-kaarten { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rep-tegel { animation: none; opacity: 1; transform: none; }
  .rep-knop img, .rep-lb-vlak img, .rep-kaart { transition: none; animation: none; }
  .rep-scrolhint { animation: none; }
}

/* Aftermovie */
.rep-videoblok { margin-bottom: 2.75rem; }
.rep-videoblok .section-kicker { margin-bottom: 0.9rem; display: inline-flex; }
.rep-video {
  position: relative; border-radius: var(--radius, 20px); overflow: hidden;
  background: #0d0418; aspect-ratio: 16 / 9; box-shadow: var(--shadow-md, 0 4px 24px rgba(0,0,0,.2));
}
.rep-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rep-video-embed { aspect-ratio: auto; }
.rep-video-embed iframe { position: static; aspect-ratio: 16 / 9; }
.rep-video-start {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.rep-video-start img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.4s; }
.rep-video-start:hover img { transform: scale(1.03); filter: brightness(0.82); }
.rep-video-knop {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--rep-primair);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4); transition: transform 0.25s, background 0.2s;
}
.rep-video-knop svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.rep-video-start:hover .rep-video-knop { transform: translate(-50%, -50%) scale(1.08); background: #fff; }

/* Bewaren en beschikbaarheid */
.rep-bewaren {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 2.75rem;
}
.rep-bewaren-item {
  display: flex; gap: 0.95rem; align-items: flex-start;
  padding: 1.15rem 1.3rem; border-radius: var(--rep-radius);
  background: var(--rep-vlak); border: 1px solid var(--rep-rand);
}
.rep-bewaren-ic {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rep-primair); color: #fff;
}
.rep-bewaren-ic svg { width: 19px; height: 19px; fill: currentColor; }
.rep-bewaren-item strong {
  display: block; font-family: 'Montserrat', sans-serif; font-size: 0.98rem;
  margin-bottom: 0.25rem; color: var(--text-primary, #1a1a1a);
}
.rep-bewaren-item p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--rep-tekst); }

@media (max-width: 760px) {
  .rep-bewaren { grid-template-columns: 1fr; }
  .rep-video-knop { width: 64px; height: 64px; }
  .rep-video-knop svg { width: 26px; height: 26px; }
}
