@use "@/src/assets/scss/variables" as *;
@use "@/src/assets/scss/partial" as *;

.BlogDetailsWrap{
    .BlogDetailsBanner{
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 30px 0px;
        padding-top: 10px;
        @media screen and (min-width: $lg) {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }
        @media screen and (min-width: $xl) {
            gap: 40px;
            padding: 30px 0px;
        }
        .BlogDetailsBannerContent{
            .CategoriesLink{
                font-size: $fs16;
                color: $primaryColor;
                text-decoration: none;
                font-weight: $fw400;
                &:hover{
                    color: $secondaryColor;
                }
            }
            h1{
                margin: 10px 0px;
                line-height: normal;
                @media screen and (min-width: $md) {
                    margin: 20px 0px;
                }
            }
            .TimeandDateWrap{
                margin: 0;
                padding: 0;
                list-style: none;
                display: flex;
                gap: 20px;
                align-items: center;
                li{
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    list-style-type: none;
                    font-size: $fs16;
                    color: $grey667Color;
                    i{
                        width: 20px;
                        height: 20px;
                        background-color: $grey667Color;
                    }
                }
            }
        }
        .BlogImgWrap{
            border-radius: 15px;
            overflow: hidden;
            height: 200px;
            width: 100%;
            @media screen and (min-width: $xsm) {
                height: 300px;
            }
            @media screen and (min-width: $lg) {
                max-width: 500px;
                height: 320px;
                border-radius: 20px;
            }
            @media screen and (min-width: $xl) {
                max-width: 570px;
                height: 400px;
                border-radius: 25px;
            }
            @media screen and (min-width: $xxl) {
                max-width: 630px;
            }
            @media screen and (min-width: $xxxl) {
                max-width: 700px;
            }
            img{
                object-position: center;
                object-fit: cover;
                width: 100%;
                height: 100%;
                border-radius: 10px;
            }
        }
    }
    .BlogDetailsContentWrap{
        padding-bottom: 30px;
        // @media screen and (min-width: $sm) {
        //     padding-bottom: 40px;
        // }
        // @media screen and (min-width: $md) {
        //     padding-bottom: 50px;
        // }
        // @media screen and (min-width: $lg) {
        //     padding-bottom: 60px;
        // }
        a{
            color: $primaryColor;
            text-decoration: none;
            font-weight: $fw400;
            &:hover{
                text-decoration: underline;
            }
        }
        figure{
            width: 100% !important;
            //justify-content: start !important;
            margin-bottom: 16px;
            br{
              display: none;
            }
            p:contains('&nbsp;') {
              display: none;
            }
            .hide-nbsp{
              display: none;
            }
            
              &.image {
                img {
                    display: block;
                    // margin: 0 auto;
                    max-width: 100%;
                    min-width: 50px;
                  }
              }
            #content{
              p{
                &:last-child{
                  margin-bottom: 0;
                }
              }
            }
          }
           
        // img{
        //     object-position: center;
        //     object-fit: cover;
        //     width: 100% !important;
        //     height: 200px;
        //     border-radius: 15px;
        //     @media screen and (min-width: $xsm) {
        //         border-radius: 20px;
        //         height: 300px;
        //     }
        //     @media screen and (min-width: $lg) {
        //         border-radius: 20px;
        //     }
        //     @media screen and (min-width: $xl) {
        //         border-radius: 25px;
        //         height: 350px;
        //     }
        // }
        h2,h3,h4,h5,h6{
            margin-bottom: 12px;
            @media screen and (min-width: $sm) {
                margin-bottom: 16px;
            }
        }
        p,ul{
            margin-bottom: 16px;
            @media screen and (min-width: $sm) {
                margin-bottom: 25px;
            }
            @media screen and (min-width: $md) {
                margin-bottom: 30px;
            }
        }
        p,ul li {
            color: $grey667Color;
            font-weight: $fw400;
        }
        ul{
            li{
                margin-bottom: 2px;
            }
        }
        .DiscList{
            list-style: disc;
        }
        .OrderList{
            list-style: decimal;
        }
    }
}

