/* Generated at build time from config/site.yml (`colors:` and `fonts:`)
   -- edit the config and rebuild, don't edit this file by hand. */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Ubuntu-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Ubuntu-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/Ubuntu-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Ubuntu";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/Ubuntu-LightItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Ubuntu";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Ubuntu-Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Ubuntu-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Ubuntu";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Ubuntu-MediumItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Ubuntu";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Ubuntu-BoldItalic.ttf") format("truetype");
}

:root {
  --banner-title-font: Ubuntu, "DejaVu Sans", sans-serif;
  --banner-claim-font: Ubuntu, "DejaVu Sans", sans-serif;
  --banner-title-size: clamp(2rem, 4vw, 3.25rem);
  --banner-claim-size: clamp(1rem, 1.8vw, 1.25rem);
}

:root,
:root[data-theme="light"] {
  --bg: #FAFAF7;
  --card-bg: #ffffff;
  --footer-bg: #E8EDE5;
  --text: #252923;
  --meta-text: #62685E;
  --accent: #356344;
  --nav-bg: #E8EDE5;
  --nav-text: #252923;
  --border: #C5CEC1;
  --nav-border: #62685E;
  --pill-bg: #DFE9DA;
  --search-bg: #ffffff;
  --hover-invert: #62685E;
  --badge-hover-text: #ffffff;
  --banner-title-color: #E8EDE5;
  --banner-claim-color: #E8EDE5;
}

/* WARNING: the dark values appear twice below and must stay identical.
   CSS can't share a declaration block across an @media boundary, so
   "follow the system" and "explicitly switched" can't be written
   together. (A single declaration would be possible via light-dark(),
   but that needs Safari 17.5+ / Chrome 123+, and colors would fall
   apart completely in older browsers.) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #181D19;
    --card-bg: #252E27;
    --footer-bg: #181D19;
    --text: #E5EAE2;
    --meta-text: #A8B5A6;
    --accent: #91D5A5;
    --nav-bg: #252E27;
    --nav-text: #E5EAE2;
    --border: #465449;
    --nav-border: #A8B5A6;
    --pill-bg: #304536;
    --search-bg: #eeeeee;
    --hover-invert: #ffffff;
    --badge-hover-text: var(--accent);
    --banner-title-color: #ffffff;
    --banner-claim-color: #ffffff;
  }
}

:root[data-theme="dark"] {
  --bg: #181D19;
  --card-bg: #252E27;
  --footer-bg: #181D19;
  --text: #E5EAE2;
  --meta-text: #A8B5A6;
  --accent: #91D5A5;
  --nav-bg: #252E27;
  --nav-text: #E5EAE2;
  --border: #465449;
  --nav-border: #A8B5A6;
  --pill-bg: #304536;
  --search-bg: #eeeeee;
  --hover-invert: #ffffff;
  --badge-hover-text: var(--accent);
  --banner-title-color: #ffffff;
  --banner-claim-color: #ffffff;
}
