/* Home uses the same shell and colours as Weather; card geometry stays town controlled. */
.home-dashboard .ip-main{max-width:none!important;box-sizing:border-box}
.home-dashboard .home-layout-grid{width:100%;max-width:none;gap:14px}
.home-dashboard .section-title{border-bottom:1px solid #00659a;padding-bottom:10px}
.home-dashboard .section-title span,.home-dashboard .right-now-title,.home-dashboard h2,.home-dashboard h3,.home-dashboard strong{color:#e6f3ff}
.home-dashboard .section-title small,.home-dashboard small,.home-dashboard .source-note,.home-dashboard .source-state,.home-dashboard .empty-inline{color:#a0cfee}
.home-dashboard a.more-link,.home-dashboard .news-list a,.home-dashboard .story-title{color:#25c9ff}
.home-dashboard .status-strip{background:transparent!important;border:0!important;gap:10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:0 0 14px}
.home-dashboard .status-item{background:linear-gradient(125deg,#00223e,#001228);border:1px solid #008ed8;border-radius:12px;padding:14px;color:#e6f3ff;min-width:0}
.home-dashboard .status-item>span:first-of-type{color:#a0cfee}
.home-dashboard .status-item svg{color:#25c9ff}
.home-dashboard .status-item:hover{border-color:#79e3ff;box-shadow:0 0 14px #008aff40}
.home-dashboard :is(.story-card,.social-item,.ticker-item,.stack-item,.compact-module-item,.fact-card,.ad-slot,.emergency-panel){background:linear-gradient(125deg,#00223e,#001228);border-color:#006ea6;color:#e6f3ff}
.home-dashboard :is(.story-card p,.story-card small,.metric-list,.weather-detail,.stack-list,.compact-module-list,.news-list){color:#a0cfee}
.home-dashboard :is(.tab-btn,.card-page-btn){background:#001b32;color:#e6f3ff;border-color:#007fc1}
.home-dashboard .tab-btn.active{background:linear-gradient(135deg,#00bfff,#0077ff);color:white}
.home-dashboard .ip-footer{grid-column:1/-1}
@media(max-width:1050px){.home-dashboard .status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.home-dashboard .home-layout-grid{gap:10px}.home-dashboard .status-item{padding:10px}.home-dashboard .ip-hero h1{font-size:28px}.home-dashboard .section-title{gap:8px}.home-dashboard .section-title span{font-size:12px}}
.home-dashboard .status-item{display:flex;flex-direction:column;gap:6px;min-height:116px}
.home-dashboard .status-item>svg{width:22px;height:22px}
.home-dashboard .status-item>span{font-size:11px}
.home-dashboard .status-item>strong{font-size:18px;line-height:1.2}
.home-dashboard .status-item>small{font-size:11px;line-height:1.4}
.home-dashboard .status-item .status-more{position:static;align-self:flex-end;margin-top:auto;font-size:10px}
.home-dashboard .section-title span{font-size:13px}.home-dashboard .section-title small{font-size:11px}
.home-dashboard .empty-state strong{font-size:13px}.home-dashboard .empty-state span{font-size:11px}
.home-dashboard .story-card h3,.home-dashboard .news-row strong,.home-dashboard .stack-item strong{font-size:13px}
.home-dashboard .story-card p,.home-dashboard .stack-item small,.home-dashboard .news-row small{font-size:11px}

.home-dashboard .status-strip{display:none!important}

.home-layout-card.is-card-fit{overflow:hidden!important;min-width:0}.home-layout-card.is-card-fit .news-row,.home-layout-card.is-card-fit .news-row-copy,.home-layout-card.is-card-fit .news-row-copy strong{min-width:0;overflow:hidden;overflow-wrap:anywhere}.home-layout-card.is-card-fit .news-row-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}

/* Card fit shares the real content width; it never scales the whole card. */
.home-layout-card.is-card-fit{min-width:0}.home-layout-card.is-card-fit [data-rate-kind]{min-width:0}.home-layout-card.is-card-fit .card-page-shell{width:100%;min-width:0}.home-layout-card.is-card-fit :is(.culture-card,.compact-module-list,.stack-list,.news-list){min-width:0;max-width:100%}.home-layout-card.is-card-fit :is(.culture-copy,.experience-copy,.news-row-copy,.bio-card-body){min-width:0;overflow:hidden}.home-layout-card.is-card-fit :is(.culture-copy p,.experience-copy p,.bio-card-body p){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.home-layout-card.is-card-fit :is(.culture-cover,.experience-thumb,.bio-photo){min-height:0}.home-layout-card.is-card-fit .culture-card[data-tile-direction=horizontal] .culture-tile{min-width:0}
#municipalitySummary .stack-item.with-brand-logo{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px}#municipalitySummary .module-brand-logo{display:block!important;visibility:visible!important;width:38px!important;height:38px!important;min-width:38px;flex:0 0 38px!important;object-fit:contain;background:#fff;border-radius:5px}#municipalitySummary .with-brand-logo>span{flex:1;min-width:0}

/* The dashboard and its admin editor use the same 54px rows and 10px gutters. */
.home-dashboard .home-layout-grid{gap:10px}

/* Neighbourhood watch cards have no commercial price. */
.home-dashboard #homeLayoutGrid [data-home-card="neighbourhood-watch"] .topic-value{display:none!important}
