/* Home only. Official Tajawal / nesh blog palette. No shell overrides. */
body.nesh-shell #main-content.nesh-home{font-family:Tajawal,sans-serif;color:#231f20;background:#efefef;font-size:18px;line-height:1.7;--nh-rule:#cbc8c9;--nh-muted:#666666;--nh-blue:#52677c;--nh-ink:#2d3d4e;overflow-wrap:anywhere}
.nesh-home *{box-sizing:border-box}
.nesh-home:dir(ltr){direction:ltr;text-align:start}
.nesh-home:dir(rtl){direction:rtl;text-align:start}
.nesh-home :is(h1,h2,h3,p){margin:0;padding:0;color:inherit}
.nesh-home :is(h1,h2,h3){font-family:inherit;text-wrap:balance}
.nesh-home a{color:inherit;text-decoration:none;text-underline-offset:6px;text-decoration-thickness:1px}
.nesh-home a:hover{text-decoration:underline}
.nesh-home a:focus-visible{outline:3px solid #52677c;outline-offset:5px;border-radius:2px}
.nesh-home .screen-reader-text{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.nh-hero{position:relative;isolation:isolate;background:#efefef;min-height:clamp(380px,31.5vw,510px)}
.nh-hero-picture{position:absolute;inset:0;z-index:-2;overflow:hidden}
.nh-hero-picture img{width:65%;height:100%;object-fit:cover;object-position:center;position:absolute;left:0;top:0;mask-image:linear-gradient(to right,#231f20 65%,transparent 100%)}
.nh-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to right,transparent 38%,#efefef 69%)}
.nh-hero-inner{width:88%;max-width:1360px;margin:auto;display:flex;align-items:center;min-height:inherit;padding-block:40px}
.nh-hero-copy{width:44%;margin-inline-end:auto}
.nh-eyebrow{font:500 12px/1.5 Tajawal,sans-serif;letter-spacing:3px;color:#666!important;margin-bottom:14px!important}
.nh-hero h1{font-size:clamp(34px,3.35vw,50px);font-weight:700;line-height:1.38;margin-bottom:16px;letter-spacing:-.025em}
.nh-hero-description{font-size:clamp(18px,1.45vw,21px);color:#666!important;max-width:440px;line-height:1.75}
.nh-explore{display:inline-flex;align-items:center;gap:20px;margin-top:18px;min-height:48px;font-size:17px;font-weight:500;border-bottom:1px solid #cbc8c9}
/* Geometric UI arrow: avoids a second font and follows reading direction. */
.nh-arrow{position:relative;display:inline-block;inline-size:30px;block-size:16px;flex-shrink:0;vertical-align:middle}
.nh-arrow:before{content:"";position:absolute;inset-inline:0;top:50%;border-top:1px solid currentColor}
.nh-arrow:after{content:"";position:absolute;right:0;top:calc(50% - 3px);width:7px;height:7px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
.nesh-home:dir(rtl) .nh-arrow{transform:rotate(180deg)}
.nh-container{width:88%;max-width:1360px;margin:auto;padding-bottom:64px}
.nh-section{padding-top:48px;scroll-margin-top:var(--nh-anchor-offset,140px)}
.nesh-home [id]{scroll-margin-top:var(--nh-anchor-offset,140px)}
.nesh-home :is(h1,h2,h3):focus-visible{outline:3px solid #52677c;outline-offset:5px}
.nh-section-heading{display:flex;align-items:center;gap:24px;justify-content:space-between;margin-bottom:24px;min-height:44px}
.nh-section-heading h2{font-size:clamp(26px,2.25vw,32px);font-weight:700;line-height:1.5;flex-shrink:0}
.nh-heading-line:after{content:"";width:56px;height:1px;background:var(--nh-rule);margin-inline-end:auto}
.nh-heading-line .nh-view-all{order:3;margin-inline-start:auto}
.nh-view-all{flex-direction:row-reverse;display:inline-flex;align-items:center;gap:12px;font-size:15px;min-height:44px;font-weight:500}
.nh-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.nh-featured-card{display:flex;flex-direction:column;min-width:0;border-bottom:1px solid #cbc8c9}
.nh-image{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:2/1}
.nh-image-empty{background:#e9eef2}
.nh-image-mobile{display:none}
.nh-card-copy{padding:20px 0 12px;display:flex;flex:1;flex-direction:column;background:transparent}
.nh-category{font-size:14px;color:#666!important;margin-bottom:8px!important;line-height:1.5}
.nh-featured-card h3{font-size:21px;font-weight:700;line-height:1.65;margin-bottom:10px}
.nesh-home :is(.nh-featured-card,.nh-section-card,.nh-latest-card) h3 a{display:block;min-height:44px;padding-block:3px}
.nh-excerpt{color:#666!important;font-size:17px;line-height:1.8;margin-bottom:12px!important}
.nh-read{display:flex;align-items:center;gap:16px;width:fit-content;min-height:48px;color:#2d3d4e!important;font-size:16px;font-weight:500;margin-top:auto}
.nh-sections-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.nh-section-card{position:relative;isolation:isolate;min-height:220px;background:#e3e3e3;overflow:hidden}
.nh-section-card>.nh-image{position:absolute;inset:0;height:100%;z-index:-2;object-fit:cover}
.nh-section-card:after{position:absolute;content:"";inset:0;z-index:-1;background:linear-gradient(to right,#efefef55,#efefeff5 62%)}
.nh-section-copy{padding:28px;min-height:220px;height:100%;display:flex;flex-direction:column;align-items:flex-start}
.nh-section-copy h3{font-size:clamp(24px,2vw,28px);font-weight:500;line-height:1.5;margin-bottom:8px}
.nh-section-copy p{color:#666;font-size:17px;max-width:240px;line-height:1.75;margin-bottom:16px}
.nh-circle{border:1px solid currentColor;border-radius:50%;height:44px;width:44px;display:flex;align-items:center;justify-content:center;align-self:flex-end;margin-top:auto}
.nh-circle .nh-arrow{inline-size:20px}
.nh-section-card.nh-blue{background:#52677c;color:#fff}
.nh-section-card.nh-blue:after{background:linear-gradient(to right,#52677cf2,#405367f5)}
.nh-section-card.nh-blue p{color:#fff}
.nh-section-card.nh-blue a:focus-visible{outline-color:#fff}
.nh-series-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.nh-series-card{position:relative;isolation:isolate;min-height:210px;color:#fff;background:#52677c}
.nh-series-card>.nh-image{height:100%;position:absolute;inset:0;z-index:-2}
.nh-series-card:after{position:absolute;content:"";inset:0;z-index:-1;background:linear-gradient(transparent 15%,#231f20d9 70%,#231f20 100%)}
.nh-series-copy{padding:16px;min-height:210px;display:flex;flex-direction:column;justify-content:flex-end;text-align:start;gap:8px}
.nh-series-number{font:400 25px/1.3 Tajawal,sans-serif;direction:ltr;align-self:flex-end}
.nh-series-copy h3{font-size:17px;font-weight:500;line-height:1.6}
.nh-series-copy h3 a{display:flex;align-items:center;min-height:48px}
.nh-series-copy a:focus-visible{outline-color:#fff}
.nh-series-arrow{display:none}
.nh-latest-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.nh-latest-grid:has(.nh-mobile-first) .nh-latest-card:nth-child(1){order:4}
.nh-latest-grid:has(.nh-mobile-first) .nh-latest-card:nth-child(2){order:1}
.nh-latest-grid:has(.nh-mobile-first) .nh-latest-card:nth-child(3){order:3}
.nh-latest-grid:has(.nh-mobile-first) .nh-latest-card:nth-child(4){order:2}
.nh-latest-grid:has(.nh-mobile-first) .nh-latest-card:nth-child(5){order:5}
.nh-latest-grid:has(.nh-mobile-first) .nh-latest-card:nth-child(6){order:6}
.nh-latest-card{min-width:0;display:flex;flex-direction:column;border-bottom:1px solid #cbc8c9}
.nh-latest-copy{padding:16px 0 0;display:flex;flex:1;flex-direction:column;min-height:190px}
.nh-latest-card h3{font-size:17px;font-weight:700;line-height:1.7;margin-bottom:16px}
.nh-latest-card .nh-category{font-size:13px}
.nh-latest-card time{font-size:14px;color:#666;margin-top:auto}
.nh-latest-arrow{display:flex;justify-content:flex-end;align-items:center;min-height:44px;width:44px;margin-inline-start:auto}
.nh-more{display:none}
.nh-mobile-only{display:none}
.nh-empty{padding:24px;border:1px solid var(--nh-rule)}
.nesh-home:dir(ltr) .nh-hero-copy{margin-inline-start:0;margin-inline-end:auto}
.nesh-home:dir(ltr) .nh-hero-picture img{left:auto;right:0;mask-image:linear-gradient(to left,#231f20 65%,transparent 100%)}
.nesh-home:dir(ltr) .nh-hero:after{background:linear-gradient(to left,transparent 38%,#efefef 69%)}
.nesh-home:dir(ltr) .nh-section-card:not(.nh-blue):after{background:linear-gradient(to left,#efefef55,#efefeff5 62%)}
@media(min-width:768px) and (max-width:1099px){
 .nh-hero-copy{width:48%}.nh-hero h1{font-size:36px}.nh-featured-grid{gap:20px}
 .nh-latest-grid,.nh-series-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
 .nh-section-copy{padding:20px}.nh-section-copy h3{font-size:23px}.nh-section-copy p{font-size:16px}
 .nh-sections-grid{gap:14px}.nh-featured-card h3{font-size:20px}.nh-excerpt{font-size:16px}
}
@media(max-width:767px){
 #main-content.nesh-home{font-size:18px}.nh-container{width:auto;margin-inline:24px;padding-bottom:48px}
 .nh-hero{min-height:0}.nh-hero-picture{position:relative;display:block;height:clamp(180px,52vw,210px);z-index:0}
 .nh-hero-picture:after{content:"";position:absolute;inset-inline:0;bottom:0;height:64px;background:linear-gradient(to bottom,transparent,#efefef);pointer-events:none}
 .nh-hero-picture img{position:static;width:100%;height:100%;object-position:center 60%;mask-image:none!important;opacity:1}
 .nh-hero:after{display:none}.nh-hero-inner{width:auto;margin-inline:24px;min-height:0;padding-block:6px 24px}
 .nh-hero-copy{width:100%;max-width:440px;margin:0!important;text-align:start}
 .nh-eyebrow{font-size:11px;letter-spacing:2.5px;margin-bottom:10px!important}
 .nh-hero h1{font-size:clamp(29px,8.1vw,34px);line-height:1.45;margin-bottom:12px}
 .nh-hero-description{font-size:17px;max-width:35ch;line-height:1.75}
 .nh-explore{margin-top:14px;gap:18px;font-size:16px}
 .nh-section{padding-top:36px;scroll-margin-top:var(--nh-anchor-offset,100px)}.nh-section-heading{margin-bottom:20px;gap:14px;flex-wrap:wrap}
 .nh-section-heading h2{font-size:26px}.nh-view-all{font-size:13px;gap:8px}.nh-view-all .nh-arrow{inline-size:22px}
 .nh-featured-grid,.nh-sections-grid,.nh-series-grid,.nh-latest-grid{display:grid;grid-template-columns:minmax(0,1fr)}
 .nh-featured-grid{gap:30px}.nh-featured-card>.nh-image{aspect-ratio:1.54/1}
 .nh-card-copy{padding:18px 0 12px}.nh-featured-card>.nh-image-desktop{display:none}.nh-featured-card>.nh-image-mobile{display:block}
 .nh-category{font-size:14px}.nh-featured-card h3{font-size:21px;line-height:1.65;margin-bottom:8px}
 .nh-excerpt{font-size:17px;line-height:1.85}.nh-read{font-size:16px;min-height:48px}
 .nh-more{display:flex;border:1px solid #52677c;border-radius:28px;min-height:48px;align-items:center;justify-content:space-between;gap:18px;margin:26px 0 0;padding:10px 20px;font-size:16px;font-weight:500}
 .nh-sections-grid{gap:14px}.nh-section-card,.nh-section-copy{min-height:220px}.nh-section-copy{padding:26px}
 .nh-section-copy h3{font-size:26px}.nh-section-copy p{font-size:17px;max-width:240px}.nh-circle{align-self:flex-start}
 .nh-sections-grid .nh-blue{order:2}.nh-sections-grid .nh-culture{order:3}
 .nh-heading-line:after{width:42px}.nh-heading-line .nh-view-all{display:none}
 .nh-series-grid{gap:0}.nh-series-card{display:grid;grid-template-columns:42% minmax(0,1fr);direction:ltr;min-height:112px;background:none;color:#231f20;isolation:auto;border-bottom:1px solid #d2d2d2;padding-block:10px}
 .nh-series-card:after{display:none}.nh-series-card>.nh-image{position:relative;z-index:0;height:100%;min-height:92px;aspect-ratio:auto}
 .nh-series-copy{position:relative;direction:rtl;min-height:92px;padding:4px 14px;padding-inline-start:42px;text-align:start;justify-content:center;gap:4px}
 .nh-series-number{align-self:flex-start;font-size:22px}.nh-series-copy h3{font-size:17px}.nh-series-copy h3 a{min-height:44px}
 .nh-series-copy a:focus-visible{outline-color:#52677c}
 .nh-series-arrow{display:flex;align-items:center;justify-content:center;position:absolute;inset-inline-start:0;top:calc(50% - 22px);width:44px;height:44px}.nh-series-arrow .nh-arrow{inline-size:20px}
 .nh-latest-grid{gap:0}.nh-latest-card{display:grid;grid-template-columns:30% minmax(0,1fr);direction:ltr;gap:18px;background:none;padding-block:18px;border-bottom:1px solid #d2d2d2}
 .nh-latest-card>.nh-image{aspect-ratio:1/1;align-self:start;height:auto}.nh-latest-copy{direction:rtl;text-align:start;padding:0;min-height:108px}
 .nh-latest-card h3{font-size:17px;line-height:1.7;margin-bottom:8px}.nh-latest-card .nh-category{font-size:13px}.nh-latest-card time{font-size:14px;margin-top:auto}.nh-latest-arrow{display:none}
 .nh-desktop-only{display:none}.nh-mobile-only{display:flex}.nh-latest-card:nth-child(n+4){display:none}
 .nh-latest-grid:has(.nh-mobile-first) .nh-latest-card:nth-child(n){order:0}
 .nh-section-card.nh-stories{background:#52677c;color:#fff}.nh-section-card.nh-stories:after,.nesh-home:dir(ltr) .nh-section-card.nh-stories:after{background:linear-gradient(to right,#52677cf2,#405367f5)}.nh-section-card.nh-stories p{color:#fff}.nh-section-card.nh-stories a:focus-visible{outline-color:#fff}
 .nh-section-card.nh-culture{background:#52677c;color:#fff}.nh-section-card.nh-culture:after{background:linear-gradient(to right,#231f20e6,#231f20f5)}
 .nesh-home:dir(ltr) :is(.nh-series-copy,.nh-latest-copy){direction:ltr;text-align:start}
}
@media(hover:hover){
 .nesh-home :is(.nh-featured-card,.nh-latest-card):hover{border-bottom-color:#52677c}
 .nesh-home :is(.nh-explore,.nh-view-all,.nh-read):hover{color:#405367!important}
 .nesh-home .nh-more:hover{background:#e9eef2}
 .nesh-home .nh-circle:hover{background:#efefef;color:#231f20}
}
@media(prefers-reduced-motion:no-preference){
 .nesh-home a,.nesh-home .nh-arrow,.nesh-home :is(.nh-featured-card,.nh-latest-card){transition:color 180ms ease,background-color 180ms ease,border-color 180ms ease,translate 180ms ease}
 .nesh-home:dir(rtl) :is(.nh-explore,.nh-read,.nh-more):hover .nh-arrow{translate:-3px 0}
 .nesh-home:dir(ltr) :is(.nh-explore,.nh-read,.nh-more):hover .nh-arrow{translate:3px 0}
}
@media(prefers-reduced-motion:reduce){.nesh-home *,.nesh-home *:before,.nesh-home *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
