/* Compact shared search, with totals delivered in the initial HTML. */
[hidden]{display:none!important}
/* Override the older heading rules even when a page builder reorders sheets. */
#database .unified-heading,.hero.unified-cards .unified-heading{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;padding:16px 22px;gap:22px}
#database .unified-heading>div:first-child,.hero.unified-cards .unified-heading>div:first-child{container-type:inline-size;min-width:0}
#database .unified-heading h1,.hero.unified-cards .unified-heading h1{font-size:clamp(1rem,3vw,3rem);font-size:min(3rem,7cqi);white-space:nowrap;overflow-wrap:normal;word-break:normal;max-width:none;letter-spacing:-.025em;line-height:1.12;margin:0 0 8px}
#database .unified-heading p,.hero.unified-cards .unified-heading p{font-size:1rem;line-height:1.5;margin:0}
#database .unified-heading .db-overview,.hero.unified-cards .unified-heading .db-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;background:none;border:0;box-shadow:none}
#database .unified-heading .db-overview>div,.hero.unified-cards .unified-heading .db-overview>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:transparent;padding:8px 12px;border:0;border-left:1px solid #c8c7b6}
#database .unified-heading .db-overview strong,.hero.unified-cards .unified-heading .db-overview strong{font-family:Arial,sans-serif;font-size:clamp(1.65rem,2.5vw,2.5rem);line-height:1.15;font-weight:700}
#database .unified-heading .db-overview span,.hero.unified-cards .unified-heading .db-overview span{font-size:.85rem;line-height:1.35}
#database .compact-display,.unified-cards .compact-display{display:flex;justify-content:flex-end;align-items:center;gap:6px;border:0;background:none;box-shadow:none;margin:4px 0 8px;padding:0;font-size:.875rem;width:auto;border-radius:0}
.directory-browse{margin:20px 0;padding:12px 16px;border:1px solid #d9d7ca;border-radius:12px;background:#f8f5ec;font-size:1rem}
.directory-browse summary{cursor:pointer;font-weight:600;min-height:32px;align-content:center;color:#34564b}
.directory-browse ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px 16px;padding:0;list-style:none}
.directory-browse a{display:inline-block;padding:6px 0;color:#8e294c;text-decoration:underline;text-underline-offset:3px}
a.db-record-name,a.card-title{display:inline-block;text-decoration:none;cursor:pointer}
a.db-record-name:hover,a.card-title:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1050px){#database .unified-heading,.hero.unified-cards .unified-heading{grid-template-columns:1fr;gap:12px}#database .unified-heading .db-overview>div:first-child,.hero.unified-cards .unified-heading .db-overview>div:first-child{border-left:0;padding-left:0}}
@media(max-width:600px){#database .unified-heading,.hero.unified-cards .unified-heading{padding:14px;gap:10px}#database .unified-heading .db-overview strong,.hero.unified-cards .unified-heading .db-overview strong{font-size:1.65rem}#database .unified-heading .db-overview span,.hero.unified-cards .unified-heading .db-overview span{font-size:.75rem}#database .compact-display,.unified-cards .compact-display{justify-content:flex-start}}
.db-page .unified-heading,.hero.unified-cards .unified-heading{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:24px;padding:18px 22px;margin-bottom:0}
.db-page .unified-heading::after,.hero.unified-cards::after{content:none!important}
.unified-heading h1{font-size:clamp(1.9rem,3.2vw,3rem);line-height:1.1;margin:0 0 8px}
.unified-heading p{font-size:1rem;margin:0;line-height:1.5}
.db-page .unified-heading .db-overview,.hero .unified-heading .db-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:0;background:none;box-shadow:none;margin:0;padding:0;overflow:visible}
.unified-heading .db-overview>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 14px;min-width:0;background:transparent;border:0;border-left:1px solid #c8c7b6}
.unified-heading .db-overview strong{font-family:Arial,sans-serif;font-size:clamp(1.65rem,2.5vw,2.5rem);font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums}
.unified-heading .db-overview span{font-size:.85rem;line-height:1.35}
.compact-display{display:flex;justify-content:flex-end;align-items:center;gap:6px;border:0;background:none;box-shadow:none;margin:6px 0 10px;padding:0;font-size:.875rem;width:auto}
.compact-display a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 10px;border-radius:5px;background:transparent;color:#8e294c;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.compact-display a[aria-current="page"]{background:#8e294c;color:#fff;text-decoration:none}
.search-feet{width:150px;height:auto;max-width:35%;object-fit:contain;flex-shrink:0}
.directory-search-prompt{display:flex;align-items:center;justify-content:center;gap:20px;padding:18px}
.hero.unified-cards{display:block;padding-top:14px;padding-bottom:0;min-height:0}
.unified-cards .unified-heading{border:1px solid #e2d0c0;border-radius:20px;background:linear-gradient(110deg,#fae9e4,#f6f4df,#e8f1e7)}
.unified-cards .hero-city-search{margin-top:0}
.unified-cards .nearby-panel{padding:14px 18px}
.unified-cards .nearby-heading h2{font-size:1.75rem}
.unified-cards .nearby-heading .eyebrow,.unified-cards .nearby-intro{display:none}
.unified-cards .nearby-controls input,.unified-cards .nearby-controls select{min-height:44px}
.unified-cards .nearby-note{font-size:.8rem;line-height:1.5}
@media(max-width:1000px){
 .db-page .unified-heading,.hero.unified-cards .unified-heading{grid-template-columns:1fr;gap:14px}
 .unified-heading .db-overview>div:first-child{border-left:0;padding-left:0}
}
@media(max-width:600px){
 .db-page .unified-heading,.hero.unified-cards .unified-heading{padding:14px;gap:12px}
 .unified-heading h1{font-size:1.9rem}
 .unified-heading .db-overview>div{padding:5px 8px}
 .unified-heading .db-overview strong{font-size:1.7rem}
 .unified-heading .db-overview span{font-size:.75rem}
 .compact-display{justify-content:flex-start}
 .directory-search-prompt{flex-direction:column;gap:8px;text-align:center}
 .search-feet{max-width:100%;width:140px}
}
