/* Dodatkowe style specyficzne dla bloga */

.blog-listing {
    padding: 60px 0;
}

.blog-hero {
    background-color: #3d8c40;
}

.blog-card {
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.blog-image img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

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

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

.blog-date {
    font-size: 0.85rem;
    color: #757575;
    margin-bottom: 8px;
}

.blog-content h2, .blog-content h3 {
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h2 a, .blog-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover, .blog-content h3 a:hover {
    color: #4CAF50;
}

.blog-content p {
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    margin-top: auto;
    color: #4CAF50;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2E7D32;
    text-decoration: underline;
}

/* Style dla pojedynczego artykułu */
.article {
    padding: 60px 0;
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #757575;
}

.article-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #444;
}

.article-content p {
    margin-bottom: 20px;
    color: #444;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-footer {
    max-width: 800px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.share-buttons {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.share-buttons span {
    margin-right: 15px;
    font-weight: 500;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    margin-right: 10px;
    color: #333;
    transition: all 0.3s ease;
}

.share-buttons a:hover {
    background-color: #4CAF50;
    color: #fff;
    transform: translateY(-3px);
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.related-card:hover {
    background-color: #e8f5e9;
}

.related-card img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.related-card h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.related-card h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card h4 a:hover {
    color: #4CAF50;
}

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

@media (max-width: 768px) {
    .blog-grid, .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
}