/* Modern homepage redesign v1.5.0 - صفحة رئيسية احترافية */
.msf-modern-home{background:#fff;overflow-x:hidden}.msf-modern-home .msf-topbar{height:44px;display:flex;align-items:center;justify-content:center;font-weight:800;letter-spacing:.2px}.msf-modern-home .msf-header{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(14px);border-bottom:1px solid rgba(15,23,42,.08);box-shadow:0 14px 40px rgba(15,23,42,.05)}.msf-modern-home .msf-brand{gap:12px;font-weight:900}.msf-modern-home .msf-brand span{font-size:22px;line-height:1.2}.msf-modern-home .msf-brand img{max-height:52px}.msf-modern-home .msf-nav{gap:26px}.msf-modern-home .msf-nav a{font-size:15px;font-weight:800;color:#0f172a;position:relative}.msf-modern-home .msf-nav a:after{content:"";position:absolute;right:0;bottom:-10px;width:0;height:3px;background:#0d9488;border-radius:99px;transition:.25s}.msf-modern-home .msf-nav a:hover:after{width:100%}.msf-modern-home .msf-actions .msf-btn{border-radius:16px;padding:11px 18px;font-weight:900}.msf-modern-hero{position:relative;min-height:560px;background:linear-gradient(90deg,#063f38,#0d9488);background-size:cover;background-position:center;border-radius:0 0 42px 42px;margin:0 24px 0;overflow:visible}.msf-modern-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 12%,rgba(255,255,255,.18),transparent 34%),linear-gradient(90deg,rgba(0,0,0,.42),rgba(0,0,0,.08));pointer-events:none}.msf-modern-hero-inner{position:relative;z-index:2;min-height:520px;display:flex;align-items:center}.msf-modern-hero-copy{max-width:650px;color:#fff;padding:70px 0 125px}.msf-modern-badge{display:inline-flex;padding:10px 18px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px);font-weight:800;margin-bottom:22px}.msf-modern-hero h1{font-size:clamp(38px,5vw,72px);line-height:1.18;margin:0 0 20px;color:#fff;font-weight:1000;text-shadow:0 12px 40px rgba(0,0,0,.26)}.msf-modern-hero p{font-size:20px;line-height:2;color:rgba(255,255,255,.92);max-width:620px;margin:0 0 28px}.msf-modern-actions{display:flex;gap:14px;flex-wrap:wrap}.msf-modern-primary{background:#059669!important;color:#fff!important;border:0!important;box-shadow:0 18px 38px rgba(5,150,105,.32)}.msf-modern-secondary{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.38)!important;backdrop-filter:blur(8px)}.msf-modern-stat-strip{position:relative;z-index:4;margin-top:-58px;background:rgba(33,33,33,.68);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.18);border-radius:18px;box-shadow:0 22px 55px rgba(15,23,42,.22);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;color:#fff}.msf-modern-stat{padding:24px;display:grid;grid-template-columns:auto auto 1fr;gap:8px 14px;align-items:center;border-left:1px solid rgba(255,255,255,.16)}.msf-modern-stat:last-child{border-left:0}.msf-modern-stat-icon{font-size:28px;opacity:.96}.msf-modern-stat strong{font-size:28px;font-weight:1000}.msf-modern-stat small{grid-column:2/4;color:rgba(255,255,255,.84);font-weight:700}.msf-modern-section-head{text-align:center;margin:0 auto 34px;max-width:760px}.msf-modern-section-head h2{font-size:34px;font-weight:1000;margin:0;color:#0f172a}.msf-modern-section-head p{color:#64748b;font-size:17px;line-height:1.9;margin:10px 0 0}.msf-modern-categories{padding:72px 0 50px;background:#fff}.msf-modern-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.msf-modern-category-card{min-height:142px;background:#fff;border:1px solid #e5e7eb;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;box-shadow:0 12px 32px rgba(15,23,42,.05);transition:.28s}.msf-modern-category-card:hover{transform:translateY(-7px);border-color:#0d9488;box-shadow:0 22px 46px rgba(13,148,136,.14)}.msf-modern-category-icon{width:58px;height:58px;border-radius:18px;background:#ecfdf5;display:grid;place-items:center;font-size:30px;margin-bottom:12px}.msf-modern-category-card h3{font-size:16px;margin:0;color:#0f172a;font-weight:900}.msf-modern-category-card p{font-size:12px;color:#64748b;margin:8px 0 0;line-height:1.6}.msf-modern-home .msf-projects,.msf-modern-home .msf-projects-native-shell{padding:62px 0;background:#fbfdff}.msf-modern-home .msf-projects .msf-section-head h2,.msf-modern-home .msf-section-head h2{font-size:34px;font-weight:1000}.msf-modern-home .msf-project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.msf-modern-home .msf-project-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;box-shadow:0 14px 34px rgba(15,23,42,.07);transition:.25s}.msf-modern-home .msf-project-card:hover{transform:translateY(-6px);box-shadow:0 24px 56px rgba(15,23,42,.12)}.msf-modern-home .msf-project-image{height:180px;background:#dbeafe}.msf-modern-home .msf-project-image img{width:100%;height:100%;object-fit:cover}.msf-modern-home .msf-project-body{padding:18px}.msf-modern-home .msf-project-body h3{font-size:18px;font-weight:1000;margin:0 0 8px;color:#0f172a}.msf-modern-home .msf-project-body p{color:#64748b;font-size:14px;line-height:1.8;min-height:48px}.msf-modern-home .msf-progress{height:8px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin:16px 0 10px}.msf-modern-home .msf-progress span{display:block;height:100%;background:#0d9488;border-radius:inherit}.msf-modern-home .msf-project-meta{display:flex;justify-content:space-between;color:#64748b;font-size:13px;margin-bottom:14px}.msf-modern-home .msf-project-meta b{color:#0f172a}.msf-modern-home .msf-project-btn{width:100%;justify-content:center;background:#0d9488!important;border:0!important;border-radius:14px!important;color:#fff!important}.msf-modern-impact{padding:0;background:#fff}.msf-modern-impact-inner{background:linear-gradient(90deg,#0f766e,#047857);border-radius:0 0 34px 34px;color:#fff;display:grid;grid-template-columns:repeat(4,1fr);gap:0;overflow:hidden;box-shadow:0 20px 54px rgba(4,120,87,.22)}.msf-modern-impact-item{padding:32px 22px;text-align:center;border-left:1px solid rgba(255,255,255,.16)}.msf-modern-impact-item:last-child{border-left:0}.msf-modern-impact-item span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 10px;border-radius:99px;background:rgba(255,255,255,.15);font-size:28px}.msf-modern-impact-item strong{display:block;font-size:30px;font-weight:1000}.msf-modern-impact-item small{color:rgba(255,255,255,.88);font-weight:800}.msf-modern-why{padding:68px 0;background:#fff}.msf-modern-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.msf-modern-why-card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;box-shadow:0 12px 30px rgba(15,23,42,.05)}.msf-modern-why-card span{width:54px;height:54px;border-radius:16px;background:#ecfdf5;display:grid;place-items:center;font-size:26px;flex:0 0 auto}.msf-modern-why-card h3{font-size:17px;font-weight:1000;margin:0 0 8px;color:#0f172a}.msf-modern-why-card p{font-size:14px;line-height:1.8;color:#64748b;margin:0}.msf-modern-home .msf-footer{margin-top:0;background:linear-gradient(135deg,#083f3b,#052f2f)!important}.msf-floating-donate{background:#2563eb!important;box-shadow:0 20px 40px rgba(37,99,235,.32)!important}
@media(max-width:1100px){.msf-modern-category-grid,.msf-modern-home .msf-project-grid{grid-template-columns:repeat(3,1fr)}.msf-modern-why-grid,.msf-modern-stat-strip,.msf-modern-impact-inner{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.msf-modern-hero{margin:0;border-radius:0 0 30px 30px;min-height:520px}.msf-modern-hero-copy{padding:54px 0 115px}.msf-modern-hero p{font-size:16px}.msf-modern-stat-strip{margin-top:-42px;grid-template-columns:1fr 1fr}.msf-modern-stat{padding:18px;grid-template-columns:1fr;text-align:center}.msf-modern-stat small{grid-column:auto}.msf-modern-category-grid,.msf-modern-home .msf-project-grid,.msf-modern-why-grid,.msf-modern-impact-inner{grid-template-columns:1fr}.msf-modern-categories,.msf-modern-why{padding:48px 0}.msf-modern-section-head h2{font-size:28px}.msf-modern-home .msf-nav{display:none}.msf-modern-home .msf-header-inner{min-height:72px}}

/* v3: controllable homepage impact stats band */
.msf-stats-band{
  background:var(--msf-stat-section-bg, transparent);
  border-radius:0 0 36px 36px;
  padding:36px 24px;
  margin-top:22px;
  overflow:hidden;
}
.msf-stats-band .msf-stats-grid{margin-top:0;}
@media (max-width:960px){.msf-stats-band{border-radius:0 0 28px 28px;padding:24px 16px;}}

/* v18 fix: hide duplicated lower impact/statistics band only. The hero/banner statistics strip remains visible. */
.msf-modern-home > .msf-modern-impact,
.msf-modern-impact {
  display: none !important;
}


/* v1.5.1: ربط ألوان البانر الحديث بلوحة إعدادات البانر وإلغاء الأخضر الثابت */
.msf-modern-home .msf-modern-hero h1{color:var(--msf-hero-title)!important;}
.msf-modern-home .msf-modern-hero p{color:var(--msf-hero-text)!important;}
.msf-modern-home .msf-modern-hero:before{background:var(--msf-hero-overlay)!important;opacity:.55;}
.msf-modern-home .msf-modern-hero-no-overlay:before{display:none!important;}
.msf-modern-home .msf-modern-primary{background:var(--msf-global-button-bg,var(--msf-primary))!important;color:#fff!important;box-shadow:0 18px 38px color-mix(in srgb,var(--msf-global-button-bg,var(--msf-primary)) 32%,transparent)!important;}
.msf-modern-home .msf-modern-secondary{color:var(--msf-hero-text)!important;border-color:color-mix(in srgb,var(--msf-hero-text) 38%,transparent)!important;}


/* ========================================================================
   Premium Home Stage 1 — approved visual direction
   ======================================================================== */
.msf-modern-home{background:#fff;color:#111827;font-family:"Rubik",sans-serif!important;overflow:hidden}
.msf-modern-home *{box-sizing:border-box}
.msf-modern-home .msf-container{width:min(1380px,calc(100% - 48px));margin-inline:auto}

/* Header */
.msf-head-wrap{position:relative;z-index:1000;font-family:"Rubik",sans-serif}
.msf-pro-topbar{background:var(--msf-topbar-bg,#0b2942);color:var(--msf-topbar-text,#fff);font-size:13px}
.msf-pro-topbar-inner{height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.msf-pro-topbar a,.msf-pro-topbar span{color:inherit;text-decoration:none;opacity:.95}
.msf-pro-topbar-account,.msf-pro-topbar-contact{display:flex;align-items:center;gap:13px}
.msf-pro-topbar-account>span{width:1px;height:14px;background:rgba(255,255,255,.35)}
.msf-pro-header{background:var(--msf-header-bg,#fff);border-bottom:1px solid #e8ecea;box-shadow:0 7px 28px rgba(15,23,42,.07)}
.msf-pro-header-inner{min-height:88px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:34px}
.msf-pro-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--msf-header-text,#111827);min-width:235px}
.msf-pro-brand img{width:62px;height:62px;object-fit:contain;border-radius:12px}
.msf-pro-brand span{display:flex;flex-direction:column;line-height:1.45}
.msf-pro-brand b{font-size:20px;color:#165b38}
.msf-pro-brand small{font-size:11px;color:#748078}
.msf-pro-nav{display:flex;align-items:center;justify-content:center;gap:30px}
.msf-pro-nav a{position:relative;color:var(--msf-header-text,#111827);text-decoration:none;font-weight:600;font-size:15px;padding:32px 0 27px;white-space:nowrap}
.msf-pro-nav a:after{content:"";position:absolute;inset-inline:0;bottom:20px;height:2px;border-radius:3px;background:var(--msf-header-primary,#087443);transform:scaleX(0);transition:.2s}
.msf-pro-nav a:hover:after,.msf-pro-nav a.is-active:after{transform:scaleX(1)}
.msf-pro-nav a.is-active{color:var(--msf-header-primary,#087443)}
.msf-pro-actions{display:flex;align-items:center;gap:9px;direction:ltr}
.msf-pro-actions>*{height:46px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #dce4df;background:#fff;color:#153224;font-family:inherit;font-weight:700;cursor:pointer}
.msf-pro-search{width:46px;font-size:25px;border:0!important}
.msf-pro-donate{padding:0 22px!important;background:var(--msf-header-btn,#087443)!important;color:var(--msf-header-btn-text,#fff)!important;border-color:var(--msf-header-btn,#087443)!important}
.msf-pro-fav{width:46px;font-size:25px}
.msf-pro-cart{width:52px;position:relative;font-size:20px}
.msf-pro-cart b{position:absolute;top:-7px;right:-6px;background:#16a34a;color:#fff;min-width:20px;height:20px;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.msf-mobile-toggle{display:none}

/* Hero */
.msf-premium-hero{position:relative;background:var(--msf-hero-bg,#f6f8f5);min-height:520px;isolation:isolate}
.msf-premium-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05) 15%,rgba(255,255,255,.7) 56%,rgba(255,255,255,.98) 100%);z-index:-1}
.msf-premium-hero-media{position:absolute;inset:0 0 0 44%;background-image:var(--msf-hero-image);background-size:cover;background-position:center;z-index:-2}
.msf-premium-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 45%,rgba(255,255,255,.87) 100%)}
.msf-premium-hero-inner{min-height:520px;display:flex;align-items:center;justify-content:flex-start;position:relative;z-index:2}
.msf-premium-hero-copy{width:min(580px,48%);margin-inline-start:auto;text-align:right;padding:55px 0 95px}
.msf-premium-badge{display:inline-flex;align-items:center;padding:9px 18px;background:rgba(255,255,255,.8);border:1px solid rgba(8,116,67,.16);border-radius:999px;color:#087443;font-weight:700;font-size:14px;margin-bottom:22px;box-shadow:0 9px 25px rgba(15,23,42,.05)}
.msf-premium-hero h1{font-size:clamp(46px,4.6vw,76px);line-height:1.13;margin:0 0 20px;color:var(--msf-hero-title,#111827);font-weight:800;letter-spacing:-2px;max-width:590px}
.msf-premium-hero h1::first-line{color:var(--msf-hero-title,#111827)}
.msf-premium-hero p{font-size:19px;line-height:1.9;color:var(--msf-hero-text,#475569);max-width:560px;margin:0 0 28px}
.msf-premium-actions{display:flex;align-items:center;gap:16px}
.msf-premium-actions a,.msf-premium-actions button{height:52px;padding:0 30px;border-radius:9px;font-family:inherit;font-weight:700;font-size:16px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.msf-premium-primary{background:var(--msf-primary,#087443)!important;color:#fff!important;border:1px solid var(--msf-primary,#087443)!important}
.msf-premium-secondary{background:#fff;color:#075c38;border:1px solid #0a7a4a}
.msf-premium-stats{position:absolute;bottom:-43px;left:50%;transform:translateX(-50%);z-index:5}
.msf-premium-stats-inner{min-height:88px;background:#fff;border-radius:15px;box-shadow:0 14px 40px rgba(15,23,42,.11);border:1px solid #e7ece9;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:13px 24px}
.msf-premium-stat{display:flex;align-items:center;justify-content:center;gap:15px;min-height:58px;border-inline-start:1px solid #e6ebe8}
.msf-premium-stat:first-child{border-inline-start:0}
.msf-premium-stat>span{font-size:30px;color:#0d9a5c}
.msf-premium-stat div{display:flex;flex-direction:column}
.msf-premium-stat strong{font-size:22px;color:#0b6a42;line-height:1.2}
.msf-premium-stat small{font-size:12px;color:#7a867f;margin-top:5px}

/* Categories */
.msf-premium-categories{padding:105px 0 70px;background:#fff}
.msf-premium-section-head{text-align:center;margin-bottom:34px}
.msf-premium-section-head h2{font-size:34px;margin:0 0 10px;color:#111827;font-weight:800}
.msf-premium-section-head p{margin:0;color:#758297;font-size:15px}
.msf-premium-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1000px;margin-inline:auto}
.msf-premium-category-card{position:relative;display:flex;align-items:center;gap:18px;min-height:145px;padding:26px;border:1px solid #e3e9e6;border-radius:18px;background:#fff;text-decoration:none;color:#111827;box-shadow:0 13px 30px rgba(15,23,42,.055);transition:.25s}
.msf-premium-category-card:hover{transform:translateY(-5px);border-color:rgba(8,116,67,.4);box-shadow:0 20px 38px rgba(15,23,42,.09)}
.msf-premium-category-icon{width:58px;height:58px;border-radius:16px;background:#edf8f2;display:flex;align-items:center;justify-content:center;font-size:30px;flex:0 0 auto}
.msf-premium-category-card h3{margin:0 0 8px;font-size:19px}
.msf-premium-category-card p{margin:0;color:#7a8795;font-size:13px;line-height:1.75}
.msf-premium-category-card i{position:absolute;left:20px;bottom:17px;color:#0a7a4a;font-style:normal;opacity:0;transition:.2s}
.msf-premium-category-card:hover i{opacity:1;transform:translateX(-3px)}

/* Projects */
.msf-modern-projects-pro{background:#f7f9f8!important;padding:76px 0 92px!important}
.msf-modern-projects-head{text-align:center!important;display:block!important;margin:0 auto 30px!important}
.msf-modern-projects-head .msf-modern-kicker{color:#087443!important;font-weight:700;font-size:14px}
.msf-modern-projects-head h2{font-size:38px!important;margin:8px 0 7px!important;color:#111827!important}
.msf-modern-projects-head p{color:#7a8795!important}
.msf-modern-all-link{display:inline-flex!important;margin-top:9px;color:#075c38!important;font-weight:600}
.msf-project-grid-pro{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important}
.msf-pro-card{border:1px solid #e2e8e5!important;border-radius:16px!important;box-shadow:0 13px 34px rgba(15,23,42,.07)!important;overflow:hidden;background:#fff!important;transition:.25s}
.msf-pro-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(15,23,42,.11)!important}
.msf-pro-image{height:205px!important}
.msf-pro-content{padding:18px!important}
.msf-pro-content h3{font-size:19px!important;margin:0 0 8px!important;color:#111827!important}
.msf-pro-desc{font-size:13px!important;line-height:1.75!important;min-height:45px;color:#6f7c89!important}
.msf-pro-progress-row{display:flex!important;flex-direction:column!important;gap:7px!important}
.msf-pro-percent{display:flex!important;flex-direction:row!important;justify-content:space-between!important;width:100%!important}
.msf-pro-percent strong{color:#0b8750!important;font-size:14px!important}
.msf-pro-percent span{font-size:11px!important}
.msf-pro-progress{height:6px!important;border-radius:10px!important;background:#edf1ef!important;overflow:hidden}
.msf-pro-progress span{background:linear-gradient(90deg,#0a7a4a,#21a568)!important;border-radius:10px}
.msf-pro-stats{grid-template-columns:repeat(3,1fr)!important;border-top:1px solid #edf0ef!important;border-bottom:1px solid #edf0ef!important;margin:14px 0!important;padding:12px 0!important}
.msf-pro-stats>div{padding:0 5px!important;border-inline-start:1px solid #edf0ef}
.msf-pro-stats>div:first-child{border-inline-start:0}
.msf-pro-stat-icon{display:none!important}
.msf-pro-stats small{font-size:10px!important}.msf-pro-stats strong{font-size:13px!important}.msf-pro-stats em{font-size:9px!important}
.msf-pro-donate-form{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
.msf-pro-amount-title,.msf-pro-amounts,.msf-pro-custom,.msf-pro-trust{display:none!important}
.msf-pro-submit{height:44px!important;border-radius:8px!important;background:var(--msf-primary,#087443)!important;font-family:inherit!important}

/* Why and partners */
.msf-modern-why{padding:72px 0!important;background:#fff!important}
.msf-modern-why .msf-modern-section-head{text-align:center!important}
.msf-modern-why-grid{grid-template-columns:repeat(4,1fr)!important;gap:18px!important}
.msf-modern-why-card{border:1px solid #e3e8e5!important;border-radius:16px!important;padding:22px!important;box-shadow:0 10px 25px rgba(15,23,42,.045)!important}
.msf-partners{padding:55px 0!important;background:#fbfcfb!important}

/* Newsletter */
.msf-newsletter{padding:58px 0 42px;background:#fff}
.msf-newsletter-card{min-height:175px;border:1px solid #cfe4d8;border-radius:18px;background:linear-gradient(100deg,#eef9f3,#fbfffd);display:grid;grid-template-columns:1fr 1.35fr .5fr;align-items:center;gap:32px;padding:28px 42px;overflow:hidden}
.msf-newsletter-copy{display:flex;align-items:center;gap:18px}
.msf-newsletter-icon{width:76px;height:76px;border:1px solid #b9d9c7;border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;color:#075c38}
.msf-newsletter-copy h2{font-size:29px;margin:0 0 8px;color:#111827}.msf-newsletter-copy p{margin:0;color:#718078;line-height:1.7}
.msf-newsletter-form{display:flex;direction:rtl}.msf-newsletter-form input{height:52px;flex:1;border:1px solid #d6e0db;border-radius:0 9px 9px 0;padding:0 18px;font-family:inherit;outline:none}.msf-newsletter-form button{height:52px;min-width:155px;border:0;border-radius:9px 0 0 9px;background:#064e3b;color:#fff;font-family:inherit;font-weight:700;cursor:pointer}
.msf-newsletter-art{text-align:center;font-size:72px;opacity:.22;color:#087443}

/* Footer */
.msf-premium-footer{background:var(--msf-footer-bg,#064e3b);color:var(--msf-footer-text,#d9efe7);padding:58px 0 0;font-family:"Rubik",sans-serif}
.msf-premium-footer-grid{display:grid;grid-template-columns:1.25fr .85fr .85fr .9fr 1.1fr;gap:42px;padding-bottom:42px}
.msf-premium-footer h3,.msf-premium-footer h4{color:var(--msf-footer-heading,#fff)}
.msf-premium-footer h4{font-size:18px;margin:0 0 23px;position:relative}.msf-premium-footer h4:after{content:"";position:absolute;right:0;bottom:-10px;width:35px;height:2px;background:#9ecb42}
.msf-premium-footer-brand img{max-width:190px;max-height:75px;object-fit:contain;margin-bottom:15px}.msf-premium-footer-brand h3{font-size:20px;margin:0 0 13px}.msf-premium-footer-brand p{font-size:14px;line-height:2;margin:0;max-width:280px}
.msf-premium-socials{display:flex;gap:9px;margin-top:20px}.msf-premium-socials a{width:38px;height:38px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:flex;align-items:center;justify-content:center}.msf-premium-socials svg{width:20px;height:20px}
.msf-premium-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}.msf-premium-footer a{color:var(--msf-footer-text,#d9efe7);text-decoration:none;font-size:14px}.msf-premium-footer li a{display:flex;align-items:center;justify-content:space-between}.msf-premium-footer li a:hover{color:#fff}
.msf-premium-footer-contact{display:grid;align-content:start;gap:18px}.msf-premium-footer-contact h4{margin-bottom:13px}.msf-premium-footer-contact>a,.msf-premium-footer-contact>div{display:flex;align-items:flex-start;gap:12px;color:var(--msf-footer-text)}.msf-premium-footer-contact b{font-size:20px;color:#9ecb42}.msf-premium-footer-contact span{display:flex;flex-direction:column;gap:3px}.msf-premium-footer-contact small{font-size:10px;opacity:.72}
.msf-premium-footer-lower{border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14);min-height:92px;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}.msf-premium-footer-lower strong{font-size:13px}.msf-payment-badges{display:flex;align-items:center;gap:8px}.msf-payment-badges span{background:#fff;color:#24323a;border-radius:5px;padding:8px 15px;font-weight:800;font-size:12px;min-width:70px;text-align:center}.msf-premium-footer-lower nav{display:flex;gap:24px}.msf-premium-footer-lower nav a{font-size:12px}
.msf-premium-copy{height:66px;display:flex;align-items:center;justify-content:center;position:relative;font-size:12px}.msf-premium-copy button{position:absolute;left:0;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-size:24px;cursor:pointer}

@media(max-width:1180px){.msf-pro-header-inner{grid-template-columns:auto 1fr}.msf-pro-actions{display:none}.msf-pro-nav{gap:18px}.msf-project-grid-pro{grid-template-columns:repeat(3,1fr)!important}.msf-premium-footer-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.msf-modern-home .msf-container{width:min(100% - 28px,760px)}.msf-pro-topbar{display:block}.msf-pro-header-inner{min-height:72px;grid-template-columns:1fr auto}.msf-pro-brand img{width:48px;height:48px}.msf-pro-brand small{display:none}.msf-mobile-toggle{display:flex!important}.msf-pro-nav{display:none;position:absolute;top:72px;right:14px;left:14px;background:#fff;box-shadow:0 14px 35px rgba(15,23,42,.14);padding:15px;border-radius:12px;flex-direction:column;gap:0}.msf-pro-nav.is-open{display:flex}.msf-pro-nav a{padding:12px;width:100%}.msf-premium-hero{min-height:auto}.msf-premium-hero-media{inset:0;opacity:.35}.msf-premium-hero:before{background:rgba(255,255,255,.78)}.msf-premium-hero-inner{min-height:520px}.msf-premium-hero-copy{width:100%;padding:60px 0 110px;text-align:center}.msf-premium-actions{justify-content:center}.msf-premium-stats{bottom:auto}.msf-premium-stats-inner{grid-template-columns:repeat(2,1fr)}.msf-premium-stat:nth-child(3){border-inline-start:0}.msf-premium-categories{padding-top:180px}.msf-premium-category-grid{grid-template-columns:1fr}.msf-project-grid-pro{grid-template-columns:repeat(2,1fr)!important}.msf-modern-why-grid{grid-template-columns:repeat(2,1fr)!important}.msf-newsletter-card{grid-template-columns:1fr;padding:26px}.msf-newsletter-art{display:none}.msf-premium-footer-grid{grid-template-columns:repeat(2,1fr)}.msf-premium-footer-lower{grid-template-columns:1fr;padding:24px 0}.msf-premium-footer-lower nav{flex-wrap:wrap}}
@media(max-width:600px){.msf-pro-brand{min-width:0}.msf-pro-brand b{font-size:15px}.msf-premium-hero h1{font-size:39px;letter-spacing:-1px}.msf-premium-hero p{font-size:15px}.msf-premium-actions{flex-direction:column}.msf-premium-actions>*{width:100%}.msf-premium-stats-inner{padding:8px}.msf-premium-stat{gap:8px}.msf-premium-stat strong{font-size:16px}.msf-project-grid-pro{grid-template-columns:1fr!important}.msf-modern-why-grid{grid-template-columns:1fr!important}.msf-newsletter-form{flex-direction:column;gap:8px}.msf-newsletter-form input,.msf-newsletter-form button{border-radius:9px;width:100%}.msf-premium-footer-grid{grid-template-columns:1fr}.msf-payment-badges{flex-wrap:wrap}.msf-premium-copy button{left:8px}}

/* =========================================================
 * Stage 1 final approved home – precise visual rebuild
 * ======================================================= */
.msf-modern-home,
.msf-modern-home button,
.msf-modern-home input,
.msf-modern-home select,
.msf-modern-home textarea{font-family:"Rubik",Arial,sans-serif!important}
.msf-head-wrap{position:relative;z-index:100}
.msf-pro-topbar{background:var(--msf-topbar-bg,#0b2942);color:var(--msf-topbar-text,#fff);font-size:13px}
.msf-pro-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.msf-pro-topbar a,.msf-pro-topbar button{color:inherit;text-decoration:none;background:transparent;border:0;padding:0;font:inherit;cursor:pointer}
.msf-pro-topbar-account,.msf-pro-topbar-contact{display:flex;align-items:center;gap:12px}
.msf-pro-topbar-account>span{width:1px;height:13px;background:rgba(255,255,255,.35)}
.msf-topbar-favorite b{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#fff;color:#075d45;font-size:10px}
.msf-pro-header{position:sticky;top:0;z-index:90;background:var(--msf-header-bg,#fff)!important;backdrop-filter:blur(14px);box-shadow:0 8px 24px rgba(15,23,42,.07)}
.msf-pro-header-inner{min-height:86px;display:grid;grid-template-columns:minmax(230px,auto) 1fr auto;align-items:center;gap:30px}
.msf-pro-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#075d45;min-width:0}
.msf-pro-brand img{width:58px;height:58px;object-fit:contain;flex:0 0 auto}
.msf-pro-brand span{display:grid;gap:2px;min-width:0}.msf-pro-brand b{font-size:18px;line-height:1.3}.msf-pro-brand small{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msf-pro-nav{display:flex;align-items:center;justify-content:center;gap:25px;min-width:0}
.msf-pro-nav a{position:relative;color:#111827;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap;padding:30px 0}
.msf-pro-nav a:after{content:"";position:absolute;right:0;left:0;bottom:20px;height:2px;background:#15805e;transform:scaleX(0);transition:.2s;border-radius:99px}
.msf-pro-nav a:hover:after,.msf-pro-nav a.is-active:after{transform:scaleX(1)}
.msf-pro-actions{display:flex;align-items:center;gap:9px;direction:ltr}
.msf-pro-actions button,.msf-pro-actions a{position:relative;width:44px;height:44px;border:1px solid #dce5e1;border-radius:12px;background:#fff;color:#12372c;display:inline-grid;place-items:center;text-decoration:none;font-size:21px;cursor:pointer;transition:.2s}
.msf-pro-actions button:hover,.msf-pro-actions a:hover{transform:translateY(-2px);border-color:#15805e}
.msf-pro-actions .msf-pro-donate{width:auto;padding:0 20px;background:#075d45;color:#fff;border-color:#075d45;font-size:14px;font-weight:800;border-radius:10px}
.msf-pro-actions b[data-msf-favorites-count],.msf-pro-cart b{position:absolute;top:-6px;left:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#14a765;color:#fff;font-size:10px;display:grid;place-items:center}
.msf-search-panel{position:absolute;inset-inline:0;top:100%;background:#fff;border-top:1px solid #edf2ef;box-shadow:0 18px 30px rgba(15,23,42,.12);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s;z-index:110}
.msf-search-panel.is-open{opacity:1;visibility:visible;transform:none}.msf-search-panel form{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:14px 0}.msf-search-panel input{height:46px;border:1px solid #dbe5e0;border-radius:10px;padding:0 14px}.msf-search-panel button{height:46px;border:0;border-radius:10px;padding:0 22px;background:#075d45;color:#fff;font-weight:800}.msf-search-panel [data-msf-search-close]{width:46px;padding:0;background:#eef4f1;color:#111827;font-size:22px}

.msf-premium-hero{position:relative;background:#f7faf8;min-height:520px;overflow:visible}
.msf-premium-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.64));pointer-events:none}
.msf-premium-hero-media{position:absolute;left:0;top:0;bottom:0;width:57%;background-image:var(--msf-hero-image);background-size:cover;background-position:center;clip-path:ellipse(92% 92% at 8% 50%)}
.msf-premium-hero-inner{position:relative;z-index:2;min-height:520px;display:flex;align-items:center;justify-content:flex-end}
.msf-premium-hero-copy{width:min(620px,48%);padding:70px 0 110px;text-align:right}
.msf-premium-badge{display:inline-flex;border:1px solid #d7e8df;background:rgba(255,255,255,.88);padding:9px 16px;border-radius:99px;color:#087443;font-size:13px;font-weight:800;margin-bottom:18px}
.msf-premium-hero h1{font-size:clamp(42px,4.6vw,72px);line-height:1.12;margin:0 0 18px;color:var(--msf-hero-title,#0f172a);font-weight:900;letter-spacing:-2px}
.msf-premium-hero p{font-size:18px;line-height:1.9;color:var(--msf-hero-text,#475569);margin:0 0 28px;max-width:590px}
.msf-premium-actions{display:flex;gap:14px;flex-wrap:wrap}.msf-premium-actions>*{min-height:46px;border-radius:10px;padding:0 25px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;border:1px solid #087443;cursor:pointer}
.msf-premium-primary{background:#075d45;color:#fff}.msf-premium-secondary{background:#fff;color:#075d45}
.msf-premium-stats{position:relative;z-index:4;margin-top:-55px}.msf-premium-stats-inner{min-height:78px;background:#fff;border:1px solid #edf1ef;border-radius:16px;box-shadow:0 14px 35px rgba(15,23,42,.10);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}
.msf-premium-stat{display:flex;align-items:center;justify-content:center;gap:13px;padding:15px;border-left:1px solid #e7ece9}.msf-premium-stat:last-child{border-left:0}.msf-premium-stat>span{font-size:25px;color:#07825c}.msf-premium-stat strong{display:block;color:#08623f;font-size:20px;line-height:1.2}.msf-premium-stat small{color:#718078;font-size:11px}

.msf-modern-projects-pro{padding:95px 0 75px!important;background:#f7faf9!important}.msf-modern-projects-head{text-align:center;max-width:720px;margin:0 auto 22px!important;position:relative}.msf-modern-kicker{color:#087443;font-size:13px;font-weight:800}.msf-modern-projects-head h2{font-size:38px!important;line-height:1.2;margin:6px 0!important}.msf-modern-projects-head p{color:#64748b}.msf-modern-all-link{display:inline-block;color:#075d45;font-weight:700;margin-top:5px}
.msf-project-filters{display:flex;justify-content:center;gap:9px;overflow-x:auto;padding:6px 4px 20px;scrollbar-width:none}.msf-project-filters::-webkit-scrollbar{display:none}.msf-project-filters button{border:1px solid #dfe7e3;background:#fff;color:#52625a;padding:9px 20px;border-radius:99px;white-space:nowrap;font-weight:700;cursor:pointer}.msf-project-filters button.is-active{background:#15805e;color:#fff;border-color:#15805e;box-shadow:0 7px 18px rgba(21,128,94,.2)}
.msf-project-grid-pro{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:start}
.msf-project-grid-pro .msf-pro-card{position:relative;border-radius:17px!important;border:1px solid #e0e7e4!important;box-shadow:0 12px 28px rgba(15,23,42,.07)!important;overflow:hidden!important;background:#fff!important;transition:.2s}.msf-project-grid-pro .msf-pro-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(15,23,42,.11)!important}.msf-project-grid-pro .msf-pro-card[hidden]{display:none!important}
.msf-project-grid-pro .msf-pro-image{height:185px!important;position:relative;overflow:hidden;background:#eef3f0}.msf-project-grid-pro .msf-pro-image img{width:100%;height:100%;object-fit:cover}.msf-card-favorite{position:absolute;top:12px;left:12px;width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.95);color:#17241e;font-size:21px;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 15px rgba(15,23,42,.12);z-index:3}.msf-card-favorite.is-active{color:#e11d48}
.msf-project-grid-pro .msf-pro-content{padding:17px!important}.msf-project-grid-pro .msf-pro-content h3{font-size:18px!important;margin:0 0 7px!important;line-height:1.45}.msf-project-grid-pro .msf-pro-desc{font-size:12px!important;line-height:1.7!important;min-height:42px!important;margin:0 0 12px!important;color:#718078!important}.msf-project-grid-pro .msf-pro-progress-row{margin:10px 0!important}.msf-project-grid-pro .msf-pro-stats{grid-template-columns:repeat(3,1fr)!important;gap:4px!important}.msf-project-grid-pro .msf-pro-stats>div{padding:7px 3px!important}.msf-project-grid-pro .msf-pro-stats small{font-size:9px!important}.msf-project-grid-pro .msf-pro-stats strong{font-size:12px!important}.msf-project-grid-pro .msf-pro-amount-title,.msf-project-grid-pro .msf-pro-amounts,.msf-project-grid-pro .msf-pro-custom,.msf-project-grid-pro .msf-pro-trust{display:none!important}.msf-project-grid-pro .msf-pro-submit{min-height:42px!important;border-radius:9px!important;margin-top:12px!important}.msf-project-grid-pro .msf-pro-donate-form{display:block!important}

.msf-modern-why{padding:65px 0 70px!important}.msf-modern-why-grid{grid-template-columns:repeat(4,1fr)!important;gap:16px!important}.msf-modern-why-card{min-height:100px;align-items:center!important;border-radius:15px!important;box-shadow:0 8px 22px rgba(15,23,42,.05)!important}.msf-modern-why-card>span{width:48px!important;height:48px!important;border-radius:14px!important}.msf-modern-section-head h2{font-size:34px!important}
.msf-newsletter{padding:55px 0!important}.msf-newsletter-card{grid-template-columns:1fr 1.35fr .38fr!important;min-height:160px!important;border-radius:16px!important;padding:25px 38px!important}.msf-newsletter-form{display:flex}.msf-newsletter-form input{flex:1}.msf-newsletter-form button{min-width:170px}

.msf-premium-footer{background:var(--msf-footer-bg,#064e3b);color:var(--msf-footer-text,#d9efe7);padding:60px 0 18px}.msf-premium-footer-grid{display:grid;grid-template-columns:1.25fr repeat(3,1fr) 1.15fr;gap:42px}.msf-premium-footer h3,.msf-premium-footer h4{color:var(--msf-footer-heading,#fff)}.msf-premium-footer-brand img{max-width:180px;max-height:70px;object-fit:contain}.msf-premium-footer-brand p{line-height:1.9}.msf-premium-footer ul{list-style:none;padding:0;margin:18px 0 0}.msf-premium-footer li{margin:11px 0}.msf-premium-footer a{color:inherit;text-decoration:none}.msf-premium-socials{display:flex;gap:8px;margin-top:18px}.msf-premium-socials a{width:38px;height:38px;border:1px solid rgba(255,255,255,.23);border-radius:50%;display:grid;place-items:center}.msf-premium-socials svg{width:22px;height:22px}.msf-premium-footer-contact>a,.msf-premium-footer-contact>div{display:flex;gap:11px;margin:15px 0}.msf-premium-footer-contact small{display:block;color:rgba(255,255,255,.6)}
.msf-premium-footer-lower{margin-top:38px;padding:25px 0;border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14);display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center}.msf-payment-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.msf-payment-logo{width:88px;height:34px;background:#fff;border-radius:5px;border:1px solid rgba(0,0,0,.08);color:#111;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 8px;position:relative;overflow:hidden}.msf-payment-logo b{font-family:Arial,sans-serif;font-size:13px;white-space:nowrap}.msf-payment-visa b{font-style:italic;font-weight:900;color:#133a8a;font-size:17px}.msf-payment-stcpay b{color:#5b2d90;font-weight:800}.msf-payment-applepay b{font-size:15px}.msf-payment-mada b{font-weight:900;color:#1a694f}.mada-bars{width:18px;height:12px;background:linear-gradient(#36a66d 0 25%,transparent 25% 38%,#0984b9 38% 62%,transparent 62% 75%,#e0b646 75%);display:inline-block}.msf-payment-mastercard{gap:0}.msf-payment-mastercard b{font-size:9px;margin-left:3px}.mc-one,.mc-two{width:17px;height:17px;border-radius:50%;display:block;position:relative}.mc-one{background:#eb001b;margin-left:-5px}.mc-two{background:#f79e1b;margin-left:-7px;mix-blend-mode:multiply}.msf-premium-footer-lower nav{display:flex;gap:20px;white-space:nowrap;font-size:12px}.msf-premium-copy{display:flex;justify-content:space-between;align-items:center;padding-top:16px}.msf-premium-copy button{width:42px;height:42px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:transparent;color:#fff;font-size:20px}

.msf-favorites-drawer{position:fixed;inset:0;z-index:9999;pointer-events:none;visibility:hidden}.msf-favorites-drawer.is-open{pointer-events:auto;visibility:visible}.msf-favorites-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.48);opacity:0;transition:.2s}.msf-favorites-drawer.is-open .msf-favorites-backdrop{opacity:1}.msf-favorites-drawer aside{position:absolute;top:0;bottom:0;left:0;width:min(400px,92vw);background:#fff;transform:translateX(-100%);transition:.25s;padding:20px;overflow:auto;box-shadow:20px 0 50px rgba(15,23,42,.18)}.msf-favorites-drawer.is-open aside{transform:none}.msf-favorites-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5ebe8;padding-bottom:15px}.msf-favorites-head h3{margin:0}.msf-favorites-head button{width:38px;height:38px;border:0;border-radius:10px;background:#eef4f1;font-size:22px}.msf-favorites-empty{padding:35px 10px;text-align:center;color:#64748b}.msf-favorite-item{display:grid;grid-template-columns:72px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #edf2ef}.msf-favorite-item img,.msf-favorite-placeholder{width:72px;height:60px;border-radius:10px;object-fit:cover;background:#eef4f1;display:grid;place-items:center}.msf-favorite-item strong{display:block;margin-bottom:8px}.msf-favorite-item button{border:0;background:transparent;color:#dc2626;padding:0;cursor:pointer}

@media(max-width:1100px){.msf-pro-header-inner{grid-template-columns:minmax(180px,auto) 1fr auto;gap:16px}.msf-pro-nav{gap:14px}.msf-pro-nav a{font-size:12px}.msf-project-grid-pro{grid-template-columns:repeat(3,minmax(0,1fr))!important}.msf-premium-footer-grid{grid-template-columns:repeat(3,1fr)}.msf-premium-footer-brand{grid-column:span 2}.msf-premium-footer-contact{grid-column:span 1}}
@media(max-width:960px){
  .msf-pro-topbar{display:block}.msf-pro-header{top:0}.msf-pro-header-inner{min-height:68px;display:grid;grid-template-columns:46px 1fr auto;gap:10px}.msf-mobile-toggle{display:flex!important;grid-column:1;grid-row:1;width:42px;height:42px;border:1px solid #dce5e1;border-radius:11px;background:#fff;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0}.msf-mobile-toggle span{width:20px;height:2px;background:#075d45;transition:.2s}.msf-pro-header.is-mobile-open .msf-mobile-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}.msf-pro-header.is-mobile-open .msf-mobile-toggle span:nth-child(2){opacity:0}.msf-pro-header.is-mobile-open .msf-mobile-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .msf-pro-brand{grid-column:2;grid-row:1;justify-self:center}.msf-pro-brand img{width:44px;height:44px}.msf-pro-brand b{font-size:14px}.msf-pro-brand small{display:none}.msf-pro-actions{grid-column:3;grid-row:1}.msf-pro-actions .msf-pro-search,.msf-pro-actions .msf-pro-fav,.msf-pro-actions .msf-pro-donate{display:none}.msf-pro-actions .msf-pro-cart{width:42px;height:42px}.msf-pro-nav{position:absolute;top:100%;right:0;left:0;background:var(--msf-header-bg,#fff)!important;display:grid!important;gap:0;padding:8px 18px 18px;border-top:1px solid #e8eeeb;box-shadow:0 20px 35px rgba(15,23,42,.13);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s;max-height:calc(100vh - 70px);overflow:auto}.msf-pro-header.is-mobile-open .msf-pro-nav{opacity:1;visibility:visible;transform:none}.msf-pro-nav a{padding:14px 5px;border-bottom:1px solid #eef3f0;font-size:14px}.msf-pro-nav a:after{display:none}.msf-pro-nav:after{content:"تبرع سريع";display:flex;align-items:center;justify-content:center;min-height:45px;border-radius:10px;background:#075d45;color:#fff;font-weight:800;margin-top:12px;cursor:pointer}
  .msf-premium-hero{min-height:auto}.msf-premium-hero-media{position:relative;width:100%;height:300px;clip-path:none;background-position:center}.msf-premium-hero-inner{min-height:auto;justify-content:center}.msf-premium-hero-copy{width:100%;text-align:center;padding:35px 0 95px}.msf-premium-hero h1{font-size:40px;letter-spacing:-1px}.msf-premium-hero p{font-size:15px;margin-inline:auto}.msf-premium-actions{justify-content:center}.msf-premium-stats{margin-top:0}.msf-premium-stats-inner{grid-template-columns:1fr 1fr}.msf-premium-stat:nth-child(2){border-left:0}.msf-premium-stat:nth-child(-n+2){border-bottom:1px solid #e7ece9}
  .msf-project-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))!important}.msf-modern-why-grid{grid-template-columns:repeat(2,1fr)!important}.msf-newsletter-card{grid-template-columns:1fr!important;text-align:center}.msf-newsletter-copy{justify-content:center}.msf-newsletter-art{display:none}.msf-premium-footer-grid{grid-template-columns:repeat(2,1fr)}.msf-premium-footer-brand,.msf-premium-footer-contact{grid-column:auto}.msf-premium-footer-lower{grid-template-columns:1fr;text-align:center}.msf-payment-badges,.msf-premium-footer-lower nav{justify-content:center}
}
@media(max-width:600px){
  .msf-container{width:min(100% - 28px,1200px)}.msf-search-panel form{grid-template-columns:1fr auto}.msf-search-panel button[type=submit]{display:none}.msf-premium-hero-media{height:230px}.msf-premium-hero-copy{padding:28px 0 85px}.msf-premium-badge{font-size:11px}.msf-premium-hero h1{font-size:34px}.msf-premium-actions{display:grid;grid-template-columns:1fr 1fr}.msf-premium-actions>*{padding:0 12px;font-size:13px}.msf-premium-stats{width:calc(100% - 24px)}.msf-premium-stat{padding:12px 6px;gap:7px}.msf-premium-stat>span{font-size:19px}.msf-premium-stat strong{font-size:15px}.msf-premium-stat small{font-size:9px}.msf-modern-projects-pro{padding-top:78px!important}.msf-modern-projects-head h2{font-size:30px!important}.msf-project-filters{justify-content:flex-start}.msf-project-grid-pro{grid-template-columns:1fr!important}.msf-project-grid-pro .msf-pro-image{height:210px!important}.msf-modern-why-grid{grid-template-columns:1fr!important}.msf-newsletter{padding:35px 0!important}.msf-newsletter-card{padding:22px!important}.msf-newsletter-form{flex-direction:column;gap:8px}.msf-newsletter-form button{min-width:0;height:44px}.msf-premium-footer{padding-top:42px}.msf-premium-footer-grid{grid-template-columns:1fr}.msf-premium-footer-col{border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:15px}.msf-payment-logo{width:78px}.msf-premium-footer-lower nav{flex-wrap:wrap;gap:12px}.msf-premium-copy{font-size:11px}
}
@media(max-width:960px){
 .msf-pro-nav:after{display:none!important;content:none!important}
 .msf-mobile-nav-donate{display:flex;align-items:center;justify-content:center;min-height:45px;border:0;border-radius:10px;background:#075d45;color:#fff;font-weight:800;margin-top:12px;cursor:pointer}
}
@media(min-width:961px){.msf-mobile-nav-donate{display:none!important}}


/* 2026-08 banner, metrics, projects heading and footer license refinements */
.msf-premium-hero{min-height:var(--msf-hero-height,680px);background:var(--msf-hero-bg,#f6f8f5);overflow:visible}
.msf-premium-hero:before{display:none!important}
.msf-premium-hero-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;clip-path:none!important;background-image:var(--msf-hero-image)!important;background-size:cover!important;background-position:center!important;opacity:1!important}
.msf-premium-hero-media:after{display:none!important}
.msf-premium-hero-inner{min-height:var(--msf-hero-height,680px)!important;position:relative;z-index:2;display:flex;align-items:center;justify-content:flex-end}
.msf-premium-hero.has-copy:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.16) 38%,rgba(255,255,255,.92) 100%);z-index:1;pointer-events:none}
.msf-premium-hero.is-image-only .msf-premium-hero-inner{display:none}
.msf-premium-hero-copy{position:relative;z-index:3;width:min(620px,48%);padding:70px 0 115px}
.msf-premium-stats{position:relative!important;right:auto!important;left:auto!important;bottom:auto!important;transform:none!important;width:min(100% - 56px,1440px)!important;margin:20px auto 0!important;z-index:5}
.msf-premium-stats-inner{grid-template-columns:repeat(4,minmax(0,1fr))!important;min-height:102px!important}
.msf-modern-projects-head{max-width:900px;margin-inline:auto;text-align:center;position:relative;padding-bottom:18px}
.msf-modern-projects-head:after{content:"";display:block;width:76px;height:4px;border-radius:20px;background:linear-gradient(90deg,var(--msf-primary,#0f7f67),#9fd7bc);margin:18px auto 0}
.msf-modern-projects-head h2{font-size:clamp(34px,4vw,58px)!important;letter-spacing:-1.2px;margin:4px 0 8px!important}
.msf-modern-projects-head .msf-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:#eaf7f0;color:#087443;font-weight:800}
.msf-premium-footer-lower{grid-template-columns:minmax(0,1.2fr) auto minmax(0,1fr)!important}
.msf-footer-payments{display:flex;align-items:center;gap:16px;min-width:0}.msf-footer-payments strong{white-space:nowrap}.msf-payment-badges{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.msf-payment-logo{width:96px!important;height:36px!important;padding:0!important;background:#fff!important}.msf-payment-logo svg{display:block;width:100%;height:100%}
.msf-footer-license{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:10px 12px;min-width:190px}.msf-footer-license span{font-size:12px;font-weight:800;color:var(--msf-footer-heading,#fff);white-space:nowrap}.msf-footer-license img{width:82px;height:82px;object-fit:contain;background:#fff;border-radius:9px;padding:5px}
@media(max-width:900px){
 .msf-premium-hero{min-height:var(--msf-hero-height-mobile,420px)}
 .msf-premium-hero-media{position:absolute!important;height:100%!important;background-size:cover!important}
 .msf-premium-hero-inner{min-height:var(--msf-hero-height-mobile,420px)!important;padding-bottom:95px}
 .msf-premium-hero.has-copy:after{background:rgba(255,255,255,.76)}
 .msf-premium-hero-copy{width:100%;text-align:center;padding:45px 0 105px}
 .msf-premium-stats{width:calc(100% - 28px)!important;bottom:auto!important;margin:16px auto 0!important}
 .msf-premium-stats-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-height:0!important}
 .msf-premium-footer-lower{grid-template-columns:1fr!important;text-align:center}.msf-footer-payments{flex-direction:column}.msf-footer-license{justify-content:center;margin-inline:auto}.msf-premium-footer-lower nav{justify-content:center;flex-wrap:wrap}
}
@media(max-width:600px){
 .msf-premium-hero{min-height:var(--msf-hero-height-mobile,420px)}
 .msf-premium-stats{bottom:auto!important;width:calc(100% - 20px)!important;margin:14px auto 0!important}
 .msf-premium-stats-inner{border-radius:14px!important}
 .msf-premium-stat{min-height:72px!important;padding:10px 6px!important}
 .msf-footer-license{width:100%;max-width:310px;justify-content:space-between}.msf-footer-license img{width:72px;height:72px}
}

/* 2026-08 precise hero, header logo and official payment artwork */
.msf-pro-brand img{display:block!important;max-width:190px!important;width:auto!important;height:58px!important;object-fit:contain!important;flex:0 0 auto}
.msf-premium-hero{min-height:var(--msf-hero-height,780px)!important}
.msf-premium-hero-media{background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}
.msf-premium-hero-inner{min-height:var(--msf-hero-height,780px)!important}
.msf-payment-logo{width:112px!important;height:44px!important;padding:4px 8px!important;background:#fff!important}
.msf-payment-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.msf-payment-logo svg{width:100%!important;height:100%!important}
@media(max-width:900px){
 .msf-premium-hero{min-height:var(--msf-hero-height-tablet,640px)!important}
 .msf-premium-hero-inner{min-height:var(--msf-hero-height-tablet,640px)!important}
 .msf-pro-brand img{height:48px!important;max-width:150px!important}
}
@media(max-width:600px){
 .msf-premium-hero{min-height:var(--msf-hero-height-mobile,480px)!important}
 .msf-premium-hero-inner{min-height:var(--msf-hero-height-mobile,480px)!important}
 .msf-premium-hero-media{background-position:center center!important}
 .msf-payment-logo{width:96px!important;height:40px!important}
}

/* v1.7.1 — stable metrics flow, genuine payment artwork, polished mobile CTA */
.msf-premium-stats{
  position:relative!important;inset:auto!important;right:auto!important;left:auto!important;bottom:auto!important;
  transform:none!important;width:min(100% - 56px,1440px)!important;margin:-52px auto 0!important;z-index:8!important;
}
.msf-premium-stats-inner{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;min-height:104px!important;overflow:hidden!important}
.msf-premium-stat{min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:13px!important;padding:18px 12px!important}
.msf-premium-stat>span{flex:0 0 auto!important;width:38px!important;height:38px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#eef8f3!important;color:var(--msf-primary,#087443)!important;font-size:17px!important}
.msf-premium-stat>div{min-width:0!important}.msf-premium-stat strong{display:block!important;line-height:1.15!important;white-space:nowrap!important}.msf-premium-stat small{display:block!important;margin-top:5px!important;white-space:normal!important;line-height:1.35!important}
.msf-modern-projects-pro{padding-top:78px!important}
.msf-payment-badges{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.msf-payment-logo{width:112px!important;height:46px!important;padding:0!important;border-radius:7px!important;background:#fff!important;border:1px solid rgba(15,23,42,.10)!important;overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.msf-payment-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.msf-mobile-sticky{display:none!important}
@media(max-width:960px){
  .msf-premium-stats{width:calc(100% - 28px)!important;margin:16px auto 0!important}
  .msf-premium-stats-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-height:0!important}
  .msf-premium-stat{min-height:82px!important;padding:13px 8px!important}
  .msf-premium-stat:nth-child(2n){border-inline-start:0!important}
  .msf-premium-stat:nth-child(-n+2){border-bottom:1px solid #e7ece9!important}
  .msf-modern-projects-pro{padding-top:56px!important}
  .msf-mobile-sticky{
    display:flex!important;position:fixed!important;right:16px!important;left:16px!important;bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;
    z-index:2147482000!important;height:58px!important;border:0!important;border-radius:18px!important;
    align-items:center!important;justify-content:center!important;gap:10px!important;padding:0 22px!important;
    background:linear-gradient(135deg,var(--msf-primary,#087443),#0aa26f)!important;color:#fff!important;
    font-family:var(--msf-heading-font,'Rubik',sans-serif)!important;font-size:16px!important;font-weight:900!important;
    box-shadow:0 14px 34px rgba(6,95,70,.30),0 3px 9px rgba(15,23,42,.12)!important;
  }
  .msf-mobile-sticky:before{content:'❤';width:32px;height:32px;border-radius:11px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:16px}
  .msf-mobile-sticky:after{content:'تبرع آمن وسريع';font-size:10px;font-weight:500;opacity:.82;margin-inline-start:2px}
  .msf-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:600px){
  .msf-premium-stats{width:calc(100% - 20px)!important;margin:14px auto 0!important}
  .msf-premium-stats-inner{border-radius:16px!important}
  .msf-premium-stat{min-height:88px!important;gap:8px!important;padding:12px 6px!important}
  .msf-premium-stat>span{width:31px!important;height:31px!important;font-size:14px!important}
  .msf-premium-stat strong{font-size:18px!important}
  .msf-premium-stat small{font-size:10px!important;max-width:110px!important}
  .msf-payment-badges{justify-content:center!important;gap:8px!important}
  .msf-payment-logo{width:94px!important;height:40px!important}
  .msf-mobile-sticky{right:12px!important;left:12px!important;height:56px!important;border-radius:17px!important;font-size:15px!important;padding:0 14px!important}
}

/* v1.9.3 — definitive indicators flow and payment mark normalization */
.msf-premium-hero{overflow:visible!important}
.msf-premium-stats{
  display:block!important;visibility:visible!important;opacity:1!important;
  position:relative!important;inset:auto!important;transform:none!important;
  width:min(calc(100% - 48px),1440px)!important;
  margin:24px auto 0!important;padding:0!important;z-index:10!important;
  height:auto!important;min-height:0!important;overflow:visible!important;
}
.msf-premium-stats-inner{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;height:auto!important;min-height:108px!important;
  overflow:visible!important;background:#fff!important;border:1px solid #e4ebe7!important;
  border-radius:18px!important;box-shadow:0 18px 45px rgba(15,23,42,.10)!important;
}
.msf-premium-stat{display:flex!important;min-height:108px!important;overflow:visible!important}
.msf-modern-projects-pro{padding-top:54px!important}

.msf-payment-badges{overflow:visible!important}
.msf-payment-logo{box-sizing:border-box!important;width:112px!important;height:46px!important;padding:5px 10px!important}
.msf-payment-logo img{max-width:100%!important;max-height:100%!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}

@media(max-width:960px){
  .msf-premium-stats{width:calc(100% - 24px)!important;margin:16px auto 0!important}
  .msf-premium-stats-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-height:0!important;overflow:visible!important}
  .msf-premium-stat{min-height:96px!important;padding:14px 10px!important}
  .msf-modern-projects-pro{padding-top:42px!important}
}
@media(max-width:600px){
  .msf-premium-stats{width:calc(100% - 20px)!important;margin:14px auto 0!important}
  .msf-premium-stats-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;border-radius:16px!important}
  .msf-premium-stat{min-height:102px!important;padding:14px 8px!important;gap:8px!important;flex-direction:column!important;text-align:center!important}
  .msf-premium-stat>span{width:32px!important;height:32px!important}
  .msf-premium-stat strong{font-size:18px!important;white-space:normal!important}
  .msf-premium-stat small{font-size:11px!important;max-width:none!important;white-space:normal!important}
  .msf-modern-projects-pro{padding-top:36px!important}
  .msf-payment-logo{width:92px!important;height:40px!important;padding:4px 8px!important}
}


/* v1.9.5 — canonical home metrics + mobile newsletter field, no legacy strip */
#msf-home-stats.msf-home-stats-canonical{
  display:block!important;
  position:relative!important;
  inset:auto!important;
  right:auto!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:min(calc(100% - 48px),1440px)!important;
  margin:20px auto 0!important;
  padding:0!important;
  z-index:4!important;
  overflow:visible!important;
  height:auto!important;
}
#msf-home-stats .msf-premium-stats-inner{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;
  min-height:104px!important;
  overflow:hidden!important;
  border-radius:18px!important;
}
#msf-home-stats .msf-premium-stat{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
  min-height:104px!important;
}
@media(max-width:960px){
  #msf-home-stats.msf-home-stats-canonical{width:calc(100% - 24px)!important;margin:16px auto 0!important}
  #msf-home-stats .msf-premium-stats-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #msf-home-stats .msf-premium-stat{min-height:98px!important}
}
@media(max-width:600px){
  #msf-home-stats.msf-home-stats-canonical{width:calc(100% - 20px)!important;margin:14px auto 0!important}
  #msf-home-stats .msf-premium-stats-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;border-radius:16px!important}
  #msf-home-stats .msf-premium-stat{min-height:102px!important;padding:14px 8px!important}
  .msf-modern-home .msf-newsletter-form input[type="email"]{
    display:block!important;
    width:100%!important;
    height:58px!important;
    min-height:58px!important;
    line-height:58px!important;
    padding:0 18px!important;
    font-size:16px!important;
    border-radius:12px!important;
    box-sizing:border-box!important;
  }
  .msf-modern-home .msf-newsletter-form button{
    width:100%!important;
    height:54px!important;
    min-height:54px!important;
    border-radius:12px!important;
  }
}

/* v1.9.6 — the canonical metrics block is the only metrics output allowed after the hero. */
.msf-modern-home .msf-premium-hero + .msf-home-stats-canonical{display:block!important}
.msf-modern-home #msf-home-stats.msf-home-stats-canonical{clip:auto!important;clip-path:none!important}
@media(max-width:960px){
  .msf-modern-home #msf-home-stats.msf-home-stats-canonical{margin:14px auto 0!important}
}


/* v2.1.3 — unified primary/secondary button theme */
.msf-modern-home .msf-newsletter-form button,
.msf-modern-home .msf-project-btn,
.msf-modern-home .msf-premium-primary,
.msf-modern-home .msf-modern-primary,
.msf-modern-home .msf-quick-donate-action,
.msf-modern-home .msf-mobile-nav-donate,
.msf-modern-home .msf-mobile-sticky button,
.msf-modern-home .msf-mobile-sticky .msf-btn{
  background:var(--msf-button-background,var(--msf-primary))!important;
  color:var(--msf-global-button-color,#fff)!important;
  border-color:transparent!important;
}

/* Editor-controlled header colors */
.msf-head-wrap .msf-pro-header,.msf-head-wrap .msf-pro-nav{background:var(--msf-header-bg,#fff)!important}.msf-head-wrap .msf-pro-brand,.msf-head-wrap .msf-pro-brand b,.msf-head-wrap .msf-pro-brand small,.msf-head-wrap .msf-pro-nav a,.msf-head-wrap .msf-pro-actions button,.msf-head-wrap .msf-pro-actions a{color:var(--msf-header-text,#0f172a)!important}.msf-head-wrap .msf-mobile-toggle span{background:var(--msf-header-text,#0f172a)!important}


/* v2.1.5 — حماية أزرار الهيدر عند تغيير خلفية ونص الهيدر */
.msf-head-wrap .msf-pro-actions .msf-pro-search,
.msf-head-wrap .msf-pro-actions .msf-pro-fav,
.msf-head-wrap .msf-pro-actions .msf-pro-cart{
  background:#fff!important;
  color:var(--msf-header-primary,var(--msf-primary,#087443))!important;
  border-color:color-mix(in srgb,var(--msf-header-primary,var(--msf-primary,#087443)) 22%,#dce5e1 78%)!important;
}
.msf-head-wrap .msf-pro-actions .msf-pro-search:hover,
.msf-head-wrap .msf-pro-actions .msf-pro-fav:hover,
.msf-head-wrap .msf-pro-actions .msf-pro-cart:hover{
  border-color:var(--msf-header-primary,var(--msf-primary,#087443))!important;
}
.msf-head-wrap .msf-pro-actions .msf-pro-donate{
  background:var(--msf-header-btn,var(--msf-primary,#087443))!important;
  color:var(--msf-header-btn-text,#fff)!important;
  border-color:var(--msf-header-btn,var(--msf-primary,#087443))!important;
}
.msf-head-wrap .msf-pro-actions .msf-pro-cart b,
.msf-head-wrap .msf-pro-actions .msf-pro-fav b{
  color:#fff!important;
}

/* =========================================================
 * Footer builder 2.8.1 – real links, map, dimensions and color fidelity
 * ======================================================= */
.msf-premium-footer{
  background:var(--msf-footer-bg,#0b2942)!important;
  color:var(--msf-footer-text,#dbe7f3)!important;
  padding-top:var(--msf-footer-padding-y,58px)!important;
  min-height:var(--msf-footer-min-height,0)!important;
}
.msf-premium-footer>.msf-footer-custom-container{
  width:min(calc(100% - 36px),var(--msf-footer-inner-width,1440px))!important;
  max-width:none!important;
  margin-inline:auto!important;
}
.msf-premium-footer-grid{
  display:grid!important;
  grid-template-columns:minmax(210px,1.05fr) minmax(340px,1.6fr) minmax(210px,.9fr) minmax(250px,1fr)!important;
  gap:34px!important;
  align-items:start!important;
}
.msf-premium-footer h3,.msf-premium-footer h4{color:var(--msf-footer-heading,#fff)!important}
.msf-premium-footer p,.msf-premium-footer li,.msf-premium-footer span,.msf-premium-footer small,.msf-premium-footer a{color:var(--msf-footer-text,#dbe7f3)!important}
.msf-premium-footer-brand img{max-width:none!important;max-height:none!important;height:auto!important;object-fit:contain!important}
.msf-footer-logo-wrap{overflow:visible!important;min-height:42px}
.msf-footer-important-links ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:26px!important;row-gap:12px!important}
.msf-footer-important-links li{margin:0!important;min-width:0}.msf-footer-important-links a{gap:8px;min-width:0;word-break:break-word}
.msf-premium-footer-map{min-width:0}.msf-footer-map-embed{height:var(--msf-footer-map-height,220px);border-radius:14px;overflow:hidden;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.msf-footer-map-embed iframe,.msf-footer-map-embed>div{width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important}
@media(max-width:1180px){.msf-premium-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.msf-footer-important-links ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.msf-premium-footer>.msf-footer-custom-container{width:min(calc(100% - 24px),var(--msf-footer-inner-width,1440px))!important}.msf-premium-footer-grid{grid-template-columns:1fr!important}.msf-footer-important-links ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}.msf-premium-footer-map{order:4}}
@media(max-width:430px){.msf-footer-important-links ul{grid-template-columns:1fr!important}}


/* Footer 2.8.2 fixes: aligned contact, bottom pages, map and socials */
.msf-premium-footer-contact>a,.msf-premium-footer-contact>div{align-items:flex-start!important;min-height:58px}
.msf-premium-footer-contact>div>span,.msf-premium-footer-contact>a>span{padding-top:1px;line-height:1.65}
.msf-premium-footer-contact b{width:24px;flex:0 0 24px;text-align:center;line-height:1.45}
.msf-premium-socials{display:flex!important;flex-wrap:wrap;gap:10px;margin-top:18px}
.msf-premium-socials:empty{display:none!important}
.msf-footer-bottom-links{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center}
.msf-footer-bottom-links a{white-space:nowrap}
.msf-premium-footer-lower{align-items:center}
.msf-premium-footer-map{align-self:start}
.msf-footer-map-embed .msf-contact-map{margin:0!important;box-shadow:none!important;border-radius:0!important}
@media(max-width:700px){.msf-footer-bottom-links{justify-content:center}.msf-premium-footer-contact>a,.msf-premium-footer-contact>div{min-height:0}}

/* Footer 2.8.3: map is a real left column and never collapses */
.msf-premium-footer-grid{
  grid-template-columns:minmax(230px,1.05fr) minmax(340px,1.45fr) minmax(230px,.95fr) minmax(300px,1.15fr)!important;
}
.msf-premium-footer-map{display:block!important;min-width:0;width:100%}
.msf-premium-footer-map h4{margin-bottom:14px!important}
.msf-footer-map-embed{display:block!important;width:100%!important;min-height:140px}
.msf-footer-map-embed iframe{display:block!important;width:100%!important;height:100%!important;background:#fff}
@media(max-width:1180px){.msf-premium-footer-map{grid-column:1/-1}.msf-footer-map-embed{max-width:760px}}
@media(max-width:700px){.msf-premium-footer-map{grid-column:auto}.msf-footer-map-embed{max-width:none}}


/* Footer 2.8.5 — complete mobile layout: never hide enabled columns */
@media (max-width: 1024px) {
  .msf-premium-footer {
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding-bottom:calc(125px + env(safe-area-inset-bottom,0px))!important;
  }
  .msf-premium-footer > .msf-footer-custom-container,
  .msf-premium-footer-grid,
  .msf-premium-footer-lower,
  .msf-premium-copy {
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .msf-premium-footer-grid {
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    gap:28px!important;
    width:100%!important;
  }
  .msf-premium-footer-grid > * {
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-column:auto!important;
    transform:none!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .msf-premium-footer-brand{order:1!important}
  .msf-footer-important-links{order:2!important}
  .msf-premium-footer-contact{order:3!important}
  .msf-premium-footer-map{order:4!important}
  .msf-premium-footer-contact > a,
  .msf-premium-footer-contact > div {
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    align-items:flex-start!important;
  }
  .msf-premium-footer-contact span,
  .msf-premium-footer-contact small,
  .msf-premium-footer-contact a {
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .msf-footer-map-embed,
  .msf-footer-map-embed iframe {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:220px!important;
  }
  .msf-premium-footer-lower {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:22px!important;
  }
  .msf-footer-payments,
  .msf-footer-license,
  .msf-footer-bottom-links {
    width:100%!important;
    max-width:100%!important;
  }
  .msf-premium-copy {
    padding-bottom:20px!important;
    white-space:normal!important;
  }
}
@media (max-width: 600px) {
  .msf-footer-important-links ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .msf-payment-badges{justify-content:center!important}
  .msf-footer-license{box-sizing:border-box!important}
}
@media (max-width: 390px) {
  .msf-footer-important-links ul{grid-template-columns:1fr!important}
}

/* v2.11.0 — Partners success section (replaces newsletter) */
.msf-modern-home .msf-partners{
  position:relative;
  padding:72px 0 64px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%)!important;
  overflow:hidden;
  border-top:1px solid rgba(15,127,103,.07);
  border-bottom:1px solid rgba(15,127,103,.07);
}
.msf-modern-home .msf-partners:before,.msf-modern-home .msf-partners:after{
  content:"";position:absolute;width:280px;height:280px;border-radius:50%;pointer-events:none;filter:blur(1px)
}
.msf-modern-home .msf-partners:before{right:-140px;top:-160px;background:radial-gradient(circle,rgba(15,127,103,.08),transparent 68%)}
.msf-modern-home .msf-partners:after{left:-150px;bottom:-170px;background:radial-gradient(circle,rgba(193,143,59,.07),transparent 68%)}
.msf-modern-home .msf-partners .msf-container{position:relative;z-index:1}
.msf-modern-home .msf-partners-head{max-width:760px;margin:0 auto 34px!important;text-align:center!important}
.msf-modern-home .msf-partners-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--msf-primary,#0f7f67);font-size:13px;font-weight:800;margin-bottom:10px}
.msf-modern-home .msf-partners-kicker:before,.msf-modern-home .msf-partners-kicker:after{content:"";width:34px;height:1px;background:currentColor;opacity:.35}
.msf-modern-home .msf-partners-head h2{font-size:clamp(30px,3.3vw,46px)!important;line-height:1.18!important;margin:0!important;color:var(--msf-text,#0f172a)!important;font-weight:900!important;letter-spacing:-.02em}
.msf-modern-home .msf-partners-head h2:after{display:none!important}
.msf-modern-home .msf-partners-head p{max-width:690px;margin:13px auto 0;color:var(--msf-muted,#64748b);font-size:15px;line-height:1.9}
.msf-modern-home .msf-partners-slider{position:relative;overflow:hidden;padding:8px 14px 18px;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.msf-modern-home .msf-partners-marquee{position:relative;min-height:142px}
.msf-modern-home .msf-partners-track{display:flex;align-items:center;gap:18px;position:absolute;top:0;width:max-content;min-width:max-content;will-change:transform}
.msf-modern-home .msf-partners-track-a{inset-inline-start:0;animation:msfPartnerMarqueeA var(--msf-partner-speed,22s) linear infinite}
.msf-modern-home .msf-partners-track-b{inset-inline-start:0;animation:msfPartnerMarqueeB var(--msf-partner-speed,22s) linear infinite}
.msf-modern-home .msf-partners-slider:hover .msf-partners-track{animation-play-state:paused}
.msf-modern-home .msf-partner-card{flex:0 0 auto;min-width:250px;width:250px;height:124px;display:flex;align-items:center;justify-content:center;padding:20px 24px;border:1px solid #e5ece8;background:#fff;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.045);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.msf-modern-home .msf-partner-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(15,23,42,.09);border-color:rgba(15,127,103,.24)}
.msf-modern-home .msf-partner-card img{display:block;max-width:100%;max-height:78px;width:auto;height:auto;object-fit:contain;filter:saturate(.96);transition:transform .22s ease,filter .22s ease}
.msf-modern-home .msf-partner-card:hover img{transform:scale(1.025);filter:saturate(1.08)}
@media(max-width:700px){
  .msf-modern-home .msf-partners{padding:48px 0 42px!important}
  .msf-modern-home .msf-partners-head{margin-bottom:24px!important;padding-inline:10px}
  .msf-modern-home .msf-partners-head h2{font-size:30px!important}
  .msf-modern-home .msf-partners-head p{font-size:13px;line-height:1.8}
  .msf-modern-home .msf-partners-slider{padding-inline:0;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
  .msf-modern-home .msf-partners-marquee{min-height:112px}
  .msf-modern-home .msf-partner-card{min-width:190px;width:190px;height:96px;padding:15px 17px;border-radius:15px}
  .msf-modern-home .msf-partner-card img{max-height:60px}
}
@media(prefers-reduced-motion:reduce){.msf-modern-home .msf-partners-track{animation-play-state:paused!important}}

/* v2.12.2 — definitive mobile topbar and hamburger/X rules. */
@media (max-width:960px){
  .msf-head-wrap .msf-pro-topbar{
    display:block !important;
    width:100% !important;
    min-height:30px !important;
    background:#075d45 !important;
    color:#fff !important;
    position:relative !important;
    z-index:100 !important;
    opacity:1 !important;
    visibility:visible !important;
    overflow:hidden !important;
  }
  .msf-head-wrap .msf-pro-topbar-inner{
    width:100% !important;
    max-width:none !important;
    min-height:30px !important;
    height:auto !important;
    margin:0 !important;
    padding:5px 12px !important;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    font-size:10px !important;
    line-height:20px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
  }
  .msf-head-wrap .msf-pro-topbar-account,
  .msf-head-wrap .msf-pro-topbar-contact{
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    min-width:0 !important;
    max-width:50% !important;
  }
  .msf-head-wrap .msf-pro-topbar a,
  .msf-head-wrap .msf-pro-topbar button,
  .msf-head-wrap .msf-pro-topbar span{
    color:#fff !important;
    font:inherit !important;
    font-size:10px !important;
    line-height:20px !important;
    opacity:1 !important;
    visibility:visible !important;
  }
  .msf-head-wrap .msf-pro-topbar-contact a{
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    max-width:150px !important;
  }
  .msf-head-wrap .msf-pro-header{top:0 !important;}

  .msf-head-wrap .msf-pro-header .msf-mobile-toggle{
    appearance:none !important;
    -webkit-appearance:none !important;
    position:relative !important;
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    min-height:46px !important;
    padding:0 !important;
    margin:0 !important;
    border:1px solid #d8e1dd !important;
    border-radius:14px !important;
    background:#fff !important;
    display:block !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    font-size:0 !important;
    line-height:0 !important;
    color:transparent !important;
    text-indent:-9999px !important;
  }
  .msf-head-wrap .msf-pro-header .msf-mobile-toggle:before,
  .msf-head-wrap .msf-pro-header .msf-mobile-toggle:after{content:none !important;display:none !important;}
  .msf-head-wrap .msf-pro-header .msf-mobile-toggle span{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    display:block !important;
    width:22px !important;
    height:2.5px !important;
    min-height:2.5px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:999px !important;
    background:var(--msf-header-text,#0f172a) !important;
    opacity:1 !important;
    transform-origin:50% 50% !important;
    transition:transform .2s ease,opacity .15s ease !important;
  }
  .msf-head-wrap .msf-pro-header .msf-mobile-toggle span:nth-child(1){transform:translate(-50%,-8px) !important;}
  .msf-head-wrap .msf-pro-header .msf-mobile-toggle span:nth-child(2){transform:translate(-50%,-50%) !important;}
  .msf-head-wrap .msf-pro-header .msf-mobile-toggle span:nth-child(3){transform:translate(-50%,5.5px) !important;}
  .msf-head-wrap .msf-pro-header.is-mobile-open .msf-mobile-toggle span:nth-child(1){transform:translate(-50%,-50%) rotate(45deg) !important;}
  .msf-head-wrap .msf-pro-header.is-mobile-open .msf-mobile-toggle span:nth-child(2){opacity:0 !important;transform:translate(-50%,-50%) scaleX(0) !important;}
  .msf-head-wrap .msf-pro-header.is-mobile-open .msf-mobile-toggle span:nth-child(3){transform:translate(-50%,-50%) rotate(-45deg) !important;}
}
@media (max-width:520px){
  .msf-head-wrap .msf-pro-topbar-inner{padding-inline:8px !important;gap:6px !important;}
  .msf-head-wrap .msf-pro-topbar-account{gap:5px !important;}
  .msf-head-wrap .msf-pro-topbar-contact{gap:5px !important;}
  .msf-head-wrap .msf-pro-topbar-contact a{max-width:105px !important;}
  .msf-head-wrap .msf-pro-topbar-account > a:last-child{display:none !important;}
}


/* v2.12.3 — mobile premium header root correction: no phantom gap, readable account/contact, configurable topbar colors. */
@media (max-width:960px){
  html body:has(.msf-head-wrap .msf-pro-header){padding-top:0!important;margin-top:0!important;}
  html body .msf-head-wrap{margin-top:0!important;padding-top:0!important;}
  html body .msf-head-wrap > .msf-pro-topbar{margin-top:0!important;padding-top:0!important;background:var(--msf-topbar-bg,#0b2942)!important;color:var(--msf-topbar-text,#fff)!important;}
  html body .msf-head-wrap > .msf-pro-topbar .msf-pro-topbar-inner{min-height:34px!important;height:auto!important;padding:4px 10px!important;box-sizing:border-box!important;}
  html body .msf-head-wrap .msf-pro-topbar a,html body .msf-head-wrap .msf-pro-topbar button,html body .msf-head-wrap .msf-pro-topbar span{color:var(--msf-topbar-text,#fff)!important;}
  html body .msf-head-wrap .msf-pro-topbar-account > a:first-child{display:inline-flex!important;align-items:center!important;min-height:26px!important;padding:2px 7px!important;border-radius:8px!important;font-size:12.5px!important;font-weight:900!important;line-height:1.2!important;white-space:nowrap!important;}
  html body .msf-head-wrap .msf-pro-topbar-contact a{font-size:11px!important;line-height:1.25!important;direction:ltr!important;unicode-bidi:plaintext!important;white-space:nowrap!important;}
}
@media (max-width:520px){
  html body .msf-head-wrap > .msf-pro-topbar .msf-pro-topbar-inner{padding-inline:8px!important;gap:5px!important;}
  html body .msf-head-wrap .msf-pro-topbar-account{gap:4px!important;}
  html body .msf-head-wrap .msf-pro-topbar-contact{gap:4px!important;}
  html body .msf-head-wrap .msf-pro-topbar-contact a{font-size:10.5px!important;max-width:150px!important;}
}


/* v2.12.8 — definitive mobile hero/stats separation.
   The indicators stay in normal document flow after the banner; no negative offsets or transforms. */
@media (max-width: 960px){
  .msf-modern-home .msf-premium-hero{
    overflow:hidden!important;
    margin-bottom:0!important;
  }
  .msf-modern-home #msf-home-stats.msf-home-stats-canonical{
    display:block!important;
    position:relative!important;
    inset:auto!important;
    top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
    transform:none!important;
    float:none!important;
    clear:both!important;
    width:calc(100% - 24px)!important;
    margin:14px auto 0!important;
    padding:0!important;
    z-index:1!important;
    overflow:visible!important;
  }
  .msf-modern-home #msf-home-stats .msf-premium-stats-inner{
    margin:0!important;
    transform:none!important;
    position:relative!important;
    top:auto!important;bottom:auto!important;
  }
  .msf-modern-home .msf-premium-hero > [data-msf-legacy-stats],
  .msf-modern-home .msf-premium-hero .msf-hero-stats,
  .msf-modern-home .msf-premium-hero .msf-banner-stats,
  .msf-modern-home .msf-premium-hero .msf-statistics,
  .msf-modern-home .msf-premium-hero .msf-stats{
    display:none!important;
  }
}
@media (max-width: 600px){
  .msf-modern-home #msf-home-stats.msf-home-stats-canonical{
    width:calc(100% - 20px)!important;
    margin:12px auto 0!important;
  }
}
