/* ── Gruvbox Light Theme ─────────────────────────────────────── */
:root {
  --bg:       #fbf1c7;
  --bg1:      #ebdbb2;
  --bg2:      #d5c4a1;
  --fg:       #3c3836;
  --fg2:      #7c6f64;
  --red:      #9d0006;
  --yellow:   #b57614;
  --aqua:     #427b58;
  --orange:   #af3a03;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--bg); }

body {
  font-family: 'Cardo', Georgia, serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* ── Layout Column ─────────────────────────────────────── */
.column {
  width: 40%;
  padding: 5vh 0;
}

@media (max-width: 768px) {
  .column {
    width: 100%;
    padding: 5vh 1.5rem;
  }
}

/* ── Navigation ────────────────────────────────────────── */
nav {
  display: flex;
  gap: 2rem;
  margin-bottom: 0;
  justify-content: center;
}

nav a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--fg2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

nav a:hover {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

/* ── Headers ──────────────────────────────────────────── */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  color: var(--fg2);
  text-align: center;
}

h1 a {
  color: var(--fg2);
  text-decoration: none;
}

h1 a:hover {
  color: var(--fg2);
  text-decoration: none;
}

h1 a:visited {
  color: var(--fg2);
  text-decoration: none;
}

h3 {
  font-size: 1.6rem;
  color: var(--fg2);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  text-align: left;
}

/* ── Placeholder Images ─────────────────────────────────── */
.placeholder {
  width: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg2);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.placeholder--logo {
  height: auto;
  aspect-ratio: unset;
  margin-bottom: 2rem;
  overflow: visible;
}

.placeholder--logo img {
  width: 100px;
  height: auto;
  display: block;
}

.placeholder--body {
  height: auto;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.placeholder--body img {
  height: 180px;
  width: auto;
}

/* ── Body Text ─────────────────────────────────────────── */
.body-text p, .post-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg2);
  margin-bottom: 1.4em;
}

.body-text p:last-child, .post-body p:last-child { margin-bottom: 0; }
.body-text p:first-child { margin-top: 2rem; }

/* ── Links ────────────────────────────────────────────── */
.body-text a:link, .post-body a:link {
  color: var(--red);
}

.body-text a:visited, .post-body a:visited {
  color: var(--fg2);
}

.body-text a:hover, .post-body a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* ── Post-list Elements ─────────────────────────────────── */

.post-card {
  padding: 1.2rem 0;
}

.post-card:first-child {
  padding-top: 3.5em;
}

.post-card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg2);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.15s;
}

.post-card-title:hover { color: var(--red); }

.post-card-snippet-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 1.05rem;
  background-color: var(--bg1);
  margin: 10px 10px;
  padding: 0.5em 0.8em 0.6em;
}

.post-card-snippet {
  font-size: 0.8rem;
  font-style: regular;
  text-align: justify;
  line-height: 1.6;
  color: var(--fg2);
}

.post-date-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--fg2);
  font-style: italic;
}

/* ── Post Specific Elements ─────────────────────────────── */
.post-date {
  font-style: italic;
  color: var(--fg2);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.post-tag {
  font-style: regular;
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.section-break {
  text-align: center;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--bg2);
  border: none;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.back {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.back:hover {
  color: var(--fg);
  border-bottom-color: var(--red);
}

.post-body em  { font-style: italic; }
.post-body strong { font-weight: 700; }