body,
html {
  scroll-behavior: smooth;
}

section {
  margin: 2rem 0;
}

.talks-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.tr {
  display: table-row;
}

.td,
.th {
  display: table-cell;
  padding: 0.625rem;
  border: 1px solid var(--grey-color);
  vertical-align: middle;
}

.th {
  font-weight: bold;
}

.td h4 {
  margin: 0;
  font-weight: 400;
}

.td[data-attr="conference"] {
  color: var(--shade-500);
}

.table-header {
  background-color: var(--grey-color);
}

.videos li {
  margin-bottom: 10px;
}

.other li {
  margin-bottom: 20px;
}

.flex-list {
  display: flex;
  flex-wrap: wrap;
}

.flex-list li.text {
  margin: 0;
  margin-right: 2rem;
  padding: 0;
  border: none;
}

.text-header {
  color: var(--shade-500);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 0.625rem;
  display: inline-block;
  vertical-align: text-top;
}

.main-text p {
  margin: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--text-color);
  line-height: normal;
}

.text p[data-attr]::before {
  font-weight: bold;
  font-style: normal;
}

.text p[data-attr="date"]:before {
  content: "Date: ";
}

.text p[data-attr="location"]:before {
  content: "Location: ";
}

details:first-of-type .subsection-subtitle {
  margin-top: 0;
}

.details-count {
  display: none;
}

summary .subsection-subtitle,
summary .subsection-title {
  display: inline-block;
  cursor: pointer;
  margin-block: 8px;
  margin-inline-start: 4px;
}

summary + .talks-table {
  margin-block: 8px;
}

.td:nth-child(1), .th:nth-child(1) {
  width: 35%;
}
.td:nth-child(2), .th:nth-child(2) {
  width: 35%;
}
.td:nth-child(3), .th:nth-child(3) {
  width: 30%;
}

@media (max-width: 750px) {
  .talks-table {
    display: table; /* Pastikan tetap tabel */
    width: 100%;
    overflow-x: auto;
  }

  .tr {
    display: table-row; /* Pastikan tetap berbentuk baris */
    margin-left: 0;
    padding: 0;
  }

  .td, .th {
    display: table-cell; /* Pastikan tetap berbentuk kolom */
    border: 1px solid var(--grey-color);\
  }

  .table-header {
    display: table-row; /* Pastikan header tetap terlihat */
    font-weight: bold;
    background-color: var(--grey-color);
  }
}
