/* Bidayat editorial V21 — feature-led magazine layout and accessible reading controls.
 * Scoped by bd-blog-v21, used only on WP archive and post routes. */
body.bdp-preview.bd-blog-v21{
  --bd21-navy:#091e32;--bd21-ink:#19394f;--bd21-gold:#d5b07a;--bd21-gold-dark:#9d7747;
  --bd21-border:#dce6ed;--bd21-body:#415a70;
  --bd21-shadow:0 19px 45px rgba(9,34,57,.095);
  --bd21-ease:cubic-bezier(.22,1,.35,1);
}
body.bdp-preview.bd-blog-v21 #content.site-content{
  background:linear-gradient(180deg,#f7f9fa 0%,#f3f6f9 48%,#f9fafb 100%)!important;
}
body.bdp-preview.bd-blog-v21 .bp10-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(290px,.87fr);
  grid-template-rows:auto auto auto auto auto 1fr;
  column-gap:clamp(28px,4.2vw,70px);align-items:center;
  min-height:420px!important;
  padding:clamp(43px,5.2vw,67px) clamp(30px,4.5vw,66px)!important;
  margin-bottom:65px!important;
  box-shadow:0 24px 55px rgba(7,35,58,.16)!important;
  background:
   radial-gradient(ellipse at 9% 14%,rgba(202,171,124,.20),transparent 41%),
   radial-gradient(ellipse at 95% 90%,rgba(74,135,173,.24),transparent 58%),
   linear-gradient(112deg,#071c30 0%,#123a58 72%,#081f34 100%)!important;
}
body.bdp-preview.bd-blog-v21 .bp10-hero>:not(.bd21-feature):not(.bd20-hero-mark){
  grid-column:1!important;
}
body.bdp-preview.bd-blog-v21 .bp10-hero .bp10-eyebrow{
  align-self:end;justify-self:start;font-size:11px!important;
  color:#f2d9b7!important;border-color:rgba(211,174,121,.47);
  background:rgba(255,255,255,.075);
}
body.bdp-preview.bd-blog-v21 .bp10-hero .bp10-crumb{
  align-self:start;margin-block:3px 14px!important;
}
body.bdp-preview.bd-blog-v21 .bp10-hero :is(h1,h2){
  font-size:clamp(39px,4.9vw,66px)!important;
  line-height:1.42!important;
  margin-block:8px 15px!important;
}
body.bdp-preview.bd-blog-v21 .bp10-hero p{
  max-width:660px!important;font-size:clamp(14px,1.24vw,17px)!important;
  line-height:2.0!important;margin-bottom:0!important;
}
body.bdp-preview.bd-blog-v21 .bd20-hero-mark{
  bottom:0!important;left:20px!important;opacity:.34;
  font-size:clamp(70px,9vw,130px)!important;
}
body.bdp-preview.bd-blog-v21 .bd21-feature{
  grid-column:2!important;grid-row:1/span 6;
  align-self:stretch;min-height:295px;max-height:370px;
  position:relative;overflow:hidden;border-radius:20px;
  border:1px solid rgba(241,215,173,.38);
  box-shadow:0 20px 55px rgba(1,13,25,.34);
  transform:translateZ(0);
  text-decoration:none!important;
  isolation:isolate;
}
body.bdp-preview.bd-blog-v21 .bd21-feature:before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(6,22,34,.02) 5%,rgba(5,19,31,.20) 38%,rgba(4,17,29,.96) 100%);
  pointer-events:none;
}
body.bdp-preview.bd-blog-v21 .bd21-feature img{
  width:100%;height:100%;min-height:100%;object-fit:cover;display:block;
  filter:saturate(.9);transform:scale(1.01);
  transition:transform .75s var(--bd21-ease),filter .75s;
}
body.bdp-preview.bd-blog-v21 .bd21-feature:hover img{
  transform:scale(1.055);filter:saturate(1.08);
}
body.bdp-preview.bd-blog-v21 .bd21-feature-tag{
  position:absolute;z-index:2;top:18px;right:18px;
  display:inline-flex;align-items:center;gap:7px;
  padding:9px 13px;border-radius:100px;
  background:rgba(5,24,39,.85);color:#f1d6ab!important;
  border:1px solid rgba(226,192,142,.55);
  font:800 11px/1.5 Almarai,Cairo,Tahoma,sans-serif;
}
body.bdp-preview.bd-blog-v21 .bd21-feature-content{
  position:absolute;z-index:2;inset:auto 20px 20px;
  display:flex;flex-direction:column;gap:11px;
}
body.bdp-preview.bd-blog-v21 .bd21-feature-title{
  color:#fff!important;font:900 clamp(19px,2vw,26px)/1.55 Almarai,Cairo,Tahoma,sans-serif!important;
  text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;
  -webkit-line-clamp:3;overflow:hidden;
}
body.bdp-preview.bd-blog-v21 .bd21-feature-action{
  color:#f2d9af!important;font:800 12px/1.7 Almarai,Cairo,sans-serif;
}
body.bdp-preview.bd-blog-v21 .bd21-hero-mobile-link{display:none}
body.bdp-preview.bd-blog-v21 .bp10-filters{
  border:1px solid rgba(193,160,116,.31)!important;
  box-shadow:0 20px 46px rgba(10,38,62,.09)!important;
}
body.bdp-preview.bd-blog-v21 .bp10-filters strong{font-size:16px!important}
body.bdp-preview.bd-blog-v21 .bd20-topics{
  margin-top:4px!important;margin-bottom:7px!important;
}
body.bdp-preview.bd-blog-v21 .bd20-topic{
  min-height:37px!important;padding-inline:14px!important;
  box-shadow:0 2px 9px rgba(10,42,66,.025);
}
body.bdp-preview.bd-blog-v21 .bd21-index-heading{
  display:flex;align-items:flex-end;justify-content:space-between;
  flex-wrap:wrap;gap:10px;margin:15px 0 25px;padding-inline:2px;
  border-bottom:1px solid #e0e8ed;padding-bottom:17px;
}
body.bdp-preview.bd-blog-v21 .bd21-index-copy{display:flex;flex-direction:column;gap:6px}
body.bdp-preview.bd-blog-v21 .bd21-index-eyebrow{
  color:#a07c4d;font:900 11px/1.5 Almarai,Cairo,Tahoma,sans-serif;
  letter-spacing:.02em;
}
body.bdp-preview.bd-blog-v21 .bd21-index-heading h2{
  margin:0!important;color:var(--bd21-ink)!important;
  font:900 clamp(22px,2.8vw,31px)/1.5 Almarai,Cairo,Tahoma,sans-serif!important;
}
body.bdp-preview.bd-blog-v21 .bd21-index-count{
  font:700 12px/1.6 Almarai,Cairo,Tahoma,sans-serif;
  color:#5b7588;padding-bottom:5px;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary .ast-row{
  gap:clamp(18px,2.15vw,29px)!important;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post{
  border-radius:20px!important;border-color:#e0e7ed!important;
  box-shadow:0 13px 35px rgba(9,36,59,.072)!important;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post:hover{
  box-shadow:0 28px 54px rgba(9,36,59,.15)!important;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post .entry-title{
  line-height:1.7!important;text-wrap:pretty;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post .bp10-read-more{
  border-radius:11px!important;min-height:43px!important;
  background:#143954!important;color:#fff!important;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post .bp10-read-more:hover{
  background:#a47c46!important;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post:first-child .post-content{
  min-height:355px!important;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post:first-child .entry-title{
  font-size:clamp(22px,2.15vw,31px)!important;line-height:1.6!important;
}
body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post .bd14-issue{
  top:15px;left:15px;
}
body.bdp-preview.bd-blog-v21.single-post #content.site-content{
  padding-top:24px!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-header{
  padding:clamp(35px,5.3vw,66px) clamp(25px,5.6vw,70px)!important;
  min-height:0!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-title{
  font-size:clamp(31px,3.6vw,49px)!important;line-height:1.52!important;
  margin-top:17px!important;margin-bottom:15px!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-meta{
  margin-bottom:7px!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-content{
  padding-top:clamp(30px,4vw,49px)!important;
  --bd21-reader-scale:1;
  font-size:clamp(16px,calc(17px * var(--bd21-reader-scale)),22px)!important;
  line-height:2.15!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-content>:is(p,h2,h3,h4,ul,ol,blockquote){
  max-width:790px;margin-inline:auto!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-content :is(p,li){
  line-height:2.12!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-content h2{
  margin-top:43px!important;margin-bottom:20px!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-content p{
  margin-bottom:24px!important;
}
body.bdp-preview.bd-blog-v21.single-post .bp10-toc{
  margin-block:9px 18px!important;
}
body.bdp-preview.bd-blog-v21.single-post .bp10-toc li{
  border-bottom:1px solid rgba(215,226,232,.54);
}
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-bar{
  position:relative;z-index:5;display:flex;gap:12px;align-items:center;justify-content:space-between;
  flex-wrap:wrap;margin:0 clamp(16px,3.5vw,40px) 0;
  padding:12px 18px;border:1px solid #dce5ea;border-top:0;
  background:#fff;
  border-radius:0 0 14px 14px;
  box-shadow:0 8px 18px rgba(8,36,58,.045);
}
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-actions{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
}
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-title{
  display:flex;align-items:center;gap:7px;
  font:900 12px/1.8 Almarai,Cairo,Tahoma,sans-serif;color:#38546a;
}
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-title:before{
  content:"";width:7px;height:7px;background:#c19b61;border-radius:50%;
}
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-btn,
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-return{
  min-height:37px;min-width:37px;display:inline-flex;align-items:center;justify-content:center;
  padding:7px 12px;border:1px solid #dbe4eb;border-radius:9px;
  background:#f8fafb;color:#294c63!important;
  font:800 12px/1.5 Almarai,Cairo,Tahoma,sans-serif;
  text-decoration:none!important;cursor:pointer;
  transition:background .25s,border-color .25s,color .25s;
}
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-btn:hover,
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-return:hover{
  background:#123b57;color:#fff!important;border-color:#123b57;
}
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-btn:focus-visible,
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-return:focus-visible{
  outline:3px solid rgba(199,161,107,.45);outline-offset:2px;
}
body.bdp-preview.bd-blog-v21.single-post .bd21-reader-feedback{
  display:inline-block;font:700 11px/1.5 Almarai,Cairo,Tahoma,sans-serif;color:#577588;
  min-height:18px;
}
body.bdp-preview.bd-blog-v21 .bp10-bottom{
  box-shadow:0 20px 45px rgba(6,28,49,.13)!important;
}
@media(min-width:768px) and (max-width:1050px){
 body.bdp-preview.bd-blog-v21 .bp10-hero{
  grid-template-columns:minmax(0,1fr) minmax(220px,.7fr);gap:24px;
  min-height:350px!important;padding:44px 34px!important;
 }
 body.bdp-preview.bd-blog-v21 .bd21-feature{min-height:255px}
 body.bdp-preview.bd-blog-v21 .bp10-hero :is(h1,h2){font-size:clamp(36px,5vw,50px)!important}
}
@media(max-width:767px){
 body.bdp-preview.bd-blog-v21:not(.single-post) #primary{
  padding-top:15px!important;
 }
 body.bdp-preview.bd-blog-v21 .bp10-hero{
   display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;
   min-height:0!important;padding:clamp(45px,9vw,60px) 23px 48px!important;
   margin-bottom:54px!important;border-radius:19px!important;
 }
 body.bdp-preview.bd-blog-v21 .bp10-hero .bp10-crumb{
   margin-block:5px 11px!important;
 }
 body.bdp-preview.bd-blog-v21 .bp10-hero :is(h1,h2){
   font-size:clamp(34px,9vw,44px)!important;margin-block:8px 12px!important;
 }
 body.bdp-preview.bd-blog-v21 .bp10-hero p{
   font-size:14px!important;line-height:1.92!important;
 }
 body.bdp-preview.bd-blog-v21 .bd21-feature{display:none!important}
 body.bdp-preview.bd-blog-v21 .bd21-hero-mobile-link{
   display:inline-flex!important;min-height:41px;align-items:center;
   margin-top:19px;padding:10px 15px;border-radius:10px;
   background:rgba(227,192,141,.15);color:#f8dcaf!important;
   border:1px solid rgba(227,192,141,.55);
   text-decoration:none!important;font:800 12px Almarai,Cairo,Tahoma,sans-serif;
 }
 body.bdp-preview.bd-blog-v21 .bd20-hero-mark{font-size:53px!important;opacity:.18!important}
 body.bdp-preview.bd-blog-v21 .bp10-filters{
   margin-top:-54px!important;
   margin-bottom:13px!important;border-radius:15px!important;
 }
 body.bdp-preview.bd-blog-v21 .bd21-index-heading{
   margin-top:0;margin-bottom:18px;padding-bottom:12px;
 }
 body.bdp-preview.bd-blog-v21 .bd21-index-heading h2{font-size:23px!important}
 body.bdp-preview.bd-blog-v21:not(.single-post) #primary article.ast-article-post:first-child .post-content{
   min-height:0!important;
 }
 body.bdp-preview.bd-blog-v21.single-post #content.site-content{padding-top:9px!important}
 body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-header{
   padding:29px 20px!important;
 }
 body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-title{
   font-size:clamp(27px,7vw,37px)!important;line-height:1.58!important;
 }
 body.bdp-preview.bd-blog-v21.single-post .bd21-reader-bar{
   margin:0 9px;gap:9px;padding:11px 12px;position:relative;
 }
 body.bdp-preview.bd-blog-v21.single-post .bd21-reader-title{
   width:100%;font-size:11px;
 }
 body.bdp-preview.bd-blog-v21.single-post .bd21-reader-actions{
   gap:6px;flex:1;
 }
 body.bdp-preview.bd-blog-v21.single-post .bd21-reader-btn,
 body.bdp-preview.bd-blog-v21.single-post .bd21-reader-return{
   min-height:36px;padding:7px 10px;font-size:11px;
 }
 body.bdp-preview.bd-blog-v21.single-post .bd21-reader-feedback{
   width:100%;
 }
 body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-content{
   padding:27px 20px!important;
 }
}
/* Keep every byline/date segment legible against the navy article masthead. */
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-header .entry-meta,
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-header .entry-meta :is(a,span,time){
 color:#e7eff6!important;opacity:1!important;
}
body.bdp-preview.bd-blog-v21.single-post #primary article.ast-article-single .entry-header .entry-meta .author-name{
 color:#f5d9ac!important;
}
@media(prefers-reduced-motion:reduce){
 body.bdp-preview.bd-blog-v21 .bd21-feature img{transition:none!important;transform:none!important}
 body.bdp-preview.bd-blog-v21 .bd21-reader-btn{transition:none!important}
}
