:root {
  --fg: #1a1611;
  --muted: #78716c;
  --subtle: #f5f2ec;
  --border: #d6cec1;
  --accent: #a3441c;
  --bg: #fbf8f1;
  --serif-display: 'Playfair Display', 'Didot', 'Bodoni Moda', 'Bodoni MT', Georgia, serif;
  --serif-body: 'Lora', 'Charter', 'Palatino', Georgia, serif;
}
* { box-sizing: border-box; }
body {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 700px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }

header {
  text-align: center;
  padding-bottom: 2.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 3px double var(--border);
  position: relative;
}
header::after {
  content: '❦';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 0.75rem;
  color: var(--accent);
  font-size: 1.1rem;
}
header h1 { margin: 0; font-family: var(--serif-display); font-size: 2.6rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.15; }
header h1 a { color: inherit; text-decoration: none; }
header p { color: var(--muted); font-style: italic; margin: 0.5rem 0 1.25rem; font-size: 1.1rem; }
nav a { color: var(--accent); text-decoration: none; margin: 0 1rem; font-variant: small-caps; letter-spacing: 0.05em; font-size: 0.95rem; }
nav a:hover { text-decoration: underline; }

article h1 { font-family: var(--serif-display); font-size: 2.6rem; margin: 0 0 1.5rem; line-height: 1.15; letter-spacing: 0.005em; text-align: center; }
article h2 { font-family: var(--serif-display); font-size: 1.5rem; margin: 2.5rem 0 0.75rem; color: var(--accent); border-bottom: 1px solid var(--border); padding-bottom: 0.35rem; }
article h3 { font-family: var(--serif-display); font-size: 1.2rem; margin: 2rem 0 0.5rem; }
article p { margin: 0 0 1.2rem; text-align: justify; hyphens: auto; }
article > p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.85;
  padding: 0.15em 0.1em 0 0;
  color: var(--accent);
  font-weight: 700;
}
article ul, article ol { padding-left: 1.75rem; margin: 0 0 1.2rem; }
article li { margin-bottom: 0.4rem; }
article a { color: var(--accent); }

ul.articles { list-style: none; padding: 0; margin: 0; }
ul.articles li {
  padding: 1.5rem 0;
  border-bottom: 1px dashed var(--border);
  text-align: center;
}
ul.articles li:last-child { border-bottom: none; }
ul.articles a {
  color: var(--fg);
  text-decoration: none;
  font-family: var(--serif-display);
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 700;
}
ul.articles a:hover { color: var(--accent); font-style: italic; }

.section-title {
  font-family: var(--serif-display);
  font-size: 1rem;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-align: center;
  margin: 2.5rem 0 0.5rem;
  position: relative;
}
.section-title::before, .section-title::after {
  content: '· · ·';
  color: var(--border);
  margin: 0 0.75rem;
}
.featured-section:first-child .section-title { margin-top: 0; }
ul.articles.featured li { padding: 2rem 0; }
ul.articles.featured a { font-size: 1.65rem; line-height: 1.3; }
.pagination { display: flex; gap: 0.35rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; font-family: var(--serif-display); }
.pagination .pg { padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: 2px; color: var(--fg); text-decoration: none; font-size: 0.95rem; }
.pagination .pg:hover { background: var(--subtle); color: var(--accent); }
.pagination .pg.current { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.pagination .pg.dots { border: none; padding: 0.4rem 0.2rem; color: var(--muted); }

aside.related {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--subtle);
  border-radius: 2px;
  border-left: 4px solid var(--accent);
}
aside.related h3 { margin: 0 0 0.75rem; font-family: var(--serif-display); font-size: 1rem; font-variant: small-caps; letter-spacing: 0.08em; color: var(--accent); }
aside.related ul { list-style: none; padding: 0; margin: 0; }
aside.related li { padding: 0.35rem 0; }
aside.related a { color: var(--accent); text-decoration: none; font-style: italic; }
aside.related a:hover { text-decoration: underline; }

footer {
  text-align: center;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 3px double var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  font-variant: small-caps;
  letter-spacing: 0.05em;
}
