/* =========================================================
   KEYS99 - CITY / LOCALITY HUB PAGES
   Layered on css/index.css (header, footer, cards, chips).
========================================================= */

.hub{
  padding:22px 0 90px;
}

.hub-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:var(--muted);
  margin-bottom:16px;
}

.hub-breadcrumb a{
  color:var(--green);
  font-weight:600;
}

.hub-breadcrumb [aria-current]{
  color:var(--ink);
  font-weight:600;
}

.hub-head{
  margin-bottom:26px;
}

.hub-head h1{
  margin:6px 0 10px;
  font-size:clamp(24px, 4vw, 34px);
  line-height:1.2;
  color:var(--ink);
}

.hub-intro{
  max-width:820px;
  margin:0 0 16px;
  font-size:14px;
  line-height:1.65;
  color:#3d5560;
}

.hub-facts{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
}

.hub-facts div{
  padding:9px 14px;
  border:1px solid #d3e0dc;
  border-radius:12px;
  background:#f6faf9;
}

.hub-facts dt{
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.4px;
  color:var(--muted);
}

.hub-facts dd{
  margin:2px 0 0;
  font-size:14px;
  font-weight:700;
  color:var(--green-dark);
}

.hub-section{
  margin-top:30px;
}

.hub-section .section-title{
  margin-bottom:14px;
}

/* Cards in a grid here (the homepage scrolls them sideways). */
.hub-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:16px;
}

.hub-grid .property-card{
  display:flex;
  flex-direction:column;
}

.hub-grid .property-body{
  flex:1;
  display:flex;
  flex-direction:column;
}

.hub-grid .property-body > *{
  align-self:flex-start;
  max-width:100%;
}

.hub-grid .property-body > .card-title-row,
.hub-grid .property-body > .card-bottom{
  align-self:stretch;
}

.hub-grid .card-bottom{
  margin-left:-13px;
  margin-right:-13px;
  margin-bottom:-13px;
  max-width:none;
}

.hub-localities{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* FAQ styles live in css/index.css (the homepage uses them too). */

@media (max-width:560px){
  .hub-grid{ grid-template-columns:1fr; }
}

/* index.css gives every <section> large homepage padding; hub
   sections space themselves with margin instead. */
.hub section.hub-section{
  padding:0;
}

/* Developer pages: description and website from the developer record. */
.hub-about{
  max-width:860px;
  margin:0 0 12px;
  font-size:13.5px;
  line-height:1.7;
  color:#3d5560;
  white-space:pre-line;
}

.hub-website{ margin:0 0 16px; font-size:13px; }
.hub-website a{ color:var(--green); font-weight:700; text-decoration:none; }
.hub-website a:hover{ text-decoration:underline; }
