body.ebgj-business-page #sidebar{display:none}body.ebgj-business-page #left-area{width:100%;float:none;padding-right:0}body.ebgj-business-page #main-content .container:before{display:none}.ebgj-business{--ink:#102c42;--accent:#98502d;--rule:#d9e2e7;color:var(--ink);font:16px/1.6 Arial,sans-serif;max-width:1220px;margin:auto;padding:0 0 36px}.ebgj-business *{box-sizing:border-box;min-width:0}.ebgj-business a{color:var(--ink);text-underline-offset:4px}.ebgj-business h2{font-size:30px;line-height:1.2;margin:32px 0 18px}.ebgj-business h3{font-size:20px;line-height:1.3}.ebgj-biz-hero{border-top:5px solid var(--accent);background:#f1f5f7;padding:28px;margin:16px 0 24px}.ebgj-biz-hero>p:first-child{font-size:12px;letter-spacing:2px;font-weight:bold}.ebgj-biz-hero h2{max-width:750px;font-size:40px;margin:10px 0 18px}.ebgj-biz-notice{border-left:4px solid var(--accent);background:#faf4ed;padding:16px;font-size:14px}.ebgj-biz-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:28px}.ebgj-biz-filters label{font-size:13px;font-weight:bold}.ebgj-biz-filters input,.ebgj-biz-filters select,.ebgj-biz-filters button{display:block;width:100%;min-height:46px;padding:10px;font:16px Arial;border:1px solid #b3c2cc;background:white;color:var(--ink);border-radius:2px}.ebgj-biz-filters button{background:var(--ink);color:white;font-weight:bold;cursor:pointer}.ebgj-biz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ebgj-biz-card{border:1px solid var(--rule);border-top:3px solid var(--ink);padding:22px;background:#fff;overflow-wrap:anywhere}.ebgj-biz-card h3{margin:14px 0}.ebgj-biz-card p{font-size:14px;color:#526775}.ebgj-biz-card .ebgj-biz-more{font-size:14px;font-weight:bold}.ebgj-biz-tags{display:flex;gap:6px;flex-wrap:wrap}.ebgj-biz-badge{display:inline-block;padding:3px 8px;background:#edf2f5;font-size:12px;margin:0 5px 6px 0;border:1px solid var(--rule)}.ebgj-biz-sponsored{background:#faf0dd;color:#704315}.ebgj-biz-pagination{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.ebgj-biz-pagination a,.ebgj-biz-pagination span{min-width:44px;min-height:44px;padding:9px 14px;border:1px solid var(--rule);text-align:center}.ebgj-biz-pagination [aria-current]{background:var(--ink);color:#fff}.ebgj-biz-count{font-size:16px;color:#526775}.ebgj-biz-gallery{display:flex;flex-wrap:wrap;gap:12px}.ebgj-biz-gallery img{max-width:220px;height:auto}.ebgj-biz-logo{max-width:200px;height:auto}.ebgj-biz-footnote{margin-top:24px;font-size:13px;color:#526775}.ebgj-business :is(a,input,select,button):focus-visible{outline:3px solid var(--accent);outline-offset:3px}.ebgj-biz-extended{white-space:normal;overflow-wrap:anywhere}@media(max-width:980px){.ebgj-biz-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ebgj-biz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.ebgj-biz-filters,.ebgj-biz-grid{grid-template-columns:minmax(0,1fr)}.ebgj-biz-hero{padding:20px}.ebgj-biz-hero h2{font-size:30px}.ebgj-business h2{font-size:26px}.ebgj-biz-card{padding:18px}}
.ebgj-biz-address{font-size:16px;line-height:1.65;margin:16px 0 20px;overflow-wrap:anywhere}.ebgj-biz-affiliation{font-size:12px!important;font-weight:bold;color:#704315!important;border-left:3px solid #98502d;padding-left:8px}.ebgj-biz-parent{font-size:13px!important}.ebgj-biz-card h3{margin-top:0}.ebgj-biz-card{display:flex;flex-direction:column}.ebgj-biz-more{margin-top:auto;padding-top:16px;min-height:44px}.ebgj-biz-address div:empty{display:none}
.ebgj-biz-views{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.ebgj-biz-views a{display:inline-block;padding:10px 16px;border:2px solid var(--rule);border-radius:4px;min-height:44px}.ebgj-biz-views a[aria-current=page]{border-color:var(--accent);font-weight:bold;background:#f1f5f7}.ebgj-biz-priority{font-size:13px;font-weight:bold}

/* Keep publisher transparency readable without competing with company details. */
.ebgj-business .ebgj-biz-notice{border-left:2px solid #c5cdd2;background:#f7f8f9;padding:8px 12px;font-size:12px;color:#60717e;margin:12px 0}
.ebgj-business .ebgj-biz-affiliation{font-size:11px!important;font-weight:normal;color:#687b87!important;border-left:0;padding-left:0;margin:4px 0}
.ebgj-business .ebgj-biz-footnote{color:#73818b;font-size:12px}

.ebgj-biz-result{display:flex;flex-direction:column;min-width:0}.ebgj-biz-result>.ebgj-biz-card{flex:1}.ebgj-biz-matched-points{padding:12px;border:1px solid #d9e2e7;border-top:0;background:#f7f9fa}.ebgj-biz-matched-points>p{font-size:13px;color:#526775;margin:0 0 10px}.ebgj-biz-matched-points .ebgj-biz-card{background:#fff;padding:12px;border-top-width:2px}.ebgj-biz-matched-points .ebgj-biz-card h3{font-size:16px}

/* dev.7: readable Company / Service Point profiles; directory result cards stay unchanged. */
.ebgj-biz-profile{max-width:1120px;margin:0 auto;color:var(--ink)}
.ebgj-biz-profile .ebgj-biz-back{display:inline-flex;align-items:center;margin:4px 0 18px;font-size:14px;font-weight:600;text-decoration:none}
.ebgj-biz-profile .ebgj-biz-back:hover{text-decoration:underline}
.ebgj-biz-profile-header{border-bottom:1px solid var(--rule);padding-bottom:20px;margin-bottom:26px}
.ebgj-biz-profile-header h2{font-size:clamp(27px,3.3vw,36px);line-height:1.22;margin:0 0 12px;overflow-wrap:anywhere}
.ebgj-biz-profile-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ebgj-biz-profile-badges .ebgj-biz-badge{margin:0;color:#475d6c;background:#f3f6f8;border:1px solid #d9e2e7;font-weight:500}
.ebgj-biz-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,0.78fr);align-items:start;gap:clamp(22px,3.5vw,50px);margin-bottom:30px}
.ebgj-biz-profile-main{min-width:0}
.ebgj-biz-profile-main>.ebgj-biz-address{margin:0 0 22px;padding:0 0 20px;border-bottom:1px solid var(--rule);line-height:1.75}
.ebgj-biz-profile .ebgj-biz-notice{margin:0 0 22px;font-size:12px;line-height:1.55;color:#60717e;border-left:2px solid #c5cdd2;background:#f7f8f9;padding:9px 12px}
.ebgj-biz-facts{display:flex;flex-wrap:wrap;gap:12px 28px;margin:0 0 26px}
.ebgj-biz-facts>div{min-width:130px}
.ebgj-biz-facts dt{font-size:12px;color:#5d7280;line-height:1.4;margin:0 0 3px}
.ebgj-biz-facts dd{font-size:15px;font-weight:700;line-height:1.4;margin:0;color:var(--ink)}
.ebgj-biz-profile-services{margin:0 0 24px}
.ebgj-biz-profile-services h3,.ebgj-biz-contact-panel h3{font-size:19px;line-height:1.4;margin:0 0 14px;padding:0}
.ebgj-biz-service-tags{display:flex;flex-wrap:wrap;list-style:none!important;gap:8px;padding:0!important;margin:0!important}
.ebgj-biz-service-tags li{font-size:13px;line-height:1.45;background:#f1f5f7;border:1px solid #dbe5eb;border-radius:4px;padding:7px 11px;list-style:none!important;overflow-wrap:anywhere}
.ebgj-biz-profile-summary{font-size:15px;line-height:1.7;color:#344e5e;margin-bottom:22px;white-space:pre-line}
.ebgj-biz-contact-panel{min-width:0;border:1px solid var(--rule);border-top:3px solid var(--ink);border-radius:4px;background:#fff;padding:24px;box-shadow:0 7px 22px rgba(16,44,66,.045)}
.ebgj-biz-contact-panel dl{margin:0}
.ebgj-biz-contact-row{padding:14px 0;border-bottom:1px solid var(--rule)}
.ebgj-biz-contact-row:first-child{padding-top:0}
.ebgj-biz-contact-row:last-child{padding-bottom:0;border:0}
.ebgj-biz-contact-row dt{color:#60717e;font-size:12px;font-weight:600;letter-spacing:.025em;margin:0 0 5px}
.ebgj-biz-contact-row dd{font-size:15px;line-height:1.6;font-weight:600;margin:0;overflow-wrap:anywhere;word-break:break-word}
.ebgj-biz-contact-panel a{color:#124c6c;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;overflow-wrap:anywhere}
.ebgj-biz-contact-panel a:hover{color:var(--accent)}
.ebgj-biz-profile .ebgj-biz-location-type,.ebgj-biz-profile .ebgj-biz-company-parent{font-size:14px;margin:0 0 12px;line-height:1.6}
.ebgj-biz-profile>.ebgj-biz-grid{margin-top:20px}
@media(max-width:760px){
 .ebgj-biz-profile-layout{grid-template-columns:minmax(0,1fr);gap:14px}
 .ebgj-biz-contact-panel{padding:20px;margin-bottom:8px}
 .ebgj-biz-profile-header{margin-bottom:20px}
 .ebgj-biz-profile-header h2{font-size:27px}
}

/* Profiles without approved contact details use the full available width. */
.ebgj-biz-profile-layout:not(:has(>.ebgj-biz-contact-panel)){grid-template-columns:minmax(0,1fr)}
