/* Blog Wtyczka - Style Frontend */

.blog-wrapper {
    width: 100%;
    padding: 40px 20px;
    font-family: 'Montserrat', sans-serif;
}

.blog-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Sekcja z wpisami */
.blog-posts-section {
    background: transparent;
}

.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    background: #fff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.blog-post-item.hidden {
    display: none;
}

.blog-post-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post-date {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.blog-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 800;
    color: #333;
    line-height: 1.85;
}

.blog-post-excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.blog-post-read-more {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: underline;
    text-transform: uppercase;
    display: inline-block;
    margin-top: auto;
    transition: color 0.3s ease;
}

.blog-post-read-more:hover {
    color: #d49f58;
}

/* Sekcja archiwum */
.blog-archive-section {
    background: #e8e8e0;
    padding: 30px 20px;
    border-radius: 0;
}

.blog-archive-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.blog-archive-content {
    margin-bottom: 20px;
}

.blog-archive-year {
    margin-bottom: 20px;
}

.blog-archive-year h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.blog-archive-months {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-archive-months li {
    margin-bottom: 8px;
}

.blog-archive-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-block;
}

.blog-archive-link:hover,
.blog-archive-link.active {
    color: #d49f58;
}

.blog-show-all-btn {
    width: 100%;
    padding: 12px 20px;
    background: #d49f58;
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.blog-show-all-btn:hover {
    background: #c08f48;
}

/* Pojedynczy wpis */
.blog-single-wrapper {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.blog-single-content {
    margin: 0 auto;
    padding: 40px;
}

.blog-single-date {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.blog-single-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin: 0 0 30px 0;
    line-height: 1.3;
}

.blog-single-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #333;
    line-height: 2;
}

.blog-single-text p {
    margin: 0 0 20px 0;
}

.blog-single-text p:last-child {
    margin-bottom: 0;
}

.blog-single-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
}

.blog-single-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 12px 0;
}

.blog-single-text ul,
.blog-single-text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-single-text li {
    margin-bottom: 10px;
}

/* Powiązane wpisy (sidebar) */
.blog-related-wrapper {
    background: #e8e8e0;
    padding: 30px 20px;
    border-radius: 0;
}

.blog-related-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.blog-related-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.blog-related-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-related-item a,
.blog-related-item span {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.blog-related-item a:hover {
    color: #d49f58;
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 968px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-post-item {
        grid-template-columns: 1fr;
    }
    
    .blog-post-image {
        height: 250px;
    }
    
    .blog-single-content {
        padding: 30px 20px;
    }
    
    .blog-single-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .blog-wrapper,
    .blog-single-wrapper {
        padding: 20px 10px;
    }
    
    .blog-post-item {
        gap: 0;
    }
    
    .blog-post-image {
        height: 100%;
    }
    
    .blog-single-title {
        font-size: 24px;
    }
    
    .blog-single-text {
        font-size: 16px;
    }
}

