/* Daylight theme — pages/har-finns-vi. Split from daylight.css (see docs/adr/0002). */

/* ---------- Hero photo (hero-duo--fit) ----------
   The shared .hero-duo photo cover-crops to fill a 520px column; this page's
   hero is a wide 16:9 aerial (enstavagen-sodertalje-5, 1200×675) whose subject
   is the whole plot, so a cover-crop eats the roof and garden. Match the box to
   the image ratio and contain it, centered in the column — the full frame shows
   with no zoom or crop. */
/* Wide monitors: cap and center this page's hero so the copy isn't pinned
   to the corner while the photo grows unbounded. Scoped here — the other
   hero-duo pages keep the full-bleed photo at every width. */
.hero-duo--fit {
  max-width: 1680px;
  margin-inline: auto;
}

.hero-duo--fit .hero-photo {
  min-height: 0;
  align-self: center;
  aspect-ratio: 16 / 9;
}

.hero-duo--fit .hero-photo img {
  object-fit: contain;
}

/* ---------- Key-figure cards (har-finns-vi intro column) ----------
   Card structure and the figure typography come from the core card
   vocabulary (.card-grid + .card .card--tight .card--fact in cards.css);
   only the intro-column placement lives here. */
.sweden-wrap .sec-head .card-grid {
  margin-top: 36px;
  --gap: 14px;
}

.missing-city {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--c-ink-muted);
}

/* ---------- Metro spotlight cards (photo + gradient + name/latitude) ---------- */
.metro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metro-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 320px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed);
}

.metro-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(27, 29, 27, 0.18);
}

.metro-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metro-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 36, 28, 0) 30%, rgba(16, 36, 28, 0.85) 100%);
}

.metro-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.metro-label b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-vit);
}

.metro-label span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .metro-grid {
    grid-template-columns: 1fr;
  }
}

/* The "varför oss" 5/7 sub-block (.why-sub/.why-sub-text/.why-cta) is shared
   with fastighetsagare and lives in the core sections.css. */
