.city-hub-layout { padding: 16px; }
.city-hub h1 { margin: 0 0 20px; }
.city-hub-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; align-items: start; }
.city-hub-sections section { padding: 16px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: #222; }
.city-hub-sections h2 { margin: 0; padding-bottom: 8px; border-bottom: 2px solid #a21d24; }
.city-hub-sections ul { padding: 0; margin: 0 0 12px; list-style: none; }
.city-hub-sections li { padding: 10px 0; border-bottom: 1px solid #e8e8e8; overflow-wrap: anywhere; }
.city-hub-sections small { display: block; margin-top: 4px; color: #555; }
.city-hub-ad { grid-column: 1 / -1; display: grid; justify-items: center; padding: 8px 0; }

/* Editorial rows use the original story photos and keep headline text selectable. */
.city-hub { max-width: 1200px; margin: auto; color: #19212c; }
.city-hub h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.035em; padding-bottom: 14px; border-bottom: 4px solid #a21d24; }
.city-hub-sections .city-hub-editorial { grid-column: 1 / -1; border: 0; border-radius: 0; padding: 0 0 18px; }
.city-hub-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; border-bottom: 1px solid #d8dce2; margin-bottom: 16px; }
.city-hub-section-heading a { font-weight: 700; }
.city-hub-stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.city-hub-story { min-width: 0; border-bottom: 1px solid #e2e5e9; padding-bottom: 12px; }
.city-hub-story--lead { grid-column: span 2; grid-row: span 2; }
.city-hub-story a { display: block; color: inherit; text-decoration: none; }
.city-hub-story a:hover h3, .city-hub-story a:focus-visible h3 { text-decoration: underline; }
.city-hub-story img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; }
.city-hub-story h3 { margin: 8px 0 5px; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.city-hub-story--lead h3 { font-size: clamp(1.35rem, 3vw, 2rem); }
.city-hub-story time { font-size: .8rem; color: #555; }
@media (max-width: 700px) {
  .city-hub-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .city-hub-story--lead { grid-row: auto; }
}

.city-hub-sections .city-hub-community {
    grid-column: 1 / -1;
    padding: 0 0 18px;
    border: 0;
    border-radius: 0;
}
.city-hub-community-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.city-hub-community-card {
    min-width: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e5e9;
    overflow-wrap: anywhere;
}
.city-hub-community-card a { display: block; color: inherit; text-decoration: none; }
.city-hub-community-card a:hover h3, .city-hub-community-card a:focus-visible h3 { text-decoration: underline; }
.city-hub-community-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; }
.city-hub-community-card h3 { margin: 8px 0 4px; font-size: 1rem; line-height: 1.3; }
.city-hub-portraits img { aspect-ratio: 1; object-position: center 25%; }
@media (max-width: 800px) {
    .city-hub-community-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
    .city-hub-community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
.city-hub-intro { max-width: 75ch; margin: 0 0 22px; line-height: 1.55; }
.city-hub-links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 0; margin-bottom: 24px; border-bottom: 1px solid #d8dce2; }
.city-hub-links a { color: inherit; font-weight: 700; }
.city-hub-excerpt { margin: 8px 0; font-size: 1rem; line-height: 1.55; color: #394451; }

/* Keep city context distinct from the headlines without making it compete with them. */
.city-hub .city-hub-intro {
    box-sizing: border-box;
    max-width: 78ch;
    margin: 0 0 20px;
    padding: 14px 18px;
    border-left: 3px solid #a21d24;
    border-radius: 0 6px 6px 0;
    background: #f4f6f8;
    color: #394451;
}

.city-hub-intro h2 {
    margin: 0 0 6px;
    color: #19212c;
    font-size: 1.125rem;
    line-height: 1.3;
}

.city-hub-intro p { margin: 0; }
.city-hub-intro p + p { margin-top: 8px; }
.city-hub-intro a { text-decoration: underline; text-underline-offset: 2px; }

.city-hub .city-hub-section-intro {
    max-width: 75ch;
    margin: -4px 0 14px;
    color: #526174;
    font-size: .9375rem;
    line-height: 1.5;
}

@media (max-width: 540px) {
    .city-hub .city-hub-intro { padding: 12px 14px; }
}
