/**
 * Żłobek Strumyk - Blog Styles
 */

.blog-archive-section {
    padding: 120px 0 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    margin-bottom: 10px;
    color: #777;
    font-size: 14px;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.blog-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.blog-read-more {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

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

.pagination a,
.pagination span {
    margin: 0 5px;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: var(--gray-light);
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.pagination .current {
    background-color: var(--primary);
    color: white;
}

.no-posts {
    text-align: center;
    padding: 50px 0;
    font-size: 18px;
    color: #777;
}

/* Single Post Styles */
.single-post-section {
    padding: 120px 0 80px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.post-meta {
    color: #777;
    margin-bottom: 30px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.post-content p,
.post-content ul,
.post-content ol {
    margin-bottom: 20px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--gray);
}

.post-navigation a {
    display: flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    color: var(--primary-dark);
}

.post-navigation .nav-previous a::before {
    content: '←';
    margin-right: 10px;
}

.post-navigation .nav-next a::after {
    content: '→';
    margin-left: 10px;
}

/* Responsive Blog Styles */
@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .blog-archive-section,
    .single-post-section {
        padding: 100px 0 60px;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
} 