/* ============================================
   Mededelingen en "Actuele aanmeld informatie" (homepage en /aanmelden/)
   ============================================ */

.mededelingen {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 652px;
  padding-right: 20px;
  border-right: 3px solid var(--color-primary);
}

.mededelingen__title {
  flex-shrink: 0;
  width: 62.665%;
  max-width: 62.665%;
  color: var(--color-text);
  font-size: 40px;
}

.mededelingen__text ul { padding-left: 40px; }

.aanmeldinfo__intro {
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 10px;
  border-radius: 10px;
  background-color: var(--color-white);
}

.aanmeldinfo__title { color: var(--color-text); font-size: 40px; }

.aanmeldinfo__table { padding: 0 10px; }

.aanmeldinfo__scroll { padding: 10px 0; overflow-x: auto; }

.status-table {
  width: 100%;
  margin-bottom: 15px;
  border-spacing: 0;
  border-collapse: collapse;
  background-color: transparent;
  font-family: var(--font-main);
  font-size: 18px;
}

.status-table th,
.status-table td {
  padding: 6px;
  border: 1px solid #000;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.status-table th { font-weight: 700; }

.status-table tr:nth-child(odd) > td,
.status-table tr:nth-child(odd) > th { background-color: hsla(0, 0%, 50%, .071); }

@media (hover: hover) {
  .status-table tr:hover > td,
  .status-table tr:hover > th { background-color: hsla(0, 0%, 50%, .102); }
}

@media (min-width: 1025px) {
  .status-table th,
  .status-table td { white-space: nowrap; word-break: normal; }
}

@media (max-width: 768px) {
  .status-table { font-size: 16px; }
  .status-table th,
  .status-table td { padding: 8px; }
}

@media (max-width: 767px) {
  .mededelingen {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 4px solid var(--color-primary);
  }

  .mededelingen__title { width: 100%; max-width: 100%; font-size: 25px; }
  .mededelingen__text { padding-top: 10px; }

  .aanmeldinfo__intro { padding: 3%; }
  .aanmeldinfo__title { font-size: 25px; }
  .aanmeldinfo__intro .prose { padding-top: 10px; }
}

@media (max-width: 480px) {
  .status-table { table-layout: fixed; }
  .status-table th:nth-child(1),
  .status-table td:nth-child(1) { width: 40%; }
  .status-table th:nth-child(2),
  .status-table td:nth-child(2) { width: 60%; }
}
