/* KBC 1911 - Discipline pagina's (Libre / Driebanden / Bandstoten) */

.kbc-disc-page * { box-sizing: border-box; }

/* Container */
.kbc-disc-container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Header - zelfde stijl als andere pagina's */
.kbc-disc-page .kbc-news-breadcrumb { display: none !important; }
.kbc-disc-header { background: #fff; padding: 40px 0 28px; margin-bottom: 0; }
.kbc-disc-title { font: 700 42px/1.05 "Schibsted Grotesk",sans-serif; color: #14507a; margin: 8px 0 6px; }
.kbc-disc-sub { font: 400 15px/1.5 "Source Sans 3",sans-serif; color: #9a9a9a; margin: 0 0 0; }

/* Tabs */
.kbc-disc-tabs { display: flex; gap: 6px; padding: 24px 0 0; border-bottom: 2px solid rgba(49,149,207,.15); margin-bottom: 36px; flex-wrap: wrap; }
.kbc-disc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 10px 10px 0 0; font: 600 14.5px/1 "Source Sans 3",sans-serif; color: #4a4a4a; text-decoration: none; border: 1px solid transparent; border-bottom: none; transition: background .15s, color .15s; margin-bottom: -2px; }
.kbc-disc-tab:hover { background: rgba(49,149,207,.08); color: #14507a; }
.kbc-disc-tab--active { background: #fff; color: #3195CF; border-color: rgba(49,149,207,.20); border-bottom: 2px solid #fff; font-weight: 700; }

/* Sectie */
.kbc-disc-section { padding-bottom: 40px; }
.kbc-disc-section-title { font: 700 19px/1.2 "Schibsted Grotesk",sans-serif; color: #14507a; margin: 0 0 16px; }
.kbc-disc-empty { color: #9a9a9a; font-size: 15px; padding: 40px 0; text-align: center; }

/* Tabel */
.kbc-disc-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(49,149,207,.12); box-shadow: 0 2px 12px rgba(20,50,75,.06); }
.kbc-disc-table { width: 100%; border-collapse: collapse; font: 400 15px/1.4 "Source Sans 3",sans-serif; background: #fff; }
.kbc-disc-table thead tr { background: linear-gradient(108deg,#34485a 0%,#5c7488 100%); }
.kbc-disc-table thead th { padding: 13px 16px; text-align: left; font: 600 12.5px/1 "Source Sans 3",sans-serif; color: rgba(255,255,255,.85); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.kbc-disc-table thead th:first-child { border-radius: 13px 0 0 0; }
.kbc-disc-table thead th:last-child { border-radius: 0 13px 0 0; }
.kbc-disc-table tbody tr { border-bottom: 1px solid rgba(26,26,26,.06); transition: background .12s; }
.kbc-disc-table tbody tr:last-child { border-bottom: none; }
.kbc-disc-table tbody tr:hover { background: rgba(49,149,207,.04); }
.kbc-disc-table tbody td { padding: 13px 16px; color: #1A1A1A; vertical-align: middle; }
.kbc-disc-table__row--first td { font-weight: 700; background: rgba(49,149,207,.05); }
.kbc-disc-table__pos { font: 700 16px/1 "Schibsted Grotesk",sans-serif; color: #3195CF; width: 48px; text-align: center; }
.kbc-disc-table__row--first .kbc-disc-table__pos { color: #d4920a; }
.kbc-disc-table__pts { font-weight: 700; color: #14507a; text-align: center; }
.kbc-disc-table__avg, .kbc-disc-table__played { text-align: center; color: #4a4a4a; }
.kbc-disc-table__date { color: #9a9a9a; white-space: nowrap; font-size: 14px; }
.kbc-disc-table__player { font-weight: 500; }
.kbc-disc-table__player--right { text-align: right; }
.kbc-disc-table__player--winner { color: #14507a; font-weight: 700; }
.kbc-disc-table__score { text-align: center; font: 700 16px/1 "Schibsted Grotesk",sans-serif; white-space: nowrap; }
.kbc-disc-score--win { color: #3195CF; }
.kbc-disc-score__sep { margin: 0 6px; color: #ccc; }

/* Spelerskaarten */
.kbc-disc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; }
.kbc-disc-card { background: #fff; border-radius: 14px; border: 1px solid rgba(49,149,207,.12); box-shadow: 0 2px 8px rgba(20,50,75,.06); display: flex; align-items: flex-start; gap: 16px; padding: 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.kbc-disc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(20,50,75,.11); border-color: rgba(49,149,207,.35); }
a.kbc-disc-card { cursor: pointer; }
.kbc-disc-card__avatar { width: 48px; height: 48px; min-width: 48px; border-radius: 50%; background: linear-gradient(135deg,#3195CF,#14507a); color: #fff; font: 700 20px/48px "Schibsted Grotesk",sans-serif; text-align: center; flex-shrink: 0; }
.kbc-disc-card__body { flex: 1; min-width: 0; }
.kbc-disc-card__name { font: 700 16px/1.2 "Schibsted Grotesk",sans-serif; color: #14507a; margin: 0 0 10px; }
.kbc-disc-card__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.kbc-disc-card__stat { display: flex; flex-direction: column; gap: 2px; background: rgba(49,149,207,.07); border-radius: 8px; padding: 7px 10px; min-width: 60px; flex: 1; }
.kbc-disc-card__stat-label { font: 500 11px/1 "Source Sans 3",sans-serif; color: #9a9a9a; text-transform: uppercase; letter-spacing: .06em; }
.kbc-disc-card__stat-val { font: 700 17px/1 "Schibsted Grotesk",sans-serif; color: #14507a; }
.kbc-disc-card__note { font: 400 13px/1.5 "Source Sans 3",sans-serif; color: #6a6a6a; margin: 10px 0 0; font-style: italic; }

/* Responsive */
@media (max-width: 700px) {
  .kbc-disc-container { padding: 0 16px; }
  .kbc-disc-tabs { gap: 4px; }
  .kbc-disc-tab { padding: 9px 14px; font-size: 13.5px; }
  .kbc-disc-table thead th, .kbc-disc-table tbody td { padding: 10px 10px; font-size: 13.5px; }
  .kbc-disc-cards { grid-template-columns: 1fr; }
}

/* Brede standentabel */
.kbc-disc-table--stand { font-size: 13.5px; }
.kbc-disc-table--stand thead th { padding: 11px 10px; font-size: 11px; }
.kbc-disc-table--stand tbody td { padding: 10px 10px; }
.kbc-disc-table__num { text-align: center; color: #4a4a4a; }
.kbc-disc-table__w { color: #2a8a3a !important; font-weight: 600; }
.kbc-disc-table__v { color: #c0392b !important; }
.kbc-disc-table__next { color: #3195CF; font-weight: 600; }
.kbc-disc-table__row--top td { background: rgba(49,149,207,.03); }
.kbc-disc-table__divider td { padding: 0 !important; height: 3px; background: rgba(26,26,26,.15); border-bottom: none !important; }

/* Scroll hint op mobiel */
@media (max-width: 900px) {
  .kbc-disc-table-wrap::after {
    content: "← Veeg om meer te zien →";
    display: block;
    text-align: center;
    font-size: 12px;
    color: #9a9a9a;
    padding: 6px 0;
  }
}

/* Stand bijgewerkt badge */
.kbc-stand-bijgewerkt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(20,50,75,.65);
  background: rgba(49,149,207,.07);
  border: 1px solid rgba(49,149,207,.22);
  border-radius: 8px;
  padding: 6px 13px;
  margin-bottom: 16px;
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.3;
}
.kbc-stand-bijgewerkt strong {
  color: #14507a;
  font-weight: 600;
}
.kbc-stand-bijgewerkt__icon {
  display: flex;
  align-items: center;
  color: #3195CF;
  flex-shrink: 0;
}
.kbc-stand-bijgewerkt__icon svg {
  width: 14px;
  height: 14px;
}

/* ── PRINT ───────────────────────────────────────────── */
@media print {
  .kbc-disc-tabs, .kbc-disc-header nav, .kbc-stand-bijgewerkt__icon { display: none !important; }
  body { font-size: 11pt; background: #fff; color: #000; }
  .kbc-disc-container { max-width: 100%; padding: 0; }
  .kbc-disc-table-wrap { overflow: visible; box-shadow: none; border: 1px solid #ccc; }
  .kbc-disc-table { font-size: 9pt; }
  .kbc-disc-table thead tr { background: #2c4a63 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .kbc-disc-table thead th { color: #fff !important; padding: 7px 8px; }
  .kbc-disc-table tbody td { padding: 6px 8px; }
  .kbc-disc-table tbody tr:hover { background: transparent; }
  .kbc-disc-table__w { color: #1a6e2a !important; }
  .kbc-disc-table__v { color: #a00 !important; }
  .kbc-disc-section-title::after { content: ' — KBC 1911'; font-weight: 400; font-size: 10pt; color: #666; }
  .kbc-stand-bijgewerkt { border: none; background: transparent; padding: 0; font-size: 9pt; color: #666; }
  /* Verberg spelers en uitslagen tabs bij printen */
  .kbc-disc-section:not(.kbc-disc-section--stand) { display: none; }
}
