/* Recent Posts Section */
.recent-posts-section {
    padding: 5rem 0;
    background: #ffffff;
}

.recent-posts-header {
    text-align: center;
    margin-bottom: 3rem;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.recent-post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.recent-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.recent-post-image {
    height: 200px;
    overflow: hidden;
    background: #e2e8f0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recent-post-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.recent-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.recent-post-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
}

.recent-post-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
}

.recent-posts-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid #2563eb;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2563eb;
    color: #ffffff;
}

@media (max-width: 768px) {
    .recent-posts-grid {
        grid-template-columns: 1fr;
    }
}
