/*
Theme Name: My Starter Theme
Theme URI: http://localhost:8080
Author: Codex
Author URI: http://localhost:8080
Description: A minimal custom WordPress theme for local development.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: my-starter-theme
*/

:root {
  --site-bg: #f4f1ea;
  --surface: #fffdf9;
  --text: #1b1f23;
  --muted: #5c6770;
  --accent: #b85c38;
  --border: #ded6c8;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f4ed 0%, #efe8dd 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

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

.site-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  padding: 32px 0 20px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-description {
  margin: 0;
  color: var(--muted);
}

.main-nav {
  margin-top: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
}

.content-area {
  padding: 32px 0 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(27, 31, 35, 0.06);
}

.post-list {
  display: grid;
  gap: 24px;
}

.entry-title,
.page-title {
  margin-top: 0;
  line-height: 1.15;
}

.entry-meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 24px 0 48px;
  color: var(--muted);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .card {
    padding: 22px;
  }
}
