/* ShomalSakht Design System V4.1 — one source, no cards by default. */
body.ss4-design{--ss4-ink:#202823;--ss4-muted:#66716b;--ss4-green:#214b3a;--ss4-green-dark:#17392c;--ss4-line:#e6e9e5;--ss4-surface:#f7f7f5;--ss4-warm:#f6f3ec;background:#fff;color:var(--ss4-ink)}
body.ss4-design #tie-wrapper{box-shadow:none!important}
body.ss4-design #theme-header .main-nav-wrapper{background:rgba(255,255,255,.96)!important;border-bottom:1px solid #eaede9!important;box-shadow:none!important}
body.ss4-design #theme-header #main-nav{line-height:65px!important}
body.ss4-design #theme-header .main-menu-wrapper{min-height:65px!important}
body.ss4-design #theme-header .header-layout-1-logo,body.ss4-design #theme-header #logo{visibility:visible!important;opacity:1!important}
body.ss4-design #theme-header #logo .logo-text{font-size:27px!important;font-weight:800!important;letter-spacing:-.025em!important;color:var(--ss4-green)!important}
body.ss4-design #theme-header .main-menu a{font-size:14px!important;font-weight:650!important;letter-spacing:0!important}
body.ss4-design #theme-header .main-menu .current-menu-item>a{color:var(--ss4-green)!important}
body.ss4-design #theme-header .main-menu .current-menu-item>a:after{background:var(--ss4-green)!important}
body.ss4-design #theme-header .search-bar input{min-height:38px!important;background:#f6f6f6!important;border-radius:40px!important}
body.ss4-design #theme-header .search-bar button{min-width:38px!important}
body.ss4-design #footer-widgets-container{display:none!important}
body.ss4-design #footer{border-top:1px solid #e7e9e5!important;margin-top:0!important}
body.ss4-design #footer .site-info{padding-block:24px!important}
body.ss4-design .ss4{font-family:"Vazirmatn","IRANSans","Shabnam",system-ui,sans-serif!important;color:var(--ss4-ink);line-height:1.85;direction:rtl;text-align:right}
body.ss4-design .ss4,body.ss4-design .ss4 *,body.ss4-design .ss4 *:before,body.ss4-design .ss4 *:after{box-sizing:border-box}
body.ss4-design .ss4 :is(h1,h2,h3,h4,p,figure,ol,ul){margin:0;padding:0}
body.ss4-design .ss4 :is(h1,h2,h3,h4){color:var(--ss4-ink)!important;letter-spacing:0!important;text-wrap:balance;line-height:1.43;font-family:inherit!important}
body.ss4-design .ss4 h1{font-size:clamp(38px,4.4vw,56px);font-weight:800}
body.ss4-design .ss4 h2{font-size:clamp(27px,3.2vw,39px);font-weight:780}
body.ss4-design .ss4 h3{font-size:clamp(19px,1.8vw,23px);font-weight:720}
body.ss4-design .ss4 p{font-size:16px;line-height:1.95;color:var(--ss4-muted)}
body.ss4-design .ss4 a{text-decoration:none!important;color:inherit}
body.ss4-design .ss4 img{display:block;max-width:100%;height:auto}
body.ss4-design .ss4 button,body.ss4-design .ss4 input{font:inherit}
body.ss4-design .ss4 :is(a,button,summary,input):focus-visible{outline:3px solid #316e54!important;outline-offset:4px!important}
body.ss4-design .ss4 :is(a,button,summary){-webkit-tap-highlight-color:transparent}
body.ss4-design .ss4 .ss4-overline{display:block;color:#557667;font-size:13px;font-weight:700;line-height:1.8;margin-bottom:14px;letter-spacing:0}
body.ss4-design .ss4 .ss4-lead{font-size:clamp(17px,1.7vw,20px);line-height:1.88;color:#59675f;max-width:620px}
body.ss4-design .ss4 .ss4-note{font-size:13px;color:#7a837e;margin-top:14px}
body.ss4-design .ss4 .ss4-eyebrow{display:inline-block;font-size:12px;font-weight:650;color:#557667;margin-bottom:10px}
body.ss4-design .ss4 .ss4-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}
body.ss4-design .ss4 .ss4-section-head>p{font-size:15px;max-width:360px}
body.ss4-design .ss4 .ss4-section-head-narrow{display:block;max-width:770px}
body.ss4-design .ss4 .ss4-section-head-narrow>p{max-width:730px;margin-top:13px;font-size:17px}
body.ss4-design .ss4 .ss4-section{margin-top:clamp(67px,8vw,114px)!important}
body.ss4-design .ss4 .ss4-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:28px}
body.ss4-design .ss4 .ss4-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 22px;border:1px solid transparent;border-radius:999px;font-size:15px;font-weight:710;line-height:1.5;white-space:normal;text-align:center;transition:background-color .18s,border-color .18s,color .18s}
body.ss4-design .ss4 .ss4-button svg{width:18px;height:18px}
body.ss4-design .ss4 .ss4-button-primary{background:#202823;color:#fff!important;border-color:#202823}
body.ss4-design .ss4 .ss4-button-primary:hover{background:var(--ss4-green);border-color:var(--ss4-green);color:#fff!important}
body.ss4-design .ss4 .ss4-button-secondary{background:#fff;border-color:#d9dfd9;color:#233f31!important}
body.ss4-design .ss4 .ss4-button-secondary:hover{background:#f3f6f3;border-color:#bbcbbf}
body.ss4-design .ss4 .ss4-button-text{padding-inline:9px;background:transparent;color:var(--ss4-green)!important}
body.ss4-design .ss4 .ss4-button-inverse{background:#fff;color:#183c2e!important;border-color:#fff}
body.ss4-design .ss4 .ss4-button-inverse:hover{background:#e8eee9;border-color:#e8eee9;color:#183c2e!important}
body.ss4-design .ss4 .ss4-text-link{font-size:15px;font-weight:700;color:var(--ss4-green);padding-block:10px}
body.ss4-design .ss4 .ss4-text-link span{margin-right:6px}
body.ss4-design .ss4 .ss4-index{font-size:13px;font-weight:750;color:#789084;letter-spacing:.05em;font-variant-numeric:tabular-nums}
body.ss4-design .ss4 .ss4-row-arrow{margin-inline-start:auto;color:var(--ss4-green);font-size:21px;transition:transform .2s}
body.ss4-design .ss4 a:hover>.ss4-row-arrow{transform:translateX(-4px)}

/* Shared page frame */
body.ss4-design .entry-content>.ss4{margin:0 auto!important}
body.ss4-design .ss4-home,body.ss4-design .ss4-course{width:100%!important;max-width:1120px!important;padding:16px 0 96px!important}
body.ss4-design .ss4-hero{display:grid;align-items:center;gap:clamp(28px,4vw,58px)}
body.ss4-design .ss4-hero-text h1>span,body.ss4-design .ss4-course-hero h1>span{display:block;color:var(--ss4-green)}
body.ss4-design .ss4-hero .ss4-lead{margin-top:19px}
body.ss4-design .ss4-hero-media,body.ss4-design .ss4-course-hero-media{min-width:0;background:var(--ss4-warm);border-radius:20px;overflow:hidden}
body.ss4-design .ss4-hero-media img,body.ss4-design .ss4-course-hero-media img{width:100%;object-fit:cover}

/* Home: editorial hero / linked guidance, not nested cards */
body.ss4-design .ss4-home-hero{grid-template-columns:minmax(0,1fr) minmax(0,.93fr);min-height:520px}
body.ss4-design .ss4-home-hero .ss4-hero-media{height:430px;display:flex;align-items:center}
body.ss4-design .ss4-home-hero .ss4-hero-media img{height:100%;object-fit:cover;object-position:55% center}
body.ss4-design .ss4-guidance-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:54px;border-top:1px solid var(--ss4-line)}
body.ss4-design .ss4-guidance-row{display:flex;align-items:center;gap:18px;padding:22px 2px;min-height:100px;border-bottom:1px solid var(--ss4-line);transition:background-color .18s}
body.ss4-design .ss4-guidance-row:hover{background:#fafbf9}
body.ss4-design .ss4-guidance-copy{display:grid;gap:4px}
body.ss4-design .ss4-guidance-copy strong{font-size:18px;font-weight:740;line-height:1.5;color:#202823}
body.ss4-design .ss4-guidance-copy small{font-size:13px;line-height:1.75;color:#758078}
body.ss4-design .ss4-guidance-row>.ss4-index{align-self:flex-start;margin-top:7px;min-width:22px}
body.ss4-design .ss4-course-teaser{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:40px;background:var(--ss4-green-dark);color:#fff;border-radius:24px;padding:clamp(28px,4vw,52px)!important;overflow:hidden}
body.ss4-design .ss4-course-teaser .ss4-overline{color:#c2d8c8}
body.ss4-design .ss4-course-teaser h2{color:#fff!important}
body.ss4-design .ss4-course-teaser p{color:#d8e4dd;max-width:510px;margin-top:16px}
body.ss4-design .ss4-stat-line{display:flex;gap:16px;margin:22px 0 25px;flex-wrap:wrap}
body.ss4-design .ss4-stat-line span{font-size:13px;color:#d7e3da;white-space:nowrap}
body.ss4-design .ss4-stat-line strong{color:#fff;font-size:21px;padding-left:4px}
body.ss4-design .ss4-course-teaser-image{margin:0;overflow:hidden;border-radius:16px}
body.ss4-design .ss4-course-teaser-image img{width:100%;max-height:350px;object-fit:cover}
body.ss4-design .ss4-reading-list{border-top:1px solid var(--ss4-line)}
body.ss4-design .ss4-reading-row{display:flex;gap:22px;align-items:center;padding:19px 4px;border-bottom:1px solid var(--ss4-line);min-height:87px}
body.ss4-design .ss4-reading-row:hover{background:#fafbf9}
body.ss4-design .ss4-reading-copy{display:flex;flex-direction:column;gap:1px}
body.ss4-design .ss4-reading-copy .ss4-eyebrow{margin:0}
body.ss4-design .ss4-reading-copy strong{font-weight:720;font-size:18px;line-height:1.6;color:var(--ss4-ink)}

/* Course: clear decision above fold; compact curriculum / editorial sections */
body.ss4-design .ss4-course-hero{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);padding-top:16px;min-height:530px}
body.ss4-design .ss4-course-hero h1{font-size:clamp(38px,4vw,53px)}
body.ss4-design .ss4-course-hero-media{height:435px;display:flex;align-items:center}
body.ss4-design .ss4-course-hero-media img{height:100%;object-fit:cover;object-position:center}
body.ss4-design .ss4-course-facts{display:flex;gap:11px;flex-wrap:wrap;align-items:center;margin:20px 0;color:#586d61;font-size:13px;font-weight:620}
body.ss4-design .ss4-course-facts span{border-left:1px solid #dce4db;padding-left:11px}
body.ss4-design .ss4-course-facts span:last-child{border-left:0;padding-left:0}
body.ss4-design .ss4-course-hero-price{display:flex;align-items:baseline;gap:12px;margin-top:16px!important;font-size:15px!important;color:#63716a}
body.ss4-design .ss4-course-hero-price strong{font-size:25px;color:#202823;font-weight:790}
body.ss4-design .ss4-course-hero-price :is(del,ins){text-decoration:none}
body.ss4-design .ss4-course-hero-price del{opacity:.55;margin-left:8px;text-decoration:line-through}
body.ss4-design .ss4-course-hero .ss4-actions{margin-top:24px}
body.ss4-design .ss4-outcome-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:32px}
body.ss4-design .ss4-outcome-grid>div{border-top:1px solid var(--ss4-line);padding-top:20px}
body.ss4-design .ss4-outcome-grid h3{font-size:19px;margin:9px 0 8px}
body.ss4-design .ss4-outcome-grid p{font-size:15px}
body.ss4-design .ss4-curriculum{scroll-margin-top:90px}
body.ss4-design .ss4-curriculum .ss4-section-head{max-width:880px;margin-inline:auto}
body.ss4-design .ss4-chapter-list{max-width:880px;margin-inline:auto;border-top:1px solid var(--ss4-line)}
body.ss4-design .ss4-chapter{border-bottom:1px solid var(--ss4-line)}
body.ss4-design .ss4-chapter>summary{list-style:none;display:flex;align-items:center;gap:22px;min-height:82px;cursor:pointer;padding:15px 9px}
body.ss4-design .ss4-chapter>summary::-webkit-details-marker{display:none}
body.ss4-design .ss4-chapter-index{background:#f2f4f1;color:#476555;display:flex;width:43px;height:43px;border-radius:12px;align-items:center;justify-content:center;font-size:14px;font-weight:750;flex:0 0 43px;font-variant-numeric:tabular-nums}
body.ss4-design .ss4-chapter-heading{display:grid;gap:2px;min-width:0}
body.ss4-design .ss4-chapter-heading strong{font-size:16.5px;line-height:1.6;font-weight:740;color:var(--ss4-ink)}
body.ss4-design .ss4-chapter-heading small{font-size:12px;color:var(--ss4-muted)}
body.ss4-design .ss4-chapter-chevron{display:flex;align-items:center;justify-content:center;color:#476555;margin-inline-start:auto;transition:transform .18s}
body.ss4-design .ss4-chapter[open] .ss4-chapter-chevron{transform:rotate(180deg)}
body.ss4-design .ss4-chapter[open]{background:#fafbf9}
body.ss4-design .ss4-chapter>ol{margin:0 70px 16px 22px!important;padding:0 22px 0 0!important;list-style:decimal!important}
body.ss4-design .ss4-chapter li{font-size:15px;line-height:1.85;padding:7px 2px;color:#526259}
body.ss4-design .ss4-learning-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:20px}
body.ss4-design .ss4-learning-list>div{padding-top:20px;border-top:1px solid var(--ss4-line)}
body.ss4-design .ss4-learning-symbol{color:#749282;font-size:13px;font-weight:760}
body.ss4-design .ss4-learning-list h3{font-size:19px;margin:10px 0 6px}
body.ss4-design .ss4-learning-list p{font-size:15px}
body.ss4-design .ss4-climate-note{display:flex;gap:24px;align-items:flex-start;border-right:3px solid #acc5b3;background:#f7f9f7;margin-top:40px;padding:22px 26px;border-radius:0 13px 13px 0}
body.ss4-design .ss4-climate-note strong{font-size:16px;color:#284c39;flex:0 0 200px}
body.ss4-design .ss4-climate-note p{font-size:15px}
body.ss4-design .ss4-faq-list{max-width:880px;border-top:1px solid var(--ss4-line);margin:auto}
body.ss4-design .ss4-faq-item{border-bottom:1px solid var(--ss4-line)}
body.ss4-design .ss4-faq-item summary{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;padding:14px 7px;font-size:16px;font-weight:690}
body.ss4-design .ss4-faq-item summary::-webkit-details-marker{display:none}
body.ss4-design .ss4-faq-item summary span{display:flex;color:#557466;transition:transform .2s}
body.ss4-design .ss4-faq-item[open] summary span{transform:rotate(180deg)}
body.ss4-design .ss4-faq-item>div{padding:0 7px 20px}
body.ss4-design .ss4-faq-item p{font-size:15px;max-width:760px}
body.ss4-design .ss4-enroll{scroll-margin-top:90px}
body.ss4-design .ss4-enroll-inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.7fr);gap:48px;align-items:center;background:#f7f7f4;border:1px solid #e9ece7;border-radius:22px;padding:clamp(26px,4vw,49px)}
body.ss4-design .ss4-enroll-content>p{margin-top:13px;max-width:610px}
body.ss4-design .ss4-enroll-action{display:flex;flex-direction:column;align-items:stretch;gap:12px}
body.ss4-design .ss4-enroll-action>span{font-size:13px;color:#68756c}
body.ss4-design .ss4-enroll-action .ss4-price{font-weight:790;font-size:29px;line-height:1.5}
body.ss4-design .ss4-enroll-action .ss4-price del{font-size:16px;color:#88918a}
body.ss4-design .ss4-enroll-action .ss4-price ins{text-decoration:none}
body.ss4-design .ss4-enroll-action>small{color:#7e8980;font-size:12px;text-align:center;line-height:1.7}

/* Archive: actual server-rendered search, reading-first listing */
body.ss4-design .ss4-archive{width:min(1120px,calc(100% - 40px));margin:clamp(28px,4vw,56px) auto 90px;max-width:1120px}
body.ss4-design .ss4-archive-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}
body.ss4-design .ss4-archive-heading-copy h1{max-width:800px}
body.ss4-design .ss4-archive-heading .ss4-lead{margin-top:14px}
body.ss4-design .ss4-archive-count{display:flex;align-items:baseline;gap:7px;flex:0 0 auto;color:#6d7b71;border-bottom:1px solid #e0e8e0;padding:0 3px 8px}
body.ss4-design .ss4-archive-count strong{font-size:32px;color:var(--ss4-green);line-height:1.3;font-weight:770}
body.ss4-design .ss4-archive-count>span{font-size:12px}
body.ss4-design .ss4-archive-search{display:flex;align-items:center;gap:13px;margin-top:34px;background:#f7f8f6;border:1px solid #e6ebe5;border-radius:14px;padding:8px 9px 8px 20px;min-height:64px}
body.ss4-design .ss4-archive-search>svg{flex:0 0 20px;margin-inline:10px 4px;color:#64806b}
body.ss4-design .ss4-archive-search input{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;min-height:44px;flex:1;min-width:0;color:#202823;font-size:16px}
body.ss4-design .ss4-archive-search input:focus-visible{outline:none!important}
body.ss4-design .ss4-archive-search:focus-within{border-color:#699180;box-shadow:0 0 0 3px #d9e8dd}
body.ss4-design .ss4-archive-search button{background:var(--ss4-green);color:white;min-height:43px;padding:8px 19px;border:0;border-radius:11px;font-size:14px;font-weight:720;cursor:pointer}
body.ss4-design .ss4-archive-search button:hover{background:#173b2b}
body.ss4-design .ss4-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.ss4-design .ss4-topic-nav{display:flex;flex-wrap:wrap;gap:10px 23px;border-bottom:1px solid var(--ss4-line);margin-top:14px}
body.ss4-design .ss4-topic-nav a{display:inline-flex;align-items:center;gap:7px;min-height:45px;font-size:14px;font-weight:650;border-bottom:2px solid transparent;color:#69766e;padding:9px 0}
body.ss4-design .ss4-topic-nav a:hover,body.ss4-design .ss4-topic-nav a.is-current{color:var(--ss4-green);border-color:var(--ss4-green)}
body.ss4-design .ss4-topic-nav a span{font-size:11px;color:#8c9690;font-variant-numeric:tabular-nums}
body.ss4-design .ss4-archive .ss4-quick-paths{margin-top:59px}
body.ss4-design .ss4-archive .ss4-quick-paths .ss4-section-head{margin-bottom:16px}
body.ss4-design .ss4-quick-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--ss4-line);gap:0}
body.ss4-design .ss4-quick-list a{position:relative;display:flex;flex-direction:column;min-height:112px;padding:18px 22px;gap:5px;border-left:1px solid var(--ss4-line)}
body.ss4-design .ss4-quick-list a:last-child{border:0}
body.ss4-design .ss4-quick-list a:hover{background:#f9faf8}
body.ss4-design .ss4-quick-list strong{font-size:16px;line-height:1.55;font-weight:710;color:#24332a;max-width:270px}
body.ss4-design .ss4-quick-list .ss4-eyebrow{margin:0}
body.ss4-design .ss4-quick-list .ss4-row-arrow{position:absolute;bottom:16px;left:18px;font-size:17px}
body.ss4-design .ss4-archive .ss4-archive-results{margin-top:68px}
body.ss4-design .ss4-result-count{font-size:13px;color:var(--ss4-muted);white-space:nowrap}
body.ss4-design .ss4-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px;border-top:1px solid var(--ss4-line)}
body.ss4-design .ss4-story{border-bottom:1px solid var(--ss4-line);min-width:0}
body.ss4-design .ss4-story-hit{display:flex;flex-direction:column;gap:0;padding:25px 1px 27px;min-height:214px}
body.ss4-design .ss4-story-hit:hover h3{color:var(--ss4-green)!important}
body.ss4-design .ss4-story-body h3{font-size:clamp(18px,1.9vw,22px);line-height:1.52;margin-bottom:8px;font-weight:730}
body.ss4-design .ss4-story-body p{font-size:14px;line-height:1.85;color:#768078;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ss4-design .ss4-story-cta{display:block;color:var(--ss4-green);font-size:13px;font-weight:690;margin-top:13px}
body.ss4-design .ss4-story-cta span{padding-right:5px}
body.ss4-design .ss4-story-featured{grid-column:1/-1}
body.ss4-design .ss4-story-featured .ss4-story-hit{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1fr);align-items:center;gap:32px;padding:27px 0}
body.ss4-design .ss4-story-featured .ss4-story-visual{width:100%;overflow:hidden;border-radius:16px;background:#f5f1e7}
body.ss4-design .ss4-story-featured .ss4-feature-image{display:block;width:100%;height:240px!important;object-fit:cover}
body.ss4-design .ss4-story-featured .ss4-story-body h3{font-size:clamp(23px,2.2vw,30px)}
body.ss4-design .ss4-story-featured .ss4-story-body p{-webkit-line-clamp:3;font-size:15px}
body.ss4-design .ss4-pagination{display:flex;align-items:center;justify-content:center;gap:30px;margin-top:30px}
body.ss4-design .ss4-pagination a{min-height:45px;display:inline-flex;align-items:center;padding:9px 16px;border:1px solid #e1e7e1;border-radius:999px;color:#254e39;font-weight:700;font-size:14px}
body.ss4-design .ss4-pagination span{font-size:13px;color:#79867e}
body.ss4-design .ss4-empty{padding:48px 0;text-align:center}
body.ss4-design .ss4-empty p{margin:10px auto 25px}
body.ss4-design .ss4-archive-course{display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--ss4-green-dark);color:white;border-radius:21px;margin-top:77px;padding:clamp(25px,3.7vw,45px)}
body.ss4-design .ss4-archive-course .ss4-overline{color:#bed5c6}
body.ss4-design .ss4-archive-course h2{color:white!important;font-size:clamp(24px,2.7vw,34px)}
body.ss4-design .ss4-archive-course p{color:#dbe7de;max-width:620px;margin-top:12px}
body.ss4-design .ss4-archive-course .ss4-button{flex:0 0 auto}

/* Reading articles: actual layout, never touch post content or metadata */
body.ss4-design.single-post .entry-content{color:#27312a}
body.ss4-design.single-post .entry-content>p,body.ss4-design.single-post .entry-content>h2,body.ss4-design.single-post .entry-content>h3,body.ss4-design.single-post .entry-content>ul,body.ss4-design.single-post .entry-content>ol{max-width:790px;margin-right:auto!important;margin-left:auto!important}
body.ss4-design.single-post .entry-content>p{font-size:clamp(17px,1.35vw,18.5px)!important;line-height:2.04!important;margin-block:0 1.55em!important}
body.ss4-design.single-post .entry-content>h2{font-size:clamp(26px,2.7vw,36px)!important;line-height:1.5!important;font-weight:790!important;letter-spacing:0!important;margin-block:2em .7em!important}
body.ss4-design.single-post .entry-content>h3{font-size:clamp(21px,2.1vw,27px)!important;line-height:1.5!important;margin-block:1.6em .65em!important}
body.ss4-design.single-post .entry-content img{max-width:100%;height:auto}
body.ss4-design.single-post .entry-content table{max-width:100%;border-collapse:collapse}
body.ss4-design.single-post .entry-content :is(td,th){padding:12px 13px;border-color:#e6ebe5}
body.ss4-design.single-post .entry-content th{background:#f7f8f6}
body.ss4-design.single-post #the-post .entry-header h1,body.ss4-design.single-post #the-post h1.post-title{font-size:clamp(32px,3.7vw,49px)!important;font-weight:790!important;line-height:1.45!important;letter-spacing:0!important;text-wrap:balance}
body.ss4-design .ssab2 :is(h1,h2,h3){font-weight:790!important;letter-spacing:0!important;line-height:1.48!important}
body.ss4-design .ssab2 .ssab2-btn{box-shadow:none!important;border-radius:999px!important}

/* Responsive without hiding important content. */
@media(max-width:1024px){
 body.ss4-design .ss4-hero{gap:28px}
 body.ss4-design .ss4-home-hero,body.ss4-design .ss4-course-hero{grid-template-columns:1.05fr .95fr}
 body.ss4-design .ss4-home-hero .ss4-hero-media{height:355px}
 body.ss4-design .ss4-course-hero-media{height:390px}
 body.ss4-design .ss4-story-featured .ss4-feature-image{height:215px!important}
}
@media(max-width:767px){
 body.ss4-design #theme-header #main-nav{line-height:58px!important}
 body.ss4-design #theme-header .main-menu-wrapper{min-height:58px!important}
 body.ss4-design #theme-header #logo .logo-text{font-size:24px!important}
 body.ss4-design .ss4-home,body.ss4-design .ss4-course{width:100%!important;padding-top:8px!important;padding-bottom:65px!important}
 body.ss4-design .ss4-archive{width:calc(100% - 32px);margin-top:27px;margin-bottom:65px}
 body.ss4-design .ss4 h1{font-size:clamp(32px,8.6vw,41px)}
 body.ss4-design .ss4 h2{font-size:clamp(25px,7vw,31px)}
 body.ss4-design .ss4 h3{font-size:20px}
 body.ss4-design .ss4 .ss4-section{margin-top:58px!important}
 body.ss4-design .ss4 .ss4-section-head{display:block;margin-bottom:20px}
 body.ss4-design .ss4 .ss4-section-head>p{margin-top:8px;max-width:none}
 body.ss4-design .ss4 .ss4-lead{font-size:17px}
 body.ss4-design .ss4 .ss4-actions{gap:9px;margin-top:23px}
 body.ss4-design .ss4 .ss4-button{min-height:47px;padding:10px 18px;font-size:14px}
 body.ss4-design .ss4-home-hero,body.ss4-design .ss4-course-hero{grid-template-columns:1fr;gap:26px;min-height:0;padding-top:16px}
 body.ss4-design .ss4-home-hero .ss4-hero-media{height:auto;max-height:305px;border-radius:16px}
 body.ss4-design .ss4-home-hero .ss4-hero-media img{max-height:305px}
 body.ss4-design .ss4-course-hero-media{height:300px;border-radius:16px}
 body.ss4-design .ss4-course-hero-media img{max-height:300px}
 body.ss4-design .ss4-guidance-list{grid-template-columns:1fr;column-gap:0}
 body.ss4-design .ss4-guidance-row{min-height:80px;padding:15px 2px}
 body.ss4-design .ss4-guidance-copy strong{font-size:17px}
 body.ss4-design .ss4-course-teaser{grid-template-columns:1fr;gap:24px;border-radius:18px;padding:24px!important}
 body.ss4-design .ss4-course-teaser-image img{max-height:240px}
 body.ss4-design .ss4-stat-line{gap:13px}
 body.ss4-design .ss4-reading-row{padding:16px 0}
 body.ss4-design .ss4-reading-copy strong{font-size:17px}
 body.ss4-design .ss4-outcome-grid,body.ss4-design .ss4-learning-list{grid-template-columns:1fr;gap:18px}
 body.ss4-design .ss4-outcome-grid>div,body.ss4-design .ss4-learning-list>div{padding-top:16px}
 body.ss4-design .ss4-chapter>summary{min-height:73px;gap:13px;padding:10px 3px}
 body.ss4-design .ss4-chapter-index{height:36px;width:36px;flex-basis:36px;border-radius:10px}
 body.ss4-design .ss4-chapter-heading strong{font-size:15px}
 body.ss4-design .ss4-chapter>ol{margin:0 46px 15px 10px!important;padding-right:18px!important}
 body.ss4-design .ss4-chapter li{font-size:14px}
 body.ss4-design .ss4-climate-note{display:block;padding:18px;border-radius:0 10px 10px 0}
 body.ss4-design .ss4-climate-note p{margin-top:8px}
 body.ss4-design .ss4-enroll-inner{grid-template-columns:1fr;gap:28px;border-radius:17px;padding:24px}
 body.ss4-design .ss4-enroll-action .ss4-price{font-size:27px}
 body.ss4-design .ss4-archive-heading{align-items:flex-end}
 body.ss4-design .ss4-archive-heading h1{font-size:clamp(30px,8vw,38px)}
 body.ss4-design .ss4-archive-heading .ss4-lead{font-size:15px}
 body.ss4-design .ss4-archive-count{display:none}
 body.ss4-design .ss4-archive-search{margin-top:24px;min-height:55px;padding:5px 7px 5px 11px}
 body.ss4-design .ss4-archive-search>svg{margin-inline:6px 0}
 body.ss4-design .ss4-archive-search input{font-size:14px}
 body.ss4-design .ss4-archive-search button{min-height:42px;padding:7px 13px;font-size:13px}
 body.ss4-design .ss4-topic-nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;gap:21px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
 body.ss4-design .ss4-topic-nav a{flex:0 0 auto;min-height:44px;font-size:13px}
 body.ss4-design .ss4-archive .ss4-quick-paths{margin-top:43px}
 body.ss4-design .ss4-quick-list{grid-template-columns:1fr}
 body.ss4-design .ss4-quick-list a{min-height:88px;padding:14px 3px;border-left:0;border-bottom:1px solid var(--ss4-line)}
 body.ss4-design .ss4-quick-list a:last-child{border:0}
 body.ss4-design .ss4-archive .ss4-archive-results{margin-top:52px}
 body.ss4-design .ss4-story-grid{grid-template-columns:1fr}
 body.ss4-design .ss4-story-featured{grid-column:auto}
 body.ss4-design .ss4-story-featured .ss4-story-hit{display:flex;gap:15px;padding:19px 0}
 body.ss4-design .ss4-story-featured .ss4-story-visual{border-radius:12px}
 body.ss4-design .ss4-story-featured .ss4-feature-image{height:auto!important;max-height:180px;object-fit:cover}
 body.ss4-design .ss4-story-hit{min-height:0;padding:20px 0}
 body.ss4-design .ss4-story-body h3,body.ss4-design .ss4-story-featured .ss4-story-body h3{font-size:19px}
 body.ss4-design .ss4-archive-course{display:block;border-radius:16px;padding:24px;margin-top:56px}
 body.ss4-design .ss4-archive-course .ss4-button{margin-top:22px}
 body.ss4-design.single-post .entry-content>p{font-size:17px!important;line-height:1.98!important}
 body.ss4-design.single-post .entry-content>h2{font-size:25px!important}
 body.ss4-design.single-post #the-post .entry-header h1,body.ss4-design.single-post #the-post h1.post-title{font-size:clamp(30px,8vw,38px)!important}
}
@media(prefers-reduced-motion:reduce){body.ss4-design .ss4 *,body.ss4-design .ss4 *::before,body.ss4-design .ss4 *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* V4.1.3 — remove Jannah page-shell cards; keep native trust verification. */
body.ss4-design #tie-container,body.ss4-design #tie-wrapper{border-radius:0!important;border:0!important;box-shadow:none!important}
body.ss4-design.page-id-20 #the-post.container-wrapper,
body.ss4-design.page-id-24 #the-post.container-wrapper,
body.ss4-design.page-id-26 #the-post.container-wrapper{border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;padding:0!important;margin:0!important}
body.ss4-design.page-id-20 #the-post>.entry-content,
body.ss4-design.page-id-24 #the-post>.entry-content,
body.ss4-design.page-id-26 #the-post>.entry-content{padding:0!important;border:0!important}
body.ss4-design #site-info .copyright-text-first{display:block!important;text-align:center!important}
body.ss4-design #site-info .copyright-text-second{display:block!important;text-align:center!important;margin-top:12px!important}
body.ss4-design #site-info .shomalsakht-trust-badges{display:flex!important;justify-content:center!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important;margin:8px auto 0!important;direction:ltr!important}
body.ss4-design #site-info .trust-badge-item{display:flex!important;align-items:center!important;justify-content:center!important;min-width:70px!important;min-height:70px!important}
body.ss4-design #site-info .trust-badge-item a{display:flex!important;align-items:center!important;justify-content:center!important}
body.ss4-design #site-info .trust-badge-item img{display:block!important;max-width:70px!important;max-height:70px!important;height:auto!important;width:auto!important;object-fit:contain!important}
/* About: one editorial composition shared with the other pages. */
body.ss4-design .ss4-about{width:100%!important;max-width:1120px!important;padding:20px 0 80px!important}
body.ss4-design .ss4-about-hero{grid-template-columns:1.03fr .97fr;min-height:475px}
body.ss4-design .ss4-about-hero h1 span{display:block;color:var(--ss4-green)}
body.ss4-design .ss4-about-hero .ss4-lead{margin-top:20px}
body.ss4-design .ss4-about-hero-image{overflow:hidden;border-radius:20px;background:#f5f2e9}
body.ss4-design .ss4-about-hero-image img{display:block;width:100%;height:400px;object-fit:cover}
body.ss4-design .ss4-about-principle{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:30px 0;border-top:1px solid var(--ss4-line);border-bottom:1px solid var(--ss4-line)}
body.ss4-design .ss4-about-principle>div{max-width:700px}
body.ss4-design .ss4-about-principle p{margin-top:14px}
body.ss4-design .ss4-about-principle .ss4-button{flex:0 0 auto}
body.ss4-design .ss4-contact-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--ss4-line);border-bottom:1px solid var(--ss4-line)}
body.ss4-design .ss4-contact-list a{display:flex;align-items:center;gap:12px;min-height:86px;padding:18px;border-left:1px solid var(--ss4-line)}
body.ss4-design .ss4-contact-list a:last-child{border:0}
body.ss4-design .ss4-contact-list strong{font-weight:750;color:var(--ss4-ink)}
body.ss4-design .ss4-contact-list span:not(.ss4-row-arrow){font-size:13px;color:var(--ss4-muted)}
body.ss4-design .ss4-contact-list a:hover{background:#fafbf9}
@media(max-width:767px){
 body.ss4-design .ss4-about{padding:8px 0 64px!important}
 body.ss4-design .ss4-about-hero{grid-template-columns:1fr;min-height:0}
 body.ss4-design .ss4-about-hero-image{border-radius:16px}
 body.ss4-design .ss4-about-hero-image img{height:auto;max-height:300px}
 body.ss4-design .ss4-about-principle{display:block;padding:24px 0}
 body.ss4-design .ss4-about-principle .ss4-button{margin-top:22px}
 body.ss4-design .ss4-contact-list{grid-template-columns:1fr}
 body.ss4-design .ss4-contact-list a{border-left:0;border-bottom:1px solid var(--ss4-line);min-height:72px;padding:15px 4px}
 body.ss4-design .ss4-contact-list a:last-child{border:0}
}

/* V4.1.4 — text-free topical illustration for the featured article. No cropped cover text. */
body.ss4-design #theme-header h1.h1-off{display:none!important}
body.ss4-design .ss4-story-featured .ss4-story-visual{aspect-ratio:3/1;display:flex;align-items:center;justify-content:center;background:#f6f3ec}
body.ss4-design .ss4-story-featured .ss4-feature-image{display:block;width:100%!important;max-width:100%!important;height:auto!important;max-height:100%!important;object-fit:contain!important}
@media(max-width:767px){body.ss4-design .ss4-story-featured .ss4-story-visual{aspect-ratio:3/1;border-radius:11px}}

/* Trust image fallback only on external badge loading failure; official verification URL is retained. */
body.ss4-design #site-info .ss4-trust-fallback{display:inline-flex!important;align-items:center;justify-content:center;max-width:85px;min-height:62px;padding:7px 5px;color:#e8f0e9;font:650 11px/1.6 "Vazirmatn",sans-serif;white-space:normal;text-align:center;direction:rtl}

/* ShomalSakht V4.1.9 candidate: mobile readable gutters and full-width commerce grid.
   Scope: only the three editorial pages and the two WooCommerce public catalog views. */
@media (max-width: 767px) {
  body.ss4-design .ss4-home,
  body.ss4-design .ss4-course,
  body.ss4-design .ss4-about {
    width: calc(100% - 32px) !important;
    margin-inline: auto !important;
  }
}
@media (min-width: 992px) {
  body.ss4-design.woocommerce-shop #main-content-row > .main-content,
  body.ss4-design.single-product #main-content-row > .main-content {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding-inline: 15px !important;
  }
  body.ss4-design.woocommerce-shop #main-content-row > .sidebar,
  body.ss4-design.single-product #main-content-row > .sidebar {
    display: none !important;
  }
  body.ss4-design.woocommerce-shop ul.products {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
  }
  body.ss4-design.woocommerce-shop ul.products > li.product {
    width: min(100%, 320px) !important;
    float: none !important;
    margin: 0 !important;
  }
}


/* V4.2.0 — Architectural Editorial: warm, deliberate visual hierarchy, readable mobile UX. */
body.ss4-design{
  --ss4-ivory:#F8EFE2;
  --ss4-beige:#E9DBC8;
  --ss4-sage:#8A9175;
  --ss4-olive:#46543B;
  --ss4-calm:#f8f9f4;
}
body.ss4-design #theme-header .main-nav-wrapper{box-shadow:0 6px 22px rgba(39,56,41,.035)!important}
body.ss4-design .ss4 .ss4-button-primary{background:#214b3a!important;border-color:#214b3a!important;color:white!important;box-shadow:0 7px 18px rgba(22,58,41,.12)}
body.ss4-design .ss4 .ss4-button-primary:hover{background:#153629!important;border-color:#153629!important;box-shadow:0 8px 22px rgba(22,58,41,.17)}
body.ss4-design .ss4 .ss4-overline{color:#51705e;margin-bottom:9px}
body.ss4-design .ss4 .ss4-section{margin-top:clamp(46px,5.2vw,76px)!important}
body.ss4-design .ss4 .ss4-section-head{margin-bottom:23px}
body.ss4-design .ss4 .ss4-section-head>p{color:#637267}
body.ss4-design .ss4 .ss4-note{color:#637369}
body.ss4-design .ss4 .ss4-actions{gap:10px}
body.ss4-design .ss4 .ss4-button{font-weight:730}
body.ss4-design #site-info{background:#1b2b23!important}
body.ss4-design #site-info .copyright-text-first{color:#e7eee8!important}
body.ss4-design #site-info .shomalsakht-trust-badges{gap:16px!important}
body.ss4-design #site-info .trust-badge-item{min-height:60px!important}

/* Home — cozy hero and identifiable next steps. */
body.ss4-design .ss4-home-hero{
  background:linear-gradient(125deg,#fdf7ec 0%,#f6f5ef 54%,#edf3ed 100%);
  border:1px solid #eee7dc;border-radius:27px;
  padding:clamp(23px,3.5vw,42px)!important;
  min-height:485px;
}
body.ss4-design .ss4-home-hero .ss4-hero-media{height:390px;box-shadow:0 16px 32px rgba(48,60,44,.09)}
body.ss4-design .ss4-home .ss4-guidance-list{column-gap:14px;row-gap:14px;border:0!important}
body.ss4-design .ss4-home .ss4-guidance-row{
  min-height:110px;padding:19px 21px!important;border:1px solid #e6e9df!important;
  border-radius:16px;background:#f9faf6;gap:15px;
}
body.ss4-design .ss4-home .ss4-guidance-row:nth-child(2n){background:#fbf6ed;border-color:#eee7d9!important}
body.ss4-design .ss4-home .ss4-guidance-row:hover{background:#eef4ed;transform:translateY(-2px);box-shadow:0 9px 20px rgba(26,54,36,.055)}
body.ss4-design .ss4-home .ss4-guidance-copy strong{font-size:17px}
body.ss4-design .ss4-home .ss4-guidance-copy small{font-size:13px}
body.ss4-design .ss4-course-teaser{border:1px solid #254f3a;box-shadow:0 14px 30px rgba(18,50,35,.12)}
body.ss4-design .ss4-reading-row{gap:16px;padding:17px 4px;min-height:106px}
body.ss4-design .ss4-reading-thumb{display:block;flex:0 0 102px;height:76px;overflow:hidden;background:#f3efe6;border-radius:11px}
body.ss4-design .ss4-reading-thumb img{display:block;width:100%;height:100%!important;object-fit:cover}
body.ss4-design .ss4-reading-copy{flex:1;min-width:0}
body.ss4-design .ss4-reading-copy strong{font-size:17px;line-height:1.5}

/* Course — explicit value, verified details, and a genuinely free editorial preview. */
body.ss4-design .ss4-course-hero{min-height:490px}
body.ss4-design .ss4-course-hero-media{border:1px solid #eee6d9;box-shadow:0 14px 30px rgba(45,52,34,.08)}
body.ss4-design .ss4-course-hero-price strong{color:#1e392b;font-variant-numeric:tabular-nums}
body.ss4-design .ss4-anchor-link{display:inline-flex;align-items:center;gap:6px;color:#29543f!important;font-size:14px;font-weight:750;padding:12px 5px;min-height:44px}
body.ss4-design .ss4-anchor-link:hover{color:#142d21!important}
body.ss4-design .ss4-trust-line{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;
  padding:18px 23px;margin-top:15px;border-radius:14px;
  border:1px solid #e5e9df;background:#f8faf6;
}
body.ss4-design .ss4-trust-line>span{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:680;color:#375643}
body.ss4-design .ss4-trust-line svg{width:18px;height:18px;color:#44765a}
body.ss4-design .ss4-outcomes .ss4-section-head-narrow{max-width:850px}
body.ss4-design .ss4-outcome-grid{gap:16px;margin-top:27px}
body.ss4-design .ss4-outcome-grid>div{
  padding:25px 22px 24px;border:1px solid #e8e7da;border-radius:18px;background:#fdf8f0;
  display:flex;flex-direction:column;min-height:248px;
}
body.ss4-design .ss4-outcome-grid>div:nth-child(2){background:#f5f8f2;border-color:#e1e9de}
body.ss4-design .ss4-outcome-grid>div:nth-child(3){background:#f9f8f3}
body.ss4-design .ss4-outcome-grid h3{font-size:19px;margin:14px 0 9px}
body.ss4-design .ss4-outcome-grid p{font-size:15px;line-height:1.85}
body.ss4-design .ss4-outcome-grid a{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:15px;font-size:13px;font-weight:760;color:#24513b}
body.ss4-design .ss4-outcome-grid a:hover{color:#142f21}
body.ss4-design .ss4-preview{scroll-margin-top:96px}
body.ss4-design .ss4-preview-layout{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:29px;
  background:linear-gradient(125deg,#fbf6ec 0%,#f8f4ec 100%);border-radius:25px;
  border:1px solid #efe5d7;padding:clamp(25px,3.8vw,45px);
}
body.ss4-design .ss4-preview-copy h2{font-size:clamp(25px,2.9vw,35px);line-height:1.48}
body.ss4-design .ss4-preview-copy>p{margin-top:14px;font-size:15px;line-height:1.9;color:#606e62}
body.ss4-design .ss4-preview-points{list-style:none!important;margin:17px 0 24px!important;padding:0!important}
body.ss4-design .ss4-preview-points li{
  position:relative;padding:9px 25px 9px 0;color:#2c4938;font-size:15px;line-height:1.7;
  border-bottom:1px solid #e9e3d7;
}
body.ss4-design .ss4-preview-points li:before{
  content:"✓";position:absolute;right:0;top:8px;font-weight:800;color:#406b4c;
}
body.ss4-design .ss4-preview-copy .ss4-preview-caption{font-size:12px;line-height:1.75;margin-top:10px;color:#788278}
body.ss4-design .ss4-preview-media{min-width:0;overflow:hidden;border-radius:18px;aspect-ratio:4/3;background:#f0ebe0}
body.ss4-design .ss4-preview-media img{width:100%;height:100%!important;object-fit:cover;object-position:center}
body.ss4-design .ss4-learning-list{gap:15px}
body.ss4-design .ss4-learning-list>div{
  border:1px solid #e5e9e1;border-radius:15px;padding:20px!important;background:#fff;
}
body.ss4-design .ss4-faq-item[open]{background:#f8faf6;border-radius:12px}
body.ss4-design .ss4-enroll-inner{background:#f7f8f1;border-color:#e1e7dc}
body.ss4-design .ss4-enroll-action .ss4-button{box-shadow:0 7px 18px rgba(22,58,41,.12)}
body.ss4-design .ss4-faq{scroll-margin-top:96px}

/* Article library — visual browsing with readable cards, preserving live post titles/URLs. */
body.ss4-design .ss4-archive{margin-top:clamp(28px,4vw,48px)}
body.ss4-design .ss4-archive .ss4-quick-paths{margin-top:45px}
body.ss4-design .ss4-quick-list{gap:12px;border:0}
body.ss4-design .ss4-quick-list a{border:1px solid #e7ebe2!important;border-radius:13px;background:#f7f9f5;min-height:120px;padding:18px 20px}
body.ss4-design .ss4-quick-list a:nth-child(2){background:#fbf6ee}
body.ss4-design .ss4-archive .ss4-archive-results{margin-top:57px}
body.ss4-design .ss4-story-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;border:0}
body.ss4-design .ss4-story{
  overflow:hidden;min-width:0;border:1px solid #e7e9e1;border-radius:17px;background:#fff;
  transition:transform .2s,box-shadow .2s,border-color .2s;
}
body.ss4-design .ss4-story:hover{transform:translateY(-3px);border-color:#d7dfd3;box-shadow:0 10px 26px rgba(28,55,39,.08)}
body.ss4-design .ss4-story-hit{padding:0!important;min-height:0!important;display:flex;flex-direction:column}
body.ss4-design .ss4-story-visual{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#f5f0e8}
body.ss4-design .ss4-story .ss4-feature-image{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
body.ss4-design .ss4-story-body{padding:19px 19px 22px}
body.ss4-design .ss4-story-body h3{font-size:18px!important;font-weight:760;line-height:1.65!important;margin-bottom:9px}
body.ss4-design .ss4-story-body p{font-size:14px;line-height:1.85;-webkit-line-clamp:2}
body.ss4-design .ss4-story-cta{margin-top:15px;font-size:13px}
body.ss4-design .ss4-story-featured{grid-column:1/-1;background:#fcf9f2}
body.ss4-design .ss4-story-featured .ss4-story-hit{
  display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:0;padding:0!important;
}
body.ss4-design .ss4-story-featured .ss4-story-visual{aspect-ratio:16/9!important;border-radius:0}
body.ss4-design .ss4-story-featured .ss4-feature-image{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
body.ss4-design .ss4-story-featured .ss4-story-body{padding:25px 30px}
body.ss4-design .ss4-story-featured .ss4-story-body h3{font-size:clamp(22px,2.2vw,29px)!important}
body.ss4-design .ss4-story-featured .ss4-story-body p{font-size:15px}

/* Posts — source text untouched, presentation only. Fix global article H1 bleeding into related cards. */
body.ss4-design.single-post .entry-content>p{font-size:17.5px!important;line-height:1.9!important;margin-bottom:1.3em!important}
body.ss4-design.single-post .entry-content>h2{font-size:clamp(25px,2.5vw,32px)!important;line-height:1.48!important;margin-block:1.6em .65em!important}
body.ss4-design.single-post .entry-content>h3{font-size:clamp(21px,2vw,25px)!important;margin-block:1.45em .65em!important}
body.ss4-design.single-post #related-posts{
  border:1px solid #e6e9e3!important;border-radius:18px!important;background:#fbfcfa!important;
  padding:24px!important;margin-top:30px!important;box-shadow:none!important;overflow:hidden;
}
body.ss4-design.single-post #related-posts .mag-box-title h3{font-size:21px!important;line-height:1.5!important;color:#263e2e!important}
body.ss4-design.single-post #related-posts .related-posts-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin:17px 0 0!important}
body.ss4-design.single-post #related-posts .related-item{
  float:none!important;clear:none!important;width:auto!important;max-width:none!important;margin:0!important;
  min-width:0!important;display:flex!important;flex-direction:column;
  padding:0 0 13px!important;border:1px solid #e5e9e2;border-radius:15px;overflow:hidden;background:white;
}
body.ss4-design.single-post #related-posts .related-item .post-thumb{
  width:100%!important;display:block!important;margin:0!important;aspect-ratio:16/9;overflow:hidden;background:#f6f2e8;
}
body.ss4-design.single-post #related-posts .related-item .post-thumb img{
  width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:cover!important;margin:0!important;
}
body.ss4-design.single-post #related-posts .related-item h3.post-title{
  color:#214b3a!important;font-size:17px!important;line-height:1.62!important;font-weight:730!important;
  margin:12px 14px 6px!important;min-height:0!important;
  display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
}
body.ss4-design.single-post #related-posts .related-item h3.post-title a{font-size:inherit!important;line-height:inherit!important;text-decoration:none!important}
body.ss4-design.single-post #related-posts .related-item h3.post-title a:hover{color:#2f6348!important}
body.ss4-design.single-post #related-posts .related-item .post-meta{font-size:11px!important;color:#777f75!important;padding:0 14px!important;margin-top:auto!important}

/* Tables: narrow screens use genuine horizontal scrolling instead of 3 tiny columns. */
body.ss4-design.single-post .entry-content figure.wp-block-table{max-width:100%;margin-left:auto;margin-right:auto}
body.ss4-design.single-post .entry-content .ss4-mobile-table{scrollbar-color:#a6b6a5 #f3f5f1;scrollbar-width:thin}
body.ss4-design.single-post .entry-content .ss4-mobile-table:focus-visible{outline:3px solid #387754!important;outline-offset:3px!important}
body.ss4-design.single-post .entry-content .ss4-table-hint{display:none}

/* Responsive refinements. */
@media(max-width:1024px){
 body.ss4-design .ss4-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ss4-design.single-post #related-posts .related-posts-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ss4-design .ss4-trust-line{justify-content:flex-start}
 body.ss4-design .ss4-preview-layout{grid-template-columns:1fr 1fr;gap:20px}
}
@media(max-width:767px){
 body.ss4-design .ss4 .ss4-section{margin-top:44px!important}
 body.ss4-design .ss4 h1{font-size:clamp(30px,8.2vw,36px)!important;line-height:1.46}
 body.ss4-design .ss4 h2{font-size:clamp(23px,6.5vw,28px)!important}
 body.ss4-design .ss4 .ss4-lead{font-size:16.5px!important;line-height:1.82!important}
 body.ss4-design .ss4 .ss4-button{min-height:46px}
 body.ss4-design .ss4-home-hero{margin-top:8px!important;padding:21px!important;border-radius:19px;gap:20px}
 body.ss4-design .ss4-home-hero .ss4-hero-media{max-height:260px;height:auto;box-shadow:none}
 body.ss4-design .ss4-home .ss4-guidance-list{row-gap:9px}
 body.ss4-design .ss4-home .ss4-guidance-row{min-height:79px;padding:12px 15px!important;border-radius:13px}
 body.ss4-design .ss4-home .ss4-guidance-copy strong{font-size:16.5px}
 body.ss4-design .ss4-home .ss4-guidance-copy small{font-size:12px}
 body.ss4-design .ss4-reading-row{gap:12px;min-height:86px;padding:13px 2px}
 body.ss4-design .ss4-reading-row>.ss4-index{display:none}
 body.ss4-design .ss4-reading-thumb{flex-basis:84px;height:63px;border-radius:9px}
 body.ss4-design .ss4-reading-copy strong{font-size:15.5px;line-height:1.55}
 body.ss4-design .ss4-reading-row>.ss4-row-arrow{font-size:18px}
 body.ss4-design .ss4-course-teaser{padding:21px!important;gap:20px}
 body.ss4-design .ss4-course-hero{gap:23px}
 body.ss4-design .ss4-course-hero h1{font-size:clamp(30px,8vw,35px)!important}
 body.ss4-design .ss4-course-hero-price strong{font-size:24px}
 body.ss4-design .ss4-course-hero .ss4-actions{align-items:stretch}
 body.ss4-design .ss4-course-hero .ss4-actions .ss4-button{flex:1 1 auto}
 body.ss4-design .ss4-anchor-link{width:100%;justify-content:flex-start;padding-block:3px}
 body.ss4-design .ss4-course-hero-media{height:auto;max-height:270px}
 body.ss4-design .ss4-trust-line{padding:15px 16px;gap:11px;margin-top:14px;display:grid;grid-template-columns:1fr}
 body.ss4-design .ss4-trust-line>span{font-size:12.5px}
 body.ss4-design .ss4-outcome-grid{gap:11px;margin-top:19px}
 body.ss4-design .ss4-outcome-grid>div{min-height:0;padding:18px!important;border-radius:14px}
 body.ss4-design .ss4-outcome-grid h3{font-size:18px;margin:9px 0 6px}
 body.ss4-design .ss4-outcome-grid p{font-size:14.5px;line-height:1.78}
 body.ss4-design .ss4-outcome-grid a{padding-top:11px}
 body.ss4-design .ss4-preview-layout{grid-template-columns:1fr;padding:22px!important;gap:20px;border-radius:17px}
 body.ss4-design .ss4-preview-copy h2{font-size:26px!important}
 body.ss4-design .ss4-preview-copy>p{font-size:14.5px}
 body.ss4-design .ss4-preview-points li{font-size:14px}
 body.ss4-design .ss4-preview-media{aspect-ratio:16/10;border-radius:13px}
 body.ss4-design .ss4-learning-list{gap:10px}
 body.ss4-design .ss4-learning-list>div{padding:16px!important}
 body.ss4-design .ss4-enroll-inner{padding:22px!important}
 body.ss4-design .ss4-enroll-action .ss4-price{font-size:25px!important}
 body.ss4-design .ss4-archive{margin-top:25px}
 body.ss4-design .ss4-archive-heading{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
 body.ss4-design .ss4-archive-heading h1{font-size:clamp(30px,8vw,35px)!important}
 body.ss4-design .ss4-archive-count{display:inline-flex!important;align-self:flex-start;gap:7px}
 body.ss4-design .ss4-archive-count strong{font-size:23px}
 body.ss4-design .ss4-quick-list{gap:8px}
 body.ss4-design .ss4-quick-list a{padding:14px!important;min-height:80px;border-radius:11px}
 body.ss4-design .ss4-story-grid{grid-template-columns:1fr;gap:12px}
 body.ss4-design .ss4-story{border-radius:14px}
 body.ss4-design .ss4-story-hit{display:grid!important;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:0;min-height:110px}
 body.ss4-design .ss4-story-visual{height:100%;min-height:110px;aspect-ratio:auto}
 body.ss4-design .ss4-story .ss4-feature-image{height:100%!important;object-fit:cover!important}
 body.ss4-design .ss4-story-body{min-width:0;padding:12px 13px!important}
 body.ss4-design .ss4-story-body h3{font-size:16px!important;line-height:1.55!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:2px 0 0}
 body.ss4-design .ss4-story-body p{display:none}
 body.ss4-design .ss4-story-cta{font-size:12px;margin-top:7px}
 body.ss4-design .ss4-story-body .ss4-eyebrow{font-size:11px;margin-bottom:3px}
 body.ss4-design .ss4-story-featured .ss4-story-hit{display:flex!important;flex-direction:column;min-height:0}
 body.ss4-design .ss4-story-featured .ss4-story-visual{min-height:0;aspect-ratio:16/9!important}
 body.ss4-design .ss4-story-featured .ss4-story-body{padding:17px!important}
 body.ss4-design .ss4-story-featured .ss4-story-body h3{font-size:19px!important;line-height:1.6!important;display:block}
 body.ss4-design .ss4-story-featured .ss4-story-body p{display:-webkit-box;font-size:13px}
 body.ss4-design .ss4-story-featured .ss4-story-cta{margin-top:10px}
 body.ss4-design.single-post .entry-content>p{font-size:16.5px!important;line-height:1.82!important;margin-bottom:1.15em!important}
 body.ss4-design.single-post .entry-content>h2{font-size:23px!important;margin-block:1.45em .65em!important}
 body.ss4-design.single-post .entry-content>h3{font-size:20px!important;margin-block:1.3em .6em!important}
 body.ss4-design.single-post #related-posts{padding:15px!important;margin-top:23px!important;border-radius:15px!important}
 body.ss4-design.single-post #related-posts .mag-box-title h3{font-size:19px!important}
 body.ss4-design.single-post #related-posts .related-posts-list{grid-template-columns:1fr!important;gap:11px!important}
 body.ss4-design.single-post #related-posts .related-item{
   display:grid!important;grid-template-columns:116px minmax(0,1fr);grid-template-rows:auto 1fr;
   min-height:105px;padding:0!important;gap:0!important;border-radius:12px;
 }
 body.ss4-design.single-post #related-posts .related-item .post-thumb{grid-row:1/3;aspect-ratio:16/10;min-height:105px;height:100%!important}
 body.ss4-design.single-post #related-posts .related-item h3.post-title{
   font-size:15.5px!important;line-height:1.6!important;margin:10px 11px 5px!important;
   -webkit-line-clamp:3;
 }
 body.ss4-design.single-post #related-posts .related-item .post-meta{padding:0 11px 8px!important;font-size:10px!important}
 body.ss4-design.single-post .entry-content figure.wp-block-table{
   display:block;max-width:100%;overflow-x:auto!important;overflow-y:hidden;-webkit-overflow-scrolling:touch;
   overscroll-behavior-inline:contain;border:1px solid #e4e8e1;border-radius:10px;
 }
 body.ss4-design.single-post .entry-content .ss4-mobile-table table{table-layout:auto!important;width:600px!important;min-width:600px!important;margin:0!important}
 body.ss4-design.single-post .entry-content .ss4-mobile-table.ss4-wide-table table{width:680px!important;min-width:680px!important}
 body.ss4-design.single-post .entry-content .ss4-mobile-table td,
 body.ss4-design.single-post .entry-content .ss4-mobile-table th{
   font-size:14px!important;line-height:1.65!important;min-width:145px!important;vertical-align:top;
   padding:10px 12px!important;overflow-wrap:break-word!important;word-break:normal!important;
 }
 body.ss4-design.single-post .entry-content .ss4-table-hint{
   display:block;background:#f2f6f0;padding:9px 11px;color:#365b45;font-size:12px;font-weight:700;position:sticky;right:0;
 }
}
@media(max-width:360px){
 body.ss4-design .ss4-story-hit{grid-template-columns:94px minmax(0,1fr)}
 body.ss4-design .ss4-story-body h3{font-size:15px!important}
 body.ss4-design.single-post #related-posts .related-item{grid-template-columns:104px minmax(0,1fr)}
 body.ss4-design.single-post #related-posts .related-item h3.post-title{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){
 body.ss4-design .ss4-story,body.ss4-design .ss4-home .ss4-guidance-row{transition:none!important;transform:none!important}
}

/* Under Jannah the actual scrollable table viewport is .table-is-responsive. */
@media(max-width:767px){
 body.ss4-design.single-post .entry-content figure.wp-block-table.ss4-mobile-table{overflow:visible!important}
 body.ss4-design.single-post .entry-content .ss4-mobile-table .ss4-scroll-viewport{
  max-width:100%;width:100%;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;
 }
 body.ss4-design.single-post .entry-content .ss4-mobile-table .ss4-scroll-viewport:focus-visible{outline:3px solid #387754!important;outline-offset:2px!important}
}

/* V4.2.1 — safeguard the native Jannah scroll container before/after DOM enhancement. */
@media(max-width:767px){
 body.ss4-design.single-post .entry-content .ss4-mobile-table > .table-is-responsive{
  overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;-webkit-overflow-scrolling:touch;
 }
 body.ss4-design.single-post .entry-content figure.ss4-mobile-table.ss4-scroll-viewport{overflow-x:auto!important}
}
