/*
 Bidayat Royal Signature V19 — Phase 02 Master Design System.
 Visual-only layer on top of published V17/V18 styles.
 No DOM edits, no content/URL/SEO-metadata changes, no landing styles.
*/
body.bdp-preview.bdp-v17.bdp-v19{
 --bd19-ink:#112f43;
 --bd19-ink-soft:#355267;
 --bd19-muted:#607585;
 --bd19-deep:#071d31;
 --bd19-navy:#0d3048;
 --bd19-navy-mid:#154660;
 --bd19-gold:#d8b47c;
 --bd19-gold-bright:#f0d6a7;
 --bd19-paper:#fffefa;
 --bd19-ivory:#f8f7f3;
 --bd19-surface:#fff;
 --bd19-rule:rgba(18,58,77,.13);
 --bd19-shadow:0 18px 45px rgba(8,35,52,.075);
 --bd19-shadow-up:0 26px 60px rgba(8,35,52,.14);
 --bd19-r-sm:14px;
 --bd19-r-md:22px;
 --bd19-r-lg:30px;
 --bd19-ease:cubic-bezier(.16,1,.3,1);
 --bd19-gutter:clamp(16px,4.15vw,60px);
 --bd19-content:min(1270px,calc(100% - 2 * var(--bd19-gutter)));
 color:var(--bd19-ink);
 accent-color:var(--bd19-navy);
}
/* Typography scales with viewport while retaining existing Arabic text */
body.bdp-preview.bdp-v19 :is(.entry-content,.elementor-widget-text-editor,.uael-infobox-text,.elementor-icon-box-description){
 color:var(--bd19-ink-soft);
}
body.bdp-preview.bdp-v19 :is(.elementor-heading-title,.entry-title,.sd-hero h1,.p09-hero h1,.bp10-hero h1){
 text-wrap:balance;
 overflow-wrap:break-word;
}
body.bdp-preview.bdp-v19 :is(.entry-content,.ast-single-post,.sd-intro,.p09-content){
 line-height:1.92;
}
body.bdp-preview.bdp-v19 :is(.entry-content p,.elementor-widget-text-editor p,.sd-lead,.p08-lead){
 line-height:1.94;
}
body.bdp-preview.bdp-v19 :where(.elementor-widget-heading h2.elementor-heading-title,.entry-content h2){
 letter-spacing:-.015em;
}
body.bdp-preview.bdp-v19 :where(.elementor-widget-heading h3.elementor-heading-title,.entry-content h3){
 line-height:1.48;
}
/* Site rhythm: cards and section hierarchy, no blanket padding changes */
body.bdp-preview.bdp-v19 #content.site-content{
 background-color:var(--bd19-ivory);
}
/* Layout restoration: full-bleed Elementor sections, wide but readable inner grid.
   Root Astra container was limiting backgrounds and cards to a narrow central strip.
   Scope to desktop homepage/Elementor pages only; articles keep their reading width. */
