/* ===== THE EDITORIAL MANUSCRIPT (LEFT-ALIGNED) ===== */

:root {
  --bg: #fdfaf6;       /* Warm Paper */
  --text: #2c2c2c;     /* Soft Charcoal */
  --accent: #8b0000;   /* Dark Crimson */
  --subtle: #6e6e6e;   /* Grey for dates and metadata */
  --border: #d2c8bc;   /* Tan/Earth tone borders */
  --width: 650px;      /* Optimal measure for reading serif text */
}

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Charter", "Bitstream Charter", "Sitka Text", "Cambria", serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Centering Container */
.container {
  max-width: var(--width);
  margin: 0 auto;
  padding: 60px 20px;
}

/* Typography Hierarchy */
h1, h2, h3 {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

header h1 {
  font-size: 3rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.site-description {
  font-size: 1.1rem;
  color: var(--subtle);
  font-style: italic;
  margin-bottom: 3rem;
}

/* Year Divider - Left Aligned with Section Symbol */
.year-divider {
  list-style: none;
  text-align: left;
  font-size: 1.8rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin: 60px 0 20px 0 !important;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.year-divider::before {
  content: "§ "; /* The Section Symbol */
  color: var(--accent);
  font-weight: 400;
  margin-right: 8px;
}

/* Post List on Index Page */
.post-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.post-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px dotted var(--border);
}

.post-list li:last-child {
  border-bottom: none;
}

.post-list li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.15rem;
  transition: color 0.2s ease;
}

.post-list li a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.date {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.85rem;
  color: var(--subtle);
  letter-spacing: 0.5px;
}

/* Individual Post Content (Article) */
article {
  margin-bottom: 4rem;
}

.post-nav {
  margin-bottom: 50px;
}

.post-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--subtle);
  text-decoration: none;
}

.post-header {
  margin-bottom: 3rem;
  border-bottom: 1px double var(--border);
  padding-bottom: 2rem;
}

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

.post-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding-left: 25px;
  font-style: italic;
  color: var(--subtle);
  font-size: 1.2rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 2.5rem 0;
  border-radius: 2px;
  filter: sepia(10%); /* Subtle vintage warm filter */
}

/* Professional Multi-Column Footer */
footer {
  margin-top: 100px;
  padding: 60px 0;
  border-top: 1px double var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-style: normal;
  color: var(--subtle);
}

.footer-section p, 
.footer-section li {
  font-size: 0.9rem;
  color: var(--subtle);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-links {
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--subtle);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .post-list li {
    flex-direction: column;
    gap: 5px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
