/* Gedeelde informatiepagina's in de stijl van Huisregels - r398 */
#main.info-page {
  min-width: 0;
  margin-bottom: 0;
}

#main.info-page,
#main.info-page * {
  box-sizing: border-box;
}

.info-page .help-hero-mark span {
  color: #fff;
  font-size: clamp(54px, 8vw, 78px);
  font-weight: 900;
  line-height: 1;
}

.info-section {
  position: relative;
}

.info-section-heading-note {
  max-width: 390px;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  min-width: 0;
  padding: 21px;
  border: 1px solid #D6DCE4;
  border-radius: 11px;
  background: #fff;
  color: #273A54;
  box-shadow: 0 2px 7px rgba(23, 43, 70, .06);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.info-card:hover {
  border-color: rgba(var(--help-blue-rgb), .28);
  background: #F8FBF9;
  box-shadow: 0 4px 10px rgba(23, 43, 70, .08);
}

.info-card h2,
.info-card h3,
.info-side-card h2,
.info-side-card h3 {
  margin: 0 0 9px;
  color: #183B22;
  line-height: 1.25;
}

.info-card h2 { font-size: 20px; }
.info-card h3 { font-size: 18px; }

.info-card p,
.info-card li,
.info-side-card p,
.info-side-card li {
  color: #5F6C7D;
  font-size: 15px;
  line-height: 1.65;
}

.info-card p:first-child,
.info-card ul:first-child,
.info-card ol:first-child { margin-top: 0; }
.info-card p:last-child,
.info-card ul:last-child,
.info-card ol:last-child { margin-bottom: 0; }

.info-card ul,
.info-card ol {
  padding-left: 22px;
}

.info-card li + li { margin-top: 7px; }

.info-card img,
.info-side-card img {
  max-width: 100%;
  height: auto;
}

.info-card a,
.info-side-card a {
  color: var(--help-blue-dark);
  font-weight: 700;
}

.info-card-feature {
  grid-column: 1 / -1;
  padding: 24px;
}

.info-card-badge {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  margin-bottom: 14px;
  padding: 0 13px;
  border: 1px solid rgba(var(--help-blue-rgb), .2);
  border-radius: 12px;
  background: var(--help-blue-soft);
  color: var(--help-blue-dark);
  font-size: 19px;
  font-weight: 900;
}

.info-side-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #D6DCE4;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(23, 43, 70, .06);
}

.info-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed #C7D0DB;
  border-radius: 9px;
  background: #F5F7F9;
  color: #697586;
  font-size: 14px;
}

/* Servicevoorwaarden */
.legal-intro { margin-bottom: 14px; }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.legal-articles {
  display: grid;
  gap: 14px;
}

.legal-card {
  scroll-margin-top: 18px;
}

.legal-card h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid #E2E6EB;
}

.legal-toc {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  scrollbar-gutter: stable;
}

.legal-toc nav {
  display: grid;
  gap: 5px;
}

.legal-toc nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: #536174;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color .15s ease, color .15s ease;
}

.legal-toc nav a:hover,
.legal-toc nav a:focus-visible {
  background: var(--help-blue-soft);
  color: var(--help-blue-dark);
  outline: none;
}

/* Helpdesk */
.helpdesk-card-grid {
  align-items: stretch;
}

.helpdesk-card button {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 30px;
  margin: 0 3px;
  padding: 0 8px;
  border: 1px solid #CCD3DC;
  border-radius: 7px;
  background: #F3F5F7;
  color: #273A54;
  vertical-align: middle;
}

.helpdesk-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.helpdesk-status-card ol {
  margin-bottom: 0;
}

.helpdesk-status-card.is-done .info-card-badge {
  background: #EAF8EC;
}

/* Over ons */
.about-history-grid {
  counter-reset: about-step;
}

.about-history-card {
  position: relative;
  padding-top: 76px;
}

