/* BLOG.CSS - Blog page specific styles */

/* Featured Post */
.featured-post {
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid #e0e0e0;
}

.post-item.featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .post-item.featured {
        grid-template-columns: 1.5fr 1fr;
        gap: 60px;
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Post Items */
.post-image {
    margin-bottom: 20px;
}

.post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.post-item.featured .post-image img {
    height: 400px;
}

@media (min-width: 768px) {
    .post-item.featured .post-image img {
        height: 500px;
    }
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.post-date {
    color: #666;
}

.post-category {
    color: #000;
    font-weight: 500;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-item.featured .post-title {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .post-item.featured .post-title {
        font-size: 3rem;
    }
}

.post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #666;
}

.post-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.post-item.featured .post-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
}

.read-more {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #f5f5f5;
    color: #000;
}

.page-link.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}
