/*
 * Runtime theme for this brand: CSS custom properties, authored as CSS.
 *
 * This file is the only source for the theme. When packing the archive the build raises the `:root`
 * selector below to `:root:root`, so these values outrank the framework defaults regardless of load
 * order, and it reads `--color-primary` out for the PWA/browser-chrome colour. Every property the
 * framework declares can be set here — the admin lists them under Branding → theme.
 */

:root:root {
  /* Was metadata.THEME_COLOR ($color-headings #004E80) — the browser-chrome / PWA colour is now */
  /* the `color-primary` token. */
  --color-primary: rgb(0, 78, 128);
  --color-primary-hover: rgb(120, 0, 0);
  --color-primary-active: rgb(17, 32, 51);
  --color-secondary: rgb(0, 78, 128);
  --color-donation-bar: var(--color-secondary);
  /* Article ribbon (post-type badge) → brand blue instead of the vanilla cyan; shadow = −20% L. */
  --color-ribbon-article: var(--color-secondary);
  --color-ribbon-article-shadow: rgb(0, 16, 26);
  /* $color-toast-green was $color-tertiary-light = headings +30% L. */
  --color-toast-green: rgb(26, 166, 255);
  --chat-message-bg-me: rgb(133, 140, 127);
  --chat-sidemenu-background-active: rgb(133, 140, 127);
  --chat-message-checkmark-seen: var(--color-primary);
  --chat-message-checkmark: rgb(255, 255, 255);
  --chat-room-color-counter-badge: rgb(255, 255, 255);
  --chat-room-background-counter-badge: var(--color-primary);
  /* Per stylesheet: H1 = Futura Bold, H2 = Riccionets-XLight, the rest Inter. Futura/Riccionets */
  /* are not free web fonts → fallback to Inter / system sans. Inter itself is loaded by the */
  /* @font-face blocks in assets/css/branding.css. */
  --font-family-heading:
    "Futura", "Inter", Helvetica, Arial, Lucida, sans-serif;
  --font-family-text: "Inter", Helvetica, Arial, Lucida, sans-serif;
  --color-footer-link: #004e80;
}
