.agenda-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 63px;
}

.agenda-section .agenda-header .heading {
  margin-bottom: 0.83em;
}

.agenda-description {
  background-color: var(--foundation-white);
  color: var(--foundation-black);
  border-radius: 16px;
}

.agenda-description:not(:first-child) {
  margin-top: 20px;
}

.tab-agenda {
  display: flex;
  padding: 4px;
  background-color: var(--foundation-white);
  width: fit-content;
  border-radius: 25px;
}

.tab-agenda .tab {
  border: none;
  background: transparent;
  font-size: var(--text-16_20);
  padding: 4px 12px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
}

.tab-agenda .tab.active {
  display: block;
  border-radius: 25px;
  color: var(--foundation-white);
  background: var(--foundation-black, var(--foundation-black));
  padding: 4px 12px;
}

.tab-agenda .tab.active .content.tab.active {
  display: block;
}

.plenary.agenda-info,
.plenary.active {
  overflow-x: hidden;
  margin-top: 40px;
}

.agenda-info {
  display: none;
}

.agenda-info.active {
  display: block;
}

.plenary-time {
  font-size: var(--text-16_20);
  font-weight: 700;
  color: var(--foundation-white);
  background: linear-gradient(180deg, #4165B0 0%, #CC2872 100%);
  border-radius: 16px 0;
  padding: 8px 16px;
}

.topic {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: fit-content;
  padding: 16px 16px 16px 0;
  flex: 1 0 0;
  border-radius: 50px;
}

details > summary::-webkit-details-marker {
  display: none;
}

.collapsible {
  font-family: "IBM Plex Sans Thai";
  font-size: 1rem;
  font-weight: 600;
  background: none;
  color: var(--foundation-black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  padding-left: 16px;
}

.collapsible i {
  transition: transform 0.2s ease-in-out;
}

.topic[open] .collapsible i {
  transform: rotate(180deg);
}

.topic-desc {
  display: none;
  font-size: 0.875rem;
  padding-left: 16px;
}

.topic-desc ul {
  margin-left: 20px;
}

.topic-desc hr {
  margin: 10px 0;
}

.box-agenda::-webkit-scrollbar {
  display: none;
}

.breakout-track {
  display: grid;
  justify-content: space-between;
  grid-template-columns: 150px repeat(3, minmax(0, 1fr));
  min-width: 900px;
  gap: 32px;
  margin-top: 40px;
}

.breakout-time {
  font-size: var(--text-16_20);
  width: 150px;
  height: 210px;
  padding-top: 10px;
}

.breakout-time:first-child {
  height: 180px;
}

.agenda-breakouts:last-child {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: 0.6fr 1fr 1fr 1fr;
  align-items: center;
}

.agenda-breakouts:last-child .breakout-time {
  width: 150px;
  height: auto;
  padding-top: 0;
}

.agenda-breakouts:last-child .breakout-topic {
  grid-column: 2 / 5;
}

.breakouts {
  border: 1px solid var(--foundation-blue);
  border-radius: 24px;
}

.breakout {
  display: flex;
  padding: 16px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  border-bottom: 1px solid var(--foundation-blue);
  height: 210px;
}

.breakout:last-child {
  border: 0;
}

.track-name {
  height: 180px;
  font-size: 1.25rem;
}

.read-more {
  border: none;
  background: none;
  color: var(--foundation-white);
  width: 70px;
  margin-left: auto;
}

.btn-base {
  color: var(--foundation-black);
  cursor: pointer;
}

.agenda-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--foundation-black);
  width: 80%;
  max-height: 500px;
  clip-path: inset(0 round 10px);
  background-color: var(--foundation-white);
  padding: 20px;
  overflow-y: scroll;
}

.agenda-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: var(--Font-Weight-thin, 100px);
  background: var(--foundation-white);
  color: var(--foundation-primary-blue);
  font-size: var(--text-22_36);
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.64px;
  padding: 10px;
  margin: 40px auto 0 auto;
  text-decoration: none;
  max-width: 500px;
  width: 100%;
}

#pdfModal {
  text-align: -webkit-center;
  align-content: center;
}

.modal-content {
  width: 80%;
  height: 80%;
}

#pdfFrame {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 920px) {
  .agenda-info {
    width: 100%;
  }

  .agenda-description {
    display: flex;
    align-items: flex-start;
  }

  .agenda-description:not(:first-child) {
    margin-top: 40px;
  }

  .collapsible {
    font-size: 1.125rem;
  }
}
