/*==================================================
BLOG SECTION
==================================================*/

#blogs {
    background: #000;
    padding: 90px 0;
    color: #fff;
    overflow: hidden;
}

#blogs * {
    box-sizing: border-box;
    transition: .35s ease;
}

#blogs a {
    text-decoration: none;
}

#blogs img {
    display: block;
    width: 100%;
}

#blogs .row {
    align-items: flex-start;
}



/*==================================================
CATEGORY FILTER
==================================================*/

#blogs .blog-filter {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

#blogs .blog-filter a {

    padding: 12px 22px;

    border-radius: 50px;

    background: #111;

    color: #d2d2d2;

    border: 1px solid rgba(255, 255, 255, .08);

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    font-weight: 600;

}

#blogs .blog-filter a i {

    color: #1ED760;

}

#blogs .blog-filter a:hover,
#blogs .blog-filter a.active {

    background: #1ED760;

    color: #000;

    border-color: #1ED760;

}

#blogs .blog-filter a:hover i,
#blogs .blog-filter a.active i {

    color: #000;

}


/* Category Count Badge */

#blogs .blog-filter a span {

    width: 22px;

    height: 22px;

    border-radius: 50%;

    background: #1ED760;

    color: #000;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 11px;

    font-weight: 700;

    margin-left: 4px;

    transition: .3s ease;

    flex-shrink: 0;

}

#blogs .blog-filter a:hover span,
#blogs .blog-filter a.active span {

    background: #000;

    color: #1ED760;

}


/*==================================================
BLOG LIST
==================================================*/

#blogs .blog-list {

    display: flex;

    flex-direction: column;

    gap: 28px;

}



/*==================================================
BLOG CARD
==================================================*/

#blogs .blog-card {

    display: flex;

    background: #0d0d0d;

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .08);

    min-height: 260px;

}

#blogs .blog-card:hover {

    border-color: #1ED760;

    transform: translateY(-6px);

    box-shadow: 0 18px 45px rgba(30, 215, 96, .12);

}



/*==================================================
IMAGE
==================================================*/

#blogs .blog-image {

    width: 30%;

    flex-shrink: 0;

    overflow: hidden;

    background: #050505;

}

#blogs .blog-image a {

    display: block;

    height: 100%;

}

#blogs .blog-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

#blogs .blog-card:hover .blog-image img {

    transform: scale(1.08);

}



/*==================================================
CONTENT
==================================================*/

#blogs .blog-content {

    width: 62%;

    padding: 28px;

    display: flex;

    flex-direction: column;

}



/*==================================================
META
==================================================*/

#blogs .blog-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 16px;

    margin-bottom: 18px;

}

#blogs .blog-meta span {

    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 13px;

    color: #9f9f9f;

}

#blogs .blog-meta span i {

    color: #1ED760;

}

#blogs .blog-meta .category {

    background: #1ED760;

    color: #000;

    padding: 6px 12px;

    border-radius: 30px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .3px;

}



/*==================================================
TITLE
==================================================*/

#blogs .blog-content h2 {

    margin: 0 0 16px;

    font-size: 22px;

    line-height: 1.45;

    font-weight: 700;

}

#blogs .blog-content h2 a {

    color: #fff;

}

#blogs .blog-card:hover h2 a {

    color: #1ED760;

}



/*==================================================
DESCRIPTION
==================================================*/

#blogs .blog-content p {

    color: #c3c3c3;

    /* line-height:1.8; */

    font-size: 14px;
    text-align: justify;
    margin-bottom: 25px;

}



/*==================================================
BOTTOM
==================================================*/

#blogs .blog-bottom {

    margin-top: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, .08);

}

#blogs .blog-author {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #d7d7d7;

    font-size: 14px;

}

#blogs .blog-author i {

    color: #1ED760;

}



/*==================================================
READ MORE
==================================================*/

#blogs .read-more {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #1ED760;

    font-weight: 700;

    font-size: 15px;

}

#blogs .read-more:hover {

    color: #fff;

    gap: 16px;

}



/*==================================================
EMPTY STATE
==================================================*/

#blogs .empty-blog {

    background: #101010;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 18px;

    text-align: center;

    padding: 80px 35px;

}

#blogs .empty-icon {

    width: 90px;

    height: 90px;

    border-radius: 50%;

    background: #1ED760;

    color: #000;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 34px;

    margin: 0 auto 25px;

}

#blogs .empty-blog h3 {

    color: #fff;

    margin-bottom: 12px;

}

