/*
Theme Name: veo
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: veo
*/

/* ─── Galerij (veo/galerij) — voorbeeldcomponent uit het NVPG-project ─── */
.veo-galerij { margin: 0; }
.veo-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;
}
.veo-galerij__item figure { margin: 0; }
.veo-galerij__item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}
.veo-galerij__caption { font-size: .875rem; opacity: .7; padding-top: 8px; }
.veo-galerij__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.veo-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;
}
.veo-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!) */
.veo-footer__cookie {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-decoration: underline; cursor: pointer;
}
.veo-footer__cookie:hover { color: var(--brand-primary); }

/* ─── "Bijgevoegde documenten" in artikelen: zelfde kaarten als de Documenten-pagina ───
   De import bracht een oud-site-widget mee; de markup is gemigreerd naar .doc-card
   (scripts/veo-fix-doc-widgets.php). Hier alleen de artikel-context-correcties. */
.article-content .article-docs { margin-top: 40px; }
.article-content .article-docs h3 {
  color: var(--purple-soft);
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}
.article-content .doc-group-list { grid-template-columns: 1fr; }  /* 1 kolom in de smalle leeskolom */
.article-content a.doc-card,
.article-content a.doc-card:hover { text-decoration: none; }      /* wint van .article-content a-onderstreping */
.article-content .doc-card-info h4 { margin: 0 0 4px; }

/* Oude-site CTA-knop in artikelcontent (import bracht `button-purple` mee, bestond
   nergens in de CSS → rendert als kale link). Hier als designknop gestyled. */
.article-content a.button-purple {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.article-content a.button-purple:hover { background: var(--purple-dark); color: #fff; text-decoration: none; }
