/* Blog Specific Styles */

/* Header Override for Blog pages if needed */
.blog-header-spacer {
    height: 100px;
    /* Space for fixed navbar */
    background-color: var(--secondary-color);
}

.blog-hero {
    height: 60vh;
    min-height: 400px;
    background: url('../images/foto-pettine-IfjHaIoAoqE-unsplash.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-style: italic;
    margin-bottom: 20px;
}

/* Blog Grid */
.blog-section {
    padding: 100px 0;
    background-color: transparent;
    /* Changed from var(--bg-light) to transparent for particles */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

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

.blog-meta {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Single Article */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-header {
    text-align: center;
    padding: 120px 0 60px;
}

.article-meta {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 40px;
}

.article-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
    border-radius: 4px;
}

.article-content {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 50px;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 50px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

    .article-title {
        font-size: 2.5rem;
    }

    .article-image {
        height: 300px;
    }
}