/* --- Podstawowe style - spójność ze stroną główną --- */
body {
    font-family: 'Montserrat', sans-serif;
    color: #343a40; /* Ciemny, miękki szary dla tekstu */
    background-color: #fdfdfd; /* Bardzo jasne, prawie białe tło */
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* --- Style Nawigacji i Stopki (skopiowane dla spójności) --- */
.logo-placeholder {
    width: 45px; height: 45px; background-color: #6f42c1; color: white; display: flex;
    justify-content: center; align-items: center; font-size: 1.2rem; border-radius: 50%;
    border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.slogan-text { font-size: 0.7rem; color: #555; }
.site-footer { background-color: #2c3e50; }
.footer-heading { font-size: 1.1rem; margin-bottom: 1rem; color: #ecf0f1; font-family: 'Playfair Display', serif; }
.footer-heading i { margin-right: 8px; color: #ffc107; }
.footer-tagline, .footer-links a, .site-footer p a { color: #bdc3c7; }
.footer-links a:hover, .site-footer p a:hover { color: #ffc107; text-decoration: none; }
.social-icons .social-icon { display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; background-color: rgba(255,255,255,0.1); color: #ecf0f1; margin: 0 5px; font-size: 1.1rem; transition: all 0.3s ease; }
.social-icons .social-icon:hover { background-color: #ffc107; color: #2c3e50; }
/* --- Koniec stylów wspólnych --- */


/* === Główne style strony artykułu === */

.article-page {
    width: 100%;
}

/* 1. Zdjęcie główne */
.article-hero-image {
    width: 100%;
    height: 35vh; /* Wysokość na 35% wysokości ekranu */
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 2rem;
}
.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zdjęcie wypełnia kontener, przycinając nadmiar */
}

/* Kontener dla treści - ustawienie szerokości dla lepszej czytelności na dużych ekranach */
.article-container {
    max-width: 800px; /* Optymalna szerokość dla czytania */
}

/* 2. Nagłówek i treść */
.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50; /* Ciemny granat */
}
.article-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
}
.article-body {
    font-size: 1.1rem; /* Duża, czytelna czcionka */
    line-height: 1.8; /* Dużo przestrzeni między liniami */
    color: #343a40;
}
.article-body p {
    margin-bottom: 1.5rem;
}

/* 3. Cytat */
.spiritual-quote {
    border-left: 4px solid #6f42c1; /* Fioletowy akcent */
    padding-left: 1.5rem;
    font-size: 1.3rem;
    font-style: italic;
    color: #6f42c1;
}
.spiritual-quote .blockquote-footer {
    color: #888;
    font-style: normal;
}

/* 4. Autor */
.spiritual-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}
.author-bio-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #ffc107; /* Złoty akcent */
}
.author-name {
    margin-bottom: 0.25rem;
    color: #2c3e50;
}
.author-description {
    font-size: 0.9rem;
    color: #6c757d;
}

/* 5. Tagi */
.tags-section .tag-badge {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tags-section .tag-badge:hover {
    background-color: #6f42c1;
    color: #fff;
}

/* 6. Powiązane artykuły i komentarze - wspólny nagłówek */
.section-heading {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
    color: #343a40;
}
.related-article-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}
.related-article-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: #6f42c1;
}
.related-article-card img {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}
.related-article-card:hover img {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.related-article-card h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-top: 0.75rem;
}


/* 7. Komentarze */
.comment-form .form-control {
    border-radius: 8px;
    border-color: #ced4da;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.comment-form .form-control:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}
.btn-primary-spiritual {
    background: linear-gradient(135deg, #6f42c1, #8a63d2);
    border: none;
    color: #fff;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}
.btn-primary-spiritual:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #fff;
}
.comment-item {
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 1rem;
}
.comment-item:last-child {
    border-bottom: none;
}
.comment-author { font-weight: bold; }
.comment-date { font-size: 0.8rem; }
.comment-text { font-size: 0.95rem; }


/* Poprawki dla urządzeń mobilnych */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    .article-intro {
        font-size: 1.1rem;
    }
    .article-body {
        font-size: 1rem;
    }
    .related-article-card {
        margin-bottom: 1.5rem;
    }
}