.rhvo {
  --purple: #65166f;
  --purple-dark: #25102c;
  --gold: #c59a48;
  --paper: #f7f3e9;
  --ink: #2b2b2b;
  --line: #e7ddc9;
  color: var(--ink);
  margin: 1.5em 0;
}

/* --- Hero --------------------------------------------------------------- */
.rhvo-hero {
  position: relative;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  border-radius: 12px;
  padding: 2.4em 1.5em 2em;
  margin-bottom: 1.5em;
  overflow: hidden;
}
.rhvo-hero-kicker {
  margin: 0 0 .2em;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 13px;
  color: var(--gold);
}
.rhvo .rhvo-hero-title {
  margin: 0;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}
.rhvo .rhvo-hero-title span { display: block; color: var(--gold); }
.rhvo-hero .rhvo-crown { width: 34px; height: 28px; margin: .5em auto .3em; display: block; }
.rhvo-hero-intro {
  max-width: 640px;
  margin: .5em auto 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.rhvo-hero-intro p { margin: 0 0 .5em; }
.rhvo-hero-intro p:last-child { margin-bottom: 0; }

/* --- Tijdlijn ----------------------------------------------------------- */
.rhvo-timeline {
  position: relative;
  border-left: 3px solid var(--line);
  margin-left: 8px;
  padding-left: 20px;
}
.rhvo-decade {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--purple);
  margin: 1.6em 0 .8em -20px;
  padding-left: 20px;
  position: relative;
}
.rhvo-decade:first-child { margin-top: 0; }
.rhvo-decade::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.rhvo-year {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.rhvo-year::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple);
}
.rhvo-year-num {
  margin: 0 0 .5em;
  font-size: 30px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}
.rhvo-year-note {
  margin: 0;
  font-style: italic;
  color: #6b6355;
}

/* Gelijke kolommen die netjes uitlijnen en naar een extra rij wrappen als ze
   niet passen. auto-fill houdt de kolombreedte gelijk (ook lege tracks). */
.rhvo-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px 18px;
}
.rhvo-cat { min-width: 0; }
.rhvo-cat-title {
  margin: 0 0 .3em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
}
/* !important overschrijft de standaard ul-marge/padding van het thema. */
.rhvo .rhvo-players-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.rhvo .rhvo-players-list li::before,
.rhvo .rhvo-players-list li::marker { content: none; }
/* [kroon-gutter][naam]: alle namen beginnen op dezelfde hoogte/x. */
.rhvo .rhvo-name-line {
  list-style: none;
  display: grid;
  grid-template-columns: 1.1em 1fr;
  align-items: baseline;
  padding: 1px 0;
  line-height: 1.4;
}
.rhvo-crown-slot { display: inline-flex; align-items: center; }
.rhvo-name--king { font-weight: 700; }
.rhvo-crown {
  width: .9em;
  height: .72em;
  fill: var(--gold);
}

/* --- Foto's (thumbnail + native modal) --------------------------------- */
/* Categorie-kolom als flex-kolom zodat foto's onderaan uitlijnen. */
.rhvo-cat { display: flex; flex-direction: column; }
.rhvo-cat-photos {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.rhvo-year-photos {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rhvo-photo { margin: 0; }
.rhvo-thumb { display: inline-block; cursor: zoom-in; line-height: 0; }
.rhvo-thumb-img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}
/* Jaar-brede foto als grid-item: rechts uitgelijnd (1/2 kolommen) of nieuwe
   rij (volledige breedte). De afbeelding vult de toegewezen ruimte. */
.rhvo-year-photo { align-self: start; }
.rhvo-year-photo--1col { grid-column: -2 / -1; }
.rhvo-year-photo--2col { grid-column: -3 / -1; }
.rhvo-year-photo--full { grid-column: 1 / -1; }
.rhvo-year-photo .rhvo-thumb { display: block; }
.rhvo-year-photo .rhvo-thumb-img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* Buiten het grid (jaar zonder uitslagen): gewoon volledige breedte. */
.rhvo-year-photos .rhvo-year-photo { width: 100%; }
.rhvo-year-photos .rhvo-thumb-img { max-width: 100%; height: auto; }

/* Native modal via een verborgen checkbox. */
.rhvo-modal-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rhvo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
}
.rhvo-modal-toggle:checked ~ .rhvo-modal { display: flex; }
.rhvo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 24, 0.85);
  cursor: zoom-out;
}
.rhvo-modal-box {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  text-align: center;
}
.rhvo-modal-img {
  display: block;
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.rhvo-modal-caption {
  display: block;
  margin-top: .6em;
  color: #f7f3e9;
  font-style: italic;
  font-size: 15px;
}
.rhvo-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--purple-dark);
  font-size: 22px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* --- Meer laden --------------------------------------------------------- */
.rhvo-extra { display: none; }
.rhvo.is-expanded .rhvo-extra { display: block; }
.rhvo-more-wrap { text-align: center; margin: 1.2em 0; }
.rhvo-more {
  background: var(--purple);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.rhvo-more:hover { background: var(--purple-dark); }

@media (max-width: 600px) {
  .rhvo-timeline { padding-left: 14px; margin-left: 4px; }
  .rhvo-year { padding: 12px 14px; }
  .rhvo-year::before { left: -20px; }
  .rhvo-cats { grid-template-columns: 1fr; gap: 10px; }
  .rhvo-cat { grid-column: auto; }
  /* Op mobiel altijd volle (enige) kolom voor de jaar-brede foto. */
  .rhvo-year-photo--1col,
  .rhvo-year-photo--2col,
  .rhvo-year-photo--full { grid-column: 1 / -1; }
}
