/*
 Bidayat Royal Signature V19 — Editorial design system for all archives and posts.
 Only visual CSS; preserves headings, content, metadata, SEO tags, links and forms.
*/
body.bdp-preview.bdp-v17.bdp-v19:is(.single-post,.blog,.archive,.bd-blog-v14){
 --bd19-reading-width:760px;
 --bd19-editorial-gap:clamp(20px,3.2vw,44px);
}
body.bdp-preview.bdp-v19.bd-blog-v14 #content.site-content{
 background:linear-gradient(180deg,#f7f7f3,#fefdfa 48%,#f8f8f5)!important;
}
body.bdp-preview.bdp-v19.bd-blog-v14 #primary{
 min-width:0;
}
body.bdp-preview.bdp-v19.bd-blog-v14 .bp10-hero{
 border-bottom:1px solid rgba(219,179,114,.20);
 box-shadow:0 22px 48px rgba(7,28,48,.16);
}
body.bdp-preview.bdp-v19.bd-blog-v14 .bp10-hero :is(h1,h2){
 text-wrap:balance;line-height:1.36;
}
/* Archive: existing real articles retain pagination and links */
body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) #primary .ast-row{
 align-items:stretch;
}
body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) #primary article.ast-article-post{
 min-width:0;
 box-shadow:0 17px 46px rgba(8,37,55,.08)!important;
 border-color:rgba(16,61,83,.12)!important;
}
body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) #primary article.ast-article-post :is(.entry-header,.entry-content,.blog-layout-1){
 min-width:0;
}
body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) #primary article.ast-article-post .entry-title{
 font-weight:850!important;
 line-height:1.52!important;
 text-wrap:pretty;overflow-wrap:break-word;
}
body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) #primary article.ast-article-post .entry-content p{
 line-height:1.9;
}
body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) #primary article.ast-article-post :is(img,.post-thumb-img-content img){
 height:auto;max-width:100%;object-fit:cover;
}
body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) .ast-pagination .page-numbers{
 min-width:40px;min-height:40px;
 display:inline-flex;align-items:center;justify-content:center;
 border-radius:13px;
}
body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) .ast-pagination a:focus-visible{
 outline:3px solid #caa56d;outline-offset:2px;
}
/* Long-form articles: comfortable reading width and original content intact. */
body.bdp-preview.bdp-v19.single-post #primary article{
 max-width:100%;
 overflow-wrap:break-word;
}
body.bdp-preview.bdp-v19.single-post #primary article :is(.entry-header,.entry-content,.entry-footer){
 max-width:100%;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-title{
 color:#13354c!important;
 font-weight:900!important;
 line-height:1.39!important;
 font-size:clamp(30px,3.5vw,54px)!important;
 letter-spacing:-.02em;
 text-wrap:balance;
}
body.bdp-preview.bdp-v19.single-post #primary article :is(.entry-meta,.posted-on,.byline){
 line-height:1.8;color:#637b89!important;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content{
 color:#27465b;
 font-size:clamp(16px,1.32vw,18px);
 line-height:2.04!important;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content :is(p,ul,ol){
 line-height:2.04;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content :is(h2,h3,h4){
 color:#13354c;
 margin-block:1.65em .6em;
 line-height:1.47;
 scroll-margin-top:115px;
 text-wrap:balance;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content h2{
 font-size:clamp(24px,2.15vw,34px);
 font-weight:900;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content h3{
 font-size:clamp(20px,1.85vw,28px);
 font-weight:850;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content :is(ul,ol){
 padding-inline-start:1.75em;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content li{
 padding-block:.15em;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content a:not(.elementor-button){
 text-underline-offset:4px;
 text-decoration-thickness:1px;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content a:focus-visible{
 outline:3px solid #d2ac75;outline-offset:4px;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content :is(img,figure,video,iframe){
 max-width:100%;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content figure{
 margin-inline:auto;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content img{
 height:auto;border-radius:clamp(13px,1.7vw,22px);
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content blockquote{
 border-inline-start:4px solid #d4ae73;
 padding:20px clamp(18px,2.5vw,30px);
 margin-block:32px;
 background:#fbf8f0;border-radius:15px;
 color:#233f52;
}
body.bdp-preview.bdp-v19.single-post #primary article .entry-content :is(table,pre){
 display:block;max-width:100%;overflow-x:auto;
}
body.bdp-preview.bdp-v19.single-post #primary article :is(.ast-single-related-posts-container,.ast-related-posts-title-section){
 max-width:100%;
}
body.bdp-preview.bdp-v19.single-post #secondary :is(.widget,.widget-title){
 overflow-wrap:break-word;
}
/* Article action panels & real related posts; no placeholder content */
body.bdp-preview.bdp-v19.single-post :is(.ast-single-related-posts-container,.ast-related-posts-section){
 border-color:rgba(16,61,83,.14);
}
body.bdp-preview.bdp-v19.single-post .wp-block-image img{
 object-fit:contain;
}
@media(max-width:920px){
 body.bdp-preview.bdp-v19.single-post #primary{
  width:100%;min-width:0;
 }
}
@media(max-width:767px){
 body.bdp-preview.bdp-v19.single-post #primary article .entry-title{
  font-size:clamp(27px,7.4vw,36px)!important;
 }
 body.bdp-preview.bdp-v19.single-post #primary article .entry-content{
  font-size:16px;line-height:1.98!important;
 }
 body.bdp-preview.bdp-v19.single-post #primary article .entry-content :is(table,pre){
  width:100%;
 }
 body.bdp-preview.bdp-v19.bd-blog-v14:not(.single-post) #primary article.ast-article-post{
  border-radius:20px!important;
 }
}
