/*
Theme Name: centrumgeldermalsen
Theme URI: https://webright.nl/
Author: Webright
Description: Webright WP Starter — Blockstudio 7-thema. Designer-CSS hoort verbatim in assets/styles.css; dit bestand bevat ALLEEN additieve styling voor nieuwe componenten, gebouwd op de brand-tokens uit assets/brand.css.
Version: 1.0.0
Requires PHP: 8.2
Text Domain: centrumgeldermalsen
*/

/* ─── Galerij (centrumgeldermalsen/galerij) — voorbeeldcomponent uit het NVPG-project ─── */
.centrumgeldermalsen-galerij { margin: 0; }
.centrumgeldermalsen-galerij__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* auto-fit: lege tracks klappen in → altijd volle, gebalanceerde rijen (ook tablet) */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.centrumgeldermalsen-galerij__item figure { margin: 0; }
.centrumgeldermalsen-galerij__item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}
.centrumgeldermalsen-galerij__caption { font-size: .875rem; opacity: .7; padding-top: 8px; }
.centrumgeldermalsen-galerij__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.centrumgeldermalsen-galerij__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: background-color .2s ease;
}
.centrumgeldermalsen-galerij__btn:hover { background: var(--brand-dark); }

/* ─── CookieYes: huisstijl + geen zwevende revisit-widget ─── */
.cky-btn-revisit-wrapper { display: none !important; } /* heropenen via de footer-knop */
.cky-btn { border-radius: 999px !important; font-weight: 700 !important; }
.cky-btn-accept { background: var(--brand-primary) !important; border-color: var(--brand-primary) !important; }
.cky-btn-accept:hover { background: var(--brand-dark) !important; border-color: var(--brand-dark) !important; }
.cky-btn-reject, .cky-btn-customize { color: var(--brand-dark) !important; border-color: var(--brand-dark) !important; }

/* footer-knop die het CookieYes-voorkeurencentrum heropent (class is de API!) */
.centrumgeldermalsen-footer__cookie {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-decoration: underline; cursor: pointer;
}
.centrumgeldermalsen-footer__cookie:hover { color: var(--brand-primary); }
