/* RCS Kalender Connect v2.0 */
.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;}
.rcs-card{margin:0 auto 16px auto;overflow:hidden;border-radius:0;}
.rcs-heading{display:flex;align-items:center;justify-content:flex-start;padding:10px 14px;background:#005599;}
.rcs-date{color:#FFFFFF;font-weight:400;}
.rcs-table{width:100%;border-collapse:collapse;table-layout:fixed;}
.rcs-table tbody td{border:0;color:#005599;vertical-align:middle;font-weight:400;}
.rcs-home td{font-weight:700;}
.col-date{text-align:left;white-space:nowrap;}
.col-time{text-align:left;white-space:nowrap;}
.col-match{text-align:left;}
.col-loc{text-align:left;white-space:nowrap;}
/* SITE */
.rcs-site .rcs-table{border:1px solid #005599;}
.rcs-site .rcs-table tbody tr:nth-child(odd) td{background:#FFFFFF;}
.rcs-site .rcs-table tbody tr:nth-child(even) td{background:#E5E5E5;}
.rcs-site .rcs-table tbody td{font-size:inherit;padding:10px 12px;}
.rcs-site .col-time{width:120px;}
.rcs-site .col-loc{width:360px;}
@media(max-width:640px){.rcs-site .col-loc{display:none!important;}}
/* TV */
.rcs-tv .rcs-heading{padding:clamp(28px,3.6vw,64px) clamp(32px,4.0vw,72px);}
.rcs-tv .rcs-table{border:1px solid #005599;}
.rcs-tv .rcs-table tbody tr:nth-child(odd) td{background:#FFFFFF;}
.rcs-tv .rcs-table tbody tr:nth-child(even) td{background:#E5E5E5;}
.rcs-tv .rcs-table tbody td{font-size:clamp(22px,2.8vw,50px);padding:clamp(20px,2.8vw,44px) clamp(24px,3.2vw,48px);line-height:1.45;}
.rcs-tv .rcs-date{font-size:clamp(30px,3.4vw,60px);font-weight:700;color:#FFFFFF;}
.rcs-tv .col-time{width:clamp(150px,15vw,340px);}
.rcs-tv .col-loc{width:clamp(220px,22vw,560px);font-size:.85em;}
/* WIDGET */
.rcs-widget .rcs-heading{background:#FFFFFF;}
.rcs-widget .rcs-date{font-size:inherit;font-weight:700;color:#005599;}
.rcs-widget .rcs-table{background:#005599;border:0;}
.rcs-widget .rcs-table tbody td{font-size:inherit;padding:5px 6px;color:#FFFFFF;background:#005599!important;}
.rcs-widget .col-time{width:100px;}
.rcs-widget .col-loc{display:none!important;}
/* COMPACT (één tabel voor alle dagen; zebra; geen header; locatie zichtbaar desktop, verborgen mobiel) */
.rcs-compact .rcs-heading{display:none !important;}
.rcs-compact .rcs-table{border:1px solid #005599;}
.rcs-compact .rcs-table tbody tr:nth-child(odd) td{background:#FFFFFF;}
.rcs-compact .rcs-table tbody tr:nth-child(even) td{background:#E5E5E5;}
.rcs-compact .rcs-table tbody td{font-size:inherit;padding:8px 10px;}
.rcs-compact .col-date{width:140px;}
.rcs-compact .col-time{width:110px;}
/* Mobile tweaks for compact: stack time under date and hide separate time & location columns */
.rcs-compact .time-sub{display:none;}
@media(max-width:640px){
  .rcs-compact .col-time{display:none !important;}
  .rcs-compact .time-sub{display:block; font-size:0.95em; line-height:1.2; opacity:0.9;}
  .rcs-compact .col-loc{display:none !important;}
}
.rcs-error{font-size:inherit;text-align:center;padding:20px 0;}


/* 2.0.2: Better rendering inside scaled containers (e.g., Revolution Slider) */
.rcs-tv .rcs-table{ table-layout:auto; }


/* 2.4.5: Fixed narrow cols for date/time/match; flexible single-line location */
.rcs-site .rcs-table td.col-date,
.rcs-site .rcs-table td.col-time,
.rcs-site .rcs-table td.col-match,
.rcs-widget .rcs-table td.col-time,
.rcs-widget .rcs-table td.col-match,
.rcs-compact .rcs-table td.col-date,
.rcs-compact .rcs-table td.col-time,
.rcs-compact .rcs-table td.col-match,
.rcs-tv .rcs-table td.col-date,
.rcs-tv .rcs-table td.col-time,
.rcs-tv .rcs-table td.col-match{
  width:1% !important;
  white-space:nowrap !important;
}
.rcs-site .rcs-table td.col-loc,
.rcs-widget .rcs-table td.col-loc,
.rcs-compact .rcs-table td.col-loc,
.rcs-tv .rcs-table td.col-loc{
  width:auto !important;
  white-space:nowrap !important;
  overflow:hidden;
  text-overflow:ellipsis;
}
/* Ensure table uses content widths */
.rcs-site .rcs-table,
.rcs-widget .rcs-table,
.rcs-compact .rcs-table,
.rcs-tv .rcs-table{
  table-layout:auto !important;
}


/* RCSKC 2.5.1: unify all-day/multi-day across modes */
.rcskc-time{white-space:nowrap;}
.rcskc-time--allday{font-weight:600}
/* Compact mode: keep narrow time col */
.rcskc-compact .rcskc-time{min-width:52px}
@media (max-width:768px){
  .rcskc-compact .rcskc-location{display:none}
}