.about-history-card::before {
  counter-increment: about-step;
  content: counter(about-step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--help-blue-rgb), .2);
  border-radius: 11px;
  background: var(--help-blue-soft);
  color: var(--help-blue-dark);
  font-size: 14px;
  font-weight: 900;
}

/* Vrijwaring */
.disclaimer-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.disclaimer-card .info-card-badge {
  margin: 0;
  width: 54px;
  height: 54px;
}

/* Webmaster */
.webmaster-feed {
  display: grid;
  gap: 14px;
}

.webmaster-message {
  padding: 22px;
}

.webmaster-message time {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #EEF2F5;
  color: #697586;
  font-size: 12px;
  font-weight: 700;
}

.webmaster-message-body > :first-child { margin-top: 0; }
.webmaster-message-body > :last-child { margin-bottom: 0; }

/* Portemonnee */
.wallet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 14px;
}

.wallet-bank-card {
  background: #fff;
}

.wallet-bank-details {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.wallet-bank-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #E2E6EB;
}

.wallet-bank-row dt {
  color: #697586;
  font-size: 13px;
  font-weight: 700;
}

.wallet-bank-row dd {
  margin: 0;
  color: #183B22;
  font-size: 15px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Statistieken in dezelfde huisregelsstijl */
.statistics-page #main.statistics-info-page {
  display: block;
}

.statistics-info-page .statistics-hero {
  display: grid;
  padding: clamp(28px, 5vw, 52px);
  border-color: rgba(var(--help-blue-rgb), .34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.34), transparent 28%),
    linear-gradient(135deg, var(--help-blue-dark) 0%, var(--help-blue) 58%, #63D474 100%);
  box-shadow: 0 12px 30px rgba(var(--help-blue-rgb), .22);
}

.statistics-hero-side {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.statistics-info-page #statisticsGeneratedAt {
  max-width: 180px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
  color: #fff;
  text-align: center;
}

.statistics-info-page .statistics-card-grid,
.statistics-info-page .statistics-grid-two,
.statistics-info-page .statistics-mini-grid {
  gap: 14px;
}

.statistics-info-page .statistics-card,
.statistics-info-page .statistics-panel {
  border: 1px solid #D6DCE4;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(23,43,70,.06);
}

.statistics-info-page .statistics-card {
  min-height: 98px;
  padding: 18px;
}

.statistics-info-page .statistics-card strong {
  color: var(--help-blue-dark);
  font-size: 28px;
}

.statistics-info-page .statistics-card span {
  color: #183B22;
  font-size: 15px;
}

.statistics-info-page .statistics-card small,
.statistics-info-page .statistics-panel header small,
.statistics-info-page .statistics-profile-list small,
.statistics-info-page .statistics-score-list small {
  color: #697586;
}

.statistics-info-page .statistics-panel {
  padding: 20px;
}

.statistics-info-page .statistics-panel header {
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E6EB;
}

.statistics-info-page .statistics-panel h2 {
  color: #183B22;
  font-size: 19px;
}

.statistics-info-page .statistics-panel h3 {
  color: var(--help-blue-dark);
}

.statistics-info-page .statistics-bar-track span {
  background: linear-gradient(90deg, var(--help-blue-dark), #63D474);
}

.statistics-info-page .statistics-profile-list a,
.statistics-info-page .statistics-score-list li {
  border: 1px solid #E0E5EA;
  background: #F6F8FA;
}

.statistics-info-page .statistics-score-list b {
  color: var(--help-blue-dark);
}

.statistics-table-wrap {
  overflow-x: auto;
}

@media (max-width: 940px) {
  .legal-layout,
  .wallet-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    order: -1;
    max-height: none;
    overflow: visible;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .helpdesk-status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .info-card-grid {
    grid-template-columns: 1fr;
  }

  .info-card-feature {
    grid-column: auto;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .statistics-info-page .statistics-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .info-card,
  .info-side-card {
    padding: 17px 15px;
  }

  .disclaimer-card {
    grid-template-columns: 1fr;
  }

  .wallet-bank-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
