/* ── BLOG PAGE LAYOUT ── */

.blog-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  padding-top: 80px;
}

/* ── SIDEBAR ── */
.sidebar {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  border-left: 1px solid rgba(201,168,76,0.15);
  padding: 3rem 2rem;
  background: var(--cream);
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 2px; }

.sidebar-label {
  font-family: var(--serif-latin);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.8rem;
}

.sidebar-posts {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sidebar-posts li a {
  display: block;
  font-family: var(--serif-he);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  padding: 0.9rem 0.8rem 0.9rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  line-height: 1.5;
  transition: all 0.3s;
  position: relative;
}

.sidebar-posts li a::before {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 0;
  background: var(--gold);
  transition: height 0.3s;
}

.sidebar-posts li a:hover,
.sidebar-posts li a.active {
  color: var(--terra);
  padding-right: 1.2rem;
}

.sidebar-posts li a:hover::before,
.sidebar-posts li a.active::before {
  height: 60%;
}

.sidebar-date {
  display: block;
  font-family: var(--serif-latin);
  font-size: 0.7rem;
  color: var(--sand);
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* ── POSTS AREA ── */
.posts-area {
  padding: 4rem 5rem 6rem 3rem;
  max-width: 780px;
}

.posts-area-header {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.posts-area-header h1 {
  font-family: var(--serif-latin);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
}

.posts-area-header h1 em {
  color: var(--terra);
  font-style: normal;
}

/* ── SINGLE POST ── */
.post {
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  scroll-margin-top: 100px;
}

.post:last-child { border-bottom: none; }

.post-header { margin-bottom: 2.5rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.post-meta-date {
  font-family: var(--serif-latin);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--sand);
}

.post-meta-dot {
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.post-meta-num {
  font-family: var(--serif-latin);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(201,168,76,0.4);
}

.post h2 {
  font-family: var(--serif-he);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}

.post-divider {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
  opacity: 0.5;
}

.post-body {
  font-family: var(--serif-he);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 2;
  color: #3a3630;
  text-align: justify;
  word-spacing: 1.3px;
}

.post-body p { text-indent: 2rem; }

/* ── POST IMAGE ── */
.post-image {
  width: 30%;
  display: block;
  margin: 2rem auto;
  border-radius: 200px;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .blog-page { grid-template-columns: 1fr; }

  .sidebar {
    position: static;
    height: auto;
    border-left: none;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    padding: 2rem 1.5rem;
  }

  .posts-area { padding: 2.5rem 1.5rem 4rem; }
}
