.footer_bottom-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.footer_bottom-wrapper > .text-size-small {
  width: auto;
  text-align: right;
}

.section_event_schedule > .padding-global,
.section_event_schedule .margin-xxlarge-videos {
  width: 100%;
}

.section_event_schedule .margin-xxlarge-videos > .max-width-medium {
  width: 100%;
  margin-inline: auto;
}

.section_event_schedule .text-align-center > .max-width-medium > .max-width-small {
  margin-inline: auto;
  text-align: center;
}

.section_event_schedule .text-align-center .left-align-mobile {
  text-align: center;
}

.section_instagram-gallery .gallery_slider {
  padding-bottom: 4.5rem;
}

.section_instagram-gallery .gallery23_arrow {
  bottom: 0;
  background-color: #fff;
}

.section_instagram-gallery .gallery23_arrow img {
  width: 16px;
  height: 16px;
}

.section_instagram-gallery .gallery23_arrow:focus-visible {
  outline: 2px solid #316bc4;
  outline-offset: 4px;
}

/* Keep biographies within the screen, with one scroll area and a reachable close button. */
:is(.modal-leela, .modal-dean, .modal-leila, .modal-tad, .modal-haley, .modal-nico) {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 24px;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

[role="dialog"] .modal_background-overlay {
  position: fixed;
  inset: 0;
  background: rgb(18 24 33 / 60%);
  z-index: -1;
}

[role="dialog"] .signup-modal3_content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  grid-template-rows: auto 1fr;
  gap: 20px 32px;
  align-items: start;
  align-content: start;
  width: 100%;
  max-width: 960px;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 32px;
  border: 1px solid #e1e3e7;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgb(0 0 0 / 24%);
}

[role="dialog"] .bio-modal-image-wrapper {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
}

[role="dialog"] .bio-modal-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

[role="dialog"] .bio-modal-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0 48px 0 0;
  font-family: Lora, Georgia, serif;
  font-size: 30px;
  line-height: 1.25;
  color: #222;
}

[role="dialog"] .bio-modal_paragraph {
  grid-column: 2 !important;
  grid-row: 2 !important;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

[role="dialog"] .signup-modal3_close-button {
  position: sticky;
  top: 0;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e1e3e7;
  border-radius: 50%;
  background: white;
  color: #222;
  z-index: 1;
}

[role="dialog"] .signup-modal3_close-button .icon-embed-small {
  display: block;
  width: 24px;
  height: 24px;
}

[role="dialog"] .signup-modal3_close-button img {
  display: none;
}

[role="dialog"] .signup-modal3_close-button:focus-visible {
  outline: 2px solid #0a73d8;
  outline-offset: 3px;
}

body:has([role="dialog"][aria-hidden="false"]) {
  overflow: hidden;
}

@media (max-width: 767px) {
  :is(.modal-leela, .modal-dean, .modal-leila, .modal-tad, .modal-haley, .modal-nico) {
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  [role="dialog"] .signup-modal3_content-wrapper {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
  }

  [role="dialog"] .bio-modal-title,
  [role="dialog"] .signup-modal3_close-button {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  [role="dialog"] .bio-modal-title {
    font-size: 26px;
    align-self: center;
  }

  [role="dialog"] .bio-modal-image-wrapper {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  [role="dialog"] .bio-modal-image {
    max-height: 280px;
    object-fit: contain;
    background: #f4f4f4;
  }

  [role="dialog"] .bio-modal_paragraph {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
}
