/* ============================================================
   NewsFlow — /kundehistorier/, four customer stories.
   Layered on flow.css, site.css and nettavis.css (crumbs, CTA card).
   ============================================================ */

/* ---------- Hero ---------- */
.kh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kh-hero__content { display: grid; gap: 22px; }
.kh-hero__content h1 { font-size: var(--step-5); }
.kh-hero__content .lead { max-width: 56ch; }
.kh-hero__quote { display: grid; gap: 14px; margin: 0; padding: clamp(22px, 3vw, 32px); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-hard); }
.kh-hero__quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.4; color: var(--ink); }
.kh-hero__quote figcaption { display: grid; gap: 2px; font-size: var(--step--1); color: var(--ink-soft); }
.kh-hero__quote figcaption strong { font-size: var(--step-0); color: var(--ink); }
@media (max-width: 960px) { .kh-hero__grid { grid-template-columns: minmax(0, 1fr); } }

.kh-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
.kh-index__card {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: border-color var(--speed) var(--ease), translate var(--speed) var(--ease);
}
.kh-index__card:hover, .kh-index__card:focus-visible { border-color: var(--accent); translate: 0 -2px; }
.kh-index__card img { flex: none; width: 48px; height: 48px; border-radius: var(--radius-xs); object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.kh-index__card span { display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.kh-index__card strong { font-size: 1rem; }
.kh-index__card small { font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 1000px) { .kh-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kh-index { grid-template-columns: minmax(0, 1fr); } }

/* ---------- A story ---------- */
.kh-story__grid { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.kh-story__media { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; margin: 0; }
.kh-story__media figcaption { text-align: center; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; }
.kh-story__media figcaption a { color: var(--ink-soft); }
.kh-story .phone img { aspect-ratio: 520 / 1141; }
.kh-story__body { display: grid; gap: 18px; max-width: 72ch; }
.kh-story__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.kh-story__brand img { width: 48px; height: 48px; border-radius: var(--radius-xs); object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.kh-story__body h2 { font-size: var(--step-4); }
.kh-story__body h3 { margin-top: 10px; font-size: var(--step-1); font-family: var(--font-body); }
.kh-story__body > p { color: var(--ink-soft); font-size: var(--step-0); line-height: 1.6; }

.kh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 4px 0 0; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule); }
.kh-facts div { display: grid; gap: 2px; padding: 12px 16px 12px 0; }
.kh-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.kh-facts dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kh-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 520px) {
  .kh-facts { grid-template-columns: minmax(0, 1fr); }
  .kh-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

.kh-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kh-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
.kh-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.kh-list li > span { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: var(--accent); }

.kh-quote { display: grid; gap: 10px; margin: 8px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); }
.kh-quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); font-weight: 500; line-height: 1.3; color: var(--ink); }
.kh-quote figcaption { display: grid; gap: 2px; font-size: var(--step--1); color: var(--ink-soft); }
.kh-quote figcaption strong { color: var(--ink); }
.kh-quote--small blockquote { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }

@media (max-width: 860px) {
  .kh-story__grid { grid-template-columns: minmax(0, 1fr); }
  .kh-story__media { position: static; width: min(180px, 55%); justify-self: center; }
}

.kh-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .kh-index__card { transition: none; } .kh-index__card:hover { translate: none; } }
