/* blog-Section */
#blog {
    padding: 64px 0 80px;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Row */
.blog-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-section-label {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    margin-top: 50px;
}

.blog-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #0d47a1;
    line-height: 1.2;
}

.blog-section-title span {
    color: #1565c0;
}

.blog-section-sub {
    color: #1a3a52;
    font-size: 1rem;
    line-height: 1.6;
}

/* Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    #blog {
        padding: 40px 0 60px;
    }
}

/* Card */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #e0ede0;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(46, 125, 50, 0.15);
}

/* Thumbnail */
.blog-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e6f4ea;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.04);
}

.img-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c8dee6 0%, #5f9add 100%);
}

/* Body */
.blog-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.blog-cat {
    display: inline-block;
    background: #e8f5e9;
    color: #43a7eb;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: 12px;
    align-self: flex-start;
}

.blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a2e1a;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: #2e7d32;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #557055;
    line-height: 1.6;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2e367d;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
    align-self: flex-start;
}

.blog-read-more:hover {
    color: #1b3a5e;
    gap: 10px;
}

/* Meta */
.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e8f5e9;
    padding-top: 12px;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #5286ca;
}

.author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #237fbd;
}

.author-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4376a0, #1b435e);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Empty state */
.empty-state {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    padding: 24px;
    background: #f0f7f0;
    border-radius: 10px;
    border: 1px dashed #b2dfdb;
}

/* Pagination */
.pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #c8e6c9;
    color: #2e3a7d;
    background: #fff;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #2e3a7d;
    color: #fff;
    border-color: #2e3a7d;
}