/*
Theme Name: Novasolar
Author: Novasolar Maroc
Description: Independent Novasolar website, with French, English and Arabic presentation.
Version: 1.0.0
Text Domain: novasolar
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:150px}body{margin:0;background:#fff;color:#102e54;font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}h1,h2,h3{margin:0 0 24px;line-height:1.16;letter-spacing:-1px}p{margin:0 0 24px}button,a,input,select{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffb900;outline-offset:4px}.ns-editorial{max-width:860px!important}.ns-editorial h2{font-size:30px!important;margin-top:36px!important}.ns-editorial h3{font-size:24px!important}.ns-editorial p,.ns-editorial li{font-size:18px!important;line-height:1.8!important}.ns-form-wrap{max-width:820px!important}.ns-form-wrap form{padding:32px;background:#f7f6ef;border-radius:24px}.ns-form-wrap input:not([type=submit]),.ns-form-wrap select{width:100%;min-height:54px;border:1px solid #dfe5e9;border-radius:10px;padding:12px 14px;background:white;color:#102e54}.ns-form-wrap label{display:block;font-weight:600}.ns-form-wrap input[type=submit]{border:0;border-radius:30px;background:#ffb900;color:#102e54;padding:16px 28px;font-weight:700;cursor:pointer}.ns-form-wrap .wpcf7-not-valid-tip{font-size:14px}.ns-form-contact{margin-top:24px!important}.ns-native-form .ns-form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ns-contact-top h3{font-size:26px!important}.ns-localized-middle section{padding:64px 0}.localized-projects,.localized-team{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.localized-team{grid-template-columns:repeat(5,1fr)}.localized-project,.localized-person{overflow:hidden;border:1px solid #102e5410;border-radius:24px;background:white}.localized-project img,.localized-person img{width:100%;height:240px;object-fit:cover}.localized-project h3,.localized-project p,.localized-project a.text-link,.localized-person h3,.localized-person p{margin:22px!important}.localized-person h3{font-size:20px!important}.localized-person p{font-size:15px!important}.ns-new .ns-slide h2{font-size:clamp(42px,5.2vw,72px)}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1000px){.localized-projects,.localized-team{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){html{scroll-padding-top:100px}.localized-projects,.localized-team{grid-template-columns:1fr}.ns-native-form .ns-form-row{grid-template-columns:1fr}.ns-form-wrap form{padding:22px}.ns-editorial h2{font-size:26px!important}.ns-editorial p,.ns-editorial li{font-size:17px!important}}
@media(max-width:600px){body.admin-bar .ns-unified-header{z-index:100001}}

/* Complete native layout for the product/configuration detail pages. */
body.ns-brand #pxl-main .ns-detail{max-width:1240px;margin:0 auto;padding:28px 24px 64px;color:#102e54;overflow-wrap:break-word}
body.ns-brand #pxl-main .ns-detail .ns-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:40px;padding:40px!important;margin:0 0 48px!important;max-width:100%;background:#f7f6ef;border-radius:28px}
body.ns-brand #pxl-main .ns-detail .ns-hero>div{min-width:0}
body.ns-brand #pxl-main .ns-detail .ns-hero h1{font-size:clamp(34px,3.7vw,54px)!important;line-height:1.12!important;margin-bottom:22px}
body.ns-brand #pxl-main .ns-detail .ns-lead{font-size:18px;line-height:1.7;color:#526375;margin-bottom:24px}
body.ns-brand #pxl-main .ns-detail .ns-kicker{display:block;margin-bottom:18px;text-transform:uppercase;font-weight:700;color:#ffb900!important}
body.ns-brand #pxl-main .ns-detail .ns-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 26px}
body.ns-brand #pxl-main .ns-detail .ns-chip{display:inline-flex;align-items:center;border:1px solid #dfe5e9;border-radius:24px;background:#fff;padding:9px 14px;font-size:14px;font-weight:600;line-height:1.4}
body.ns-brand #pxl-main .ns-detail .ns-hero-image{width:100%;aspect-ratio:1/1;max-height:460px;border-radius:22px;overflow:hidden;background:#fff!important}
body.ns-brand #pxl-main .ns-detail .ns-hero-image img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;max-width:100%}
body.ns-brand #pxl-main .ns-detail .ns-section{padding:0;margin:0 0 44px}
body.ns-brand #pxl-main .ns-detail .ns-section h2{font-size:clamp(27px,2.6vw,36px)!important;line-height:1.25!important;margin-bottom:20px}
body.ns-brand #pxl-main .ns-detail .ns-section p,body.ns-brand #pxl-main .ns-detail li{font-size:17px;line-height:1.8;color:#526375}
body.ns-brand #pxl-main .ns-detail .ns-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.ns-brand #pxl-main .ns-detail .ns-box,body.ns-brand #pxl-main .ns-detail .ns-step{min-width:0;padding:28px;border:1px solid #dfe5e9;border-radius:22px;background:#fff}
body.ns-brand #pxl-main .ns-detail .ns-box h2{font-size:27px!important}
body.ns-brand #pxl-main .ns-detail ul{padding-inline-start:22px;margin:0}
body.ns-brand #pxl-main .ns-detail li+li{margin-top:12px}
body.ns-brand #pxl-main .ns-detail .ns-specs{margin:0;border:1px solid #dfe5e9;border-radius:22px;overflow:hidden}
body.ns-brand #pxl-main .ns-detail .ns-spec-row{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(0,1fr);gap:22px;padding:20px 26px;background:#f7f6ef;border-bottom:1px solid #dfe5e9}
body.ns-brand #pxl-main .ns-detail .ns-spec-row:nth-child(even){background:#fff}
body.ns-brand #pxl-main .ns-detail .ns-spec-row:last-child{border-bottom:0}
body.ns-brand #pxl-main .ns-detail dt{font-size:16px;font-weight:700;line-height:1.65}
body.ns-brand #pxl-main .ns-detail dd{margin:0;font-size:16px;color:#526375;line-height:1.65}
body.ns-brand #pxl-main .ns-detail .ns-note{font-size:14px;line-height:1.7;margin-top:20px;color:#637180}
body.ns-brand #pxl-main .ns-detail .ns-step{background:#f7f6ef}
body.ns-brand #pxl-main .ns-detail .ns-step h3{font-size:23px;line-height:1.3;margin-bottom:14px}
body.ns-brand #pxl-main .ns-detail .ns-box p:last-child,body.ns-brand #pxl-main .ns-detail .ns-step p:last-child{margin-bottom:0}
body.ns-brand #pxl-main .ns-detail .ns-faq details{border:1px solid #dfe5e9;border-radius:16px;padding:18px 22px;margin-bottom:12px}
body.ns-brand #pxl-main .ns-detail .ns-faq summary{cursor:pointer;font-weight:700;line-height:1.6}
body.ns-brand #pxl-main .ns-detail .ns-faq details p{margin:18px 0 0}
body.ns-brand #pxl-main .ns-detail .ns-cta{padding:36px;margin:48px 0;background:#102e54;border-radius:24px}
body.ns-brand #pxl-main .ns-detail .ns-cta :is(h2,p,a,.ns-note){color:white!important}
body.ns-brand #pxl-main .ns-detail .ns-cta h2{font-size:clamp(28px,3vw,40px)!important}
body.ns-brand #pxl-main .ns-detail .ns-cta .ns-button{background:#ffb900!important;color:#102e54!important}
body.ns-brand #pxl-main .ns-detail .ns-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.ns-brand #pxl-main .ns-detail .ns-related a{display:flex;align-items:center;min-height:66px;padding:18px 22px;background:#f7f6ef;border:1px solid #dfe5e9;border-radius:18px;font-size:16px;font-weight:700;line-height:1.4;transition:background .2s}
body.ns-brand #pxl-main .ns-detail .ns-related a:hover{background:#ffb900}
body.ns-brand #pxl-main .ns-detail .ns-button{font-size:15px!important;font-weight:700;text-align:center;max-width:100%;white-space:normal}
html[lang=ar] body.ns-brand #pxl-main .ns-detail :is(h1,h2,h3){font-family:Arial,sans-serif!important;letter-spacing:0;line-height:1.5!important}
/* Both slides occupy one grid cell so autoplay does not shift the sections below. */
body.ns-brand.home #pxl-main .ns-new.ns-new-top .hero{display:grid!important;align-items:stretch}
body.ns-brand.home #pxl-main .ns-new.ns-new-top article.hero-slide{grid-area:1/1;align-self:stretch;display:block!important}
body.ns-brand.home #pxl-main .ns-new.ns-new-top article.hero-slide[hidden]{display:block!important;visibility:hidden!important;pointer-events:none}
body.ns-brand.home #pxl-main .ns-new.ns-new-top .hero :is(h1,h2){max-width:49%!important;font-size:clamp(40px,4vw,62px)!important;line-height:1.1!important;margin-bottom:26px!important;color:#102e54!important;text-transform:none!important}
@media(max-width:900px){body.ns-brand.home #pxl-main .ns-new.ns-new-top .hero :is(h1,h2){max-width:100%!important;font-size:clamp(34px,6.5vw,48px)!important}body.ns-brand.home #pxl-main .ns-new.ns-new-top article.hero-slide,body.ns-brand.home #pxl-main .ns-new.ns-new-top article.hero-slide[hidden]{display:flex!important;flex-direction:column!important}}
html body #pxl-main img.ns-photo-team{object-position:85% 50%!important}
@media(max-width:800px){body.ns-brand #pxl-main .ns-detail .ns-hero{grid-template-columns:1fr;gap:28px;padding:28px!important}body.ns-brand #pxl-main .ns-detail .ns-hero-image{max-height:460px;max-width:560px;margin:auto}body.ns-brand #pxl-main .ns-detail .ns-two{gap:18px}}
@media(max-width:600px){body.ns-brand #pxl-main .ns-detail{padding:20px 18px 40px}body.ns-brand #pxl-main .ns-detail .ns-hero{padding:24px!important;margin-bottom:32px!important}body.ns-brand #pxl-main .ns-detail .ns-hero h1{font-size:32px!important}body.ns-brand #pxl-main .ns-detail .ns-lead{font-size:16px}body.ns-brand #pxl-main .ns-detail .ns-two,body.ns-brand #pxl-main .ns-detail .ns-related{grid-template-columns:1fr}body.ns-brand #pxl-main .ns-detail .ns-spec-row{grid-template-columns:1fr;gap:6px;padding:18px 20px}body.ns-brand #pxl-main .ns-detail .ns-box,body.ns-brand #pxl-main .ns-detail .ns-step{padding:22px}body.ns-brand #pxl-main .ns-detail .ns-section{margin-bottom:32px}body.ns-brand #pxl-main .ns-detail .ns-cta{padding:26px;margin:34px 0}body.ns-brand #pxl-main .ns-detail .ns-hero-image{max-height:380px}body.ns-brand #pxl-main .ns-detail .ns-chip{font-size:13px;padding:8px 12px}}
/* Verified manufacturer conformity marks, with no document-card copy. */
#pxl-main .ns-conformity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:32px}
#pxl-main .ns-conformity-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;margin:0;padding:32px 24px;border:1px solid #102e5418;border-radius:24px;background:#fff;text-align:center}
#pxl-main .ns-conformity-logo{display:flex;align-items:center;justify-content:center;height:112px}
#pxl-main .ns-conformity-logo svg{display:block;max-width:100%;overflow:visible}
#pxl-main .ns-conformity-card figcaption{font-size:20px;line-height:1.4;font-weight:650;color:#102e54}
#pxl-main .company-story .story-numbers>div{display:flex!important;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
#pxl-main .company-story .story-numbers strong{font-size:clamp(36px,4vw,64px)!important;white-space:nowrap;line-height:1.1;direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}
#pxl-main .company-story .story-numbers span{font-size:16px;line-height:1.5;max-width:100%}
#pxl-main .ns-confirmation{padding:64px 24px!important;background:#f7f6ef;border-radius:28px;margin:16px}
#pxl-main .ns-confirmation-card{max-width:820px;text-align:center;margin:auto!important}
#pxl-main .ns-confirmation-check{display:inline-flex;width:84px;height:84px;align-items:center;justify-content:center;background:#ffb900;color:#102e54;border-radius:50%;margin-bottom:26px}
#pxl-main .ns-confirmation-message{max-width:600px;margin:0 auto 32px;color:#526375}
#pxl-main .ns-confirmation-actions{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
#pxl-main .ns-confirmation-actions .btn{background:#102e54;color:#fff;gap:20px;justify-content:center}
/* Brand actions and the same readable controls in every language. */
body.ns-brand #pxl-main :is(.ns-new,.ns-page,.ns-detail) :is(a.btn,a.ns-button){background:#ffb900!important;color:#102e54!important;border-color:#ffb900!important}
body.ns-brand #pxl-main :is(.ns-new,.ns-page,.ns-detail) :is(a.btn,a.ns-button):is(:hover,:focus-visible){background:#102e54!important;color:#fff!important;border-color:#102e54!important}
body.ns-brand #pxl-main :is(.ns-new,.ns-page,.ns-detail) a.btn .arrow,body.ns-brand #pxl-main .ns-detail a.ns-button::after{background:#102e54!important;color:#fff!important}
body.ns-brand #pxl-main .capacity-links{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px!important;margin-top:28px!important}
body.ns-brand #pxl-main .capacity-links a{display:inline-flex!important;align-items:center;justify-content:center;direction:ltr;gap:7px;white-space:nowrap;font-size:18px!important;line-height:1.4!important;padding:16px 22px!important;min-height:58px;border-radius:36px;max-width:100%}
body.ns-brand #pxl-main .capacity-links a span{font-size:inherit!important;line-height:inherit!important;display:inline!important}
body.ns-brand.home #pxl-main .hero-project-contact{display:inline-flex!important;align-items:center;gap:18px;margin-top:32px;color:#102e54!important;max-width:100%}
body.ns-brand.home #pxl-main .hero-contact-icon{display:flex;flex:0 0 60px;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:#ffb900;color:#102e54}
body.ns-brand.home #pxl-main .hero-contact-icon svg{display:block;width:30px;height:30px;fill:currentColor;stroke:none}
body.ns-brand.home #pxl-main .hero-project-contact strong{display:block;font-size:18px;line-height:1.5;margin-bottom:3px}
body.ns-brand.home #pxl-main .hero-project-contact bdi{display:block;direction:ltr;font-size:22px;font-weight:700;line-height:1.5}
body.ns-brand.home #pxl-main .solar-marquee{direction:ltr!important;overflow:hidden!important}
body.ns-brand.home #pxl-main .solar-marquee>div{display:flex!important;width:max-content!important;direction:ltr!important;animation:ns-solar-flow 28s linear infinite!important}
body.ns-brand.home #pxl-main .solar-marquee span{display:block!important;flex:0 0 auto;unicode-bidi:isolate;white-space:nowrap;padding-inline-end:32px}
@keyframes ns-solar-flow{from{transform:translateX(0)}to{transform:translateX(-25%)}}
html[lang^="ar"] body.ns-brand #pxl-main :is(h1,h2,h3,p,li,a,span,bdi,button,label,input,select,textarea),html[lang^="ar"] body.ns-brand :is(.ns-unified-header,.ns-unified-footer) :is(h2,h3,p,a,span,bdi,button){font-family:"Cairo",Arial,sans-serif!important;letter-spacing:0!important}
html[lang^="ar"] body.ns-brand #pxl-main :is(h1,h2,h3){line-height:1.5!important}
html[lang^="ar"] body.ns-brand #pxl-main .capacity-links a{font-size:17px!important}
@media(max-width:600px){body.ns-brand #pxl-main .capacity-links{gap:10px!important}body.ns-brand #pxl-main .capacity-links a{font-size:16px!important;padding:13px 18px!important;min-height:52px}body.ns-brand.home #pxl-main .hero-project-contact{gap:14px;margin-top:28px}body.ns-brand.home #pxl-main .hero-project-contact strong{font-size:16px}body.ns-brand.home #pxl-main .hero-project-contact bdi{font-size:20px}body.ns-brand.home #pxl-main .hero-contact-icon{width:52px;height:52px;flex-basis:52px}}
@media(prefers-reduced-motion:reduce){body.ns-brand.home #pxl-main .solar-marquee>div{animation:none!important}}
@media(max-height:820px){.ns-sticky-wa .ns-wa-label{display:none!important}}
@media(max-width:600px){.ns-unified-footer .ns-f-cta h2{padding-right:64px}}
@media(max-width:600px){#pxl-main .ns-confirmation{padding:40px 18px!important;margin:10px;border-radius:20px}#pxl-main .ns-confirmation-card{width:100%!important}#pxl-main .ns-confirmation-actions{flex-direction:column;gap:20px}#pxl-main .ns-confirmation-actions .btn{width:100%}}
@media(max-width:900px){#pxl-main .ns-conformity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#pxl-main .ns-conformity-grid{gap:14px;margin-top:24px}#pxl-main .ns-conformity-card{padding:24px 14px;border-radius:18px;gap:20px}#pxl-main .ns-conformity-ce{width:104px;height:auto}#pxl-main .ns-conformity-card figcaption{font-size:16px;overflow-wrap:anywhere}}