#blogs .empty-blog p {

    color: #9f9f9f;

    line-height: 1.8;

}

/*==================================================
SIDEBAR
==================================================*/

#blogs .blog-sidebar {

    position: sticky;

    top: 100px;

}



/*==================================================
SIDEBAR CARD
==================================================*/

#blogs .sidebar-card {

    background: #0d0d0d;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 18px;

    padding: 24px;

    margin-bottom: 28px;

}

#blogs .sidebar-card:hover {

    border-color: #1ED760;

    box-shadow: 0 15px 40px rgba(30, 215, 96, .08);

}



/*==================================================
SIDEBAR TITLE
==================================================*/

#blogs .sidebar-card h3 {

    position: relative;

    color: #fff;

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 24px;

    padding-bottom: 14px;

}

#blogs .sidebar-card h3:after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 55px;

    height: 3px;

    border-radius: 50px;

    background: #1ED760;

}



/*==================================================
POPULAR POSTS
==================================================*/

#blogs .sidebar-post-list {

    display: flex;

    flex-direction: column;

    gap: 20px;

}



#blogs .sidebar-post {

    display: flex;

    align-items: center;

    gap: 15px;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, .06);

}

#blogs .sidebar-post:last-child {

    border: none;

    padding-bottom: 0;

}



#blogs .sidebar-post-image {

    width: 90px;

    height: 75px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 12px;

}

#blogs .sidebar-post-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

#blogs .sidebar-post:hover img {

    transform: scale(1.08);

}



#blogs .sidebar-post-content {

    flex: 1;

}



#blogs .sidebar-post-content h4 {

    margin: 0 0 8px;

    font-size: 15px;

    line-height: 1.5;

    font-weight: 600;

}



#blogs .sidebar-post-content h4 a {

    color: #fff;

}

#blogs .sidebar-post-content h4 a:hover {

    color: #1ED760;

}



#blogs .sidebar-post-content span {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #9c9c9c;

    font-size: 13px;

}



#blogs .sidebar-post-content span i {

    color: #1ED760;

}



/*==================================================
CATEGORY LIST
==================================================*/

#blogs .category-list {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



#blogs .category-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 14px 16px;

    border-radius: 14px;

    background: #111;

    color: #ddd;

    border: 1px solid rgba(255, 255, 255, .05);

}



#blogs .category-item div {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    font-weight: 600;

}



#blogs .category-item div i {

    color: #1ED760;

}



#blogs .category-item span {

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

    font-size: 12px;

    font-weight: 700;

}



#blogs .category-item:hover {

    background: #1ED760;

    color: #000;

    transform: translateX(6px);

}



#blogs .category-item:hover div i {

    color: #000;

}



#blogs .category-item:hover span {

    background: #000;

    color: #1ED760;

}



/*==================================================
SEARCH
==================================================*/

#blogs .blog-search {

    position: relative;

}



#blogs .blog-search input {

    width: 100%;

    height: 58px;

    border: none;

    outline: none;

    background: #111;

    color: #fff;

    border-radius: 50px;

    padding: 0 70px 0 22px;

    border: 1px solid rgba(255, 255, 255, .08);

}



#blogs .blog-search input::placeholder {

    color: #8d8d8d;

}



#blogs .blog-search input:focus {

    border-color: #1ED760;

}



#blogs .blog-search button {

    position: absolute;

    right: 6px;

    top: 6px;

    width: 46px;

    height: 46px;

    border: none;

    border-radius: 50%;

    background: #1ED760;

    color: #000;

    cursor: pointer;

    font-size: 16px;

}



#blogs .blog-search button:hover {

    transform: scale(1.08);

}

/*==================================================
PAGINATION
==================================================*/

#blogs .blog-pagination {

    margin-top: 55px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}

#blogs .blog-pagination a {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #111;

    color: #d8d8d8;

    border: 1px solid rgba(255, 255, 255, .08);

    font-weight: 600;

    font-size: 15px;

}

#blogs .blog-pagination a:hover {

    background: #1ED760;

    color: #000;

    border-color: #1ED760;

    transform: translateY(-3px);

}

#blogs .blog-pagination a.active {

    background: #1ED760;

    color: #000;

    border-color: #1ED760;

    box-shadow: 0 10px 30px rgba(30, 215, 96, .30);

}

#blogs .blog-pagination .dots {

    color: #777;

    font-size: 18px;

    padding: 0 6px;

}



/*==================================================
HOVER EFFECTS
==================================================*/

