/* ───────────────────────────────────────────────────────────
   blogg.css — deles av blogg-seo, blogg-pris og blogg-tlf.
   Delt designsystem ligger i sider.css, som må lastes først.
   ─────────────────────────────────────────────────────────── */

.page-hero {
  min-height: min(58vh, 540px);
  background:
    radial-gradient(115% 85% at 76% 14%, rgba(150,205,242,0.5) 0%, transparent 58%),
    linear-gradient(118deg, #0a4a92 0%, #0f5fb4 32%, #2b82cc 62%, #6cb0dd 100%);
}
.bg-hero { margin-top: auto; padding: 0 56px 56px; max-width: 940px; }
.bg-hero .ph-title { font-size: clamp(32px, 3.8vw, 56px); max-width: 24ch; }
.bg-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  margin-bottom: 26px;
  transition: color 0.2s;
}
.bg-back:hover { color: #fff; }
.bg-back span { transition: transform 0.22s ease; }
.bg-back:hover span { transform: translateX(-4px); }


/* ═══════════════════════════════════════════════════════════
   ARTIKKEL — én smal spalte. Leseflyt er hele poenget her,
   så bredden er låst til ~68 tegn uansett skjermstørrelse.
   ═══════════════════════════════════════════════════════════ */
.bg-article {
  background: #fff;
  max-width: 780px;
  margin: 0 auto;
  padding: 76px 24px 90px;
}
.bg-figure {
  margin: 0 0 52px;
  border-radius: 18px;
  overflow: hidden;
  background: #e6e6e3;
  aspect-ratio: 16 / 9;
}
.bg-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bg-text { color: #0a0a0a; }
.bg-text p {
  font-size: 18px;
  line-height: 1.72;
  color: rgba(10,10,10,0.78);
}
.bg-text p + p { margin-top: 22px; }
.bg-text h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0a0a0a;
  margin: 52px 0 18px;
}
.bg-text h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin: 36px 0 12px;
}
.bg-text ul, .bg-text ol {
  margin: 22px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bg-text li {
  position: relative;
  padding-left: 28px;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(10,10,10,0.78);
}
.bg-text li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  /* Limegrønt på hvitt trenger en kontur for å ikke forsvinne */
  box-shadow: 0 0 0 1px rgba(10,10,10,0.22);
}
.bg-text strong { font-weight: 600; color: #0a0a0a; }
.bg-text a {
  color: #0a0a0a;
  border-bottom: 1.5px solid var(--lime);
  padding-bottom: 1px;
}
.bg-text a:hover { background: var(--lime-soft, rgba(212,255,61,0.28)); }
.bg-text blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--lime);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: #0a0a0a;
}

/* CTA nederst i artikkelen — samme bredde som teksten, så den
   leses som en avslutning og ikke som en annonse. */
.bg-cta {
  margin-top: 64px;
  background: #0d0d0d;
  color: #fff;
  border-radius: 20px;
  padding: 38px 38px 34px;
}
.bg-cta-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.bg-cta-head {
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.bg-cta-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.66);
  max-width: 46ch;
  margin-bottom: 28px;
}
.bg-cta-btn {
  --cap: 40px;
  --pad: 6px;
  gap: 16px;
  padding: var(--pad) var(--pad) var(--pad) 26px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: inline-flex;
}

@media (max-width: 720px) {
  .bg-article { padding: 48px 22px 64px; }
  .bg-figure { margin-bottom: 36px; border-radius: 14px; }
  .bg-text p { font-size: 17px; }
  .bg-text h2 { margin-top: 40px; }
  .bg-cta { padding: 28px 24px 26px; }
}


/* ═══════════════════════════════════════════════════════════
   LES OGSÅ — de to andre artiklene
   ═══════════════════════════════════════════════════════════ */
.bg-next { background: #fff; padding: 20px 0 120px; }
.bg-next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 24px;
}
.bg-next-card {
  position: relative;
  background: #f1f1ef;
  border-radius: 18px;
  padding: 32px 34px 30px;
  display: flex;
  flex-direction: column;
  color: #0a0a0a;
  min-height: 160px;
  transition: background 0.22s, transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.bg-next-card:hover { background: #eaeae7; transform: translateY(-3px); }
.bg-next-tag {
  align-self: flex-start;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(10,10,10,0.6);
  margin-bottom: 20px;
}
.bg-next-title {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.25;
  margin-bottom: auto;
  max-width: 22ch;
}
.bg-next-go {
  align-self: flex-start;
  margin-top: 26px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
  font-size: 14px;
  opacity: 0.5;
  transition: opacity 0.25s, transform 0.25s;
}
.bg-next-card:hover .bg-next-go { opacity: 1; transform: translateX(4px); }

@media (max-width: 760px) {
  .bg-next { padding-bottom: 80px; }
  .bg-next-grid { grid-template-columns: 1fr; }
}
