/* Homepage sections supplied for the Karachi legal services page. */
.pl-shell-home-section{padding-inline:24px;background:#fff}
.pl-shell-home-section:nth-child(odd){background:#f4f7f5}
.pl-shell-home-section>.e-con-inner{width:100%}
.pl-shell-home-section .pl-home-hero,.pl-shell-home-section .pl-home-intro,.pl-shell-home-section .pl-home-services,.pl-shell-home-section .pl-home-guidance,.pl-shell-home-section .pl-home-audiences,.pl-shell-home-section .pl-home-reasons,.pl-shell-home-section .pl-home-process,.pl-shell-home-section .pl-home-advice,.pl-shell-home-section .pl-home-final-cta{max-width:1180px;margin:auto;padding:88px 0!important;background:transparent!important}
.pl-shell-home-section .elementor-widget-heading h2{max-width:19ch}
.pl-shell-home-section .elementor-widget-text-editor{max-width:78ch;color:#40575a}
.pl-shell-home-section .elementor-widget-text-editor p:last-child{margin-bottom:0}
.pl-shell-home-section .elementor-widget-button{align-self:flex-start}
.pl-shell-home-section .elementor-button:focus-visible{outline:3px solid #a77d43;outline-offset:3px}
.pl-shell-home-section .pl-home-hero{min-height:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0;max-width:1180px;padding-top:92px!important;padding-bottom:98px!important}
.pl-home-hero>.elementor-widget-text-editor:first-child{font-size:12px;font-weight:700;letter-spacing:.14em;color:#9b713b;text-transform:uppercase}
.pl-home-hero>.elementor-widget-heading h1{max-width:17ch!important;font-size:clamp(3rem,5.4vw,5.4rem)!important}
.pl-home-hero>.elementor-widget-heading h2{font-family:'DM Sans',sans-serif;font-size:clamp(1.2rem,2vw,1.65rem);font-weight:600;letter-spacing:-.02em;max-width:38ch;margin-top:8px}
body .elementor .pl-home-hero>.elementor-widget-heading h2.elementor-heading-title{font-family:'DM Sans',sans-serif;font-size:clamp(1.2rem,2vw,1.65rem)!important;font-weight:600;letter-spacing:-.02em;line-height:1.4!important;max-width:38ch!important}
body .elementor .pl-home-hero>.elementor-widget-heading h1.elementor-heading-title{max-width:17ch!important}
.pl-home-hero>.elementor-widget-text-editor:nth-child(4){max-width:75ch;font-size:17px}
.pl-home-hero>.elementor-widget-text-editor:last-child{font-size:14px;margin-top:20px;color:#4e6465}
.pl-home-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:12px;margin-top:18px}
.pl-home-secondary-button .elementor-button{background:transparent!important;border:1px solid #48616a;color:#29464c!important;box-shadow:none!important}
.pl-home-secondary-button .elementor-button:hover{background:#e5eeeb!important;color:#203a3f!important}
.pl-home-intro{max-width:900px!important}
.pl-home-intro .elementor-widget-button,.pl-home-services>.elementor-widget-button,.pl-home-advice>.elementor-widget-button{margin-top:18px}
.pl-home-services-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dbe5df;margin:36px 0 28px}
.pl-home-service-card{background:#fff;padding:29px!important;min-width:0;min-height:240px;display:flex!important;flex-direction:column!important}
.pl-home-service-card h3{font-size:clamp(1.25rem,1.6vw,1.55rem)!important;margin:0 0 10px}
.pl-home-service-card .elementor-widget-text-editor{font-size:14px;line-height:1.7}
.pl-home-service-card .elementor-widget-button{margin-top:auto;padding-top:15px}
.pl-home-service-card .elementor-button{background:transparent!important;color:#34535a!important;border-bottom:1px solid #a77d43;border-radius:0!important;padding:0 0 3px!important;box-shadow:none!important}
.pl-home-read-more-pending .elementor-button{color:#637577!important;border-bottom-color:#b7c5bd!important;pointer-events:none;cursor:default}
.pl-home-guidance{max-width:950px!important}
.pl-home-audience-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 30px;margin:28px 0}
.pl-home-audience-item{border-left:3px solid #a77d43;padding:10px 0 10px 18px!important;background:#fff}
.pl-home-audience-item p{margin:0!important;font-weight:600}
.pl-home-reasons-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 55px;margin-top:30px}
.pl-home-reason{border-top:1px solid #cbdad2;padding-top:20px!important}
.pl-home-reason h3{font-size:1.45rem!important;margin:0 0 9px}
.pl-home-steps-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:30px}
.pl-home-step{border-top:3px solid #a77d43;padding:22px 8px 0 0!important}
.pl-home-step>.elementor-widget-text-editor:first-child{font-size:13px;font-weight:700;letter-spacing:.1em;color:#9b713b}
.pl-home-step h3{font-size:1.35rem!important;margin:13px 0}
.pl-home-step>.elementor-widget-text-editor:last-child{font-size:14px}
.pl-shell-home-section:has(.pl-home-final-cta){background:#28444b;color:#fff}
.pl-home-final-cta h2,.pl-home-final-cta .elementor-widget-text-editor{color:#fff!important}
.pl-home-final-cta .elementor-button{background:#fff!important;color:#203a3f!important;margin-top:18px}
.pl-shell-home-section .pl-home-hero{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);column-gap:6%;align-items:center!important}
.pl-home-hero>.elementor-element:not(.pl-hero-visual){grid-column:1}
.pl-home-hero>.pl-hero-visual{grid-column:2!important;grid-row:1/span 5!important;align-self:center;min-height:0;overflow:visible}
.pl-home-hero>.pl-hero-visual>.elementor-widget-image,.pl-home-hero>.pl-hero-visual>.elementor-widget-image img{width:100%;height:100%;object-fit:cover;object-position:58% center;display:block}
.pl-home-hero>.elementor-widget-text-editor:last-of-type{margin-top:19px}
.pl-shell-home-section .pl-home-intro{max-width:1180px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:0 8%;align-items:center}
.pl-home-intro>.elementor-widget-heading,.pl-home-intro>.elementor-widget-text-editor{grid-column:1}
.pl-home-intro>.pl-home-intro-image{grid-column:2;grid-row:1/span 2;height:480px;overflow:hidden}
.pl-home-intro-image img{width:100%;height:480px;object-fit:cover;display:block}
.pl-shell-home-section .pl-home-guidance{max-width:1180px!important;display:grid!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:0 7%;align-items:center}
.pl-home-guidance>.elementor-widget-heading,.pl-home-guidance>.elementor-widget-text-editor{grid-column:2}
.pl-home-guidance>.pl-home-guidance-image{grid-column:1;grid-row:1/span 2;height:540px;overflow:hidden}
.pl-home-guidance-image img{width:100%;height:540px;object-fit:cover;object-position:center;display:block}
.pl-shell-home-section .pl-home-audiences{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:0 7%;align-items:center}
.pl-home-audiences>.elementor-element:not(.pl-home-audiences-image){grid-column:1}
.pl-home-audiences>.pl-home-audiences-image{grid-column:2;grid-row:1/span 5;height:560px;overflow:hidden}
.pl-home-audiences-image img{width:100%;height:560px;object-fit:cover;object-position:center;display:block}
@media(max-width:900px){.pl-home-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pl-home-steps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.pl-shell-home-section .pl-home-hero,.pl-shell-home-section .pl-home-intro,.pl-shell-home-section .pl-home-guidance,.pl-shell-home-section .pl-home-audiences{grid-template-columns:1fr!important;gap:25px!important}.pl-home-hero>.elementor-element:not(.pl-hero-visual),.pl-home-intro>.elementor-widget-heading,.pl-home-intro>.elementor-widget-text-editor,.pl-home-guidance>.elementor-widget-heading,.pl-home-guidance>.elementor-widget-text-editor,.pl-home-audiences>.elementor-element:not(.pl-home-audiences-image){grid-column:1}.pl-home-hero>.pl-hero-visual,.pl-home-intro>.pl-home-intro-image,.pl-home-guidance>.pl-home-guidance-image,.pl-home-audiences>.pl-home-audiences-image{grid-column:1!important;grid-row:auto!important;height:390px;min-height:0;margin-top:12px}.pl-home-hero>.pl-hero-visual>.elementor-widget-image,.pl-home-hero>.pl-hero-visual>.elementor-widget-image img,.pl-home-intro-image img,.pl-home-guidance-image img,.pl-home-audiences-image img{height:390px;min-height:0}}
@media(max-width:650px){.pl-shell-home-section{padding-inline:22px}.pl-shell-home-section .pl-home-hero,.pl-shell-home-section .pl-home-intro,.pl-shell-home-section .pl-home-services,.pl-shell-home-section .pl-home-guidance,.pl-shell-home-section .pl-home-audiences,.pl-shell-home-section .pl-home-reasons,.pl-shell-home-section .pl-home-process,.pl-shell-home-section .pl-home-advice,.pl-shell-home-section .pl-home-final-cta{padding:64px 0!important}.pl-home-services-grid,.pl-home-audience-grid,.pl-home-reasons-grid,.pl-home-steps-grid{grid-template-columns:1fr}.pl-home-service-card{min-height:0}body .elementor .pl-home-hero>.elementor-widget-heading h1.elementor-heading-title{font-size:clamp(2.6rem,11vw,4rem)!important;max-width:100%!important}.pl-home-actions{flex-direction:column!important;align-items:stretch}.pl-home-actions .elementor-widget-button{width:100%}.pl-home-actions .elementor-button{width:100%}}

/* Keep homepage grids, decorative frames and long labels inside the viewport. */
html,body{max-width:100%;overflow-x:clip}.pl-shell-home-section,.pl-shell-home-section *,.pl-home-hero,.pl-home-hero>.pl-hero-visual,.pl-practice-grid,.pl-practice-card{min-width:0;max-width:100%}.pl-home-hero>.pl-hero-visual{width:100%!important;box-sizing:border-box}
