/*
Theme Name: ElectricDunia Custom
Theme URI: https://electricdunia.com/
Author: ElectricDunia
Author URI: https://electricdunia.com/
Description: Fast, responsive and SEO-friendly custom WordPress theme for ElectricDunia.com.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: electricdunia
*/

:root{--green:#1b5e20;--green-dark:#124516;--light:#f5faf6;--text:#17231b;--muted:#68736c;--border:#e3e9e4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Noto Sans Devanagari",system-ui,sans-serif;color:var(--text);line-height:1.7;background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto;display:block}.container{width:min(1180px,calc(100% - 32px));margin:auto}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:999}.header-inner{min-height:76px;display:flex;align-items:center;gap:24px}.site-brand{display:flex;align-items:center;gap:10px;min-width:205px}.brand-mark{width:42px;height:42px;background:var(--green);color:#fff;border-radius:10px;display:grid;place-items:center;font-size:24px;font-weight:800}.brand-name{font-size:20px;font-weight:800;line-height:1.1}.brand-name strong{color:var(--green)}.brand-name small{display:block;font-size:8px;color:#778078;letter-spacing:.5px;margin-top:3px}
.primary-nav{margin-left:auto}.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:20px;align-items:center}.primary-nav a{font-size:13px;font-weight:650;color:#344039;padding:27px 0}.primary-nav a:hover,.primary-nav .current-menu-item>a{color:var(--green)}.menu-toggle,.search-toggle{border:0;background:#f1f5f2;color:var(--green);cursor:pointer}.menu-toggle{display:none;width:40px;height:40px;border-radius:8px}.menu-toggle span{display:block;width:22px;height:2px;background:var(--green);margin:4px auto}.search-toggle{width:38px;height:38px;border-radius:50%;font-size:17px}.header-actions{display:flex;gap:10px}.search-panel{display:none;background:#f7faf7;border-top:1px solid var(--border);padding:12px 0}.search-panel.active{display:block}.search-form{display:flex;max-width:720px;margin:auto}.search-form input{flex:1;border:1px solid #d7e0d9;padding:12px 14px;border-radius:6px 0 0 6px;outline:0}.search-form button{border:0;background:var(--green);color:#fff;padding:0 20px;border-radius:0 6px 6px 0}
.hero{background:linear-gradient(120deg,#f4faf5,#fff);padding:76px 0 82px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:55px;align-items:center}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;color:var(--green)}.hero h1{font-size:clamp(38px,5vw,62px);line-height:1.12;letter-spacing:-1.8px;margin:14px 0}.hero h1 span{color:var(--green)}.hero p{font-size:16px;color:var(--muted);max-width:650px}.hero-actions{display:flex;gap:12px;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:7px;font-size:13px;font-weight:750}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:var(--green-dark)}.btn-secondary{border:1px solid #d4ded6;background:#fff;color:var(--green)}.hero-visual{min-height:380px;display:grid;place-items:center;position:relative}.hero-orb{position:absolute;width:330px;height:330px;background:#dcecdf;border-radius:50%}.ev-illustration{position:relative;width:360px;height:200px;z-index:2}.ev-car{position:absolute;left:25px;bottom:42px;width:310px;height:88px;background:var(--green);border-radius:70px 90px 22px 22px;box-shadow:0 22px 35px #1b5e2030}.ev-window{position:absolute;left:95px;top:10px;width:140px;height:48px;background:#d7ebe0;border-radius:50px 50px 8px 8px}.ev-wheel{position:absolute;bottom:-22px;width:50px;height:50px;border-radius:50%;background:#202520;border:8px solid #fff}.ev-wheel.one{left:48px}.ev-wheel.two{right:48px}.range-badge{position:absolute;z-index:4;left:0;bottom:0;background:#fff;padding:13px 18px;border-radius:9px;box-shadow:0 12px 30px #00000012}.range-badge small{font-size:9px;color:#7a847d}.range-badge strong{display:block;color:var(--green);font-size:28px;line-height:1.1}
.section{padding:78px 0}.section-muted{background:#f7faf7}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-head h2{margin:6px 0 0;font-size:32px;line-height:1.2}.section-link{color:var(--green);font-size:12px;font-weight:750}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.category-card{border:1px solid var(--border);border-radius:10px;padding:22px 12px;text-align:center;transition:.2s;background:#fff}.category-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #0000000c}.category-icon{width:52px;height:52px;margin:0 auto 12px;background:#eef6ef;border-radius:50%;display:grid;place-items:center;font-size:22px}.category-card h3{font-size:14px;margin:0 0 3px}.category-card p{font-size:10px;color:#78827b;line-height:1.45;margin:0}
.posts-layout{display:grid;grid-template-columns:1fr 320px;gap:32px}.featured-post{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden}.post-thumb{height:330px;position:relative;overflow:hidden;background:#eaf2eb}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-cat{position:absolute;left:16px;bottom:16px;background:var(--green);color:#fff;padding:5px 10px;border-radius:5px;font-size:10px;font-weight:700}.post-body{padding:22px}.post-meta{font-size:10px;color:#879189}.post-title{font-size:24px;line-height:1.35;margin:8px 0}.post-excerpt{font-size:13px;color:var(--muted);margin:0}.read-more{display:inline-block;margin-top:12px;color:var(--green);font-size:12px;font-weight:750}.post-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.post-card{background:#fff;border:1px solid var(--border);border-radius:9px;overflow:hidden}.post-card .thumb{height:170px;background:#eaf2eb}.post-card .thumb img{width:100%;height:100%;object-fit:cover}.post-card .body{padding:14px}.post-card h3{font-size:15px;line-height:1.4;margin:6px 0}.post-card .meta{font-size:9px;color:#8a948c}.sidebar-box{background:#fff;border:1px solid var(--border);border-radius:10px;padding:20px}.sidebar-box h3{margin:0 0 12px;font-size:18px}.popular{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #edf1ee}.popular:last-child{border-bottom:0}.popular-num{font-size:20px;font-weight:800;color:#b8c2ba}.popular h4{font-size:12px;line-height:1.5;margin:0}.popular small{font-size:9px;color:#8a948c}
.tools{background:#fff}.tools-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tool-card{border:1px solid var(--border);border-radius:10px;padding:23px;transition:.2s}.tool-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #0000000c}.tool-icon{width:46px;height:46px;border-radius:8px;background:#eef6ef;color:var(--green);display:grid;place-items:center;font-weight:800;margin-bottom:14px}.tool-card h3{font-size:15px;margin:0}.tool-card p{font-size:11px;color:#737d76;margin:7px 0 14px}.tool-card strong{font-size:11px;color:var(--green)}
.guide{background:#f3f8f4}.guide-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:65px;align-items:center}.guide-art{min-height:360px;border-radius:14px;background:#dcecdf;display:grid;place-items:center;position:relative}.battery{width:130px;height:220px;border:7px solid var(--green);border-radius:18px;padding:9px;position:relative}.battery:before{content:"";position:absolute;top:-16px;left:38px;width:40px;height:10px;background:var(--green);border-radius:4px 4px 0 0}.battery-fill{height:72%;position:absolute;left:9px;right:9px;bottom:9px;background:var(--green);border-radius:9px}.battery span{position:absolute;z-index:2;color:#fff;font-size:20px;font-weight:800;left:50%;top:50%;transform:translate(-50%,-50%)}.guide-copy h2{font-size:36px;line-height:1.2;margin:7px 0 15px}.guide-copy p{font-size:13px;color:var(--muted)}.check-list{list-style:none;padding:0;margin:20px 0}.check-list li{font-size:13px;margin:8px 0}.check-list li:before{content:"✓";color:var(--green);font-weight:800;margin-right:9px}
.author-section{padding:65px 0;background:#f8faf8}.author-box{max-width:900px;margin:auto;background:#fff;border:1px solid var(--border);border-radius:12px;padding:30px;display:flex;gap:22px;align-items:center}.author-avatar{flex:0 0 82px;width:82px;height:82px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:800}.author-box h2{font-size:23px;margin:3px 0}.author-box p{font-size:12px;color:var(--muted);margin:0}
.site-footer{background:#122016;color:#dce6df}.footer-grid{padding:60px 0;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}.footer-grid h3{font-size:14px;color:#fff;margin:0 0 10px}.footer-grid a{font-size:11px;color:#aebbb1}.footer-grid a:hover{color:#fff}.footer-about p{font-size:11px;color:#aebbb1;max-width:360px}.footer-bottom{border-top:1px solid #29382d}.footer-bottom .container{min-height:60px;display:flex;justify-content:space-between;align-items:center;gap:15px}.footer-bottom p{font-size:9px;color:#93a197;margin:0}
.author-location{font-size:11px!important;color:var(--green)!important;font-weight:700;margin:4px 0 8px!important}
.calc-hero{background:linear-gradient(120deg,#f4faf5,#fff);padding:56px 0 46px;border-bottom:1px solid var(--border)}
.calc-hero .eyebrow{display:block;margin-bottom:8px}
.calc-hero h1{font-size:clamp(28px,4vw,40px);line-height:1.2;letter-spacing:-1px;margin:0 0 10px}
.calc-hero p{font-size:14px;color:var(--muted);max-width:640px;margin:0}
.calc-wrap{padding:50px 0 80px}
.calc-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:start}
.calc-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:30px}
.calc-card h2{font-size:18px;margin:0 0 22px}
.calc-field{margin-bottom:18px}
.calc-field label{display:flex;justify-content:space-between;font-size:12px;font-weight:700;color:#344039;margin-bottom:7px}
.calc-field label .unit{color:#8a948c;font-weight:600}
.calc-field input,.calc-field select{width:100%;border:1px solid #d7e0d9;padding:11px 13px;border-radius:8px;font-size:14px;font-family:inherit;outline:0;background:#fbfdfb}
.calc-field input:focus,.calc-field select:focus{border-color:var(--green)}
.calc-field small{display:block;margin-top:5px;font-size:10.5px;color:#8a948c}
.calc-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.calc-btn{width:100%;border:0;background:var(--green);color:#fff;padding:13px;border-radius:8px;font-size:14px;font-weight:750;cursor:pointer;margin-top:6px}
.calc-btn:hover{background:var(--green-dark)}
.calc-toggle{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#344039;margin:2px 0 18px;cursor:pointer;user-select:none}
.calc-toggle input{width:15px;height:15px}
.calc-extra{display:none;border-top:1px dashed var(--border);padding-top:16px;margin-top:2px}
.calc-extra.active{display:block}
.calc-result{background:var(--light);border:1px solid var(--border);border-radius:14px;padding:28px;position:sticky;top:100px}
.calc-result h3{font-size:13px;letter-spacing:.5px;color:#5c675f;margin:0 0 18px;text-transform:uppercase}
.calc-result-main{background:#fff;border:1px solid var(--border);border-radius:10px;padding:20px;text-align:center;margin-bottom:14px}
.calc-result-main span{display:block;font-size:11px;color:#8a948c;margin-bottom:6px}
.calc-result-main strong{font-size:30px;color:var(--green);line-height:1.1}
.calc-result-list{list-style:none;margin:0;padding:0}
.calc-result-list li{display:flex;justify-content:space-between;font-size:12.5px;padding:10px 0;border-bottom:1px solid #e7ede8}
.calc-result-list li:last-child{border-bottom:0}
.calc-result-list li b{color:var(--text)}
.calc-savings{margin-top:14px;background:#eaf6ec;border:1px solid #c9e6cd;border-radius:10px;padding:14px 16px;font-size:12.5px;color:#1b5e20}
.calc-savings strong{font-size:16px}
.calc-note{margin-top:16px;font-size:10.5px;color:#8a948c;line-height:1.6}
.calc-related{margin-top:44px}
.calc-related h3{font-size:16px;margin:0 0 14px}
@media(max-width:850px){.calc-grid{grid-template-columns:1fr}.calc-result{position:static}}
@media(max-width:600px){.calc-row{grid-template-columns:1fr}}
.single-wrap{padding:60px 0}.single-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:35px}.single-content{min-width:0}.single-title{font-size:44px;line-height:1.2;margin:8px 0 15px}.single-featured{width:100%;max-height:520px;object-fit:cover;border-radius:10px;margin:25px 0}.entry-content{font-size:16px}.entry-content h2{font-size:28px;margin-top:32px}.entry-content h3{font-size:22px;margin-top:25px}.entry-content p{margin:0 0 18px}.entry-content ul,.entry-content ol{padding-left:25px}.pagination{display:flex;gap:8px;margin-top:30px}.pagination a,.pagination span{padding:8px 12px;border:1px solid var(--border);border-radius:5px;font-size:12px}.pagination .current{background:var(--green);color:#fff;border-color:var(--green)}
@media(max-width:1050px){.category-grid{grid-template-columns:repeat(3,1fr)}.tools-grid{grid-template-columns:repeat(2,1fr)}.primary-nav ul{gap:12px}.primary-nav a{font-size:12px}}
@media(max-width:850px){.menu-toggle{display:block}.primary-nav{display:none;position:absolute;left:0;right:0;top:76px;background:#fff;border-top:1px solid var(--border);box-shadow:0 15px 30px #00000010;padding:10px 16px}.primary-nav.is-open{display:block}.primary-nav ul{display:block}.primary-nav li{border-bottom:1px solid #edf1ee}.primary-nav a{display:block;padding:11px 0}.hero-grid,.guide-grid,.single-layout{grid-template-columns:1fr}.posts-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.container{width:calc(100% - 28px)}.hero{padding:55px 0}.hero h1{font-size:39px}.hero-actions{flex-direction:column}.hero-visual{min-height:290px;transform:scale(.82);margin:-20px 0}.section{padding:58px 0}.section-head{align-items:flex-start;flex-direction:column}.section-head h2{font-size:28px}.category-grid{grid-template-columns:1fr 1fr}.post-grid,.tools-grid{grid-template-columns:1fr}.post-thumb{height:240px}.guide-copy h2{font-size:30px}.author-box{flex-direction:column;text-align:center}.footer-grid{grid-template-columns:1fr}.footer-bottom .container{flex-direction:column;justify-content:center;padding:16px 0;text-align:center}.single-title{font-size:34px}}
