/* ─── BLOG ARCHIVE ─── */
.blog-hero {
  margin-top: 64px;
  background: linear-gradient(135deg, #FFF3CC 0%, #FFE082 60%, #FFD740 100%);
  padding: 72px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--warm-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.blog-hero-eyebrow { font-family: 'Dancing Script', cursive; font-size: 1.4rem; color: var(--text-mid); display: block; margin-bottom: 10px; }
.blog-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.blog-hero-sub { font-size: 1rem; color: var(--text-mid); max-width: 520px; margin: 0 auto; line-height: 1.75; }

.blog-wrap { max-width: 1160px; margin: 0 auto; padding: 60px 40px 80px; display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tag {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 30px;
  border: 2px solid rgba(232,168,0,0.3); color: var(--text-soft); background: #fff;
  cursor: pointer; transition: all 0.25s; text-decoration: none;
}
.filter-tag:hover, .filter-tag.active { background: var(--gold); color: #fff; border-color: var(--gold); }

.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.post-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(232,168,0,0.12);
  box-shadow: 0 4px 24px rgba(232,168,0,0.07);
  transition: all 0.35s; text-decoration: none; color: inherit; display: block;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(232,168,0,0.16); }
.post-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.post-card-featured .post-thumb { aspect-ratio: auto; height: 100%; min-height: 260px; }

.post-thumb {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #FFE082, #FFC107);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; z-index: 2;
}

.post-body { padding: 24px 26px 28px; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post-date, .post-read { font-size: 0.75rem; color: var(--text-soft); }
.post-meta-dot { width: 3px; height: 3px; background: var(--gold-light); border-radius: 50%; }
.post-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
.post-card-featured .post-title { font-size: 1.5rem; }
.post-excerpt { font-size: 0.87rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 18px; }
.post-read-more { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.post-card:hover .post-read-more { gap: 10px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.page-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid rgba(232,168,0,0.25); background: #fff; color: var(--text-mid);
  font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: all 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover, .page-btn.active { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ─── SIDEBAR ─── */
.sidebar-widget {
  background: #fff; border-radius: 20px; padding: 28px 24px;
  border: 1px solid rgba(232,168,0,0.12);
  box-shadow: 0 4px 24px rgba(232,168,0,0.06); margin-bottom: 24px;
}
.widget-title {
  font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ''; display: block; width: 3px; height: 18px; background: var(--gold); border-radius: 3px; }

.search-bar { display: flex; border: 1.5px solid rgba(232,168,0,0.3); border-radius: 12px; overflow: hidden; }
.search-bar input { flex: 1; padding: 11px 14px; border: none; outline: none; font-family: 'Lato', sans-serif; font-size: 0.88rem; background: var(--warm-white); color: var(--text-dark); }
.search-bar button { padding: 0 16px; background: var(--gold); border: none; cursor: pointer; color: #fff; font-size: 1rem; transition: background 0.25s; }
.search-bar button:hover { background: #D49200; }

.cat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cat-list li a { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--text-mid); text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(232,168,0,0.1); transition: color 0.2s; }
.cat-list li a:hover { color: var(--gold); }
.cat-count { background: var(--gold-pale); color: var(--gold); font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

.recent-post { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(232,168,0,0.1); }
.recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.recent-thumb { width: 60px; height: 60px; background: linear-gradient(135deg, #FFE082, #FFC107); border-radius: 10px; flex-shrink: 0; overflow: hidden; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-title { font-family: 'Playfair Display', serif; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); line-height: 1.35; margin-bottom: 4px; text-decoration: none; display: block; transition: color 0.2s; }
.recent-title:hover { color: var(--gold); }
.recent-date { font-size: 0.72rem; color: var(--text-soft); }

.newsletter-widget { background: linear-gradient(135deg, #FFF3CC, #FFE082); border: 1px solid rgba(232,168,0,0.3); }
.newsletter-sub { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.newsletter-input { width: 100%; padding: 11px 14px; border: 1.5px solid rgba(232,168,0,0.3); border-radius: 10px; font-family: 'Lato', sans-serif; font-size: 0.88rem; background: #fff; color: var(--text-dark); outline: none; margin-bottom: 10px; }
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-btn { width: 100%; padding: 12px; background: var(--gold); color: #fff; border: none; border-radius: 10px; font-family: 'Lato', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background 0.25s; }
.newsletter-btn:hover { background: #D49200; }

/* ─── SINGLE POST ─── */
.read-progress { position: fixed; top: 64px; left: 0; right: 0; height: 3px; background: var(--gold-pale); z-index: 99; }
.read-progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); width: 0%; transition: width 0.1s; }

.post-hero { margin-top: 64px; background: linear-gradient(135deg, #FFF3CC, #FFE082 60%, #FFD740 100%); padding: 64px 40px 0; position: relative; overflow: hidden; }
.post-hero-inner { max-width: 820px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-soft); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-soft); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gold-light); }
.post-cat-tag { display: inline-block; background: var(--gold); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.post-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--text-dark); line-height: 1.25; margin-bottom: 20px; }
.post-hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.meta-author { display: flex; align-items: center; gap: 10px; }
.meta-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, #FFE082, #FFC107); border-radius: 50%; border: 2px solid rgba(232,168,0,0.4); overflow: hidden; }
.meta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.meta-author-name { font-family: 'Playfair Display', serif; font-size: 0.92rem; font-weight: 600; color: var(--text-dark); }
.meta-author-role { font-size: 0.72rem; color: var(--text-soft); }
.meta-dot { width: 4px; height: 4px; background: var(--gold-light); border-radius: 50%; }
.meta-info { font-size: 0.8rem; color: var(--text-soft); }
.post-hero-img { width: 100%; max-width: 820px; height: 380px; background: linear-gradient(135deg, #FFE082, #FFB300); border-radius: 20px 20px 0 0; overflow: hidden; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.post-wrap { max-width: 1160px; margin: 0 auto; padding: 56px 40px 80px; display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }

article { min-width: 0; }
.article-body { font-size: 1rem; color: var(--text-mid); line-height: 1.9; }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 700; color: var(--text-dark); margin: 40px 0 16px; }
.article-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; color: var(--text-dark); margin: 28px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.article-body li { font-size: 0.97rem; }
.article-body ul li::marker { color: var(--gold); }
.article-body blockquote {
  background: var(--gold-pale); border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0; padding: 24px 28px; margin: 32px 0;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.1rem; color: var(--text-dark); line-height: 1.7;
}
.highlight-box { background: linear-gradient(135deg, #FFF3CC, #FFF8E1); border: 1px solid rgba(232,168,0,0.25); border-radius: 16px; padding: 28px 32px; margin: 32px 0; }
.highlight-box-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.highlight-box ul { padding-left: 20px; }
.highlight-box li { font-size: 0.92rem; color: var(--text-mid); }
.mid-image { width: 100%; height: 260px; border-radius: 16px; overflow: hidden; margin: 32px 0; }
.mid-image img { width: 100%; height: 100%; object-fit: cover; }

.post-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(232,168,0,0.2); }
.tags-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-soft); }
.tag { background: var(--gold-pale); color: var(--text-mid); font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; text-decoration: none; transition: all 0.2s; }
.tag:hover { background: var(--gold); color: #fff; }

.post-share { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 20px 0; border-top: 1px solid rgba(232,168,0,0.2); }
.share-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-soft); }
.share-btn { width: 40px; height: 40px; background: var(--gold-pale); border: 1.5px solid rgba(232,168,0,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s; text-decoration: none; }
.share-btn:hover { background: var(--gold); transform: translateY(-2px); }

.author-box { background: linear-gradient(135deg, var(--gold-pale), #fff); border: 1px solid rgba(232,168,0,0.2); border-radius: 20px; padding: 32px; display: flex; gap: 24px; align-items: flex-start; margin-top: 40px; }
.author-photo { width: 80px; height: 80px; background: linear-gradient(135deg, #FFE082, #FFC107); border-radius: 50%; border: 3px solid rgba(232,168,0,0.4); flex-shrink: 0; overflow: hidden; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.author-title { font-size: 0.8rem; color: var(--gold); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 12px; }
.author-bio { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; }

.related-section { margin-top: 56px; }
.related-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.related-divider { width: 48px; height: 3px; background: var(--gold); border-radius: 4px; margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(232,168,0,0.12); box-shadow: 0 4px 20px rgba(232,168,0,0.07); text-decoration: none; color: inherit; transition: all 0.3s; display: block; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(232,168,0,0.15); }
.related-thumb { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #FFE082, #FFC107); overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 18px 20px 20px; }
.related-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.related-post-title { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--text-dark); line-height: 1.4; }

/* sidebar TOC */
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.toc-list li a { font-size: 0.88rem; color: var(--text-mid); text-decoration: none; padding: 6px 10px; border-radius: 8px; display: block; transition: all 0.2s; border-left: 2px solid transparent; }
.toc-list li a:hover, .toc-list li a.active { color: var(--gold); background: var(--gold-pale); border-left-color: var(--gold); }
.progress-wrap { margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; }
.progress-label { font-size: 0.75rem; color: var(--text-soft); }
.progress-bar { width: 100%; height: 6px; background: var(--gold-pale); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: 4px; transition: width 0.3s; }

/* Comments */
.comments-section { margin-top: 56px; }
.comments-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.comments-divider { width: 48px; height: 3px; background: var(--gold); border-radius: 4px; margin-bottom: 28px; }
.comment { display: flex; gap: 16px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(232,168,0,0.1); }
.comment:last-child { border-bottom: none; }
.comment-avatar { width: 48px; height: 48px; background: var(--gold-pale); border-radius: 50%; border: 2px solid rgba(232,168,0,0.25); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.comment-name { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.comment-date { font-size: 0.72rem; color: var(--text-soft); }
.comment-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.comment-reply { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gold); cursor: pointer; margin-top: 8px; display: inline-block; border: none; background: none; }

.comment-form { background: #fff; border-radius: 20px; padding: 32px; border: 1px solid rgba(232,168,0,0.15); box-shadow: 0 4px 24px rgba(232,168,0,0.06); margin-top: 32px; }
.comment-form-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-submit { background: var(--gold); color: #fff; border: none; padding: 13px 32px; border-radius: 12px; font-family: 'Lato', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all 0.25s; }
.form-submit:hover { background: #D49200; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,168,0,0.3); }

@media (max-width: 900px) {
  .blog-wrap { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card-featured { grid-template-columns: 1fr; }
  .post-wrap { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
