/* Mohamed Hamad Law Office — Final public experience V7.0.1 */
:root{--mh701-navy:#062b55;--mh701-navy-2:#0b477d;--mh701-gold:#d7a94f;--mh701-ink:#10223b;--mh701-muted:#63748b;--mh701-ivory:#fbf8f1;--mh701-line:#e9dfcf}
.mh701-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 12% 15%,rgba(215,169,79,.22),transparent 34%),linear-gradient(135deg,#041f3d,#073b6d 58%,#0a568d);color:#fff;padding:78px 0 64px}
.mh701-hero:after{content:"";position:absolute;inset:auto -160px -240px auto;width:560px;height:560px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025)}
.mh701-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);gap:48px;align-items:center}
.mh701-kicker,.mh701-heading>div>span,.mh701-featured-copy>span,.mh701-trust>div>div>span{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--mh701-gold);letter-spacing:.02em}
.mh701-hero h1{max-width:900px;margin:14px 0 18px;font-size:clamp(42px,5.1vw,76px)!important;color:#fff!important;line-height:1.22!important}
.mh701-hero-copy>p{max-width:850px;font-size:clamp(17px,1.65vw,23px);line-height:2;color:#e4edf6;margin:0 0 28px}
.mh701-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.mh701-hero-actions .mh-btn{min-height:52px;padding-inline:24px!important}
.mh701-assurances{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:25px;color:#d6e4f1;font-size:14px}.mh701-assurances span{display:flex;align-items:center;gap:7px}
.mh701-hero-panel{background:rgba(255,255,255,.97);color:var(--mh701-ink);padding:29px;border:1px solid rgba(255,255,255,.52);border-radius:26px;box-shadow:0 28px 80px rgba(0,0,0,.24);backdrop-filter:blur(14px)}
.mh701-scale{width:64px;height:64px;display:grid;place-items:center;border-radius:19px;background:linear-gradient(145deg,var(--mh701-gold),#f5d891);font-size:31px;margin-bottom:13px;box-shadow:0 14px 28px rgba(180,128,32,.24)}
.mh701-hero-panel>span{display:block;color:var(--mh701-navy);font-weight:900;font-size:18px}.mh701-hero-panel ol{list-style:none;margin:20px 0;padding:0;display:grid;gap:11px}.mh701-hero-panel li{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;padding:13px;background:#f7f9fc;border:1px solid #e5ebf2;border-radius:15px}.mh701-hero-panel li>b{width:38px;height:38px;display:grid;place-items:center;background:var(--mh701-navy);color:#fff;border-radius:12px}.mh701-hero-panel strong,.mh701-hero-panel small{display:block}.mh701-hero-panel small{color:var(--mh701-muted);line-height:1.7;margin-top:2px}.mh701-wa{display:block;text-align:center;border-radius:13px;padding:12px 16px;background:#0b8f5a;color:#fff!important;font-weight:800}
.mh701-quick{position:relative;margin-top:-25px;z-index:3}.mh701-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--mh701-line);border-radius:22px;box-shadow:0 18px 55px rgba(18,36,58,.12);overflow:hidden}.mh701-quick-grid>a{display:grid;grid-template-columns:48px 1fr;gap:3px 13px;padding:22px;color:var(--mh701-ink);border-inline-start:1px solid #eee8dd}.mh701-quick-grid>a:first-child{border-inline-start:0}.mh701-quick-grid>a>span{grid-row:1/3;width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#f7efe0;font-size:22px}.mh701-quick-grid strong{font-size:16px}.mh701-quick-grid small{color:var(--mh701-muted)}
.mh701-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:28px}.mh701-heading h2{margin:4px 0 0;color:var(--mh701-navy)!important}.mh701-heading>p{max-width:620px;color:var(--mh701-muted);font-size:16px;line-height:1.9}.mh701-heading.compact{margin-bottom:18px}
.mh701-services-section{background:var(--mh701-ivory)}.mh701-services{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.mh701-services article{background:#fff;border:1px solid var(--mh701-line);padding:27px;border-radius:22px;transition:.25s ease;box-shadow:0 8px 28px rgba(13,38,66,.05)}.mh701-services article:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(13,38,66,.1);border-color:#d6b46f}.mh701-services i{width:54px;height:54px;display:grid;place-items:center;background:linear-gradient(145deg,var(--mh701-navy),var(--mh701-navy-2));color:#fff;border-radius:16px;font-size:24px;font-style:normal}.mh701-services h3{color:var(--mh701-navy);margin:18px 0 9px}.mh701-services p{color:var(--mh701-muted);min-height:106px}.mh701-services a{font-weight:900;color:#a66f0e}
.mh701-featured-section{background:#fff}.mh701-featured{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);border-radius:28px;overflow:hidden;background:linear-gradient(135deg,#062b55,#0a4f86);color:#fff;box-shadow:0 24px 65px rgba(6,43,85,.2)}.mh701-featured-media{min-height:390px;background:#092f56}.mh701-featured-media img{width:100%;height:100%;object-fit:cover;display:block}.mh701-featured-placeholder{height:100%;display:grid;place-items:center;font-size:90px;color:rgba(255,255,255,.34)}.mh701-featured-copy{padding:48px;align-self:center}.mh701-featured-copy small{display:inline-flex;margin:10px 0;color:#f5d99c}.mh701-featured-copy h2{color:#fff!important;margin:5px 0 15px;line-height:1.5!important}.mh701-featured-copy p{color:#dce8f2;font-size:17px;line-height:2}.mh701-post-info{display:flex;gap:18px;color:#bdd0e1;margin:20px 0}
.mh701-categories{padding:58px 0;background:#f4f7fa}.mh701-category-list{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.mh701-category-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 21px;border-radius:16px;background:#fff;border:1px solid #dde5ed;color:var(--mh701-navy);box-shadow:0 6px 20px rgba(13,38,66,.04)}.mh701-category-list span{font-size:13px;color:#9b6b17}
.mh701-articles-section{background:#fff}.mh701-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.mh701-post-card{overflow:hidden;border:1px solid var(--mh701-line);border-radius:22px;background:#fff;box-shadow:0 8px 28px rgba(13,38,66,.055);transition:.25s ease}.mh701-post-card:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(13,38,66,.11)}.mh701-post-media{display:block;height:220px;background:linear-gradient(135deg,#082f58,#0b578e);overflow:hidden}.mh701-post-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.mh701-post-card:hover .mh701-post-media img{transform:scale(1.035)}.mh701-post-media>span{height:100%;display:grid;place-items:center;font-size:55px;color:rgba(255,255,255,.42)}.mh701-post-body{padding:22px}.mh701-post-category{display:inline-flex;padding:5px 11px;background:#f7efe0;color:#966411!important;border-radius:999px;font-size:12px;font-weight:900}.mh701-post-body h3{margin:12px 0 8px;font-size:20px;line-height:1.6}.mh701-post-body h3 a{color:var(--mh701-navy)}.mh701-post-body p{color:var(--mh701-muted);min-height:82px}.mh701-post-body>div{display:flex;justify-content:space-between;color:#8391a4;font-size:12px;border-top:1px solid #eee8dd;padding-top:13px}
.mh701-trust{padding:72px 0;background:linear-gradient(135deg,#f8f2e6,#fff)}.mh701-trust-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:center}.mh701-trust h2{color:var(--mh701-navy)!important;margin:7px 0 13px}.mh701-trust p{color:var(--mh701-muted);font-size:17px;line-height:2}.mh701-trust ul{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;list-style:none;padding:0;margin:22px 0}.mh701-trust li{padding:13px 15px;background:#fff;border:1px solid var(--mh701-line);border-radius:13px}.mh701-trust-card{padding:30px;background:#fff;border:1px solid var(--mh701-line);border-radius:24px;box-shadow:0 18px 50px rgba(13,38,66,.08)}.mh701-trust-card h3{font-size:26px;color:var(--mh701-navy);margin-top:0}.mh701-trust-card .mh-btn{display:flex;justify-content:center;margin-top:10px}.mh701-phone{display:block;text-align:center;margin-top:15px;color:var(--mh701-navy);font-weight:800}
@media(max-width:1100px){.mh701-hero-grid,.mh701-featured,.mh701-trust-grid{grid-template-columns:1fr}.mh701-services,.mh701-category-list{grid-template-columns:repeat(2,1fr)}.mh701-post-grid{grid-template-columns:repeat(2,1fr)}.mh701-quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.mh701-hero{padding:52px 0 48px}.mh701-hero-grid{gap:28px}.mh701-hero-panel{padding:20px}.mh701-quick{margin-top:0;padding-top:14px}.mh701-quick-grid,.mh701-services,.mh701-category-list,.mh701-post-grid,.mh701-trust ul{grid-template-columns:1fr}.mh701-quick-grid>a{border-inline-start:0;border-top:1px solid #eee8dd}.mh701-quick-grid>a:first-child{border-top:0}.mh701-heading{display:block}.mh701-heading>p{margin-top:10px}.mh701-featured-media{min-height:240px}.mh701-featured-copy{padding:27px}.mh701-post-media{height:205px}.mh701-hero-actions .mh-btn{width:100%;justify-content:center}.mh701-assurances{display:grid}}


/* V7.0.3 — وضوح أزرار الصفحة الرئيسية وعرض الصورة المختارة كاملة */
.mh701-hero-actions .mh-btn-outline{
    color:#fff!important;
    border:2px solid rgba(255,255,255,.88)!important;
    background:rgba(255,255,255,.08)!important;
    text-shadow:none!important;
}
.mh701-hero-actions .mh-btn-outline:hover{
    color:#062b55!important;
    background:#fff!important;
}
.mh701-hero-actions .mh-btn-soft{
    color:#062b55!important;
    background:#fff!important;
    border:2px solid #fff!important;
    text-shadow:none!important;
}
.mh701-hero-actions .mh-btn-soft:hover{
    color:#fff!important;
    background:#d7a94f!important;
    border-color:#d7a94f!important;
}
.mh701-featured-media{
    min-height:420px;
    height:420px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:linear-gradient(145deg,#27354a,#3a465b);
    overflow:hidden;
}
.mh701-featured-media img{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain!important;
    object-position:center!important;
    display:block;
    border-radius:12px;
}
@media(max-width:700px){
    .mh701-featured-media{height:290px;min-height:290px;padding:12px}
}

/* V7.0.4 — ترقيم صفحات عربي واضح وإخفاء مؤشرات القراءة والمشاهدات المضللة */
.mh-pagination{margin:34px 0 10px;display:flex;justify-content:center}
.mh-pager{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px;color:#062b55}
.mh-pager-status{font-size:14px;font-weight:800;color:#64748b;background:#fff;border:1px solid #e7dfd0;border-radius:999px;padding:8px 16px;box-shadow:0 5px 18px rgba(6,43,85,.06)}
.mh-pager-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.mh-pager-numbers{display:flex;align-items:center;gap:7px;direction:ltr}
.mh-pager-button,.mh-pager-page{min-width:44px;height:44px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid #d8c9ad;background:#fff;color:#062b55!important;font-weight:900;text-decoration:none!important;box-shadow:0 5px 16px rgba(6,43,85,.06);transition:.2s ease}
.mh-pager-button:hover,.mh-pager-page:hover{background:#062b55;color:#fff!important;border-color:#062b55;transform:translateY(-1px)}
.mh-pager-page{padding:0;min-width:44px}
.mh-pager-page.is-current{background:linear-gradient(135deg,#d7a94f,#f3d58d);color:#062b55!important;border-color:#b98320;box-shadow:0 7px 20px rgba(183,122,20,.18)}
.mh-pager-button.is-disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.mh-pager-ellipsis{padding:0 4px;color:#94a3b8;font-weight:900}
.mh-post-meta{justify-content:flex-start!important}
.mh701-post-info{justify-content:flex-start!important}
.mh701-post-body>div{justify-content:flex-start!important}
@media(max-width:600px){.mh-pager-controls{gap:7px}.mh-pager-button{min-width:88px}.mh-pager-page{min-width:40px;height:40px}.mh-pager-status{font-size:13px}}
