/**
 * Blog Section - Modern Design
 * GRPCMedia Theme
 * Version: 1.0.0
 */

/* Section Container */
.grpc-blog-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

/* Section Header */
.grpc-blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.grpc-blog-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(47, 36, 131, 0.1);
    color: #2F2483;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 2px solid rgba(47, 36, 131, 0.2);
}

.grpc-blog-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.grpc-blog-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Grid */
.grpc-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Blog Card */
.grpc-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grpc-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(47, 36, 131, 0.2);
}

/* Blog Image */
.grpc-blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.grpc-blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #2F2483 0%, #005a8b 100%);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Content */
.grpc-blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grpc-blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.grpc-blog-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.grpc-blog-meta-item i {
    color: #2F2483;
    font-size: 13px;
}

.grpc-blog-title-link {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.grpc-blog-title-link:hover {
    color: #2F2483;
}

.grpc-blog-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Blog Footer */
.grpc-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

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

.grpc-blog-author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(47, 36, 131, 0.1) 0%, rgba(0, 90, 139, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F2483;
    font-weight: 600;
    font-size: 14px;
}

.grpc-blog-author-name {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.grpc-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2F2483;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.grpc-blog-read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.grpc-blog-read-more:hover {
    color: #005a8b;
    gap: 12px;
}

.grpc-blog-read-more:hover i {
    transform: translateX(4px);
}

/* View All Button */
.grpc-blog-view-all {
    text-align: center;
    margin-top: 50px;
}

.grpc-blog-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #2F2483 0%, #005a8b 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 36, 131, 0.3);
}

.grpc-blog-view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 36, 131, 0.4);
    color: #fff;
}

.grpc-blog-view-all-btn i {
    transition: transform 0.3s ease;
}

.grpc-blog-view-all-btn:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .grpc-blog-title {
        font-size: 36px;
    }
    
    .grpc-blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .grpc-blog-section {
        padding: 60px 0;
    }
    
    .grpc-blog-title {
        font-size: 32px;
    }
    
    .grpc-blog-subtitle {
        font-size: 16px;
    }
    
    .grpc-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grpc-blog-image {
        height: 200px;
    }
    
    .grpc-blog-content {
        padding: 20px;
    }
}

