.speakers {
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.speakers__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--section-padding-y) 80px;
}

.speakers__header {
  text-align: center;
  margin-bottom: 40px;
}

.speakers__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -1.28px;
  color: var(--color-dark);
  white-space: nowrap;
}

.speakers__title em {
  font-style: italic;
  font-weight: 400;
}

.speakers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.speaker-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.speaker-card__photo {
  position: relative;
  height: 327px;
  overflow: hidden;
  background: linear-gradient(139.06deg, #e8e8e4 0%, #f5f4f0 100%);
  flex-shrink: 0;
}

.speaker-card__photo picture,
.speaker-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.speaker-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.speaker-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.speaker-card__role {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 18.2px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.speaker-card__topic {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: auto 0 16px;
}

.speaker-card__topic-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 18.2px;
  color: var(--color-dark);
}

.speaker-card__stats {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 17px;
  border-top: 1px solid var(--color-border);
}

.speaker-card__stat {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  color: var(--color-text-muted);
}

.speaker-card__stat-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--color-border);
  flex-shrink: 0;
}

.speaker-card.js-speaker-card {
  cursor: pointer;
  transition: box-shadow 0.25s ease;
}

.speaker-card.js-speaker-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.speaker-popup {
  --popup-transition: 0.3s ease;
  position: fixed;
  inset: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.speaker-popup.open {
  pointer-events: all;
}

.speaker-popup__shade {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.21);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--popup-transition);
}

.speaker-popup.open .speaker-popup__shade {
  opacity: 1;
}

.speaker-popup__contents {
  position: relative;
  width: 100%;
  max-width: 670px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--color-bg-light);
  border-radius: 20px;
  padding: 20px;
  opacity: 0;
  transform: scale(0.9);
  transition: transform var(--popup-transition), opacity var(--popup-transition);
}

.speaker-popup.open .speaker-popup__contents {
  opacity: 1;
  transform: none;
}

.speaker-popup__header {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  position: relative;
}

.speaker-popup__photo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
}

.speaker-popup__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-popup__info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.speaker-popup__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-dark);
}

.speaker-popup__role {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(10, 10, 10, 0.8);
  margin-top: 10px;
}

.speaker-popup__icon {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  flex-shrink: 0;
}

.speaker-popup__topic {
  margin-bottom: 24px;
  padding: 20px;
  background: #e8e6e2;
  border-radius: var(--radius-lg);
}

.speaker-popup__topic-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #90a1b9;
  margin-bottom: 12px;
}

.speaker-popup__topic-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-dark);
}

.speaker-popup__achievements {
  padding: 0 8px;
}

.speaker-popup__achievements-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #90a1b9;
  margin-bottom: 16px;
}

.speaker-popup__achievements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.speaker-popup__achievement {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-dark);
  background: #e8e6e2;
  border-radius: var(--radius-xl);
}

.speaker-popup__achievement::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
}

@media (max-width: 1199px) {
  .speakers__inner {
    padding: var(--section-padding-y) var(--section-padding-x);
  }

  .speakers__title {
    font-size: 48px;
    white-space: normal;
  }

  .speakers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speaker-card__photo {
    height: auto;
  }
}

@media (max-width: 767px) {
  .speakers__title {
    font-size: 36px;
    letter-spacing: -0.5px;
  }

  .speakers__grid {
    grid-template-columns: 1fr;
  }

  .speaker-popup__contents {
    max-width: calc(100% - 32px);
    padding: 24px 20px;
  }

  .speaker-popup__header {
    padding: 16px;
  }

  .speaker-popup__topic {
    padding: 20px;
  }

  .speaker-popup__topic-title {
    font-size: 20px;
  }

  .speaker-popup__icon {
    position: static;
    transform: translate(0);
    margin-top: 12px;
    display: block;
  }
}
