/* ============================================================
   Page: blog  (blog listing)
   Loaded only on /blog.
   Card / grid / pagination styles already live in style.css.
   ============================================================ */

.blog-hero {
    background: var(--dark3);
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--ink-3);
    margin-bottom: 2rem;
}

.blog-breadcrumb a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color var(--transition);
}

.blog-breadcrumb a:hover {
    color: var(--accent);
}

.blog-breadcrumb__current {
    color: var(--ink-2);
}

.blog-hero__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.blog-hero__head .eyebrow {
    display: block;
    margin-bottom: 1rem;
}

.blog-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.blog-hero__sub {
    color: var(--ink-3);
    font-size: 1rem;
    line-height: 1.6;
}

/* Category tabs */
.blog-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.blog-tab {
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all var(--transition);
    background: var(--dark2);
    color: var(--ink-3);
    border: 1px solid var(--line);
}

.blog-tab--active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.blog-tab__count {
    opacity: 0.6;
    font-weight: 400;
}

/* Posts section */
.blog-posts {
    background: var(--paper);
    padding-top: 3rem;
}

.blog-card-meta__date {
    font-size: 0.75rem;
    color: var(--ink-3);
}

.blog-card__placeholder-icon {
    width: 2rem;
    height: 2rem;
    color: var(--ink-3);
    opacity: 0.4;
}

.blog-card__readmore {
    margin-top: auto;
}

.blog-card__readmore i {
    width: 14px;
    height: 14px;
}

/* Empty state */
.blog-empty {
    text-align: center;
    padding: 5rem 0;
    color: var(--ink-3);
}

.blog-empty i {
    width: 3rem;
    height: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blog-pagination {
    margin-top: 3rem;
}
