/* Homepage editorial imagery; uses the existing design system and leaves other pages alone. */
.hero .home-hero-media {
  flex: 0 0 40%;
  max-width: 460px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.home-hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-image-caption {
  margin-top: var(--sp-3);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: var(--lh-body);
}

.home-ranking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-ranking-grid .card-ranking {
  min-width: 0;
  padding: 0 0 var(--sp-5);
  gap: var(--sp-4);
}

.home-ranking-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.home-ranking-grid .card-ranking > :not(.home-ranking-image) {
  margin-left: var(--sp-5);
  margin-right: var(--sp-5);
}

.home-ranking-grid .card-facts {
  margin-top: auto;
}

.home-industry-row {
  align-items: center;
}

.home-industry-identity {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-width: 0;
}

.home-industry-image {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  object-fit: cover;
}

.home-industry-row .row-meta {
  flex-shrink: 0;
}

.home-location-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.home-module-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  margin-bottom: var(--sp-2);
}

.home-image-note {
  max-width: 85ch;
}

@media (max-width: 1100px) {
  .home-ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero .home-hero-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    align-self: stretch;
  }

  .home-hero-image {
    aspect-ratio: 16 / 9;
    object-position: center 45%;
  }
}

@media (max-width: 560px) {
  .home-ranking-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-industry-image {
    flex-basis: 56px;
    width: 56px;
    height: 48px;
  }

  .home-industry-identity {
    gap: var(--sp-3);
  }

  .home-industry-row {
    gap: var(--sp-2);
  }
}
