/* Minimal WordPress compatibility; original CSS remains authoritative. */
body.admin-bar .header { top:32px; }
@media(max-width:782px){body.admin-bar .header {top:46px;}}
.wp-block-image img{height:auto}

/* BPO Master v1.2: balanced section rhythm and compact footer. */
.section{padding-top:clamp(46px,6vw,78px);padding-bottom:clamp(46px,6vw,78px)}
.hero{padding-top:calc(78px + clamp(34px,4.5vw,65px));padding-bottom:clamp(40px,5vw,70px)}
.article{padding-top:calc(78px + 40px);padding-bottom:32px}
.footer{padding:46px 0 22px}
.f-grid{gap:24px;grid-template-columns:minmax(210px,1.35fr) repeat(3,minmax(130px,1fr)) minmax(210px,1.2fr)}
.footer .f-grid>div:first-child .logo{display:inline-flex;line-height:1;margin:0}
.footer .f-grid>div:first-child .logo img{margin:-10px 0 -10px -14px}
.footer .f-grid>div:first-child>p{margin:5px 0 0;line-height:1.55;max-width:32ch}
.footer .fh,.footer p.fh{margin:0 0 13px;line-height:1.4}
.footer ul{gap:8px}
.footer .f-contact-list{display:grid;gap:13px}
.footer .f-contact-list li{display:flex;gap:9px;align-items:flex-start;line-height:1.55;min-width:0}
.footer .f-flag{font-size:19px;flex:0 0 22px;line-height:1.3;white-space:nowrap}
.footer .f-contact-list li>span:last-child{overflow-wrap:anywhere}
.footer .f-phone-heading{font-weight:700;color:var(--navy);font-size:.87rem;letter-spacing:.025em;margin:18px 0 9px;max-width:none}
.footer .f-phone-list{gap:9px}
.footer .f-phone-list a{white-space:normal}
.footer .disclaimer{margin-top:30px;line-height:1.55;max-width:100ch}
.footer .f-bottom{margin-top:25px;padding-top:18px}
.info-list .contact-detail{background:none;border:0;padding:0;color:var(--muted);font-size:.93rem;line-height:1.55;overflow-wrap:anywhere}
.info-list a.contact-detail:hover{color:var(--blue)}
@media(max-width:1120px){
 .f-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 25px}
 .f-grid>div:first-child{grid-column:span 1}
}
@media(max-width:760px){
 .section{padding-top:42px;padding-bottom:42px}
 .hero{padding-top:calc(78px + 28px);padding-bottom:42px}
 .footer{padding:38px 0 20px}
 .f-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
 .footer .f-contact{grid-column:1/-1}
 .footer .disclaimer{margin-top:24px}
 .footer .f-bottom{margin-top:22px}
}
@media(max-width:480px){
 .f-grid{grid-template-columns:1fr 1fr;gap:23px 12px}
 .f-grid>div:first-child{grid-column:1/-1}
 .footer .f-contact{grid-column:1/-1}
 .footer .f-grid>div:first-child>p{max-width:42ch}
}

