/* Directory-only additions; the existing hero, copy and shared chrome stay intact. */
[data-neighborhood-directory] [hidden]{display:none!important}
[data-neighborhood-directory] #communities{scroll-margin-top:110px;padding:54px 0 24px}
[data-neighborhood-directory] .neighborhoods-list-section>.container{max-width:1240px;padding:0 36px}
[data-neighborhood-directory] .text-with-bold{max-width:950px;margin:0 0 38px;font-size:16px;line-height:1.8;text-align:left}
.nd-eyebrow{color:#b40101;font-size:11px;font-weight:700;letter-spacing:1.8px;margin:0 0 12px}
.nd-toolbar{margin-bottom:26px}.nd-toolbar-top{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:26px}
.nd-toolbar h2,.nd-help h2,.nd-resources h2,.nd-dialog h2{font-family:SourceSerif4,Georgia,serif;font-weight:400;letter-spacing:-.5px;line-height:1.15;color:#1f2937}
.nd-toolbar h2{font-size:38px;max-width:560px}.nd-search{width:355px;max-width:100%;flex-shrink:0}.nd-search label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
.nd-search input{width:100%;height:50px;padding:12px 15px;border:1px solid #c7cdd4;border-radius:6px;background:#fff;color:#1f2937;font:16px Gilroy,sans-serif}
.nd-regions{display:flex;flex-wrap:wrap;gap:9px;padding-bottom:23px;border-bottom:1px solid #e1e5e9}
.nd-regions button{border:1px solid #dce0e5;background:white;border-radius:5px;padding:11px 16px;min-height:44px;font:600 13px Gilroy,sans-serif;cursor:pointer;color:#374151}
.nd-regions button[aria-pressed=true]{background:#b40101;color:white;border-color:#b40101}.nd-regions button:hover:not([aria-pressed=true]){border-color:#b40101;color:#b40101}
.nd-results{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:57px;font-size:14px}.nd-results p{margin:0}
.nd-results button,.nd-text-button{border:0;background:transparent;color:#b40101;font:600 14px Gilroy,sans-serif;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.nd-inventory-note{font-size:12px;color:#59616d;line-height:1.65;max-width:950px;margin:0}
[data-neighborhood-directory] .neighborhoods-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
[data-neighborhood-directory] .neighborhood-card-index{display:flex;flex-direction:column;min-width:0;border:1px solid #dfe3e8;border-radius:7px;overflow:hidden;background:#fff;text-align:left;box-shadow:0 7px 22px #1f293706}
[data-neighborhood-directory] .neighborhood-card-index__image{height:auto;aspect-ratio:1.6;width:100%;overflow:hidden}
[data-neighborhood-directory] .neighborhood-card-index__image img{width:100%;height:100%;object-fit:cover}
[data-neighborhood-directory] .neighborhood-card-index__body{padding:24px;display:flex;flex:1;flex-direction:column;align-items:stretch;text-align:left}
.nd-card-region{font-size:10px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:1.4px;margin:0 0 8px}
[data-neighborhood-directory] .neighborhood-card-index__title{font-family:SourceSerif4,Georgia,serif;font-size:28px;font-weight:400;line-height:1.15;margin:0 0 14px}
[data-neighborhood-directory] .neighborhood-card-index__text{font-size:15px;line-height:1.7;font-weight:400;margin:0 0 20px;max-height:none;overflow:visible;display:block;-webkit-line-clamp:unset}
.nd-inventory{font-size:13px;color:#4b5563;min-height:22px;margin:auto 0 12px;padding-top:4px;font-weight:500}
.nd-inventory[data-ready=true]{color:#1f513a}.nd-inventory[data-ready=true]:before{content:"";display:inline-block;width:6px;height:6px;background:#33865a;border-radius:50%;margin:0 7px 2px 0}
.nd-card-links{display:grid;gap:3px;border-top:1px solid #e5e7eb;padding-top:12px}
[data-neighborhood-directory] .neighborhood-card-index__cta,.nd-homes-link{font-size:14px;font-weight:600;line-height:1.5;min-height:40px;display:flex;align-items:center;justify-content:flex-start;color:#b40101;margin:0;padding:7px 0;text-align:left;background:transparent}
.nd-homes-link{color:#1f2937;font-weight:500}.nd-card-links a:hover{text-decoration:underline;text-underline-offset:4px}
.nd-help{grid-column:1/-1;border:1px solid #dfe3e8;border-top:3px solid #b40101;border-radius:6px;background:#fafafa;padding:35px;display:flex;gap:38px;align-items:center;margin:9px 0}
.nd-help>div:first-child{flex:1}.nd-help h2{font-size:34px;max-width:650px;margin:0 0 14px}.nd-help p:not(.nd-eyebrow){font-size:15px;line-height:1.75;max-width:620px;margin:0;color:#4b5563}
.nd-help-action{width:305px;flex-shrink:0}.nd-help-action>span{display:block;text-align:center;font-size:12px;margin-top:12px;color:#59616d}
.nd-primary{border:1px solid #b40101;border-radius:5px;background:#b40101;color:#fff;min-height:48px;padding:14px 20px;font:600 14px/1.5 Gilroy,sans-serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:12px}.nd-primary:hover{background:#8f0000}.nd-help .nd-primary{width:100%}
.nd-empty{padding:28px 0 6px}.nd-empty h3{font-size:22px;margin-bottom:10px}.nd-empty p{font-size:15px;line-height:1.7;margin:0 0 12px}
.nd-resources{max-width:1240px;margin:auto;padding:55px 36px 70px}.nd-resources h2{font-size:38px;margin:0 0 30px}
.nd-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.nd-resource-grid>a{display:flex;flex-direction:column;color:#1f2937;border-top:1px solid #b40101;padding:25px 4px 0}
.nd-resource-label{font-size:10px;letter-spacing:1.2px;color:#6b7280;font-weight:600}.nd-resource-grid h3{font:400 26px/1.2 SourceSerif4,Georgia,serif;margin:13px 0}.nd-resource-grid p{font-size:15px;line-height:1.7;margin:0 0 14px;max-width:340px}.nd-resource-link{color:#b40101;font-size:14px;font-weight:600;margin-top:auto;padding:10px 0}.nd-resource-grid>a:hover .nd-resource-link{text-decoration:underline;text-underline-offset:4px}
.nd-dialog{position:fixed;inset:0;margin:auto;width:620px;max-width:calc(100vw - 30px);max-height:90dvh;padding:38px;border:1px solid #dfe3e8;border-radius:9px;overflow:auto;color:#1f2937;background:#fff}.nd-dialog::backdrop{background:#17212bcc}.nd-dialog h2{font-size:35px;padding-right:20px;margin:0 0 14px}.nd-dialog>p:not(.nd-eyebrow){font-size:14px;line-height:1.7;margin:0 0 20px}
.nd-close{position:absolute;right:13px;top:10px;background:white;border:0;color:#1f2937;width:44px;height:44px;font-size:30px;cursor:pointer}.nd-context{padding:12px 15px;background:#f6f7f8;border-left:2px solid #b40101}
.nd-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.nd-form-grid label{display:block;font-size:13px;font-weight:600}.nd-form-grid input,.nd-form-grid select,.nd-form-grid textarea{display:block;margin-top:7px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #c7cdd4;border-radius:4px;font:16px/1.4 Gilroy,sans-serif;color:#1f2937;background:#fff}.nd-form-grid textarea{resize:vertical}.nd-form-wide{grid-column:1/-1}.nd-form-grid label span{font-weight:400;color:#59616d}
.nd-preview-note{font-size:12px;color:#59616d;line-height:1.6;margin:20px 0 12px}.nd-dialog form>.nd-primary{width:100%}.nd-dialog #directory-help-confirmation p{font-size:15px;line-height:1.75;margin:14px 0 20px;white-space:pre-line}
[data-neighborhood-directory] :is(.nd-toolbar,.nd-card-links,.nd-help,.nd-resources,.nd-dialog) :is(a,button,input,select,textarea):focus-visible{outline:3px solid #324f6b;outline-offset:3px}
@media(max-width:1000px){[data-neighborhood-directory] .neighborhoods-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nd-toolbar-top{align-items:start;flex-direction:column;gap:20px}.nd-search{width:100%}.nd-help{display:block}.nd-help-action{margin-top:24px;width:100%;max-width:365px}.nd-help-action>span{text-align:left}.nd-resource-grid{gap:20px}}
@media(max-width:600px){[data-neighborhood-directory] .neighborhoods-list-section>.container{padding:0 22px}[data-neighborhood-directory] #communities{padding-top:32px;scroll-margin-top:95px}[data-neighborhood-directory] .text-with-bold{font-size:15px;margin-bottom:30px}.nd-toolbar h2,.nd-resources h2{font-size:32px}.nd-eyebrow{font-size:10px;letter-spacing:1.4px}.nd-regions{gap:8px}.nd-regions button{padding:10px 12px;font-size:12px}.nd-results{align-items:center;font-size:13px}.nd-results button{font-size:13px;white-space:nowrap}.nd-inventory-note{font-size:11px}[data-neighborhood-directory] .neighborhoods-grid{grid-template-columns:1fr;gap:22px}[data-neighborhood-directory] .neighborhood-card-index__body{padding:22px}.nd-help{padding:26px 22px}.nd-help h2{font-size:29px}.nd-help-action{max-width:none}.nd-resources{padding:38px 22px 50px}.nd-resource-grid{grid-template-columns:1fr;gap:28px}.nd-dialog{padding:34px 23px 25px}.nd-dialog h2{font-size:30px}.nd-form-grid{grid-template-columns:1fr}.nd-form-wide{grid-column:auto}}
