@import '../default/style.css';
/* Own fonts.css is loaded directly (not @import'd — see
   specs/features/font-load-cls.md), in parallel with style.css. */

/* ═══ edna — psychotherapie mockup alignment ═══════════════════════
   All values sourced from the mockup blueprint. CSS handles look &
   horizontal frame ONLY.

   AUTHORING GUIDANCE (CMS data, not CSS — do not try to style these):
   - Vertical rhythm: give sections ≈110px top/bottom padding via the
     padding drag zones.
   - Quote band: section background --sage-deep (#384A3E), section
     font color #F3EFE6, quote as a text block.
   - Cards: text blocks with a block background color (renders as
     .lb-richtext--colored below).
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Design tokens (mockup palette) */
  --bg: #F6F2EA;
  --bg-alt: #EAE1D2;
  --ink: #26332B;
  --ink-soft: #5B6960;
  --sage: #7E9483;
  --sage-deep: #384A3E;
  --mauve: #8B5A63;
  --mauve-soft: #C9A9AE;
  --line: rgba(38, 51, 43, 0.14);
  --radius: 20px;

  --lb-gap: 26px;
  --font-sans: 'Karla', 'Karla Fallback', sans-serif;
  --font-heading: 'Fraunces', 'Fraunces Fallback', serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

/* ─── Frame: 1220px content, full-bleed section backgrounds ────── */

.lb-root .lb-section-inner {
  max-width: 1220px;
}
.lb-section-inner > * {
  /* Keep in sync with the max-width above (overlay/y-offset math) */
  --lb-max-width: 1220;
}

/* Horizontal inset only — authored top/bottom section padding is set
   inline by the renderer and must not be overridden here. */
.lb-section {
  padding-inline: 48px;
}
@media (max-width: 980px) {
  .lb-section {
    padding-inline: 24px;
  }
}

/* ─── Typography ───────────────────────────────────────────────── */

.lb-richtext {
  font-size: 1rem;
  line-height: 1.7;

  h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
  }

  h1 { font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1.12; margin: 0 0 26px; }
  h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.2; margin: 0 0 22px; }
  h3 { font-size: 1.15rem; line-height: 1.4; margin: 0 0 10px; }

  p {
    line-height: 1.7;
    margin: 0 0 16px;
  }

  hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 32px 0;
  }

  ul li::marker {
    color: var(--mauve);
  }

  /* Ordered lists echo the mockup's step numerals */
  ol li::marker {
    color: var(--mauve);
    font-family: var(--font-heading);
    font-style: italic;
  }

  /* Eyebrow pattern: authors write the small uppercase kicker as h6 */
  h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin: 0 0 14px;
  }

  blockquote {
    border-left: none;
    padding-left: 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.5;

    max-width: 760px;
    margin-inline: auto;
  }

  a {
    color: var(--mauve);
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }

  /* Internal relation links render as ghost pill CTAs (mockup .btn-ghost) */
  a.lb-relation-link {
    display: inline-block;
    padding: 15px 30px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    transition: background 0.25s ease, color 0.25s ease;
  }
  a.lb-relation-link:hover {
    background: var(--ink);
    color: var(--bg);
    text-decoration: none;
  }
}

/* ─── Media: flat, rounded (mockup .placeholder / .map-real) ───── */

.lb-image {
  border-radius: var(--radius);
}

.lb-google-maps {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-sizing: border-box;
}

/* ─── Colored text blocks = mockup cards ───────────────────────── */

.lb-richtext--colored {
  margin: 12px;
  border-radius: var(--radius);
  padding: 34px 26px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lb-richtext--colored:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -18px rgba(38, 51, 43, 0.25);
}
