/* Keep the opening portrait complete and fill the same photo area with later
   slides. Controls stay outside the image and only opacity changes on rotation. */
.personal-home #home .hero-carousel { background: #e4d9c9; }
.personal-home #home .hero-carousel::after { content: none; }
.personal-home #home .hero-carousel .portrait-caption,
.personal-home #home .hero-carousel .portrait-controls button { color: var(--navy); }
.personal-home #home .hero-carousel .portrait-caption > span:last-child { color: #786341; }
.personal-home #home .hero-carousel .portrait-controls { border-color: #a1886060; }
.personal-home #home .hero-carousel .portrait-dots button::after { background: #a1886060; }
.personal-home #home .hero-carousel .portrait-dots button[aria-pressed=true]::after { background: #786341; }
.personal-home #home .hero-carousel .portrait-slide img {
  object-fit: cover;
  animation: none; transform: none; transition: none;
}
@media (min-width: 701px) {
  .personal-home #home .hero-carousel .portrait-viewport {
    bottom: 110px; height: calc(100% - 110px); background: #e4d9c9;
  }
  .personal-home #home .hero-carousel .portrait-slide:first-child img {
    object-fit: contain; object-position: center !important;
  }
}
@media (max-width: 700px) {
  .personal-home #home .hero-photo.hero-carousel {
    height: auto; min-height: 0; aspect-ratio: auto;
  }
  .personal-home #home .hero-carousel .portrait-viewport {
    position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5;
  }
  .personal-home #home .hero-carousel .portrait-slide:first-child img {
    object-fit: cover; object-position: 38% center !important;
  }
  .personal-home #home .hero-carousel .portrait-caption {
    position: static; margin: 16px 7% 0;
  }
  .personal-home #home .hero-carousel .portrait-controls {
    position: static; margin: 8px 7% 16px;
  }
}
