/*=========================================
BLOG DETAILS CSS
DeepCleanerz
=========================================*/

:root {
    --primary: #4dbc71;
    --primary-dark: #3fa463;
    --light: #f8fbf9;
    --text: #222;
    --text-light: #666;
    --border: #e8e8e8;
    --white: #fff;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    transition: .3s;
}

section {
    position: relative;
}

/*=========================================
HERO
=========================================*/

.blog-details-hero {

    padding: 140px 0 90px;

    background: linear-gradient(rgba(77, 188, 113, .92),
            rgba(77, 188, 113, .92)),
        url("../images/blog/blog-banner.webp");

    background-size: cover;
    background-position: center;

}

.blog-details-hero h1 {

    color: #fff;

    font-size: 60px;

    font-weight: 700;

    line-height: 1.2;

    margin-top: 25px;

}

.blog-meta {

    display: flex;

    justify-content: center;

    gap: 30px;

    flex-wrap: wrap;

    margin-top: 30px;

}

.blog-meta span {

    color: #fff;

    font-size: 16px;

}

.blog-meta i {

    margin-right: 8px;

}

/*=========================================
BREADCRUMB
=========================================*/

.breadcrumb-box {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}

.breadcrumb-box a {

    color: #fff;

    opacity: .9;

}

.breadcrumb-box span {

    color: #fff;

    font-weight: 600;

}

.breadcrumb-box i {

    color: #fff;

    font-size: 12px;

}

/*=========================================
DETAILS SECTION
=========================================*/

.blog-details-section {

    padding: 90px 0;

}

.blog-details-image img {

    width: 100%;

    border-radius: 25px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);

}

/*=========================================
CONTENT
=========================================*/

.blog-content {

    margin-top: 50px;

}

.blog-content .lead {

    font-size: 22px;

    line-height: 1.9;

    color: #444;

    margin-bottom: 35px;

}

.blog-content h2 {

    font-size: 38px;

    font-weight: 700;

    margin: 50px 0 20px;

    color: #222;

}

.blog-content h3 {

    font-size: 30px;

    margin: 40px 0 15px;

    font-weight: 700;

}

.blog-content p {

    font-size: 17px;

    color: #666;

    line-height: 1.9;

    margin-bottom: 22px;

}

.blog-content ul {

    padding-left: 22px;

    margin: 25px 0;

}

.blog-content ul li {

    margin-bottom: 12px;

    color: #555;

    font-size: 17px;

}

.blog-content img {

    width: 100%;

    border-radius: 20px;

    margin: 40px 0;

}

/*=========================================
BLOCKQUOTE
=========================================*/

blockquote {

    background: #eef8f1;

    border-left: 5px solid var(--primary);

    padding: 35px;

    margin: 40px 0;

    border-radius: 12px;

    font-size: 22px;

    font-style: italic;

    color: #333;

}

/*=========================================
TIP BOX
=========================================*/

.blog-tip-box {

    background: #f5fcf7;

    border-left: 5px solid var(--primary);

    padding: 30px;

    border-radius: 15px;

    margin: 45px 0;

}

.blog-tip-box i {

    font-size: 32px;

    color: var(--primary);

}

.blog-tip-box h4 {

    font-size: 24px;

    font-weight: 700;

}

.blog-tip-box p {

    margin-top: 15px;

    margin-bottom: 0;

}

/*=========================================
QUOTE BOX
=========================================*/

.quote-box {

    background: var(--primary);

    padding: 50px;

    border-radius: 20px;

    text-align: center;

    margin: 50px 0;

}

.quote-box i {

    font-size: 50px;

    color: #fff;

}

.quote-box p {

    color: #fff;

    font-size: 28px;

    font-weight: 600;

    margin-top: 20px;

}

/*=========================================
FAQ
=========================================*/

.faq-box {

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 15px;

    padding: 25px;

    margin-bottom: 20px;

}

.faq-box h5 {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 12px;

}

.faq-box p {

    margin-bottom: 0;

}

/*=========================================
TAGS
=========================================*/

.blog-tags {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin: 50px 0;

}

.blog-tags h5 {

    margin-right: 10px;

    margin-bottom: 0;

}

.blog-tags a {

    padding: 10px 18px;

    border: 1px solid #ddd;

    border-radius: 30px;

    color: #555;

}

.blog-tags a:hover {

    background: var(--primary);

    color: #fff;

    border-color: var(--primary);

}

/*=========================================
SOCIAL SHARE
=========================================*/

