/* ================= HERO ================= */

.blog-hero-single {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;

    max-width: 1400px;
    margin: 0 auto;

    /* WAŻNE — ta sama wartość co main */
    padding: 100px 40px 60px 40px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    line-height: 1.15;
    margin: 20px 0;
    color: #2a1d4a;
    letter-spacing: -0.5px;
}

.blog-category {
    font-size: 12px;
    background: #ececf3;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-excerpt {
    font-size: 18px;
    line-height: 1.7;
    color: #000;
    margin-bottom: 20px;
    max-width: 600px;
}

.post-meta {
    font-size: 14px;
    color: #777;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* ================= MAIN LAYOUT ================= */

.blog-main-layout {
    display: flex;
    gap: 80px;

    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;

    align-items: flex-start;   /* KLUCZ */
}


/* ================= SIDEBAR ================= */

.blog-sidebar {
    width: 260px;
    position: sticky;
    top: 120px;
}

.blog-content {
    flex: 1;
}

.blog-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

.blog-sidebar li {
    margin-bottom: 12px;
}

.blog-sidebar a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: 0.2s;
}

.blog-sidebar a:hover {
    color: #2a1d4a;
}


/* ================= CONTENT ================= */

/* USUWAMY OGRANICZENIE SZEROKOŚCI */
.blog-content {
    width: 100%;
    max-width: none;
}
.text-section {
    margin-top: 30px;
}

.text-section p {
    font-size: 18px;
    line-height: 1.9;
    color: #000;
    margin-bottom: 30px;
}

.text-section p {
    font-size: 18px;
    line-height: 1.9;
    color: #000;
    margin-bottom: 30px;
}

.image-section {
    margin: 60px 0;
}

.image-section img {
    width: 100%;
    border-radius: 8px;
}
.text-section ul {
    margin: 30px 0;
    padding-left: 22px;
}

.text-section li {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.9;
}

.text-section h2,
.text-section h3 {
    margin-top: 40px;
    margin-bottom: 16px;
}


/* ================= RESPONSIVE ================= */

/* ================================================= */
/* ================= MOBILE ARTICLE ================= */
/* ================================================= */

@media (max-width: 900px) {

    /* HERO */

    .blog-hero-single {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 80px 20px 40px 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.25;
    }

    .hero-excerpt {
        font-size: 20px;
        line-height: 1.7;
        margin: 0 auto 20px auto;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        border-radius: 10px;
    }

    /* MAIN LAYOUT */

    .blog-main-layout {
        display: block;
        padding: 40px 20px;
    }

    /* USUWAMY SIDEBAR */

    .blog-sidebar {
        display: none !important;
    }

    /* CONTENT CENTER */

    .blog-content {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    /* TYPOGRAPHY */

    .text-section p {
        font-size: 22px;
        line-height: 1.85;
        margin-bottom: 26px;
    }

    .blog-content h1 {
        font-size: 30px;
    }

    .blog-content h2 {
        font-size: 26px;
        margin-top: 40px;
        margin-bottom: 16px;
    }

    .blog-content h3 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 12px;
    }

    /* IMAGES */

    .image-section img {
        width: 100%;
        border-radius: 10px;
    }

}
.mobile-back{
display:none;
}

@media(max-width:900px){

.mobile-back{
display:inline-block;
margin:20px;
font-size:12px;
background:#ececf3;
padding:6px 12px;
border-radius:6px;
font-weight:600;
letter-spacing:1px;
text-decoration:none;
color:#000;
}

.mobile-back:hover{
background:#e0e0ea;
}
#mainHeader .logo{
transform:scale(0.85);
transform-origin:left center;
}

}