.education-shell { --education-ink:#263b30; --education-muted:#56675a; --education-green:#234f3d; --education-paper:#fffdf6; --education-line:#9eac94; color:var(--education-ink); max-width:1100px; margin:0 auto; }
.education-header { display:flex; justify-content:space-between; gap:28px; align-items:center; margin-bottom:26px; }
.education-header>div:first-child { min-width:0; }
.education-kicker { display:block; font-size:10px; font-weight:700; letter-spacing:1.2px; color:var(--education-green); margin-bottom:10px; }
.education-header h1 { font-size:clamp(27px,3vw,36px); line-height:1.15; letter-spacing:-.8px; }
.education-header p { color:var(--education-muted); line-height:1.7; font-size:14px; margin-top:12px; max-width:660px; }
.education-hud { flex:none; text-align:center; padding:15px 21px; border:1px solid var(--education-line); border-radius:10px; background:#e6ecd7; min-width:145px; }
.education-hud strong { display:block; font-size:30px; letter-spacing:-1px; }
.education-hud span { display:block; font-size:12px; margin-top:5px; }
.education-hud small { display:block; font-size:10px; line-height:1.5; color:var(--education-muted); margin-top:9px; }
.education-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px; }
.education-card { display:block; min-width:0; color:var(--education-ink); text-decoration:none; border:1.5px solid #75846c; border-radius:12px; padding:25px; background:#efe0b8; position:relative; box-shadow:2px 3px 0 #263b3010; transition:transform .16s,background .16s; }
.education-card:nth-child(2) { background:#e5ecd8; }
.education-card:nth-child(3) { background:#f0e7da; }
.education-card:nth-child(4) { background:#e6e7dc; }
.education-card:hover { transform:translateY(-1px); background:#f5e6bf; }
.education-card-number { display:inline-flex; align-items:center; justify-content:center; font:600 20px/1 ui-monospace,monospace; width:43px; height:43px; border:1px solid #89967b; background:#fffaf0; border-radius:6px; flex:none; }
.education-card-status { float:right; font-size:11px; color:var(--education-muted); margin-top:14px; }
.education-card h2 { font-size:25px; line-height:1.25; margin:19px 0 11px; }
.education-card p { font-size:14px; color:var(--education-muted); line-height:1.75; min-height:49px; }
.education-card>strong { display:block; font-size:12px; color:var(--education-green); margin-top:21px; }
.education-memory-note { color:var(--education-muted); font-size:12px; line-height:1.8; margin:22px 0; }
.education-return { display:flex; flex-wrap:wrap; gap:14px 25px; border-top:1px solid #c5cebc; padding-top:20px; margin-top:25px; }
.education-return a,.education-back { color:var(--education-green); font-size:13px; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
.education-back { display:inline-block; margin:0 0 18px; }
.education-lesson { background:var(--education-paper); border:1.5px solid #9cab91; border-radius:12px; padding:29px; max-width:900px; }
.education-lesson-heading { display:flex; gap:17px; align-items:center; }
.education-lesson-heading .education-kicker { margin-bottom:7px; }
.education-lesson-heading h2 { font-size:29px; line-height:1.2; }
.education-intro { font-size:16px; line-height:1.8; margin:22px 0 26px; color:#415743; }
.education-steps { display:grid; gap:21px; padding:0; margin:23px 0 30px; list-style:none; }
.education-steps>li { display:flex; gap:15px; min-width:0; }
.education-steps>li>span { width:27px; height:27px; flex:none; display:grid; place-items:center; color:#496141; background:#e6ecd9; border-radius:50%; font-size:12px; margin-top:2px; }
.education-steps h3 { font-size:18px; line-height:1.4; margin:0 0 7px; }
.education-steps p { font-size:14px; line-height:1.85; color:var(--education-muted); }
.education-diagram { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); list-style:none; padding:0; gap:7px; margin:22px 0 10px; }
.education-diagram li { font-size:11px; font-weight:600; background:#edf0df; border:1px solid #b3bda5; border-radius:5px; padding:12px 6px; text-align:center; }
.education-diagram-note { font-size:11px; line-height:1.7; color:var(--education-muted); }
.education-practice { padding:23px; border:1px solid #c0b58d; border-radius:10px; background:#f2e9d3; }
.education-practice h2 { font-size:22px; line-height:1.4; margin:0 0 20px; }
.education-choices { display:grid; gap:11px; }
.education-choice { display:flex; gap:13px; align-items:flex-start; text-align:left; padding:16px; border:1px solid #b5b89e; border-radius:7px; background:#fffdf6; color:var(--education-ink); font:inherit; min-height:48px; }
.education-choice>span { display:grid; place-items:center; flex:none; width:24px; height:24px; border:1px solid #aeb69d; border-radius:4px; background:#edf0e1; font-size:11px; }
.education-choice strong { font-size:14px; line-height:1.65; font-weight:600; }
.education-choice:hover { border-color:#6b865c; background:#f0f4e4; }
.education-choice-selected { background:#e5edd8; border:2px solid #60814f; padding:15px; }
.education-feedback { margin:22px 0; padding:25px; background:#ece4d3; border:1.5px solid #baa277; border-radius:11px; }
.education-feedback:focus-visible { outline:3px solid #975d35; outline-offset:4px; }
.education-feedback-correct { background:#e5edd9; border-color:#8aa26f; }
.education-feedback h2 { font-size:25px; line-height:1.3; margin:7px 0 15px; }
.education-feedback p { font-size:16px; line-height:1.85; }
.education-answer-hint { margin-top:16px; padding-top:14px; border-top:1px solid #c9b996; }
.education-feedback .education-feedback-note { margin-top:17px; color:var(--education-muted); font-size:12px; }
.education-sources { margin-top:23px; border-top:1px solid #c6cebd; padding-top:17px; font-size:12px; line-height:1.85; }
.education-sources summary { cursor:pointer; font-weight:600; padding:4px 0; }
.education-sources p { color:var(--education-muted); margin-top:11px; }
.education-sources ul { margin:12px 0 0; padding-left:18px; }
.education-sources a { color:var(--education-green); text-decoration:underline; text-underline-offset:3px; }
.education-shell a:focus-visible,.education-shell button:focus-visible,.education-shell summary:focus-visible { outline:3px solid #975d35; outline-offset:4px; }
@media(max-width:700px) {
  .education-header { align-items:flex-start; gap:17px; flex-wrap:wrap; }
  .education-header h1 { font-size:28px; }
  .education-header p { font-size:13px; }
  .education-hud { min-width:0; width:100%; display:grid; grid-template-columns:55px 1fr; align-items:center; text-align:left; padding:13px 17px; gap:0 12px; }
  .education-hud strong { grid-row:1/3; font-size:27px; }
  .education-hud span { margin:0; }
  .education-hud small { margin-top:4px; }
  .education-hud br { display:none; }
  .education-grid { grid-template-columns:1fr; gap:15px; }
  .education-card { padding:22px; }
  .education-card h2 { font-size:23px; }
  .education-card p { min-height:0; font-size:13px; }
  .education-lesson { padding:22px 18px; }
  .education-lesson-heading { gap:13px; }
  .education-lesson-heading h2 { font-size:25px; }
  .education-intro { font-size:14px; }
  .education-steps>li { gap:11px; }
  .education-steps h3 { font-size:17px; }
  .education-steps p { font-size:13px; }
  .education-diagram { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .education-diagram li { font-size:10px; }
  .education-practice { padding:19px 14px; }
  .education-practice h2 { font-size:20px; }
  .education-choice { padding:14px 12px; gap:10px; }
  .education-choice-selected { padding:13px 11px; }
  .education-choice strong { font-size:13px; }
  .education-feedback { padding:21px 17px; }
  .education-feedback h2 { font-size:23px; }
  .education-feedback p { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { .education-card { transition:none; } }

/* Tanuld meg! — a free, progressively disclosed civic learning room. */
.education-shell { --education-magenta:#a52058; --education-green:#145f4d; --education-paper:#fffbed; max-width:1160px; }
.education-header { padding:28px; border:1px solid #41816c; border-radius:22px; background:radial-gradient(ellipse at 88% 5%,#329e773f,transparent 55%),linear-gradient(115deg,#0d5e4c,#183f35); color:#fff8e2; box-shadow:0 5px 0 #123b2c; }
.education-header .education-kicker { color:#ffcd60; }
.education-header h1 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(36px,5vw,57px); letter-spacing:-1.3px; text-shadow:1px 2px 0 #8c652b; margin:0; }
.education-header p { color:#f8efd7; font-size:15px; }
.education-hud { background:#fff4ce; color:#263b30; border:2px solid #eac873; border-radius:17px 17px 12px 12px; box-shadow:3px 4px 0 #0003; transform:rotate(2deg); }
.education-hud strong { color:#a52058; }
.education-hud span,.education-hud small { color:#314b3d; }
.education-section-nav { display:flex; flex-wrap:wrap; gap:8px; margin:28px 0; padding:8px; border-radius:16px; background:#e5e9d7; }
.education-section-nav a { flex:1 1 auto; text-align:center; text-decoration:none; font-size:14px; font-weight:750; color:#234b3d; padding:13px 16px; border-radius:10px; border:1px solid transparent; }
.education-section-nav a:hover { background:#fffaf0; }
.education-section-nav a[aria-current="page"] { background:#fff8e4; border-color:#ab9561; box-shadow:0 3px 0 #b8a172; color:#88204d; }
.education-section-title { margin:24px 0 20px; }
.education-section-title h2 { font:700 clamp(25px,3vw,33px)/1.2 Georgia,'Times New Roman',serif; letter-spacing:-.5px; color:#224b3c; margin:0 0 10px; }
.education-section-title p { max-width:760px; margin:0; color:#536653; font-size:15px; line-height:1.7; }
.education-card,.education-topic-card { display:block; position:relative; color:var(--education-ink); padding:24px; border:1.5px solid #a1966c; border-radius:16px 16px 22px 16px; background:#fff4d7; text-decoration:none; box-shadow:0 4px 0 #b6a780; transition:transform .16s,box-shadow .16s; }
.education-card:nth-child(2),.education-topic-card:nth-child(4n+2) { background:#e5eddf; border-color:#91a77f; box-shadow:0 4px 0 #8ca37c; }
.education-card:nth-child(3),.education-topic-card:nth-child(4n+3) { background:#f8e2e8; border-color:#bf94a1; box-shadow:0 4px 0 #b18b96; }
.education-card:nth-child(4),.education-topic-card:nth-child(4n+4) { background:#ede9f4; border-color:#a59ab6; box-shadow:0 4px 0 #9a8eaa; }
.education-card:hover,.education-topic-card:hover { transform:translateY(-3px); box-shadow:0 7px 0 #57775d40; }
.education-card h2,.education-topic-card h2 { font:700 25px/1.2 Georgia,'Times New Roman',serif; color:#234b3d; margin:18px 0 10px; }
.education-topic-card p { color:#4d604f; line-height:1.7; font-size:14px; margin:8px 0 16px; }
.education-topic-card>strong { font-size:13px; color:#8e1c4b; }
.education-card-number { border-radius:50%; background:#fffcf1; border-color:#b5aa84; font:700 19px/1 Georgia,'Times New Roman',serif; box-shadow:2px 2px 0 #8b7b4f2b; }
.education-topic-category { display:block; margin-top:13px; font-weight:700; font-size:10px; letter-spacing:.5px; color:#715235; }
.education-discover { margin-top:38px; }
.education-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:20px 0; }
.education-category { display:flex; gap:15px; align-items:center; padding:20px; background:#fffaf0; border:1px solid #b8b89c; border-radius:15px; text-decoration:none; color:#205341; box-shadow:2px 3px 0 #bcc4ab55; }
.education-category>span { flex:1; min-width:0; }
.education-category strong { display:block; font:700 21px/1.2 Georgia,'Times New Roman',serif; }
.education-category small { display:block; font-size:12px; color:#58664e; line-height:1.6; margin-top:5px; }
.education-category b { font-size:21px; color:#aa245b; }
.education-category:hover,.education-category-active { background:#fce7ae; border-color:#bf9848; }
.education-ink-icon { width:48px; height:50px; flex:none; }
.education-category:nth-child(2) .education-ink-icon { color:#9c6722; }
.education-category:nth-child(3) .education-ink-icon { color:#a52759; }
.education-mentor-invite { display:flex; align-items:center; gap:18px; padding:22px 26px; background:#195844; border:1px solid #397d62; border-radius:18px; color:#fff4d7; text-decoration:none; margin:22px 0; }
.education-mentor-invite .education-ink-icon { color:#ffd16e; }
.education-mentor-invite span { flex:1; }
.education-mentor-invite strong { display:block; font:700 23px/1.2 Georgia,'Times New Roman',serif; }
.education-mentor-invite small { display:block; margin-top:8px; font-size:13px; line-height:1.5; }
.education-search { padding:19px; background:#fffdf5; border:1px solid #b6bba5; border-radius:14px; margin:20px 0 15px; }
.education-search label,.education-mentor-form label { display:block; font-weight:750; font-size:14px; margin-bottom:10px; }
.education-search>div { display:flex; gap:10px; }
.education-search input { flex:1; min-width:0; }
.education-search input,.education-mentor-form textarea { border:1px solid #718575; background:#fffef9; color:#213b2e; font:inherit; font-size:16px; border-radius:9px; padding:12px 14px; }
.education-search button,.education-mentor-form button { border:1px solid #81203e; border-radius:9px; background:#a52058; color:#fffdf4; font-family:inherit; font-weight:750; font-size:14px; line-height:1.3; padding:12px 17px; cursor:pointer; }
.education-search button:hover,.education-mentor-form button:hover { background:#88204b; }
.education-shell .education-text-button { background:transparent; border:0; color:#744329; font-size:13px; text-decoration:underline; text-underline-offset:4px; cursor:pointer; padding:10px 0; }
.education-result-count,.education-empty { color:#56674f; font-size:13px; line-height:1.6; margin:16px 0; }
.education-glossary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.education-glossary-grid details { align-self:start; padding:16px 18px; background:#fff9e9; border:1px solid #b5b395; border-radius:12px; }
.education-glossary-grid summary { color:#24543e; font:700 18px/1.4 Georgia,'Times New Roman',serif; cursor:pointer; }
.education-glossary-grid p { color:#465741; line-height:1.75; font-size:14px; margin:14px 0; }
.education-glossary-grid a { color:#922451; font-weight:700; font-size:13px; }
.education-mentor { max-width:900px; margin:auto; padding:28px; border:1px solid #a0ad8e; border-radius:22px; background:#fff9e8; box-shadow:3px 4px 0 #b2b89a; }
.education-mentor-intro { display:flex; gap:20px; align-items:flex-start; }
.education-mentor-seal { flex:none; background:#e0ead3; border:2px solid #3e7358; width:83px; height:96px; border-radius:18px; display:grid; place-items:center; transform:rotate(-3deg); box-shadow:4px 4px 0 #c9b982; }
.education-mentor-seal .education-ink-icon { width:58px; height:65px; }
.education-mentor-intro h2 { font:700 32px/1.2 Georgia,'Times New Roman',serif; margin:0; color:#21513d; }
.education-mentor-intro p { color:#51644e; line-height:1.75; font-size:14px; margin:12px 0; }
.education-mentor-mode { display:inline-block; color:#285c47; font-size:11px; font-weight:750; padding:7px 9px; background:#e8efd9; border-radius:6px; }
.education-mentor-privacy { color:#65715e; font-size:12px; line-height:1.7; margin:22px 0; }
.education-mentor-suggestions { display:flex; flex-wrap:wrap; gap:9px; margin:22px 0; }
.education-mentor-suggestions button { border:1px solid #acb898; border-radius:13px; background:#f1edda; color:#355642; padding:10px 13px; font-family:inherit; font-weight:600; font-size:12px; line-height:1.5; text-align:left; cursor:pointer; }
.education-mentor-suggestions button:hover { background:#f8df9e; }
.education-conversation { display:grid; gap:14px; margin:22px 0; overflow-wrap:anywhere; }
.education-message { max-width:95%; padding:18px 20px; border:1px solid #bcc5a6; border-radius:17px 17px 17px 3px; background:#edf0dd; }
.education-message-question { justify-self:end; background:#f8e1e8; border-color:#ce9bad; border-radius:17px 17px 3px 17px; }
.education-message>strong { display:block; color:#25513c; font-size:12px; margin-bottom:8px; }
.education-message>p { font-size:15px; line-height:1.8; margin:0; color:#32462e; }
.education-message>small { display:block; font-size:11px; color:#58674d; line-height:1.5; margin-top:12px; }
.education-message>a { display:block; margin:12px 0 8px; color:#8f244c; font-weight:750; font-size:13px; }
.education-answer-sources { display:grid; gap:5px; margin-top:12px; }
.education-answer-sources a { color:#3b654d; font-size:11px; line-height:1.5; }
.education-mentor-form { border-top:1px solid #c1c6a8; padding-top:22px; }
.education-mentor-form textarea { width:100%; box-sizing:border-box; resize:vertical; min-height:100px; line-height:1.6; }
.education-mentor-form>div { display:flex; gap:16px; align-items:center; justify-content:space-between; margin-top:12px; }
.education-mentor-form small { font-size:11px; line-height:1.5; color:#596850; }
.education-mentor-form button { flex:none; }
.education-mentor-notice,.education-mentor-pending { font-size:13px; color:#715b25; padding:13px; background:#fff0c5; border-radius:9px; line-height:1.7; }
.education-shell button:disabled { opacity:.6; cursor:wait; }
.education-shell input:focus-visible,.education-shell textarea:focus-visible { outline:3px solid #9b2558; outline-offset:3px; }
.education-lesson .decision-provenance { font-size:12px; }
.education-feedback>a { display:inline-block; margin-top:14px; font-weight:750; color:#8c244f; }
@media(max-width:700px) {
  .education-header { padding:22px; }
  .education-hud { transform:none; }
  .education-section-nav { gap:5px; }
  .education-section-nav a { flex:1 1 42%; padding:11px 7px; font-size:12px; }
  .education-category-grid,.education-glossary-grid { grid-template-columns:1fr; }
  .education-category { padding:16px; }
  .education-category strong { font-size:20px; }
  .education-mentor { padding:20px; }
  .education-mentor-intro { gap:14px; }
  .education-mentor-seal { width:62px; height:76px; }
  .education-mentor-seal .education-ink-icon { width:43px; height:51px; }
  .education-mentor-intro h2 { font-size:27px; }
  .education-search>div { flex-wrap:wrap; }
  .education-search input { width:100%; flex-basis:100%; }
  .education-mentor-form>div { align-items:stretch; flex-direction:column; }
  .education-message { max-width:100%; padding:15px; }
  .education-mentor-invite { padding:18px; gap:12px; }
  .education-mentor-invite strong { font-size:20px; }
}
@media(prefers-reduced-motion:reduce) {
  .education-card,.education-topic-card { transition:none; }
  .education-card:hover,.education-topic-card:hover { transform:none; }
}
