/*
Theme Name: Easy Recipes
Theme URI: https://example.invalid/easy-recipes
Author: Recipe Press
Description: A minimal recipe blog theme for simple food sites.
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 8.0
License: MIT
Text Domain: easy-recipes
*/

:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f8fb;
  color: #141821;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #0b1020;
    color: #f6f8fb;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--color);
}

a { color: inherit; }

.recipe-site {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
}

.recipe-header {
  margin-bottom: 40px;
}

.recipe-header h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.03em;
}

.recipe-header p {
  margin: 12px 0 0;
  color: #657089;
  font-size: 17px;
}

.recipe-post {
  padding: 22px 0;
  border-top: 1px solid rgba(20, 24, 33, 0.1);
}

.recipe-post h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.recipe-post h2 a { text-decoration: none; }

.recipe-post time {
  display: block;
  margin-top: 8px;
  color: #657089;
  font-size: 13px;
}

.recipe-post p {
  margin: 12px 0 0;
  line-height: 1.65;
}

.recipe-post .more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 650;
  text-decoration: none;
}

.recipe-empty {
  padding: 24px;
  border: 1px dashed rgba(20, 24, 33, 0.2);
  border-radius: 10px;
}

.recipe-single .entry-content {
  line-height: 1.7;
}

.recipe-single .entry-content p { margin: 0 0 18px; }

.recipe-back {
  display: inline-block;
  margin-top: 28px;
  font-weight: 650;
  text-decoration: none;
}