@media(min-width:1025px){
 body.bdp-preview.bdp-v19:is(.home,.elementor-page) #content.site-content{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
 }
 body.bdp-preview.bdp-v19:is(.home,.elementor-page) #content > .ast-container{
  width:100%!important;
  max-width:none!important;
  padding-inline:0!important;
  margin-inline:0!important;
 }
 body.bdp-preview.bdp-v19:is(.home,.elementor-page) #primary{
  width:100%!important;
  max-width:none!important;
  min-width:0;
  margin-inline:0!important;
  float:none!important;
 }
 body.bdp-preview.bdp-v19:is(.home,.elementor-page) #primary > .site-main,
 body.bdp-preview.bdp-v19:is(.home,.elementor-page) #primary .entry-content,
 body.bdp-preview.bdp-v19:is(.home,.elementor-page) #primary .elementor{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
 }
 body.bdp-preview.bdp-v19:is(.home,.elementor-page) #primary .elementor .elementor-section.elementor-section-boxed > .elementor-container{
  width:calc(100% - clamp(40px,5.5vw,120px))!important;
  max-width:1480px!important;
 }
}
/* Non-Elementor templates retain their sidebar and reading widths. */
body.bdp-preview.bdp-v19:not(.home):not(.elementor-page) #content .ast-container{
 max-width:1440px;
}
body.bdp-preview.bdp-v19 :is(.e-con,.elementor-container,.elementor-column,.elementor-widget-wrap,.uael-infobox){
 min-width:0;
}
body.bdp-preview.bdp-v19 :where(.sd-intro,.sd-next,.p09-content,.p09-review-card,.p09-about-card,.bd06-browser,.bd06-item,.p08-interior-copy,.uael-infobox,.elementor-icon-box-wrapper){
 overflow-wrap:break-word;
}
body.bdp-preview.bdp-v19 :is(.bd06-browser,.sd-intro,.sd-next,.p09-content,.p09-review-card,.p09-about-card,.p08-interior-copy){
 box-shadow:var(--bd19-shadow);
}
body.bdp-preview.bdp-v19 :is(.p09-review-card,.p09-about-card,.bd06-browser,.sd-intro,.sd-next){
 border-color:var(--bd19-rule)!important;
}
body.bdp-preview.bdp-v19 :is(.uael-infobox,.p09-review-card,.p09-about-card,.elementor-icon-box-wrapper,.sd-next,.bp10-archive-card){
 transition:transform .48s var(--bd19-ease),box-shadow .48s var(--bd19-ease),border-color .32s ease;
}
/* Preserving the centered V16 navbar; refine only its optical finish. */
body.bdp-preview.bdp-v19 #masthead{
 isolation:isolate;
}
body.bdp-preview.bdp-v19 #masthead #ast-desktop-header .site-above-header-wrap{
 box-shadow:0 14px 40px rgba(3,20,34,.18),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
