/* =========================================================
   Blog List
   ========================================================= */

.blog-list-page {
    background: #fff;
}


/* =========================================================
   Breadcrumb
   ========================================================= */

.blog-breadcrumb {
    border-bottom: 1px solid #eee;
    background: #fbfdff;
}

.blog-breadcrumb-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.blog-breadcrumb-inner a,
.blog-breadcrumb-inner span {
    color: #777;
    font-size: 13px;
    line-height: 21px;
}

.blog-breadcrumb-inner a:hover {
    color: #078ad4;
}

.blog-breadcrumb-inner span {
    color: #999;
}

.blog-breadcrumb-inner i {
    width: 6px;
    height: 6px;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
    transform: rotate(45deg);
}


.blog-list-section {
    padding: 70px 0 85px;
    background: #fff;
}

.blog-list-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 55px;
}


/* =========================================================
   Left Heading
   ========================================================= */

.blog-list-heading {
    margin-bottom: 30px;
}

.blog-list-heading > span {
    display: block;
    margin-bottom: 4px;
    color: #078ad4;
    font-size: 14px;
    line-height: 22px;
}

.blog-list-heading h2 {
    margin: 0;
    color: #111;
    font-size: 30px;
    line-height: 40px;
}


/* =========================================================
   Article List
   ========================================================= */

.blog-list-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-list-item {
    min-width: 0;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}

.blog-list-item:hover {
    border-color: rgba(7, 138, 212, .25);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .07);
}


/* =========================================================
   Image
   ========================================================= */

.blog-list-img {
    width: 100%;
    min-height: 220px;
    display: block;
    overflow: hidden;
    background: #f4f4f4;
}

.blog-list-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-list-item:hover .blog-list-img img {
    transform: scale(1.04);
}


/* =========================================================
   Content
   ========================================================= */

.blog-list-content {
    min-width: 0;
    padding: 27px 30px 25px;
    display: flex;
    flex-direction: column;
}

.blog-list-meta {
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.blog-list-meta a {
    padding: 3px 9px;
    border-radius: 4px;
    background: #eef8fd;
    color: #078ad4;
    font-size: 12px;
    line-height: 19px;
}

.blog-list-meta a:hover {
    background: #078ad4;
    color: #fff;
}

.blog-list-meta time {
    color: #999;
    font-size: 12px;
    line-height: 19px;
}

.blog-list-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 28px;
}

.blog-list-content h3 a {
    color: #111;
}

.blog-list-content h3 a:hover {
    color: #078ad4;
}

.blog-list-content > p {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 22px;
}


/* =========================================================
   Read More
   ========================================================= */

.blog-list-more {
    margin-top: auto;
    color: #333;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
}

.blog-list-more i {
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.blog-list-more:hover {
    color: #078ad4;
}

.blog-list-more:hover i {
    transform: translateX(3px) rotate(45deg);
}


/* =========================================================
   Pagination
   ========================================================= */

.blog-pagination {
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blog-pagination > a,
.blog-pagination > span {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background: #fff;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.blog-pagination > span {
    border-color: transparent;
}

.blog-pagination > a:hover,
.blog-pagination > a.current {
    border-color: #078ad4;
    background: #078ad4;
    color: #fff;
}


/* Previous / Next */

.blog-page-prev i,
.blog-page-next i {
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
}

.blog-page-prev i {
    transform: rotate(-45deg);
}

.blog-page-next i {
    transform: rotate(135deg);
}


/* =========================================================
   Right Sidebar
   ========================================================= */

.blog-list-sidebar {
    min-width: 0;
}


/*
 * Keep the category panel visible while scrolling.
 * Leave space below the fixed header.
 */

.blog-category-box {
    position: sticky;
    top: 90px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #fff;
    padding: 27px 25px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .035);
}


/* =========================================================
   Sidebar Title
   ========================================================= */

.blog-sidebar-title {
    margin-bottom: 22px;
}

.blog-sidebar-title > span {
    display: block;
    margin-bottom: 3px;
    color: #078ad4;
    font-size: 13px;
    line-height: 21px;
}

.blog-sidebar-title h2 {
    margin: 0;
    color: #111;
    font-size: 24px;
    line-height: 32px;
}


/* =========================================================
   Categories
   ========================================================= */

.blog-category-list {
    border-top: 1px solid #eee;
}

.blog-category-list > a {
    min-height: 49px;
    border-bottom: 1px solid #eee;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
    transition:
        color .25s ease,
        padding-left .25s ease;
}

.blog-category-list > a::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #078ad4;
    position: absolute;
    left: 0;
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .25s ease;
}

.blog-category-list > a:hover {
    color: #078ad4;
    padding-left: 13px;
}

.blog-category-list > a:hover::before {
    opacity: 1;
}

.blog-category-list > a span {
    min-width: 0;
    font-size: 14px;
    line-height: 21px;
}

.blog-category-list > a em {
    min-width: 27px;
    height: 23px;
    padding: 0 7px;
    border-radius: 12px;
    background: #f3f5f6;
    color: #888;
    font-size: 11px;
    line-height: 23px;
    text-align: center;
    flex: 0 0 auto;
}

.blog-category-list > a:hover em {
    background: #eef8fd;
    color: #078ad4;
}



.blog-category-list > a.current {
    color: #078ad4;
    padding-left: 13px;
}

.blog-category-list > a.current::before {
    opacity: 1;
}

.blog-category-list > a.current em {
    background: #eef8fd;
    color: #078ad4;
}

.blog-category-list > a.current:hover {
    color: #078ad4;
    padding-left: 13px;
}

.blog-category-list > a.current:hover::before {
    opacity: 1;
}

.blog-category-list > a.current:hover em {
    background: #eef8fd;
    color: #078ad4;
}

/* =========================================================
   Tablet
   ========================================================= */

@media screen and (max-width: 1100px) {

    .blog-list-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 30px;
    }

    .blog-list-item {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .blog-list-content {
        padding: 22px;
    }

    .blog-list-content h3 {
        font-size: 18px;
        line-height: 25px;
    }

    .blog-list-content > p {
        font-size: 13px;
        line-height: 20px;
    }

    .blog-category-box {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media screen and (max-width: 767px) {

    .blog-breadcrumb-inner {
        min-height: 48px;
    }

    .blog-breadcrumb-inner a,
    .blog-breadcrumb-inner span {
        font-size: 12px;
    }


    .blog-list-section {
        padding: 50px 0 55px;
    }

    .blog-list-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-list-heading {
        margin-bottom: 24px;
    }

    .blog-list-heading h2 {
        font-size: 26px;
        line-height: 34px;
    }


    /* Articles */

    .blog-list-items {
        gap: 18px;
    }

    .blog-list-item {
        grid-template-columns: 1fr;
    }

    .blog-list-img {
        min-height: 0;
        aspect-ratio: 432 / 240;
    }

    .blog-list-content {
        padding: 21px 20px 23px;
    }

    .blog-list-content h3 {
        font-size: 18px;
        line-height: 25px;
    }

    .blog-list-content > p {
        font-size: 14px;
        line-height: 21px;
    }


    /* Pagination */

    .blog-pagination {
        margin-top: 30px;
        gap: 5px;
    }

    .blog-pagination > a,
    .blog-pagination > span {
        min-width: 34px;
        height: 36px;
        padding: 0 5px;
        font-size: 13px;
    }


    /* Sidebar */

    .blog-category-box {
        position: static;
        top: auto;
        padding: 23px 20px 20px;
    }

    .blog-sidebar-title h2 {
        font-size: 22px;
        line-height: 30px;
    }

}