/* Owner Customizer runtime mapping. Deliberately scoped to site components.
   Existing module selectors stay isolated so updates do not break dashboards. */
body:not(.admin-body) .topbar{background:linear-gradient(90deg,var(--vip-header-background,#042d31),#012830 62%,var(--vip-primary-dark,#053f43));}
body:not(.admin-body) .topbar .navrow{min-height:var(--vip-header-height,72px)}
body:not(.admin-body) .topbar .brand-image{width:var(--vip-logo-width,72px);max-height:calc(var(--vip-header-height,72px) - 9px);object-fit:contain}
body.vip-static-nav .topbar{position:relative;top:auto}
body.vip-sticky-nav .topbar{position:sticky;top:0}
body:not(.admin-body) .shell:is(.d3-section,.d3-hero,.d3-service-strip){max-width:var(--vip-width,1320px)}
body .d3-home .d3-hero{height:var(--vip-hero-height,230px);border-radius:var(--vip-hero-radius,25px)}
body .d3-home .d3-hero-copy h1{color:var(--vip-hero-title-color,#fff);font-size:clamp(24px,var(--vip-heading-size,27px),44px)}
body.vip-hero-text-left .d3-hero-copy{text-align:left}
body.vip-hero-text-center .d3-hero-copy{text-align:center}
body.vip-hero-text-right .d3-hero-copy{text-align:right}
body .d3-home .d3-job-grid{grid-template-columns:repeat(var(--vip-job-columns,4),minmax(0,1fr));gap:var(--vip-job-gap,10px)}
body .d3-home .d3-post{padding:var(--vip-card-padding,14px);border-radius:var(--vip-card-radius,17px);border-color:var(--vip-card-border,#2d9d81);background:linear-gradient(145deg,var(--vip-card-background,#075146),var(--vip-primary-dark,#053f43))}
body .d3-home :is(.d3-section-title h2,.d3-section-title strong){font-size:clamp(22px,var(--vip-heading-size,27px),44px)}
body .d3-home .d3-post-title{font-size:var(--vip-urdu-font-size,20px);line-height:1.65}
body .d3-home .d3-new-badge{background:var(--vip-badge-new-color,#ffdc3f)!important;color:#211f12!important}
body .d3-home .d3-featured-badge{background:var(--vip-badge-featured-color,#1592f4)!important}
body.vip-badge-still .d3-new-badge{animation:none!important}
body .d3-home :is(.d3-post-actions a,.d3-filter-submit,.d3-reset),body .topbar .icon-btn{border-radius:var(--vip-button-radius,12px)}
body .d3-home :is(.d3-post,.d3-filter){border-radius:var(--vip-card-radius,17px)}
@media(max-width:1250px){body .d3-home .d3-job-grid{grid-template-columns:repeat(min(3,var(--vip-job-columns,4)),minmax(0,1fr))}}
@media(max-width:950px){body .d3-home .d3-job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){body .d3-home .d3-hero{height:auto;min-height:250px}body .d3-home .d3-job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.admin-body) .topbar .brand-image{width:min(54px,var(--vip-logo-width,72px))}}
@media(max-width:420px){body .d3-home .d3-job-grid{grid-template-columns:1fr}body .d3-home .d3-post-title{font-size:min(var(--vip-urdu-font-size,20px),21px)}}
/* Fixed old-style mobile bottom dock. Hide on tablets/desktop and inside modal. */
.vip-mobile-bottom-nav{display:none}
@media(max-width:690px){
 body.vip-mobile-bottom-enabled:not(.demo3-modal-apply) .vip-mobile-bottom-nav{display:flex;position:fixed;z-index:45;bottom:0;left:0;right:0;min-height:60px;padding:4px max(6px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:linear-gradient(120deg,#043d37,#052b33);border-top:1px solid #25bb89;box-shadow:0 -6px 20px #00191e7a;justify-content:space-around;gap:5px;direction:ltr}
 .vip-mobile-bottom-nav a{display:grid;gap:1px;place-content:center;flex:1;text-align:center;color:#defff0;text-decoration:none;font:600 10px/1.25 system-ui;border-radius:10px;padding:3px 2px;max-width:95px}
 .vip-mobile-bottom-nav a[aria-current=page],.vip-mobile-bottom-nav a:hover{background:#088a68;color:white}
 .vip-mobile-bottom-nav svg{width:19px;height:19px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 body.vip-mobile-bottom-enabled .main-footer{padding-bottom:75px}
 body.vip-mobile-bottom-enabled .vip-helper-shortcut{bottom:calc(77px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){body .d3-home .d3-new-badge{animation:none!important}}

.vip-design-preview-banner{position:sticky;top:0;z-index:20000;text-align:center;background:#f9e59c;color:#1b3029;padding:9px 14px;font:600 14px/1.4 system-ui,sans-serif}
.vip-design-preview-banner a{color:#063d83;text-decoration:underline}.vip-design-preview-banner span{font-weight:400}
