/* ════════════════════════════
   BLOG — blog.css
   Archive · Category · Single article
════════════════════════════ */

/* BLOG HERO */
.blog-hero-section {
    background: var(--forest);
    padding: 80px 0 64px;
}
.blog-hero-section h1 {
    font-family: var(--D);
    font-size: clamp(44px, 6vw, 82px);
    letter-spacing: .02em; text-transform: uppercase;
    color: var(--white); margin-top: 14px; max-width: 720px;
}
.blog-hero-section p {
    font-family: var(--B); font-size: 16px; font-weight: 300;
    color: rgba(255,255,255,.6); margin-top: 14px; max-width: 500px;
}

/* ARTICLE HERO */
.article-hero-section {
    background: var(--off);
    padding: 72px 0 0;
    border-bottom: 1px solid var(--rule);
}
.article-hero-inner { max-width: 760px; margin: 0 auto; padding: 0 var(--pad) 56px; }
.article-hero-section h1 {
    font-family: var(--D);
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: .02em; text-transform: uppercase;
    color: var(--ink); margin-top: 16px; margin-bottom: 20px;
}
.article-meta-row {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    font-family: var(--B); font-size: 13px; font-weight: 300; color: var(--ink3);
}
.article-meta-sep { width: 3px; height: 3px; background: var(--rule2); border-radius: 50%; }

/* ARTICLE FEATURED IMAGE */
.article-featured-img {
    width: 100%; aspect-ratio: 16/7;
    background: var(--forest2);
    overflow: hidden;
}
.article-featured-img img {
    width: 100%; height: 100%; object-fit: cover;
}

/* AUTHOR BOX */
.author-box {
    background: var(--off); border: 1px solid var(--rule); border-radius: 12px;
    padding: 24px 28px; display: flex; gap: 18px; align-items: center;
    margin-top: 48px;
}
.author-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--forest3), var(--forest));
    flex-shrink: 0; overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-family: var(--C); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.author-bio  { font-family: var(--B); font-size: 13px; font-weight: 300; color: var(--ink2); line-height: 1.65; }

/* RELATED ARTICLES */
.related-section {
    background: var(--off);
    padding: 64px 0;
    border-top: 1px solid var(--rule);
}
.related-section h2 {
    font-family: var(--D); font-size: 32px; letter-spacing: .04em; text-transform: uppercase;
    color: var(--ink); margin-bottom: 32px;
}

/* PAGINATION */
.pagination-row {
    display: flex; justify-content: center; gap: 8px; margin-top: 52px;
}
.page-num {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--B); font-size: 13px; font-weight: 300;
    border: 1px solid var(--rule); color: var(--ink2); text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}
.page-num:hover, .page-num.current {
    border-color: var(--forest); color: var(--forest);
}
.page-num.current {
    background: var(--forest); color: var(--white);
}

/* SIDEBAR (if used) */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget { background: var(--off); border-radius: 12px; padding: 24px; }
.sidebar-widget h3 { font-family: var(--C); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }

/* IN-ARTICLE CTA */
.article-cta-box {
    background: var(--off); border: 1px solid var(--rule); border-radius: 12px;
    padding: 36px; margin: 44px 0; text-align: center;
}
.article-cta-box h3 {
    font-family: var(--D); font-size: 28px; letter-spacing: .04em; text-transform: uppercase;
    color: var(--ink); margin-bottom: 9px;
}
.article-cta-box p {
    font-family: var(--B); font-size: 15px; font-weight: 300; color: var(--ink2);
    line-height: 1.7; margin-bottom: 20px;
}

/* TABLE OF CONTENTS */
.toc {
    background: var(--off); border-left: 3px solid var(--forest);
    border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 28px 0;
}
.toc-title { font-family: var(--C); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
.toc ol { font-family: var(--B); font-size: 14px; font-weight: 300; color: var(--ink2); margin-left: 18px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--forest); text-decoration: none; transition: opacity .2s; }
.toc a:hover { opacity: .7; }

@media (max-width: 960px) {
    .blog-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
}
