body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e293b;
}

/* HERO */
.blog-hero {
    text-align: center;
    padding: 80px 20px 60px;
}

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

.blog-hero h1 {
    font-size: 42px;
    margin: 20px 0 15px;
}

.blog-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: #64748b;
    font-size: 18px;
}

/* BLOG LIST */
.blog-container {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.blog-card {
    display: flex;
    gap: 60px;
    background: #ffffff;
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 80px;
    align-items: flex-start;
}

/* OBRAZ */
.blog-image {
    flex: 0 0 55%;
}

.blog-image img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 16px;
}

/* TEKST */
.blog-content {
    flex: 1;
    position: relative;
}

.blog-content h2 {
    font-size: 34px;
    margin-bottom: 25px;
}

.blog-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 18px;
}

/* DELETE */
.delete-wrapper {
    position: absolute;
    top: 0;
    right: 0;
}

.delete-btn {
    background: #c0392b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}
.blog-title-link {
    text-decoration: none;
    color: inherit;
}

.blog-title-link:hover {
    color: #4b2e83;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #4b2e83;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}
/* ================= MOBILE ================= */

@media (max-width: 900px) {

    /* ogólny layout strony */
    .blog-container,
    .blog-layout,
    .article-layout {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* blog cards */

    .blog-card {
        flex-direction: column;
        gap: 20px;
        padding: 25px 15px;
    }

    .blog-image {
        flex: none;
        width: 100%;
    }

    .blog-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .blog-content {
        width: 100%;
        text-align: left;
    }

    .blog-content h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .blog-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    /* usunięcie sidebaru artykułu */

    .on-this-page,
    .article-sidebar,
    .blog-sidebar,
    .toc {
        display: none !important;
    }

    /* artykuł na pełną szerokość */

    .article-content,
    .blog-article,
    .blog-post {
        width: 100%;
        max-width: 100%;
    }

    /* typografia artykułu */

    .article-content p {
        font-size: 17px;
        line-height: 1.75;
        margin-bottom: 18px;
    }

    .article-content h1 {
        font-size: 30px;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    .article-content h2 {
        font-size: 24px;
        margin-top: 35px;
        margin-bottom: 15px;
    }

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

    /* hero sekcja */

    .blog-hero {
        padding: 60px 20px 40px;
        text-align: center;
    }

    .blog-hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .blog-hero p {
        font-size: 16px;
    }

}

/* ================= SMALL PHONES ================= */

@media (max-width: 500px) {

    .blog-hero {
        padding: 50px 15px 35px;
    }

    .blog-hero h1 {
        font-size: 28px;
    }

    .blog-content h2 {
        font-size: 22px;
    }

    .blog-content p {
        font-size: 15px;
    }

}

/* ================= MOBILE BACK BUTTON ================= */

/* ukryty na desktopie */

.mobile-back-home {
    display: none;
}

/* pokazany na mobilce */

@media (max-width: 900px) {

    .mobile-back-home {
        display: block;
        width: fit-content;
        margin: 20px auto 40px;
        padding: 12px 22px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 8px;
        text-decoration: none;
        background: black;
        color: white;
    }

}