/* RCS Kalender Connect v1.5.6 */
/* Basis */
.rcs-wrap {
  color: #005599;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
  background: transparent;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Section met ronde hoeken; overflow hidden zodat zebra rond meeloopt */
.rcs-card {
  margin: 0 auto 16px auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

/* Heading balk boven de tabel: #005599; datum links uitgelijnd */
.rcs-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 14px;
  background: #005599; /* GEWIJZIGD: blauwe achtergrond */
  border-bottom: 0;
}

/* default datumkleur; per mode overschreven waar nodig */
.rcs-date {
  font-weight: 400;
  color: #FFFFFF;
}

/* Tabel met zebra, afgeronde onderhoeken + geen randen tussen cellen */
.rcs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
}

.rcs-table tbody td {
  border: 0;
  color: #005599;
  vertical-align: middle;
  font-weight: 400;
}

.rcs-table tbody tr:nth-child(odd) td { background: #FFFFFF; }
.rcs-table tbody tr:nth-child(even) td { background: #F2F5F8; }

.col-time { text-align: left; white-space: nowrap; }
.col-match { text-align: left; }
.col-loc { text-align: left; white-space: nowrap; }

/* --- SITE MODE (voor website) --- */
.rcs-site .rcs-date { font-size: 14px; font-weight: 700; color: #FFFFFF; } /* bold, wit */
.rcs-site .rcs-table tbody td { font-size: 14px; padding: 10px 12px; }
.rcs-site .col-time { width: 120px; }
.rcs-site .col-loc { width: 180px; }

@media (max-width: 640px) {
  .rcs-site .rcs-date { font-size: 13px; }
  .rcs-site .rcs-table tbody td { font-size: 13px; padding: 8px 10px; }
  .rcs-site .col-loc { display:none; }
}

/* --- TV MODE (1920x1080) --- */
/* Meer ruimte in cellen, grotere tekst; datum en locatie iets kleiner */
.rcs-tv { padding: 16px; }
.rcs-tv .rcs-heading { background: #005599; }
.rcs-tv .rcs-date {
  font-weight: 600;
  color: #FFFFFF;
  font-size: clamp(18px, 2.0vw, 36px); /* datum kleiner dan cellen */
}
.rcs-tv .rcs-table tbody td {
  font-size: clamp(22px, 2.8vw, 50px); /* grotere celtekst */
  padding: clamp(14px, 2.0vw, 30px) clamp(18px, 2.4vw, 36px); /* meer padding */
}
.rcs-tv .col-time { width: clamp(120px, 12vw, 280px); }
.rcs-tv .col-loc { width: clamp(140px, 14vw, 360px); font-size: 0.85em; } /* locatie iets kleiner */

/* Fouten */
.rcs-error {
  font-size: 18px;
  text-align: center;
  padding: 20px 0;
}
