/* =========================================================================
   Blog — index + article styles. Loaded after landing.css (uses its tokens).
   ========================================================================= */

/* ── Index ── */
.blog-wrap { max-width: 1080px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) clamp(24px, 3vw, 32px) 40px; }
.blog-head { max-width: 640px; margin-bottom: 40px; }
.blog-head .eyebrow { margin-bottom: 14px; }
.blog-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; color: var(--ink-1); }
.blog-head p { font-size: 16.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }

.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--hairline); border-radius: 18px; padding: 28px; background: var(--paper); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.post-card .cat { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); }
.post-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.22; letter-spacing: -0.01em; margin: 0; color: var(--ink-1); }
.post-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); margin: 0; flex: 1; }
.post-card .more { font-size: 13.5px; font-weight: 600; color: var(--teal-deep); margin-top: 6px; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }

/* ── Article ── */
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 32px) 8px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 24px; transition: color 180ms var(--ease-out); }
.breadcrumb:hover { color: var(--ink-1); }
.article-eyebrow { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); }
.article h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5vw, 46px); line-height: 1.06; letter-spacing: -0.03em; margin: 14px 0 16px; color: var(--ink-1); }
.article-lede { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.5; color: var(--ink-2); margin: 0 0 10px; }
.article-meta { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.article-divider { height: 1px; background: var(--hairline); margin: 36px 0 4px; border: 0; }

.step { margin-top: 44px; }
.step-eyebrow { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.article h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 28px); line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0 14px; color: var(--ink-1); }
.article p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.article ul { margin: 0 0 16px; padding-left: 20px; }
.article li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 6px; }
.article a.inline { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.article a.inline:hover { color: var(--teal); }

/* callout */
.callout { background: var(--teal-mist); border: 1px solid #CFEFEA; border-left: 3px solid var(--teal); border-radius: 12px; padding: 16px 18px; margin: 18px 0 8px; }
.callout p { font-size: 14.5px; line-height: 1.62; color: var(--ink-2); margin: 0; }
.callout p + p { margin-top: 8px; }
.callout strong { color: var(--ink-1); }

/* step screenshots — placeholders that auto-swap once an <img> at the path loads */
.shots { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 28px 0 8px; width: min(880px, 92vw); position: relative; left: 50%; transform: translateX(-50%); }
.shot { margin: 0; display: flex; flex-direction: column; gap: 10px; width: 248px; }
.shot-media { position: relative; width: 100%; aspect-ratio: 1310 / 2678; }
.shot-media img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 14px 32px rgba(15,15,20,0.20)); }
.shot-media.is-missing { background: var(--teal-mist); border: 1.5px dashed var(--teal); border-radius: 22px; box-shadow: none; }
.shot-media.is-missing img { display: none; }
.shot-media.is-missing::after { content: "Skjermbilde"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--teal-deep); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.shot figcaption { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); text-align: center; }
@media (max-width: 520px) { .shots { width: 100%; left: 0; transform: none; } .shot { width: calc(50% - 10px); } }

/* Zoom loupes for guide screenshots — same teal magnifier treatment as the
   landing page, popping out the key element (replaces manual red circles).
   Rendered with background-image rather than a nested <img>: background-size
   resolves against the loupe's own box, so centering is deterministic across
   browsers (a nested-img approach drifted in Safari). Coordinates measured
   from the framed 1310×2678 screenshots; background-position is computed to
   center the target element in the loupe. */
.zoom-og-signup,
.zoom-og-orgacct,
.zoom-og-plus,
.zoom-og-cal {
  background-repeat: no-repeat;
}
/* Steg 1 — "Opprett konto" link */
.zoom-og-signup {
  left: 37%; top: 86.73%; width: 26%; height: 3.2%; border-radius: 10px; transform: scale(1.5);
  background-image: url(/blog/assets/arrangorguide/steg1-1.png);
  background-size: 384.62% 3125%;
  background-position: 50% 89.6%;
}
/* Steg 1 — "Opprett arrangørkonto i stedet" link */
.zoom-og-orgacct {
  left: 28%; top: 45.5%; width: 44%; height: 3.4%; border-radius: 10px; transform: scale(1.4);
  background-image: url(/blog/assets/arrangorguide/steg1-2.png);
  background-size: 227.27% 2941.18%;
  background-position: 50% 47.1%;
}
/* Steg 2 — the "+" create button (circular loupe) */
.zoom-og-plus {
  left: 45.04%; top: 87.84%; width: 9.92%; height: 4.85%; border-radius: 50%; transform: scale(1.6);
  background-image: url(/blog/assets/arrangorguide/steg2-1.png);
  background-size: 1008.06% 2061.86%;
  background-position: 50% 92.31%;
}
/* Brukerperspektiv — the event in the calendar (same as /arrangorer) */
.zoom-og-cal {
  left: 20.61%; top: 55.68%; width: 72.37%; height: 6.05%; border-radius: 10px; transform: scale(1.6);
  background-image: url(/blog/assets/arrangorguide/bruker-3.png);
  background-size: 138.18% 1652.89%;
  background-position: 74.6% 59.26%;
}
