.speaker-section {
  position: relative;
  z-index: 8;
  margin-top: 56px;
}

.speakers {
  --repeat: 1;
  display: grid;
  grid-template-columns: repeat(var(--repeat), minmax(0, 1fr));
  justify-items: center;
  gap: 24px;
  margin-top: 24px;
}

.speaker {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  color: var(--foundation-primary-blue);
  background: var(--foundation-white);
  width: 100%;
}

.term-name {
  font-size: 1.25rem;
  margin-top: 48px;
}

.thumbnail {
  max-width: 72px;
  max-height: 72px;
  padding: 8px;
  border-radius: 50%;
  background-image: linear-gradient(
    180deg,
    rgba(134, 110, 233, 0.5) 0%,
    rgba(73, 174, 212, 0.5) 100%
  );
  background-clip: padding-box, border-box;
  background-origin: border-box;
}

.speaker-info {
  font-size: 0.875rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.speaker-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: flex;
}

.speaker-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.48px;
}

.speaker-company {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 140%;
}

.modal {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  z-index: 10;
}

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

.speaker-description {
  padding: 40px;
}

.close-modal {
  position: absolute;
  right: 10px;
  top: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

#SpeakerName {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -1.44px;
}

#SpeakerPosition,
#SpeakerCompany {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.64px;
}

#SpeakerDesc {
  margin-top: 40px;
  font-size: 18px;
  font-weight: 300;
  line-height: 130%;
  letter-spacing: -0.56px;
}

.speaker-modal::-webkit-scrollbar {
  width: 18px;
  padding: 16px 4px;
}

.speaker-modal::-webkit-scrollbar-track {
  padding: 16px 4px;
}

.speaker-modal::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #eaecf0;
}

@media screen and (min-width: 768px) {
  .speakers {
    --repeat: 2;
  }
}

@media screen and (min-width: 992px) {
  .speakers {
    --repeat: 4;
  }

  .speaker-section {
    margin-top: 126px;
  }

  #SpeakerName {
    font-size: 36px;
  }

  #SpeakerPosition,
  #SpeakerCompany {
    font-size: 1.5rem;
  }

  #SpeakerDesc {
    margin-top: 40px;
    font-size: 1.25rem;
  }
}
