/* KI Katapult — Feldnotizen (blog at /blog and /en/blog). Loads after site.css.
   Prose scale follows legal.css; cards reuse .shelf/.prod from site.css. */

/* Head: series label, title, lead, meta */
.fn-head { display: flex; flex-direction: column; gap: 16px; }
.fn-head__series a, .fn-head__meta a { border-bottom-width: 2px; }
.fn-head__title { font-size: 64px; line-height: .96; text-transform: uppercase; max-width: 22ch; text-wrap: balance; }
.fn-head__lead { font-size: 20px; line-height: 1.5; font-weight: 500; max-width: 60ch; }

/* Body: text column plus the visual, which stays in view on wide screens */
.fn-body { display: grid; grid-template-columns: minmax(0, 68ch) minmax(260px, 400px); gap: 56px; align-items: start; justify-content: space-between; }
.fn-visual { grid-column: 2; grid-row: 1; position: sticky; top: 24px; margin: 0; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); background: var(--ink); }
.fn-visual img, .fn-visual video { display: block; width: 100%; height: auto; }
.fn-prose { grid-column: 1; grid-row: 1; }

/* Prose */
.fn-prose p, .fn-prose li { font-size: 18px; line-height: 1.7; }
.fn-prose p { margin: 0 0 18px; }
.fn-prose h2 { font-family: var(--font-disp); font-weight: 800; font-size: 32px; line-height: 1.05; letter-spacing: -.01em; border-top: 3px solid var(--ink); padding-top: 18px; margin: 44px 0 16px; }
.fn-prose h3 { font-family: var(--font-body); font-weight: 600; font-size: 20px; line-height: 1.3; margin: 30px 0 10px; }
.fn-prose > :first-child { margin-top: 0; }
.fn-prose strong { font-weight: 600; }
.fn-prose ul, .fn-prose ol { margin: 0 0 18px; padding-left: 24px; }
.fn-prose ul { list-style: square; }
.fn-prose li { margin: 0 0 6px; padding-left: 2px; }
.fn-prose li::marker { color: var(--orange); font-weight: 700; }
.fn-prose blockquote { margin: 28px 0; border-left: 5px solid var(--orange); padding: 4px 0 4px 20px; }
.fn-prose blockquote p { font-size: 22px; line-height: 1.5; font-weight: 500; }
.fn-prose blockquote p:last-child { margin-bottom: 0; }
.fn-prose hr { border: 0; height: 12px; background: var(--stripe); margin: 40px 0; }
.fn-prose code { font-family: var(--font-mono); font-size: .85em; background: var(--paper); border: 2px solid var(--ink); padding: 0 4px; }
.fn-prose a { overflow-wrap: anywhere; }
.fn-prose table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 16px; line-height: 1.5; }
.fn-prose th, .fn-prose td { border: 2px solid var(--ink); padding: 8px 12px; text-align: left; vertical-align: top; }
.fn-prose th { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--paper); }

/* EU AI label (AI Act Art. 50): official icon + plain-language text, at the top and at the end of the text */
.fn-ai { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; font-weight: 500; }
.fn-ai__icon { height: 22px; width: auto; flex: none; }
.fn-ai--end { margin-top: 36px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: 14px; }
.fn-prose .fn-ai--end { font-size: 14px; line-height: 1.45; margin-bottom: 0; }

/* CTA: the contact block from the homepage, headline set like the hero */
.fn-cta .kontakt__title { text-transform: uppercase; text-wrap: balance; }

/* Index without posts yet */
.fn-empty { font-size: 18px; font-weight: 500; }

@media (max-width: 1100px) {
  .fn-head__title { font-size: 52px; }
  .fn-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fn-visual { grid-column: 1; grid-row: 1; position: static; max-width: 480px; }
  .fn-prose { grid-row: 2; max-width: 68ch; }
}

@media (max-width: 760px) {
  .fn-head { gap: 12px; }
  .fn-head__title { font-size: 38px; line-height: 1; }
  .fn-head__lead { font-size: 17px; }
  .fn-ai { align-items: flex-start; font-size: 14px; }
  .fn-ai__icon { margin-top: 1px; }
  .fn-visual { box-shadow: 6px 6px 0 var(--ink); margin-right: 6px; }
  .fn-prose p, .fn-prose li { font-size: 16px; line-height: 1.65; }
  .fn-prose h2 { font-size: 26px; margin-top: 36px; padding-top: 14px; }
  .fn-prose h3 { font-size: 18px; }
  .fn-prose blockquote p { font-size: 18px; }
}
