.webinar-speakers {
  margin: 32px 0;
  font-family: "Gilroy", sans-serif;
}
.webinar-speakers__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.webinar-speakers__item {
  width: 100%;
  min-width: 0;
}
.webinar-speakers__photo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 296px;
  padding: 14px 12px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 34px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-align: center;
}
.webinar-speakers__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.webinar-speakers__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(33, 33, 51, 0) 50%, #212133 100%);
}
.webinar-speakers__name, .webinar-speakers__role {
  position: relative;
  z-index: 1;
  margin: 0;
}
.webinar-speakers__name {
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.12px;
}
.webinar-speakers__role {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}
.webinar-speakers__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin-top: 20px;
}
.webinar-speakers__logo-image {
  display: block;
  width: 140px;
  height: 32px;
  aspect-ratio: auto;
  object-fit: contain;
}
@media only screen and (min-width: 768px) {
  .webinar-speakers__item {
    width: calc((100% - 20px) / 2);
  }
}
@media only screen and (min-width: 992px) {
  .webinar-speakers__item {
    width: calc((100% - 40px) / 3);
  }
}
