/* --- Aktualności: Nagłówek --- */
.blog-header {
    padding: 120px 20px 80px;
    background-color: var(--bg-color);
}

.blog-header h1 {
    font-size: 56px;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}

.blog-header .lead {
    font-size: 24px;
    color: var(--text-secondary);
}

.text-center {
    text-align: center;
}

/* --- Aktualności: Siatka Wpisów --- */
.blog-list {
    padding: 0 0 140px 0;
    background-color: var(--bg-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.blog-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.5;
}

.read-more {
    font-weight: 600;
    color: var(--accent-color, #000);
    font-size: 15px;
}

.empty-blog {
    padding: 60px;
    background: #fff;
    border-radius: 24px;
    color: var(--text-secondary);
    font-size: 18px;
}

/* --- Responsywność --- */
@media (max-width: 768px) {
    .blog-header {
        padding: 80px 20px 60px;
    }
    .blog-header h1 {
        font-size: 42px;
    }
    .blog-header .lead {
        font-size: 18px;
    }
    .blog-card {
        border-radius: 16px;
    }
    .blog-content {
        padding: 24px;
    }
}