/* naseefgafoor.com : single blog post design. Scoped to single posts only. */

/* Page shell */
body.single-post,body.single-post #content,body.single-post .site-content,body.single-post #primary,body.single-post .ast-article-single{background:#fff!important;box-shadow:none!important}
body.single-post .ast-article-single{padding:0!important;margin:0!important;border:0!important}
body.single-post #secondary{display:none!important}
body.single-post #primary{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important}
body.single-post .site-content>.ast-container{max-width:100%!important;padding:0!important;display:block}

/* Title area */
body.single-post .ast-single-entry-banner{background:#fff!important;background-image:none!important;min-height:0!important;height:auto!important;padding:64px 20px 40px!important;text-align:center}
body.single-post .ast-single-entry-banner::before,body.single-post .ast-single-entry-banner::after{display:none!important}
body.single-post .ast-single-entry-banner .ast-container{max-width:820px;margin:0 auto;display:flex;flex-direction:column;align-items:center;padding:0}
body.single-post .ast-single-entry-banner .ast-container>*{text-align:center!important;width:100%}
body.single-post .ast-single-entry-banner .ast-breadcrumbs ul{justify-content:center;display:flex;flex-wrap:wrap;padding:0;margin:0}
body.single-post .ast-single-entry-banner .ast-breadcrumbs,body.single-post .ast-single-entry-banner .ast-breadcrumbs a,body.single-post .ast-single-entry-banner .ast-breadcrumbs span{font:500 11px/1.6 Inter,sans-serif!important;letter-spacing:.12em;text-transform:uppercase;color:#9CA3AF!important;text-decoration:none}
body.single-post .ast-single-entry-banner .entry-title{font-family:'Playfair Display',serif!important;font-weight:600!important;font-size:clamp(32px,5vw,52px)!important;line-height:1.15!important;color:#1E293B!important;margin:18px 0 16px!important;letter-spacing:-.01em}
body.single-post .ast-single-entry-banner .entry-meta,body.single-post .ast-single-entry-banner .entry-meta *{font:400 14px Inter,sans-serif!important;color:#9CA3AF!important}

/* Elementor built posts: flatten containers into one reading column */
body.single-post .entry-content>.elementor{padding:0 20px 40px}
body.single-post .entry-content .elementor .e-con{--content-width:100%;--padding-top:0;--padding-bottom:0;--padding-left:0;--padding-right:0;padding:0!important;margin:0!important;max-width:none!important;width:100%!important;background:none!important;border:0!important}
body.single-post .entry-content .elementor .e-con-inner{max-width:none!important;width:100%!important;padding:0!important;gap:0!important}
body.single-post .entry-content .elementor .elementor-widget-text-editor,body.single-post .entry-content .elementor .elementor-widget-e-paragraph,body.single-post .entry-content .elementor .elementor-widget-e-heading,body.single-post .entry-content .elementor .elementor-widget-heading{width:100%;max-width:700px;margin-left:auto!important;margin-right:auto!important}
body.single-post .entry-content .elementor .e-con-inner>img,body.single-post .entry-content .elementor .e-con>img,body.single-post .entry-content .elementor .elementor-widget-image,body.single-post .entry-content .elementor .elementor-widget-e-image,body.single-post .entry-content .elementor .elementor-widget-video,body.single-post .entry-content .elementor .elementor-widget-e-youtube,body.single-post .entry-content .elementor [class*="e-youtube"],body.single-post .entry-content .elementor .elementor-widget-slides,body.single-post .entry-content .elementor .elementor-widget-image-carousel{width:100%;max-width:min(960px,100%);margin:48px auto!important;box-shadow:none!important}
body.single-post .entry-content .elementor img{display:block;width:auto;max-width:100%;height:auto;max-height:88vh;margin-left:auto;margin-right:auto;box-shadow:none!important;border-radius:0}
body.single-post .entry-content .elementor .e-con-inner>img,body.single-post .entry-content .elementor .e-con>img{width:auto!important}
body.single-post .entry-content .elementor .elementor-widget-text-editor p,body.single-post .entry-content .elementor .elementor-widget-text-editor li,body.single-post .entry-content .elementor .elementor-widget-e-paragraph,body.single-post .entry-content .elementor .elementor-widget-e-paragraph p{font-family:Inter,sans-serif!important;font-size:17px!important;line-height:1.8!important;color:#4B5563!important;margin:0 0 1.4em}
body.single-post .entry-content .elementor .elementor-widget-text-editor ul,body.single-post .entry-content .elementor .elementor-widget-text-editor ol{margin:0 0 1.4em 1.2em;padding:0}
body.single-post .entry-content .elementor .elementor-widget-text-editor li{margin:0 0 .5em}
body.single-post .entry-content .elementor .elementor-widget-text-editor strong,body.single-post .entry-content .elementor .elementor-widget-text-editor b{color:#1E293B;font-weight:600}
body.single-post .entry-content .elementor a{color:#1E293B!important;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.single-post .entry-content .elementor .elementor-widget-text-editor h2,body.single-post .entry-content .elementor .elementor-widget-e-heading h2,body.single-post .entry-content .elementor .elementor-widget-heading h2{font-family:'Playfair Display',serif!important;font-weight:600!important;font-size:clamp(24px,3vw,32px)!important;line-height:1.25!important;color:#1E293B!important;margin:72px 0 20px!important;padding-top:40px;border-top:1px solid #E5E7EB;text-transform:none!important;letter-spacing:0}
body.single-post .entry-content .elementor .elementor-widget-text-editor h3,body.single-post .entry-content .elementor .elementor-widget-text-editor h4{font-family:'Playfair Display',serif!important;font-weight:600!important;font-size:clamp(20px,2.4vw,24px)!important;line-height:1.3!important;color:#1E293B!important;margin:40px 0 14px!important;text-transform:none!important}
body.single-post .entry-content>.elementor>.e-con:first-child .elementor-widget:first-child h2:first-child,body.single-post .entry-content>.elementor>.e-con:first-child .e-con-inner>.elementor-widget:first-child h2:first-child{border-top:0;padding-top:0;margin-top:0!important}
body.single-post .entry-content .elementor .elementor-widget-text-editor blockquote{margin:40px 0;padding:4px 0 4px 28px;border-left:2px solid #1E293B;font-family:'Playfair Display',serif;font-style:italic;font-size:24px;line-height:1.4;color:#1E293B}

/* Block editor posts: designed components */
.ng-article{counter-reset:q;padding:0 20px 40px;font-family:Inter,sans-serif}
.ng-article>*{max-width:700px;margin-left:auto!important;margin-right:auto!important}
.ng-article p,.ng-article li{font-size:17px;line-height:1.8;color:#4B5563;margin:0 0 1.4em}
.ng-article a{color:#1E293B;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ng-article .ng-lede{font-size:21px;line-height:1.6;color:#1E293B;margin-bottom:1.6em}
.ng-article figure,.ng-article .ng-pull{box-shadow:none!important;background:none!important}
.ng-article .ng-hero{max-width:1100px;margin-top:0;margin-bottom:64px}
.ng-article .ng-hero img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.ng-article h2.ng-q,.ng-article h2.ng-h{font-family:'Playfair Display',serif;font-weight:600;font-size:clamp(24px,3vw,32px);line-height:1.25;color:#1E293B;margin-top:72px;margin-bottom:20px;padding-top:40px;border-top:1px solid #E5E7EB}
.ng-article h2.ng-q{counter-increment:q}
.ng-article h2.ng-q::before{content:counter(q,decimal-leading-zero);display:block;font:500 12px/1 Inter,sans-serif;letter-spacing:.14em;color:#9CA3AF;margin-bottom:14px}
.ng-article .ng-wide{max-width:960px;margin-top:48px;margin-bottom:56px;display:flex;flex-direction:column;align-items:center}
.ng-article .ng-wide img{width:auto!important;max-width:100%;max-height:88vh;height:auto;display:block;margin:0 auto}
.ng-article figcaption,body.single-post .entry-content .elementor figcaption{font:400 13px/1.5 Inter,sans-serif;color:#9CA3AF;margin-top:12px;text-align:center;align-self:stretch}
.ng-article .ng-pull{border:0;padding:0;margin-top:40px;margin-bottom:48px;text-align:left}
.ng-article .ng-pull blockquote{margin:0;padding:4px 0 4px 28px;border-left:2px solid #1E293B}
.ng-article .ng-pull blockquote::before,.ng-article .ng-pull blockquote::after{display:none!important;content:none!important}
.ng-article .ng-pull p{font-family:'Playfair Display',serif;font-style:italic;font-weight:500;font-size:clamp(24px,3vw,30px);line-height:1.35;color:#1E293B;margin:0 0 12px}
.ng-article .ng-pull cite{font:500 11px/1.4 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#9CA3AF;font-style:normal}
.ng-article .ng-panel{max-width:760px;background:#F7F7F5;padding:44px 48px;margin-top:80px;margin-bottom:24px}
.ng-article .ng-panel>*,.ng-article .ng-cta>*{max-width:none}
.ng-article .ng-panel h2.ng-h,.ng-article .ng-cta h2.ng-h{border-top:0;padding-top:0;margin-top:0}
.ng-article .ng-checklist{list-style:none;padding:0;margin:8px 0 0;counter-reset:c}
.ng-article .ng-checklist li{position:relative;padding:16px 0 16px 44px;margin:0;border-top:1px solid #E5E7EB}
.ng-article .ng-checklist li::before{counter-increment:c;content:counter(c,decimal-leading-zero);position:absolute;left:0;top:20px;font:500 12px/1 Inter,sans-serif;letter-spacing:.12em;color:#9CA3AF}
.ng-article .ng-cta{max-width:760px;background:#1E293B;padding:52px 48px;margin-top:64px;margin-bottom:24px}
.ng-article .ng-cta h2.ng-h{color:#fff}
.ng-article .ng-cta p{color:rgba(255,255,255,.78)}
.ng-article .ng-cta a{color:#fff}
.ng-article .ng-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.ng-article .ng-btn .wp-block-button__link{background:#fff;color:#1E293B!important;border:1px solid #fff;border-radius:0;padding:14px 26px;font:500 14px/1 Inter,sans-serif;letter-spacing:.04em;text-decoration:none}
.ng-article .ng-btn-outline .wp-block-button__link{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.45)}
.ng-article .ng-btn .wp-block-button__link:hover{opacity:.85}
.ng-article .ng-author{border-top:1px solid #E5E7EB;padding-top:28px;margin-top:56px;margin-bottom:80px}
.ng-article .ng-author p{font-size:15px;margin:0}
.ng-article .ng-author .ng-label{font:500 11px/1.4 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#9CA3AF;margin-bottom:10px}

/* Below the article */
body.single-post .post-navigation,body.single-post .ast-single-related-posts-container,body.single-post .comments-area{max-width:1100px;margin-left:auto!important;margin-right:auto!important;padding-left:20px;padding-right:20px;box-shadow:none!important;background:#fff!important}

@media(max-width:600px){
  .ng-article .ng-panel,.ng-article .ng-cta{padding:32px 22px}
  .ng-article .ng-hero{margin-bottom:40px}
  .ng-article h2.ng-q,.ng-article h2.ng-h,body.single-post .entry-content .elementor .elementor-widget-text-editor h2{margin-top:56px!important;padding-top:32px}
  .ng-article p,.ng-article li,body.single-post .entry-content .elementor .elementor-widget-text-editor p,body.single-post .entry-content .elementor .elementor-widget-text-editor li{font-size:16px!important}
  .ng-article .ng-lede{font-size:19px}
  body.single-post .entry-content .elementor .e-con-inner>img,body.single-post .entry-content .elementor .elementor-widget-e-image,body.single-post .entry-content .elementor .elementor-widget-image{margin:32px auto!important}
}

@media(max-width:740px){
  body.single-post .entry-content>.elementor{padding:0 0 32px}
  body.single-post .entry-content .elementor .elementor-widget{margin-left:0!important;margin-right:0!important;max-width:100%!important}
  .ng-article{padding:0 0 32px}
  body.single-post .ast-single-entry-banner{padding:40px 0 28px!important}
}
