/* ============================================================
   PharmaSwap – Zorgverzekeraars
   Laad dit bestand via je CMS als stylesheet,
   of plak de inhoud in je globale CSS.
   Alles is scoped onder #ps-insurers-root.
   ============================================================ */

#ps-insurers-root {
  --ps-green: #2DA87A;
  --ps-green-dark: #1e8a61;
  --ps-green-light: #eaf6f1;
  --ps-green-mid: #c2e5d5;
  --ps-text: black;
  --ps-muted: #587068;
  --ps-border: #d6ece2;
  --ps-white: #fdfffe;
  --ps-shadow: 0 2px 16px rgba(45, 168, 122, .07), 0 1px 4px rgba(0, 0, 0, .04);
  font-family: inherit;
  color: var(--ps-text);
  line-height: 1.6;
}

/* ── HERO ── */
.ps-hero {
  background: transparent;
  padding: 0;
  text-align: center;
  border-radius: 20px;
  margin-bottom: 50px;
}

.ps-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid var(--ps-border);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ps-green);
  margin-bottom: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ps-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ps-green);
}

.ps-hero h1 {
  font-size: 2em;
  font-weight: 700;
  color: var(--ps-text);
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto 16px;
  letter-spacing: -.01em;
}

.ps-hero h1 em {
  color: var(--ps-green);
  font-style: normal;
}

.ps-hero-lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
}

/* ── CONTEXT BLOK ── */
.ps-context {
  max-width: 800px;
  margin: 50px;
  background: white;
  border: 1px solid var(--ps-border);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: var(--ps-shadow);
}

.ps-context h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ps-context p {
  font-size: 16px;
  line-height: 1.78;
}

.ps-context p+p {
  margin-top: 12px;
}

.ps-context a {
  color: var(--ps-green);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ps-green-mid);
}

.ps-context a:hover {
  border-bottom-color: var(--ps-green);
}

/* ── SECTION HEADER ── */
.ps-section-head {
  text-align: center;
  margin-bottom: 32px;
}

.ps-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ps-green);
  margin-bottom: 6px;
}

.ps-section-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--ps-text);
  margin-bottom: 8px;
}

.ps-section-sub {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* ── ACCORDION ── */
.ps-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-acc-item {
  background: white;
  border: 1.5px solid var(--ps-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}

.ps-acc-item.ps-open {
  border-color: var(--ps-green-mid);
  box-shadow: 0 4px 24px rgba(45, 168, 122, .10);
}

.ps-acc-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.ps-acc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .03em;
  transition: transform .15s;
}

.ps-acc-item.ps-open .ps-acc-avatar {
  transform: scale(1.05);
}

.ps-acc-meta {
  flex: 1;
  min-width: 0;
}

.ps-acc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ps-text);
}

.ps-acc-years {
  font-size: 12px;
  color: var(--ps-muted);
  margin-top: 2px;
}

.ps-acc-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ps-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .22s;
}

.ps-acc-item.ps-open .ps-acc-chevron {
  background: var(--ps-green);
  transform: rotate(180deg);
}

.ps-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s cubic-bezier(.4, 0, .2, 1);
}

.ps-acc-item.ps-open .ps-acc-body {
  grid-template-rows: 1fr;
}

.ps-acc-body-inner {
  overflow: hidden;
}

.ps-acc-body-pad {
  padding: 22px 22px 26px;
  border-top: 1px solid var(--ps-border);
}

/* ── YEAR TABS ── */
.ps-year-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ps-year-tab {
  padding: 5px 15px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border: 1.5px solid var(--ps-border);
  background: transparent;
  color: var(--ps-muted);
  cursor: pointer;
  transition: all .14s;
}

.ps-year-tab.ps-active {
  background: var(--ps-green);
  border-color: var(--ps-green);
  color: white;
}

.ps-year-tab:hover:not(.ps-active) {
  border-color: var(--ps-green);
  color: var(--ps-green);
}

/* ── CHECKLIST ── */
.ps-cond-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-cond-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--ps-text);
  line-height: 1.55;
  margin: 0;
}

.ps-cond-check {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: var(--ps-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ps-cond-check svg {
  width: 11px;
  height: 11px;
}

/* ── WARNING BOX ── */
.ps-warn-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fffbef;
  border: 1px solid #e8d48e;
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #6e510f;
  line-height: 1.6;
}

.ps-warn-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #7a5c14;
}

/* ── CERT BOX ── */
.ps-cert-box {
  background: var(--ps-green-light);
  border: 1px solid var(--ps-green-mid);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.ps-cert-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ps-text);
  margin-bottom: 8px;
}

.ps-cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-cert-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ps-muted);
  margin: 0;
}

.ps-cert-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ps-green);
  flex-shrink: 0;
}

/* ── INFO BOX ── */
.ps-info-box {
  background: var(--ps-green-light);
  border: 1px solid var(--ps-green-mid);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--ps-green-dark);
  line-height: 1.65;
}

/* ── DETAIL LINK ── */
.ps-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ps-green);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ps-green-mid);
  padding-bottom: 1px;
  transition: border-color .14s;
}

.ps-detail-link:hover {
  border-bottom-color: var(--ps-green);
}

.ps-acc-chevron svg {
    color: white;
}

.ps-acc-avatar {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: white;
  transition: transform .15s;
}

p.ps-acc-year-label.scnd {
    margin-bottom: 5px;
    font-weight: 500;
}

.ps-acc-year-label {
    font-weight: 600;
}

.ps-acc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ps-note {
  line-height: 1.6;
  margin: 0 0 16px;
  color: #000000;
  line-height: 28px;
  font-size: 18px;
  font-family: Inter;
}

.ps-context p em {
    font-family: 'Inter';
}

.ps-acc-body-pad span {
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 500;
}

a.ps-detail-link.certificaat {
    display: inline-flex;
    align-items: center;
    gap: unset;
    color: unset;
    text-decoration: underline;
    border-bottom: unset;
    padding-bottom: 0;
    transition: unset;
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  .ps-context {
    padding: 24px 20px;
  }

  p.ps-acc-year-label.scnd {
    margin-bottom: 5px;
}

.ps-hero {
    margin: 0;
    padding: 0;
}

.ps-context {
    margin: 50px 0px;
}

  .ps-hero {
    padding: 44px 18px 40px;
  }

  .ps-acc-body-pad {
    padding-left: 16px;
    padding-right: 16px;
  }
}