/* =========================================================
   BLOG CATEGORY HEADER
========================================================= */

.blog-category-header {
    position: relative;
    width: 100%;
}

.blog-category-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 25px 28px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}


/* Decorative Background */

.blog-category-header-inner::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    right: -70px;
    top: -90px;
    background: rgba(0, 0, 0, 0.025);
}

.blog-category-header-inner::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    right: 70px;
    bottom: -65px;
    background: rgba(0, 0, 0, 0.018);
}


/* =========================================================
   ICON
========================================================= */

.blog-category-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(0, 0, 0, 0.035);

    font-size: 25px;

    position: relative;
    z-index: 2;
}


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

.blog-category-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.blog-category-label {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;

    text-transform: uppercase;

    opacity: 0.55;

    margin-bottom: 4px;
}

.blog-category-label span {
    width: 24px;
    height: 2px;

    display: inline-block;

    background: currentColor;

    border-radius: 10px;
}


.blog-category-title {
    margin: 0;

    font-size: 27px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.4px;
}


.blog-category-description {
    margin: 6px 0 0;

    font-size: 14px;

    color: #777;

    line-height: 1.6;
}


/* =========================================================
   ARTICLE COUNT
========================================================= */

.blog-category-count {
    min-width: 90px;

    padding: 12px 16px;

    border-left: 1px solid rgba(0, 0, 0, 0.08);

    text-align: center;

    position: relative;
    z-index: 2;
}

.blog-category-count strong {
    display: block;

    font-size: 24px;

    line-height: 1;

    font-weight: 700;
}

.blog-category-count span {
    display: block;

    margin-top: 6px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #888;
}


/* =========================================================
   HOVER
========================================================= */

.blog-category-header-inner {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-category-header-inner:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.07);
}


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

@media (max-width: 575px) {

    .blog-category-header-inner {
        padding: 18px;
        gap: 14px;
    }

    .blog-category-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;

        border-radius: 12px;

        font-size: 20px;
    }

    .blog-category-title {
        font-size: 21px;
    }

    .blog-category-description {
        font-size: 12px;
    }

    .blog-category-count {
        display: none;
    }

}