/* Blog Section Styles - Fresh file to bypass cache */
.blog-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.blog-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.blog-section .section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.blog-section .section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

/* Blog Grid - True CSS Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

/* Responsive breakpoints */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Styling */
.blog-post.compact {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 0;
    margin-bottom: 0;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    background-color: white;
}

.blog-post.compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Meta row styling */
.post-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #666;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(0, 0, 0, 0.01);
}

/* Category badge styling */
.post-category {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-right: 0;
    color: #1a73e8;
    background-color: rgba(26, 115, 232, 0.1);
    transition: background-color 0.2s ease;
}

.blog-post:hover .post-category {
    background-color: rgba(26, 115, 232, 0.15);
}

/* Title styling */
.post-title, 
.blog-post.compact h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.5rem 0;
    color: #222;
    transition: color 0.2s;
}

.blog-post:hover .post-title,
.blog-post:hover h3 {
    color: #1a73e8;
}

/* Content area */
.post-content {
    padding: 0.8rem 1.2rem 1.2rem;
}

/* Text content */
.post-excerpt,
.post-content p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 0.8rem;
    /* Limit to 4 lines with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Standard CSS equivalent */
    line-clamp: 4;
}

/* Read more link */
.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.read-more:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* CTA section */
.blog-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to right, rgba(26, 115, 232, 0.05), rgba(26, 115, 232, 0.1));
    border-radius: 8px;
}

.blog-cta p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}
