/* Hide "On this page" right sidebar */
#right-sidebar {
  display: none !important;
}

/* Disable the wide-screen 2-column layout when right sidebar is hidden */
@media (min-width: 1280px) {
  main {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }
}

/* Widen reading width on large screens */
@media (min-width: 1024px) {
  .max-w-prose {
    max-width: 80ch !important;
  }
}

.organizer-profile {
  margin-top: 2rem;
  padding: 0;
  display: flow-root;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.organizer-profile:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.organizer-profile .organizer-media {
  float: right;
  width: min(300px, 38%);
}

.organizer-profile .organizer-photo {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 8px;
}

.organizer-profile .organizer-media figure {
  margin: 0;
}

.organizer-profile .organizer-media figure > img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.organizer-profile .organizer-media figcaption {
  margin-bottom: 1rem !important;
}

.organizer-profile .organizer-media figcaption p {
  margin: 0;
}

.organizer-profile > p {
  margin-top: 1rem;
}

.organizer-profile .organizer-photo-credit {
  color: var(--color-foreground-secondary);
  font-size: 0.85rem;
  line-height: 1.25;
}

@media (max-width: 720px) {
  .organizer-profile .organizer-media {
    float: none;
    width: min(220px, 100%);
  }
}

@media (max-width: 767px) {
  #left-sidebar > a img {
    width: 28px !important;
    height: 28px !important;
  }

  #left-sidebar > a span {
    font-size: 1.5rem;
    line-height: 1.25;
  }
}
