@use "../../mixins" as *;
@use "../../variables" as *;

.speaker-bio-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;

  &.is-open {
    display: block;
  }

  &__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
  }

  &__content {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 90%;
    background: #fff;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 70vh;
    transform: translate(-50%, -50%);
    border-radius: 16px;

    @include responsive(lg) {
      max-width: 65%;
    }

    @include responsive(3xl) {
      max-width: 40%;
    }
  }

  &__close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 2rem;
    background: none;
    border: none;
    font-weight: 700;
    cursor: pointer;
  }

  &__name {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
  }

  &__desc {
    color: #444;
  }
}
