/*
Theme Name: Esal-e-Sawab
Theme URI: https://esalesawab.site/
Author: Esal-e-Sawab
Description: WordPress migration theme based on the supplied Blogger XML design direction. Includes responsive header, blog layouts, dark mode and plugin-powered sections.
Version: 1.0.0
Text Domain: esalesawab
*/
:root{--brand:#10a675;--brand2:#087b58;--bg:#f4f7f6;--surface:#fff;--text:#17221e;--muted:#68766f;--border:#dfe8e3;--shadow:0 8px 28px rgba(18,54,39,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}body.dark-mode{--bg:#101714;--surface:#19231e;--text:#edf5f0;--muted:#aab9b0;--border:#304238;--shadow:0 8px 28px rgba(0,0,0,.22)}a{color:var(--brand2);text-decoration:none}a:hover{color:var(--brand)}img{max-width:100%;height:auto}.site-top{background:#087b58;color:#fff;text-align:center;padding:6px 14px;font-size:13px}.site-header{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:99}.header-inner{max-width:1180px;margin:auto;padding:12px 20px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;min-width:170px;color:var(--text);font-weight:800}.brand img{width:58px;height:58px;object-fit:contain}.brand span{font-size:20px}.main-nav{display:flex;align-items:center;gap:18px;flex:1;flex-wrap:wrap}.main-nav a{color:var(--text);font-weight:600;font-size:14px}.header-tools{display:flex;gap:8px;align-items:center}.icon-btn,.menu-toggle{border:1px solid var(--border);background:var(--surface);color:var(--text);padding:9px 12px;border-radius:10px;cursor:pointer}.wrap{max-width:1180px;margin:28px auto;padding:0 20px}.hero{background:linear-gradient(125deg,#087b58,#12a879);color:#fff;border-radius:22px;padding:34px;display:grid;grid-template-columns:1.4fr .8fr;gap:24px;align-items:center;box-shadow:var(--shadow)}.hero h1{font-size:clamp(28px,4vw,44px);line-height:1.2;margin:0 0 12px}.hero p{margin:0 0 18px;opacity:.95}.hero img{max-height:220px;object-fit:contain;justify-self:center}.btn{display:inline-block;background:#fff;color:#087b58;padding:11px 18px;border-radius:10px;font-weight:800}.section-title{font-size:25px;margin:28px 0 16px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.post-card,.content-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.post-card img{width:100%;height:190px;object-fit:cover}.post-card-body{padding:16px}.post-card h2{font-size:18px;line-height:1.4;margin:0 0 8px}.post-card p{color:var(--muted);margin:0}.content-card{padding:24px}.entry-title{font-size:clamp(26px,4vw,38px);line-height:1.25}.entry-content{overflow-wrap:anywhere}.entry-content img{height:auto}.site-footer{margin-top:50px;background:#10251c;color:#e8f2ec;padding:34px 20px}.footer-inner{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer-inner a{color:#d6eee2}.social-links{display:flex;gap:14px;flex-wrap:wrap}.site-search input{padding:9px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);max-width:170px}.pagination{padding:24px 0}.pagination a,.pagination span{padding:8px 13px;border:1px solid var(--border);border-radius:8px;margin-right:5px}.urdu-font{font-family:"Noto Nastaliq Urdu",serif;line-height:2}.site-footer .urdu-font{color:#d9eee4}.menu-toggle{display:none}@media(max-width:800px){.header-inner{flex-wrap:wrap;gap:10px}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;order:5;width:100%;flex-direction:column;align-items:flex-start;padding:12px 0}.main-nav.open{display:flex}.header-tools{margin-left:auto}.hero{grid-template-columns:1fr;padding:24px}.hero img{max-height:150px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.post-grid{grid-template-columns:1fr}.brand span{font-size:17px}.wrap{padding:0 13px}.hero{border-radius:15px}.site-search{display:none}}
