/*
Theme Name: CozyBooks
Theme URI: https://thecozyreads.com
Author: Tes / CozyBooks
Description: A soft pastel editorial storybook theme for CozyBooks, built with a custom front-page.php template and template parts. Works with CozyBooks Books & Authors Library and CozyBooks Command Center.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: cozybooks
*/

:root {
  --bg: #faf7f4;
  --bg-soft: #f4efea;
  --bg-alt: #f2ebe7;
  --text: #3a2f2f;
  --text-soft: #5a4e4e;
  --heading: #2e2a27;
  --accent: #e8d7cf;
  --accent-dark: #d8c5bc;
  --accent-light: #f3e8e3;
  --rose: #bf6971;
  --rose-dark: #9e4d56;
  --blue: #657ca6;
  --blue-dark: #4f668e;
  --card-bg: #ffffff;
  --card-shadow: rgba(0,0,0,0.06);
  --border: #e5dcd5;
  --radius: 14px;
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 72px;
  --space-xxxl: 120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--heading);
  margin: 0 0 12px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-style: italic;
  color: var(--heading);
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--rose);
}

.site-footer {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  color: var(--text-soft);
  padding: 40px 20px;
}
