﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');


:root {
    --theme-font: "Inter", sans-serif;
    --blog_details_banner: #4A5EE5;
}

h2,
h1,
h3,
h4,
h5,
h6,
p,
a,
div,
span {
    font-family: var(--theme-font);
    text-decoration: none;
}

.blog, .blog_detail {
    margin: 100px auto 0px;
}

._search_blog_category {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    align-items: baseline;
    gap: 20px;
}

    ._search_blog_category ul {
        display: flex;
        column-gap: 20px;
        row-gap: 10px;
        list-style: none;
        flex-wrap: wrap;
    }

        ._search_blog_category ul li a {
            text-decoration: none;
            color: #000;
            transition: 100ms linear;
        }

            ._search_blog_category ul li a:hover {
                color: #4A5EE5;
            }

.search {
    position: relative;
    display: flex;
    gap: 6px;
}

    .search i {
        /* position: absolute; */
        font-size: 14px;
    }

    .search input {
        border: none;
        /* position: absolute; */
        font-family: var(--theme-font);
        top: 0;
    }

        .search input:focus {
            outline: none;
        }

.blog_row {
    width: 100%;
    height: auto;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
}

    .blog_row ._blog_col {
        width: 50%;
    }

        .blog_row ._blog_col ._blog_img {
            box-shadow: 0px 0px 5px 2px #d7d7d7;
        }

        .blog_row ._blog_col img {
            width: 100%;
        }

        .blog_row ._blog_col h2 {
            font-size: 30px;
            width: 80%;
            line-height: 1.5;
            font-weight: 600;
        }

        .blog_row ._blog_col p {
            font-size: 16px;
            line-height: 1.6;
            font-weight: 500;
            width: 85%;
            margin-top: 15px;
        }

.blogs_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 40px;
    column-gap: 70px;
    margin: 92px auto 20px;
}

    .blogs_row .blogs_col_ {
        width: 30%;
        /* border: 1px solid #e2e2e2; */
        padding: 2px;
        /* border-radius: 10px;
    box-shadow: 0px 0px 3px 0px #d5c9c9; */
        overflow: hidden;
    }



        .blogs_row .blogs_col_ img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0px 0px 3px 0px #d5c9c9;
            transition: 200ms linear;
        }

        .blogs_row .blogs_col_ ._blog_img {
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0px 0px 3px 0px #e5e5e5;
        }

        .blogs_row .blogs_col_:hover img {
            transform: scale(1.1);
        }

        .blogs_row .blogs_col_ h3 {
            font-size: 22px;
            line-height: 1.6;
            font-weight: 600;
            margin-top: 14px;
            color: #000;
        }

            .blogs_row .blogs_col_ h3:hover {
                color: blue !important;
            }

        .blogs_row .blogs_col_ p {
            margin-top: 10px;
            line-height: 1.6;
            font-size: 16px;
            font-weight: 400;
        }


/* Blog Details page style start ------------- */
/* Blog Details page style start ------------- */

.blog_details_banner {
    width: 100%;
    /* min-height: 500px; */
    margin: 0px auto;
    background: var(--blog_details_banner);
    padding: 70px 0px;
}

.blog_details ._blog_details_row_1 {
    width: 100%;
    display: flex;
    align-items: center;
}

    .blog_details ._blog_details_row_1 .blog_details_col {
        width: 50%;
    }

        .blog_details ._blog_details_row_1 .blog_details_col img {
            width: 380px;
            margin: 0px auto;
            ;
        }

        .blog_details ._blog_details_row_1 .blog_details_col h1 {
            font-size: 60px;
            line-height: 90px;
            font-weight: 600;
            color: white;
            text-transform: capitalize;
        }

