.blog-index {
    width: min(1100px, calc(100% - 32px));
    margin: 24px auto 64px;
    display: grid;
    gap: 28px;
    min-width: 0;
    container-type: inline-size;
}

/* Breadcrumb */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-3, #888780);
}
.blog-breadcrumb a {
    color: var(--text, #1A1A18);
    font-weight: 500;
    text-decoration: none;
}
.blog-breadcrumb a:hover { text-decoration: underline; }

/* Hero */
.blog-hero {
    display: grid;
    gap: 10px;
}
.blog-eyebrow {
    font-size: 11px;
    color: var(--text-3, #888780);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}
.blog-h1 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text, #1A1A18);
    letter-spacing: -0.2px;
    line-height: 1.25;
}
.blog-sub {
    font-size: 13px;
    color: var(--text-2, #5F5E5A);
    line-height: 1.5;
}

/* Toolbar */
.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.blog-search {
    flex: 1;
    min-width: 200px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: var(--surface, #fff);
    color: var(--text, #1A1A18);
    outline: none;
}
.blog-search:focus { border-color: var(--brand, #085041); }
.blog-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.filter-pill {
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    background: var(--surface, #fff);
    color: var(--text-2, #5F5E5A);
    font-size: 12.5px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s;
}
.filter-pill:hover { border-color: var(--text-3, #888780); }
.filter-pill--active {
    background: #04342C;
    color: #fff;
    border-color: #04342C;
}

/* Section */
.blog-section { display: grid; gap: 14px; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sdot--aptis { background: #185FA5; }
.sdot--toeic { background: #BA7517; }
.sdot--vstep { background: #639922; }
.section-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text, #1A1A18);
    margin: 0;
}
.section-count {
    font-size: 11px;
    color: var(--text-3, #888780);
    background: var(--muted, #F1EFE8);
    padding: 2px 7px;
    border-radius: 999px;
}
.section-see-all {
    font-size: 12px;
    color: #185FA5;
    text-decoration: none;
}
.section-see-all:hover { text-decoration: underline; }

/* Article grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Article card */
.article-card {
    display: flex;
    flex-direction: column;
    background: var(--surface, #fff);
    border: 0.5px solid var(--text-3, #888780);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.15s;
}
.article-card:hover {
    border-color: var(--text-2, #5F5E5A);
    transform: translateY(-2px);
}

.article-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--muted, #F1EFE8);
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.article-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.article-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 999px;
    width: fit-content;
}
.article-tag--aptis { background: #E6F1FB; color: #185FA5; }
.article-tag--toeic { background: #FAEEDA; color: #854F0B; }
.article-tag--vstep { background: #EAF3DE; color: #3B6D11; }

.article-title {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text, #1A1A18);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.article-sub {
    font-size: 12.5px;
    color: var(--text-2, #5F5E5A);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}
.meta-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #E1F5EE;
    color: #0F6E56;
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.meta-author,
.meta-date,
.meta-read { font-size: 11px; color: var(--text-2, #5F5E5A); }
.meta-author { font-weight: 500; }
.meta-sep { font-size: 11px; color: var(--text-3, #888780); }

/* Empty state */
.blog-empty {
    padding: 32px;
    text-align: center;
    color: var(--text-2, #5F5E5A);
    font-size: 13.5px;
}

/* Responsive */
@media (max-width: 900px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .article-grid { grid-template-columns: 1fr; }
    .blog-h1 { font-size: 19px; }
}
