/* Blog Header */
.blog-header {
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.blog-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Categories */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.cat-filter {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #e0e7ef;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #1C3F60;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cat-filter:hover,
.cat-filter.active {
    background: #FBC333;
    border-color: #FBC333;
    color: #1C3F60;
}

/* Blogs Grid */
.blogs-section {
    padding: 60px 0;
    background: #f8fafd;
}

.blogs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(251, 195, 51, 0.15);
}

.blog-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__thumb {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FBC333;
    color: #1C3F60;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-card__content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    margin-bottom: 12px;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.blog-date svg {
    width: 14px;
    height: 14px;
}

.blog-card__title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card__title a {
    color: #1C3F60;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card__title a:hover {
    color: #FBC333;
}

.blog-card__excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FBC333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.blog-card__more:hover {
    gap: 12px;
    color: #1C3F60;
}

.blog-card__more svg {
    width: 16px;
    height: 16px;
}

/* Pagination */
.pagination-wrapper {
    text-align: center;
}

.pagination {
    display: inline-block;
}

.pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: inline-block;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: #fff;
    border: 2px solid #e0e7ef;
    border-radius: 8px;
    color: #1C3F60;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: #FBC333;
    border-color: #FBC333;
    color: #1C3F60;
    font-weight: 700;
}

.pagination .page-numbers:hover {
    background: #FBC333;
    border-color: #FBC333;
    color: #1C3F60;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 60px;
    background: #fff;
    border-radius: 12px;
    color: #666;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1024px) {
    .blogs__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 60px 0;
    }
    
    .blog-header h1 {
        font-size: 36px;
    }
    
    .blog-subtitle {
        font-size: 16px;
    }
    
    .blogs__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card__image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 28px;
    }
    
    .blog-categories {
        gap: 8px;
    }
    
    .cat-filter {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .blog-card__content {
        padding: 20px;
    }
    
    .blog-card__title {
        font-size: 18px;
    }
}