/* Nagłówek listy bloga */
.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 3.25rem;
    background-color: #191a1f;
    background-image:
        radial-gradient(760px 320px at 15% -10%, rgba(254, 195, 3, .16), transparent 62%),
        radial-gradient(680px 300px at 88% 0%, rgba(254, 195, 3, .09), transparent 60%),
        linear-gradient(180deg, #191a1f 0%, #1f2128 100%);
    border-bottom: 1px solid rgba(0, 0, 0, .25);
}

    /* Cienka żółta linia odgradzająca od jasnej treści */
    .blog-hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(254, 195, 3, .55) 35%, rgba(254, 195, 3, .55) 65%, transparent);
    }

.blog-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(254, 195, 3, .35);
    background-color: rgba(254, 195, 3, .08);
    color: #fec303;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.blog-hero-title {
    margin: 1.25rem 0 0;
    font-family: Exo2, Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 7vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #fff;
}

.blog-hero-rule {
    display: block;
    width: 88px;
    height: 4px;
    margin: 1.15rem auto 1.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(254, 195, 3, .25), #fec303 50%, rgba(254, 195, 3, .25));
}

.blog-hero-subtitle {
    margin: 0 auto;
    max-width: 40rem;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, .72);
}

.blog-hero-count {
    margin: 1.35rem 0 0;
    font-size: .9rem;
    color: rgba(255, 255, 255, .5);
}

    .blog-hero-count .bi {
        color: #fec303;
        margin-right: .35rem;
    }

    .blog-hero-count-sep {
        margin: 0 .5rem;
        opacity: .5;
    }

    .blog-hero-count-cat {
        color: #fec303;
        font-weight: 600;
    }

/* Chipsy filtrów kategorii */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-top: 2.25rem;
}

.blog-filter {
    padding: .5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background-color: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .8);
    font-size: .92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

    .blog-filter:hover, .blog-filter:focus-visible {
        color: #fff;
        border-color: rgba(254, 195, 3, .6);
        background-color: rgba(254, 195, 3, .12);
        transform: translateY(-1px);
    }

    .blog-filter.is-active {
        color: #191a1f;
        font-weight: 700;
        border-color: transparent;
        background-color: #fec303;
        box-shadow: 0 6px 18px rgba(254, 195, 3, .25);
    }

/* Stan pusty */
.blog-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(254, 195, 3, .12);
    color: #fec303;
    font-size: 3.25rem;
}

/* Stylizacja treści bloga (HTML z edytora Quill) */
.blog-content {
    line-height: 1.75;
}

    .blog-content p {
        margin-bottom: 1rem;
    }

    .blog-content h2,
    .blog-content h3,
    .blog-content h4 {
        margin-top: 2rem;
        margin-bottom: .75rem;
        font-weight: 600;
    }

    .blog-content ul,
    .blog-content ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .blog-content img {
        max-width: 100%;
        height: auto;
        border-radius: .5rem;
    }

    .blog-content blockquote {
        border-left: 4px solid var(--bs-primary, #feC303);
        padding-left: 1rem;
        margin: 1.5rem 0;
        font-style: italic;
        color: var(--bs-secondary-color);
    }

    .blog-content a {
        text-decoration: underline;
    }
