/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 12px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: #fff;
  color: #000;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── PLACEHOLDER (grey box) ── */
.placeholder {
  background: #d0d0d0;
}

/* ── SITE HEADER ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}

.site-name {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  flex-shrink: 0;  /* never let flexbox squeeze the name */
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  font-size: 11px;
  color: #000;
}

/* ── HERO IMAGES ── */
.hero-strip {
  width: 100%;
  height: 40px; /* thin accent strip */
}

.hero-main {
  width: 100%;
  height: 420px;
}

/* ── ARTICLE WRAPPER ── */
.article-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px 60px;
}

/* Post date bar */
.post-date-bar {
  padding: 14px 0 0;
  text-align: center;
}

.post-date {
  font-size: 11px;
  color: #555;
}

/* ── ARTICLE LAYOUT (sidebar + content) ── */
.article-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 40px;
  padding-top: 28px;
}

/* ── METADATA SIDEBAR ── */
.article-meta {
  padding-top: 2px;
}

.meta-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.meta-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 3px;
}

.meta-value {
  font-size: 11px;
  color: #000;
  line-height: 1.6;
}

/* ── ARTICLE CONTENT ── */
.article-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
}

.article-dates {
  font-size: 12px;
  color: #555;
  margin-bottom: 24px;
}

.article-body p {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
  color: #111;
}

/* ── NOTES ── */
.notes-section {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.notes-heading {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}

.notes-list {
  list-style: decimal;
  padding-left: 18px;
}

.notes-list li {
  font-size: 11px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 6px;
}

/* ── ARTICLE BOTTOM (subject + bio) ── */
.article-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.article-bottom-left .meta-label {
  margin-bottom: 4px;
}

.share-link {
  display: inline-block;
  font-size: 11px;
  color: #000;
  margin-top: 10px;
  text-decoration: underline;
}

.article-bottom-right p {
  font-size: 11px;
  line-height: 1.7;
  color: #222;
}

/* ── MID IMAGE ── */
.mid-image {
  width: 100%;
  height: 200px;
  margin: 0;
}

/* ── FOOTER ── */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 28px 32px;
  background: #fff;
}

.footer-logo {
  width: 120px;
  height: 20px;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 11px;
  color: #555;
}

/* ── RELATED CONTENT ── */
.related-section {
  padding: 28px 28px 0;
  max-width: 1060px;
  margin: 0 auto;
}

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.related-title {
  font-size: 13px;
  font-weight: 500;
}

.related-arrow {
  font-size: 14px;
  cursor: pointer;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 32px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 6px;
}

.card-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.card-tag {
  font-size: 10px;
  color: #555;
}

.card-date {
  font-size: 10px;
  color: #888;
}

.card-author {
  font-size: 11px;
  color: #000;
  font-weight: 500;
  line-height: 1.4;
}

.card-title {
  font-size: 11px;
  color: #333;
  line-height: 1.4;
}

/* ── BOTTOM IMAGE ── */
.bottom-image {
  width: 100%;
  height: 360px;
  margin-top: 24px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-nav a:not([href*="about"]) {
    display: none;
  }

  .hero-main {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}
