/* Steffler.org – Minimal Theme */
:root {
  --bg: #ffffff;
  --text: #333333;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #0B2A4A; /* navy */
  --accent-contrast: #ffffff;
  --maxw: 1000px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 40px 0; border-top: 1px solid var(--border); }
.section:first-of-type { border-top: 0; }

/* Header / Nav */
.header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-weight: 700; letter-spacing: 0.3px; }
.brand a { color: var(--accent); text-decoration: none; }

.menu { display: flex; gap: 16px; }
.menu a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 6px; }
.menu a:hover { background: var(--border); }
.menu a.active { background: var(--accent); color: var(--accent-contrast); }

/* Mobile menu */
.burger { display: none; background: transparent; border: 1px solid var(--border); padding: 8px 10px; border-radius: 6px; }
@media (max-width: 720px) {
  .menu { display: none; position: absolute; right: 20px; top: 60px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px; width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
  .menu.show { display: block; }
  .burger { display: inline-block; }
}

/* Hero */
.hero { text-align: center; padding: 50px 0 30px; }
.hero img { width: 100%; max-width: 920px; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.hero .title { font-size: clamp(22px, 3.8vw, 36px); margin: 16px 0 6px; }
.hero .subtitle { color: var(--muted); margin: 0; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) ); gap: 18px; margin-top: 18px; }
.card { border: 1px solid var(--border); border-radius: 10px; padding: 18px; text-decoration: none; color: var(--text); transition: box-shadow .25s ease, transform .1s ease; }
.card:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); }

/* Content */
.lead { font-size: 18px; color: var(--text); }
.muted { color: var(--muted); }

.prose h1, .prose h2, .prose h3 { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0; padding-left: 20px; }

blockquote { margin: 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: #f8fafc; border-radius: 4px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: 14px; }

/* Utilities */
.btn { display: inline-block; background: var(--accent); color: var(--accent-contrast); text-decoration: none; padding: 10px 14px; border-radius: 8px; }
.btn:hover { opacity: 0.95; }
.center { text-align: center; }
.spacer { height: 16px; }

/* Kids page toggles */
.inactive { display: none; }
.child-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.child-card h3 { margin-top: 0; }

/* Simple blog list */
.posts { display: grid; gap: 12px; }
.post { border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.post h4 { margin: 0 0 6px; }
.post .meta { color: var(--muted); font-size: 14px; }
