/* hero */
.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}
.blog-hero h1 {
    font-size: 48px;
    font-weight: 600;
}
/* blog cards */
.blog_listing .blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: .3s;
}
.blog_listing .blog-card:hover {
    transform: translateY(-5px);
}
.blog_listing .blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog_listing .blog-content {
    padding: 20px;
}

.blog_listing .blog-content h5 {
    font-weight: 600;
}
.blog_listing h6{
    text-transform: capitalize !important;
}
.blog_listing .blog-content p {
    font-size: 14px;
    color: #555;
    min-height: 66px;
}
.blog_listing .blog-btn {
    background: #fa4a4a;
    border: 1px solid #fa4a4a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: all .3s ease-in-out;
}
.blog_listing .blog-btn:hover {
    background: #fff;
    color: #fa4a4a;
}
.blog_listing .blog-card .blog-content h6 {
    text-transform: unset;
}
/* sidebar */
.blog_listing .sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.blog_listing .sidebar h5 {
    font-weight: 600;
    margin-bottom: 15px;
}
.blog_listing .search-box input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}
/* pagination */
.blog_listing .pagination .page-link {
    border-radius: 6px;
    margin: 4px;
}
.sidebar_sticky {
position: sticky;
top: 20px;
}

/* BLOG CONTENT */

.blog_detail .blog-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.blog_detail .blog-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}
.blog_detail .blog-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
}
.blog_detail .blog-container p {
    line-height: 1.8;
    color: #555;
}

/* QUOTE */

.blog_detail .blog-quote {
    background: #f1f5ff;
    padding: 25px;
    border-left: 5px solid #fa4a4a;
    margin: 30px 0;
    font-style: italic;
}

/* TAGS */

.blog_detail .blog-tags a {
    display: inline-block;
    padding: 6px 14px;
    margin: 5px;
    background: #fa4a4a;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    color: #fff;
}
        /* RELATED POSTS */

        .related_blog .related-card {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
        }

        .related_blog .related-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        .related_blog .related-card a {
            color: #000;
            text-decoration: none;
        }

        .related_blog .related-content {
            padding: 15px;
        }
        
        .related_blog h6{
            text-transform: capitalize !important;
        }
        /* FAQ */

        .cust_faq-section {
            padding: 40px 0 80px;
        }

        .cust_faq-section .faq-card {
            background: #fff;
            border-radius: 14px;
            margin-bottom: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
            overflow: hidden;
        }

        .cust_faq-section .accordion-button {
            font-weight: 500;
            font-size: 16px;
            padding: 18px 20px;
        }

        .cust_faq-section .accordion-button:not(.collapsed) {
            background: #eef3ff;
            color: #fa4a4a;
        }

        .cust_faq-section .accordion-body {
            color: #555;
            line-height: 1.7;
        }


/* .cta-section {
            background: #0d6efd;
            color: #fff;
            padding: 70px 0;
            text-align: center;
        }

        .cta-section h3 {
            font-weight: 600;
            margin-bottom: 10px;
        }

        .cta-section p {    
            opacity: .9;
        }

        .cta-btn {
            background: #fff;
            color: #0d6efd;
            border-radius: 30px;
            padding: 12px 28px;
            font-weight: 500;
            text-decoration: none;
            margin-top: 15px;
            display: inline-block;
        } */
        
        
/*NEW CODE*/

.blogpage .pagination{
      display: flex;
    justify-content: center;
    align-items: center;
    background: #ccc;
    padding: 5px 10px;
    border-radius: 4px;
}
.blogpage .pagination .page-item+.active{
       background-color: #f34848;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-right: 8px;
}