/* ===== ARTICLE BODY TYPOGRAPHY ===== */
.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}
.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #262626;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.article-body p {
    color: #404040;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.article-body ul, .article-body ol {
    color: #404040;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.article-body li {
    margin-bottom: 0.5rem;
}
.article-body ul li {
    list-style-type: disc;
}
.article-body ol li {
    list-style-type: decimal;
}
.article-body strong {
    color: #1a1a1a;
    font-weight: 600;
}
.article-body a {
    color: #2d87f3;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article-body a:hover {
    color: #1a6dd1;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}
.article-body th {
    background: #f5f5f5;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: 1px solid #e4e8ec;
    text-align: left;
}
.article-body td {
    padding: 0.75rem 1rem;
    border: 1px solid #e4e8ec;
}
.article-body blockquote {
    border-left: 3px solid #e4e8ec;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #737373;
    font-style: italic;
}

/* ===== BLOG LISTING CARD STYLES ===== */
.blog-card {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    border-color: #d9d9d9;
}
.blog-card__image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    border-radius: 0;
}
.blog-card__body {
    padding: 1.25rem 1.25rem 1.25rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2d87f3;
    background: #e3f2ff;
    padding: 0.2rem 0.625rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    width: fit-content;
}
.blog-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card__excerpt {
    font-size: 0.875rem;
    color: #737373;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.blog-card__meta {
    font-size: 0.75rem;
    color: #9aa2ac;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Featured card (hero) */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 2rem;
}
.blog-featured:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.blog-featured__image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}
.blog-featured__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2d87f3;
    background: #e3f2ff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    width: fit-content;
}
.blog-featured__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.blog-featured__excerpt {
    font-size: 1rem;
    color: #595959;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.blog-featured__read {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d87f3;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Category filter tabs */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    background: #f2f2f2;
    border-radius: 10px;
    padding: 4px;
}
.blog-filter a {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #737373;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.15s ease;
    text-decoration: none;
}
.blog-filter a:hover {
    color: #404040;
    background: rgba(255,255,255,0.5);
}
.blog-filter a.active {
    background: #fff;
    color: #2d87f3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Blog detail */
.blog-detail-header {
    padding: 3rem 0 2rem;
    background: #fff;
}
.blog-detail-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #737373;
    flex-wrap: wrap;
}
.blog-detail-meta .badge {
    background: #e3f2ff;
    color: #2d87f3;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}
.blog-detail-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
}

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

@media (max-width: 767px) {
    .blog-card { grid-template-columns: 1fr; }
    .blog-card__body { padding: 1rem; }
    .blog-card__image { min-height: 180px; }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured__image { min-height: 200px; }
    .blog-featured__body { padding: 1.25rem; }
    .blog-featured__title { font-size: 1.375rem; }
    .blog-detail-header h1 { font-size: 1.75rem; }
}
.article-body h2{scroll-margin-top:100px}
