/* BluffsJupiter.com V2.6 | Shared community page refinement.
   Styles scoped to .community-shell. Existing homepage CSS is unchanged. */
.community-shell .detail-hero-frame{border-radius:18px;overflow:hidden}
.community-shell .detail-content{padding-top:44px;padding-bottom:65px}
.community-shell .detail-columns{gap:clamp(24px,4.5vw,64px);align-items:start}
.community-shell .community-article{min-width:0;background:#fff;border:1px solid #e1e8ec;border-radius:18px;padding:clamp(22px,3vw,42px);box-shadow:0 12px 34px rgba(9,43,65,.06)}
.community-shell .community-article .eyebrow{color:#267f9f}
.community-shell .detail-aside{margin-top:0;display:grid;gap:20px;min-width:0}
.community-shell .detail-aside .wiley-featured,.community-shell .detail-aside .aside-card{border-radius:18px;overflow:hidden}
.community-shell .detail-aside .wiley-featured{box-shadow:0 14px 36px rgba(10,48,68,.10)}
.community-shell .detail-aside .aside-card{background:#fff;border:1px solid #e1e8ec;padding:23px;box-shadow:0 9px 24px rgba(9,43,65,.05)}
.community-shell .detail-aside .aside-plain a{display:flex;justify-content:space-between;gap:10px}
.community-shell .bc-card{border-radius:15px}
.community-shell .bc-card-media{overflow:hidden}
.community-shell .detail-title-block{padding-top:33px}
.community-directory .v2-options-grid{margin-bottom:14px}
@media(max-width:940px){.community-shell .detail-columns{grid-template-columns:minmax(0,1fr) 295px;gap:22px}}
@media(max-width:740px){.community-shell .detail-columns{grid-template-columns:1fr}.community-shell .detail-aside{max-width:none;grid-template-columns:1fr}.community-shell .detail-content{padding:28px 0 48px}.community-shell .detail-hero-frame{border-radius:14px}.community-shell .community-article{padding:23px}}
@media(max-width:560px){.community-shell .community-article{padding:18px}.community-shell .detail-title-block{padding-top:22px}}
/* Ensure action-button labels stay legible under the V2 global link-color rules. */
.community-shell .detail-aside a.button.button-primary{color:#fff!important}
.community-shell .detail-aside a.button.button-quiet{color:#123e5c!important}
.community-shell .detail-aside a.wiley-phone{color:#16496b!important}

/* V2.7: Sea Colony inspired Realtor card, at the TOP of the universal community page. */
.community-shell .bc-opening-section{padding:27px 0 45px;background:#faf8f2}
.community-shell .bc-opening-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:clamp(22px,3.4vw,47px);align-items:start}
.community-shell .bc-opening-main{min-width:0}
.community-shell .bc-opening-main .detail-title-block{padding:11px 0 25px;text-align:left}
.community-shell .bc-opening-main .detail-title-block h1{margin:0 0 10px}
.community-shell .bc-opening-main .detail-title-block>p:last-child{max-width:640px;margin:0;color:#526f7d;line-height:1.65}
.community-shell .bc-opening-main .detail-hero{padding:0;background:transparent}
.community-shell .bc-opening-main .detail-hero-frame{height:clamp(290px,32vw,430px);border-radius:20px;overflow:hidden;box-shadow:0 15px 38px rgba(11,48,66,.09)}
.community-shell .bc-opening-main .detail-hero-frame img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
.community-shell .bc-opening-aside{min-width:0;padding-top:53px}
.community-shell .bc-agent-card{background:#fffefa;border:1px solid #e0e5e0;border-radius:20px;overflow:hidden;box-shadow:0 14px 35px rgba(28,60,71,.075)}
.community-shell .bc-agent-banner{background:#edf3ef;border-bottom:1px solid #dce7e1;padding:19px 23px 17px;color:#173f50;display:grid;gap:6px}
.community-shell .bc-agent-banner span{font-size:10px;font-weight:800;letter-spacing:.19em;color:#4d7e80}
.community-shell .bc-agent-banner strong{font:700 15px/1.35 'DM Sans',Arial,sans-serif;letter-spacing:.035em;color:#17465a}
.community-shell .bc-agent-content{padding:22px 22px 20px}
.community-shell .bc-agent-lead{display:flex;align-items:center;gap:12px;min-width:0}
.community-shell .bc-agent-identity{min-width:0;flex:1}
.community-shell .bc-agent-kicker{font:800 9px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.16em;color:#537a7b;margin:0 0 5px}
.community-shell .bc-agent-identity h2{font:700 29px/1.12 'Libre Baskerville',Georgia,serif;color:#123e5c;margin:0 0 8px;letter-spacing:-.05em}
.community-shell .bc-agent-brokerage{font:600 12px/1.55 'DM Sans',Arial,sans-serif;margin:0;color:#486779}
.community-shell .bc-agent-avatar{flex:0 0 89px;height:105px;background:#e3f0ee;position:relative;overflow:hidden;border-radius:12px}
.community-shell .bc-agent-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 18%;position:relative;z-index:1}
.community-shell .bc-agent-avatar img[hidden]{display:none}
.community-shell .bc-agent-fallback{position:absolute;inset:0;display:grid;place-items:center;font:700 27px Georgia,serif;color:#577789}
.community-shell .bc-agent-residency{font-weight:800;color:#2e6370;font-size:14px;line-height:1.45;margin:20px 0 10px}
.community-shell .bc-agent-intro{color:#566e79;font-size:13px;line-height:1.7;margin:0 0 20px}
.community-shell .bc-agent-direct{display:grid;text-align:center;gap:3px;padding:13px;border:1px solid #d2dfd9;background:#f2f7f3;border-radius:12px;color:#123e5c;text-decoration:none}
.community-shell .bc-agent-direct span{font-size:10px;letter-spacing:.15em;font-weight:800;color:#55777a}
.community-shell .bc-agent-direct strong{font:800 23px/1.35 'DM Sans',Arial,sans-serif;letter-spacing:-.02em}
.community-shell .bc-agent-direct:hover{background:#e8f1eb}
.community-shell .bc-agent-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.community-shell .bc-agent-actions a{border-radius:999px;padding:11px 9px;text-align:center;font-weight:800;font-size:12px;text-decoration:none;line-height:1.3;white-space:nowrap}
.community-shell .bc-agent-contact{background:#16445f;color:#fff!important}
.community-shell .bc-agent-contact:hover{background:#205977}
.community-shell .bc-agent-email{background:#fffefa;border:1px solid #cbd9d8;color:#153e5d!important}
.community-shell .bc-agent-footer{border-top:1px solid #e5eae4;color:#637884;padding:12px 18px;text-align:center;font-size:10px;line-height:1.45;margin:0}
/* Keep the remaining site resources after the MLS inventory. The agent card no longer repeats here. */
.community-shell .detail-aside .aside-card{margin-bottom:0}
@media(max-width:960px){.community-shell .bc-opening-grid{grid-template-columns:minmax(0,1fr) 292px;gap:21px}.community-shell .bc-agent-banner{padding:17px}.community-shell .bc-agent-content{padding:18px}.community-shell .bc-agent-avatar{flex-basis:76px;height:94px}.community-shell .bc-agent-identity h2{font-size:23px}.community-shell .bc-agent-direct strong{font-size:21px}}
@media(max-width:740px){.community-shell .bc-opening-section{padding:22px 0 31px}.community-shell .bc-opening-grid{grid-template-columns:1fr;gap:22px}.community-shell .bc-opening-aside{padding-top:0}.community-shell .bc-opening-main .detail-title-block{text-align:center;padding:0 0 22px}.community-shell .bc-opening-main .detail-title-block>p:last-child{margin-inline:auto}.community-shell .bc-opening-main .detail-hero-frame{height:300px}.community-shell .bc-opening-aside{max-width:560px;width:100%;margin-inline:auto}.community-shell .bc-agent-content{padding:21px}.community-shell .bc-agent-banner{padding:17px 21px}.community-shell .bc-agent-identity h2{font-size:28px}}
@media(max-width:440px){.community-shell .bc-opening-main .detail-hero-frame{height:235px}.community-shell .bc-agent-avatar{flex-basis:84px;height:105px}.community-shell .bc-agent-actions{gap:8px}}

/* V2.9: Everything below the MLS inventory is a single full-width overview.
   The Realtor card remains at the top beside the entrance sign. */
.community-shell .detail-content{padding-top:35px;padding-bottom:56px}
.community-shell .bc-community-overview{width:100%;max-width:none;padding:clamp(24px,3.1vw,43px)}
.community-shell .bc-community-overview .eyebrow{margin-bottom:9px}
.community-shell .bc-community-overview h2{font:400 clamp(25px,2.7vw,34px)/1.25 'Libre Baskerville',Georgia,serif;color:#123e5c;letter-spacing:-.022em;margin:0 0 15px}
.community-shell .bc-community-overview .bc-overview-intro{font-size:15px;line-height:1.78;max-width:1040px;margin:0 0 24px;color:#566f7b}
.community-shell .bc-quick-facts{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.community-shell .bc-quick-facts li{min-width:0;margin:0;padding:13px 14px 13px 33px;border:1px solid #e0e8e5;border-radius:11px;background:#f6f9f6;position:relative;font:600 13px/1.45 'DM Sans',Arial,sans-serif;color:#284f62}
.community-shell .bc-quick-facts li::before{content:'✓';position:absolute;left:13px;top:13px;color:#358679;font-weight:900}
.community-shell .bc-community-overview .bc-buying-note{margin:0;padding-top:15px;border-top:1px solid #e4eae7;font-size:13px;line-height:1.7;color:#5b727a}
.community-shell .bc-community-overview .bc-buying-note strong{color:#234b5b}
@media(max-width:780px){.community-shell .bc-quick-facts{grid-template-columns:1fr}.community-shell .bc-community-overview{padding:22px}.community-shell .detail-content{padding-top:24px;padding-bottom:42px}}

/* V3.0: six slim, SEO-descriptive community links underneath the entrance sign. */
.community-shell .bc-community-pills{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:14px;width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 0 6px}
.community-shell .bc-community-pills a{display:flex;align-items:center;justify-content:center;min-width:0;padding:10px 3px;background:#fffefa;border:1px solid #d9e5e2;border-radius:999px;color:#234b5b!important;font:700 clamp(9px,.72vw,10.5px)/1.25 'DM Sans',Arial,sans-serif;text-align:center;white-space:nowrap;text-decoration:none;transition:background .15s ease,border-color .15s ease}
.community-shell .bc-community-pills a:hover,.community-shell .bc-community-pills a:focus-visible{background:#edf4ef;border-color:#8fbbb3}
.community-shell .bc-community-pills a[aria-current="page"]{background:#dfece7;border-color:#84b4a9;color:#174e58!important}
.community-shell .bc-community-pills a:focus-visible{outline:2px solid #156583;outline-offset:2px}
@media(max-width:1080px){.community-shell .bc-community-pills{grid-template-columns:repeat(6,minmax(120px,1fr))}.community-shell .bc-community-pills a{font-size:10px}}
@media(max-width:740px){.community-shell .bc-community-pills{grid-template-columns:repeat(6,minmax(130px,1fr));margin-top:12px}}
