
.pkp-fls-pro{font-family:Arial,sans-serif!important;background:#f7f8fb;padding:20px;border-radius:14px;color:#1d2433}
.pkp-fls-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.pkp-fls-head h2{margin:0;font-size:28px}.pkp-fls-head p{margin:5px 0;color:#697386}
.pkp-fls-layout{display:flex;gap:7px}.pkp-view-btn{border:1px solid #ddd;background:#fff;border-radius:7px;padding:10px 13px;cursor:pointer}.pkp-view-btn.active{background:#6326d9;color:#fff;border-color:#6326d9}
.pkp-fls-controls{display:flex;flex-wrap:wrap;gap:10px;background:#fff;padding:15px;border-radius:12px;box-shadow:0 2px 12px rgba(30,30,50,.06)}
.pkp-fls-controls select{padding:11px;border:1px solid #ddd;border-radius:7px;min-width:170px;background:#fff}
.pkp-fls-body{display:grid;grid-template-columns:1fr 280px;gap:18px;margin-top:18px}.pkp-fls-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pkp-provider{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 15px rgba(30,30,50,.10);position:relative;border:1px solid #eee}.pkp-provider-img{height:155px;background:linear-gradient(135deg,#ece8ff,#eef4ff);display:flex;align-items:center;justify-content:center;overflow:hidden}.pkp-provider-img img{width:100%;height:100%;object-fit:cover}.pkp-placeholder{font-size:50px}.pkp-provider-body{padding:15px}.pkp-badge{position:absolute;top:12px;left:12px;padding:6px 9px;border-radius:6px;color:#fff;font-size:12px;font-weight:700}.pkp-premium{background:#f0a400}.pkp-free{background:#2878e8}.pkp-views{position:absolute;top:118px;left:12px;background:rgba(0,0,0,.72);color:#fff;padding:5px 8px;border-radius:14px;font-size:12px}
.pkp-provider h3{margin:0 0 4px;font-size:18px}.pkp-verified{color:#2774e8}.pkp-service{font-size:13px}.pkp-stars{color:#f5a900;font-size:17px;margin:7px 0}.pkp-stars span{color:#677184;font-size:12px}.pkp-address,.pkp-about{font-size:13px;color:#606a7a;line-height:1.45}.pkp-actions{display:flex;gap:8px;margin-top:12px}.pkp-actions a{flex:1;text-align:center;padding:9px;border-radius:6px;text-decoration:none!important;border:1px solid #2ab45a;color:#168d3f}.pkp-actions a.pkp-profile{border-color:#6326d9;color:#6326d9}.pkp-fls-side{display:flex;flex-direction:column;gap:15px}.pkp-side-box{background:#fff;border-radius:12px;padding:15px;box-shadow:0 2px 10px rgba(30,30,50,.06)}.pkp-side-box h3{margin:0 0 12px;font-size:16px;color:#5720c4}
.pkp-top-item{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #eee}.pkp-top-item:last-child{border-bottom:0}.pkp-top-avatar{width:34px;height:34px;border-radius:50%;background:#e9e5ff;display:flex;align-items:center;justify-content:center}.pkp-top-name{font-weight:700;font-size:13px}.pkp-top-meta{font-size:11px;color:#7b8494}.pkp-top-score{margin-left:auto;font-size:12px;font-weight:700}
.pkp-fls-results.list-view{display:flex;flex-direction:column}.pkp-fls-results.list-view .pkp-provider{display:flex}.pkp-fls-results.list-view .pkp-provider-img{width:190px;min-width:190px;height:180px}.pkp-fls-results.list-view .pkp-provider-body{flex:1}
@media(max-width:1050px){.pkp-fls-body{grid-template-columns:1fr}.pkp-fls-side{display:grid;grid-template-columns:1fr 1fr}.pkp-fls-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.pkp-fls-pro{padding:12px}.pkp-fls-head{display:block}.pkp-fls-layout{margin-top:10px}.pkp-fls-controls select{width:100%;min-width:0}.pkp-fls-results{grid-template-columns:1fr}.pkp-fls-side{display:block}.pkp-fls-results.list-view .pkp-provider{display:block}.pkp-fls-results.list-view .pkp-provider-img{width:100%;height:155px}}

/* v2.1 compatibility: prevent common theme rules from collapsing the modern directory */
.pkp-fls-pro .pkp-fls-controls select{appearance:auto!important;-webkit-appearance:auto!important}
.pkp-fls-pro .pkp-view-btn{display:inline-block!important;width:auto!important}
.pkp-fls-pro .pkp-provider{box-sizing:border-box!important}
.pkp-fls-pro .pkp-provider img{display:block!important;margin:0!important}

/* v2.2 asset-load/theme compatibility */
.pkp-fls-pro .pkp-view-btn{background:#fff!important;color:#333!important;border:1px solid #ddd!important;box-shadow:none!important}
.pkp-fls-pro .pkp-view-btn.active{background:#6326d9!important;color:#fff!important;border-color:#6326d9!important}
.pkp-fls-pro .pkp-fls-controls select{background:#fff!important;color:#333!important}
.pkp-fls-pro .pkp-provider h3{color:#1d2433!important}
.pkp-fls-pro .pkp-provider .pkp-actions a{background:#fff!important}
.pkp-fls-pro .pkp-provider .pkp-actions a:hover{opacity:.9}

.pkp-fls-pro .pkp-badge.pkp-featured{background:#7b3ff2!important}
.pkp-fls-pro .pkp-badge.pkp-verified-badge{background:#159b7a!important}

/* v2.8: right-side search form */
.pkp-fls-pro .pkp-search-box{display:flex;flex-direction:column;gap:10px}
.pkp-fls-pro .pkp-search-box h3{margin-bottom:2px}
.pkp-fls-pro .pkp-search-box select{width:100%;min-width:0;padding:11px;border:1px solid #ddd;border-radius:7px;background:#fff;color:#333}
@media(max-width:1050px){
  .pkp-fls-pro .pkp-search-box select{width:100%}
}

/* v3.0: robust profile popup */
.pkp-fls-pro .pkp-profile{display:block!important;cursor:pointer!important;width:100%!important;box-sizing:border-box;text-align:center;padding:10px;border-radius:7px;border:1px solid #6326d9!important;color:#6326d9!important;background:#fff!important;font:inherit!important}
.pkp-fls-pro .pkp-profile-modal{display:none;position:fixed!important;inset:0!important;z-index:2147483647!important;align-items:center!important;justify-content:center!important}
.pkp-fls-pro .pkp-profile-overlay{position:absolute!important;inset:0!important;background:rgba(0,0,0,.68)!important}
.pkp-fls-pro .pkp-profile-dialog{position:relative!important;z-index:2!important;width:min(94vw,680px)!important;max-height:90vh!important;overflow:auto!important;background:#fff!important;border-radius:16px!important;box-shadow:0 20px 60px rgba(0,0,0,.35)!important}
.pkp-fls-pro .pkp-profile-close{position:absolute!important;right:12px!important;top:12px!important;width:38px!important;height:38px!important;border:0!important;border-radius:50%!important;background:rgba(0,0,0,.65)!important;color:#fff!important;font-size:26px!important;line-height:35px!important;padding:0!important;cursor:pointer!important;z-index:5!important}
.pkp-fls-pro .pkp-profile-hero{height:240px!important;background:#eef0ff!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.pkp-fls-pro .pkp-profile-hero img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.pkp-fls-pro .pkp-profile-placeholder{font-size:72px!important}
.pkp-fls-pro .pkp-profile-info{padding:24px!important;color:#252b38!important}
.pkp-fls-pro .pkp-profile-info h2{margin:0 0 5px!important;font-size:28px!important;color:#1d2433!important}
.pkp-fls-pro .pkp-profile-service{color:#6326d9!important;font-weight:700!important}
.pkp-fls-pro .pkp-profile-level{display:inline-block!important;padding:6px 10px!important;border-radius:5px!important;background:#6326d9!important;color:#fff!important;font-size:12px!important;font-weight:700!important;margin-bottom:10px!important}
.pkp-fls-pro .pkp-profile-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:15px 0!important}
.pkp-fls-pro .pkp-profile-grid>div{background:#f7f8fb!important;border-radius:8px!important;padding:10px!important}
.pkp-fls-pro .pkp-profile-actions{display:flex!important;gap:10px!important;margin-top:18px!important}
.pkp-fls-pro .pkp-profile-actions a{flex:1!important;text-align:center!important;padding:12px!important;border-radius:7px!important;text-decoration:none!important;border:1px solid #6326d9!important;color:#6326d9!important;background:#fff!important}
.pkp-fls-pro .pkp-profile-actions a:nth-child(2){border-color:#25a34a!important;color:#16833a!important}
body.pkp-profile-open{overflow:hidden!important}
@media(max-width:650px){.pkp-fls-pro .pkp-profile-dialog{width:94vw!important}.pkp-fls-pro .pkp-profile-hero{height:190px!important}.pkp-fls-pro .pkp-profile-grid{grid-template-columns:1fr!important}}

/* v3.1: profile modal container must exist inside the plugin */
.pkp-fls-pro .pkp-profile-modal{display:none!important;position:fixed!important;inset:0!important;z-index:2147483647!important;align-items:center!important;justify-content:center!important}
.pkp-fls-pro .pkp-profile-modal[aria-hidden="false"]{display:flex!important}

/* v3.2 Frontend Add Provider shortcode */
.pkp-add-provider-wrap{font-family:Arial,sans-serif;max-width:900px;margin:20px auto}
.pkp-add-provider-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 18px rgba(30,30,50,.10);border:1px solid #eee}
.pkp-add-provider-head h2{margin:0;color:#1d2433;font-size:28px}.pkp-add-provider-head p{margin:6px 0 20px;color:#687385}
.pkp-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pkp-add-provider-card label{display:block;font-weight:700;color:#303746;font-size:14px}.pkp-add-provider-card input,.pkp-add-provider-card textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px;border:1px solid #d8dce5;border-radius:8px;background:#fff;font:inherit}.pkp-add-provider-card textarea{resize:vertical}.pkp-add-full{margin-top:14px}.pkp-add-submit{margin-top:18px;background:#6326d9!important;color:#fff!important;border:0!important;border-radius:8px;padding:12px 22px;font-weight:700;cursor:pointer}.pkp-add-provider-success{background:#eaf8ef;color:#147a37;border:1px solid #bce8ca;padding:11px;border-radius:8px;margin-bottom:15px}.pkp-add-provider-error{background:#fff0f0;color:#b42318;border:1px solid #f0c0c0;padding:11px;border-radius:8px;margin-bottom:15px}
@media(max-width:650px){.pkp-add-grid{grid-template-columns:1fr}.pkp-add-provider-card{padding:16px}}

.pkp-add-provider-box{max-width:850px;margin:20px auto;background:#fff;padding:24px;border-radius:14px;box-shadow:0 3px 18px rgba(30,30,50,.10);font-family:Arial,sans-serif}
.pkp-add-provider-box h2{margin:0 0 6px}.pkp-add-provider-box>p{color:#687386}
.pkp-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pkp-add-grid label{font-weight:700;font-size:14px}.pkp-add-grid input,.pkp-add-grid textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px;border:1px solid #ddd;border-radius:7px;font:inherit}.pkp-add-grid .full{grid-column:1/-1}
.pkp-add-provider-box button{margin-top:18px;padding:12px 22px;border:0;border-radius:7px;background:#6326d9;color:#fff;font-weight:700;cursor:pointer}.pkp-add-provider-box small{display:block;margin-top:9px;color:#777}.pkp-add-success{padding:12px;background:#eaf8ef;color:#16733a;border-radius:8px;margin:12px 0}
@media(max-width:650px){.pkp-add-grid{grid-template-columns:1fr}.pkp-add-grid .full{grid-column:auto}}

.pkp-fls-pro .pkp-pagination{display:flex;gap:7px;justify-content:center;align-items:center;margin:24px 0;flex-wrap:wrap}
.pkp-fls-pro .pkp-pagination button{min-width:38px;padding:8px 12px;border:1px solid #ddd;background:#fff;border-radius:6px;cursor:pointer}
.pkp-fls-pro .pkp-pagination button.active{background:#6326d9;color:#fff;border-color:#6326d9}

/* v4.1 saved Card View Settings */
.pkp-fls-pro .pkp-fls-results{grid-template-columns:repeat(var(--pkp-cards-per-row,3),minmax(0,1fr))}
.pkp-fls-pro.pk-default-list .pkp-fls-results{display:block}
@media(max-width:1100px){.pkp-fls-pro .pkp-fls-results{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.pkp-fls-pro .pkp-fls-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.pkp-fls-pro .pkp-fls-results{grid-template-columns:1fr}}

/* v4.7: Admin-controlled cards per row */
.pkp-fls-pro .pkp-fls-results{grid-template-columns:repeat(var(--pkp-cards-per-row,3),minmax(0,1fr)) !important}
.pkp-fls-pro .pkp-fls-results.list-view{display:flex !important;flex-direction:column !important}
@media(max-width:800px){.pkp-fls-pro .pkp-fls-results{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:520px){.pkp-fls-pro .pkp-fls-results{grid-template-columns:1fr !important}}

/* v4.7.1 - isolated Home Page Level Slider */
.pkp-home-level-slider{max-width:1280px;margin:30px auto;padding:0 18px;box-sizing:border-box}
.pkp-home-level-header{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}
.pkp-home-level-header h2{margin:0;color:#153b73;font-size:30px}
.pkp-home-level-header p{margin:6px 0 0;color:#687386}
.pkp-home-view-all{display:inline-block;padding:10px 16px;border:1px solid #d7deea;border-radius:8px;background:#fff;color:#153b73;text-decoration:none}
.pkp-home-level-window{position:relative}
.pkp-home-level-track{overflow:hidden}
.pkp-home-level-slide{display:none}
.pkp-home-level-slide.is-active{display:block}
.pkp-home-level-banner{padding:14px 18px;border-radius:12px 12px 0 0;color:#fff;background:#6326d9}
.pkp-home-level-banner strong{display:block;font-size:20px}.pkp-home-level-banner span{font-size:13px;opacity:.92}
.pkp-home-premium{background:#6326d9}.pkp-home-featured{background:#6b7280}.pkp-home-free{background:#2474d8}
.pkp-home-provider-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:16px 4px}
.pkp-home-provider-card{background:#fff;border:1px solid #e8ebf1;border-radius:12px;padding:14px;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.08)}
.pkp-home-provider-photo{height:120px;border-radius:10px;background:#eef3ff;overflow:hidden;display:flex;align-items:center;justify-content:center}
.pkp-home-provider-photo img{width:100%;height:100%;object-fit:cover}.pkp-home-provider-photo span{font-size:56px}
.pkp-home-provider-card h3{margin:11px 0 4px;font-size:17px;color:#202838}
.pkp-home-service,.pkp-home-location{font-size:13px;color:#687386;margin-top:5px}
.pkp-home-rating{font-size:14px;color:#f0a000;margin:10px 0}.pkp-home-rating small{color:#687386}
.pkp-home-profile{display:block;padding:9px;border:1px solid #6326d9;border-radius:7px;text-decoration:none;color:#6326d9;font-weight:600}
.pkp-home-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:42px;height:42px;border-radius:50%;border:1px solid #ddd;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12);font-size:30px;line-height:34px;cursor:pointer}
.pkp-home-prev{left:-12px}.pkp-home-next{right:-12px}
.pkp-home-dots{text-align:center;margin-top:6px}.pkp-home-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#c9ced8;margin:0 4px;cursor:pointer}.pkp-home-dot.is-active{background:#1767d4}
@media(max-width:1050px){.pkp-home-provider-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.pkp-home-level-header{display:block}.pkp-home-view-all{margin-top:10px}.pkp-home-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pkp-home-prev{left:0}.pkp-home-next{right:0}}
@media(max-width:480px){.pkp-home-provider-grid{grid-template-columns:1fr}.pkp-home-level-header h2{font-size:24px}}

/* v4.7.2 - complete Home Page layout */
.pkp-home-v472{max-width:1280px;margin:0 auto;font-family:inherit;color:#18243a}
.pkp-home-hero{min-height:270px;background:linear-gradient(90deg,rgba(4,44,95,.92),rgba(0,92,178,.72)),url('');background-color:#0754a0;display:flex;align-items:center;text-align:center;color:#fff}
.pkp-home-hero-inner{width:100%;padding:38px 18px}.pkp-home-hero h1{font-size:38px;margin:0 0 8px;color:#fff}.pkp-home-hero p{font-size:19px;margin:0 0 25px;color:#fff}
.pkp-home-search{max-width:1040px;margin:auto;background:#fff;border:8px solid rgba(255,255,255,.82);border-radius:10px;display:grid;grid-template-columns:1.2fr 1fr 1fr 180px;gap:4px;padding:0}
.pkp-home-search input{height:50px;border:0;border-right:1px solid #e4e8ee;padding:0 15px;font-size:14px;outline:none}.pkp-home-search button{border:0;background:#123c87;color:#fff;font-weight:700;border-radius:5px;font-size:15px}
.pkp-home-level-section{padding:30px 18px 15px}.pkp-home-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px}.pkp-home-section-head h2{margin:0;color:#153b73;font-size:28px}.pkp-home-section-head p{margin:6px 0 0;color:#687386}.pkp-home-section-head a{border:1px solid #cfd8e7;padding:10px 15px;border-radius:7px;text-decoration:none;color:#153b73}
.pkp-home-slider{position:relative;margin-top:18px}.pkp-home-slides{overflow:hidden}.pkp-home-slide{display:none}.pkp-home-slide.active{display:block}.pkp-home-level-bar{display:flex;align-items:center;gap:10px;color:#fff;padding:12px 18px;border-radius:12px 12px 0 0}.pkp-home-level-bar strong{display:block;font-size:18px}.pkp-home-level-bar small{display:block;font-size:12px}.pkp-home-level-bar.bronze{background:#b86d20}.pkp-home-level-bar.silver{background:#7b8491}.pkp-home-level-bar.gold{background:#e3a500}.pkp-home-level-bar.platinum{background:#2053a1}.pkp-home-medal{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:20px}
.pkp-home-provider-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:16px 4px}.pkp-home-provider{background:#fff;border:1px solid #e8ebf1;border-radius:12px;padding:14px;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.08)}.pkp-home-photo{height:105px;border-radius:50%;width:105px;margin:0 auto 8px;background:#edf3ff;overflow:hidden;display:flex;align-items:center;justify-content:center}.pkp-home-photo img{width:100%;height:100%;object-fit:cover}.pkp-home-photo span{font-size:48px}.pkp-home-provider h3{font-size:17px;margin:6px 0 3px}.pkp-home-provider p{margin:4px 0}.pkp-home-provider .service{font-size:13px}.pkp-home-provider .location{font-size:12px;color:#667085}.pkp-home-provider .rating{color:#e7a100;font-size:14px;margin:8px 0}.pkp-home-provider .rating span{color:#667085}.pkp-home-provider>a{display:block;border:1px solid #2464c5;border-radius:7px;padding:8px;text-decoration:none;color:#2464c5;font-weight:600}
.pkp-home-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:42px;height:42px;border-radius:50%;border:1px solid #ddd;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.14);font-size:30px;cursor:pointer}.pkp-home-prev{left:-10px}.pkp-home-next{right:-10px}.pkp-home-dots{text-align:center}.pkp-home-dot{display:inline-block;width:9px;height:9px;border:0;border-radius:50%;background:#c7ccd6;margin:5px}.pkp-home-dot.active{background:#1767d4}
.pkp-home-why{margin:20px 18px;background:#f7faff;border-radius:12px;padding:20px;display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:15px;align-items:center}.pkp-home-why>div{display:grid;grid-template-columns:42px 1fr;column-gap:8px}.pkp-home-why b{grid-row:span 2;width:38px;height:38px;border-radius:50%;background:#e8f0ff;color:#1767d4;display:flex;align-items:center;justify-content:center}.pkp-home-why strong{font-size:14px}.pkp-home-why small{font-size:12px;color:#667085}.pkp-home-why .why-title{display:block;font-size:20px;color:#153b73}
.pkp-home-bottom{display:grid;grid-template-columns:1fr 330px;gap:20px;padding:0 18px 30px}.pkp-home-popular h2,.pkp-home-toprated h2{font-size:22px;color:#153b73}.popular-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.popular-grid a{border:1px solid #e5e9f0;border-radius:10px;padding:18px;text-decoration:none;text-align:center;color:#18243a;display:flex;flex-direction:column;gap:6px}.popular-icon{width:44px;height:44px;border-radius:50%;background:#edf4ff;color:#1767d4;margin:auto;display:flex;align-items:center;justify-content:center}.popular-grid small,.popular-grid em{font-size:12px;color:#667085}.popular-grid em{color:#1767d4;font-style:normal;font-weight:600;margin-top:5px}.pkp-home-toprated{border:1px solid #e5e9f0;border-radius:12px;padding:16px}.pkp-home-toprated a{display:grid;grid-template-columns:38px 1fr auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f4;text-decoration:none;color:#18243a}.mini-photo{width:36px;height:36px;border-radius:50%;background:#edf3ff;overflow:hidden;display:flex;align-items:center;justify-content:center}.mini-photo img{width:100%;height:100%;object-fit:cover}.pkp-home-toprated small{display:block;color:#667085;font-size:11px}.pkp-home-toprated strong{color:#e7a100;font-size:12px}.pkp-home-toprated .top-all{display:block;text-align:center;border:1px solid #d9e0ec;border-radius:7px;margin-top:12px;padding:9px;color:#153b73}
@media(max-width:1000px){.pkp-home-search{grid-template-columns:1fr 1fr}.pkp-home-search button{height:50px}.pkp-home-provider-grid{grid-template-columns:repeat(3,1fr)}.pkp-home-why{grid-template-columns:repeat(2,1fr)}.pkp-home-bottom{grid-template-columns:1fr}}
@media(max-width:650px){.pkp-home-hero h1{font-size:28px}.pkp-home-hero p{font-size:15px}.pkp-home-search{grid-template-columns:1fr;border:6px solid #fff}.pkp-home-search input{border-right:0;border-bottom:1px solid #e4e8ee}.pkp-home-search button{height:48px}.pkp-home-section-head{display:block}.pkp-home-section-head a{display:inline-block;margin-top:10px}.pkp-home-provider-grid{grid-template-columns:1fr}.pkp-home-why{grid-template-columns:1fr}.popular-grid{grid-template-columns:repeat(2,1fr)}}

/* v4.8 polished Home Page - isolated */
.pkp-home-v48{font-family:inherit;color:#202838;background:#fff}
.pkp-h-hero{min-height:360px;position:relative;background:linear-gradient(120deg,#07346d,#0d63bd);overflow:hidden}
.pkp-h-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.14),transparent 35%),radial-gradient(circle at 80% 10%,rgba(255,255,255,.12),transparent 30%)}
.pkp-h-hero-content{position:relative;z-index:1;max-width:1180px;margin:auto;padding:26px 20px 42px;text-align:center;color:#fff}
.pkp-h-brand{display:flex;align-items:center;gap:9px;justify-content:flex-start;text-align:left}.pkp-h-brand strong{font-size:20px;display:block}.pkp-h-brand small{display:block;opacity:.85}.pkp-h-logo{width:42px;height:42px;border-radius:50% 50% 50% 5px;transform:rotate(-45deg);display:grid;place-items:center;background:#ffbd00;color:#0751a4;font-size:22px}
.pkp-h-hero h1{font-size:42px;margin:50px 0 8px;line-height:1.1}.pkp-h-hero p{font-size:19px;margin:0 0 28px;opacity:.92}
.pkp-h-search{max-width:1000px;margin:auto;padding:10px;background:#fff;border-radius:12px;display:grid;grid-template-columns:1.25fr 1fr 1fr .75fr;gap:8px;box-shadow:0 8px 30px rgba(0,0,0,.22)}
.pkp-h-search a{color:#687386;background:#f9fafc;border:1px solid #e6eaf0;border-radius:8px;padding:14px;text-decoration:none;text-align:left;font-size:14px}.pkp-h-search .pkp-h-search-btn{background:#083b82;color:#fff;text-align:center;font-weight:700}
.pkp-h-section{max-width:1220px;margin:0 auto;padding:34px 18px}.pkp-h-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px}.pkp-h-section-head h2{margin:0;color:#143c77;font-size:28px}.pkp-h-section-head p{margin:6px 0 0;color:#707a8c}.pkp-h-section-head>a{padding:10px 15px;border:1px solid #d6ddea;border-radius:8px;color:#143c77;text-decoration:none;background:#fff}
.pkp-h-slider{position:relative}.pkp-h-slides{overflow:hidden}.pkp-h-slide{display:none}.pkp-h-slide.is-active{display:block}.pkp-h-level-banner{padding:14px 18px;border-radius:12px 12px 0 0;color:#fff}.pkp-h-level-banner strong{font-size:19px;display:block}.pkp-h-level-banner span{font-size:13px;opacity:.9}.pkp-h-premium{background:#6b3bd1}.pkp-h-featured{background:#687180}.pkp-h-free{background:#2475d3}
.pkp-h-provider-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:16px 4px}.pkp-h-card{background:#fff;border:1px solid #e7ebf2;border-radius:12px;padding:14px;text-align:center;box-shadow:0 4px 18px rgba(0,0,0,.08)}.pkp-h-card-photo{height:118px;background:#eef3ff;border-radius:10px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.pkp-h-card-photo img{width:100%;height:100%;object-fit:cover}.pkp-h-card-photo span{font-size:55px}.pkp-h-card-photo i{position:absolute;right:8px;bottom:8px;width:23px;height:23px;background:#21b958;color:#fff;border-radius:50%;font-style:normal;font-size:15px;display:grid;place-items:center}.pkp-h-card h3{margin:11px 0 3px;font-size:17px}.pkp-h-card-service,.pkp-h-card-location{font-size:13px;color:#697488;margin-top:5px}.pkp-h-card-rating{color:#f1a000;margin:9px 0}.pkp-h-card-rating em{font-style:normal;color:#6d7787;font-size:12px}.pkp-h-card>a{display:block;border:1px solid #6326d9;color:#6326d9;padding:8px;border-radius:7px;text-decoration:none;font-weight:600}
.pkp-h-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #ddd;border-radius:50%;background:#fff;z-index:4;font-size:29px;cursor:pointer;box-shadow:0 2px 12px rgba(0,0,0,.12)}.pkp-h-prev{left:-10px}.pkp-h-next{right:-10px}.pkp-h-dots{text-align:center;margin-top:5px}.pkp-h-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#cbd1dc;margin:0 4px}.pkp-h-dot.active{background:#1466d5}
.pkp-h-why{max-width:1180px;margin:0 auto 28px;padding:18px 22px;border-radius:14px;background:#f7faff;display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:15px;align-items:center}.pkp-h-why h2{color:#143c77;font-size:22px}.pkp-h-why>div{display:flex;gap:9px;align-items:center}.pkp-h-why b{width:38px;height:38px;border-radius:50%;background:#e6f0ff;color:#1264c7;display:grid;place-items:center}.pkp-h-why strong,.pkp-h-why small{display:block}.pkp-h-why small{color:#758093;margin-top:3px}
.pkp-h-bottom{max-width:1220px;margin:auto;padding:10px 18px 34px;display:grid;grid-template-columns:1fr 330px;gap:22px}.pkp-h-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pkp-h-service{padding:18px;background:#fff;border:1px solid #e8ebf1;border-radius:12px;text-decoration:none;color:#202838;text-align:center;display:flex;flex-direction:column;align-items:center}.pkp-h-service>span{width:48px;height:48px;border-radius:50%;background:#eef5ff;color:#1264c7;display:grid;place-items:center;font-size:22px}.pkp-h-service strong{margin-top:8px}.pkp-h-service small{color:#738096;margin:5px 0}.pkp-h-service em{color:#1264c7;font-style:normal;font-size:13px}.pkp-h-top{border:1px solid #e8ebf1;border-radius:12px;padding:18px;background:#fff}.pkp-h-top h2{margin:0 0 10px;color:#143c77;font-size:21px}.pkp-h-top>a{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f4;text-decoration:none;color:#202838}.pkp-h-mini{width:36px;height:36px;border-radius:50%;overflow:hidden;background:#edf3ff;display:grid;place-items:center}.pkp-h-mini img{width:100%;height:100%;object-fit:cover}.pkp-h-top a strong,.pkp-h-top a small{display:block}.pkp-h-top a small{color:#748094;margin-top:2px}.pkp-h-top a b{color:#f1a000;font-size:13px}.pkp-h-top .pkp-h-top-all{display:block;text-align:center;border:1px solid #dce2ec;border-radius:8px;margin-top:12px;padding:9px;color:#143c77}.pkp-h-cta{max-width:1180px;margin:0 auto 40px;padding:22px 25px;border-radius:14px;background:linear-gradient(100deg,#0c448f,#1268c8);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:15px}.pkp-h-cta h2{margin:0 0 4px}.pkp-h-cta p{margin:0;opacity:.9}.pkp-h-cta a{background:#fff;color:#0d4d9d;border-radius:8px;padding:12px 18px;text-decoration:none;font-weight:700}
@media(max-width:1050px){.pkp-h-provider-grid{grid-template-columns:repeat(3,1fr)}.pkp-h-why{grid-template-columns:1fr 1fr}.pkp-h-bottom{grid-template-columns:1fr}}
@media(max-width:700px){.pkp-h-hero h1{font-size:30px;margin-top:38px}.pkp-h-search{grid-template-columns:1fr}.pkp-h-provider-grid{grid-template-columns:repeat(2,1fr)}.pkp-h-why{grid-template-columns:1fr}.pkp-h-service-grid{grid-template-columns:1fr 1fr}.pkp-h-cta{display:block}.pkp-h-cta a{display:inline-block;margin-top:15px}}
@media(max-width:480px){.pkp-h-provider-grid{grid-template-columns:1fr}.pkp-h-service-grid{grid-template-columns:1fr}.pkp-h-hero h1{font-size:26px}.pkp-h-section-head{display:block}.pkp-h-section-head>a{display:inline-block;margin-top:10px}}

/* v4.8.1 Astra Theme compatibility */
.pkp-home-v48{width:100%;max-width:100%;margin:0!important;padding:0!important;box-sizing:border-box}
.pkp-home-v48,.pkp-home-v48 *{box-sizing:border-box}
.pkp-home-v48 a{text-decoration:none}
.pkp-h-hero{width:100%;border-radius:0;overflow:hidden}
.pkp-h-hero-content{width:min(1180px,100%);padding-left:20px;padding-right:20px}
.pkp-h-section,.pkp-h-bottom,.pkp-h-why,.pkp-h-cta{width:min(1220px,100%);box-sizing:border-box}
.pkp-h-section{padding-left:20px;padding-right:20px}
.pkp-h-bottom{padding-left:20px;padding-right:20px}
.pkp-h-why{margin-left:auto;margin-right:auto}
.pkp-h-cta{margin-left:auto;margin-right:auto}
.pkp-home-v48 .pkp-h-search a,
.pkp-home-v48 .pkp-h-card a,
.pkp-home-v48 .pkp-h-service,
.pkp-home-v48 .pkp-h-top a,
.pkp-home-v48 .pkp-h-cta a{transition:all .2s ease}
.pkp-home-v48 .pkp-h-search a:hover{border-color:#1b66c9;transform:translateY(-1px)}
.pkp-home-v48 .pkp-h-card:hover{transform:translateY(-3px);box-shadow:0 9px 25px rgba(15,54,105,.13)}
.pkp-home-v48 .pkp-h-card>a:hover{background:#6326d9;color:#fff}
.pkp-home-v48 .pkp-h-service:hover{transform:translateY(-2px);box-shadow:0 7px 20px rgba(15,54,105,.10)}
.pkp-home-v48 .pkp-h-cta a:hover{background:#f2f6ff}
@media(min-width:921px){
 .ast-container .pkp-home-v48{margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;width:100vw!important;max-width:100vw!important}
 .ast-page-builder-template .entry-content .pkp-home-v48{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important}
}
@media(max-width:920px){
 .pkp-h-hero-content{padding-top:22px}
 .pkp-h-hero h1{margin-top:35px}
}

/* v4.8.3: Home starts directly with Search, then Level Slider */
.pkp-home-v48 .pkp-h-search-only{width:100%;padding:22px 18px 8px;background:#fff}
.pkp-home-v48 .pkp-h-search-wrap{max-width:1180px;margin:0 auto;padding:9px;background:#fff;border:1px solid #e4e8ef;border-radius:12px;display:grid;grid-template-columns:1.25fr 1fr 1fr .75fr;gap:8px;box-shadow:0 4px 16px rgba(0,0,0,.07)}
.pkp-home-v48 .pkp-h-search-wrap a{color:#687386;background:#f9fafc;border:1px solid #e6eaf0;border-radius:8px;padding:13px;text-decoration:none;text-align:left;font-size:14px}
.pkp-home-v48 .pkp-h-search-wrap .pkp-h-search-btn{background:#083b82;color:#fff;text-align:center;font-weight:700}
.pkp-home-v48 .pkp-h-search-only + .pkp-h-section{padding-top:16px}
@media(max-width:700px){.pkp-home-v48 .pkp-h-search-wrap{grid-template-columns:1fr}.pkp-home-v48 .pkp-h-search-only{padding:15px 12px 5px}}

/* v4.8.4 exact clean reference-inspired home layout */
.pkp-reference-home{background:#fff;color:#17243d;line-height:1.35;font-family:inherit}
.pkp-reference-home h1,.pkp-reference-home h2,.pkp-reference-home h3,.pkp-reference-home p{margin-top:0}
.pkp-ref-search{padding:18px 0 8px;background:#fff}
.pkp-ref-searchbox{max-width:1180px;margin:auto;padding:8px;background:#fff;border:1px solid #e7ecf3;border-radius:12px;box-shadow:0 4px 18px rgba(20,57,100,.08);display:grid;grid-template-columns:1.2fr 1fr 1fr .6fr;gap:7px}
.pkp-ref-searchbox a{padding:13px 15px;border:1px solid #e5eaf1;border-radius:8px;background:#fafcff;color:#516078;text-decoration:none;font-size:14px}
.pkp-ref-searchbox a span{font-size:12px;color:#8792a4}.pkp-ref-searchbox .pkp-ref-search-btn{background:#1262ce;color:#fff;text-align:center;font-weight:700}
.pkp-ref-level{max-width:1180px;margin:auto;padding:22px 0 18px}
.pkp-ref-heading,.pkp-ref-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.pkp-ref-heading h2,.pkp-ref-title h2{font-size:26px;color:#122f67;margin:0}.pkp-ref-heading p{margin:5px 0 14px;color:#6d788b;font-size:13px}.pkp-ref-heading>a,.pkp-ref-title>a{color:#125dcc;text-decoration:none;font-size:13px;font-weight:700}
.pkp-ref-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:15px}.pkp-ref-tab{padding:12px 14px;border:1px solid #e4e9f0;background:#fff;border-radius:8px;text-align:left;cursor:pointer;color:#1c2d4d}.pkp-ref-tab b,.pkp-ref-tab small{display:block}.pkp-ref-tab small{margin-top:2px;color:#6e7a8d}.pkp-ref-tab.active{background:#1262ce;color:#fff;border-color:#1262ce}.pkp-ref-tab.active small{color:#e9f1ff}
.pkp-ref-slider{position:relative}.pkp-ref-slides{overflow:hidden}.pkp-ref-slide{display:none}.pkp-ref-slide.active{display:block}.pkp-ref-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;padding:2px 12px 28px}
.pkp-ref-card{border:1px solid #e6ebf2;border-radius:12px;background:#fff;padding:12px;text-align:left;box-shadow:0 3px 15px rgba(20,57,100,.07);overflow:hidden}.pkp-ref-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(20,57,100,.12)}
.pkp-ref-photo{height:150px;border-radius:9px;background:#eef4ff;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.pkp-ref-photo img{width:100%;height:100%;object-fit:cover}.pkp-ref-photo span{font-size:55px}.pkp-ref-photo i{position:absolute;right:7px;bottom:7px;background:#28b95b;color:#fff;width:22px;height:22px;border-radius:50%;font-style:normal;text-align:center;line-height:22px}.pkp-ref-photo em{position:absolute;left:7px;bottom:7px;background:#1262ce;color:#fff;border-radius:12px;padding:4px 8px;font-size:11px;font-style:normal}
.pkp-ref-card h3{font-size:16px;margin:11px 0 3px;color:#1b2942}.pkp-ref-card p{margin:4px 0;font-size:12px}.pkp-ref-card .service{color:#58667c}.pkp-ref-card .loc{color:#5e6b80}.pkp-ref-card .rate{color:#f0a000;font-size:13px}.pkp-ref-card .rate small{color:#6e7a8d}.pkp-ref-card>a{display:block;border:1px solid #cbdcf6;background:#f6f9ff;color:#125dcc;text-align:center;padding:8px;border-radius:7px;font-weight:700;text-decoration:none;font-size:13px}
.pkp-ref-arrow{position:absolute;top:43%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #dfe5ed;color:#173d79;font-size:28px;z-index:4;box-shadow:0 2px 10px rgba(0,0,0,.1);cursor:pointer}.pkp-ref-arrow.prev{left:-7px}.pkp-ref-arrow.next{right:-7px}.pkp-ref-dots{text-align:center;position:absolute;bottom:4px;left:0;right:0}.pkp-ref-dot{display:inline-block;width:9px;height:9px;background:#cbd2dc;border-radius:50%;margin:0 4px}.pkp-ref-dot.active{background:#1262ce}
.pkp-ref-trust{max-width:1180px;margin:4px auto 25px;padding:18px 22px;background:#f7faff;border-radius:13px;display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.pkp-ref-trust>div{display:flex;gap:10px;align-items:center}.pkp-ref-trust b{width:42px;height:42px;border-radius:50%;background:#e5f0ff;color:#1262ce;display:grid;place-items:center;font-size:19px}.pkp-ref-trust strong,.pkp-ref-trust small{display:block}.pkp-ref-trust small{color:#6f7b8e;font-size:12px;margin-top:3px}
.pkp-ref-main{max-width:1180px;margin:auto;display:grid;grid-template-columns:1.65fr .9fr;gap:20px}.pkp-ref-services,.pkp-ref-top{border:1px solid #e6ebf2;border-radius:12px;padding:17px;background:#fff}.pkp-ref-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.pkp-ref-service{border:1px solid #edf0f5;border-radius:10px;padding:15px 8px;text-align:center;text-decoration:none;color:#1c2941}.pkp-ref-service span{width:45px;height:45px;border-radius:50%;background:#edf5ff;color:#1262ce;display:grid;place-items:center;margin:auto;font-size:20px}.pkp-ref-service strong,.pkp-ref-service small,.pkp-ref-service em{display:block}.pkp-ref-service strong{font-size:13px;margin-top:7px}.pkp-ref-service small{color:#738096;font-size:11px;margin:3px 0}.pkp-ref-service em{color:#1262ce;font-style:normal;font-size:11px}
.pkp-ref-toprow{display:grid;grid-template-columns:36px 1fr auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f4;text-decoration:none;color:#1c2941}.pkp-ref-toprow .mini{width:34px;height:34px;border-radius:50%;background:#edf4ff;overflow:hidden;display:grid;place-items:center}.pkp-ref-toprow img{width:100%;height:100%;object-fit:cover}.pkp-ref-toprow strong,.pkp-ref-toprow small{display:block}.pkp-ref-toprow small{color:#758095;font-size:11px}.pkp-ref-toprow>b{color:#f0a000;font-size:12px}
.pkp-ref-cta{max-width:1180px;margin:20px auto;padding:23px 28px;border-radius:13px;background:linear-gradient(105deg,#0950ba,#2579df);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:15px}.pkp-ref-cta h2{margin:0 0 5px;font-size:25px}.pkp-ref-cta p{margin:0 0 6px}.pkp-ref-cta small{font-size:12px}.pkp-ref-cta a{background:#fff;color:#1257b8;padding:11px 17px;border-radius:7px;text-decoration:none;font-weight:700;white-space:nowrap}
.pkp-ref-cities{max-width:1180px;margin:0 auto;padding:8px 0 20px}.pkp-ref-city-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:12px}.pkp-ref-city-grid a{border:1px solid #e6ebf2;border-radius:9px;overflow:hidden;text-align:center;text-decoration:none;color:#1c2941;background:#fff}.pkp-ref-city-grid .city-img{height:82px;background:linear-gradient(135deg,#dbeaff,#eff5ff);display:grid;place-items:center;color:#1262ce;font-size:27px}.pkp-ref-city-grid strong,.pkp-ref-city-grid small{display:block}.pkp-ref-city-grid strong{font-size:13px;margin:7px 0 2px}.pkp-ref-city-grid small{color:#718096;font-size:11px;margin-bottom:8px}
.pkp-ref-stats{max-width:1180px;margin:0 auto 28px;padding:16px 25px;background:#f4fbf8;border-radius:12px;display:grid;grid-template-columns:repeat(4,1fr);text-align:left}.pkp-ref-stats div{display:grid;grid-template-columns:38px 1fr;column-gap:9px;align-items:center}.pkp-ref-stats b{grid-row:span 2;width:38px;height:38px;border-radius:50%;background:#e1f4e9;color:#15924e;display:grid;place-items:center}.pkp-ref-stats strong{font-size:17px}.pkp-ref-stats small{color:#718096;font-size:11px}
@media(max-width:1050px){.pkp-ref-grid{grid-template-columns:repeat(3,1fr)}.pkp-ref-main{grid-template-columns:1fr}.pkp-ref-city-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.pkp-ref-searchbox{grid-template-columns:1fr}.pkp-ref-heading{display:block}.pkp-ref-heading>a{display:inline-block;margin-top:6px}.pkp-ref-tabs{grid-template-columns:1fr}.pkp-ref-grid{grid-template-columns:repeat(2,1fr);padding-left:4px;padding-right:4px}.pkp-ref-trust{grid-template-columns:1fr 1fr}.pkp-ref-service-grid{grid-template-columns:repeat(2,1fr)}.pkp-ref-city-grid{grid-template-columns:repeat(2,1fr)}.pkp-ref-cta{display:block}.pkp-ref-cta a{display:inline-block;margin-top:12px}.pkp-ref-stats{grid-template-columns:1fr 1fr;gap:12px}}
@media(max-width:480px){.pkp-ref-grid{grid-template-columns:1fr}.pkp-ref-trust{grid-template-columns:1fr}.pkp-ref-service-grid{grid-template-columns:1fr 1fr}.pkp-ref-city-grid{grid-template-columns:1fr 1fr}}

/* v4.8.5 Home Search controls */
.pkp-reference-home .pkp-ref-searchbox{align-items:stretch}
.pkp-reference-home .pkp-home-search-field{display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #e5eaf1;border-radius:8px;background:#fafcff;color:#1262ce;min-width:0}
.pkp-reference-home .pkp-home-search-field input,
.pkp-reference-home .pkp-home-search-field select{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:12px 0!important;margin:0!important;color:#516078;font-size:14px;font-family:inherit}
.pkp-reference-home .pkp-home-search-field select{appearance:auto;-webkit-appearance:auto}
.pkp-reference-home .pkp-home-search-field input::placeholder{color:#687386;opacity:1}
.pkp-reference-home .pkp-home-search-form .pkp-ref-search-btn{border:0;cursor:pointer;font-family:inherit;font-size:14px}
@media(max-width:700px){.pkp-reference-home .pkp-home-search-field{min-height:46px}}
