/*
Theme Name: آشتیان نیرو
Description: پوسته فارسی معرفی خدمات و پروژه‌های انرژی خورشیدی آشتیان نیرو، با چیدمان زرد و سبز و بدون وابستگی به افزونه فروشگاهی.
Version: 1.0.0
Author: Ashtian Niro
Text Domain: ashtian-niro
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face{font-family:Vazirmatn;src:url('assets/fonts/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--yellow:#ffdd32;--green:#328847;--green-dark:#246b38;--ink:#262d25;--muted:#667066;--line:#e8ece5;--paper:#f7f9f5;--radius:12px;--width:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;background:#fff;color:var(--ink);font:15px/1.85 Vazirmatn,Tahoma,sans-serif;direction:rtl}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.6}h1{font-size:32px}h2{font-size:26px}h3{font-size:19px}p{margin-bottom:16px}svg{display:block}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #1559ce;outline-offset:5px}::selection{background:#fce66e}.wrap{max-width:var(--width);width:calc(100% - 40px);margin:auto}.skip-link{position:fixed;top:-100px;right:20px;z-index:9999;background:#fff;padding:10px 20px}.skip-link:focus{top:10px}.announcement{padding:8px 16px;text-align:center;background:var(--yellow);font-size:12px}.masthead{display:flex;align-items:center;justify-content:space-between;min-height:83px;gap:28px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:65px;height:59px;color:var(--green-dark)}.brand-name{font-weight:750;font-size:29px;white-space:nowrap;line-height:1.45;color:#385d34}.brand-en{display:block;font-size:10px;letter-spacing:3px;direction:ltr;color:#777d6c}.custom-logo-link img{max-height:66px;width:auto}.masthead-tagline{font-size:13px;color:#525b51;margin:0}.header-phone{font-size:12px;color:#50584d;display:flex;align-items:center;gap:8px}.header-phone .icon{width:19px;height:19px}.header-phone b{display:block;font-weight:650;color:var(--ink);letter-spacing:1px}.nav-strip{background:var(--yellow);position:sticky;top:0;z-index:90}.admin-bar .nav-strip{top:32px}.nav-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:70px}.primary-menu{margin:0;padding:0;list-style:none;display:flex;align-items:center;gap:30px;font-size:14px}.primary-menu li:first-child>a{background:var(--green);color:#fff;border-radius:30px;padding:9px 24px}.primary-menu a{display:block;padding:12px 0}.primary-menu a:hover{color:var(--green-dark)}.primary-menu li:first-child>a:hover{color:#fff;background:var(--green-dark)}.primary-menu li{position:relative}.primary-menu .sub-menu{position:absolute;top:100%;right:0;list-style:none;margin:0;padding:15px;background:#fff;border:1px solid var(--line);min-width:200px;display:none;border-radius:8px;box-shadow:0 8px 30px #16381510}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:block}.sub-menu a{padding:8px!important;background:none!important;color:var(--ink)!important}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 23px;border:0;border-radius:8px;background:var(--green);color:#fff;font-weight:600;line-height:1.8;transition:background .2s,transform .2s}.btn:hover{background:var(--green-dark)}.btn .icon{width:19px;height:19px}.btn-outline{background:transparent;border:1px solid var(--green);color:var(--green)}.btn-outline:hover{color:#fff}.nav-contact{display:flex;gap:8px;align-items:center;font-size:13px;white-space:nowrap}.nav-contact .icon{width:22px;height:22px}.mobile-toggle{display:none;background:none;border:none;padding:10px;color:var(--ink);align-items:center;gap:10px}.mobile-toggle svg{width:25px}.hero{padding-top:24px;display:grid;grid-template-columns:2.08fr 1fr;gap:24px}.hero-stage{position:relative;overflow:hidden;border-radius:var(--radius);aspect-ratio:1.5;background:#dfe5dc;isolation:isolate}.hero-slides{height:100%}.hero-slide{height:100%;position:relative;display:none}.hero-slide.is-active{display:block}.hero-slide img{width:100%;height:100%;object-fit:cover}.hero-slide:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(0deg,#122519b3,transparent);z-index:1;pointer-events:none}.hero-copy{position:absolute;bottom:47px;right:24px;left:24px;z-index:2}.hero-copy .eyebrow{display:inline-block;padding:3px 10px;background:#fff;color:var(--green-dark);border-radius:5px;font-size:11px;margin-bottom:8px}.hero-copy h1,.hero-copy h2{font-size:24px;font-weight:750;margin:0;color:#fff;background:#298342e8;padding:12px 18px;border-radius:9px;line-height:1.75}.hero-copy p{margin:8px 0 0;font-size:13px;color:#fff;max-width:540px}.hero-controls{position:absolute;bottom:13px;inset-inline:18px;z-index:4;display:flex;justify-content:center;align-items:center;gap:8px}.hero-dot{width:10px;height:10px;border:1px solid #fff;background:#ffffff70;border-radius:50%;padding:0}.hero-dot[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow)}.hero-arrow{background:#ffffffd9;border:0;border-radius:50%;height:28px;width:28px;display:grid;place-items:center;color:var(--green-dark)}.hero-arrow svg{width:15px;height:15px}.hero-dots{display:flex;gap:8px;padding:0 10px}.hero-aside{display:grid;grid-template-rows:1fr 1fr;gap:24px}.promo{position:relative;border-radius:var(--radius);overflow:hidden;display:block;isolation:isolate;background:#e8eee3}.promo img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.promo:hover img{transform:scale(1.035)}.promo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#10241db8,transparent 70%)}.promo-label{position:absolute;right:20px;left:20px;bottom:22px;z-index:2;background:#ffffffe8;border-radius:8px;text-align:center;padding:9px 12px;font-size:19px;font-weight:750;color:#333b2d}.promo-label small{font-size:12px;font-weight:400;display:block}.feature-row{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;padding:37px 0 30px;text-align:center}.feature-icon{width:50px;height:50px;margin:0 auto 13px;color:var(--green-dark)}.feature-icon svg{width:100%;height:100%}.feature-row strong{font-size:13px;font-weight:650}.section{padding:30px 0 40px;scroll-margin-top:90px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.section-heading h2{font-size:25px;margin:0}.section-heading h2:after{content:'';display:block;height:4px;width:42px;background:var(--yellow);border-radius:3px;margin-top:7px}.section-kicker{font-size:12px;color:var(--green);margin:0 0 4px}.section-lead{color:var(--muted);max-width:780px;font-size:14px}.text-link{color:var(--green-dark);font-size:13px;display:inline-flex;align-items:center;gap:7px}.text-link .icon{width:17px;height:17px}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service-card{border-radius:var(--radius);overflow:hidden;background:var(--paper)}.service-card .cover{display:block;height:180px;position:relative;overflow:hidden;background:#e9eee6}.service-card .cover img{height:100%;width:100%;object-fit:cover;transition:transform .4s}.service-card:hover .cover img{transform:scale(1.04)}.service-card .card-body{padding:20px 22px 23px}.service-card h3{margin:0 0 7px;font-size:19px}.service-card p{font-size:13px;color:var(--muted);margin:0 0 15px}.detail-list{display:grid;gap:16px}.service-detail{border:1px solid var(--line);border-radius:var(--radius);padding:0 22px;background:#fff}.service-detail summary{cursor:pointer;font-weight:650;font-size:18px;padding:18px 0}.service-detail .detail-body{padding:3px 0 20px;color:var(--muted);font-size:14px}.service-detail .detail-body .btn{margin-top:7px}.specialties{padding:30px 0 35px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:8px auto 0}.specialties-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:15px;text-align:center}.specialty-icon{width:86px;height:86px;border-radius:50%;background:#f8f9ec;border:1px solid #edeedc;display:grid;place-items:center;margin:0 auto 12px}.specialty-icon svg{width:44px;height:44px;color:var(--green)}.specialties-grid h3{font-size:13px;margin:0}.soft-bg{background:var(--paper);margin-top:20px}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.process-item{position:relative;padding:18px 20px;border-right:2px solid var(--yellow)}.process-number{display:inline-grid;place-items:center;background:var(--yellow);color:#3f492b;width:35px;height:35px;border-radius:50%;font-size:14px;font-weight:700;margin-bottom:12px}.process-item h3{font-size:17px;margin-bottom:8px}.process-item p{font-size:13px;color:var(--muted);margin:0}.projects-grid,.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.project-card,.article-card{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.project-card img,.article-card img{height:190px;width:100%;object-fit:cover}.project-body,.article-body{padding:19px 21px}.project-body h3,.article-body h3{font-size:17px;margin:0 0 9px}.article-body p{font-size:13px;color:var(--muted);margin:0 0 12px}.article-meta{font-size:11px;color:#778071;margin-bottom:9px}.project-empty{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:24px;padding:30px 38px;border:1px solid var(--line);border-radius:var(--radius);background:#fafbf7}.project-empty .icon{width:67px;height:67px;color:var(--green)}.project-empty h3{margin:0 0 5px;font-size:20px}.project-empty p{font-size:14px;color:var(--muted);margin:0}.about-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px}.about-image{position:relative;border-radius:var(--radius);overflow:hidden}.about-image img{width:100%;aspect-ratio:1.55;object-fit:cover}.about-label{position:absolute;inset-inline:20px;bottom:18px;color:#fff;background:#245e36e6;padding:10px 17px;border-radius:7px;font-size:13px}.about-copy h2{margin-bottom:13px}.about-copy p{font-size:14px;color:var(--muted)}.about-person{padding-top:12px;border-top:1px solid var(--line);font-size:13px}.about-person strong{color:var(--green-dark)}.faq-list{display:grid;gap:10px}.faq-list details{border-bottom:1px solid var(--line);padding:0 5px 12px}.faq-list summary{cursor:pointer;padding:12px 0;font-size:15px;font-weight:650}.faq-list p{margin:8px 0;font-size:14px;color:var(--muted);max-width:950px}.consultation{margin-top:35px;background:var(--green-dark);color:#fff}.consultation-inner{padding:30px 0;display:flex;justify-content:space-between;align-items:center;gap:25px}.consultation h2{font-size:22px;margin:0 0 4px}.consultation p{font-size:13px;color:#e3eddc;margin:0}.consultation .btn{background:var(--yellow);color:#283d23;min-width:185px}.consultation .btn:hover{background:#ffe569}.site-footer{padding:42px 0 0;background:#fbfcf8}.footer-grid{display:grid;grid-template-columns:1.65fr 1fr 1fr;gap:70px}.footer-grid h3{font-size:15px;margin-bottom:15px}.footer-grid p{color:var(--muted);font-size:13px;line-height:2}.footer-grid .brand{margin-bottom:18px}.footer-grid .brand-name{font-size:25px}.footer-grid .brand-mark{width:48px;height:48px}.footer-links{padding:0;margin:0;list-style:none;color:var(--muted);font-size:13px}.footer-links li{margin:7px 0}.footer-links a:hover{color:var(--green)}.footer-contact{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:var(--green-dark)}.footer-contact .icon{width:21px;height:21px}.footer-contact b{direction:ltr;font-size:20px}.copyright{border-top:1px solid var(--line);margin-top:30px;padding:17px 0;display:flex;justify-content:space-between;color:#7b8376;font-size:11px;gap:15px}.floating-contact{position:fixed;bottom:22px;left:22px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;min-width:52px;min-height:52px;padding:13px;border-radius:28px;box-shadow:0 3px 18px #1d45272c;z-index:80;font-size:12px}.floating-contact .icon{width:22px;height:22px}.floating-contact:hover{background:var(--green-dark)}.page-hero{padding:44px 0 30px;background:var(--paper);margin-bottom:28px}.page-hero h1{margin:10px 0;font-size:30px}.breadcrumbs{font-size:12px;color:var(--muted)}.breadcrumbs a{color:var(--green)}.content-area{padding-bottom:45px;min-height:300px}.entry-content{max-width:850px;margin:0 auto;font-size:16px}.entry-content>*{margin-bottom:22px}.entry-content p{color:#515b4e;line-height:2.1}.entry-content h2{font-size:24px}.entry-content h3{font-size:20px}.entry-content ul,.entry-content ol{padding-inline-start:25px}.entry-content a{color:var(--green);text-decoration:underline}.entry-content .alignwide{max-width:1100px}.entry-content img{border-radius:10px}.contact-panel{display:grid;grid-template-columns:1.4fr 1fr;gap:35px;align-items:start;margin-bottom:35px}.contact-card{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}.contact-card h2{font-size:20px;margin-bottom:13px}.contact-card .phone-large{font-size:28px;color:var(--green);display:block;direction:ltr;text-align:right;font-weight:650;margin:12px 0}.contact-card p{font-size:14px;color:var(--muted)}.pagination{padding:25px 0;text-align:center}.pagination .page-numbers{display:inline-block;padding:8px 15px;background:var(--paper);border-radius:5px;margin:3px}.pagination .current{background:var(--green);color:#fff}.no-results{padding:30px;background:var(--paper);border-radius:var(--radius);text-align:center}.entry-featured{max-width:850px;margin:0 auto 28px}.entry-featured img{width:100%;max-height:420px;object-fit:cover;border-radius:var(--radius)}.entry-content .wp-block-button__link{color:#fff;text-decoration:none;background:var(--green)}.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.post-navigation{max-width:850px;margin:30px auto;border-top:1px solid var(--line);padding-top:20px}.post-navigation .nav-links{display:flex;justify-content:space-between;gap:24px;color:var(--green)}.illustrative-note{font-size:11px;color:var(--muted);text-align:left;margin:12px 0 0}.wp-block-table{overflow:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{border:1px solid var(--line);padding:10px}.wp-caption-text{color:var(--muted);font-size:12px}.entry-content iframe{max-width:100%}
@media(min-width:1500px){:root{--width:1220px}}
@media(max-width:1080px){.primary-menu{gap:20px;font-size:13px}.masthead-tagline{max-width:320px}.hero-copy h1,.hero-copy h2{font-size:21px}.hero-copy p{font-size:12px}.promo-label{font-size:17px}.footer-grid{gap:40px}}
@media(max-width:800px){.masthead{min-height:76px;gap:15px}.masthead-tagline{display:none}.brand-name{font-size:26px}.brand-mark{width:52px;height:50px}.nav-row{min-height:56px;flex-wrap:wrap;gap:0}.mobile-toggle{display:flex;min-height:56px}.primary-nav{display:none;order:3;flex-basis:100%;padding:0 0 17px}.primary-nav.is-open{display:block}.primary-menu{display:block;border-top:1px solid #576b2320;padding-top:9px}.primary-menu li{padding:1px 0}.primary-menu li:first-child>a{display:inline-block;padding:7px 20px}.primary-menu a{padding:8px 12px}.primary-menu .sub-menu{position:static;display:block;background:transparent;border:0;box-shadow:none;padding:0 20px;min-width:0}.primary-menu .sub-menu a{font-size:12px}.nav-contact{font-size:12px}.hero{gap:16px}.hero-aside{gap:16px}.hero-copy{right:17px;left:17px;bottom:40px}.hero-copy h1,.hero-copy h2{font-size:18px;padding:8px 12px}.hero-copy p{display:none}.hero-copy .eyebrow{font-size:10px;margin-bottom:6px}.promo-label{font-size:14px;left:12px;right:12px;bottom:14px;padding:6px 9px}.promo-label small{font-size:10px}.feature-row{gap:12px;padding:27px 0 20px}.feature-icon{width:40px;height:40px;margin-bottom:10px}.feature-row strong{font-size:11px}.services-grid{grid-template-columns:repeat(2,1fr);gap:16px}.specialties-grid{grid-template-columns:repeat(3,1fr);row-gap:24px}.process-grid{grid-template-columns:repeat(2,1fr)}.articles-grid,.projects-grid{grid-template-columns:repeat(2,1fr)}.about-grid{gap:28px}.about-copy h2{font-size:23px}.project-empty{grid-template-columns:65px 1fr;padding:25px;gap:20px}.project-empty .btn{grid-column:2;justify-self:start}.project-empty .icon{width:55px;height:55px}.footer-grid{grid-template-columns:1.3fr 1fr;gap:28px}.footer-grid>div:first-child{grid-column:1/-1}.consultation h2{font-size:20px}.admin-bar .nav-strip{top:46px}.contact-panel{grid-template-columns:1fr}}
@media(max-width:560px){.wrap{width:calc(100% - 32px)}.announcement{font-size:10px;padding:7px 12px}.masthead{min-height:80px}.brand-name{font-size:24px}.brand-en{font-size:8px;letter-spacing:2px}.brand{gap:9px}.brand-mark{width:44px;height:47px}.header-phone{font-size:10px;gap:6px}.header-phone .icon{width:18px;height:18px}.header-phone b{font-size:12px;letter-spacing:.4px}.hero{grid-template-columns:1fr;padding-top:16px;gap:14px}.hero-stage{aspect-ratio:1.33}.hero-copy h1,.hero-copy h2{font-size:19px}.hero-copy{bottom:43px}.hero-aside{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}.promo{aspect-ratio:1.3}.promo-label{font-size:13px;right:8px;left:8px;bottom:11px;padding:6px}.promo-label small{display:none}.feature-row{grid-template-columns:repeat(3,1fr);gap:23px 10px;padding:30px 0 22px}.feature-row strong{font-size:12px}.feature-icon{width:44px;height:44px;margin-bottom:9px}.section{padding:26px 0 32px}.section-heading{gap:15px;align-items:flex-start}.section-heading h2{font-size:22px}.section-kicker{font-size:11px}.section-heading .text-link{font-size:11px;white-space:nowrap;margin-top:10px}.services-grid{gap:12px}.service-card .cover{height:125px}.service-card .card-body{padding:13px 13px 16px}.service-card h3{font-size:15px;margin-bottom:6px}.service-card p{font-size:11px;margin-bottom:9px}.service-card .text-link{font-size:11px}.specialty-icon{width:72px;height:72px;margin-bottom:10px}.specialty-icon svg{width:36px;height:36px}.specialties-grid h3{font-size:12px}.specialties-grid{gap:18px 12px}.process-grid{gap:16px}.process-item{padding:10px 13px}.process-item h3{font-size:15px}.process-item p{font-size:12px}.project-empty{grid-template-columns:1fr;text-align:center;padding:26px 22px;gap:14px}.project-empty .icon{margin:auto}.project-empty .btn{grid-column:auto;justify-self:center}.project-empty h3{font-size:18px}.project-empty p{font-size:13px}.articles-grid,.projects-grid{grid-template-columns:1fr;gap:18px}.article-card{display:grid;grid-template-columns:110px 1fr}.article-card img{height:100%;min-height:160px}.article-body{padding:15px}.article-body h3{font-size:15px}.article-body p{font-size:12px;margin-bottom:8px}.article-meta{font-size:10px}.about-grid{grid-template-columns:1fr;gap:22px}.about-copy h2{font-size:23px}.about-copy p{font-size:13px}.faq-list summary{font-size:14px}.faq-list p{font-size:13px}.consultation-inner{display:block;text-align:center;padding:26px 0}.consultation h2{font-size:20px}.consultation p{font-size:12px}.consultation .btn{margin-top:16px}.site-footer{padding-top:32px}.footer-grid{grid-template-columns:1fr 1fr;gap:23px 19px}.footer-grid p,.footer-links{font-size:12px}.footer-grid h3{font-size:14px}.footer-contact b{font-size:17px}.copyright{display:block;padding-bottom:75px;font-size:10px;text-align:center}.copyright>span{display:block}.floating-contact{left:16px;bottom:16px;min-height:47px;font-size:11px}.floating-contact .icon{width:20px;height:20px}.page-hero{padding:28px 0 20px}.page-hero h1{font-size:25px}.entry-content{font-size:14px}.entry-content h2{font-size:21px}.entry-content h3{font-size:18px}.service-detail{padding:0 16px}.service-detail summary{font-size:16px}.service-detail .detail-body{font-size:13px}.contact-card{padding:22px}.contact-card .phone-large{font-size:25px}.admin-bar .nav-strip{top:0}.illustrative-note{text-align:center;font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
