/*
Theme Name: Zorgvergoed
Description: Bare theme for zorgvergoed.nl. The pages are built by the Zorgvergoed plugin.
Author: Moonlight Multimedia
Version: 1.0
Text Domain: zorgvergoed
*/
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #17202a;
  background: #f6f8f9;
}

a {
  color: #085a56;
  text-underline-offset: 3px;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.2;
  margin: 0.4em 0 0.5em;
}

h2 {
  font-size: 1.3rem;
  margin: 1.8em 0 0.5em;
}

h3 {
  font-size: 1.05rem;
  margin: 1.2em 0 0.2em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #dde3e8;
}

.site-header__inner, .site-footer__inner, .zv-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 60px;
}

.site-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: #0b7a75;
  text-decoration: none;
}
.site-logo span {
  color: #17202a;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.site-nav a {
  color: #17202a;
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover {
  color: #0b7a75;
}

.site-main {
  padding: 12px 0 48px;
  min-height: 60vh;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #dde3e8;
  padding: 24px 0;
  font-size: 0.85rem;
  color: #5f6b76;
}
.site-footer a {
  color: inherit;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.breadcrumbs {
  font-size: 0.85rem;
  margin: 12px 0 0;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before {
  content: "›";
  margin: 0 8px;
  color: #5f6b76;
}
.breadcrumbs a {
  color: #5f6b76;
}

.zv-lead {
  font-size: 1.1rem;
  color: #5f6b76;
}

.zv-muted {
  color: #5f6b76;
  font-size: 0.9rem;
}

.zv-hero {
  padding: 32px 0 8px;
}

.zv-search {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.zv-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #dde3e8;
  border-radius: 10px;
  font: inherit;
}
.zv-search button {
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: #0b7a75;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.zv-search button:hover {
  background: #085a56;
}

.zv-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.zv-card {
  display: block;
  padding: 18px;
  background: #fff;
  border: 1px solid #dde3e8;
  border-radius: 10px;
  text-decoration: none;
  color: #17202a;
}
.zv-card strong {
  display: block;
  font-size: 1.1rem;
  color: #085a56;
}
.zv-card span {
  color: #5f6b76;
  font-size: 0.9rem;
}
.zv-card:hover {
  border-color: #0b7a75;
}

.zv-answer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #dde3e8;
  border-radius: 10px;
}
.zv-answer p {
  margin: 0;
  flex: 1 1 260px;
}

.zv-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  background: #e8edf1;
  color: #17202a;
}
.zv-badge--vergoed {
  background: #d9f2e3;
  color: #0d5c2e;
}
.zv-badge--voorwaarden {
  background: #fdf0cc;
  color: #6b4b00;
}
.zv-badge--aanvullend {
  background: #dfe9fb;
  color: #1c3f80;
}
.zv-badge--niet {
  background: #fbdcdc;
  color: #8a1c1c;
}

.zv-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.zv-list li {
  padding: 10px 0;
  border-bottom: 1px solid #dde3e8;
}

.zv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.zv-links a {
  display: block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #dde3e8;
  border-radius: 99px;
  text-decoration: none;
}
.zv-links a:hover {
  border-color: #0b7a75;
}

.zv-table-wrap {
  overflow-x: auto;
}

.zv-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #dde3e8;
}
.zv-table th, .zv-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #dde3e8;
}
.zv-table th {
  background: #f6f8f9;
}

.zv-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0;
}

.zv-split {
  margin: 20px 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #dde3e8;
  border-radius: 10px;
}
.zv-split figcaption {
  font-weight: 700;
  margin-bottom: 10px;
}

.zv-bar {
  display: flex;
  height: 28px;
  border-radius: 99px;
  overflow: hidden;
  background: #e8edf1;
}
.zv-bar--mini {
  display: flex;
  width: 110px;
  height: 10px;
}

.zv-bar__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 0;
}
.zv-bar__seg--covered {
  background: #1f9d63;
}
.zv-bar__seg--own {
  background: #e8873a;
}

.zv-split__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 0.9rem;
}
.zv-split__legend li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  background: #5f6b76;
}
.zv-split__legend .zv-split__covered::before {
  background: #1f9d63;
}
.zv-split__legend .zv-split__own::before {
  background: #e8873a;
}

.zv-col-bar {
  width: 130px;
}

.zv-quote {
  margin: 12px 0;
  padding: 12px 16px;
  background: #fff;
  border-left: 4px solid #0b7a75;
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
}
.zv-quote p {
  margin: 0 0 6px;
}
.zv-quote footer {
  color: #5f6b76;
  font-size: 0.82rem;
}