.share-post {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 50px 0;
}

.share-post h5 {
    margin: 0 10px 0 0;
    font-size: 22px;
    font-weight: 700;
}

.share-post a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f4f4;
    color: #333;
    font-size: 18px;
    transition: .35s;
}

.share-post a:hover {
    background: #4dbc71;
    color: #fff;
    transform: translateY(-4px);
}


/*=========================================
AUTHOR BOX
=========================================*/

.author-box {
    display: flex;
    gap: 25px;
    align-items: center;
    background: #f8faf9;
    border-radius: 20px;
    padding: 35px;
    margin: 60px 0;
}

.author-box img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.author-box p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}


/*=========================================
POST NAVIGATION
=========================================*/

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 60px 0;
}

.post-navigation a {
    flex: 1;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 18px 25px;
    color: #333;
    font-weight: 600;
    transition: .35s;
}

.post-navigation a:last-child {
    text-align: right;
}

.post-navigation a:hover {
    background: #4dbc71;
    color: #fff;
}


/*=========================================
SIDEBAR
=========================================*/

.blog-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .06);
}

.sidebar-widget h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}


/*=========================================
SEARCH
=========================================*/

.sidebar-search {
    position: relative;
}

.sidebar-search input {
    width: 100%;
    height: 55px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0 55px 0 18px;
    outline: none;
}

.sidebar-search input:focus {
    border-color: #4dbc71;
}

.sidebar-search button {
    position: absolute;
    right: 7px;
    top: 7px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #4dbc71;
    color: #fff;
}


/*=========================================
RECENT POSTS
=========================================*/

.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.recent-post:last-child {
    margin-bottom: 0;
}

.recent-post img {
    width: 95px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.recent-post-content h6 {
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-post-content a {
    color: #222;
}

.recent-post-content a:hover {
    color: #4dbc71;
}

.recent-post-content span {
    font-size: 14px;
    color: #777;
}


/*=========================================
CATEGORIES
=========================================*/

.sidebar-category {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-category li {
    border-bottom: 1px solid #eee;
}

.sidebar-category li:last-child {
    border: none;
}

.sidebar-category a {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    color: #444;
    transition: .3s;
}

.sidebar-category a:hover {
    color: #4dbc71;
    padding-left: 8px;
}


/*=========================================
POPULAR TAGS
=========================================*/

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    border: 1px solid #ddd;
    padding: 10px 18px;
    border-radius: 30px;
    color: #444;
    transition: .3s;
}

.tags a:hover {
    background: #4dbc71;
    border-color: #4dbc71;
    color: #fff;
}


/*=========================================
RELATED POSTS
=========================================*/

.related-posts {
    margin-top: 100px;
}

.related-posts h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
}

.related-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    transition: .35s;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-8px);
}

.related-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: .4s;
}

.related-card:hover img {
    transform: scale(1.06);
}

.related-content {
    padding: 25px;
}

.related-content span {
    color: #4dbc71;
    font-size: 14px;
    font-weight: 600;
}

.related-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0;
}

.related-content p {
    color: #666;
    line-height: 1.7;
}

.related-content a {
    color: #4dbc71;
    font-weight: 600;
}

.related-content a i {
    margin-left: 6px;
}


/*=========================================
COMMENTS
=========================================*/

.comments-area {
    margin-top: 100px;
}

.comments-area h2 {
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 700;
}

.comment-box {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.comment-box img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-content h5 {
    font-size: 20px;
    margin-bottom: 8px;
}

.comment-content span {
    color: #888;
    font-size: 14px;
}

.comment-content p {
    margin-top: 12px;
    line-height: 1.8;
    color: #666;
}

.comment-content a {
    color: #4dbc71;
    font-weight: 600;
}


/*=========================================
COMMENT FORM
=========================================*/

.comment-form {
    margin-top: 70px;
}

.comment-form h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}

.comment-form .form-control {
    height: 55px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: none;
    margin-bottom: 20px;
}

.comment-form textarea.form-control {
    height: 180px;
    resize: none;
}

.comment-form .btn {
    background: #4dbc71;
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
}

.comment-form .btn:hover {
    background: #3ea761;
}

/*=========================================
NEWSLETTER SECTION
=========================================*/

.newsletter-section {
    padding: 100px 0;
    background: #f8faf9;
}

