/* Default.aspx: use the same p-block card appearance as CountyFinances.aspx.
   Keep the home-page grid and equal-height card contents. */
.home-page .home-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.home-page .home-quick-grid::before, .home-page .home-quick-grid::after { content: none; }
.home-page .home-quick-grid > div { display: flex; float: none; min-width: 0; width: auto; margin: 0; padding: 0; }
.home-page .home-quick-grid .p-block { display: flex; flex-direction: column; align-items: center; width: 100%; height: auto; margin: 0; }
.home-page .home-section .home-quick-grid a.p-block:hover, .home-page .home-section .home-quick-grid a.p-block:focus { text-decoration: none !important; }
.home-page .home-quick-grid .p-more { margin-top: auto; max-width: 100%; white-space: normal; }
.home-page .site-alerts { margin-bottom: 28px; }
.home-page .site-alerts .alert-banner { border: 1px solid var(--gold); border-left-width: 5px; background: var(--sand); }
.home-page .site-alerts .premiere-banner-badge { color: var(--sand); }
.home-page .meeting-card-footer { margin-top: auto; }
.home-page .home-meetings .news-card-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.home-page .home-meetings .news-card-date { margin-right: 0; }
.home-page .home-meetings .meeting-type-badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 10px; background: var(--green-dark); color: var(--sand); font-size: 12px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.home-page .home-meetings .meeting-type-badge .glyphicon { flex-shrink: 0; top: 0; }
.home-page .home-meetings .meeting-location { display: flex; align-items: baseline; gap: 6px; max-width: 100%; overflow-wrap: anywhere; }
.home-page .home-meetings .meeting-location .glyphicon { flex-shrink: 0; }
.home-page .home-feed-links { padding: 0 0 28px; }
.home-page .dept-contact-grid { display: block; padding: 0; margin: 0 !important; }
.home-page .cdept-contact-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-page .cdept-contact-card > div { float: none; width: auto; min-width: 0; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.home-page .cdept-contact-card h3 { margin: 0 0 16px; color: var(--green-dark); font-family: 'Playfair Display', Georgia, serif; font-size: 25px; }
.home-page .cdept-contact-card .nav > li > a { padding: 10px 0; border-radius: 0; font-size: 14px; line-height: 1.6; }
.home-page .cdept-contact-card .nav > li + li { border-top: 1px solid var(--gray-light); margin-top: 0; }
.home-page .cdept-contact-card .nav > li > a:hover, .home-page .cdept-contact-card .nav > li > a:focus { background: var(--sand); }
@media (max-width: 1100px) {
    .home-page .home-quick-grid, .home-page .cdept-contact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .home-page .home-quick-grid, .home-page .cdept-contact-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
