/* Bygmer blog-stylesheet — kun blog-specifikke regler.
   Tokens (farver, fonte, base reset) ligger i /assets/bygmer-tokens.css.
   Begge filer linkes i HEAD af alle blog-HTML-sider — tokens FØRST, så denne.

   Hvis du vil skifte tema: redigér /assets/bygmer-tokens.css, IKKE denne fil. */

/* Layout-wraps: .wrap er smal læse-bredde (post-pages), .wrap-wide er grid (index). */
.wrap { max-width: 780px; margin: 0 auto; padding: 0 28px; }
/* Typografi-helpers (.serif beholdes som klasse-navn for kompatibilitet
   selvom vi ikke længere bruger serif-font). */
/* Buttons */
/* Nav */
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
}

/* Eyebrow (label over hero-titel, både index og post) */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow::before { content: none; }

/* ===== BLOG-INDEX (oversigtsside) ===== */
.blog-hero { padding: 80px 0 56px; }
h1.blog-title { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 800; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); max-width: 780px; }
h1.blog-title em { font-style: normal; font-weight: 800; color: var(--coral); }
.blog-sub { margin-top: 24px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 620px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; padding: 32px 0 96px; }
.post-card { background: var(--cream-2); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26, 25, 21, 0.08); }
.post-card .post-thumb { aspect-ratio: 16/9; background: var(--cream-2); border-bottom: 1px solid var(--rule); }
.post-card .post-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card h2 { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.post-card .post-excerpt { font-size: 15px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.post-card .post-cta { font-size: 14px; color: var(--coral); font-weight: 500; border-bottom: 1px solid var(--coral); padding-bottom: 2px; align-self: flex-start; margin-top: 6px; }
.post-card a { display: block; color: inherit; height: 100%; }

.empty { padding: 48px 32px; text-align: center; background: var(--cream-2); border: 1px dashed var(--rule); border-radius: 12px; color: var(--muted); }

/* ===== BLOG-POST (artikel) ===== */
.crumbs { padding: 24px 0 0; font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--ink); border-color: var(--rule); }
.crumbs span { margin: 0 8px; color: var(--rule); }

article header { padding: 32px 0 40px; border-bottom: 1px solid var(--rule); margin-bottom: 48px; }
h1.post-title { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 800; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
h1.post-title em { font-style: normal; font-weight: 800; color: var(--coral); }
.post-lede { margin-top: 24px; font-size: 20px; line-height: 1.55; color: var(--ink-2); font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 400; }

.post-meta { display: flex; align-items: center; gap: 10px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--rule); }
.post-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.post-meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--rule); }

.post-body { padding: 0 0 80px; }
.post-body h2 { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 48px 0 16px; }
.post-body p { margin: 0 0 18px; color: var(--ink-2); font-size: 17.5px; line-height: 1.7; }
.post-body p strong { color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 24px 22px; color: var(--ink-2); font-size: 17.5px; line-height: 1.7; }
.post-body li { margin-bottom: 6px; }
.post-body li::marker { color: var(--coral); }
.post-body a { color: var(--coral); border-bottom: 1px solid var(--coral-soft); transition: border-color .15s; }
.post-body a:hover { border-color: var(--coral); }

.callout { background: var(--cream-2); border-left: 3px solid var(--coral); padding: 20px 24px; margin: 28px 0; border-radius: 0 8px 8px 0; }
.callout-title { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.callout p { margin: 0; font-size: 16.5px; color: var(--ink-2); }

.info-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; }
.info-table th, .info-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.info-table th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; background: var(--cream-2); }
.info-table td:first-child { font-weight: 500; color: var(--ink); }

.disclaimer { margin: 24px 0; padding: 16px 20px; background: #FFF8EE; border: 1px solid #E5C99A; border-radius: 8px; font-size: 14.5px; color: #6B5318; }
.disclaimer strong { color: #4A3A0F; }

.cta-bar { margin: 56px 0 0; padding: 36px 32px; background: var(--ink); color: var(--cream); border-radius: 14px; text-align: center; }
.cta-bar h3 { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--cream); }
.cta-bar p { margin: 0 auto 22px; max-width: 460px; color: rgba(255,255,255,0.78); font-size: 16px; }
.cta-bar .cta-bar .btn:hover { background: var(--coral-dark); }

.post-foot { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.post-foot a { color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.post-foot a:hover { color: var(--coral); border-color: var(--coral); }

.related { padding: 56px 0 64px; background: var(--cream-2); border-top: 1px solid var(--rule); }
.related h3 { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.related-card { background: var(--cream); border: 1px solid var(--rule); border-radius: 10px; padding: 20px; transition: transform .15s ease; }
.related-card:hover { transform: translateY(-2px); }
.related-card .rc-cat { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.related-card h4 { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; }
.related-card p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* Footer (delt) */
