/* Location pages without a unit list yet (Houten, Den Haag, Delft,
   Honselersdijk, Houten opslagruimtes). Read with pages/location.css. */

@layer pages {
  .location-intro__list {
    margin-top: var(--theme-space-sm);
  }

  .location-intro__price {
    margin-top: var(--theme-space-sm);
    font-size: var(--theme-text-lg);
  }

  .location-intro__price strong {
    font-weight: var(--theme-weight-bold);
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: 4px;
    background: var(--theme-color-background);
  }

  .gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .availability {
    display: grid;
    gap: var(--theme-space-sm);
    max-width: 44rem;
    padding: var(--theme-space-md);
    background: var(--theme-color-surface);
  }

  .availability__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--theme-space-2xs);
  }

  .finance {
    display: grid;
    gap: var(--theme-space-xs);
    margin-top: var(--theme-space-lg);
    padding-top: var(--theme-space-sm);
    border-top: var(--theme-border-width) solid var(--theme-color-border-strong);
  }

  .finance h3 {
    font-size: var(--theme-text-lg);
  }

  @media (width >= 56rem) {
    .finance {
      grid-template-columns: 1fr 2fr;
    }
  }

  .location-quote {
    margin-top: var(--theme-space-md);
    font-size: var(--theme-text-xl);
  }

  .location-intro .section__text {
    font-size: var(--theme-text-sm);
  }
}
