/* ============================================
   BLOG & CONTENT STYLES
   ============================================ */

/* --- Blog Grid (aktualnosci.html) --- */
.page-header {
    padding: 8rem 0 4rem;
    background: radial-gradient(circle at 50% 0%, rgba(0, 214, 138, 0.1) 0%, transparent 70%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0 6rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-primary);
}

.card-image {
    height: 220px;
    background: #1a1f2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 1px solid var(--border-color);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--accent-primary);
}

/* --- Article Page (Single Post) --- */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-header {
    padding: 8rem 0 3rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-lead-image {
    width: 100%;
    height: 400px;
    background: #1a1f2e;
    border-radius: 16px;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 1px solid var(--border-color);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.article-content h2 {
    font-size: 2rem;
    color: #fff;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 2.5rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.article-content strong {
    color: var(--accent-primary);
}

.specs-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-label {
    color: var(--text-muted);
}

.specs-value {
    font-weight: 600;
    color: #fff;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .article-title {
        font-size: 2.5rem;
    }

    .article-lead-image {
        height: 250px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 1rem 0;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--accent-primary);
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--accent-primary);
    font-weight: 600;
}

/* --- Related Articles --- */
.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.related-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s, border-color 0.2s;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.related-card h4 {
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.related-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}
