/*
Theme Name: Press Rogers Base
Theme URI: https://goldfish.digitalwebservices.xyz
Author: Press Rogers
Description: Minimal base theme for ongoing iteration.
Version: 0.1.0
Text Domain: press-rogers-base
*/

:root {
  --bg: #f7f1e8;
  --bg-glow: #f1e7d7;
  --ink: #1c1a17;
  --ink-muted: #4a463f;
  --accent: #c24a34;
  --accent-soft: #e7b298;
  --accent-2: #1f5f66;
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.72);
  --border: rgba(28, 26, 23, 0.12);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -20%, #f8e2d6 0%, rgba(248, 226, 214, 0) 70%),
    radial-gradient(900px 500px at 10% 20%, #d9ecef 0%, rgba(217, 236, 239, 0) 68%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-glow) 50%, #eef2f3 100%);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

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

.site-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  padding: 36px 0 18px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.site-nav .menu {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

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

.site-main {
  padding: 24px 0 64px;
  animation: fadeUp 0.6s ease-out;
}

.hero {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 12px 40px rgba(28, 26, 23, 0.08);
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--accent-2);
  margin: 0 0 12px;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 1.6rem + 2vw, 3.4rem);
  margin: 0 0 12px;
}

.hero p {
  color: var(--ink-muted);
  max-width: 720px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(28, 26, 23, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-title {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.35rem;
}

.post-title a {
  color: var(--ink);
}

.post-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.post-link {
  margin-top: auto;
  font-weight: 600;
}

.page-title,
.entry-title {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-top: 0;
}

.page-body,
.entry-content {
  color: var(--ink-muted);
  line-height: 1.7;
}

.entry-content p {
  margin-top: 0;
}

.empty-state {
  background: var(--surface-muted);
  border-radius: 18px;
  padding: 28px;
  border: 1px dashed var(--border);
}

.wp-block-button__link,
button,
.button,
input[type="submit"] {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover,
button:hover,
.button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(194, 74, 52, 0.2);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 48px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink);
  background: var(--surface);
}

.page-numbers.current {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 0 18px;
  }

  .site-nav .menu {
    gap: 12px;
  }

  .hero {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-main {
    animation: none;
  }
}
