/* Nafis Content Showcase 2.3 — polished, responsive, fast frontend */
body.ncs-active-template{overflow-x:hidden;background:#fbfcfc}
.ncs-page-main{display:block!important;position:relative!important;width:100vw!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important;clear:both!important;grid-column:1/-1!important;flex:0 0 100vw!important;background:transparent!important;box-sizing:border-box!important}
.ncs-page-main>*{box-sizing:border-box}

.ncs-shell{
    --ncs-green:#0a7d66;
    --ncs-green-2:#16a784;
    --ncs-green-3:#eaf7f2;
    --ncs-red:#d73d4c;
    --ncs-red-soft:#fff0f2;
    --ncs-gold:#d7a332;
    --ncs-ink:#18221f;
    --ncs-muted:#68766f;
    --ncs-line:#dfe9e5;
    --ncs-soft:#f5f9f7;
    --ncs-white:#fff;
    direction:rtl;
    width:calc(100% - 56px)!important;
    max-width:1240px!important;
    min-width:0!important;
    margin:36px auto 64px!important;
    padding:0!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
    color:var(--ncs-ink);
    font-family:var(--e-global-typography-text-font-family,var(--wp--preset--font-family--body,"Vazirmatn")),"IRANYekan","IRANSansX","Yekan Bakh","YekanBakhFaNum","Peyda","Dana","Estedad","Shabnam","Sahel",Tahoma,Arial,sans-serif;
    font-feature-settings:"kern" 1;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}
.ncs-shell *{box-sizing:border-box}
.ncs-shell a{-webkit-tap-highlight-color:transparent}
.ncs-shell button{font:inherit}

/* Hero */
.ncs-hero{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    width:100%;
    max-width:1060px;
    margin:0 auto 22px;
    padding:44px 58px 40px;
    text-align:center;
    background:
        radial-gradient(circle at 9% 18%,rgba(22,167,132,.09),transparent 22%),
        radial-gradient(circle at 91% 78%,rgba(215,61,76,.07),transparent 24%),
        linear-gradient(145deg,#f3fbf8 0%,#fff 52%,#fff8f8 100%);
    border:1px solid #d9e8e2;
    border-radius:32px;
    box-shadow:0 18px 55px rgba(18,68,55,.075);
}
.ncs-hero:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--ncs-green),var(--ncs-green-2) 50%,var(--ncs-red))}
.ncs-hero:after{content:"";position:absolute;z-index:-1;width:220px;height:220px;border:1px solid rgba(10,125,102,.09);border-radius:50%;left:-105px;top:-125px;box-shadow:0 0 0 28px rgba(10,125,102,.025),0 0 0 58px rgba(10,125,102,.018)}
.ncs-kicker{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0 auto 14px;padding:8px 15px;border:1px solid #cfe6dd;border-radius:999px;background:rgba(255,255,255,.92);color:var(--ncs-green);font-size:13px;font-weight:850;line-height:1.5;box-shadow:0 5px 16px rgba(15,88,69,.05)}
.ncs-kicker span{color:var(--ncs-red)}
.ncs-hero h1{max-width:930px;margin:0 auto;color:#15201c;font-size:clamp(32px,3.4vw,50px);font-weight:950;line-height:1.65;letter-spacing:-.45px}
.ncs-subtitle{max-width:780px;margin:12px auto 0;color:var(--ncs-muted);font-size:17px;line-height:2}
.ncs-meta{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:20px;color:#64716c;font-size:12.5px}
.ncs-meta span{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 11px;border:1px solid #e0eae6;border-radius:999px;background:rgba(255,255,255,.86);box-shadow:0 3px 10px rgba(25,67,56,.025)}
.ncs-meta b{color:var(--ncs-green);font-weight:800}
.ncs-meta-view{background:#fff8f8!important;border-color:#f0dadd!important}
.ncs-meta-view b{color:var(--ncs-red)!important}
.ncs-view-count{font-weight:900;color:#222}

/* Hafez — local/site fonts only, no remote request */
.ncs-hafez .ncs-kicker{font-family:"IranNastaliq","Noto Nastaliq Urdu","B Nazanin","B Lotus",serif;font-size:19px;font-weight:400;line-height:1.7}
.ncs-hafez .ncs-hero h1{font-family:"IranNastaliq","Noto Nastaliq Urdu","B Nazanin","B Lotus",serif;font-size:clamp(42px,4.3vw,62px);font-weight:400;line-height:1.95;letter-spacing:0}

/* Article */
.ncs-layout{display:block!important;width:100%;margin:0!important}
.ncs-layout-wide{display:block!important}
.ncs-article{
    position:relative;
    width:100%;
    max-width:1020px;
    min-width:0;
    margin:0 auto;
    padding:52px 62px 44px;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--ncs-line);
    border-radius:32px;
    box-shadow:0 18px 58px rgba(20,61,51,.07);
}
.ncs-article:before{content:"";position:absolute;left:28px;top:28px;width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,rgba(10,125,102,.04),rgba(215,61,76,.035));pointer-events:none}
.ncs-accent-line{position:absolute;top:42px;right:0;bottom:42px;width:5px;border-radius:5px 0 0 5px;background:linear-gradient(180deg,var(--ncs-green-2),var(--ncs-green) 58%,var(--ncs-red))}
.ncs-content{max-width:875px;margin:0 auto;color:#222c28;font-size:19px;font-weight:430;line-height:2.3;text-align:right;overflow-wrap:anywhere}
.ncs-content>:first-child{margin-top:0!important}
.ncs-content>:last-child{margin-bottom:0!important}
.ncs-content p{margin:0 0 23px}
.ncs-content h2,.ncs-content h3,.ncs-content h4{position:relative;color:#14201c;font-weight:950;line-height:1.8;margin:44px 0 18px}
.ncs-content h2{font-size:30px;padding-right:16px}
.ncs-content h2:before{content:"";position:absolute;right:0;top:.35em;bottom:.35em;width:4px;border-radius:4px;background:linear-gradient(var(--ncs-green-2),var(--ncs-red))}
.ncs-content h3{font-size:24px}
.ncs-content h4{font-size:20px}
.ncs-content a{color:var(--ncs-green);font-weight:850;text-decoration-thickness:1px;text-underline-offset:4px}
.ncs-content strong{font-weight:900;color:#17211d}
.ncs-content blockquote{margin:32px 0;padding:22px 24px;border:1px solid #efdfe1;border-right:5px solid var(--ncs-red);border-radius:18px;background:linear-gradient(135deg,#fffafa,#fff);color:#34413c;box-shadow:0 6px 20px rgba(90,45,52,.035)}
.ncs-content img{display:block;max-width:100%;height:auto;margin:28px auto;border-radius:20px;box-shadow:0 10px 30px rgba(28,61,52,.06)}
.ncs-content figure{max-width:100%;margin:30px auto}
.ncs-content figure img{margin:0 auto}
.ncs-content figcaption{margin-top:10px;text-align:center;color:var(--ncs-muted);font-size:13px;line-height:1.9}
.ncs-content ul,.ncs-content ol{padding-right:27px;margin:0 0 23px}
.ncs-content li{margin:9px 0}
.ncs-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ncs-content th,.ncs-content td{padding:11px 13px;border:1px solid var(--ncs-line);white-space:nowrap}
.ncs-content iframe,.ncs-content video{display:block;max-width:100%;margin-inline:auto;border-radius:18px}

/* Hafez body becomes calmer and more literary without hurting headings */
.ncs-hafez .ncs-content{font-family:"Vazirmatn","IRANSansX","B Nazanin",Tahoma,sans-serif;font-size:19.5px;line-height:2.45}
.ncs-hafez .ncs-content h2,.ncs-hafez .ncs-content h3{font-family:"Vazirmatn","IRANSansX","Yekan Bakh",Tahoma,sans-serif}

/* Share */
.ncs-share{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;max-width:875px;margin:42px auto 0;padding:22px;border:1px solid #d3e7df;border-radius:22px;background:linear-gradient(135deg,#eef9f5,#fff 55%,#fff8f8);overflow:hidden}
.ncs-share:before{content:"";position:absolute;left:-30px;bottom:-50px;width:130px;height:130px;border-radius:50%;background:rgba(215,61,76,.045);pointer-events:none}
.ncs-share-copy{position:relative;z-index:1;min-width:0}
.ncs-share-kicker{display:inline-block!important;margin:0 0 4px!important;color:var(--ncs-red)!important;font-size:11.5px!important;font-weight:900!important;letter-spacing:.1px}
.ncs-share-copy strong{display:block;margin-bottom:3px;color:#17211d;font-size:17px;font-weight:950}
.ncs-share-copy>span:last-child{display:block;color:var(--ncs-muted);font-size:13px;line-height:1.9}
.ncs-share-actions{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.ncs-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 12px;border:1px solid #d8e6e1;border-radius:12px;background:#fff;color:#27332e!important;font-size:12px;font-weight:850;text-decoration:none!important;cursor:pointer;box-shadow:0 4px 12px rgba(23,68,56,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease}
.ncs-share-btn svg{width:18px;height:18px;fill:currentColor;flex:none}
.ncs-share-native{border-color:#0a7d66;background:var(--ncs-green);color:#fff!important}
.ncs-share-whatsapp{color:#168c55!important}
.ncs-share-telegram{color:#197fb5!important}
.ncs-copy-link{color:#555f5b!important}
.ncs-share-status{grid-column:1/-1;min-height:0;color:var(--ncs-green);font-size:12px;font-weight:800;line-height:1.5}
.ncs-share-status:empty{display:none}

/* Ad — more visible but still elegant */
.ncs-inline-ad{width:100%;max-width:1020px;margin:26px auto 0}
.ncs-ad-card{position:relative;display:block;overflow:hidden;min-height:230px;border:1px solid rgba(255,255,255,.35);border-radius:30px;background:linear-gradient(135deg,#096e5b 0%,#0b896f 50%,#075d50 100%);color:#fff;box-shadow:0 20px 55px rgba(7,99,79,.18)}
.ncs-ad-card.has-image{display:grid;grid-template-columns:minmax(0,330px) minmax(0,1fr)}
.ncs-ad-card.no-image .ncs-ad-copy{min-height:230px;align-items:center;text-align:center}
.ncs-ad-card.no-image .ncs-ad-card p{margin-inline:auto}
.ncs-ad-card.no-image .ncs-ad-copy p{margin-inline:auto}
.ncs-ad-card.no-image .ncs-ad-badge{align-self:center}
.ncs-ad-card:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 45%,rgba(255,255,255,.06));pointer-events:none}
.ncs-ad-orb{position:absolute;border-radius:50%;pointer-events:none;filter:blur(.2px)}
.ncs-ad-orb-one{width:190px;height:190px;left:-70px;bottom:-90px;background:rgba(255,255,255,.08)}
.ncs-ad-orb-two{width:90px;height:90px;right:35%;top:-45px;background:rgba(215,61,76,.2)}
.ncs-ad-image{position:relative;z-index:1;min-width:0;background:#edf4f1;overflow:hidden}
.ncs-ad-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,94,77,.1),transparent 40%);pointer-events:none}
.ncs-ad-image img{display:block;width:100%;height:100%;min-height:230px;object-fit:cover;transition:transform .28s ease}
.ncs-ad-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:34px 38px;text-align:right}
.ncs-ad-badge{display:inline-flex;align-items:center;gap:6px;margin-bottom:11px;padding:7px 11px;border-radius:999px;background:#fff;color:var(--ncs-red);font-size:12px;font-weight:950;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.ncs-ad-badge span{color:var(--ncs-gold)}
.ncs-ad-card h2{margin:0 0 8px;color:#fff;font-size:28px;font-weight:950;line-height:1.65;text-shadow:0 1px 0 rgba(0,0,0,.05)}
.ncs-ad-card p{max-width:640px;margin:0;color:#e8fff7;font-size:14.5px;line-height:2.05}
.ncs-ad-cta{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;margin-top:17px;padding:11px 18px;border-radius:13px;background:#fff;color:#076451!important;font-size:13px;font-weight:950;text-decoration:none!important;box-shadow:0 8px 22px rgba(0,0,0,.11);transition:transform .18s ease,box-shadow .18s ease}

/* Products */
.ncs-products-wrap{content-visibility:auto;contain-intrinsic-size:650px;width:100%;margin:32px auto 0;padding:34px 30px 30px;border:1px solid #dce8e3;border-radius:32px;background:linear-gradient(180deg,#f7faf9,#f1f7f4);box-shadow:0 12px 38px rgba(21,69,56,.045)}
.ncs-section-head{max-width:760px;margin:0 auto 26px;text-align:center}
.ncs-section-eyebrow{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px;padding:7px 12px;border:1px solid #f3d7db;border-radius:999px;background:#fff;color:var(--ncs-red);font-size:11.5px;font-weight:950;box-shadow:0 4px 14px rgba(87,35,42,.03)}
.ncs-section-eyebrow span{color:var(--ncs-gold)}
.ncs-section-head h2{margin:0;color:#0a725e;font-size:29px;font-weight:950;line-height:1.7}
.ncs-section-head p{margin:6px 0 0;color:var(--ncs-muted);font-size:13.5px;line-height:1.9}
.ncs-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;align-items:stretch}
.ncs-product-card{display:flex;flex-direction:column;height:100%;min-width:0;overflow:hidden;border:1px solid #dbe7e2;border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(25,67,56,.055);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ncs-product-media{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff,#fbfdfc)}
.ncs-product-badge{position:absolute;z-index:2;top:10px;right:10px;display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border-radius:999px;background:#edf8f4;color:var(--ncs-green);font-size:10.5px;font-weight:950;box-shadow:0 3px 10px rgba(20,75,60,.06)}
.ncs-product-badge.is-sale{background:var(--ncs-red);color:#fff}
.ncs-product-image{display:block;aspect-ratio:1/1;padding:18px;background:transparent;overflow:hidden}
.ncs-product-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .22s ease}
.ncs-product-body{display:flex;flex:1;flex-direction:column;padding:15px 16px 17px;border-top:1px solid #eff4f2;text-align:right}
.ncs-product-body h3{display:-webkit-box;min-height:56px;margin:0 0 7px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#202a26;font-size:14.2px;font-weight:850;line-height:1.95}
.ncs-product-body h3 a{color:inherit;text-decoration:none}
.ncs-product-rating{display:flex;align-items:center;gap:4px;min-height:22px;margin:-1px 0 7px;color:#a87405;font-size:11.5px;font-weight:850}
.ncs-product-rating span{color:#e0a51f;font-size:14px}
.ncs-product-rating small{color:#8b9691;font-size:10.5px;font-weight:600}
.ncs-price{margin:0 0 11px;color:var(--ncs-green);font-size:14px;font-weight:950;line-height:1.85}
.ncs-price del{opacity:.55;font-size:.86em;margin-left:4px}
.ncs-price ins{text-decoration:none}
.ncs-product-btn{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:43px;margin-top:auto;padding:9px 12px;border:1px solid #cfe5dc;border-radius:12px;background:linear-gradient(135deg,#f0f9f5,#eaf7f2);color:var(--ncs-green)!important;font-size:12px;font-weight:950;text-decoration:none!important;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.ncs-product-btn b{font-size:16px;line-height:1}

/* Remove duplicate theme article elements */
.ncs-active-template.single-post :where(.entry-title,.single-post-title,.post-title,.entry-meta,.post-meta,.post-thumbnail,.featured-image,.single-featured-image-header,.wp-post-image.post-thumbnail){display:none!important}

.ncs-fal-next-copy:before{content:"❦";display:block;margin-bottom:2px;color:rgba(198,145,34,.72);font-family:Georgia,serif;font-size:18px;line-height:1}
@media (hover:hover) and (pointer:fine){
    .ncs-share-btn:hover{transform:translateY(-2px);border-color:#bdd9cf;box-shadow:0 8px 20px rgba(23,68,56,.07)}
    .ncs-product-card:hover{transform:translateY(-5px);border-color:#bdd8ce;box-shadow:0 18px 38px rgba(20,66,54,.10)}
    .ncs-product-card:hover .ncs-product-image img{transform:scale(1.035)}
    .ncs-product-btn:hover{border-color:var(--ncs-green);background:var(--ncs-green);color:#fff!important}
    .ncs-ad-card:hover .ncs-ad-image img{transform:scale(1.025)}
    .ncs-ad-cta:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.14)}
}

/* Tablet */
@media (max-width:1024px){
    .ncs-shell{width:calc(100% - 36px)!important;margin-top:28px!important}
    .ncs-hero{max-width:940px;padding:38px 36px;border-radius:28px}
    .ncs-article{max-width:940px;padding:44px 42px 38px;border-radius:28px}
    .ncs-content{max-width:820px;font-size:18px}
    .ncs-inline-ad{max-width:940px}
    .ncs-ad-card{grid-template-columns:minmax(0,270px) minmax(0,1fr)}
    .ncs-share{grid-template-columns:1fr;gap:14px}
    .ncs-share-actions{justify-content:flex-start}
    .ncs-products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}

/* Phones: products remain exactly two-by-two */
@media (max-width:767px){
    .ncs-page-main{width:100vw!important;max-width:100vw!important}
    .ncs-shell{width:calc(100% - 20px)!important;margin:16px auto 38px!important}
    .ncs-hero{margin-bottom:14px;padding:27px 17px 24px;border-radius:22px;box-shadow:0 8px 26px rgba(18,68,55,.045)}
    .ncs-kicker{margin-bottom:10px;padding:7px 11px;font-size:12px}
    .ncs-hero h1{font-size:28px;line-height:1.75}
    .ncs-hafez .ncs-hero h1{font-size:39px;line-height:2}
    .ncs-hafez .ncs-kicker{font-size:17px}
    .ncs-subtitle{font-size:15px}
    .ncs-meta{margin-top:14px;gap:6px;font-size:11.2px}
    .ncs-meta span{min-height:31px;padding:6px 8px}
    .ncs-article{padding:29px 18px 24px;border-radius:22px;box-shadow:0 8px 28px rgba(20,61,51,.045)}
    .ncs-article:before{display:none}
    .ncs-accent-line{top:27px;bottom:27px;width:3px}
    .ncs-content{font-size:16.5px;line-height:2.18}
    .ncs-hafez .ncs-content{font-size:17px;line-height:2.35}
    .ncs-content p{margin-bottom:19px}
    .ncs-content h2{margin-top:35px;font-size:23px;padding-right:12px}
    .ncs-content h3{font-size:20px}
    .ncs-content h4{font-size:18px}
    .ncs-content img{margin:20px auto;border-radius:14px}
    .ncs-share{grid-template-columns:1fr;margin-top:31px;padding:17px 14px;border-radius:17px}
    .ncs-share-copy strong{font-size:15px}
    .ncs-share-copy>span:last-child{font-size:12px}
    .ncs-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%}
    .ncs-share-btn{width:100%;min-height:40px;padding:8px 7px;font-size:11px}
    .ncs-inline-ad{margin-top:15px}
    .ncs-ad-card{display:block;min-height:0;border-radius:22px;box-shadow:0 12px 34px rgba(7,99,79,.13)}
    .ncs-ad-image{aspect-ratio:16/8.2}
    .ncs-ad-image img{height:100%;min-height:0;object-fit:cover}
    .ncs-ad-copy{padding:23px 18px;align-items:stretch}
    .ncs-ad-badge{align-self:flex-start}
    .ncs-ad-card h2{font-size:22px}
    .ncs-ad-card p{font-size:13px}
    .ncs-ad-cta{width:100%;margin-top:15px}
    .ncs-products-wrap{margin-top:19px;padding:21px 9px 14px;border-radius:22px}
    .ncs-section-head{margin-bottom:17px;padding:0 8px}
    .ncs-section-head h2{font-size:22px}
    .ncs-section-head p{font-size:12px}
    .ncs-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
    .ncs-product-card{border-radius:16px;box-shadow:0 4px 14px rgba(25,67,56,.04)}
    .ncs-product-badge{top:7px;right:7px;min-height:23px;padding:4px 7px;font-size:9.2px}
    .ncs-product-image{padding:8px}
    .ncs-product-body{padding:10px 8px 10px}
    .ncs-product-body h3{min-height:43px;margin-bottom:5px;font-size:12px;line-height:1.78}
    .ncs-product-rating{margin-bottom:4px;font-size:10px}
    .ncs-product-rating span{font-size:12px}
    .ncs-product-rating small{font-size:9px}
    .ncs-price{margin-bottom:7px;font-size:12px;line-height:1.65}
    .ncs-product-btn{min-height:37px;padding:7px 6px;border-radius:9px;font-size:10.5px;gap:4px}
    .ncs-product-btn b{font-size:13px}
}

@media (max-width:360px){
    .ncs-shell{width:calc(100% - 14px)!important}
    .ncs-products-grid{gap:6px}
    .ncs-product-body{padding-inline:7px}
    .ncs-product-body h3{font-size:11.5px}
    .ncs-price{font-size:11.5px}
    .ncs-product-btn{font-size:10px;padding-inline:4px}
    .ncs-share-btn{font-size:10.5px}
}

@media (prefers-reduced-motion:reduce){
    .ncs-shell *{scroll-behavior:auto!important;transition:none!important}
}

/* =========================================================
   Nafis Content Showcase 2.4 — typography & reading polish
   Normalizes imported editor typography so Persian content
   stays consistent, readable and elegant on every screen.
   ========================================================= */
.ncs-shell{
    --ncs-font-body:var(--e-global-typography-text-font-family,var(--wp--preset--font-family--body,"Vazirmatn")),"IRANSansX","IRANYekanX","Yekan Bakh","YekanBakhFaNum","Peyda","Dana","Estedad","Shabnam","Sahel",Tahoma,Arial,sans-serif;
    --ncs-font-title:var(--e-global-typography-primary-font-family,var(--wp--preset--font-family--heading,var(--e-global-typography-text-font-family,"Vazirmatn"))),"IRANSansX","IRANYekanX","Yekan Bakh","Peyda","Dana","Estedad",Tahoma,Arial,sans-serif;
    font-family:var(--ncs-font-body)!important;
    font-kerning:normal;
    font-variant-ligatures:common-ligatures contextual;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
.ncs-hero h1,.ncs-content h1,.ncs-content h2,.ncs-content h3,.ncs-content h4,.ncs-section-head h2,.ncs-ad-card h2,.ncs-product-body h3{
    font-family:var(--ncs-font-title)!important;
    letter-spacing:0!important;
}

/* Kill inconsistent pasted font rules while preserving colors/emphasis. */
.ncs-content :where(p,li,blockquote,td,th,figcaption,span,strong,b,em,i,a,small){
    font-family:inherit!important;
    letter-spacing:0!important;
    word-spacing:normal!important;
    text-transform:none!important;
}
.ncs-content :where(p,li,blockquote,td,th){
    font-size:inherit!important;
    line-height:inherit!important;
}
.ncs-content :where(p,li,blockquote,td,th) :where(span,strong,b,em,i,a,small){
    font-size:inherit!important;
    line-height:inherit!important;
}
.ncs-content{
    max-width:840px;
    color:#202925;
    font-size:18px;
    font-weight:450;
    line-height:2.22;
    text-align:right;
    text-wrap:pretty;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:none;
}
.ncs-content p{
    margin:0 0 1.2em;
    padding:0;
}
.ncs-content p:empty{display:none}
.ncs-content strong,.ncs-content b{font-weight:850!important}
.ncs-content em,.ncs-content i{font-style:normal;color:#4d5b55}
.ncs-content h2,.ncs-content h3,.ncs-content h4{
    text-wrap:balance;
    letter-spacing:0!important;
}
.ncs-content h2{
    margin:46px 0 20px;
    padding:12px 18px 12px 18px;
    border:1px solid #e0ebe7;
    border-radius:16px;
    background:linear-gradient(135deg,#f4fbf8,#fff 58%,#fff8f8);
    font-size:27px;
    font-weight:900;
    line-height:1.9;
    box-shadow:0 6px 20px rgba(19,72,58,.035);
}
.ncs-content h2:before{
    right:0;
    top:14px;
    bottom:14px;
    width:4px;
    border-radius:6px 0 0 6px;
}
.ncs-content h3{font-size:22px;font-weight:850;line-height:1.9}
.ncs-content h4{font-size:19px;font-weight:850;line-height:1.9}

/* Hafez pages: literary, but never dependent on a remote font. */
.ncs-hafez .ncs-hero h1{
    font-family:"IranNastaliq",var(--ncs-font-title)!important;
    font-size:clamp(34px,3.7vw,52px)!important;
    font-weight:700!important;
    line-height:1.9!important;
    letter-spacing:0!important;
}
.ncs-hafez .ncs-kicker{
    font-family:"IranNastaliq",var(--ncs-font-body)!important;
    font-size:16px!important;
    font-weight:650!important;
    line-height:1.7!important;
}
.ncs-hafez .ncs-content{
    font-family:var(--ncs-font-body)!important;
    max-width:830px;
    font-size:18.5px!important;
    line-height:2.35!important;
}
/* Verse section remains centered; prose after the first content heading is easier to read. */
.ncs-hafez .ncs-content > p{
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
    text-align:center!important;
    text-align-last:center;
}
.ncs-hafez .ncs-content > h2 ~ p,
.ncs-hafez .ncs-content > h3 ~ p{
    max-width:100%;
    text-align:justify!important;
    text-align-last:right;
}
.ncs-hafez .ncs-content h2{
    padding:14px 20px;
    text-align:right;
    font-size:26px!important;
    line-height:1.95!important;
}

/* Make the reading card calmer and more premium. */
.ncs-article{
    max-width:1000px;
    padding:54px 66px 48px;
    border-color:#dfe9e5;
    background:linear-gradient(180deg,#fff,#fefefe);
    box-shadow:0 18px 50px rgba(19,66,54,.055);
}
.ncs-hero{
    max-width:1000px;
    box-shadow:0 14px 42px rgba(18,68,55,.06);
}
.ncs-accent-line{opacity:.9}

/* Product typography should remain compact and consistent even if theme CSS is aggressive. */
.ncs-product-card,.ncs-product-card *{font-family:var(--ncs-font-body)!important}
.ncs-product-body h3{font-size:14px!important;line-height:1.9!important;font-weight:850!important}
.ncs-price{font-size:14px!important;line-height:1.8!important}
.ncs-product-btn{font-size:12px!important}

@media (max-width:1024px){
    .ncs-article{padding:46px 44px 40px}
    .ncs-content{max-width:800px;font-size:17.5px;line-height:2.2}
    .ncs-hafez .ncs-content{font-size:18px!important;line-height:2.3!important}
    .ncs-content h2{font-size:25px}
}

@media (max-width:767px){
    .ncs-shell{width:calc(100% - 16px)!important}
    .ncs-hero{padding:24px 15px 22px}
    .ncs-hero h1{font-size:25px!important;line-height:1.8!important}
    .ncs-hafez .ncs-hero h1{font-size:31px!important;line-height:2!important}
    .ncs-hafez .ncs-kicker{font-size:14px!important}
    .ncs-article{padding:27px 16px 25px}
    .ncs-content{font-size:16.4px!important;line-height:2.18!important}
    .ncs-hafez .ncs-content{font-size:16.7px!important;line-height:2.3!important}
    .ncs-content p{margin-bottom:1.08em}
    .ncs-content h2{margin-top:34px;padding:10px 13px;font-size:21px!important;line-height:1.95!important;border-radius:13px}
    .ncs-hafez .ncs-content h2{padding:10px 13px;font-size:21px!important;line-height:1.95!important}
    .ncs-content h3{font-size:19px!important}
    .ncs-content h4{font-size:17px!important}
    .ncs-product-body h3{font-size:11.8px!important;line-height:1.75!important}
    .ncs-price{font-size:11.8px!important;line-height:1.65!important}
    .ncs-product-btn{font-size:10.5px!important}
}

@media (max-width:360px){
    .ncs-content{font-size:15.8px!important}
    .ncs-hafez .ncs-content{font-size:16px!important}
    .ncs-hero h1{font-size:23px!important}
    .ncs-hafez .ncs-hero h1{font-size:29px!important}
}

/* =========================================================
   Nafis Content Showcase 2.5.1 — random Hafez card, polish & overlays
   ========================================================= */

/* Hide only known floating menu controls on showcase posts. The JS fallback
   also removes theme-specific fixed hamburger buttons loaded after the page. */
body.ncs-active-template .floating-menu-toggle,
body.ncs-active-template .floating-menu-button,
body.ncs-active-template .floating-hamburger,
body.ncs-active-template .fixed-menu-toggle,
body.ncs-active-template .fixed-hamburger,
body.ncs-active-template [class*="floating-menu-toggle"],
body.ncs-active-template [class*="floating-hamburger"]{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Random Hafez fortune suggestion — the whole editorial card is clickable; no button UI. */
.ncs-fal-next{
    position:relative;
    isolation:isolate;
    max-width:875px;
    margin:38px auto 0;
    overflow:hidden;
    border:1px solid #eadfc6;
    border-radius:26px;
    background:
        radial-gradient(circle at 11% 12%,rgba(214,166,53,.16),transparent 31%),
        radial-gradient(circle at 90% 88%,rgba(9,126,104,.12),transparent 35%),
        linear-gradient(145deg,#fff8ec 0%,#fffdf9 48%,#f1faf6 100%);
    box-shadow:0 16px 42px rgba(70,57,25,.08);
}
.ncs-fal-next:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#d9a72e 0%,#0a7d66 55%,#cf4450 100%)}
.ncs-fal-next:after{content:"حافظ";position:absolute;z-index:-1;left:20px;bottom:-34px;color:rgba(10,125,102,.045);font-family:"IranNastaliq","Noto Nastaliq Urdu","Noto Nastaliq Persian",serif;font-size:112px;line-height:1;transform:rotate(-5deg);pointer-events:none}
.ncs-fal-next-link{
    display:grid;
    grid-template-columns:70px minmax(0,1fr);
    align-items:center;
    gap:19px;
    min-height:170px;
    padding:26px 28px;
    color:inherit!important;
    text-decoration:none!important;
    outline:0;
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.ncs-fal-next-link:focus-visible{box-shadow:inset 0 0 0 3px rgba(10,125,102,.23)}
.ncs-fal-next-icon{display:inline-flex;align-items:center;justify-content:center;width:68px;height:68px;border:1px solid #ead9b2;border-radius:20px;background:rgba(255,255,255,.82);box-shadow:0 8px 22px rgba(118,89,24,.10)}
.ncs-fal-next-icon svg{width:34px;height:34px;fill:#c69122;filter:drop-shadow(0 2px 4px rgba(93,66,15,.13))}
.ncs-fal-next-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;text-align:right}
.ncs-fal-next-eyebrow{display:inline-flex;align-items:center;margin-bottom:7px;padding:6px 13px;border:1px solid #ead9b2;border-radius:999px;background:rgba(255,255,255,.78);color:#8b6414;font-size:12px;font-weight:950;line-height:1.6}
.ncs-fal-next-copy>strong{display:block;margin:0 0 2px;color:#17473b;font-family:var(--ncs-font-title,var(--ncs-font-body))!important;font-size:18px;font-weight:950;line-height:1.9}
.ncs-fal-next-title{display:block;width:100%;margin:0 0 5px;color:#17231f;font-family:var(--ncs-font-title,var(--ncs-font-body))!important;font-size:21px;font-weight:950;line-height:1.75}
.ncs-fal-next-excerpt{display:-webkit-box;width:100%;overflow:hidden;color:#68716d;font-size:12.5px;line-height:1.95;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ncs-fal-next-note{display:block;width:100%;margin-top:9px;color:#7f6c50;font-size:12px;font-weight:750;line-height:2}
.ncs-fal-next-arrow{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#0a7d66;color:#fff;font-size:22px;font-weight:800;box-shadow:0 7px 18px rgba(10,125,102,.20);transition:transform .2s ease}

.ncs-fal-next-copy:before{content:"❦";display:block;margin-bottom:2px;color:rgba(198,145,34,.72);font-family:Georgia,serif;font-size:18px;line-height:1}
@media (hover:hover) and (pointer:fine){
    .ncs-fal-next:hover{box-shadow:0 20px 50px rgba(70,57,25,.115)}
    .ncs-fal-next-link:hover{transform:translateY(-2px);color:inherit!important}
    .ncs-fal-next-link:hover .ncs-fal-next-arrow{transform:translateX(-4px)}
}

@media(max-width:780px){
    .ncs-fal-next{margin-top:30px;border-radius:22px}
    .ncs-fal-next-link{grid-template-columns:56px minmax(0,1fr);gap:13px;min-height:150px;padding:21px 18px}
    .ncs-fal-next-icon{width:52px;height:52px;border-radius:17px}
    .ncs-fal-next-icon svg{width:27px;height:27px}
    .ncs-fal-next-copy>strong{font-size:15.5px}
    .ncs-fal-next-title{font-size:18px}
    .ncs-fal-next-excerpt{font-size:12px;line-height:1.85}
    .ncs-fal-next-note{font-size:10.8px}
}

@media(max-width:480px){
    .ncs-fal-next{margin-top:26px;border-radius:19px}
    .ncs-fal-next:after{font-size:78px;bottom:-23px}
    .ncs-fal-next-link{grid-template-columns:46px minmax(0,1fr);gap:10px;min-height:142px;padding:17px 12px}
    .ncs-fal-next-icon{width:44px;height:44px;border-radius:14px}
    .ncs-fal-next-icon svg{width:23px;height:23px}
    .ncs-fal-next-eyebrow{padding:4px 8px;font-size:10px}
    .ncs-fal-next-copy>strong{font-size:14px}
    .ncs-fal-next-title{font-size:16px;line-height:1.7}
    .ncs-fal-next-excerpt{font-size:11.3px;line-height:1.8;-webkit-line-clamp:2}
    .ncs-fal-next-note{font-size:10px;line-height:1.75}
    .ncs-fal-next-arrow{width:28px;height:28px;font-size:18px}
}

@media(prefers-reduced-motion:reduce){.ncs-fal-next-link,.ncs-fal-next-arrow{transition:none!important}}

/* Slightly richer share card so it visually follows the fortune CTA. */
.ncs-fal-post .ncs-share{margin-top:18px}
.ncs-share{box-shadow:0 10px 28px rgba(23,68,56,.045)}
.ncs-share-native{box-shadow:0 7px 18px rgba(10,125,102,.14)}


/* Common WordPress/theme off-canvas sidebar hamburger buttons that can float over article text. */
body.ncs-active-template .wd-sidebar-opener,
body.ncs-active-template .wd-show-sidebar-btn,
body.ncs-active-template .woodmart-sidebar-opener,
body.ncs-active-template .woodmart-show-sidebar-btn,
body.ncs-active-template .sidebar-opener,
body.ncs-active-template .offcanvas-sidebar-opener,
body.ncs-active-template .off-canvas-sidebar-opener{display:none!important;visibility:hidden!important;pointer-events:none!important}


/* =========================================================
   Nafis Content Showcase 2.5.3 — cleaner fortune CTA
   ========================================================= */
.ncs-fal-next-excerpt,.ncs-fal-next-eyebrow{display:none!important}
.ncs-fal-next-copy>strong{margin-bottom:5px!important}
.ncs-fal-next-title{margin-bottom:7px!important}
.ncs-fal-next-note{max-width:760px;margin-top:5px!important;color:#6f6250!important}
.ncs-fal-retry-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:150px;
    min-height:47px;
    margin-top:17px;
    padding:10px 22px;
    border:1px solid rgba(10,125,102,.17);
    border-radius:15px;
    background:linear-gradient(135deg,#0b846b 0%,#086f5b 100%);
    color:#fff!important;
    box-shadow:0 10px 24px rgba(10,125,102,.22),inset 0 1px 0 rgba(255,255,255,.18);
    font-family:var(--ncs-font-title,var(--ncs-font-body))!important;
    font-size:14px;
    font-weight:950;
    line-height:1.4;
    text-shadow:0 1px 0 rgba(0,0,0,.05);
    transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.ncs-fal-retry-btn>span{font-size:19px;font-weight:500;line-height:1}
@media (hover:hover) and (pointer:fine){
    .ncs-fal-next-link:hover .ncs-fal-retry-btn{transform:translateY(-2px);box-shadow:0 14px 30px rgba(10,125,102,.28);filter:saturate(1.06)}
}
@media(max-width:780px){
    .ncs-fal-retry-btn{min-width:135px;min-height:44px;margin-top:14px;padding:9px 18px;border-radius:13px;font-size:13px}
}
@media(max-width:480px){
    .ncs-fal-next-copy{align-items:stretch}
    .ncs-fal-retry-btn{width:100%;min-width:0;min-height:45px;margin-top:13px;font-size:12.5px}
}

/* =========================================================
   Nafis Content Showcase 2.5.4 — fortune interstitial ad
   ========================================================= */
.ncs-fal-mid-ad{
    position:relative;
    max-width:840px;
    margin:26px auto 30px;
    overflow:visible;
}
.ncs-fal-mid-ad>a,.ncs-fal-mid-ad-static{
    position:relative;
    display:block;
    overflow:hidden;
    width:100%;
    height:148px;
    border:1px solid rgba(10,125,102,.14);
    border-radius:20px;
    background:#f7faf8;
    box-shadow:0 10px 28px rgba(30,66,56,.07);
    text-decoration:none!important;
    isolation:isolate;
}
.ncs-fal-mid-ad img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .25s ease,filter .25s ease;
}
.ncs-fal-mid-ad-alert{
    position:absolute;
    z-index:3;
    top:10px;
    right:11px;
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:30px;
    padding:5px 10px;
    border:1px solid rgba(255,255,255,.7);
    border-radius:999px;
    background:rgba(255,255,255,.94);
    color:#18483c;
    box-shadow:0 7px 18px rgba(27,56,49,.13);
    font-family:var(--ncs-font-title,var(--ncs-font-body))!important;
    font-size:11px;
    font-weight:950;
    line-height:1.4;
    backdrop-filter:blur(5px);
}
.ncs-fal-mid-ad-alert i{
    position:relative;
    display:block;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#d04550;
    box-shadow:0 0 0 0 rgba(208,69,80,.34);
    animation:ncsFalAdPulse 1.8s ease-out infinite;
}
@keyframes ncsFalAdPulse{
    0%{box-shadow:0 0 0 0 rgba(208,69,80,.34)}
    70%{box-shadow:0 0 0 7px rgba(208,69,80,0)}
    100%{box-shadow:0 0 0 0 rgba(208,69,80,0)}
}
@media (hover:hover) and (pointer:fine){
    .ncs-fal-mid-ad>a:hover img{transform:scale(1.018);filter:saturate(1.04)}
    .ncs-fal-mid-ad>a:hover{box-shadow:0 15px 36px rgba(30,66,56,.11)}
}
@media(max-width:780px){
    .ncs-fal-mid-ad{margin:22px auto 25px}
    .ncs-fal-mid-ad>a,.ncs-fal-mid-ad-static{height:120px;border-radius:17px}
    .ncs-fal-mid-ad-alert{top:8px;right:8px;min-height:27px;padding:4px 8px;font-size:10px}
}
@media(max-width:480px){
    .ncs-fal-mid-ad{margin:18px auto 22px}
    .ncs-fal-mid-ad>a,.ncs-fal-mid-ad-static{height:96px;border-radius:15px}
    .ncs-fal-mid-ad-alert{font-size:9.5px}
}
@media(prefers-reduced-motion:reduce){
    .ncs-fal-mid-ad-alert i{animation:none!important}
    .ncs-fal-mid-ad img{transition:none!important}
}

/* In 2.5.4 the next ghazal title/number is deliberately never shown in advance. */
.ncs-fal-next-title{display:none!important}

/* =========================================================
   Nafis Content Showcase 2.5.5 — assistant compatibility
   Keep Neon Floating Menu / smart assistant visible on showcase posts.
   ========================================================= */
body.ncs-active-template .nfm-ai20{
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}
body.ncs-active-template .nfm-ai20 .nfm-ai20-toggle{
    visibility:visible!important;
    pointer-events:auto!important;
}