/* v1.4: four equal-height, two-column consultation service panels. */
.bpo-home-services .bpo-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:22px;align-items:stretch}
.bpo-home-services .bpo-service-card{grid-column:auto;min-width:0;height:100%;padding:27px 25px 24px;display:flex;flex-direction:column}
.bpo-home-services .bpo-card-head{display:flex;align-items:center;gap:13px;min-height:64px;margin-bottom:18px;padding-right:28px}
.bpo-home-services .bpo-card-head .ico{width:48px;height:48px;min-width:48px;margin:0;border-radius:14px}
.bpo-home-services .bpo-card-head .ico svg{width:25px;height:25px}
.bpo-home-services .bpo-card-head h3{font-size:clamp(1.08rem,1.5vw,1.28rem);line-height:1.3;margin:0;letter-spacing:-.025em}
.bpo-home-services .bpo-services-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;column-gap:24px;row-gap:19px;flex:1}
.bpo-home-services .bpo-service-item{display:flex;align-items:flex-start;gap:10px;min-width:0}
.bpo-home-services .bpo-mini-ico{flex:0 0 24px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:var(--sa,var(--blue));margin-top:2px;transition:transform .35s var(--ease)}
.bpo-home-services .bpo-mini-ico svg{width:20px;height:20px}
.bpo-home-services .bpo-service-item h4{font-family:var(--font);font-size:.94rem;line-height:1.35;font-weight:700;letter-spacing:-.012em;margin:0 0 5px;color:var(--navy)}
.bpo-home-services .bpo-service-item p{font-size:.79rem;line-height:1.53;margin:0;color:var(--muted);flex:none}
.bpo-home-services .bpo-card-book{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;font-weight:700;font-size:.9rem;margin-top:23px;color:var(--blue);text-decoration:none}
.bpo-home-services .bpo-card-book svg{width:16px;height:16px;transition:transform .3s}
.bpo-home-services .bpo-card-book:hover svg{transform:translateX(4px)}
.bpo-home-services .bpo-service-card:hover .bpo-mini-ico{transform:translateY(-2px)}
.footer .f-phone-icon{display:inline-flex;flex:0 0 22px;width:22px;height:22px;color:var(--blue);align-items:center;justify-content:center}
.footer .f-phone-icon svg{width:19px;height:19px}
@media(max-width:1050px){.bpo-home-services .bpo-services-grid{gap:16px}.bpo-home-services .bpo-service-card{padding:23px 20px}.bpo-home-services .bpo-services-list{gap:16px 14px}.bpo-home-services .bpo-service-item{gap:8px}}
@media(max-width:850px){.bpo-home-services .bpo-services-grid{grid-template-columns:1fr;grid-auto-rows:auto}.bpo-home-services .bpo-service-card{padding:26px}.bpo-home-services .bpo-services-list{gap:20px 26px}}
@media(max-width:540px){.bpo-home-services .bpo-service-card{padding:22px 18px}.bpo-home-services .bpo-services-list{grid-template-columns:1fr;gap:15px}.bpo-home-services .bpo-card-head{gap:10px;min-height:48px}.bpo-home-services .bpo-card-head .ico{width:43px;height:43px;min-width:43px}.bpo-home-services .bpo-service-item h4{font-size:.94rem}.bpo-home-services .bpo-service-item p{font-size:.81rem}}

.footer .f-phone-icons{display:inline-flex;align-items:center;gap:3px;flex:0 0 45px;min-width:45px}.footer .f-phone-icons .f-phone-icon{flex:0 0 20px;width:20px;height:20px}.footer .f-phone-icons svg{width:17px;height:17px}

/* v1.5: Footer UK/Pakistan telephone and WhatsApp icons, consistent alignment */
.footer .f-phone-list .f-phone-row{display:flex;align-items:center;gap:10px;min-height:27px;}
.footer .f-phone-list .f-phone-icons{display:inline-flex;flex:0 0 44px;min-width:44px;gap:4px;align-items:center;justify-content:flex-start;white-space:nowrap;}
.footer .f-phone-list .f-phone-icons .f-phone-icon{display:inline-flex;flex:0 0 20px;width:20px;height:20px;align-items:center;justify-content:center;color:var(--blue);text-decoration:none;line-height:1;}
.footer .f-phone-list .f-phone-icons .f-phone-icon svg{display:block;width:18px;height:18px;}
.footer .f-phone-list .f-phone-number{white-space:nowrap;}

/* v1.6: WhatsApp branded green; phone links stay blue */
.footer .f-phone-list .f-phone-icons .f-whatsapp-icon{color:#25D366;}
.footer .f-phone-list .f-phone-icons .f-whatsapp-icon svg{width:19px;height:19px;display:block;overflow:visible;}

/* v1.9 footer: compact spacing after disclaimer removal */
.footer .f-bottom{margin-top:20px;padding-top:18px}

/* v2.1: ensure old footer legal disclaimer never takes space */
.footer p.disclaimer, footer p.disclaimer { display:none !important; margin:0 !important; padding:0 !important; }
.footer .f-bottom { margin-top:20px; padding-top:18px; }
/* Old imported market-grid sections, where supported, are hidden without affecting footer contact details. */
main section:has(> .container .markets) { display:none !important; }
