/* Shared article template styles */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  background-color:#fafaf8;
  font-family:'Inter',sans-serif;
  color:#1a1a18;
  line-height:1.8;
  font-size:18px;
  padding-top:64px;
}

.container {
  max-width:800px;
  margin:0 auto;
  padding:60px 24px;
}

/* ── Header ── */
.article-header {
  margin-bottom:0;
}

.article-header h1 {
  font-family:'DM Serif Display',serif;
  font-size:42px;
  line-height:1.3;
  margin-bottom:16px;
  color:#1a1a18;
  font-weight:700;
  letter-spacing:-0.5px;
}

.article-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:28px;
  font-family:'Inter',sans-serif;
  font-size:14px;
  color:#636360;
}

.article-meta .author {
  font-weight:400;
  font-size:14px;
  color:#636360;
}

.article-meta .meta-right {
  display:flex;
  align-items:center;
  gap:10px;
}

.article-meta .read-chip {
  background:#f2f1ee;
  border:1px solid #e8e6e1;
  border-radius:20px;
  padding:2px 12px;
  font-size:12px;
  font-weight:500;
  letter-spacing:0.3px;
  color:#636360;
  white-space:nowrap;
}

.article-meta .date {
  color:#636360;
  font-weight:400;
  font-size:13px;
}

.article-intro {
  font-size:20px;
  color:#636360;
  margin-bottom:28px;
  font-weight:300;
  line-height:1.6;
}

.hero-image {
  width:100%;
  max-width:100%;
  height:380px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  display:block;
}

.painting-credit {
  font-size:11px;
  color:#9a9a95;
  font-style:italic;
  margin-top:8px;
  font-family:'Inter',sans-serif;
  letter-spacing:0.2px;
}

.divider {
  height:1px;
  background:linear-gradient(to right, transparent, #e8e6e1, transparent);
  margin:40px 0;
}

/* ── Article body ── */
.article-body {
  margin-bottom:40px;
}

.article-body p {
  margin-bottom:24px;
  text-align:left;
  hyphens:auto;
}

.article-body p:first-of-type::first-letter {
  font-size:1.8em;
  font-weight:bold;
  color:#1a1a18;
  margin-right:4px;
}

.article-body h2 {
  font-family:'Inter',sans-serif;
  font-size:26px;
  font-weight:700;
  color:#1a1a18;
  margin-top:48px;
  margin-bottom:20px;
  letter-spacing:-0.3px;
}

.article-body h3 {
  font-family:'Inter',sans-serif;
  font-size:22px;
  font-weight:600;
  color:#2c2c28;
  margin-top:36px;
  margin-bottom:16px;
  letter-spacing:-0.2px;
}

.pull-quote {
  border-left:4px solid #e8e6e1;
  padding:24px 28px;
  margin:48px 0;
  background:transparent;
  font-size:18px;
  color:#555;
  line-height:1.8;
  font-style:italic;
  font-family:Georgia,serif;
}

.closing-note {
  background:#f2f1ee;
  padding:28px;
  border-radius:12px;
  margin-top:48px;
  border:1px solid #e8e6e1;
}

.closing-note p {
  margin-bottom:0;
}

/* ── Back arrow (top + bottom) ── */
.back-top {
  display:block;
  margin-bottom:24px;
}

.back-bottom {
  margin-top:48px;
  margin-bottom:16px;
}

.back-arrow {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid #e8e6e1;
  background:#fafaf8;
  color:#636360;
  text-decoration:none;
  font-size:18px;
  transition:border-color 0.2s, color 0.2s;
  line-height:1;
}

.back-arrow:hover {
  border-color:#636360;
  color:#1a1a18;
}

/* Remove old footer styles */
.article-footer {
  display:none;
}

/* ── Responsive ── */
@media (max-width:640px) {
  .back-top {
    top:72px;
    left:16px;
  }
  .back-arrow {
    width:32px;
    height:32px;
    font-size:16px;
  }
  .article-header h1 {
    font-size:32px;
  }
  .container {
    padding:40px 16px;
  }
  body {
    font-size:16px;
  }
  .article-body h2 {
    font-size:22px;
  }
  .article-body h3 {
    font-size:19px;
  }
  .hero-image {
    height:280px;
  }
  .pull-quote {
    font-size:16px;
    padding:20px 24px;
    margin:36px 0;
  }
  .article-meta {
    flex-wrap:wrap;
    gap:8px;
  }
}
