/* ============================================================
   ARTYKUŁ
   ============================================================ */

.article-full {
    background: var(--c-card);
    padding: 42px;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    border: 1px solid var(--c-border-soft);
}

/* === Breadcrumb === */
.breadcrumb {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--c-text-muted);
    margin-bottom: 28px;
}

.breadcrumb a {
    color: var(--c-gold);
    text-decoration: none;
    transition: color var(--t-fast);
}

.breadcrumb a:hover { color: var(--c-primary); }

.breadcrumb span { color: var(--c-text-muted); }

/* === Nagłówek === */
.article-header {
    margin-bottom: 32px;
    border-bottom: 3px solid var(--c-gold);
    padding-bottom: 22px;
}

.article-header h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--c-primary);
    margin: 0 0 14px 0;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.article-meta {
    display: flex;
    gap: 24px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--c-text-muted);
    flex-wrap: wrap;
}

.article-date, .article-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === Zdjęcie === */
.article-featured-image {
    margin: 0 auto 40px;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
    max-width: 520px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
}

/* === Treść === */
.article-content {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--c-text);
    margin-bottom: 40px;
}

.article-content .ql-editor {
    padding: 0;
    border: none;
    box-shadow: none;
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--c-text);
    overflow: visible;
}
.article-content .ql-snow.ql-toolbar { display: none; }

.ql-font-arial { font-family: 'Arial', sans-serif; }
.ql-font-georgia { font-family: 'Georgia', serif; }
.ql-font-times { font-family: 'Times New Roman', serif; }
.ql-font-lora { font-family: 'Lora', Georgia, serif; }
.ql-font-merriweather { font-family: 'Merriweather', Georgia, serif; }

.article-content p { margin-bottom: 20px; }

/* === Galeria artykułu === */
.article-gallery {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid var(--c-border-soft);
}

.article-gallery h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--c-primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-bg);
    cursor: pointer;
    transition: transform var(--t-base), box-shadow var(--t-base);
    box-shadow: var(--sh-sm);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--sh-md);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 14px;
    text-align: center;
    opacity: 0;
    transition: opacity var(--t-base);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* === Lightbox === */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.2);
    border-radius: var(--r-sm);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    font-size: 2.8rem;
    color: white;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: color var(--t-fast);
}

.lightbox-close:hover { color: var(--c-gold-light); }

.lightbox-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2.6rem;
    padding: 18px 22px;
    cursor: pointer;
    transition: background var(--t-fast);
    z-index: 10001;
    border-radius: var(--r-sm);
}

.lightbox-nav button:hover { background: rgba(184, 134, 11, 0.7); }

#lightbox-prev { left: 22px; }
#lightbox-next { right: 22px; }

/* === Wideo === */
.article-videos {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid var(--c-border-soft);
}

.article-videos h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--c-primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.videos-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-player video {
    width: 100%;
    max-width: 100%;
    border-radius: var(--r-md);
    background: #000;
    box-shadow: var(--sh-md);
}

/* === Stopka artykułu === */
.article-footer {
    margin-top: 48px;
    padding-top: 30px;
    border-top: 2px solid var(--c-border-soft);
}

.btn-back {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-light) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--r-sm);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--t-base), box-shadow var(--t-base);
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.25);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-gold);
    color: white;
}

/* === Responsive === */
@media (max-width: 768px) {
    .article-full { padding: 22px 18px; }
    .article-header h1 { font-size: 1.7rem; }
    .article-content { font-size: 1rem; }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .gallery-item img { height: 150px; }
    .lightbox-nav button { font-size: 1.9rem; padding: 14px 18px; }
    .video-player video { border-radius: var(--r-sm); }
}
