/* Strona article.php - Style dla pojedynczych artykułów */

/* Kontener artykułu - węższy dla lepszego czytania */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    background: #1e1e1e;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Nagłówek artykułu */
.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.article-title {
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.article-meta {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
}

/* Główne zdjęcie */
.article-hero-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 30px;
    border: 1px solid #333;
}

/* Treść artykułu (Style dla HTML w bazie) */
.article-content {
    color: #ddd;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Stylowanie elementów wewnątrz treści */
.article-content h3 { 
    color: #fff; 
    margin-top: 30px; 
    font-size: 1.5rem; 
    border-left: 4px solid var(--accent-blue); 
    padding-left: 10px; 
}

.article-content h4 { 
    color: #ccc; 
    margin-top: 25px; 
    font-size: 1.2rem; 
}

.article-content p { 
    margin-bottom: 15px; 
}

.article-content ul { 
    margin-bottom: 20px; 
    padding-left: 20px; 
    color: #ccc; 
}

.article-content li { 
    margin-bottom: 5px; 
}

.article-content b, 
.article-content strong { 
    color: #fff; 
}

/* Stopka / Nawigacja */
.article-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-home {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-lighter);
    border: 1px solid #444;
    border-radius: 4px;
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

.btn-home:hover {
    background: #333;
    color: white;
}

@media (max-width: 768px) {
    .article-container { 
        padding: 20px; 
    }
    
    .article-title { 
        font-size: 1.8rem; 
    }
    
    .article-footer {
        flex-direction: column;
        gap: 15px;
    }
}
