/* Blog specific styles */

#blog-hero {
    padding: 4rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

#blog-posts {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-grid .card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.blog-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.blog-grid .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-grid .card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.blog-grid .card .post-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-grid .card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-grid .card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

#blog-post {
    padding: 4rem 0;
}

#blog-post .container {
    max-width: 800px;
    margin: 0 auto;
}

#blog-post img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

#blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#blog-post .post-date {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    display: block;
}

#blog-post p {
    font-size: 1.1rem;
    line-height: 1.8;
}
