.blog-list {
    padding: 40px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    background: white;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.post-card__image {
    height: 200px;
    overflow: hidden;
}

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

.post-card:hover .post-card__image img {
    transform: scale(1.05);
}

.post-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__content h2 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #3A121C;
}

.post-card__content p {
    margin: 0 0 15px;
    color: #555;
    font-size: 14px;
    flex-grow: 1;
}

.post-card__date {
    color: #D33958;
    font-size: 12px;
}

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.pagination a {
    color: #D33958;
    text-decoration: none;
    font-weight: bold;
}

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

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}