/* ═══ BLOG (monhero.hu hírek) — js/blog.js ═══ */
#blogBody{ max-width:1100px; }
.bl-halvany{ color:var(--muted); font-size:12.5px; }
.bl-fej{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; flex-wrap:wrap; }
.bl-fej h2{ font-size:20px; margin:0 0 4px; }
.bl-fej p{ margin:0; }
.bl-sav{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
.bl-fulek{ display:flex; gap:6px; flex-wrap:wrap; }
.bl-ful{ border:1px solid var(--line); background:var(--surface); border-radius:20px; padding:6px 12px; font-size:12.5px; min-height:0; color:var(--ink); }
.bl-ful b{ font-weight:700; color:var(--muted); margin-left:3px; }
.bl-ful.on{ background:var(--green-600); border-color:var(--green-600); color:#fff; }
.bl-ful.on b{ color:#fff; }
.bl-keres{ flex:1; min-width:180px; border:1px solid var(--line); border-radius:10px; padding:8px 11px; font-size:13px; background:var(--surface); }

.bl-lista{ display:flex; flex-direction:column; gap:8px; }
.bl-sor{ display:flex; align-items:center; gap:14px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:10px; }
.bl-boritokep{ width:112px; height:63px; flex-shrink:0; border-radius:9px; background:var(--bg) center/cover no-repeat;
  display:flex; align-items:center; justify-content:center; font-size:22px; }
.bl-sor-fo{ flex:1; min-width:0; cursor:pointer; }
.bl-sor-cim{ font-weight:700; font-size:14.5px; line-height:1.35; margin-bottom:5px; }
.bl-sor-meta{ display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; font-size:11.5px; color:var(--muted); }
.bl-sor-gombok{ display:flex; gap:6px; flex-shrink:0; }
.bl-sor-gombok .btn-secondary{ padding:7px 12px; font-size:12px; width:auto; text-decoration:none; }
.bl-torol{ color:var(--red); }
.bl-allapot{ display:inline-block; border-radius:20px; padding:2px 9px; font-size:10.5px; font-weight:700; }
.bl-allapot.szurke{ background:var(--bg); color:var(--muted); border:1px solid var(--line); }
.bl-allapot.zold{ background:var(--green-100); color:var(--green-700); }
.bl-allapot.sarga{ background:var(--amber-bg); color:var(--amber); }

.bl-szerk{ max-width:860px; display:flex; flex-direction:column; gap:14px; }
.bl-szerk-fej{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.bl-szerk-fej .btn-secondary{ width:auto; padding:7px 13px; font-size:12.5px; }
.bl-mezo{ display:flex; flex-direction:column; gap:5px; }
.bl-mezo > span{ font-size:12.5px; font-weight:700; color:var(--ink); display:flex; align-items:center; gap:8px; }
.bl-mezo > span b{ color:var(--red); }
.bl-mezo input[type=text], .bl-mezo input[type=datetime-local], .bl-mezo textarea, .bl-mezo select{
  border:1px solid var(--line); border-radius:10px; padding:9px 11px; font-size:14px; background:var(--surface); color:var(--ink); width:100%; font-family:inherit; }
#blCim{ font-size:18px; font-weight:700; }
.bl-sugo{ font-size:11.5px; color:var(--muted); }
.bl-figy{ font-size:12px; color:var(--amber); background:var(--amber-bg); border-radius:8px; padding:5px 9px; }
.bl-hiba{ font-size:12px; color:var(--red); }
.bl-hiba:empty{ display:none; }
.bl-szamlalo{ font-style:normal; font-weight:500; font-size:11px; color:var(--muted); margin-left:auto; }
.bl-szamlalo.jo{ color:var(--green-700); }
.bl-szamlalo.figy{ color:var(--amber); }

.bl-borito img{ display:block; width:100%; max-height:340px; object-fit:cover; border-radius:12px; border:1px solid var(--line); }
.bl-borito-gombok{ display:flex; gap:8px; margin-top:8px; }
.bl-borito-gombok .btn-secondary{ width:auto; padding:7px 13px; font-size:12px; }
.bl-borito-ures{ width:100%; border:2px dashed var(--line); border-radius:12px; background:var(--bg); padding:30px; font-size:13.5px; color:var(--muted); }

.bl-eszkoztar{ display:flex; flex-wrap:wrap; gap:3px; align-items:center; padding:6px 8px; border:1px solid var(--line); border-bottom:0;
  border-radius:12px 12px 0 0; background:var(--bg); position:sticky; top:0; z-index:2; }
.bl-eszkoztar button{ min-width:32px; height:32px; min-height:32px; padding:0 8px; border:1px solid transparent; border-radius:8px; background:none;
  font-size:13px; color:var(--ink); }
.bl-eszkoztar button:hover{ background:var(--surface); border-color:var(--line); }
.bl-elv{ width:1px; height:20px; background:var(--line); margin:0 4px; }
.bl-tartalom{ min-height:320px; border:1px solid var(--line); border-radius:0 0 12px 12px; padding:16px 20px; background:var(--surface);
  font-size:15.5px; line-height:1.7; outline:none; color:var(--ink); }
.bl-tartalom:focus{ border-color:var(--green-500); }
.bl-tartalom:empty::before{ content:attr(data-ures); color:var(--muted); }
.bl-tartalom h2{ font-size:21px; margin:18px 0 8px; }
.bl-tartalom h3{ font-size:17.5px; margin:14px 0 6px; }
.bl-tartalom p{ margin:0 0 12px; }
.bl-tartalom ul, .bl-tartalom ol{ margin:0 0 12px 22px; }
.bl-tartalom blockquote{ border-left:4px solid var(--green-500); margin:12px 0; padding:4px 0 4px 14px; color:var(--muted); font-style:italic; }
.bl-tartalom img{ max-width:100%; height:auto; border-radius:10px; display:block; margin:6px 0; }
.bl-tartalom a{ color:var(--green-700); text-decoration:underline; }
.bl-tartalom hr{ border:0; border-top:1px solid var(--line); margin:18px 0; }

.bl-ket{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.bl-szerzo{ display:flex; align-items:center; gap:8px; }
.bl-szerzo-kep{ width:34px; height:34px; border-radius:50%; overflow:hidden; flex-shrink:0; background:var(--green-100); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; }
.bl-szerzo-kep img{ width:100%; height:100%; object-fit:cover; }

.bl-seo{ border:1px solid var(--line); border-radius:12px; padding:10px 14px; background:var(--surface); }
.bl-seo summary{ cursor:pointer; font-weight:700; font-size:13px; }
.bl-seo[open] summary{ margin-bottom:10px; }
.bl-seo .bl-mezo{ margin-bottom:10px; }
.bl-google{ border:1px solid var(--line); border-radius:10px; padding:12px 14px; background:#fff; font-family:Arial, sans-serif; }
.bl-g-url{ font-size:12px; color:#4d5156; }
.bl-g-cim{ font-size:18px; color:#1a0dab; margin:2px 0; line-height:1.3; }
.bl-g-leir{ font-size:13px; color:#4d5156; line-height:1.5; }

.bl-gombsor{ display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; position:sticky; bottom:0; background:var(--bg);
  padding:10px 0; border-top:1px solid var(--line); }
.bl-gombsor button{ width:auto; padding:10px 18px; }

@media (max-width:720px){
  .bl-sor{ flex-wrap:wrap; }
  .bl-boritokep{ width:84px; height:47px; }
  .bl-sor-gombok{ width:100%; justify-content:flex-end; }
  .bl-ket{ grid-template-columns:1fr; }
  .bl-tartalom{ padding:12px 14px; }
  .bl-gombsor button{ flex:1; }
}
.bl-fej .btn-primary{ width:auto; padding:10px 18px; }
.bl-temaszuro{ border:1px solid var(--line); border-radius:10px; padding:8px 10px; font-size:13px; background:var(--surface); color:var(--ink); width:auto; }
.bl-tema{ display:inline-block; border-radius:20px; padding:1px 8px; font-size:10.5px; font-weight:600; background:#E8F1FB; color:#2563EB; }
.bl-tema.nincs{ background:var(--bg); color:var(--muted); font-weight:500; border:1px dashed var(--line); }
.bl-kiemelt{ display:inline-block; vertical-align:middle; border-radius:20px; padding:1px 8px; font-size:10.5px; font-weight:700; background:#FEF3C7; color:#B45309; margin-left:4px; }
.bl-pipa{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:500; cursor:pointer; padding:9px 0; }
.bl-pipa input{ width:18px; height:18px; min-height:0; accent-color:var(--green-600); }

/* ── Blog-statisztika ── */
.bl-nezet{ display:inline-flex; gap:4px; background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:4px; margin-bottom:12px; }
.bl-nezet button{ border:0; background:none; border-radius:9px; padding:7px 14px; font-size:13px; font-weight:600; color:var(--muted); min-height:0; width:auto; }
.bl-nezet button.on{ background:var(--surface); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.08); }
.bl-link{ background:none; border:0; color:var(--green-700); font-size:12px; font-weight:600; padding:2px 4px; min-height:0; width:auto; text-decoration:underline; cursor:pointer; }
.bl-sor-stat{ font-size:11.5px; color:var(--ink); margin-top:5px; }
.bl-sor-stat b{ color:var(--green-700); }
.bl-szerk-stat{ background:var(--green-50); border:1px solid var(--green-100); border-radius:12px; padding:10px 13px; font-size:12.5px; line-height:1.6; }
.bl-stat-cim{ font-weight:700; font-size:15px; margin-bottom:10px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.bl-kpik{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin-bottom:14px; }
.bl-kpi{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px 14px; display:flex; flex-direction:column; gap:3px; cursor:help; }
.bl-kpi span{ font-size:11.5px; color:var(--muted); font-weight:600; }
.bl-kpi b{ font-size:24px; font-weight:800; color:var(--ink); line-height:1.15; font-variant-numeric:tabular-nums; }
.bl-kpi em{ font-style:normal; font-size:11.5px; color:var(--green-700); }
.bl-stat-racs{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:12px; margin-bottom:12px; }
.bl-doboz{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px 14px; min-width:0; }
.bl-doboz h4{ margin:0 0 10px; font-size:13px; }
.bl-grafikon svg{ width:100%; height:170px; display:block; }
.bl-grafikon rect{ fill:var(--green-500); }
.bl-grafikon rect:hover{ fill:var(--green-700); }
.bl-graf-x{ display:flex; font-size:9.5px; color:var(--muted); margin:4px 0 6px; overflow:hidden; white-space:nowrap; }
.bl-graf-x span{ display:inline-block; text-align:left; overflow:visible; }
.bl-bontas{ display:grid; grid-template-columns:minmax(70px, 1fr) 1.2fr auto; gap:8px; align-items:center; font-size:12px; margin-bottom:6px; }
.bl-bontas span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bl-bontas i{ height:8px; background:var(--bg); border-radius:8px; overflow:hidden; }
.bl-bontas i b{ display:block; height:100%; background:var(--green-500); border-radius:8px; }
.bl-bontas em{ font-style:normal; color:var(--muted); font-size:11px; white-space:nowrap; }
.bl-tabla{ overflow-x:auto; }
.bl-tabla table{ width:100%; border-collapse:collapse; font-size:12.5px; }
.bl-tabla th{ text-align:left; color:var(--muted); font-weight:600; font-size:11px; padding:7px 8px; border-bottom:1px solid var(--line); white-space:nowrap; cursor:pointer; user-select:none; }
.bl-tabla th.on{ color:var(--green-700); }
.bl-tabla td{ padding:8px; border-bottom:1px solid var(--line); white-space:nowrap; font-variant-numeric:tabular-nums; }
.bl-tabla tbody tr{ cursor:pointer; }
.bl-tabla tbody tr:hover{ background:var(--bg); }
.bl-t-cim{ white-space:normal !important; min-width:220px; font-weight:600; }
@media (max-width:900px){ .bl-kpik{ grid-template-columns:repeat(2, minmax(0, 1fr)); } .bl-stat-racs{ grid-template-columns:1fr; } }

/* ── Blokk-szerkesztő ── */
.bl-regi-sav{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; background:#FFF8E6; border:1px solid #F3DFA6; border-radius:12px; padding:10px 13px; font-size:12.5px; }
.bl-regi-sav .btn-primary{ width:auto; padding:8px 14px; font-size:12.5px; }
.bl-blokkok{ display:flex; flex-direction:column; }
.bl-blokk{ background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.bl-blokk.hibas{ border-color:var(--red); box-shadow:0 0 0 3px var(--red-bg); }
.bl-blokk-fej{ display:flex; align-items:center; gap:8px; padding:7px 10px; background:var(--bg); border-bottom:1px solid var(--line); flex-wrap:wrap; }
.bl-blokk-tipus{ font-weight:700; font-size:12.5px; flex:1; }
.bl-blokk-gombok{ display:flex; gap:4px; flex-wrap:wrap; }
.bl-blokk-test{ padding:12px; display:flex; flex-direction:column; gap:9px; }
.bl-kis{ border:1px solid var(--line); background:var(--surface); border-radius:8px; padding:4px 9px; font-size:11.5px; min-height:0; width:auto; color:var(--ink); cursor:pointer; }
.bl-kis:hover{ border-color:var(--green-500); }
.bl-kis.bl-torol{ color:var(--red); }
.bl-plusz{ position:relative; display:flex; justify-content:center; padding:5px 0; }
.bl-plusz > button{ border:1px dashed var(--line); background:none; border-radius:20px; padding:3px 14px; font-size:11.5px; color:var(--muted); min-height:0; width:auto; opacity:.65; }
.bl-plusz > button:hover{ opacity:1; border-color:var(--green-500); color:var(--green-700); }
.bl-blokk-menu{ position:absolute; top:30px; z-index:30; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.14);
  padding:6px; display:grid; grid-template-columns:repeat(3, minmax(130px, 1fr)); gap:3px; }
.bl-blokk-menu button{ text-align:left; border:0; background:none; border-radius:8px; padding:7px 9px; font-size:12.5px; min-height:0; width:auto; color:var(--ink); }
.bl-blokk-menu button:hover{ background:var(--green-50); }
.bl-bm{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.bl-bm > span{ font-size:11.5px; font-weight:700; color:var(--muted); }
.bl-bm input, .bl-bm select, .bl-kartya-fej select{ border:1px solid var(--line); border-radius:9px; padding:7px 9px; font-size:13px; background:var(--surface); color:var(--ink); width:100%; min-height:0; }
.bl-rich-doboz{ border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--surface); flex:1; min-width:0; }
.bl-rich-esz{ display:flex; gap:2px; padding:3px 5px; background:var(--bg); border-bottom:1px solid var(--line); }
.bl-rich-esz button{ border:0; background:none; border-radius:6px; min-width:26px; height:24px; min-height:24px; padding:0 6px; font-size:12px; width:auto; color:var(--ink); }
.bl-rich-esz button:hover{ background:var(--surface); }
.bl-rich{ min-height:42px; padding:8px 10px; font-size:14px; line-height:1.6; outline:none; }
.bl-rich:empty::before{ content:attr(data-ures); color:var(--muted); }
.bl-rich p{ margin:0 0 8px; } .bl-rich ul, .bl-rich ol{ margin:0 0 8px 20px; }
.bl-sorelem{ display:flex; gap:6px; align-items:flex-start; margin-bottom:6px; }
.bl-sorelem > .bl-bm{ flex:1; }
.bl-gyik-par{ border-left:3px solid var(--green-100); padding-left:9px; margin-bottom:10px; }
.bl-ket2{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.bl-kartyak{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:10px; }
.bl-kartya-szerk{ background:var(--sz); border-radius:12px; padding:10px; display:flex; flex-direction:column; gap:7px; }
.bl-kartya-fej{ display:flex; gap:5px; align-items:center; }
.bl-kartya-fej select{ flex:1; }
.bl-szin{ width:22px; height:22px; min-height:0; border-radius:50%; border:2px solid; padding:0; cursor:pointer; flex-shrink:0; }
.bl-szin.on{ box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.bl-dg-wrap{ overflow-x:auto; }
.bl-dg{ border-collapse:collapse; width:100%; font-size:12.5px; }
.bl-dg th, .bl-dg td{ border:1px solid var(--line); padding:4px; vertical-align:middle; }
.bl-dg th{ background:var(--bg); font-weight:600; text-align:left; min-width:120px; }
.bl-dg input{ width:100%; border:0; background:transparent; padding:5px 6px; font-size:13px; min-height:0; }
.bl-dg input:focus{ outline:2px solid var(--green-500); border-radius:4px; }
.bl-dg-fej{ display:flex; align-items:center; gap:5px; }
.bl-dg-fej i{ width:12px; height:12px; border-radius:3px; flex-shrink:0; }
.bl-dg-szam{ text-align:right; font-variant-numeric:tabular-nums; }
.bl-dg-szam.rossz{ background:var(--red-bg) !important; color:var(--red); }
.bl-dg-gombok{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.bl-kep-szerk{ display:flex; gap:12px; align-items:center; }
.bl-kep-szerk img{ width:180px; max-height:120px; object-fit:cover; border-radius:10px; border:1px solid var(--line); }
.bl-kep-ures{ width:180px; height:100px; border:2px dashed var(--line); border-radius:10px; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:12px; }

/* ── Előnézet ── */
.bl-elo-hatter{ position:fixed; inset:0; background:rgba(10,20,15,.55); z-index:9999; display:flex; justify-content:center; padding:24px; overflow:auto; }
.bl-elo{ background:#fff; color:#1b2a1f; border-radius:16px; width:100%; max-width:1180px; height:max-content; box-shadow:0 20px 60px rgba(0,0,0,.3); }
.bl-elo-fej{ display:flex; gap:10px; align-items:center; padding:12px 16px; border-bottom:1px solid #e6ebe8; position:sticky; top:0; background:#fff; border-radius:16px 16px 0 0; z-index:2; }
.bl-elo-fej .btn-secondary{ margin-left:auto; width:auto; padding:7px 13px; }
.bl-elo-test{ display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:28px; padding:24px; font-family:Arial, Helvetica, sans-serif; }
.ep-cikk h1{ font-size:30px; line-height:1.2; margin:14px 0 10px; color:#0F2A1B; }
.ep-cikk h2{ font-size:22px; margin:26px 0 10px; color:#0F2A1B; }
.ep-cikk p, .ep-cikk li{ font-size:16px; line-height:1.7; }
.ep-borito{ width:100%; max-height:360px; object-fit:cover; border-radius:14px; }
.ep-kivonat{ color:#55665b; font-size:17px !important; }
.ep-ossz{ background:#E7F4EC; border:1px solid #C9E6D4; border-radius:14px; padding:16px 20px; margin:18px 0; }
.ep-ossz h3{ margin:0 0 8px; color:#1F7A4D; font-size:17px; }
.ep-ossz ul{ list-style:none; margin:0; padding:0; } .ep-ossz li{ padding-left:26px; position:relative; margin-bottom:6px; }
.ep-ossz li::before{ content:'✓'; position:absolute; left:0; top:0; color:#fff; background:#2E9563; border-radius:50%; width:18px; height:18px; font-size:11px; text-align:center; line-height:18px; }
.ep-kartyak{ display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:12px; margin:18px 0; }
.ep-kartya{ border-radius:14px; padding:14px 16px; }
.ep-ik{ font-size:22px; } .ep-kc{ font-size:13px; color:#55665b; margin-top:6px; }
.ep-ke{ font-size:24px; font-weight:800; color:var(--fg); margin:2px 0; } .ep-ka{ font-size:12.5px; color:#55665b; }
.ep-kl{ border-top:1px solid rgba(0,0,0,.08); margin-top:8px; padding-top:7px; font-size:12.5px; } .ep-kl b{ color:var(--fg); }
.ep-megj{ display:flex; gap:10px; align-items:flex-start; background:#F2F7FD; border-radius:10px; padding:10px 14px; margin:14px 0; font-size:14px; }
.ep-megj i{ flex-shrink:0; width:20px; height:20px; border-radius:50%; background:#2563EB; color:#fff; font-style:normal; font-weight:700; text-align:center; line-height:20px; font-size:12px; }
.ep-kiem{ display:flex; gap:14px; background:#EAF2FB; border:1px solid #CFE0F5; border-radius:14px; padding:16px 18px; margin:18px 0; }
.ep-izzo{ font-size:26px; } .ep-kiem h4{ margin:0 0 6px; color:#1E4E8C; }
.ep-dg{ border:1px solid #e6ebe8; border-radius:14px; padding:16px; margin:18px 0; }
.ep-dg h4{ margin:0 0 4px; } .ep-dg > p{ margin:0 0 10px; color:#55665b; font-size:14px !important; }
.ep-dg-test{ display:flex; gap:18px; align-items:flex-end; height:220px; border-bottom:1px solid #cfd6d2; padding:0 6px; }
.ep-dg-csop{ flex:1; display:flex; flex-direction:column; height:100%; }
.ep-dg-osz{ flex:1; display:flex; gap:6px; align-items:flex-end; justify-content:center; }
.ep-dg-oszlop{ width:34px; border-radius:6px 6px 0 0; position:relative; }
.ep-dg-oszlop span{ position:absolute; top:-18px; left:50%; transform:translateX(-50%); font-size:10.5px; white-space:nowrap; color:#33423a; }
.ep-dg-kat{ text-align:center; font-size:12.5px; padding:6px 0 0; color:#55665b; }
.ep-dg-jel{ display:flex; gap:14px; flex-wrap:wrap; font-size:12.5px; margin-top:12px; align-items:center; }
.ep-dg-jel i{ display:inline-block; width:11px; height:11px; border-radius:3px; margin-right:5px; vertical-align:-1px; } .ep-dg-jel em{ color:#55665b; }
.ep-kep{ margin:18px 0; } .ep-kep img{ width:100%; border-radius:12px; } .ep-kep figcaption{ font-size:13px; color:#55665b; text-align:center; margin-top:6px; }
.ep-idezet{ border-left:4px solid #2E9563; margin:18px 0; padding:4px 0 4px 16px; font-style:italic; color:#33423a; } .ep-idezet cite{ display:block; font-size:13px; color:#55665b; margin-top:6px; }
.ep-gyik details{ border:1px solid #e6ebe8; border-radius:10px; padding:10px 14px; margin-bottom:8px; } .ep-gyik summary{ font-weight:700; cursor:pointer; }
.ep-cta{ display:flex; align-items:center; gap:16px; background:#14301F; color:#fff; border-radius:14px; padding:18px 20px; margin:20px 0; flex-wrap:wrap; }
.ep-cta > div{ flex:1; } .ep-cta b{ font-size:18px; } .ep-cta p{ margin:4px 0 0; color:#cfe3d7; font-size:14px !important; }
.ep-cta-gomb{ display:inline-block; background:#E0A84A; color:#14301F; font-weight:800; border-radius:10px; padding:10px 16px; font-size:14px; }
.ep-szak{ background:#FBF6E6; border:1px solid #F0E3B6; border-radius:14px; padding:16px 18px; margin:20px 0; } .ep-szak h4{ margin:0 0 6px; color:#8A6514; }
.ep-szak-szerzo{ display:flex; align-items:center; gap:10px; margin-top:10px; }
.ep-av{ width:42px; height:42px; border-radius:50%; overflow:hidden; background:#1F7A4D; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; flex-shrink:0; }
.ep-av img{ width:100%; height:100%; object-fit:cover; }
.ep-oldal{ display:flex; flex-direction:column; gap:14px; }
.ep-doboz{ border:1px solid #e6ebe8; border-radius:14px; padding:14px; font-size:13.5px; }
.ep-doboz h5{ margin:0 0 8px; font-size:13px; text-transform:uppercase; letter-spacing:.04em; color:#55665b; }
.ep-doboz ol{ margin:0; padding-left:18px; } .ep-doboz li{ margin-bottom:5px; } .ep-doboz a{ color:#1F7A4D; text-decoration:none; }
.ep-konz{ background:#E7F4EC; border-color:#C9E6D4; } .ep-konz p{ margin:6px 0 10px; }
.ep-figy{ background:#FFF8E6; color:#8A6514; }
.ep-velemeny{ margin:10px 0 0; font-style:italic; color:#33423a; border-left:3px solid #E0A84A; padding-left:10px; }
@media (max-width:900px){ .bl-elo-test{ grid-template-columns:1fr; } .bl-blokk-menu{ grid-template-columns:repeat(2, minmax(120px, 1fr)); } .bl-ket2{ grid-template-columns:1fr; } }
.bl-blokk-eszk{ display:flex; gap:6px; justify-content:flex-end; flex-wrap:wrap; margin-bottom:2px; }
.bl-blokk-test > .bl-kis, .bl-bm > .bl-kis{ align-self:flex-start; }

/* ── Papír: folyamatos írás behúzható dobozokkal ── */
.bl-szerk:has(.bl-vaszon-racs){ max-width:1260px; }
.bl-vaszon-racs{ display:grid; grid-template-columns:minmax(0, 1fr) 290px; gap:16px; align-items:start; }
.bl-vaszon-oszlop{ min-width:0; }
.bl-v-esz button b{ font-weight:800; }
.bl-vaszon{ min-height:520px; background:#fff; color:#1b2a1f; border:1px solid var(--line); border-radius:0 0 14px 14px; padding:28px 34px 40px;
  font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:1.7; outline:none; }
.bl-vaszon:focus-within{ border-color:var(--green-500); }
.bl-vaszon > p{ margin:0 0 12px; min-height:1.7em; }
.bl-vaszon > h2{ font-size:22px; color:#0F2A1B; margin:24px 0 10px; line-height:1.3; }
.bl-vaszon > h2::before{ content:'H2'; font-size:10px; font-weight:700; color:var(--green-700); background:var(--green-50); border:1px solid var(--green-100);
  border-radius:5px; padding:0 5px; margin-right:8px; vertical-align:middle; }
.bl-vaszon > h3{ font-size:18.5px; color:#0F2A1B; margin:18px 0 8px; line-height:1.35; }
.bl-vaszon > h3::before{ content:'H3'; font-size:10px; font-weight:700; color:#6B5BD2; background:#F1EEFF; border:1px solid #DDD5FF;
  border-radius:5px; padding:0 5px; margin-right:8px; vertical-align:middle; }
.bl-vaszon > ul, .bl-vaszon > ol{ margin:0 0 12px 22px; }
.bl-vaszon a{ color:#1F7A4D; text-decoration:underline; }
/* üres bekezdés / alcím súgója (csak ha a kurzor ott áll, vagy ez az egyetlen) */
.bl-vaszon > p:has(> br:only-child):focus-within::after, .bl-vaszon > p:only-child:has(> br:only-child)::after,
.bl-vaszon > h2:has(> br:only-child)::after, .bl-vaszon > h2:empty::after,
.bl-vaszon > h3:has(> br:only-child)::after, .bl-vaszon > h3:empty::after{ content:attr(data-ures); color:#a3aea8; pointer-events:none; font-weight:400; }
/* doboz */
.bw{ position:relative; margin:18px 0; border:1px dashed transparent; border-radius:16px; padding:2px; transition:border-color .15s, box-shadow .15s; cursor:default; user-select:none; }
.bw:hover{ border-color:#c9d6cf; }
.bw.aktiv{ border-color:var(--green-500); border-style:solid; box-shadow:0 0 0 3px var(--green-50); }
.bw.hibas{ border-color:var(--red); border-style:solid; box-shadow:0 0 0 3px var(--red-bg); }
.bw.villan{ box-shadow:0 0 0 4px #F6D365; }
.bw.huzva{ opacity:.45; }
.bw-sav{ display:flex; align-items:center; gap:8px; font-size:11.5px; color:#55665b; padding:3px 6px; opacity:0; transition:opacity .15s; font-family:var(--betu-szoveg, Arial); }
.bw:hover .bw-sav, .bw.aktiv .bw-sav{ opacity:1; }
.bw-sav b{ font-weight:700; color:#33423a; flex:1; }
.bw-fogo{ cursor:grab; font-size:15px; padding:0 4px; color:#8a978f; user-select:none; }
.bw-gombok{ display:flex; gap:3px; }
.bw-g{ border:1px solid #dfe6e2; background:#fff; border-radius:7px; padding:2px 8px; font-size:11px; min-height:0; width:auto; color:#33423a; cursor:pointer; line-height:1.6; }
.bw-g:hover{ border-color:var(--green-500); color:var(--green-700); }
.bw-test{ padding:0 2px 2px; }
.bw-test .ep-ossz, .bw-test .ep-kiem, .bw-test .ep-dg, .bw-test .ep-cta, .bw-test .ep-szak, .bw-test .ep-kartyak, .bw-test .ep-megj, .bw-test .ep-kep, .bw-test .ep-idezet, .bw-test .ep-gyik{ margin:0; }
/* helyben írható mezők */
.bw-m{ outline:none; border-radius:5px; cursor:text; user-select:text; min-width:40px; display:inline-block; }
.bw-m:hover{ background:rgba(46,149,99,.07); }
.bw-m:focus{ background:rgba(46,149,99,.10); box-shadow:0 0 0 2px rgba(46,149,99,.35); }
div.bw-m{ display:block; }
.bw-m:empty::before{ content:attr(data-ures); color:rgba(0,0,0,.33); font-weight:400; font-style:normal; }
.ep-cta .bw-m:empty::before{ color:rgba(255,255,255,.45); }
.ep-cta-gomb .bw-m:empty::before{ color:rgba(20,48,31,.5); }
.bw-r p{ margin:0 0 6px; } .bw-r p:last-child{ margin-bottom:0; }
.ep-ossz li{ display:flex; gap:6px; align-items:flex-start; }
.ep-ossz li .bw-m{ flex:1; }
.ep-ossz li .bw-g, .bw-gyik-k .bw-g, .bw-kartya-fej .bw-g{ opacity:0; padding:0 6px; }
.ep-ossz li:hover .bw-g, .bw-gyik:hover .bw-g, .ep-kartya:hover .bw-g{ opacity:1; }
.bw-test > div > .bw-g[data-w="elem-uj"], .bw-test > .bw-g[data-w="elem-uj"], .ep-ossz > .bw-g, .ep-gyik > .bw-g{ margin-top:8px; }
.bw-kartya-fej{ display:flex; justify-content:space-between; align-items:center; }
.bw-gyik{ border:1px solid #e6ebe8; border-radius:10px; padding:10px 14px; margin-bottom:8px; }
.bw-gyik-k{ display:flex; gap:6px; align-items:center; font-weight:700; margin-bottom:4px; }
.bw-gyik-k .bw-m{ flex:1; }
.bw-meta{ font-size:12px; color:#55665b; margin-top:6px; display:flex; gap:6px; align-items:center; font-family:var(--betu-szoveg, Arial); }
.bw-figy{ font-size:12px; color:#B45309; }
.bw-kep-ures{ width:100%; height:160px; }
/* behúzás jelzése */
.bl-vaszon > .ide-elotte{ box-shadow:0 -3px 0 0 var(--green-500); }
.bl-vaszon > .ide-utana{ box-shadow:0 3px 0 0 var(--green-500); }
/* jobb oldali panel */
.bl-panel{ position:sticky; top:12px; background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; max-height:calc(100vh - 40px); display:flex; flex-direction:column; }
.bl-panel-ful{ display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid var(--line); }
.bl-panel-ful button{ border:0; background:var(--bg); padding:10px 6px; font-size:12.5px; font-weight:700; color:var(--muted); min-height:0; width:auto; border-radius:0; }
.bl-panel-ful button.on{ background:var(--surface); color:var(--green-700); box-shadow:inset 0 -2px 0 var(--green-600); }
.bl-panel-ful button:disabled{ opacity:.5; cursor:default; }
.bl-panel-test{ padding:12px; overflow-y:auto; }
.bl-panel-cim{ font-weight:800; font-size:14px; margin-bottom:10px; }
.bl-panel-urlap{ display:flex; flex-direction:column; gap:9px; }
.bl-panel-urlap .bl-kartyak{ grid-template-columns:1fr; }
.bl-panel-urlap .bl-ket2{ grid-template-columns:1fr 1fr; }
.bl-elemek{ display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.bl-elem{ display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; border:1px solid var(--line); border-radius:11px; padding:10px 6px;
  font-size:11.5px; font-weight:600; cursor:grab; background:var(--surface); user-select:none; line-height:1.25; }
.bl-elem span{ font-size:20px; }
.bl-elem:hover{ border-color:var(--green-500); background:var(--green-50); }
@media (max-width:1000px){ .bl-vaszon-racs{ grid-template-columns:1fr; } .bl-panel{ position:static; max-height:none; } .bl-vaszon{ padding:18px 16px 28px; } }
.bl-vaszon-racs:has(.bl-panel .bl-dg){ grid-template-columns:minmax(0, 1fr) 430px; }
.bl-panel .bl-dg th{ min-width:96px; }
.bl-panel .bl-dg td:first-child input{ min-width:90px; }