.blog_details_row_2 {
    display: flex;
    margin: 70px auto 0px !important;
    height : 100vh;
    position : sticky;
    top : 0;
}

    .blog_details_row_2 ._b_col_left {
        width: 390px;
        height : 100%;
        overflow-y : scroll;
    }

        .blog_details_row_2 ._b_col_left h4 {
            position: relative;
            display: block;
            font-size: 20px;
            margin-bottom: 25px;
            text-transform: uppercase;
            padding: 6px 10px;
            font-weight: 400;
            background: rgba(112, 112, 112, 35%);
            width: fit-content;
        }

        .blog_details_row_2 ._b_col_left span {
            display: block;
            width: 100px;
            height: 1px;
            background: rgba(112, 112, 112, 35%);
            margin-bottom: 20px;
        }

        .blog_details_row_2 ._b_col_left ul {
            display: flex;
            flex-direction: column;
            gap: 5px;
            padding: 0px 5px 0px 0px;
        }

            .blog_details_row_2 ._b_col_left ul li a {
                font-size: 13px;
                text-decoration: underline;
                color: #000;
                transition: 200ms linear;
            }

                .blog_details_row_2 ._b_col_left ul li a:hover {
                    color: #4A5EE5 !important;
                }

.active_link {
    color: #4A5EE5 !important;
}

.blog_details_row_2 ._b_col_right {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding-left: 20px;
}

    .blog_details_row_2 ._b_col_right h2 {
        font-size: 40px;
        margin-bottom: 35px;
        font-weight: 600;
    }

    .blog_details_row_2 ._b_col_right p img {
        width: 375px;
        height: auto !important;
    }

    .blog_details_row_2 ._b_col_right p {
        font-size: 18px;
        line-height: 1.7;
        letter-spacing: 0.4px;
        font-weight: 400;
        margin: 40px auto;
    }

        .blog_details_row_2 ._b_col_right p strong {
            font-weight: 500;
        }

.blog .sales {
    margin: 0px auto 30px !important;
}

.blog_detail .sales {
    margin-top: 0;
    margin-bottom: 40px;
}

.latest_blogs h2 {
    color: #2a2a2a;
    font-size: 55px;
    font-weight: 700;
    letter-spacing: 0.5px;
    /* margin-top: 20px; */
    margin-bottom: 36px;
}

.latest_b_row_1 {
    display: grid;
    grid-template-columns: 63% 30%;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 20px;
}

.latest_b_row_1 .latest_b_col_1 {
    display: flex;
    gap: 50px;
    flex-direction: column;
}

.latest_b_row_1 .latest_b_col_1 .latest_col_1 {
    display: grid;
    grid-template-columns: 48% 48%;
    gap: 30px;
    align-items: center;
}

.latest_col_1:hover img {
    transform : scale(1.1)
}

.las_col {
    overflow : hidden;
}

