.agp-shell{max-width:1180px;margin:0 auto;background:#f8f7f4;color:#161616;border:1px solid #ddd;border-radius:18px;overflow:hidden;font-family:Inter,Arial,sans-serif;box-shadow:0 12px 40px rgba(0,0,0,.05)}
.agp-shell *{box-sizing:border-box}.agp-shell a{text-decoration:none;color:inherit}.agp-topbar{height:84px;display:flex;justify-content:space-between;align-items:center;padding:0 28px;border-bottom:1px solid #e3e1dc;background:#fbfaf7}.agp-brand{font-weight:800;font-size:24px;letter-spacing:.2px}.agp-nav{display:flex;gap:26px;align-items:center;font-size:17px}.agp-nav a{color:#252525}.agp-nav-btn{background:#dce8f7;color:#25527f!important;padding:12px 18px;border-radius:10px}.agp-hero{text-align:center;padding:62px 20px 64px;background:#f5f4f0}.agp-kicker{letter-spacing:6px;font-size:14px;color:#4c4c4c;margin-bottom:18px}.agp-hero h1{font-size:36px;line-height:1.22;margin:0 0 18px;font-weight:850}.agp-hero p{font-size:19px;margin:0 0 36px;color:#333}.agp-search{max-width:940px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr 1.25fr 150px;gap:18px;background:#fff;border:1px solid #cfcfcf;border-radius:14px;padding:16px}.agp-search input,.agp-search select{height:52px;border:1px solid #d8d8d8;border-radius:10px;background:#fff;padding:0 16px;font-size:17px;color:#333}.agp-search button{border:none;border-radius:10px;background:#2f6daa;color:#fff;font-size:17px;font-weight:800;cursor:pointer}.agp-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e5e2dc;border-bottom:1px solid #e5e2dc;background:#fbfaf7}.agp-stats div{text-align:center;padding:26px 15px;border-right:1px solid #e5e2dc}.agp-stats div:last-child{border-right:0}.agp-stats strong{display:block;font-size:30px;line-height:1.05}.agp-stats span{display:block;color:#444;margin-top:6px}.agp-section{padding:28px}.agp-section h2,.agp-why h2{font-size:24px;margin:0 0 22px}.agp-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.agp-category{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:12px;padding:26px 12px 22px}.agp-category b{font-size:27px;margin-bottom:12px}.agp-category strong{font-size:18px;margin-bottom:8px}.agp-category span{font-size:15px}.agp-blue{background:#e7f0f8;color:#18476b}.agp-green{background:#e5f3ed;color:#0f574a}.agp-cream{background:#f5ead8;color:#684208}.agp-purple{background:#eceafb;color:#38316f}.agp-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.agp-section-head h2{margin:0}.agp-section-head a{color:#2f6091}.agp-listings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.agp-listing-card{background:#fff;border:1px solid #ddd;border-radius:12px;overflow:hidden;display:block;transition:.18s}.agp-listing-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.08)}.agp-card-image{height:160px;background:#f7f6f2;position:relative;display:flex;align-items:center;justify-content:center}.agp-card-image img{width:100%;height:100%;object-fit:cover}.agp-image-placeholder{font-size:42px;color:#777}.agp-badge{position:absolute;top:14px;left:14px;background:#2f6daa;color:#fff;border-radius:9px;padding:7px 16px;font-weight:700;z-index:2}.agp-card-body{padding:20px}.agp-card-body h3{font-size:24px;margin:0 0 8px}.agp-card-body p{margin:7px 0;color:#333}.agp-muted{color:#666!important}.agp-why{background:#f2f1ed;padding:32px 28px;border-top:1px solid #e5e2dc;border-bottom:1px solid #e5e2dc}.agp-why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.agp-why-grid div{display:grid;grid-template-columns:30px 1fr;column-gap:16px}.agp-why-grid b{font-size:20px;color:#2f6daa}.agp-why-grid h3{margin:0 0 4px;font-size:19px}.agp-why-grid p{margin:0;color:#333}.agp-agent{display:grid;grid-template-columns:72px 1fr auto;gap:22px;align-items:center;padding:28px;background:#fbfaf7;border-bottom:1px solid #e5e2dc}.agp-avatar{height:72px;width:72px;border-radius:50%;background:#e1edf9;color:#315b86;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px}.agp-agent h3{margin:0 0 6px;font-size:20px}.agp-agent p{margin:0;color:#333}.agp-agent-actions{display:flex;gap:12px}.agp-wa{background:#2f6daa;color:#fff!important;border-radius:10px;padding:14px 24px;font-weight:800}.agp-call{border:1px solid #ccc;background:#fff;border-radius:10px;padding:14px 22px}.agp-footer{display:grid;grid-template-columns:2fr 1.3fr 1fr;gap:30px;background:#f8f7f4;padding:26px 28px}.agp-footer h3{margin:0 0 6px;font-size:19px}.agp-footer p{margin:0;color:#333;line-height:1.35}
@media(max-width:900px){.agp-topbar{height:auto;padding:20px;align-items:flex-start}.agp-nav{gap:12px;flex-wrap:wrap;justify-content:flex-end}.agp-hero h1{font-size:28px}.agp-search{grid-template-columns:1fr}.agp-search button{height:52px}.agp-stats,.agp-category-grid,.agp-listings-grid,.agp-why-grid,.agp-footer{grid-template-columns:1fr}.agp-stats div{border-right:0;border-bottom:1px solid #e5e2dc}.agp-agent{grid-template-columns:60px 1fr}.agp-agent-actions{grid-column:1/-1}.agp-wa{flex:1;text-align:center}.agp-call{text-align:center}.agp-category-grid{gap:12px}.agp-section{padding:22px}.agp-kicker{letter-spacing:3px}}
@media(max-width:520px){.agp-shell{border-radius:0;border-left:0;border-right:0}.agp-topbar{display:block}.agp-brand{margin-bottom:12px}.agp-nav{font-size:14px}.agp-hero{padding:38px 16px}.agp-hero h1{font-size:24px}.agp-hero p{font-size:16px}.agp-card-image{height:135px}}
.agp-details{display:inline-block;margin-top:8px;color:#2f6daa;font-weight:700}.agp-empty{grid-column:1/-1;background:#fff;border:1px solid #ddd;border-radius:12px;padding:24px;text-align:center;color:#555}.agp-footer a{color:#2f6091}.agp-brand:hover,.agp-nav a:hover,.agp-section-head a:hover,.agp-footer a:hover{text-decoration:underline}.agp-call{white-space:nowrap}.agp-search select{appearance:auto}

/* Full homepage mode: escape Houzez / Elementor / Bootstrap boxed containers. */
.agp-shell.agp-full-page{
  position:relative!important;left:50%!important;right:50%!important;
  width:100vw!important;max-width:100vw!important;min-height:100vh;
  margin-left:-50vw!important;margin-right:-50vw!important;
  border-radius:0!important;border-left:0!important;border-right:0!important;
  box-shadow:none!important;overflow:hidden;background:#f8f7f4;
}
.agp-template-full-homepage{margin:0!important;background:#f8f7f4;width:100%!important;overflow-x:hidden}
html:has(body.agp-template-full-homepage),body.agp-template-full-homepage{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
.agp-template-full-homepage .agp-shell.agp-full-page{left:auto!important;right:auto!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}

/* Shortcode pages stay readable; the true page template becomes fully edge-to-edge. */
body:not(.agp-template-full-homepage) .agp-shell.agp-full-page .agp-topbar,
body:not(.agp-template-full-homepage) .agp-shell.agp-full-page .agp-stats,
body:not(.agp-template-full-homepage) .agp-shell.agp-full-page .agp-section,
body:not(.agp-template-full-homepage) .agp-shell.agp-full-page .agp-why,
body:not(.agp-template-full-homepage) .agp-shell.agp-full-page .agp-agent,
body:not(.agp-template-full-homepage) .agp-shell.agp-full-page .agp-footer{max-width:1180px;margin-left:auto;margin-right:auto}
.agp-shell.agp-full-page .agp-hero{width:100%;padding-left:20px;padding-right:20px}
body:not(.agp-template-full-homepage) .agp-shell.agp-full-page .agp-hero > *{max-width:1180px;margin-left:auto;margin-right:auto}
.agp-shell.agp-full-page .agp-hero .agp-search{max-width:940px}

/* Template mode: every block covers the browser width, no boxed white margin. */
.agp-template-full-homepage .agp-topbar,
.agp-template-full-homepage .agp-stats,
.agp-template-full-homepage .agp-section,
.agp-template-full-homepage .agp-why,
.agp-template-full-homepage .agp-agent,
.agp-template-full-homepage .agp-footer{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.agp-template-full-homepage .agp-topbar,
.agp-template-full-homepage .agp-section,
.agp-template-full-homepage .agp-why,
.agp-template-full-homepage .agp-agent,
.agp-template-full-homepage .agp-footer{padding-left:clamp(22px,5vw,72px)!important;padding-right:clamp(22px,5vw,72px)!important}
.agp-template-full-homepage .agp-hero > *{max-width:1180px;margin-left:auto;margin-right:auto}

/* WordPress/Houzez page containers that often cause the shortcode to look boxed. */
@supports selector(:has(*)){
  body:has(.agp-full-page) .main-wrap,
  body:has(.agp-full-page) .main-content-wrap,
  body:has(.agp-full-page) .container,
  body:has(.agp-full-page) .container-fluid,
  body:has(.agp-full-page) .content-area,
  body:has(.agp-full-page) .site-main,
  body:has(.agp-full-page) .page-content,
  body:has(.agp-full-page) .entry-content,
  body:has(.agp-full-page) .elementor,
  body:has(.agp-full-page) .elementor-section,
  body:has(.agp-full-page) .elementor-container,
  body:has(.agp-full-page) .elementor-widget-container{
    max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;
  }
  body:has(.agp-full-page) .main-content-wrap{padding-top:0!important;padding-bottom:0!important}
}

/* Use the active WordPress/Houzez site logo in the AG header. */
.agp-brand{display:flex;align-items:center;min-width:150px;line-height:1}
.agp-site-logo{display:block;max-height:56px;width:auto;max-width:230px;object-fit:contain;background:transparent}
.agp-brand-text{font-weight:800;font-size:24px;letter-spacing:.2px}
@media(max-width:520px){.agp-site-logo{max-height:48px;max-width:190px}.agp-brand{margin-bottom:12px}}

/* Ezdesign icon update */
.agp-icon{display:inline-flex;align-items:center;justify-content:center;width:1.15em;height:1.15em;line-height:1;vertical-align:-0.18em;flex:0 0 auto}
.agp-icon svg{display:block;width:100%;height:100%;fill:currentColor}
.agp-nav-btn,.agp-search button,.agp-wa,.agp-call,.agp-section-head a,.agp-footer-contact a{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.agp-kicker{display:flex;align-items:center;justify-content:center;gap:10px}
.agp-category b{display:flex!important;align-items:center;justify-content:center;width:60px;height:60px;border-radius:16px;background:rgba(255,255,255,.58);font-size:32px;margin-bottom:14px}
.agp-category b .agp-icon{width:34px;height:34px}
.agp-card-body p{display:flex;align-items:center;gap:7px}.agp-card-body .agp-icon{width:18px;height:18px;color:#2f6daa}
.agp-why-grid{align-items:stretch}.agp-why-grid div{display:block}.agp-why-item{display:grid;grid-template-columns:46px 1fr;column-gap:16px;align-items:flex-start;color:inherit;border-radius:14px;padding:14px 12px;margin:-14px -12px;transition:.18s}
.agp-why-item:hover{background:rgba(255,255,255,.65);transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.05);text-decoration:none!important}
.agp-why-item>.agp-icon{width:44px;height:44px;padding:10px;border-radius:13px;background:#fff;color:#2f6daa;box-shadow:0 4px 12px rgba(0,0,0,.04)}
.agp-why-item h3{margin:0 0 4px;font-size:19px}.agp-why-item p{margin:0;color:#333}.agp-why-item span{display:block}
.agp-footer-contact{display:flex;flex-direction:column;gap:9px}.agp-footer-contact a{justify-content:flex-start;color:#2f6091}.agp-footer-contact .agp-icon{width:18px;height:18px}
.agp-wa .agp-icon,.agp-nav-btn .agp-icon{width:19px;height:19px}.agp-call .agp-icon{width:18px;height:18px}.agp-search button .agp-icon{width:18px;height:18px}.agp-section-head a .agp-icon{width:17px;height:17px}
@media(max-width:900px){.agp-why-item{margin:0;padding:14px 0}.agp-kicker{gap:8px}.agp-category b{width:54px;height:54px}.agp-category b .agp-icon{width:30px;height:30px}}