#blogs .blog-card,
#blogs .sidebar-card,
#blogs .sidebar-post,
#blogs .blog-filter a,
#blogs .blog-pagination a {

    transition: .35s ease;

}

#blogs .blog-card:hover .read-more {

    color: #fff;

}

#blogs .blog-card:hover .blog-author {

    color: #fff;

}

#blogs .blog-card:hover .blog-image img {

    transform: scale(1.08);

}



/*==================================================
FADE ANIMATION
==================================================*/

@keyframes blogFade {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

#blogs .blog-card {

    animation: blogFade .6s ease both;

}

#blogs .blog-card:nth-child(2) {

    animation-delay: .08s;

}

#blogs .blog-card:nth-child(3) {

    animation-delay: .16s;

}

#blogs .blog-card:nth-child(4) {

    animation-delay: .24s;

}

#blogs .blog-card:nth-child(5) {

    animation-delay: .32s;

}

#blogs .blog-card:nth-child(6) {

    animation-delay: .40s;

}



/*==================================================
CUSTOM SCROLLBAR
==================================================*/

::-webkit-scrollbar {

    width: 8px;

}

::-webkit-scrollbar-track {

    background: #050505;

}

::-webkit-scrollbar-thumb {

    background: #1ED760;

    border-radius: 20px;

}

::-webkit-scrollbar-thumb:hover {

    background: #18c85a;

}



/*==================================================
TEXT SELECTION
==================================================*/

::selection {

    background: #1ED760;

    color: #000;

}



/*==================================================
TABLET
==================================================*/

@media(max-width:991px) {

    #blogs {

        padding: 70px 0;

    }

    #blogs .blog-sidebar {

        position: relative;

        top: 0;

        margin-top: 40px;

    }

    #blogs .blog-card {

        flex-direction: column;

    }

    #blogs .blog-image {

        width: 100%;

        height: 260px;

    }

    #blogs .blog-content {

        width: 100%;

        padding: 24px;

    }

    #blogs .blog-content h2 {

        font-size: 22px;

    }

    #blogs .blog-filter {

        justify-content: center;

    }

}



/*==================================================
MOBILE
==================================================*/

@media(max-width:767px) {

    #blogs {

        padding: 60px 0;

    }

    #blogs .blog-image {

        height: 220px;

    }

    #blogs .blog-content {

        padding: 20px;

    }

    #blogs .blog-content h2 {

        font-size: 20px;

        line-height: 1.5;

    }

    #blogs .blog-content p {

        font-size: 14px;

    }

    #blogs .blog-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }

    #blogs .read-more {

        margin-left: 0;

    }

    #blogs .sidebar-card {

        padding: 20px;

    }

    #blogs .sidebar-post-image {

        width: 75px;

        height: 65px;

    }

    #blogs .sidebar-post-content h4 {

        font-size: 14px;

    }

    #blogs .blog-filter {

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 10px;

    }

    #blogs .blog-filter::-webkit-scrollbar {

        display: none;

    }

    #blogs .blog-filter a {

        white-space: nowrap;

        flex-shrink: 0;

    }

    #blogs .blog-pagination a {

        width: 42px;

        height: 42px;

        font-size: 14px;

    }

}



/*==================================================
SMALL MOBILE
==================================================*/

@media(max-width:480px) {

    #blogs {

        padding: 50px 0;

    }

    #blogs .blog-content {

        padding: 18px;

    }

    #blogs .blog-content h2 {

        font-size: 18px;

    }

    #blogs .blog-meta {

        gap: 10px;

        flex-direction: column;

        align-items: flex-start;

    }

    #blogs .blog-meta span {

        font-size: 12px;

    }

    #blogs .sidebar-card h3 {

        font-size: 18px;

    }

    #blogs .blog-pagination {

        gap: 8px;

    }

}



/*==================================================
SMOOTH IMAGE
==================================================*/

#blogs .blog-image img,
#blogs .sidebar-post-image img {

    transition: transform .45s ease;

}



/*==================================================
FOCUS
==================================================*/

#blogs input:focus,
#blogs button:focus,
#blogs a:focus {

    outline: none;

    box-shadow: none;

}



/*==================================================
PREMIUM BORDER GLOW
==================================================*/

#blogs .blog-card:hover,
#blogs .sidebar-card:hover {

    box-shadow:
        0 0 0 1px rgba(30, 215, 96, .25),
        0 18px 50px rgba(30, 215, 96, .12);

}



/*==================================================
LAST CARD
==================================================*/

#blogs .blog-card:last-child {

    margin-bottom: 0;

}