/*
Theme Name: Rhodé Gerrits
Template: twentytwentyfive
Description: Child-thema van Twenty Twenty-Five voor rhodegerrits.nl — crème, zwart, één rood accent; Amarante voor koppen, Cormorant Garamond voor citaten, Work Sans voor tekst.
Version: 1.1.0
Author: Heleen
Text Domain: rhode-gerrits
*/

.rg-kicker,
.rg-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}
.rg-label { color: var(--wp--preset--color--muted); }

/* Header */
.rg-header { padding: 20px var(--wp--preset--spacing--50); }
.rg-wordmark a { text-decoration: none; }
.rg-nav .wp-block-navigation-item__content {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
}
.rg-nav .current-menu-item > .wp-block-navigation-item__content {
  border-bottom: 1px solid var(--wp--preset--color--ink);
}

/* Hero */
.rg-hero .rg-hero-title {
  font-size: clamp(52px, 9vw, 116px);
  line-height: 1;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.rg-hero .rg-kicker { letter-spacing: 0.3em; }

/* Vier disciplines */
.rg-panels { gap: 0 !important; }
.rg-panels .wp-block-column { padding: 0; }
.rg-panel { position: relative; overflow: hidden; cursor: pointer; }
.rg-panel h2 {
  font-family: var(--wp--preset--font-family--cormorant);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw - 4px, 42px);
  line-height: 1.1;
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0;
  transition: color .3s ease;
  hyphens: manual;
}
.rg-panel h2 a { text-decoration: none; outline: none; box-shadow: none; }
.rg-panel h2 a:focus-visible { outline: 2px solid var(--wp--preset--color--rood); outline-offset: 4px; }
/* inzoomen bij hover */
.rg-panel .wp-block-cover__image-background,
.rg-panel .wp-block-cover__video-background {
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.rg-panel:hover .wp-block-cover__image-background,
.rg-panel:hover .wp-block-cover__video-background { transform: scale(1.06); }
.rg-panel .wp-block-cover__background { transition: opacity .4s ease; }
.rg-panel:hover .wp-block-cover__background { opacity: .35; }
.rg-panel:hover h2,
.rg-panel:hover h2 a { color: var(--wp--preset--color--rood); }
.rg-panel h2 a { color: inherit; transition: color .3s ease; }
.rg-panel .wp-block-cover__inner-container { padding: 28px; }
@media (hover: none) { .rg-panel:hover .wp-block-cover__image-background { transform: none; } }
@media (max-width: 781px) { .rg-panel h2 { font-size: 30px; } }

/* Disciplinepagina */
.rg-page-title h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
}
.rg-intro { font-size: 17px; max-width: 640px; }

.rg-steps h3,
.rg-packages h3 {
  font-size: 22px;
  margin: 0 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--wp--preset--color--ink);
}
.rg-packages .is-recommended h3 {
  color: var(--wp--preset--color--rood);
  border-top-color: var(--wp--preset--color--rood);
}
.rg-price {
  font-family: var(--wp--preset--font-family--cormorant);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  margin: 8px 0 16px;
}
.rg-packages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}
.rg-packages li { margin-bottom: 6px; }

.rg-terms {
  font-size: 13px;
  color: var(--wp--preset--color--muted);
  border-top: 1px solid var(--wp--preset--color--line);
  padding-top: 16px;
}

/* Persoonlijke shoot (sectie op de castingpagina) */
.rg-personal-lead { margin-top: 0; margin-bottom: 0; }
.rg-personal-lead img { width: 100%; }
.rg-personal h2 { margin: 0 0 12px; }
.rg-personal .rg-intro { margin: 0; }
.rg-personal-gallery { gap: 16px; }
@media (max-width: 781px) {
  .rg-personal-lead img { aspect-ratio: 4 / 3 !important; }
}

/* Speelse galerij */
.rg-play-row .wp-block-image { margin: 0; }
.rg-play-row .wp-block-image img { width: 100%; display: block; }
.rg-play-row .rg-quote { margin: 0; padding-left: clamp(0px, 4vw, 48px); }
.rg-play-row .rg-label { margin-bottom: 8px; }
.rg-play-row p:not(.rg-label):not(.rg-quote) { max-width: 420px; }
@media (max-width: 781px) {
  .rg-play-row .rg-quote { padding: 16px 0 8px; }
}

