/* ==================================================
   UNIWERSALNY SZKIELET PODSTRON USŁUG
================================================== */

.service-content-section {
    padding: 120px 5% 100px;
    /* Więcej powietrza niż na głównej */
    background: linear-gradient(to bottom, var(--dark-bottom) 0%, var(--dark-top) 100%);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    /* Artykuł elastyczny, sidebar stały */
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-article {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
}

.blog-article h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.intro {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 3rem;
    max-width: 800px;
}

.blog-article h2 {
    font-size: 2rem;
    color: var(--accent);
    margin-top: 3rem;
}

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

.blog-article ul,
.blog-article ol {
    margin: 1rem 0 2rem 2rem;
}

.blog-article li {
    margin-bottom: 0.75rem;
}

.blog-image {
    width: 100%;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Tabela – opcjonalna */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(18, 27, 68, 0.7);
    border-radius: 8px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    border: 1px solid rgba(245, 136, 34, 0.2);
    text-align: left;
}

.comparison-table th {
    background: rgba(245, 136, 34, 0.15);
    color: var(--accent);
}

/* Cytat – opcjonalny */
.quote-block {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(245, 136, 34, 0.1);
    border-left: 6px solid var(--accent);
    font-style: italic;
    color: var(--text);
    border-radius: 4px;
}

/* FAQ – opcjonalny */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(18, 27, 68, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(245, 136, 34, 0.2);
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
    /* Pod fixed header */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-block {
    background: rgba(18, 27, 68, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(245, 136, 34, 0.2);
}

.sidebar-block h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.sidebar-block ul {
    list-style: none;
    padding: 0;
}

.sidebar-block li {
    margin-bottom: 1rem;
}

.sidebar-block a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-block a:hover {
    color: var(--accent);
}

.sidebar-cta {
    text-align: center;
}

/* Responsywność */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        /* Sidebar pod artykułem */
    }

    .blog-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .service-content-section {
        padding: 80px 5% 80px;
    }

    .blog-article h1 {
        font-size: 2.5rem;
    }
}.blog-sidebar {
    position: sticky !important;
    top: 140px !important;
    align-self: start;
    z-index: 20;
}

/* Na wszelki wypadek – blokujemy konflikty */
.service-content-section,
.container,
.blog-layout {
    overflow: visible !important;
}