.newsletter-box {
    background: linear-gradient(135deg, #4dbc71, #41af66);
    padding: 70px;
    border-radius: 25px;
    text-align: center;
}

.newsletter-box h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-box p {
    color: #fff;
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.newsletter-form {
    max-width: 650px;
    margin: auto;
}

.newsletter-form .form-control {
    height: 58px;
    border: none;
    border-radius: 12px 0 0 12px;
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 0 12px 12px 0;
    background: #222;
    color: #fff;
    border: none;
    padding: 0 35px;
}

.newsletter-form .btn:hover {
    background: #111;
}


/*=========================================
CTA SECTION
=========================================*/

.blog-cta {
    padding: 100px 0;
}

.blog-cta-box {
    background: #4dbc71;
    border-radius: 25px;
    padding: 70px;
    text-align: center;
}

.blog-cta-box h2 {
    color: #fff;
    font-size: 52px;
    font-weight: 700;
}

.blog-cta-box p {
    color: #fff;
    font-size: 18px;
    max-width: 700px;
    margin: 20px auto 40px;
}

.blog-cta-box .btn {
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
}

.blog-cta-box .btn-light {
    color: #4dbc71;
}


/*=========================================
HOVER EFFECTS
=========================================*/

.blog-card,
.related-card,
.sidebar-widget,
.author-box,
.faq-box,
.blog-tip-box {
    transition: .35s;
}

.blog-card:hover,
.related-card:hover,
.sidebar-widget:hover {
    transform: translateY(-8px);
}

.blog-details-image img,
.related-card img,
.recent-post img {
    transition: .4s;
}

.blog-details-image:hover img,
.related-card:hover img {
    transform: scale(1.04);
}

.btn {
    transition: .3s;
}

.btn:hover {
    transform: translateY(-2px);
}


/*=========================================
TABLET
=========================================*/

@media(max-width:991px) {

    .blog-details-hero {
        padding: 110px 0 70px;
    }

    .blog-details-hero h1 {
        font-size: 42px;
    }

    .blog-sidebar {
        position: static;
        margin-top: 60px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .post-navigation {
        flex-direction: column;
    }

    .related-posts h2,
    .comment-form h2,
    .comments-area h2 {
        font-size: 36px;
    }

    .newsletter-box,
    .blog-cta-box {
        padding: 50px 30px;
    }

    .newsletter-box h2,
    .blog-cta-box h2 {
        font-size: 38px;
    }

}


/*=========================================
MOBILE
=========================================*/

@media(max-width:767px) {

    .blog-details-section {
        padding: 70px 0;
    }

    .blog-details-hero h1 {
        font-size: 34px;
    }

    .blog-content .lead {
        font-size: 18px;
    }

    .blog-content h2 {
        font-size: 28px;
    }

    .blog-content h3 {
        font-size: 24px;
    }

    blockquote {
        padding: 25px;
        font-size: 18px;
    }

    .quote-box {
        padding: 35px 20px;
    }

    .quote-box p {
        font-size: 22px;
    }

    .blog-meta {
        gap: 15px;
    }

    .blog-meta span {
        font-size: 14px;
    }

    .share-post {
        justify-content: center;
    }

    .blog-tags {
        justify-content: center;
    }

    .comment-box {
        flex-direction: column;
    }

    .comment-box img {
        width: 65px;
        height: 65px;
    }

    .newsletter-box,
    .blog-cta-box {
        padding: 35px 20px;
    }

    .newsletter-box h2,
    .blog-cta-box h2 {
        font-size: 30px;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .form-control {
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .newsletter-form .btn {
        width: 100%;
        border-radius: 12px;
        height: 52px;
    }

}


/*=========================================
EXTRA MOBILE
=========================================*/

@media(max-width:480px) {

    .blog-details-hero {
        padding: 90px 0 60px;
    }

    .blog-details-hero h1 {
        font-size: 28px;
    }

    .blog-content .lead {
        font-size: 16px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

    .blog-content p,
    .blog-content li {
        font-size: 15px;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .recent-post img {
        width: 75px;
        height: 70px;
    }

    .related-content {
        padding: 20px;
    }

    .related-content h4 {
        font-size: 20px;
    }

    .author-box {
        padding: 25px;
    }

    .author-box img {
        width: 85px;
        height: 85px;
    }

    .blog-tip-box,
    .faq-box {
        padding: 20px;
    }

    .comment-form .btn {
        width: 100%;
    }

}


/*=========================================
SMOOTH SCROLL
=========================================*/

html {
    scroll-behavior: smooth;
}


/*=========================================
UTILITY
=========================================*/

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

::selection {
    background: #4dbc71;
    color: #fff;
}