.inn-hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.inn-hero + .section {
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

.inn-gallery-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.6vw, 1rem);
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.inn-gallery-choice {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #17252e;
  box-shadow: 0 8px 24px rgb(22 37 46 / 14%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.inn-gallery-choice:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgb(22 37 46 / 20%);
}

.inn-gallery-choice:focus-visible {
  outline: 3px solid #176f86;
  outline-offset: 3px;
}

.inn-gallery-choice[aria-selected="true"] {
  border-color: #176f86;
  box-shadow:
    0 0 0 3px rgb(23 111 134 / 18%),
    0 12px 30px rgb(22 37 46 / 20%);
}

.inn-gallery-choice img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.84;
}

.inn-gallery-choice span {
  display: flex;
  align-items: center;
  min-height: 4rem;
  padding: 0.7rem 0.8rem 0.8rem;
  font-size: clamp(0.8rem, 1.3vw, 0.95rem);
  font-weight: 750;
  line-height: 1.25;
}

.inn-gallery {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid #d8e0e4;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 96%), rgb(243 247 248 / 96%));
  border-radius: 22px;
  box-shadow: 0 14px 38px rgb(22 37 46 / 9%);
}

.inn-gallery-entering {
  animation: inn-gallery-roll-in 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes inn-gallery-roll-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inn-gallery + .inn-gallery {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.inn-gallery-header {
  max-width: 850px;
  margin-bottom: 1.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #d8e0e4;
  scroll-margin-top: 90px;
}

.inn-gallery-header h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.inn-gallery-header p {
  margin: 0;
  color: #4d5a63;
  font-size: 1.05rem;
}

.inn-gallery-single .collection-grid {
  grid-template-columns: minmax(0, 380px);
}

.inn-gallery-empty .inn-gallery-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .inn-gallery-entering {
    animation: none;
  }
}

@media (max-width: 900px) {
  .inn-gallery-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .inn-gallery-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inn-gallery-choice span {
    min-height: 3.6rem;
  }

  .inn-gallery-choice:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 0.65rem) / 2);
    justify-self: center;
  }
}