.latest_b_row_1 .latest_b_col_1 .latest_col_1 h3 {
    color: #2a2a2a;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}

.latest_b_row_1 .latest_b_col_1 .latest_col_1 p {
    font-size: 16px;
    margin: 10px auto;
    line-height: 1.6;
}

/* .latest_b_row_1 .latest_b_col_1  */
.las_col img {
    width: 100%;
    border-radius: 10px;
    transition : 300ms linear;
}

.category_sec h4 {
    font-size: 20px;
    font-weight: 500;
    color: #6e748b;
    padding-bottom: 20px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #647496;
}

._category_list {
    display: flex;
    flex-wrap: wrap;
    margin: 30px auto;
    gap: 8px;
}

    ._category_list a {
        padding: 7px 15px;
        border: 1px solid #64748b;
        color: #64748b;
        display: inline-block;
        border-radius: 8px;
        transition: 200ms linear;
        font-size: 14px;
    }

        ._category_list a:hover {
            background-color: #4A5EE5;
            color: #fff;
        }

.slide_top_btn {
    height: 50px;
    width: fit-content;
    padding: 7px 15px;
    background: #00baff;
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 88;
    border-radius: 30px;
    transition: linear;
    opacity: 0;
    transition : 200ms linear;
    cursor : pointer;
}

.las_col {
    box-shadow: 0px 0px 5px 0px #ededed;
    padding: 3px;
    overflow: hidden;
    border-radius: 10px;
}

.slide_top_btn a i {
    color: #ffff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 5%;
    animation: top_up 0.8s linear infinite alternate;
}


@keyframes top_up {
    0% {
        bottom: 10%;
    }

    100% {
        bottom: 50%;
    }
}
/* ------------ different devices view screen size -------------  */
/* ------------ different devices view screen size -------------  */
@media screen and (max-width: 1440px) {
    .blogs_row .blogs_col_ {
        width: 30%;
    }

    .blogs_row {
        column-gap: 34px;
    }

        .blogs_row .blogs_col_ h3 {
            font-size: 20px;
        }
}

@media screen and (max-width: 950px) {
    .blog_row {
        flex-direction: column;
    }

        .blog_row ._blog_col {
            width: 100%;
        }

            .blog_row ._blog_col h2 {
                width: 100%;
            }

            .blog_row ._blog_col p {
                width: 100%;
            }
}

@media screen and (max-width: 1280px) {
    .blog_details ._blog_details_row_1 .blog_details_col h1 {
        font-size: 50px;
    }

    .blog_details ._blog_details_row_1 .blog_details_col img {
        width: 300px;
    }

    .blog_details_row_2 ._b_col_right h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 1030px) {
    .blogs_row .blogs_col_ h3 {
        font-size: 17px;
    }

    .blogs_row .blogs_col_ p {
        font-size: 15px;
    }

    .blog_details_row_2 {
         height: auto;
    }

    /* ------------ blog_details page ----------- */
        .blog_details_col:last-child {
        width: 40% !important;
    }

    .blog_details_col:last-child {
        width: auto !important;
    }

    .blog_details ._blog_details_row_1 {
        justify-content: space-between;
    }

        .blog_details ._blog_details_row_1 .blog_details_col h1 {
            font-size: 42px !important;
        }

    .latest_b_row_1 {
        display: flex;
        flex-direction: column-reverse;
    }

    .latest_blogs h2 {
        font-size: 40px;
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 800px) {
    .blogs_row .blogs_col_ {
        width: 46%;
    }

    .blogs_row {
        margin: 50px auto;
    }

    /* ------------ blog_details page style ----------- */
    .blog_details ._blog_details_row_1 {
        justify-content: center;
        flex-direction: column;
        gap: 37px;
    }

    .blog_details_row_2 ._b_col_right {
        padding-left: 0px !important;
    }

        .blog_details_row_2 ._b_col_right h2 {
            margin-bottom: 21px;
        }

    .blog_details ._blog_details_row_1 .blog_details_col h1 {
        font-size: 24px !important;
        line-height: 1.6 !important;
    }

    .blog_details ._blog_details_row_1 .blog_details_col {
        width: 100% !important;
    }

        .blog_details ._blog_details_row_1 .blog_details_col img {
            width: 45% !important;
        }

    ._b_col_left {
        display: none;
    }

    .blog_details_row_2 ._b_col_right p {
        font-size: 16px;
    }

    .blog_details_row_2 ._b_col_right p {
        margin: 20px auto;
    }

    .latest_b_row_1 .latest_b_col_1 .latest_col_1 h3 {
        font-size: 18px;
    }

    .col_ano span {
        font-size: 15px;
        display: block;
        text-align: end;
    }
}

@media screen and (max-width: 600px) {
    .blogs_row .blogs_col_ {
        width: 100%;
    }

    .blogs_row {
        row-gap: 25px;
    }

    .blog_row ._blog_col h2 {
        font-size: 24px;
    }

    .blog_row ._blog_col p {
        font-size: 15px;
    }

    .blogs_row .blogs_col_ h3 {
        font-size: 17px !important;
    }

    .blog_details_row_2 ._b_col_right h2 {
        font-size: 22px !important;
    }

    .blog_details_row_2 {
        margin: 45px auto;
    }

    .latest_b_row_1 .latest_b_col_1 .latest_col_1 h3 {
        font-size: 18px !important;
    }

    .latest_b_row_1 .latest_b_col_1 .latest_col_1 {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 580px) {
    ._search_blog_category {
        flex-direction: column;
    }

    /* ------------ blog_details page ----------- */

    .blog_details_banner {
        padding: 30px 0px;
    }

    .blog_details ._blog_details_row_1 .blog_details_col img {
        width: 100% !important;
    }

    .blog_details_row_2 ._b_col_right h2 {
        font-size: 18px !important;
    }

    .blog_details_row_2 ._b_col_right p {
        font-size: 15px !important;
    }
}
