.guest-lecturers-table {
  width: 100%;
  margin: 0;
  table-layout: fixed;
}

.guest-lecturers-table th,
.guest-lecturers-table td {
  vertical-align: top;
}

.guest-lecturers-table td,
.guest-lecturers-table__cell-value,
.guest-lecturers-table a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guest-lecturers-table th:nth-child(1),
.guest-lecturers-table td:nth-child(1) {
  width: 28%;
}

.guest-lecturers-table th:nth-child(2),
.guest-lecturers-table td:nth-child(2) {
  width: 34%;
}

.guest-lecturers-table th:nth-child(3),
.guest-lecturers-table td:nth-child(3) {
  width: 38%;
}

.guest-lecturers-table__cell-value {
  display: block;
}

@media (max-width: 767.98px) {
  .guest-lecturers-table-wrap {
    overflow-x: visible;
  }

  .guest-lecturers-table th:nth-child(1),
  .guest-lecturers-table td:nth-child(1),
  .guest-lecturers-table th:nth-child(2),
  .guest-lecturers-table td:nth-child(2),
  .guest-lecturers-table th:nth-child(3),
  .guest-lecturers-table td:nth-child(3) {
    width: 100%;
  }

  .guest-lecturers-table thead {
    display: none;
  }

  .guest-lecturers-table,
  .guest-lecturers-table tbody,
  .guest-lecturers-table tr,
  .guest-lecturers-table td {
    display: block;
    width: 100%;
  }

  .guest-lecturers-table td {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .guest-lecturers-table tr {
    margin-bottom: 0.8rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(137, 135, 159, 0.24);
    border-radius: 10px;
    background: #eef3f7;
  }

  .guest-lecturers-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .guest-lecturers-table td:first-child {
    margin-bottom: 0.45rem;
    color: #2c3e50;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .guest-lecturers-table td:first-child::before {
    display: none;
  }

  .guest-lecturers-table td:not(:first-child) {
    display: flex;
    gap: 0.55rem;
    align-items: start;
    padding-top: 0.2rem;
  }

  .guest-lecturers-table td::before {
    content: attr(data-label);
    display: block;
    flex: 0 0 5.4rem;
    margin-bottom: 0;
    color: #5f7486;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .guest-lecturers-table__cell-value {
    min-width: 0;
    flex: 1 1 auto;
  }
}
