/* ============================================================
   footer.css — Footer with CTA row and always-visible link grid
   opleidingindezorg.nl
   WORDPRESS TEMPLATE: footer.php
   ============================================================ */

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
  margin-top: var(--space-xl);
}

/* ---------- Footer CTA row ---------- */
.footer__cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer__cta-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-lg) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
}
.footer__cta-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  color: #fff;
}
.footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Link grid (always expanded) ---------- */
.footer__grid { width: 100%; }
.footer__grid-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-xl) var(--gutter) var(--space-lg);
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
.footer__col { min-width: 0; }
.footer__heading {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer__links { list-style: none; display: grid; gap: 8px; }
.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration) var(--ease-smooth);
}
.footer__link:hover { color: #fff; }
.footer__link--cta { color: var(--teal-light); font-weight: 600; }
.footer__link--cta:hover { color: #fff; }
.footer__link--strong { color: #fff; font-weight: 600; }

/* ---------- Bottom bar (always visible) ---------- */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__bottom-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__logo {
  height: 30px;
  width: auto;
  display: block;
}
.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.footer__legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer__legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sitemap ---------- */
.footer__sitemap { border-top: 1px solid rgba(255, 255, 255, 0.10); }
.footer__sitemap-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-lg) var(--gutter);
}
.footer__sitemap-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}
.footer__sitemap-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
.footer__sitemap-group {
  display: grid;
  gap: 5px;
  align-content: start;
}
.footer__sitemap-head {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.footer__sitemap-group a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__sitemap-group a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .footer__grid-inner { grid-template-columns: repeat(2, 1fr); }
  .footer__sitemap-grid { grid-template-columns: repeat(3, 1fr); }
  /* On tablet: hide the per-organisation links, keep only 'Alle zorgorganisaties' */
  .footer__org-detail { display: none; }
}
@media (min-width: 1024px) {
  .footer__grid-inner { grid-template-columns: repeat(5, 1fr); }
  .footer__sitemap-grid { grid-template-columns: repeat(6, 1fr); }
  .footer__org-detail { display: list-item; }
}
