/* =========================================
   BLOG PAGE - PREMIUM DESIGN
   ========================================= */

/* Expert Hero Section (Migrated from we-expert-in.css) */
.expert-hero {
    background-color: #e9f7ef;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.expert-hero-dots {
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#a5d6a7 20%, transparent 20%);
    background-size: 20px 20px;
    opacity: 0.6;
}

.expert-hero-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    /* Adjusted spacing */
    line-height: 1.2;
}

.expert-hero-content p.subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #5AAC4E;
    /* Matching green theme */
    margin-bottom: 15px;
}

.expert-hero-content p.tagline {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
}

.expert-hero-img-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 45%;
    overflow: hidden;
}

.expert-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile Responsiveness for Expert Hero */
@media (max-width: 991px) {
    .expert-hero-img-wrapper {
        position: relative;
        width: 100%;
        height: 300px;
        border-radius: 0;
        margin-top: 30px;
        box-shadow: none;
    }

    .expert-hero {
        padding: 50px 0 0 0;
        flex-direction: column;
        text-align: center;
    }

    .expert-hero-content {
        padding: 0 20px;
    }

    .expert-hero-dots {
        display: none;
    }

    .expert-hero-content p.tagline {
        margin: 0 auto;
    }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Category Filter */
.blog-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #5AAC4E;
    border-color: #5AAC4E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 172, 78, 0.3);
}

/* Blog Grid */
.blog-grid {
    margin-bottom: 40px;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #5AAC4E;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: #5AAC4E;
}

.blog-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: #0D210B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: #5AAC4E;
}

.blog-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5AAC4E;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: #234821;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #5AAC4E;
    border-color: #5AAC4E;
    color: white;
    transform: scale(1.1);
}

/* Mobile Responsive Blog Section */
@media (max-width: 768px) {
    .blog-section {
        padding: 50px 0;
    }

    .blog-filter {
        gap: 10px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-content h3 {
        font-size: 19px;
    }

    .pagination {
        margin-top: 30px;
    }

    .page-link {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }
}