/* Home page (index.html) */

@layer pages {
  .about {
    overflow: clip;
    padding-bottom: calc(var(--theme-space-xl) + 4rem);
  }

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

  /* Locations */
  .location-feature {
    display: grid;
    background: var(--theme-color-background);
  }

  .location-feature__media img {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
  }

  .location-feature__body {
    display: grid;
    align-content: start;
    gap: var(--theme-space-xs);
    padding: var(--theme-space-md) var(--theme-space-sm);
  }

  .location-feature__place {
    font-size: var(--theme-text-sm);
    font-weight: var(--theme-weight-semibold);
  }

  .location-feature__title {
    font-size: var(--theme-text-2xl);
  }

  .location-feature__title a {
    text-decoration: none;
  }

  .location-feature__title a:hover {
    text-decoration: underline;
    text-decoration-color: var(--theme-color-accent);
    text-decoration-thickness: 3px;
  }

  .location-feature__facts {
    margin-block: var(--theme-space-2xs) var(--theme-space-xs);
    font-size: var(--theme-text-sm);
  }

  @media (width >= 56rem) {
    .location-feature {
      grid-template-columns: 7fr 5fr;
    }
  }

  .locations__more {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--theme-space-xs);
    margin-block: var(--theme-space-lg) var(--theme-space-sm);
  }

  .locations__more-title {
    font-size: var(--theme-text-xl);
  }
}
