/* Blog specific styles */
.blog-section {
    padding-top: 50px;
}

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

.blog-post {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 10px;
}

.blog-post h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-post p {
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Newsletter section styling */
.newsletter-section {
    padding: 60px 0;
    background-color: var(--light-blue);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.newsletter-form {
    display: flex;
    margin-top: 30px;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-family: 'Open Sans', sans-serif;
}

.newsletter-form button {
    padding: 15px 30px;
    border-radius: 0 4px 4px 0;
    border: none;
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }
}
