:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --light: #f8f6f3;
  --gray: #666;
  --border: #e2ddd8;
  --red: #c0001a;
  --red-dark: #8c0013;
  --red-light: #fdf2f4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--black);
  background: var(--white);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ─────────────────────────────── */
.site-header {
  background: var(--white);
  border-top: 5px solid var(--red);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.site-branding { flex-shrink: 0; }

.site-title {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.site-title:hover { color: var(--red); }

.chi-rho {
  color: var(--red);
  margin-right: 0.2em;
  font-size: 1.1em;
}

.site-subtitle {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 0.1rem;
}

/* ── Navigation ─────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--black);
  font-size: 1.2rem;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  border-radius: 2px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--red);
  background: var(--red-light);
}

/* ── Hero ───────────────────────────────── */
.hero {
  background: var(--light);
  border-bottom: 3px solid var(--red);
  text-align: center;
  padding: 4.5rem 1.5rem 4rem;
}

.hero-cross {
  display: block;
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 1rem;
  line-height: 1;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.05rem;
  color: var(--gray);
  font-style: italic;
}

/* ── Posts Section (Homepage) ───────────── */
.posts-section {
  padding: 3.5rem 0 5rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

.post-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  padding: 1.5rem;
  transition: border-top-color 0.2s;
}

.post-card:hover { border-top-color: var(--red); }

.post-card-date {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.post-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.post-card h3 a {
  color: var(--black);
  text-decoration: none;
}

.post-card h3 a:hover { color: var(--red); }

.post-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}

.read-more:hover { text-decoration: underline; }

/* ── Page Header ────────────────────────── */
.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.25;
}

.page-intro {
  margin-top: 0.75rem;
  color: var(--gray);
  font-style: italic;
}

/* ── Post List ──────────────────────────── */
.post-list { padding-bottom: 5rem; }

.post-list-item {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.post-list-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0.25rem;
}

.post-list-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.post-list-title a {
  color: var(--black);
  text-decoration: none;
}

.post-list-title a:hover { color: var(--red); }

.post-list-summary {
  font-size: 0.93rem;
  color: var(--gray);
}

/* ── Single Post ────────────────────────── */
.post-header {
  padding: 3rem 0 2rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
}

.post-meta {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.post-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.post-subtitle {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: var(--gray);
  font-style: italic;
}

.post-content {
  max-width: 680px;
  padding-bottom: 5rem;
}

.post-content p { margin-bottom: 1.5rem; }

.post-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  margin: 2.5rem 0 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--red);
}

.post-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  background: var(--red-light);
  border-left: 4px solid var(--red);
  font-style: italic;
  color: #555;
}

.post-content blockquote p { margin-bottom: 0; }

.post-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content a:hover { color: var(--red-dark); }

.post-footer {
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--border);
}

.back-link {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover { color: var(--red); }

/* ── Static Pages ───────────────────────── */
.page-content {
  max-width: 680px;
  padding-bottom: 5rem;
}

.page-content p { margin-bottom: 1.25rem; }

.page-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ─────────────────────────────── */
.site-footer {
  background: var(--light);
  color: var(--gray);
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--red);
  font-size: 0.88rem;
}

.footer-cross {
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.footer-nav { margin-top: 0.6rem; }

.footer-nav a {
  color: var(--gray);
  text-decoration: none;
  margin: 0 0.75rem;
  font-size: 0.82rem;
}

.footer-nav a:hover { color: var(--red); }

/* ── Responsive ─────────────────────────── */
@media (max-width: 640px) {
  .site-header .container { flex-wrap: wrap; }

  .nav-toggle { display: block; }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
    gap: 0;
  }

  .nav-list.open { display: flex; }

  .nav-list a { padding: 0.5rem 0; }

  .post-list-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .posts-grid { grid-template-columns: 1fr; }
}
