/* Area theme: Heat Network (MemberWeb:Theming:Themes in appsettings.json). Scoped to
   [data-mw-theme="heat-network"] — set on <body> for the area's own pages, and on any card
   whose linked item belongs to this area (see docs/memberweb Area Theme Setup guide). */
[data-mw-theme="heat-network"] {
  /* Page-head band background (ade-custom.css's own token, not core's --mw-color-primary-dark
     — ade's page-head reads --mw-color-pagehead-bg directly). */
  --mw-color-pagehead-bg: #B3D799;
  /* Breadcrumb colour override (client request, 2026-09-04) — reverses the earlier "stays
     sitewide everywhere" decision recorded in ade-custom.css's --mw-color-pagehead-breadcrumb
     comment; that decision covered the token default other areas still use, not this theme. */
  --mw-color-pagehead-breadcrumb: #24620F;
}

/* The sitewide default pattern is pagehead-pattern-mauve.svg (ade-custom.css's own
   .mw-pagehead:after rule) — this theme keeps its own pagehead-pattern-research.svg instead. */
[data-mw-theme="heat-network"] .mw-pagehead:after {
  background-image: url('/brand/pagehead-pattern-research.svg');
}

/* A card's plain category badge (the standard Content List card, or any list printing the item's
   first category as a bare .mw-badge) takes this area's colour, matching the card's own themed
   placeholder, instead of ADE wine on every card. Badges already coloured by ade's own rules
   (.mw-badge--fn-*, --type, --kind, …) are left alone. Same colours as .mw-badge--fn-heat-networks. */
.mw-card[data-mw-theme="heat-network"] .mw-card__media-badge:where(:not([class*="mw-badge--"])) {
  background: #B3D799;
  color: #1c3a12;
}