/* Postergalerij */
.rg-poster-row .wp-block-image.rg-poster { margin: 0; }
.rg-poster-row .rg-poster img { width: 100%; display: block; box-shadow: 0 1px 2px rgba(23,21,15,.08), 0 12px 32px -16px rgba(23,21,15,.35); }
.rg-poster-row .rg-poster figcaption { font-size: 13px; color: var(--wp--preset--color--muted); text-align: left; margin-top: 10px; }
.rg-poster-row h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 12px; }
.rg-poster-row .rg-label { margin-bottom: 8px; }
.rg-poster-row p:not(.rg-label) { max-width: 400px; }
.rg-poster-row .wp-block-column.is-vertically-aligned-center { padding-left: clamp(0px, 3vw, 40px); }
.rg-poster-row .wp-block-column:first-child.is-vertically-aligned-center { padding-left: 0; padding-right: clamp(0px, 3vw, 40px); }
@media (max-width: 781px) {
  .rg-poster-row .wp-block-column.is-vertically-aligned-center { padding: 8px 0 16px !important; }
}

/* Vrije galerij (persoonlijk) */
.rg-free-row .wp-block-image.rg-free { margin: 0; }
.rg-free-row .rg-free img { width: 100%; display: block; }
.rg-free-row .rg-quote { margin: 0; padding-right: clamp(0px, 3vw, 40px); }
.rg-free-row .rg-label { margin-bottom: 8px; }
.rg-free-row p:not(.rg-label):not(.rg-quote) { max-width: 400px; }
.rg-free-row .wp-block-column:last-child.is-vertically-aligned-center { padding-left: clamp(0px, 3vw, 40px); }
@media (max-width: 781px) {
  .rg-free-row .wp-block-column.is-vertically-aligned-center { padding: 8px 0 16px !important; }
  .rg-free-row:has(> .wp-block-column:nth-child(4)) { flex-wrap: wrap !important; }
  .rg-free-row:has(> .wp-block-column:nth-child(4)) > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
}

/* Producties (acteurpagina) */
.rg-prod-row h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 10px; }
.rg-prod-row .rg-credits { font-size: 14px; line-height: 1.5; color: var(--wp--preset--color--muted); margin: 0 0 12px; }
.rg-prod-row .wp-block-column:first-child.is-vertically-aligned-bottom { padding-right: clamp(0px, 3vw, 40px); }
@media (max-width: 781px) {
  .rg-prod-row .wp-block-column.is-vertically-aligned-bottom { padding: 0 0 8px !important; }
}

/* CTA */
.rg-cta h2 { font-size: clamp(28px, 3.5vw, 40px); margin: 0; }
.rg-cta .wp-block-button__link { padding: 16px 28px; }

/* Citaat */
.rg-quote {
  font-family: var(--wp--preset--font-family--cormorant);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
}

/* Footer */
.rg-footer {
  border-top: 1px solid var(--wp--preset--color--line);
  padding: 32px var(--wp--preset--spacing--50);
  font-size: 13px;
}
.rg-footer a { text-decoration: none; }
.rg-footer .rg-footer-links a {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 28px;
}
.rg-footer .rg-small { color: var(--wp--preset--color--muted); font-size: 12px; }

/* Mobiel */
@media (max-width: 781px) {
  .rg-panels .wp-block-cover { min-height: 200px !important; }
  .rg-hero { min-height: 70vh !important; }
}

/* ---------- Fix: hero-video vult het hele vlak, geen strook eronder ---------- */
.rg-hero { overflow: hidden; padding: 0; }
.rg-hero .wp-block-cover__video-background,
.rg-hero .wp-block-cover__image-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* geen witruimte tussen hero en de vier vlakken */
.rg-hero + .rg-panels,
.rg-hero + .wp-block-spacer + .rg-panels { margin-top: 0 !important; }
.wp-block-post-content > .rg-hero { margin-bottom: 0 !important; }
