.palestrantes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
}
.palestrantes .palestrante {
  width: 25%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 10px;
  word-break: break-word;
  cursor: pointer;
}

.palestrantes .palestrante .item-title {
  font-family: Arial, Helvetica, sans-serif;
}

.palestrantes .palestrante .link-photo {
  width: 100%;
  display: inline-block;
  overflow: hidden;
  box-shadow: inset 0 1px 2px #ccc !important;
  max-width: 160px;
  height: 160px;
  border-radius: 999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover !important;
  margin-bottom: 10px;
  background-size: 280px;
}
.palestrantes .palestrante .item-title {
  text-align: center;
}
.palestrantes .palestrante .item-title h4 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 5px;
}

.palestrante .item-title .subtitle {
  font-size: 90%;
  line-height: 15px;
}

body.speaker-offcanvas-open {
  overflow: hidden;
}

.speaker-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 9998;
}

.speaker-offcanvas-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.speaker-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100vw);
  height: 100vh;
  background: #ffffff;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
  font-family: Arial, Helvetica, sans-serif;
}

.speaker-offcanvas.is-open {
  transform: translateX(0);
}

.speaker-offcanvas-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.speaker-offcanvas-close:hover {
  color: #222;
}

.speaker-offcanvas-inner {
  padding: 48px 28px 32px;
  text-align: center;
}

.speaker-offcanvas-photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px #e6e6e6;
}

.speaker-offcanvas-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speaker-offcanvas-name {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.3;
}

.speaker-offcanvas-block {
  text-align: left;
  margin-bottom: 18px;
}

.speaker-offcanvas-label {
  display: block;
  margin-bottom: 6px;
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 400;
}

.speaker-offcanvas-value {
  display: block;
  color: #222;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.speaker-offcanvas-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.speaker-offcanvas-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ece8f8;
  color: #6b5b95;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .palestrantes .palestrante {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 10px;
    word-break: break-word;
  }

  .palestrantes .palestrante .link-photo {
    max-width: 160px !important;
    height: 160px !important;
  }

  .speaker-offcanvas {
    width: 100vw;
  }
}

@media (max-width: 1080px) {
  .palestrantes .palestrante .link-photo {
    max-width: 90px;
    height: 90px;
  }
}
