/* Blog Page Styles */
.blog-container {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 2.5em;
    font-weight: 900;
    color: #111;
    margin-bottom: 10px;
}

.blog-header p {
    color: #666;
    font-size: 1.1em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

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

.blog-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

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

.blog-category {
    font-size: 0.8em;
    font-weight: 800;
    color: #0d47a1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.4em;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.4;
    text-decoration: none;
}

.blog-title:hover {
    color: #0d47a1;
}

.blog-excerpt {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85em;
    color: #999;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d47a1;
    font-weight: 700;
    text-decoration: none;
    margin-top: 15px;
}

.read-more:hover {
    gap: 12px;
}

@media (max-width: 600px) {
    .blog-header h1 {
        font-size: 2em;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
