@font-face{font-family:Nafees;src:url('../fonts/mehr.woff') format('woff');font-display:swap}
:root{--theme-color:#286751;--color1:#286751;--color2:#b99a54;--soft-ink:#274a3e;--soft-paper:#fffdf7;--soft-mint:#eaf3ec;--soft-gold:#b99a54}
body{background:#f7faf6!important;color:#274a3e!important}header,.header,.rspn-hdr{background:#fffdf7!important}.topbar{background:#eaf3ec!important;border-color:#d5e4d8!important}.topbar a,.topbar i,.topbar-info-list>li{color:#285c4d!important}.logo-menu-wrap,.sticky-menu,.sticky-menu-inner,.rsnp-mnu{background:#e4efe7!important;border-color:#d5e4d8!important}.normal-menu>div>ul>li>a,.normal-menu>ul>li>a,.sticky-menu nav a{color:#285c4d!important}.normal-menu a:hover,.normal-menu a[aria-current="page"]{background:#d3e5d8!important}.normal-menu .ifta-tab>a,.sticky-menu .ifta-tab>a{color:#fff!important;background:#286751!important}nav ul ul{background:#fffdf7!important;border-color:#d5e4d8!important;box-shadow:0 12px 30px #234a3c15!important}nav ul ul a{color:#285c4d!important}nav ul ul a:hover{background:#eaf3ec!important;color:#1d4c3b!important}.banner-menu{background:#edf4e9!important;color:#285c4d!important;border-color:#d5e4d8!important}a.banner-menu:hover{background:#d8e9dd!important;color:#285c4d!important}
.page-head-div{background:linear-gradient(120deg,#e5f1e9,#faf5e5)!important;color:#285c4d!important;border-bottom:1px solid #d5e4d8}.page-head-div:before,.page-head-div .fixed-bg{background:none!important;display:none!important}.page-head-div h1{color:#285c4d!important;font-family:Nafees,serif!important;font-weight:400!important;font-size:42px!important;line-height:1.9!important}.site-urdu h1,.site-urdu h2,.site-urdu h3,.site-urdu h4,.site-urdu .sec-title-inner h2,.site-urdu .post-detail-inner h2,.site-urdu .donation-section h2,.site-urdu .donation-section h3,.site-urdu .box-menu h3{font-family:Nafees,serif!important;font-weight:400!important;letter-spacing:0!important;line-height:1.9!important}.sec-title-inner h2,.post-detail-inner h2,.thm-clr,.box-menu h3 a,.box-menu i{color:#286751!important}.sec-title-inner h2:after{background:#b99a54!important}.thm-bg,.thm-btn,.blue-bg,.bg-blue{background:#286751!important;color:#fffdf7!important}.thm-btn:hover{background:#1e503e!important}.gray-bg,.gray-bg2,.gray-bg3,.gray-bg4{background:#eaf3ec!important}.box-menu,.course-box,.course-box2,.widget2,.bank-card,.donation-story{background:#fffdf7!important;border-color:#d5e4d8!important;box-shadow:0 5px 20px #244e3c0b!important}.box-menu .icon-div,.course-info,.course-info2,.pat-bg{background:#eaf3ec!important;background-image:none!important}.course-info2 h3 a,.course-info h3 a{color:#285c4d!important}.sufra-state .count{background:#e5f0e8!important;color:#286751!important}.side-menu-div,.side-menu-div h3{background:#eaf3ec!important;color:#286751!important}footer .fixed-bg,footer .dark-bg,footer .dark-layer:before{background:#234d3e!important;background-image:none!important}footer .bottom-bar{background:#1b3d31!important}footer .widget,footer .widget a,footer .widget h4,footer .widget li,footer .widget p,footer .mazahir-wordmark,footer .mazahir-wordmark small,footer .bottom-bar p,footer .bottom-bar a{color:#f5f8f0!important}input,textarea,select{background:#fffef9!important;border-color:#d5e4d8!important}a:focus-visible,button:focus-visible{outline:3px solid #b99a54!important;outline-offset:3px}
.donation-section{background:#f7faf6!important}.donation-section h2,.donation-section h3,.donation-prayer,.bank-card .ifsc,.pan-info b{color:#286751!important}.donation-note,.qr-panel,.receipt-panel,.pan-row{background:#edf4e9!important;border-color:#d5e4d8!important}.pan-info,.pan-photo-slot{background:#fffdf7!important;border-color:#d5e4d8!important}.donation-contact{background:#286751!important;border-color:#286751!important}.donation-section .container{width:100%!important}.bank-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important}.donation-layout{grid-template-columns:minmax(0,1fr) 260px!important}
.site-page-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:26px;max-width:1420px;margin:30px auto;padding:0 24px;direction:rtl;align-items:start}.site-context{position:sticky;top:100px;align-self:start;background:#fffdf7;border:1px solid #d5e4d8;border-radius:20px;padding:20px;box-shadow:0 8px 25px #244e3c08;text-align:right;direction:rtl;min-width:0}.site-context h2{font:25px/1.9 Nafees,serif!important;color:#286751!important;margin:0 0 12px!important}.site-related-links{max-height:65vh;overflow:auto;overscroll-behavior:contain}.site-related-links a{display:block;padding:12px 14px;margin:5px 0;border:1px solid #e0e9dc;background:#f8faf4;border-radius:12px;color:#365c4b;text-decoration:none;font:20px/1.9 Nafees,serif;overflow-wrap:anywhere}.site-related-links a:hover{background:#eaf3ec}.site-related-links a[aria-current="page"]{background:#286751;color:#fffdf7;border-color:#286751}.site-content{min-width:0;direction:initial}.site-content>.ifta-identity{margin:0 0 20px}.site-content .container,.site-content .ifta-shell,.site-content .department-single{max-width:100%!important}.site-content .ifta-shell{padding:0!important}.site-content .sidebar{display:none!important}.site-content .col-md-3:has(>.sidebar){display:none!important}.site-content .col-md-9.matter-div,.site-content .col-md-9:has(>.post-detail-inner){max-width:100%!important;flex:0 0 100%!important}.site-content .department-single{display:block!important;padding:0}.site-content .department-side{display:none!important}.site-content .ifta-search{grid-template-columns:130px 1fr 1fr}.site-content .ifta-panels{padding:18px;gap:18px}.site-next{clear:both;margin:36px 0;padding:26px;border:1px solid #d5e4d8;border-radius:22px;background:linear-gradient(120deg,#e6f1e8,#faf5e5);direction:rtl;text-align:right}.site-next p{font:18px/1.8 Nafees,serif!important;color:#637c6b;margin:0 0 8px!important}.site-next a{display:block;text-decoration:none;color:#286751;font:27px/1.9 Nafees,serif}.site-next a:hover{text-decoration:underline}.site-context.is-english,.site-context.is-english a,.site-context.is-english h2,.site-next.is-english,.site-next.is-english a,.site-next.is-english p{direction:ltr;text-align:left;font-family:system-ui!important;font-size:16px!important;line-height:1.6!important}
@media(max-width:1150px){.site-page-layout{grid-template-columns:220px minmax(0,1fr);gap:18px;padding:0 16px}.site-content .ifta-search{grid-template-columns:1fr 1fr}.site-content .home-search{grid-template-areas:"title title" "word book" "chapter section" "submit submit"}.site-content .donation-layout{grid-template-columns:1fr!important}.site-content .ifta-categories{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.site-page-layout{grid-template-columns:1fr;padding:0 14px;margin:18px auto}.site-context{position:static;padding:16px}.site-related-links{display:flex;gap:8px;overflow-x:auto;max-height:none}.site-related-links a{flex:0 0 auto;max-width:230px;margin:0}.site-context h2{font-size:22px!important}.site-content .col-md-3{flex:0 0 50%;max-width:50%}.page-head-div h1{font-size:34px!important}.site-content table{display:block;max-width:100%;overflow-x:auto}.site-content .ifta-table{display:table}.site-next{padding:20px}}
@media(max-width:600px){.site-content .ifta-search,.site-content .ifta-panels,.site-content .ifta-categories{grid-template-columns:1fr}.site-content .home-search{grid-template-areas:"title" "word" "book" "chapter" "section" "submit"}.site-content .col-md-3{flex:0 0 100%;max-width:100%}.site-content .ifta-table-scroll{overflow-x:auto}.site-next a{font-size:23px}}
@media print{.site-context,.site-next{display:none!important}.site-page-layout{display:block!important;margin:0!important;padding:0!important}.site-content{width:100%!important}.site-content .sidebar{display:none!important}}

@media(max-width:1000px){.site-content .donation-layout{grid-template-columns:1fr!important}.site-content .pan-row,.site-content .donation-side{grid-template-columns:1fr!important}}

/* Unified Urdu typography and compact institution banner */
.site-urdu{font-family:Nafees,serif!important;line-height:2!important}.site-urdu p,.site-urdu li,.site-urdu a,.site-urdu td,.site-urdu th,.site-urdu label,.site-urdu button,.site-urdu select,.site-urdu textarea,.site-urdu input,.site-urdu .noori,.site-urdu .urdu,.site-urdu .ifta-shell,.site-urdu .donation-section p,.site-urdu .donation-section h2,.site-urdu .donation-section h3,.site-urdu .donation-kicker,.site-urdu .donation-contact{font-family:Nafees,serif!important;line-height:2!important;letter-spacing:0!important}.site-urdu p{word-spacing:.06em}.site-urdu .post-detail-inner p,.site-urdu .department-article p{font-size:22px!important;line-height:2.1!important;margin-bottom:20px!important}.site-urdu .topbar a[href^="mailto:"],.site-urdu .topbar a[href^="tel:"],.site-urdu [lang="en"],.site-urdu [dir="ltr"],.site-urdu .bank-card dd,.site-urdu .bank-card dt,.site-urdu .pan-info,.site-urdu .ifta-translate{font-family:system-ui,sans-serif!important}.site-urdu .normal-menu>div>ul>li>a{padding:10px 15px!important;line-height:2!important}.site-urdu .normal-menu ul ul a{padding-top:11px!important;padding-bottom:11px!important;line-height:2!important}.banner .col-md-4{display:none!important}.banner .col-md-8{flex:0 0 100%!important;max-width:100%!important;display:flex;justify-content:center}.banner .mazahir-wordmark{display:grid!important;grid-template-columns:96px minmax(0,1fr);column-gap:22px;align-items:center;text-align:right;direction:rtl;max-width:100%;padding:20px 0!important}.banner .header-emblem{grid-column:1;grid-row:1/3;width:96px;height:96px;object-fit:contain;border-radius:50%}.banner .mazahir-wordmark>span{grid-column:2;grid-row:1;font-family:Nafees,serif!important;line-height:2!important}.banner .mazahir-wordmark>small{grid-column:2;grid-row:2;text-align:right;font:14px/1.7 system-ui!important}.ifta-page .page-title-inner h1{font-family:Nafees,serif!important;font-size:42px!important;line-height:1.9!important;font-weight:400!important}.ifta-page .ifta-identity h2{font-family:Nafees,serif!important}.ifta-identity img{border-radius:50%;background:white}.site-context a{padding-top:13px!important;padding-bottom:13px!important}.site-urdu .box-menu{min-height:120px!important}.site-urdu .box-menu h3 a{line-height:2!important}.ifta-shell .ifta-bar{padding-top:18px!important;padding-bottom:18px!important}.ifta-shell .ifta-services a{padding-top:12px!important;padding-bottom:12px!important}.ifta-shell .ifta-search{row-gap:22px!important}.ifta-shell p{line-height:2.1!important}.rspn-hdr .banner-menu{display:none!important}
@media(max-width:600px){.banner .mazahir-wordmark{grid-template-columns:66px minmax(0,1fr);column-gap:12px;padding:14px 0!important}.banner .header-emblem{width:66px;height:66px}.banner .mazahir-wordmark>span{font-size:22px!important}.banner .mazahir-wordmark>small{font-size:10px!important}.site-urdu .post-detail-inner p{font-size:21px!important}.site-urdu .normal-menu>div>ul>li>a{padding:9px 12px!important}}

/* Reading layout: Urdu starts at the right, with suggestions at the end of the article. */
.site-urdu .site-content{direction:rtl!important;text-align:right!important}.site-urdu .site-content .post-detail-inner,.site-urdu .site-content .matter-div,.site-urdu .site-content .department-article,.site-urdu .site-content .ifta-shell{direction:rtl!important;text-align:right!important}.site-urdu .site-content .post-detail-inner p,.site-urdu .site-content .post-detail-inner li,.site-urdu .site-content .post-detail-inner h2,.site-urdu .site-content .post-detail-inner h3,.site-urdu .site-content .post-detail-inner td,.site-urdu .site-content .post-detail-inner th{direction:rtl!important;text-align:right!important;font-family:Nafees,serif!important}.site-urdu .post-detail-inner span:not(.english):not([lang="en"]),.site-urdu .post-detail-inner div:not([lang="en"]),.site-urdu .post-detail-inner a:not([lang="en"]){font-family:Nafees,serif!important;line-height:2.1!important}.site-urdu .post-detail-inner span.english,.site-urdu .post-detail-inner [lang="en"]{font-family:system-ui,sans-serif!important;direction:ltr}.site-urdu .page-title-wrap,.site-urdu .page-title-inner,.site-urdu .site-content .sec-title{text-align:right!important}.site-urdu .page-title-inner{display:block!important}.site-content .site-next{margin:24px 0 12px!important}.site-content .site-next a{line-height:2!important}.site-urdu table.sufra-list{background:#fffdf7!important;border:1px solid #d5e4d8!important}.site-urdu table.sufra-list thead,.site-urdu table.sufra-list thead tr,.site-urdu table.sufra-list th{background:#286751!important;color:#fffdf7!important;border-color:#4a806c!important}.site-urdu table.sufra-list tbody tr:nth-child(odd),.site-urdu table.sufra-list tr:nth-child(odd) td{background:#fffdf7!important}.site-urdu table.sufra-list tbody tr:nth-child(even),.site-urdu table.sufra-list tr:nth-child(even) td{background:#edf4ec!important}.site-urdu table.sufra-list td{color:#274a3e!important;border-color:#d5e4d8!important;padding:15px 18px!important;vertical-align:middle!important;font-family:Nafees,serif!important;line-height:2!important}.site-urdu table.sufra-list td a,.site-urdu table.sufra-list i,.site-urdu table.sufra-list span.english a{color:#286751!important}.site-urdu table.sufra-list tr:hover td{background:#e2efe5!important}.site-content .table-bordered td,.site-content .table-bordered th{border-color:#d5e4d8!important}.site-home-content{direction:rtl}.site-home-content .site-context,.site-home-content .site-next{display:none!important}

.site-home-content{direction:initial}.site-urdu .site-home-content{direction:rtl}
/* Restore spacious original home layout and prevent nested scroll traps. */
html{overflow-y:auto!important;scroll-behavior:auto!important}body{overflow-y:visible!important}.site-context{display:none!important}.site-page-layout{display:block!important;max-width:1220px!important;padding:0 20px}.site-related-links{overflow:visible!important;max-height:none!important}.site-home-content{direction:initial!important}.site-home .container{max-width:1170px!important}.site-home .row{direction:ltr!important}.site-home .box-menu,.site-home .sec-title,.site-home p{direction:rtl}.site-home .col-md-3{min-width:0}.home-services{max-width:1170px;margin:30px auto 50px;padding:0 16px;display:grid!important;grid-template-columns:repeat(3,1fr);gap:22px;direction:rtl}.home-services>a{display:block;padding:28px;border:1px solid #d6e4da;border-radius:20px;background:#fffdf7;color:#285c4d;text-align:right;text-decoration:none;box-shadow:0 8px 25px #234d3e08}.home-services>a:hover{background:#eaf3ed}.home-services h2{font-size:29px!important;margin:12px 0!important}.home-services span{color:#7a8066;font-size:18px}.home-services p{font-size:20px;line-height:2!important}.home-services .donation-highlight{background:#286751;color:#fffdf7;border-color:#b99a54}.home-services .donation-highlight h2,.home-services .donation-highlight span,.home-services .donation-highlight p{color:#fffdf7!important}.home-services .donation-highlight:hover{background:#205640}.banner .mazahir-wordmark>small,.mazahir-wordmark small,.ifta-identity p[lang="en"]{font-family:Georgia,'Times New Roman',serif!important;font-size:18px!important;font-weight:600!important;letter-spacing:.6px!important;line-height:1.7!important;color:#416153}.site-back-top{position:fixed;left:20px;bottom:22px;width:48px;height:48px;border:1px solid #d4bd80;border-radius:50%;background:#286751;color:#fff;z-index:998;font:26px system-ui;cursor:pointer;box-shadow:0 5px 18px #234d3e30}.portal-content{max-width:1100px;margin:30px auto;padding:0 20px;direction:rtl;text-align:right;font:23px/2 Nafees,serif}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project-card{display:block;padding:26px;background:#fffdf7;border:1px solid #d5e4d8;border-radius:18px;color:#285c4d;text-decoration:none}.project-card h2{font-size:27px!important}.project-card img{max-width:100%;border-radius:12px}.project-article{padding:30px;background:#fffdf7;border:1px solid #d5e4d8;border-radius:20px}.project-article p{white-space:pre-wrap;line-height:2.1!important}.project-budget{padding:18px;background:#f5efd9;border-radius:12px;color:#285c4d}.project-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.project-gallery img,.project-article video{width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:12px;margin:16px 0}.project-document,.project-support{display:block;margin:18px 0;padding:14px 22px;border:1px solid #d5e4d8;border-radius:12px;color:#285c4d}.project-support{background:#286751;color:#fff}.application-types{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.application-types a{padding:12px 18px;border:1px solid #d5e4d8;border-radius:12px;color:#285c4d;background:#fffdf7}.application-types a.active{background:#286751;color:#fff}.application-form{max-width:760px;padding:30px;border:1px solid #d5e4d8;background:#fffdf7;border-radius:20px}.application-form label{display:block;margin:18px 0}.application-form input:not([type=checkbox]),.application-form textarea{width:100%;border:1px solid #d5e4d8;border-radius:12px;padding:12px;font:20px/2 Nafees,serif}.application-form input[type=checkbox]{margin-left:10px}.application-form textarea{min-height:150px}.application-form button{background:#286751;color:#fff;padding:12px 28px;border:0;border-radius:12px;font:22px Nafees,serif}
@media(max-width:800px){.home-services,.project-grid{grid-template-columns:1fr}.banner .mazahir-wordmark>small,.mazahir-wordmark small,.ifta-identity p[lang=en]{font-size:13px!important}.project-gallery{grid-template-columns:1fr}.site-page-layout{padding:0 14px!important}}
@media print{.site-back-top{display:none!important}.ifta-answer .ifta-print-identity{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:12px!important}.ifta-answer .ifta-print-identity div,.ifta-answer .ifta-print-identity h2,.ifta-answer .ifta-print-identity p{width:100%;text-align:center!important;direction:rtl}.ifta-answer .ifta-print-identity p[lang=en]{direction:ltr!important;font:15px/1.7 Georgia,serif!important}.ifta-answer .ifta-print-identity img{margin:0 auto!important;width:78px!important;height:78px!important}.ifta-answer .ifta-print-identity .ifta-eyebrow{display:block;text-align:center!important}}

.project-menu>ul{max-height:65vh;overflow-y:auto;overscroll-behavior:auto}.project-menu>ul>li>a{white-space:normal!important}.site-back-top:hover{background:#1c4d3b}.site-urdu .portal-content h2{font-family:Nafees,serif!important}
/* Compact service cards and matching bilingual name width. */
.home-services{max-width:1050px!important;margin:18px auto 28px!important;gap:14px!important;padding:0 16px!important}.home-services>a{padding:16px 20px!important;border-radius:15px!important;box-shadow:0 4px 15px #234d3e08!important}.home-services h2{font-size:25px!important;line-height:1.8!important;margin:4px 0!important}.home-services span{font-size:15px!important;line-height:1.6!important}.home-services p{font-size:17px!important;line-height:1.8!important;margin:3px 0 0!important}.banner .mazahir-wordmark{grid-template-columns:82px minmax(0,650px)!important;column-gap:18px!important;width:min(100%,750px)!important}.banner .header-emblem{width:82px!important;height:82px!important}.banner .mazahir-wordmark>span,.banner .mazahir-wordmark>small{width:100%!important;display:block!important;text-align:center!important;box-sizing:border-box}.banner .mazahir-wordmark>span{font-size:29px!important;line-height:1.9!important;white-space:nowrap}.banner .mazahir-wordmark>small{font-size:18px!important;line-height:1.7!important;letter-spacing:.2px!important;white-space:nowrap}.ifta-identity>div{width:min(100%,650px)}.ifta-identity h2,.ifta-identity p[lang="en"]{width:100%!important;text-align:center!important}.ifta-identity h2{font-size:28px!important}.ifta-identity p[lang="en"]{font-size:18px!important;letter-spacing:.2px!important}.project-card{padding:18px!important}.project-card h2{font-size:24px!important}.project-card p{font-size:19px!important}
@media(max-width:800px){.home-services{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.home-services>a{padding:12px!important}.home-services h2{font-size:22px!important}.home-services p{font-size:16px!important}.banner .mazahir-wordmark>span{font-size:24px!important}.banner .mazahir-wordmark>small{font-size:15px!important}.banner .mazahir-wordmark{grid-template-columns:66px minmax(0,1fr)!important;column-gap:12px!important}.banner .header-emblem{width:66px!important;height:66px!important}}
@media(max-width:600px){.home-services{grid-template-columns:1fr!important;margin:14px auto 22px!important}.home-services>a{display:grid!important;grid-template-columns:1fr 1.4fr;column-gap:16px!important;align-items:center;padding:12px 16px!important}.home-services span{grid-column:1;grid-row:1;font-size:14px!important}.home-services h2{grid-column:1;grid-row:2;font-size:23px!important}.home-services p{grid-column:2;grid-row:1/3;font-size:16px!important;margin:0!important}.banner .mazahir-wordmark{grid-template-columns:56px minmax(0,1fr)!important;column-gap:10px!important}.banner .header-emblem{width:56px!important;height:56px!important}.banner .mazahir-wordmark>span{font-size:clamp(17px,4.2vw,24px)!important;white-space:normal}.banner .mazahir-wordmark>small{font-size:clamp(9px,2.5vw,13px)!important;white-space:normal;letter-spacing:0!important}.ifta-identity h2{font-size:21px!important}.ifta-identity p[lang="en"]{font-size:12px!important}}

.home-services>a{display:flex!important;align-items:center;justify-content:center;min-height:72px;padding:10px 18px!important;text-align:center!important}.home-services h2{margin:0!important;text-align:center!important;font-size:26px!important;line-height:1.9!important}.home-services{grid-template-columns:repeat(3,minmax(0,1fr))!important}@media(max-width:600px){.home-services{gap:8px!important}.home-services>a{min-height:64px;padding:8px!important}.home-services h2{font-size:21px!important}}

.branch-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;direction:rtl}.branch-home-card{display:block;background:#fffdf7;border:1px solid #d5e4d8;border-radius:16px;overflow:hidden;color:#285c4d;text-align:center;text-decoration:none}.branch-home-card img{width:100%;height:190px;object-fit:cover}.branch-home-card h3{font:25px/2 Nafees,serif!important;padding:16px;margin:0;color:#285c4d!important}.branch-home-card:hover{background:#eaf3ec}.footer-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:34px 20px 16px;background:#234d3e;text-align:center;color:#fffdf7}.footer-brand img{width:90px;height:90px;object-fit:contain;border-radius:50%;background:white}.footer-brand-name{font:30px/2 Nafees,serif!important;text-align:center!important}.footer-brand [lang="en"]{font:600 18px/1.8 Georgia,serif!important;letter-spacing:.3px}footer .dev-p{font:15px/1.8 Georgia,serif!important;text-align:center!important}footer .bottom-bar .row>div:last-child{flex:0 0 100%;max-width:100%}.branch-menu>ul{max-height:65vh;overflow:auto;overscroll-behavior:auto}.branch-menu>ul a{white-space:normal!important}@media(max-width:900px){.branch-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.branch-home-grid{grid-template-columns:1fr}.footer-brand-name{font-size:23px!important}.footer-brand [lang="en"]{font-size:14px!important}}@media print{.footer-brand{display:none!important}}

/* Keep the emblem and institution name inside their container. */
.banner .mazahir-wordmark,.mazahir-wordmark,.ifta-identity,.footer-brand{box-sizing:border-box!important;max-width:100%!important;min-width:0!important}.banner .mazahir-wordmark{width:100%!important;max-width:750px!important;grid-template-columns:82px minmax(0,1fr)!important}.banner .mazahir-wordmark>span,.banner .mazahir-wordmark>small,.mazahir-wordmark>span,.mazahir-wordmark>small,.ifta-identity h2,.ifta-identity p,.footer-brand-name{min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}.banner .mazahir-wordmark>span{font-size:clamp(21px,2.4vw,29px)!important}.banner .mazahir-wordmark>small{font-size:clamp(12px,1.5vw,18px)!important}.ifta-identity>div{min-width:0!important;max-width:100%!important;flex:1 1 auto}.ifta-identity img,.footer-brand img{flex-shrink:0;max-width:100%!important}.footer-brand{width:100%!important;padding-left:20px!important;padding-right:20px!important}.footer-brand-name{width:100%;font-size:clamp(22px,2.5vw,30px)!important}.sticky-menu .logo,.rspn-hdr .logo{min-width:0!important;max-width:100%!important}.sticky-menu .mazahir-wordmark,.rspn-hdr .mazahir-wordmark{max-width:100%!important}.sticky-menu .mazahir-wordmark>span,.rspn-hdr .mazahir-wordmark>span{font-size:clamp(18px,2vw,25px)!important}@media(max-width:600px){.banner .mazahir-wordmark{grid-template-columns:56px minmax(0,1fr)!important;gap:10px!important}.banner .mazahir-wordmark>span{font-size:clamp(17px,4.2vw,24px)!important}.banner .mazahir-wordmark>small{font-size:clamp(10px,2.5vw,13px)!important}.ifta-identity{margin-left:0!important;margin-right:0!important;padding:16px!important;gap:12px!important}.ifta-identity img{width:56px!important;height:56px!important}.ifta-identity h2{font-size:20px!important}}

/* Footer: logo beside the navigation, without institution name. */
footer .footer-data{display:flex!important;align-items:flex-start;gap:30px;direction:rtl}footer .footer-side-logo{flex:0 0 100px;padding-top:6px}footer .footer-side-logo img{display:block;width:90px;height:90px;max-width:100%;object-fit:contain;border-radius:50%;background:white}footer .footer-data>.row{flex:1;min-width:0;width:auto!important}footer .footer-brand,footer .footer-brand-name,footer .mazahir-wordmark{display:none!important}@media(max-width:600px){footer .footer-data{gap:16px}footer .footer-side-logo{flex-basis:60px}footer .footer-side-logo img{width:60px;height:60px}footer .footer-data>.row{margin-left:0;margin-right:0}}@media print{footer .footer-side-logo{display:none!important}}

/* Urdu identity beside footer links, centred vertically. */
footer .footer-data{align-items:center!important}footer .footer-side-logo{flex:0 0 210px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;align-self:center!important;padding:0!important;text-align:center}footer .footer-side-logo img{margin:0 auto!important;width:90px;height:90px}footer .footer-side-name{display:block!important;margin-top:14px;width:100%;max-width:210px;white-space:normal;overflow-wrap:break-word;text-align:center!important;color:#fffdf7;font:25px/2 Nafees,serif!important}@media(max-width:800px){footer .footer-side-logo{flex-basis:150px!important}footer .footer-side-name{font-size:22px!important}}@media(max-width:600px){footer .footer-data{flex-direction:column!important;align-items:center!important}footer .footer-side-logo{flex:0 0 auto!important;width:100%;max-width:280px}footer .footer-side-logo img{width:80px;height:80px}footer .footer-side-name{max-width:280px;font-size:23px!important}footer .footer-data>.row{width:100%!important}}

/* Front-page Ahl-e-Kamal feature. */
.ahle-kamal-feature{background:linear-gradient(120deg,#edf5ee,#fffaf0)!important;border-top:1px solid #d8e5dc;border-bottom:1px solid #d8e5dc}.ahle-kamal-feature>.w-100{background:transparent!important}.ahle-kamal-feature .about-info{background:#fffdf7!important;border:1px solid #d5e4d8;border-radius:20px;padding:28px!important;box-shadow:0 8px 28px #234d3e08}.ahle-kamal-feature .about-info h2{font:400 34px/2 Nafees,serif!important;color:#286751!important;text-align:right!important;margin-bottom:18px!important}.ahle-kamal-feature .about-info p,.ahle-kamal-feature .about-info p span{font:400 23px/2.1 Nafees,serif!important;color:#355849!important;text-align:right!important;direction:rtl!important}.ahle-kamal-feature .about-video{border:1px solid #d5e4d8;border-radius:20px;overflow:hidden;box-shadow:0 8px 28px #234d3e10}.ahle-kamal-feature .about-video>a{background:#286751!important;color:#fff!important;border-color:#b99a54!important}.ahle-kamal-feature .about-info h2:after{background:#b99a54!important}@media(max-width:600px){.ahle-kamal-feature .about-info{padding:20px!important}.ahle-kamal-feature .about-info h2{font-size:28px!important}.ahle-kamal-feature .about-info p{font-size:21px!important}}

@media print{body.ifta-page[data-ifta-view="answer"] .ifta-answer .ifta-print-identity{display:block!important;width:100%!important;max-width:none!important;text-align:center!important;direction:rtl!important;margin:0 0 24px!important;padding:0 0 20px!important;position:static!important}body.ifta-page[data-ifta-view="answer"] .ifta-answer .ifta-print-identity img{display:block!important;width:80px!important;height:80px!important;margin:0 auto 12px!important;float:none!important;position:static!important}body.ifta-page[data-ifta-view="answer"] .ifta-answer .ifta-print-identity>div{display:block!important;flex:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;text-align:center!important}body.ifta-page[data-ifta-view="answer"] .ifta-answer .ifta-print-identity h2,body.ifta-page[data-ifta-view="answer"] .ifta-answer .ifta-print-identity p,body.ifta-page[data-ifta-view="answer"] .ifta-answer .ifta-print-identity .ifta-eyebrow{display:block!important;width:100%!important;max-width:none!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important;float:none!important}body.ifta-page[data-ifta-view="answer"] .ifta-answer .ifta-print-identity p[lang="en"]{direction:ltr!important}}

.ifta-attachment{display:block;padding:14px 20px;border:1px solid #d4e3da;border-radius:12px;background:#eaf3ed;color:#285c45;margin:18px 0;direction:rtl;text-align:right}

.ifta-arabic-block{font-family:"Traditional Arabic","Geeza Pro","Times New Roman",serif!important;font-size:25px!important;line-height:2!important;direction:rtl!important;text-align:center!important;white-space:pre-wrap;display:block;margin:20px auto!important;padding:14px 22px;border-right:3px solid #b7cbb5;background:#f3f7ed;border-radius:8px;max-width:100%}.ifta-prose-block{white-space:pre-wrap;text-align:right;direction:rtl}@media print{body.ifta-page .ifta-answer p.ifta-arabic-block{text-align:center!important;background:transparent!important;padding:8px 20px!important;font-family:"Traditional Arabic","Geeza Pro","Times New Roman",serif!important;break-inside:avoid}}


.topbar-info-list{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px}.topbar-info-list .header-date-item{margin:0!important;padding:0!important}.topbar-info-list .header-date-item:before{display:none!important}.header-date-item time{color:#285c4d!important;font:17px/1.8 "Traditional Arabic","Geeza Pro",serif!important;white-space:nowrap}.header-date-item time[lang=en]{font:12px/1.8 Georgia,serif!important}.rspn-mdbr .topbar-info-list{max-width:100%}.rspn-mdbr .header-date-item{flex:0 0 auto}@media screen{body.ifta-page .ifta-identity{position:relative;isolation:isolate;display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;min-height:205px;overflow:hidden}body.ifta-page .ifta-identity>img{display:none!important}body.ifta-page .ifta-identity:before{content:"";position:absolute;inset:0;background:url('../../img/mazahir-logo.jpg') center/225px 225px no-repeat;opacity:.07;z-index:-1;pointer-events:none}body.ifta-page .ifta-identity>div{width:100%;text-align:center!important}body.ifta-page .ifta-identity .ifta-eyebrow{display:block!important;text-align:center!important;font:36px/1.8 Nafees,serif!important;color:#285c4d!important}body.ifta-page .ifta-identity h2,body.ifta-page .ifta-identity p{text-align:center!important}body.ifta-page .page-title-wrap,body.ifta-page .page-title-inner,body.ifta-page .page-title-inner h1{width:100%;text-align:center!important;margin-left:auto!important;margin-right:auto!important}}@media(max-width:600px){body.ifta-page .ifta-identity{min-height:190px}body.ifta-page .ifta-identity .ifta-eyebrow{font-size:30px!important}.header-date-item time{font-size:16px!important}}

@media screen{body.ifta-page .ifta-identity{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:26px!important;min-height:170px!important;padding:24px 28px!important;isolation:auto!important}body.ifta-page .ifta-identity:before{display:none!important;background:none!important}body.ifta-page .ifta-identity>img{display:block!important;flex:0 0 112px!important;width:112px!important;height:112px!important;object-fit:contain!important;margin:0!important;opacity:1!important}body.ifta-page .ifta-identity>div{width:auto!important;flex:0 1 auto!important;min-width:0;text-align:center!important}body.ifta-page .ifta-identity .ifta-eyebrow{font:44px/1.8 Nafees,serif!important;color:#92632f!important;margin-bottom:4px!important}body.ifta-page .ifta-identity h2{color:#285c4d!important}body.ifta-page .ifta-identity p[lang=en]{font-family:Georgia,"Times New Roman",serif!important;font-size:14px!important;letter-spacing:0!important;line-height:1.7!important;max-width:470px!important;margin-left:auto!important;margin-right:auto!important}body.ifta-page .page-title-inner h1{color:#92632f!important}body.ifta-page .mazahir-wordmark small[lang=en]{font-family:Georgia,"Times New Roman",serif!important;font-size:15px!important;letter-spacing:0!important;line-height:1.7!important;max-width:500px!important;margin-left:auto!important;margin-right:auto!important}}@media(max-width:600px){body.ifta-page .ifta-identity{gap:14px!important;padding:18px 14px!important;min-height:150px!important}body.ifta-page .ifta-identity>img{flex-basis:70px!important;width:70px!important;height:70px!important}body.ifta-page .ifta-identity .ifta-eyebrow{font-size:34px!important}body.ifta-page .ifta-identity p[lang=en]{font-size:11px!important}body.ifta-page .mazahir-wordmark small[lang=en]{font-size:11px!important}}

@media screen{body.ifta-page .ifta-identity>img{flex-basis:150px!important;width:150px!important;height:150px!important;opacity:.20!important;background:transparent!important;border:0!important;box-shadow:none!important}body.ifta-page .ifta-identity{gap:28px!important;min-height:195px!important}}@media(max-width:600px){body.ifta-page .ifta-identity>img{flex-basis:95px!important;width:95px!important;height:95px!important}body.ifta-page .ifta-identity{gap:14px!important;min-height:165px!important}}

footer .footer-side-logo,footer .footer-side-logo>a,footer .footer-side-logo img{background:transparent!important;box-shadow:none!important;border:0!important}footer .footer-side-logo img{clip-path:circle(43% at 50% 50%);border-radius:0!important}footer .footer-data{gap:16px!important}footer .footer-side-logo{flex-basis:165px!important}footer .footer-side-name{max-width:165px!important}footer .footer-data>.row{margin-right:0!important;margin-left:0!important}@media(max-width:800px){footer .footer-side-logo{flex-basis:140px!important}footer .footer-data{gap:12px!important}}@media(max-width:600px){footer .footer-side-logo{flex-basis:auto!important}footer .footer-side-name{max-width:280px!important}}

footer .footer-side-logo img{width:140px!important;height:140px!important;max-width:100%!important}@media(max-width:600px){footer .footer-side-logo img{width:115px!important;height:115px!important}}

@media(min-width:601px){footer .footer-side-logo{order:2!important}footer .footer-data>.row{order:1!important;direction:rtl!important}}

@media(min-width:601px){footer .footer-side-logo{order:0!important}footer .footer-data>.row{order:1!important}}

@media(min-width:601px){footer .footer-side-logo{position:relative;left:-14px}}

footer .footer-side-logo img{opacity:.22!important}

@media screen{body.ifta-page .ifta-identity{display:grid!important;grid-template-columns:150px minmax(0,1fr) 150px!important;justify-content:initial!important;gap:20px!important;direction:rtl}body.ifta-page .ifta-identity>img{grid-column:1;grid-row:1;justify-self:center}body.ifta-page .ifta-identity>div{grid-column:2;grid-row:1;width:100%!important;text-align:center!important}body.ifta-page .ifta-identity .ifta-eyebrow{text-align:center!important;width:100%!important}}@media(max-width:600px){body.ifta-page .ifta-identity{grid-template-columns:60px minmax(0,1fr) 60px!important;gap:6px!important}body.ifta-page .ifta-identity>img{width:60px!important;height:60px!important;max-width:60px!important}body.ifta-page .ifta-identity .ifta-eyebrow{font-size:30px!important}}

footer .footer-data>.row>.col-md-3{display:none!important}footer .footer-data>.row>.col-md-9{flex:0 0 100%!important;max-width:100%!important;padding-right:0!important}footer .footer-data{gap:10px!important}

body.site-english,body.site-hindi{direction:ltr!important;text-align:left!important;color:#274a3e!important;background:#f7faf6!important;font-family:Arial,sans-serif!important}body.site-hindi{font-family:"Nirmala UI","Kohinoor Devanagari",Arial,sans-serif!important}body.site-english h1,body.site-english h2,body.site-english h3,body.site-english h4{font-family:Georgia,"Times New Roman",serif!important;line-height:1.45!important;letter-spacing:0!important;color:#286751!important}body.site-hindi h1,body.site-hindi h2,body.site-hindi h3,body.site-hindi h4{font-family:"Nirmala UI","Kohinoor Devanagari",Arial,sans-serif!important;line-height:1.65!important;letter-spacing:0!important;color:#286751!important}body.site-english p,body.site-english li,body.site-english a,body.site-english label,body.site-hindi p,body.site-hindi li,body.site-hindi a,body.site-hindi label{font-family:inherit!important;letter-spacing:0!important}body.site-english .page-head-div h1,body.site-hindi .page-head-div h1{font-size:36px!important}body.site-english .normal-menu a,body.site-english .sticky-menu nav a{font-size:14px!important;line-height:1.5!important}body.site-hindi .normal-menu a,body.site-hindi .sticky-menu nav a{font-size:16px!important;line-height:1.6!important}body.site-english nav ul ul a,body.site-hindi nav ul ul a{white-space:normal!important}body.site-english .footer-data,body.site-hindi .footer-data{direction:ltr!important}body.site-english .footer-data>.row,body.site-hindi .footer-data>.row{direction:ltr!important}body.site-english .footer-side-name{font:17px/1.8 Georgia,serif!important;direction:ltr;text-align:center!important}body.site-hindi .footer-side-name{font:18px/1.8 "Nirmala UI","Kohinoor Devanagari",Arial,sans-serif!important;direction:ltr;text-align:center!important}body.site-english .portal-content,body.site-hindi .portal-content,body.site-english .ifta-shell,body.site-hindi .ifta-shell{direction:ltr!important;text-align:left!important;font-size:18px!important;font-family:inherit!important}body.site-english .home-services h2,body.site-hindi .home-services h2{font-size:23px!important;line-height:1.6!important}body.site-english .mazahir-wordmark>span,body.site-hindi .mazahir-wordmark>span{font-size:27px!important;line-height:1.55!important;font-family:inherit!important;direction:ltr!important}body.site-english .mazahir-wordmark>small{display:none!important}body.site-hindi .mazahir-wordmark>small{font:13px/1.6 Georgia,serif!important}.site-english .branch-home-card h3,.site-hindi .branch-home-card h3{font:21px/1.7 inherit!important}.site-english .application-form input,.site-english .application-form textarea,.site-hindi .application-form input,.site-hindi .application-form textarea{font:16px/1.8 Arial,sans-serif!important}body.site-english .ahle-kamal-feature h2,body.site-hindi .ahle-kamal-feature h2{font-family:inherit!important;font-size:30px!important}.site-english .ifta-answer .ifta-prose-block[lang=ur],.site-hindi .ifta-answer .ifta-prose-block[lang=ur]{direction:rtl!important;text-align:right!important;font-family:Nafees,serif!important;font-size:23px!important}body.site-english .thm-btn,body.site-hindi .thm-btn{background:#286751!important;color:#fffdf7!important}@media(max-width:600px){body.site-english .mazahir-wordmark>span,body.site-hindi .mazahir-wordmark>span{font-size:19px!important}body.site-english .page-head-div h1,body.site-hindi .page-head-div h1{font-size:27px!important}body.site-english .home-services h2,body.site-hindi .home-services h2{font-size:18px!important}}

body.site-english p[lang=ur],body.site-hindi p[lang=ur]{direction:rtl!important;text-align:right!important;font-family:Nafees,serif!important;font-size:23px!important;line-height:2.1!important}.site-english .branch-home-card h3{font-family:Georgia,serif!important;line-height:1.5!important;font-size:21px!important}.site-hindi .branch-home-card h3{font-family:"Nirmala UI","Kohinoor Devanagari",Arial,sans-serif!important;line-height:1.7!important;font-size:21px!important}body.site-english .home-services .donation-highlight h2,body.site-hindi .home-services .donation-highlight h2{color:#fffdf7!important}

body.site-english .ifta-eyebrow{font-family:Georgia,serif!important;font-size:36px!important}body.site-hindi .ifta-eyebrow{font-family:"Nirmala UI","Kohinoor Devanagari",Arial,sans-serif!important;font-size:34px!important}body.site-english .ifta-shell input,body.site-english .ifta-shell select,body.site-english .ifta-shell button,body.site-hindi .ifta-shell input,body.site-hindi .ifta-shell select,body.site-hindi .ifta-shell button{font-family:inherit!important;font-size:16px!important;line-height:1.8!important}body.site-english .ifta-identity p[lang=en]{display:none!important}body.site-english .project-card h2,body.site-hindi .project-card h2{font-size:23px!important}

.khidmat-menu>ul{max-height:65vh;overflow:auto}.khidmat-menu>ul a{white-space:normal!important}#service-1,#service-2,#service-3,#service-4,#service-5,#service-6,#service-7,#service-8{scroll-margin-top:130px}

body.site-english footer h4,body.site-hindi footer h4{color:#fffdf7!important}body.site-english .post-detail-inner,body.site-hindi .post-detail-inner{direction:ltr!important;text-align:left!important}body.site-english .post-detail-inner h2,body.site-hindi .post-detail-inner h2{font-size:28px!important}body.site-english .home-services .donation-highlight,body.site-hindi .home-services .donation-highlight{color:#fffdf7!important}

body.site-english .donation-section,body.site-hindi .donation-section{direction:ltr!important;text-align:left!important;font-family:inherit!important}body.site-english .donation-section h2,body.site-english .donation-section h3{font-family:Georgia,serif!important;line-height:1.5!important}body.site-hindi .donation-section h2,body.site-hindi .donation-section h3{font-family:"Nirmala UI","Kohinoor Devanagari",Arial,sans-serif!important;line-height:1.65!important}body.site-english .donation-story p,body.site-hindi .donation-story p,body.site-english .donation-intro p,body.site-hindi .donation-intro p,body.site-english .donation-side p,body.site-hindi .donation-side p{font:17px/1.9 Arial,sans-serif!important;text-align:left!important;direction:ltr!important}body.site-english .donation-note,body.site-hindi .donation-note{border-right:0!important;border-left:4px solid #b99a54!important}.donation-section .bank-card dl,.donation-section .bank-card dd,.donation-section .pan-info{direction:ltr!important}.bank-card dt{font-size:14px!important;line-height:1.8!important}.bank-card dd{overflow-wrap:anywhere}.donation-intro h2{color:#286751!important}.donation-intro{background:linear-gradient(120deg,#e6f1e8,#faf5e5)!important;border-color:#d5e4d8!important}.bank-card{background:#fffdf7!important;border-color:#d5e4d8!important}.bank-heading h2,.pan-details h2{color:#286751!important}@media(max-width:600px){body.site-english .donation-section h2,body.site-hindi .donation-section h2{font-size:25px!important}.bank-grid{grid-template-columns:1fr!important}}
