/* Banner treatments reuse the job industry palette; layouts follow hub purpose. */
.resource-banner { min-height: 12rem; position: relative; overflow: hidden; }
.resource-banner-icon { position: absolute; right: 1.5rem; bottom: 1rem; font-size: 5rem; opacity: .17; }
.hub-card-banner { aspect-ratio: 1200 / 630; height: auto; width: 100%; object-fit: cover; }
.hub-hero-photo { min-height: 18rem; width: 100%; height: 100%; object-fit: cover; }
.hub-stage-list { max-height: 36rem; overflow-y: auto; }
.hub-stage-button { white-space: normal; }
.hub-stage-number { width: 2rem; height: 2rem; }
.hub-stage-button[aria-current="step"] { border-color: var(--color-burgundy) !important; background: var(--lac-surface); }
.hub-stage-button[aria-current="step"] .hub-stage-number { background: var(--color-burgundy) !important; color: white; }
.hub-progress { height: .4rem; }
.hub-source { font-size: .8rem; }
.hub-hero-copy, .resource-audience { color: var(--bs-body-color); }
.hub-task-button { min-height: 8rem; }
.hub-task-button[aria-pressed="true"] { outline: 2px solid var(--color-cerulean-blue); outline-offset: 2px; }
.hub-stage-content { scroll-margin-top: 2rem; }
.hub-senior h2 { line-height: 1.25; }
@media (min-width: 992px) { .hub-journey-sidebar { position: sticky; top: 1rem; } }

/* CATALOG CATEGORIES — One shared color per topic across tools, hubs and filter badges.
   Use data-catalog-category on a card or button; catalog-category styles its label band. */
[data-catalog-category="housing"] { --catalog-color: var(--color-navy); }
[data-catalog-category="business"] { --catalog-color: var(--color-plum); }
[data-catalog-category="health"] { --catalog-color: var(--color-green); }
[data-catalog-category="family"] { --catalog-color: var(--color-orange); }
.catalog-category { color: var(--catalog-color); background: color-mix(in srgb, var(--catalog-color) 10%, white); }
.card[data-catalog-category] { border-top: 4px solid var(--catalog-color) !important; }
[data-filter-choice][aria-pressed="true"] { color: white; background: var(--catalog-color, var(--bs-body-color)); border-color: var(--catalog-color, var(--bs-body-color)); }
[data-filter-choice][data-catalog-category] { color: var(--catalog-color); border-color: color-mix(in srgb, var(--catalog-color) 25%, white); }
[data-filter-choice][data-catalog-category][aria-pressed="true"] { color: white; }
