/* ===========================================
   BLOG ARCHIVE
   =========================================== */
.blog-archive {
  padding: clamp(4rem, 10vh, 8rem) 0;
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-widget {
  padding: 2rem;
  background: var(--noir-800);
  border: 1px solid var(--noir-700);
}

.sidebar-widget h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--noir-700);
}

.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--cream-300);
  opacity: 0.7;
  border-bottom: 1px solid var(--noir-700);
  transition: all 0.3s;
}

.sidebar-categories a:last-child {
  border-bottom: none;
}

.sidebar-categories a:hover {
  opacity: 1;
  color: var(--gold-400);
}

.sidebar-categories .count {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--cream-300);
  opacity: 0.5;
}

.sidebar-recent-post {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--noir-700);
}

.sidebar-recent-post:last-child {
  border-bottom: none;
}

.sidebar-recent-post-image {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar-recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-recent-post h5 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream-100);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.sidebar-recent-post-date {
  font-size: 0.75rem;
  color: var(--cream-300);
  opacity: 0.5;
}

.sidebar-newsletter p {
  font-size: 0.875rem;
  color: var(--cream-300);
  opacity: 0.7;
  margin-bottom: 1rem;
}

/* Category tabs */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.category-tab {
  padding: 0.625rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-200);
  border: 1px solid var(--noir-600);
  transition: all 0.3s;
}

.category-tab:hover,
.category-tab.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--noir-900);
}

/* ===========================================
   SINGLE POST
   =========================================== */
.single-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 8rem) 0;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.single-post-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: 0.375rem 0.75rem;
  background: rgba(184, 134, 11, 0.15);
}

.single-post-date {
  font-size: 0.8125rem;
  color: var(--cream-300);
  opacity: 0.6;
}

.single-post-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--cream-50);
  margin-bottom: 1.5rem;
}

.single-post-excerpt {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--cream-300);
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--noir-700);
}

/* Article body */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--cream-200);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--cream-100);
}

.article-body img {
  margin: 2rem 0;
  filter: saturate(0.9);
}

.article-body blockquote {
  margin: 2.5rem 0;
  padding: 2rem;
  border-left: 3px solid var(--gold-500);
  background: var(--noir-800);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--cream-100);
  line-height: 1.6;
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.article-body ul li::marker {
  color: var(--gold-500);
}

.article-body ol li::marker {
  color: var(--gold-400);
  font-family: var(--font-display);
}

.article-body a {
  color: var(--gold-400);
  border-bottom: 1px solid var(--gold-600);
  transition: all 0.3s;
}

.article-body a:hover {
  color: var(--gold-300);
  border-color: var(--gold-300);
}

/* Author bio */
.author-bio {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--noir-800);
  border: 1px solid var(--noir-700);
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-500);
}

.author-bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bio-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--cream-100);
  margin-bottom: 0.5rem;
}

.author-bio-text {
  font-size: 0.9375rem;
  color: var(--cream-300);
  opacity: 0.7;
  line-height: 1.6;
}

/* Share buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--noir-700);
  border-bottom: 1px solid var(--noir-700);
}

.share-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.share-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--noir-600);
  transition: all 0.3s;
}

.share-btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.share-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--cream-200);
  transition: fill 0.3s;
}

.share-btn:hover svg {
  fill: var(--noir-900);
}

/* Related posts */
.related-posts {
  padding: clamp(4rem, 10vh, 8rem) 0;
  background: var(--noir-850);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Comments */
.comments-section {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.comments-section h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream-100);
  margin-bottom: 2rem;
}

.comment-list .comment {
  padding: 2rem 0;
  border-bottom: 1px solid var(--noir-700);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-author-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--cream-100);
}

.comment-date {
  font-size: 0.75rem;
  color: var(--cream-300);
  opacity: 0.5;
}

.comment-text {
  font-size: 0.9375rem;
  color: var(--cream-300);
  line-height: 1.6;
}

/* Comment form */
.comment-respond .comment-reply-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream-100);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-archive-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
