.album-page {
  min-height: calc(100vh - 20rem);
}

.album-strip-header {
  width: 3rem;
  transform: rotate(-90deg);
  white-space: nowrap;
}

.album-page-intro {
  width: 400px;
  border: solid 2px #efefef;
  padding: 3rem;
}

.album-strip {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  height: var(--album-strip-height, 60vh);
  min-height: 20rem;
  padding-inline: 0.25rem;
  align-items: stretch;
}

.album-frame {
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.album-frame-button {
  display: block;
  width: auto;
  height: 100%;
  background: transparent;
}

.album-frame-button:focus-visible {
  outline: none;
}

.album-frame-image {
  width: auto;
  height: 100%;
  max-width: none;
  display: block;
}

.album-frame-caption {
  max-width: 30rem;
}

.album-lightbox .modal-body {
  min-height: 100vh;
  position: relative;
  padding: 0 !important;
}

.album-lightbox .modal-content {
  overflow: hidden;
}

.album-lightbox .modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.album-lightbox-figure {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-lightbox-image {
  width: 100vw;
  height: 100vh;
  max-height: none;
  object-fit: contain;
  /* object-fit:cover; */
}

.album-lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0.25rem;
}

.album-lightbox-nav {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.album-lightbox-prev {
  left: 1rem;
}

.album-lightbox-next {
  right: 1rem;
}

@media (max-width: 991.98px) {
}

@media (max-width: 767.98px) {
  .album-strip-header {
    width: 4.5rem;
    min-height: min(58vh, 28rem);
  }

  .album-page-title {
    font-size: clamp(1rem, 4.8vw, 1.8rem);
  }

  .album-frame-image {
    height: 100%;
  }

  .album-lightbox-nav {
    width: 2.75rem;
    height: 2.75rem;
  }
}
