/*
Theme Name: Rooyesh Pilot
*/
:root {
  --bg: #f7f5f0;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #0b6e4f;
  --card: #ffffff;
  --max: 720px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Tahoma, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  font-size: 18px;
}
a { color: var(--accent); text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; display: block; }
.site-header, .site-footer, .site-main {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}
.brand { font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.nav a { margin-inline-start: 1rem; color: var(--muted); text-decoration: none; }
.hero-card, article.post {
  background: var(--card);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.post-title { margin-top: 0; font-size: clamp(1.4rem, 2vw, 2rem); }
.post-meta { color: var(--muted); font-size: .9rem; }
.featured {
  border-radius: 12px;
  overflow: hidden;
  margin: 1rem 0 1.25rem;
  aspect-ratio: 16/9;
  background: #ddd;
}
.featured img { width: 100%; height: 100%; object-fit: cover; }
.entry-content h2 { font-size: 1.25rem; margin-top: 1.75rem; }
.rooyesh-why {
  background: #e8f5ef;
  border-right: 4px solid var(--accent);
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.site-footer { padding: 2rem 0; color: var(--muted); font-size: .9rem; }
.grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
@media (max-width: 640px) {
  body { font-size: 16px; }
}
