.cb-speakers-overview {
  .cb-speakers-overview .cb-speakers-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-block-end: 5rem;
    text-align: center;
    max-width: 70%;
    margin-inline: auto;
  }

  .cb-speakers-overview h2 {
    margin-block-end: 3.3rem;
  }

  .cb-speakers-overview:has(.vip-speaker) .speaker-excerpt {
    font-size: 1rem;
    margin-block-start: 1.5rem;
  }

  .speaker-card {
    border: 1px solid var(--color-grey--100);
    background: var(--color-white--100);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    padding: 1rem;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
  }

  .speaker-content {
    width: 100%;
  }

  .speaker-image img {
    border-radius: 32px;
    min-width: 100%;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .speaker-details {
    margin-inline-start: 2rem;
  }

  .speaker-bio {
    margin-block-start: 2.8rem;
    margin-inline-end: 4rem;
    margin-inline-start: 1rem;
  }

  .speakers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }

  .speakers-list .speaker-card:not(.vip-speaker) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .speaker-name {
    color: var(--color-darkblue--100);
    font-weight: 700;
    font-size: 1.25rem;
    padding-left: 1rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
  }

  .speaker-name p {
    font-weight: normal;
    font-size: 1.125rem;
  }

  /* Styles for the VIPs */

  .vip-speaker {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .speaker-card.vip-speaker {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
  }

  .speaker-content.vip-speaker {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 1rem;
    width: 100%;
  }

  .speaker-designation.vip-speaker {
    padding-top: 3rem;
  }

  .speaker-name.vip-speaker {
    margin-block-start: 2.8rem;
  }

  .speaker-info-wrapper.vip-speaker {
    padding-top: 3rem;
  }

  .speaker-bio.desktop-only {
    display: block;
  }
  .speaker-bio.mobile-only {
    display: none;
  }

  .speaker-image img {
    min-width: 100%;
    margin-bottom: 1rem;
  }

  .swiper-slide .speaker-card.vip-speaker img {
    margin-bottom: 0;
  }

  /* Swiper Styles */
  #speaker-swiper .swiper-wrapper {
    margin-block-end: 2.5rem;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .swiper-pagination {
    margin-top: 1rem;
  }

  .swiper-slide {
    width: 100%;
  }

  .swiper-slide:has(.vip-speaker) {
    width: 100%;
    max-width: 100%;
  }

  .swiper {
    padding: 1rem !important;
  }

  /* POP-UP Styles */

  .blue-line {
    width: 5rem;
    height: 4px;
    background-color: var(--color-lightblue--100);
    margin-block-start: 2rem;
    margin-left: 1rem;
    margin-block-end: -2rem;
  }

  .speaker-dialog {
    border: 1px solid var(--color-grey--100);
    background: var(--color-white--100);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    border: none;
    position: fixed;
    padding: 3rem 2rem 3rem 2rem;
    max-width: 450px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-x: hidden;
  }

  .speaker-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
  }

  .show-dialog {
    display: flex;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    margin-block-start: 2rem;
    padding-left: 1rem;
    color: var(--color-black--100);

    &:hover {
      color: var(--color-blue--100);
    }
  }

  .close-dialog {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .dialog-content {
    display: flex;
  }

  .dialog-image {
    position: relative;
    width: 50%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dialog-image svg {
    position: absolute;
  }

  .dialog-image svg:nth-child(1) {
    left: 16%;
    top: 0;
  }

  .dialog-image svg:nth-child(2) {
    right: 20%;
    top: 30px;
  }

  .dialog-image svg:nth-child(3) {
    left: 30%;
    top: 80px;
  }

  /* Media Queries */

  @media (max-width: 768px) {
    .dialog-image {
      width: 85%;
    }
  }

  @media (min-width: 1024px) {
    .swiper-slide {
      width: calc(33.4% - 1rem);
      max-width: calc(33.4% - 1rem);
    }

    .swiper-slide .speaker-card.vip-speaker {
      width: 100%;
      max-width: 100%;
    }
  }

  @media (max-width: 1024px) {
    .speaker-bio.desktop-only {
      display: none;
    }
    .speaker-bio.mobile-only {
      display: block;
    }

    .speakers-list .speaker-card:not(.vip-speaker) {
      max-width: 100%;
    }

    .swiper-slide .speaker-card.vip-speaker img {
      margin-bottom: 1rem;
    }

    .hide-on-mobile {
      display: none;
    }

    #speaker-swiper .swiper-wrapper {
      gap: 0;
      flex-wrap: nowrap;
    }
  }

  @media (min-width: 1024px) {
    .vip-speaker .show-dialog {
      display: none;
    }
  }

  @media (max-width: 1024px) {
    .cb-speakers-overview .cb-speakers-title {
      max-width: 100%;
    }

    .swiper-container {
      width: 100%;
    }

    .speaker-name.vip-speaker {
      margin-inline-start: 0;
      margin-block-start: 0;
    }

    .speaker-content.vip-speaker {
      gap: 0;
    }

    .swiper-slide .speaker-content {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .speaker-designation,
    .speaker-bio {
      width: 100%;
    }

    .speaker-card {
      max-width: 100%;
    }

    .speaker-card.vip-speaker {
      padding-bottom: 2rem;
    }
  }

  @media (max-width: 1023px) {
    .swiper-container {
      width: 100%;
    }

    .swiper-slide .speaker-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      border: 1px solid var(--color-grey--100);
      background: var(--color-white--100);
      box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
      margin-block-end: 1rem;
    }
  }

  @media (min-width: 1024px) {
    .swiper-container {
      align-items: center;
      justify-content: center;
    }

    .cb-speakers .swiper-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
      display: none;
    }
    .dialog-image svg {
      width: 100px;
      height: 100px;
    }

    .dialog-image svg:nth-child(3) {
      top: 120px;
    }
    .dialog-image svg:nth-child(2) {
      right: 0;
    }
    .dialog-image svg:nth-child(3) {
      left: 25%;
    }

    .speaker-dialog {
      max-width: 60%;
    }
  }
}
