/* ============================================================
   WTMF Program Schedule Styles
   ============================================================ */

/* Parent bepaalt alles — verander alleen deze waarde om alles mee te schalen */
.wtmf-program {
  font-size: 1.5rem;
  color: #1a1a1a;
  max-width: 1100px;
  margin: 0 auto;
}

.wtmf-program__title {
  font-size: 1.15em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
  color: #1a1a1a;
}

.wtmf-program__subtitle {
  font-size: 1.4em;
  font-weight: 700;
  text-align: center;
  letter-spacing: 6px;
  margin-top: 0;
  margin-bottom: 2em;
  color: #1a1a1a;
}

/* ── Table ── */
.wtmf-schedule {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5em;
  table-layout: auto;
  font-size: 1em;
}

.wtmf-schedule td,
.wtmf-schedule th {
  padding: 0.6em 0.75em;
  vertical-align: top;
  border-bottom: 1px solid #e0e0e0;
  line-height: 1.55;
  text-align: left;
}

/* ── Dag header ── */
.wtmf-schedule__day {
  color: #FF5203;
  font-weight: 700;
  font-size: 1.25em;
  padding: 0.75em;
  border-bottom: 2px solid #e0e0e0;
  text-align: left;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

/* ── Sectie labels ── */
.wtmf-schedule__section {
  color: #FF5203;
  font-weight: 600;
  text-align: center;
  padding: 0.75em;
  border-bottom: 1px solid #e0e0e0;
}

/* ── Room headers ── */
.wtmf-schedule__rooms-header td,
.wtmf-schedule__rooms-header th {
  color: #FF5203;
  font-weight: 700;
  border-bottom: 2px solid #e0e0e0;
}

/* ── Tijdkolom ── */
.wtmf-schedule__time {
  white-space: nowrap;
  width: 1%;
  font-size: 0.88em;
  color: #444;
}

.wtmf-schedule td:first-child,
.wtmf-schedule th:first-child {
  width: 1%;
  white-space: nowrap;
}

/* ── Wisselende rijkleur ── */
.wtmf-schedule__parallel:nth-child(odd) td {
  background-color: #fafafa;
}

/* ── Landnaam ── */
.wtmf-schedule__country {
  font-size: 0.85em;
  color: #666;
}

/* ============================================================
   MOBIEL
   ============================================================ */
@media (max-width: 700px) {

  /* Iets groter op mobiel voor leesbaarheid */
  .wtmf-program {
    font-size: 1.6rem;
  }

  /* Tabel omzetten naar blokken */
  .wtmf-schedule,
  .wtmf-schedule thead,
  .wtmf-schedule tbody,
  .wtmf-schedule tr,
  .wtmf-schedule td,
  .wtmf-schedule th {
    display: block;
    width: 100% !important;
  }

  /* Room header verbergen */
  .wtmf-schedule__rooms-header,
  .wtmf-schedule__rooms-header td,
  .wtmf-schedule__rooms-header th {
    display: none !important;
  }

  /* Dagkop sticky */
  .wtmf-schedule__day {
    display: block;
    font-size: 1.1em;
    padding: 0.6em 0.5em;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.07);
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  /* Tijdslot */
  .wtmf-schedule__parallel .wtmf-schedule__time,
  .wtmf-schedule__general .wtmf-schedule__time {
    font-weight: 700;
    border-bottom: none;
    white-space: normal;
    color: #555;
    padding-bottom: 2px;
  }

  /* Room label via data-label */
  .wtmf-schedule__parallel td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: #FF5203;
    font-size: 0.82em;
    margin-top: 0.6em;
    margin-bottom: 2px;
  }

  .wtmf-schedule__parallel td.wtmf-schedule__time::before {
    content: none;
  }

  .wtmf-schedule__parallel:nth-child(odd) td {
    background-color: transparent;
  }

  .wtmf-schedule__parallel {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 4px;
  }
}

/* Editor notice */
.wtmf-editor-notice {
  background: #fff8e1;
  border-left: 3px solid #FF5203;
  padding: 8px 12px;
  font-size: 0.85em;
  margin-bottom: 1em;
}
