/* Activiteitenpaneel: herbruikbare kaart voor de eerstvolgende activiteit in de hero.
   Kleur per activiteit via --act-accent (gezet vanuit het veld "accent"). */

.act-paneel {
  --act-accent: #7a3b8f;
  --act-ink: #1d1a1f;
  --act-text: #2a2630;
  --act-muted: #6c6672;
  --act-stamp: #3d6b45;

  background: rgba(247, 240, 228, .94);
  color: var(--act-text);
  border-radius: 20px;
  padding: 30px 34px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Inter, system-ui, sans-serif;
}
.act-paneel[hidden] { display: none; }

/* — EERSTVOLGENDE ACTIVITEIT — */
.act-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #7a7266;
}
.act-kicker::before,
.act-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .35;
}

.act-titel {
  margin: 12px 0 16px;
  font: italic 800 clamp(36px, 3.6vw, 58px)/1 Fraunces, Georgia, serif;
  color: var(--act-accent);
  text-wrap: balance;
}
.act-titel.is-lang { font-size: clamp(30px, 2.8vw, 44px); }

.act-datum {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--act-ink);
  color: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 600;
}
.act-datum::before,
.act-datum::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--act-accent);
}

.act-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
  font-size: 14px;
}
.act-stempel {
  display: inline-block;
  background: var(--act-stamp);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  transform: rotate(-3deg);
}

.act-knoppen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.act-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid transparent;
}
/* :hover expliciet herhaald zodat een globale "a:hover { color: … }" de knoppen niet overschrijft */
.act-knop--primair,
.act-knop--primair:hover { background: var(--act-accent); color: #fff; }
.act-knop--secundair,
.act-knop--secundair:hover { background: transparent; color: var(--act-text); border-color: #cfc7b8; }
.act-knop--primair:hover { filter: brightness(.92); }
.act-knop--secundair:hover { background: rgba(0, 0, 0, .05); }

.act-details {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, .1);
  width: 100%;
  font-size: 12.5px;
  color: var(--act-muted);
}

/* Flyer-lichtbak (<dialog>) */
.act-flyer {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 96vw;
  max-height: 96vh;
  overflow: visible;
}
.act-flyer::backdrop { background: rgba(15, 12, 10, .82); }
.act-flyer[open] { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: act-flyer-in .18s ease-out; }
@keyframes act-flyer-in { from { opacity: 0; transform: scale(.97); } }
.act-flyer-img {
  display: block;
  max-width: 96vw;
  max-height: calc(96vh - 48px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  background: #f5e6cc;
}
.act-flyer-sluit {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #1d1a1f;
  font: 600 24px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.act-flyer-links { display: flex; gap: 18px; font: 500 14px Inter, system-ui, sans-serif; }
.act-flyer-links a,
.act-flyer-links a:hover { color: #fff; text-underline-offset: 3px; }
.act-flyer-links[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .act-flyer[open] { animation: none; } }

/* Gsm */
@media (max-width: 640px) {
  .act-flyer-sluit { top: 6px; right: 6px; }
}
@media (max-width: 640px) {
  .act-paneel { padding: 20px 18px 18px; border-radius: 16px; }
  .act-kicker { font-size: 10px; letter-spacing: .22em; }
  .act-titel { font-size: 38px; margin: 8px 0 12px; }
  .act-titel.is-lang { font-size: 30px; }
  .act-knoppen { display: grid; grid-template-columns: 1fr; width: 100%; gap: 8px; }
  .act-knop { padding: 12px; }
}
