/* LawHub QR Cards — بطاقات الباركود */
html body .lhq-wrap{--qr-bg:#fbf8f1;--qr-in:#fff;--qr-tc:#3b4252;box-sizing:border-box;margin:6px 0 18px;padding:22px 18px 26px;border:1.5px solid #e3d7bb;border-radius:14px;background:var(--qr-bg);box-shadow:0 1px 3px rgba(0,0,0,.05);min-width:0;max-width:100%;font-style:normal;direction:rtl;text-align:center}
html body .lhq-wrap.lhq-nobox{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
html body .lhq-wrap *{font-style:normal;box-sizing:border-box}
html body .lhq-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:30px 24px;justify-items:center;align-items:start}
html body .lhq-item{width:100%;max-width:580px;min-width:0;background:transparent;padding:0 0 18px;text-align:center}
html body .lhq-c1 .lhq-item+.lhq-item{border-top:1px dashed rgba(0,0,0,.12);padding-top:26px}
html body .lhq-head{margin:0 0 6px}
html body .lhq-ttl,html body .lhq-dl{font-weight:800;color:var(--qr-tc);font-size:15px;line-height:1.8;overflow-wrap:anywhere}
html body .lhq-dl a{color:#1a6fd1;text-decoration:none}
html body .lhq-card{position:relative;margin:16px auto 0;border:6px solid var(--qr-c,#2e75b6);border-radius:30px;padding:20px 18px 16px;background:var(--qr-in,#fff);text-align:center;overflow:visible!important;max-width:100%}
html body .lhq-card.has-logo{--lw:113px;margin-top:calc(var(--lw) * .235 + 20px);padding-top:calc(var(--lw) * .61 + 14px)}
html body .lhq-logo{position:absolute;top:calc(var(--lw,113px) * -.2343 - 3px);left:50%;transform:translateX(-50%);width:var(--lw,113px);height:auto;max-width:none;background:transparent;padding:0;margin:0;border:0;box-shadow:none;border-radius:0}
html body .lhq-ct{margin:0 0 14px;font-weight:800;color:var(--qr-tc);font-size:18px;line-height:1.8;overflow-wrap:anywhere}
html body .lhq-ct span{display:block}
html body .lhq-img{width:min(100%,var(--qr-w,290px));margin:0 auto}
html body .lhq-img svg{display:block;width:100%;height:auto;max-width:100%}
html body .lhq-img svg rect{fill:var(--qr-in,#fff)}
html body .lhq-bad{display:block;padding:20px 6px;color:#b32d2e;font-weight:700}
html body .lhq-foot{display:block!important;position:absolute!important;left:50%;bottom:-3px;transform:translate(-50%,50%);z-index:3;width:max-content;max-width:calc(100% - 48px);margin:0!important;padding:2px 12px;background:linear-gradient(to bottom,var(--qr-in,#fff) 50%,var(--qr-bg,#fff) 50%);color:var(--qr-c,#2e75b6);font-weight:800;font-size:14px;line-height:1.6;text-align:center;overflow-wrap:anywhere}
html body .lhq-fsp{display:block;visibility:hidden;width:max-content;max-width:calc(100% - 48px);margin:8px auto 0;padding:2px 12px;font-weight:800;font-size:14px;line-height:1.6;text-align:center;overflow-wrap:anywhere;pointer-events:none}
html body .lhq-card,html body .lhq-card *{font-style:normal!important}
html body .lhq-fsb{display:block;visibility:hidden;width:max-content;max-width:calc(100% - 60px);margin:0 auto 6px;padding:1px 12px;font-weight:800;font-size:14px;line-height:.8;overflow-wrap:anywhere;pointer-events:none;overflow:hidden}
html body .lhq-save,html body .lhq-zip{display:flex;align-items:center;justify-content:center;gap:6px;margin:6px auto 0;padding:7px 16px;border:1px solid #d8cdb0;border-radius:999px;background:#fff;color:var(--qr-tc);font:inherit;font-weight:700;font-size:13px;line-height:1.5;cursor:pointer;max-width:100%;white-space:normal}
html body .lhq-save:hover{border-color:var(--qr-c,#2e75b6);color:var(--qr-c,#2e75b6)}
html body .lhq-zip:hover{border-color:#a67c2e;color:#a67c2e}
html body .lhq-save[disabled],html body .lhq-zip[disabled]{opacity:.6;cursor:wait}
html body .lhq-c2 .lhq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body .lhq-c3 .lhq-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html body .lhq-c4 .lhq-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
html body .lhq-tools{display:flex;justify-content:center;margin:0 0 18px}
html body .lhq-tools .lhq-zip{margin:0}
/* عنوان المقال (عند عرض تصنيف كامل): في المنتصف بين خطين ذهبيين */
html body .lhq-sec-title{display:flex;align-items:center;justify-content:center;gap:10px;margin:22px 0 10px;padding:0;border:0;font-size:1.35em;font-weight:800;line-height:1.6;color:#1e3a5f;text-align:center;overflow-wrap:anywhere}
html body .lhq-sec-title a{color:inherit;text-decoration:none}
html body .lhq-sec-title::before,html body .lhq-sec-title::after{content:"";flex:0 0 38px;height:2px;background:#a67c2e}
/* الحجب */
html body .lhq-lock{margin:6px 0 18px;padding:18px;border:1.5px solid #e3d7bb;border-radius:14px;background:#fbf8f1;text-align:center;direction:rtl}
html body .lhq-lock-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:6px}
html body .lhq-lock-list li{padding:8px 10px;border:1px dashed #d8cdb0;border-radius:8px;background:#fff;font-weight:700;color:#3b4252;overflow-wrap:anywhere}
html body .lhq-lock-msg{margin:0 0 10px;font-weight:800;color:#1e3a5f}
html body .lhq-lock-btns{margin:0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
html body .lhq-btn{display:inline-block;padding:8px 18px;border-radius:999px;background:#1e3a5f;color:#fff!important;text-decoration:none;font-weight:700}
html body .lhq-btn-o{background:#fff;color:#1e3a5f!important;border:1.5px solid #1e3a5f}
/* الشكل الثابت: البطاقة بعرض تصميم واحد (580px) وتُصغَّر كلها بنفس النسب لتناسب المساحة المتاحة (zoom يضبطه front.js) */
html body .lhq-fit{width:100%;margin:0 auto}
html body .lhq-fixed .lhq-fit{width:580px;max-width:none}
html body .lhq-fixed .lhq-item{overflow:hidden}
@media (max-width:1000px){html body .lhq-c3 .lhq-grid,html body .lhq-c4 .lhq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){
	html body .lhq-wrap .lhq-grid{grid-template-columns:minmax(0,1fr)}
	html body .lhq-wrap .lhq-item+.lhq-item{border-top:1px dashed rgba(0,0,0,.12);padding-top:26px}
	html body .lhq-wrap{padding:16px 10px 20px}
	html body .lhq-wrap:not(.lhq-fixed) .lhq-card{border-width:5px;border-radius:24px;padding:16px 10px 12px}
	html body .lhq-wrap:not(.lhq-fixed) .lhq-card.has-logo{--lw:96px}
	html body .lhq-wrap:not(.lhq-fixed) .lhq-ct{font-size:16px}
	html body .lhq-wrap:not(.lhq-fixed) .lhq-foot,html body .lhq-wrap:not(.lhq-fixed) .lhq-fsp{font-size:13px;max-width:calc(100% - 28px)}
	html body .lhq-wrap:not(.lhq-fixed) .lhq-fsb{font-size:13px;max-width:calc(100% - 38px)}
	html body .lhq-sec-title{font-size:1.15em}
	html body .lhq-sec-title::before,html body .lhq-sec-title::after{flex-basis:22px}
}
@media print{html body .lhq-item{break-inside:avoid}html body .lhq-save,html body .lhq-c2 .lhq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body .lhq-c3 .lhq-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html body .lhq-c4 .lhq-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
html body .lhq-tools{display:none!important}}
