/*
 * Theme base — design tokens for the Unpaqd Blog redesign.
 *
 * Every other stylesheet (header.css, footer.css, blogs.css,
 * blog_single.css, contact.css) reads colors and fonts from the
 * CSS custom properties defined here instead of hard-coding them,
 * so the palette/type system only needs to change in one place.
 *
 * This file intentionally does not touch layout/structure — only
 * color, type and global resets that are safe on every page.
 */

:root {
  --ink: #1E2422;
  --ink-soft: #4B5350;
  --paper: #F6F3EE;
  --paper-tint: #FBF9F5;
  --teal: #1C93A8;
  --teal-dark: #136F80;
  --orange: #C1591C;
  --orange-dark: #A6480F;
  --line: #E4DFD6;
  --highlight-bg: #FCEFE6;
  --radius: 10px;
  --maxw: 1245px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Source Serif 4', Georgia, serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
}

/*
 * Baseline image safety net. Without this, an image larger than its
 * container (e.g. a full-size upload used as a thumbnail) can force
 * its parent wider than intended and push the whole page into
 * horizontal scroll — which is exactly what showed up testing the
 * blog cards on Local. More specific rules (like the fixed-height
 * card thumbnails in blogs.css) still take priority over this.
 */
img {
  max-width: 100%;
  height: auto;
}
