/* Daylight theme — pages/city. Split from daylight.css (see docs/adr/0002). */

/* ---------- Column sections (villkor+process / områden+trygghet) ---------- */
.feature-cols,
.prose-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
}

.feature-cols h3,
.prose-cols h3 {
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--tx);
}

@media (max-width: 800px) {
  .feature-cols,
  .prose-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- Ortssidor (v2 mall) ---------- */

/* Breadcrumb row under the top nav */
.crumbs .container {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-block: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-ink-muted);
}

.crumbs a {
  transition: color var(--speed);
}

.crumbs a:hover {
  color: var(--c-gran);
}

.crumbs [aria-current="page"] {
  color: var(--c-gran);
}

/* City hero: same system as the homepage 2a hero, slightly shorter */
.hero-lead--city {
  min-height: 560px;
}

/* Locked pre-filled Ort field in the capture card */
.field-locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-dis);
}

.field-locked > span:first-child {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-granit);
}

.locked-chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gran-djup);
  flex: 0 0 auto;
}

/* Local facts band: stats-band voice on the homepage's spruce (--gran),
   but the values are words too, so they size down */
.stats-band--local b {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  line-height: 1.08;
}

/* Nearest cities (replaces the full Sweden strip on city pages) */
.near-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  margin-bottom: 32px;
}

.near-head .sec-head {
  margin-bottom: 0;
}

.near-head > a {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--c-gran);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color var(--speed);
}

.near-head > a:hover {
  border-color: var(--c-gran);
}

.near-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.near-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--c-dagsljus);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  transition: transform var(--speed) var(--ease), border-color var(--speed), box-shadow var(--speed);
}

a.near-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--c-gran);
  box-shadow: var(--shadow-soft);
}

.near-card b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-granit);
}

.near-card > span:last-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-ink-muted);
}

.near-card--here {
  background: var(--c-fill);
  border-color: var(--c-fill);
}

.near-card--here b {
  color: var(--text-on-gran);
  font-weight: 700;
}

.near-card--here > span:last-child {
  color: var(--text-on-gran-muted);
}

@media (max-width: 1020px) {
  .near-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .near-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .near-grid {
    grid-template-columns: 1fr 1fr;
  }
}
