/* event guide section */
.event-guide-section {
  padding: 0 0 120px;
  @media (max-width: 991px) {
    padding: 0 0 90px;
  }
  @media (max-width: 449px) {
    padding: 0 0 80px;
  }
}

.event-guide-section-content {
  display: flex;
  gap: 80px;
  @media (max-width: 1024px) {
    flex-direction: column;
    gap: 48px;
  }
}

.toc-section {
  max-width: 230px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: max-content;
  position: sticky;
  top: 120px;
  @media (max-width: 1024px) {
    position: relative;
    top: 0;
    max-width: 100%;
  }
}
.toc-title-section {
  display: flex;
  @media (max-width: 1024px) {
    position: relative;
    top: 0;
    box-shadow: 0px 0px 50px 0px #0000001a;
    max-width: 100%;
    padding: 12px 24px;
    border: 1px solid var(--soft-grey);
    border-radius: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
}

.toc-title-section {
  svg {
    display: none;
    width: 24px;
    height: 24px;
    path {
      stroke: var(--deep-violet);
    }
  }
  @media (max-width: 1024px) {
    svg {
      display: flex;
    }
  }
}

.toc-section p {
  font: var(--tag);
  color: var(--forest-green);
  margin: 0;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  @media (max-width: 1024px) {
    display: none;
  }
}

.toc-list-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--light-stroke);
  display: flex;
  align-items: center;
  gap: 12px;
  @media (max-width: 1024px) {
    padding: 8px 12px;
    border: 0;
    border-radius: 4px;
    &:hover {
      background-color: var(--light-grey);
    }
  }
}

.toc-dot-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--grey);
  border-radius: 50%;
  @media (max-width: 1024px) {
    display: none;
  }
}

.toc-list-item.active p {
  color: var(--black);
}

.toc-list-item.active .toc-dot-indicator {
  background-color: var(--orange);
}

.toc-list-item p {
  width: 212px;
  font: var(--body-b3);
  color: var(--grey);
  margin: 0;
  @media (max-width: 1024px) {
    color: var(--black);
  }
}

@media (max-width: 1024px) {
  .toc-list {
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    display: none;
    border: 1px solid var(--soft-grey);
    z-index: 9;
  }

  .toc-section.open .toc-list {
    display: block;
  }

  .toc-title-section {
    cursor: pointer;
  }

  .toc-section.open svg {
    transform: rotate(180deg);
  }
}

/* table section*/
.event-guide-table-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 64px;
  @media (max-width: 1024px) {
    gap: 48px;
  }
}

.event-guide-table-section-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-margin-top: 120px;
  @media (max-width: 449px) {
    overflow: auto;
    margin: 0 -20px;
    &::-webkit-scrollbar {
      display: none;
    }
  }
}

.event-guide-table-heading {
  font: var(--heading-h7);
  color: var(--black);
  margin: 0;
  @media (max-width: 449px) {
    margin: 0 20px;
    position: sticky;
    left: 20px;
  }
}

.event-guide-table-wrapper {
  border-radius: 12px;
  margin: 0;
  border: 1px solid var(--soft-grey);
  overflow: hidden;
  @media (max-width: 449px) {
    width: max-content;
    margin: 0 20px;
  }
}

.event-guide-table {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
  border: 0;
  th,
  td {
    border: 0;
  }
}

.event-guide-table thead tr {
  background-color: var(--ivory);
  border-bottom: 1px solid var(--soft-grey);
  display: flex;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}

.event-guide-table thead tr th {
  border-right: 1px solid var(--soft-grey);
  padding: 12px 24px;
  font: var(--button);
  color: var(--black);
  text-align: left;
  @media (max-width: 991px) {
    padding: 12px 16px;
  }
  &:first-child {
    max-width: 420px;
    width: 100%;
    @media (max-width: 991px) {
      max-width: 340px;
    }
    @media (max-width: 449px) {
      max-width: 190px;
    }
  }
  &:nth-child(2) {
    max-width: 250px;
    width: 100%;
    @media (max-width: 991px) {
      max-width: 190px;
    }
    @media (max-width: 449px) {
      max-width: 155px;
    }
  }
  &:last-child {
    border: 0;
    width: 100%;
    max-width: 316px;
    @media (max-width: 991px) {
      max-width: 190px;
    }
    @media (max-width: 449px) {
      max-width: 155px;
    }
  }
}
.event-guide-table tbody tr {
  border-bottom: 1px solid var(--soft-grey);
  display: flex;
  &:last-child {
    border: 0;
  }
}

.event-guide-table tbody tr td {
  border-right: 1px solid var(--soft-grey);
  padding: 16px 24px;
  text-align: left;
  font: var(--body-b2);
  color: var(--black);
  display: flex;
  align-items: center;
  a {
    width: 100%;
    display: flex;
    font: var(--heading-h8);
    color: var(--deep-violet);
    margin: 0;
  }
  @media (max-width: 991px) {
    padding: 16px;
  }
  &:first-child {
    max-width: 420px;
    width: 100%;
    a:hover {
      color: var(--orange);
      cursor: pointer;
    }
    @media (max-width: 991px) {
      max-width: 340px;
    }
    @media (max-width: 449px) {
      max-width: 190px;
    }
  }
  &:nth-child(2) {
    max-width: 250px;
    width: 100%;
    @media (max-width: 991px) {
      max-width: 190px;
    }
    @media (max-width: 449px) {
      max-width: 155px;
    }
  }
  &:last-child {
    border: 0;
    width: 100%;
    max-width: 316px;
    @media (max-width: 991px) {
      max-width: 190px;
    }
    @media (max-width: 449px) {
      max-width: 155px;
    }
  }
}
