/* Blog Header */
.blog-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Blog Categories */
.blog-categories {
    padding: 2rem;
    background-color: #f8f9fa;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.category-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #3498db;
    border-radius: 25px;
    background: transparent;
    color: #3498db;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #3498db;
    color: white;
}

/* Blog Articles */
.blog-articles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-article {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-image:hover img {
    transform: scale(1.05);
}

.article-content {
    padding: 1rem 0;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category {
    background: #3498db;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.article-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.article-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

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

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.8rem 2rem;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #1a252f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-article {
        grid-template-columns: 1fr;
    }

    .article-image {
        height: 200px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .blog-article {
        border: 2px solid #000;
    }

    .article-content p,
    .article-content li {
        color: #000;
    }

    .category-btn {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .article-image img {
        transition: none;
    }
} 