/* ===== BLOG HERO ===== */
.blog-hero {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    padding: 100px 0 60px;
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-badge {
    display: inline-block;
    background: rgba(45, 212, 191, 0.2);
    color: #2DD4BF;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.blog-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ===== FILTERS ===== */
.blog-filters {
    background: #fff;
    padding: 25px 0;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-categories {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: #374151;
    margin-right: 10px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.filter-btn.active {
    background: #2DD4BF;
    color: #fff;
    border-color: #2DD4BF;
}

.filter-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}

.blog-search {
    display: flex;
    align-items: center;
}

.blog-search input {
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-size: 0.95rem;
    width: 250px;
    transition: border-color 0.3s ease;
}

.blog-search input:focus {
    border-color: #2DD4BF;
}

.blog-search button {
    padding: 12px 20px;
    background: #2DD4BF;
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-search button:hover {
    background: #14b8a6;
}

/* ===== BLOG GRID ===== */
.blog-main {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 60vh;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2DD4BF;
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6b7280;
}

.blog-card-meta i {
    color: #2DD4BF;
    margin-right: 5px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #2DD4BF;
}

.blog-card-excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-card-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-card-author-name {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.blog-card-link {
    color: #2DD4BF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 10px;
}

/* ===== PAGINATION ===== */
.blog-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.blog-pagination a:hover {
    background: #2DD4BF;
    color: #fff;
    transform: translateY(-3px);
}

.blog-pagination .current {
    background: #2DD4BF;
    color: #fff;
}

.blog-pagination .prev,
.blog-pagination .next {
    width: auto;
    padding: 0 20px;
}

/* ===== NO POSTS ===== */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
}

.no-posts-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-posts h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 10px;
}

.no-posts p {
    color: #6b7280;
    margin-bottom: 25px;
}

.no-posts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: #2DD4BF;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-posts a:hover {
    background: #14b8a6;
    transform: translateY(-3px);
}

/* ===== FEATURED POST ===== */
.featured-post {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.featured-image {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2DD4BF 0%, #14b8a6 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #2DD4BF;
}

.featured-excerpt {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 25px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

.featured-meta i {
    color: #2DD4BF;
    margin-right: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        min-height: 250px;
    }
    
    .filter-categories {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .blog-search {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .blog-search input {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .featured-content {
        padding: 25px;
    }
    
    .featured-title {
        font-size: 1.4rem;
    }
}