body.bdp-preview.bdp-v19 #masthead :is(.main-header-menu,.ast-builder-menu-1) a{
 text-underline-offset:6px;
 transition:color .25s ease,background-color .25s ease,opacity .25s ease;
}
body.bdp-preview.bdp-v19 #masthead :is(a,button):focus-visible{
 outline:3px solid var(--bd19-gold-bright)!important;
 outline-offset:3px;
}
/* Buttons: consistent tappable area, no CTA text/link mutations */
body.bdp-preview.bdp-v19 :is(.elementor-button,.sd-btn-primary,.p08-btn-gold,.p09-gold,.bd06-action-main,.bd10-contact-action){
 min-height:44px;
 max-width:100%;
 font-weight:800;
 letter-spacing:0;
 transition:transform .4s var(--bd19-ease),box-shadow .4s var(--bd19-ease),background .25s ease;
}
body.bdp-preview.bdp-v19 :is(.elementor-button,.sd-btn-primary,.p08-btn-gold,.p09-gold,.bd06-action-main,.bd10-contact-action):focus-visible{
 outline:3px solid #d8ac6f!important;outline-offset:4px;
}
body.bdp-preview.bdp-v19 :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 max-width:100%;
 border-radius:var(--bd19-r-sm);
}
/* Actual landing-page forms are excluded by PHP and body class. */
body.bdp-preview.bdp-v19 :is(.wpforms-container,.wpcf7,.elementor-form) :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{
 border-color:var(--bd19-gold)!important;
 box-shadow:0 0 0 3px rgba(216,180,124,.20);
 outline:0;
}
/* Visual image polish – never delay, hide, swap or rewrite images */
body.bdp-preview.bdp-v19 :is(.uael-infobox img,.elementor-image img,.p09-partner-grid img,.ast-blog-featured-section img,.sd-media img){
 max-width:100%;
 height:auto;
}
body.bdp-preview.bdp-v19 :is(.bd06-item,.p09-review-card,.p09-about-card,.ast-article-post,.uael-infobox){
 will-change:auto;
}
/* Services and industry cards */
body.bdp-preview.bdp-v19 :is(.bd06-browser,.bd06-item,.uael-infobox,.p08-industry-card){
 border-radius:var(--bd19-r-md);
}
body.bdp-preview.bdp-v19 :is(.bd06-filter,.bp10-filter,.p08-sector-filter){
 min-height:40px;
}
body.bdp-preview.bdp-v19 :is(.bd06-filter,.bp10-filter,.p08-sector-filter):focus-visible{
 outline:3px solid var(--bd19-gold)!important;outline-offset:3px;
}
body.bdp-preview.bdp-v19 :is(.sd-intro,.sd-next,.p09-content,.p08-interior-copy) :is(p,li){
 line-height:1.95;
}
/* Footer: optical rhythm, clarity and link focus. Do not replace/footer-hide markup. */
body.bdp-preview.bdp-v19 #colophon{
 background-color:var(--bd19-deep)!important;
 overflow:clip;
}
body.bdp-preview.bdp-v19 #colophon .bdp-footer-shell{
 width:min(1320px,calc(100% - 2 * var(--bd19-gutter)));
 max-width:100%;
 box-sizing:border-box;
}
body.bdp-preview.bdp-v19 #colophon .bdp-footer-grid{
 gap:clamp(24px,3vw,44px);
 align-items:start;
}
body.bdp-preview.bdp-v19 #colophon :is(.bdp-footer-col,.bdp-footer-brand,.bdp-footer-bottom){
 min-width:0;
 overflow-wrap:anywhere;
}
body.bdp-preview.bdp-v19 #colophon .bdp-footer-cta{
 box-shadow:0 23px 65px rgba(0,7,24,.20)!important;
}
body.bdp-preview.bdp-v19 #colophon .bdp-footer-col h3{
 color:#fff!important;
}
body.bdp-preview.bdp-v19 #colophon .bdp-footer-col a{
 text-decoration:none;
}
body.bdp-preview.bdp-v19 #colophon :is(a,button):focus-visible{
 outline:3px solid var(--bd19-gold-bright)!important;
 outline-offset:3px;
}
body.bdp-preview.bdp-v19 #colophon .bdp-footer-bottom{
 display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;
 border-color:rgba(240,214,167,.21)!important;
}
body.bdp-preview.bdp-v19 #colophon img{
 max-width:100%;height:auto;object-fit:contain;
}
/* Light interaction is phase 02; heavier cinematic choreography remains phase 03. */
@media(hover:hover) and (pointer:fine){
 body.bdp-preview.bdp-v19 :is(.uael-infobox,.p09-review-card,.p09-about-card,.bd06-item,.p08-industry-card):hover{
  transform:translate3d(0,-4px,0);
  box-shadow:var(--bd19-shadow-up)!important;
 }
 body.bdp-preview.bdp-v19 :is(.elementor-button,.sd-btn-primary,.p08-btn-gold,.p09-gold,.bd06-action-main):hover{
  transform:translate3d(0,-2px,0);
 }
}
@media(max-width:1024px){
 body.bdp-preview.bdp-v19{--bd19-gutter:clamp(16px,3.5vw,38px)}
 body.bdp-preview.bdp-v19 #colophon .bdp-footer-shell{width:calc(100% - 2 * var(--bd19-gutter))}
}
@media(max-width:767px){
 body.bdp-preview.bdp-v19{--bd19-gutter:16px}
 body.bdp-preview.bdp-v19 :is(.elementor-button,.sd-btn-primary,.p08-btn-gold,.p09-gold,.bd06-action-main){
  min-height:44px;
 }
 body.bdp-preview.bdp-v19 #colophon .bdp-footer-grid{
  gap:clamp(18px,5vw,28px);
 }
 body.bdp-preview.bdp-v19 #colophon .bdp-footer-bottom{
  justify-content:center;text-align:center;
 }
 body.bdp-preview.bdp-v19 #content .ast-container{
  max-width:100%;
 }
 body.bdp-preview.bdp-v19 :is(.entry-content,.elementor-widget-text-editor,.uael-infobox-text){
  overflow-wrap:break-word;
 }
}
@media(prefers-reduced-motion:reduce){
 body.bdp-preview.bdp-v19 :is(.uael-infobox,.p09-review-card,.p09-about-card,.bd06-item,.p08-industry-card,.elementor-button,.bd06-action-main){
  transition:none!important;transform:none!important;
 }
}
