/* Bidayat Article Type System V27 — editorial Arabic typography and refined reading UI.
   Applies exclusively to actual single WordPress post pages. */
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post{
  --bd27-display:"Readex Pro","Cairo",Tahoma,sans-serif;
  --bd27-text:"IBM Plex Sans Arabic","Almarai",Tahoma,sans-serif;
  --bd27-ink:#17364d;--bd27-body:#334c60;--bd27-sub:#627689;
  --bd27-gold:#ad834c;--bd27-soft:#f7f4ed;--bd27-line:#e0e5e3;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single{
  border:1px solid #e2e5e3!important;
  border-radius:18px!important;
  box-shadow:0 22px 55px rgba(14,43,61,.075)!important;
}
/* Distinctive editorial title system */
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-header .entry-title{
  font-family:var(--bd27-display)!important;
  font-size:clamp(31px,3.05vw,43px)!important;
  font-weight:650!important;line-height:1.63!important;
  letter-spacing:0!important;
  color:#12354c!important;
  text-wrap:balance!important;
  margin:16px 0 15px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-header .entry-title:after{
  background:linear-gradient(90deg,#d0b184,#aa7b42)!important;
  width:64px!important;height:2px!important;
  margin-top:17px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-header{
  background:
    radial-gradient(ellipse at 96% 0%,rgba(197,159,108,.13),transparent 52%),
    linear-gradient(135deg,#fffdfa,#f5f1e9 100%)!important;
  border-top:3px solid #b9915b!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .entry-header .bp10-article-crumb,
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .entry-header .bp10-article-crumb a,
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .entry-header .entry-meta,
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .entry-header .entry-meta :is(a,span,time){
  font-family:var(--bd27-text)!important;
  font-weight:500!important;
  font-size:12px!important;
  line-height:1.9!important;
  letter-spacing:0!important;
  color:#657585!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .entry-header .entry-meta{
  display:flex;align-items:center;flex-wrap:wrap;gap:5px;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .entry-header .bd20-reading-time{
  font-family:var(--bd27-text)!important;
  font-weight:600!important;
  font-size:12px!important;
  letter-spacing:0!important;
  color:#815f36!important;
  background:#f1e6d5!important;
  border-color:#e3cfad!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bd23-quicklinks a{
  font-family:var(--bd27-text)!important;font-size:12px!important;
  font-weight:600!important;letter-spacing:0!important;
  padding:9px 16px!important;
  border-radius:8px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bd26-cover{
  border-radius:15px!important;
  box-shadow:0 19px 39px rgba(15,42,59,.15)!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bd26-cover-label{
  font-family:var(--bd27-text)!important;
  font-weight:600!important;
  background:rgba(12,38,55,.89)!important;
  font-size:12px!important;
}
/* Reading toolbar remains functional; make labels legible */
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post :is(.bd21-reader-bar,.bd21-reader-title,.bd21-reader-btn,.bd21-reader-return,.bd21-reader-feedback){
  font-family:var(--bd27-text)!important;
  letter-spacing:0!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bd21-reader-title{
  font-size:13px!important;font-weight:600!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bd21-reader-btn,
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bd21-reader-return{
  font-size:12px!important;font-weight:600!important;
  min-height:39px!important;padding:8px 13px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bp10-toc{
  background:linear-gradient(130deg,#fffefb,#f9f7f2)!important;
  border-color:#e4e4de!important;
  border-inline-start:3px solid #c29b66!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bp10-toc .bd22-toc-top h2{
  font-family:var(--bd27-display)!important;
  font-size:clamp(20px,2vw,26px)!important;
  font-weight:600!important;
  line-height:1.7!important;
  letter-spacing:0!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bp10-toc .bd22-toc-action{
  font-family:var(--bd27-text)!important;
  font-size:12px!important;font-weight:600!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bp10-toc li a{
  font-family:var(--bd27-text)!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.9!important;
  letter-spacing:0!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bp10-toc li a:before{
  font-family:var(--bd27-text)!important;
  font-weight:600!important;
}
/* Main editorial reading column: calm Arabic rhythm and consistent type ramp. */
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content{
  font-family:var(--bd27-text)!important;
  font-size:clamp(17px,calc(18px * var(--bd21-reader-scale,1)),23px)!important;
  font-weight:400!important;
  letter-spacing:0!important;
  line-height:2.07!important;
  color:var(--bd27-body)!important;
  padding:clamp(34px,4.5vw,60px) clamp(24px,5.6vw,73px)!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content :is(p,li,blockquote,td,th){
  font-family:var(--bd27-text)!important;
  font-size:clamp(17px,calc(18px * var(--bd21-reader-scale,1)),23px)!important;
  font-weight:400!important;
  color:var(--bd27-body)!important;
  letter-spacing:0!important;
  line-height:2.08!important;
  text-wrap:pretty;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content p{
  margin-bottom:25px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content>p:first-of-type{
  background:#faf7f1!important;
  border:1px solid #e7e0d5!important;
  border-inline-start:3px solid #bd935f!important;
  padding:clamp(20px,2.6vw,30px)!important;
  color:#29465a!important;
  font-family:var(--bd27-text)!important;
  font-weight:500!important;
  font-size:clamp(17px,calc(18.5px * var(--bd21-reader-scale,1)),24px)!important;
  line-height:2.05!important;
  border-radius:12px!important;
  box-shadow:0 7px 20px rgba(15,45,60,.035)!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bd26-chapter-kicker{
  font-family:var(--bd27-text)!important;
  font-size:12px!important;font-weight:600!important;
  color:#927047!important;margin-top:38px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content h2{
  font-family:var(--bd27-display)!important;
  font-size:clamp(25px,2.45vw,33px)!important;
  font-weight:600!important;
  line-height:1.76!important;
  letter-spacing:0!important;
  color:#173b54!important;
  margin-bottom:18px!important;
  text-wrap:balance;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content h3{
  font-family:var(--bd27-display)!important;
  font-size:clamp(20px,1.8vw,26px)!important;
  font-weight:600!important;
  line-height:1.76!important;
  letter-spacing:0!important;
  color:#254b62!important;
  margin-block:22px 12px!important;
  text-wrap:pretty;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content :is(h4,h5,h6){
  font-family:var(--bd27-display)!important;
  font-weight:600!important;letter-spacing:0!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content :is(ol,ul){
  margin-block:17px 26px!important;
  padding-inline-start:26px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content li{
  padding-block:5px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content :is(a:not(.wp-block-button__link)){
  color:#986d37!important;
  font-weight:500!important;
  text-decoration-color:#b99569!important;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content a:hover{
  color:#173b53!important;
  text-decoration-color:#173b53!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content blockquote{
  background:#f7f5f1!important;
  border-inline-start:3px solid #c8a578!important;
  border-radius:11px!important;
  padding:25px 27px!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content .wp-caption-text{
  font-family:var(--bd27-text)!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.85!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .ast-related-posts-wrapper .ast-related-post-title,
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .ast-related-posts-wrapper .ast-related-post-title a{
  font-family:var(--bd27-display)!important;
  font-weight:600!important;
  font-size:clamp(15px,1.13vw,18px)!important;
  line-height:1.7!important;
  letter-spacing:0!important;
}
body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .ast-related-posts-wrapper .bd24-related-action{
  font-family:var(--bd27-text)!important;
  font-size:12px!important;font-weight:600!important;
}
@media(max-width:767px){
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-header .entry-title{
  font-size:clamp(27px,7.2vw,35px)!important;
  font-weight:650!important;
  line-height:1.62!important;
 }
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content{
  font-size:clamp(16.5px,calc(17px * var(--bd21-reader-scale,1)),21.5px)!important;
  padding:27px 20px!important;
 }
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content :is(p,li,blockquote,td,th){
  font-size:clamp(16.5px,calc(17px * var(--bd21-reader-scale,1)),21.5px)!important;
  line-height:2.02!important;
 }
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content>p:first-of-type{
  font-size:clamp(17px,calc(17.6px * var(--bd21-reader-scale,1)),22.5px)!important;
  padding:19px!important;
 }
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content h2{
  font-size:clamp(23px,6.4vw,28px)!important;
  line-height:1.76!important;
 }
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post #primary article.ast-article-single .entry-content h3{
  font-size:clamp(19px,5vw,23px)!important;
 }
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bp10-toc li a{
  font-size:12.5px!important;
 }
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .ast-related-posts-wrapper .ast-related-post-title,
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .ast-related-posts-wrapper .ast-related-post-title a{
  font-size:15px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.bdp-preview.bdp-v17.bd-blog-v14.bd-blog-v25.bd-blog-v26.bd-blog-v27.single-post .bd26-cover img{
  transition:none!important;
 }
}
