/* Nieuwe pagina's: credits, in het nieuws, blog, lesmateriaal, nieuwe
   spreekwoorden en cadeau. Gebruikt de kleurvariabelen van de thema's, zodat
   donker, blauw, groen en roze vanzelf meedoen. */

.pagina {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 0 48px;
}

.pagina-kop {
  text-align: center;
  margin-bottom: 32px;
}

.pagina-kop h1 {
  margin: 0 0 8px;
}

.pagina-kop p {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.8;
  line-height: 1.6;
}

.voorbeeld-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(var(--primary-color-rgb, 74, 144, 217), 0.12);
  color: var(--primary-color, #4a90d9);
}

.tegel-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.tegel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 16px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.tegel:hover,
a.tegel:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.tegel h2,
.tegel h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.tegel p {
  margin: 0;
  line-height: 1.55;
  opacity: 0.85;
}

.tegel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.tegel-icoon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
  background: rgba(var(--primary-color-rgb, 74, 144, 217), 0.12);
  color: var(--primary-color, #4a90d9);
}

.tegel-voet {
  margin-top: auto;
  padding-top: 8px;
}

/* Credits */
.credit {
  align-items: center;
  text-align: center;
}

.credit-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color, #4a90d9);
}

/* In het nieuws */
.nieuws-soort {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.nieuws-soort.radio { background: #e07a5f; }
.nieuws-soort.artikel { background: #3d5a80; }
.nieuws-soort.youtube { background: #c4302b; }
.nieuws-soort.instagram { background: #c13584; }

.kanalen {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

.kanaal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
  background: var(--card-bg, #fff);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

/* Blog */
.blog-artikel {
  max-width: 720px;
  margin: 0 auto;
}

.blog-artikel h1 {
  margin: 8px 0 12px;
}

.blog-artikel .intro {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.85;
}

.blog-artikel p {
  line-height: 1.75;
}

.terug-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--primary-color, #4a90d9);
  text-decoration: none;
  font-weight: 600;
}

/* Knoppen */
.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: var(--primary-color, #4a90d9);
  transition: filter 0.15s ease;
}

.knop:hover { filter: brightness(1.08); }
.knop:disabled { opacity: 0.5; cursor: not-allowed; }

.knop.licht {
  color: var(--primary-color, #4a90d9);
  background: rgba(var(--primary-color-rgb, 74, 144, 217), 0.12);
}

/* Nieuwe spreekwoorden (homepage en eigen pagina). De letterknoppen zijn
   dezelfde .category-card als bij Categorieën; de gekozen letter krijgt een rand. */
.category-card.gekozen {
  box-shadow: 0 0 0 3px var(--primary-color, #4a90d9);
}

.nieuwe-spreekwoorden-intro {
  max-width: 640px;
  margin: -8px auto 20px;
  text-align: center;
  opacity: 0.8;
  line-height: 1.6;
}

.midden {
  text-align: center;
  margin-top: 24px;
}

/* Een nieuw spreekwoord zonder plaatje: de tekst krijgt wat meer lucht,
   zodat de kaart niet leeg oogt naast kaarten met een illustratie. */
.nieuw-spreekwoord-kaart .proverb-content {
  gap: 14px;
  padding-bottom: 20px;
}

.nieuw-spreekwoord-kaart .proverb-text-top {
  font-size: 1.15rem;
}

/* Formulieren (insturen en cadeau) */
.formulier {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.veld {
  display: grid;
  gap: 6px;
}

.veld label {
  font-weight: 600;
}

.veld input,
.veld textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.15));
  background: var(--card-bg, #fff);
  color: inherit;
  font: inherit;
}

.veld-uitleg {
  font-size: 0.85rem;
  line-height: 1.45;
  opacity: 0.7;
}

.veld textarea {
  min-height: 96px;
  resize: vertical;
}

.melding-demo {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(var(--primary-color-rgb, 74, 144, 217), 0.1);
  line-height: 1.5;
}

/* Cadeau */
.cadeau-stap {
  margin: 0 0 28px;
}

.cadeau-stap h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.stap-nummer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.9rem;
  color: #fff;
  background: var(--primary-color, #4a90d9);
}

.keuzes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.keuze input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.keuze .tegel {
  height: 100%;
  cursor: pointer;
}

.keuze input:checked + .tegel {
  border-color: var(--primary-color, #4a90d9);
  box-shadow: 0 0 0 2px var(--primary-color, #4a90d9);
}

.keuze input:focus-visible + .tegel {
  outline: 2px solid var(--primary-color, #4a90d9);
  outline-offset: 2px;
}

.keuze .prijs {
  font-size: 1.3rem;
  font-weight: 800;
}

.nieuw-label {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #2a9d8f;
}

.cadeau-totaal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.cadeau-totaal .bedrag {
  font-size: 1.6rem;
  font-weight: 800;
}

/* Footer: extra links naar de nieuwe pagina's */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Cadeaucode: groot en goed leesbaar, om over te schrijven op een kaartje */
.cadeau-code {
  display: inline-block;
  margin: 6px 0;
  padding: 12px 20px;
  border: 2px dashed var(--primary-color, #4a90d9);
  border-radius: 12px;
  font-family: "Courier New", monospace;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.cadeau-code-invoer {
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
