.resultItem{
    background-color: var(--blackClrOp5);
    border-radius: 7px;
    padding: 10px;
    grid-template-columns: auto 1fr;
    gap: 10px;
}
.resultItemImg{
    height: 80px;
    aspect-ratio: 2/1.1;
    border-radius: 7px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}
.linkTitle{
    transition: color .4s;
}
.linkTitle:hover{
    color: var(--redClr);
}
.visitNumber,.likeNumber,.cmNumber{
    padding: 2px 7px 2px 25px;
    border-radius: 5px;
    background-color: var(--blackClrOp5);
    background-position: left 6px center;
    background-repeat: no-repeat;
    background-image: url("/src/visi.svg");
    background-size: 16px;
}
.likeNumber{
    background-image: url("/src/heart.svg");
    background-size: 14px;
}
.cmNumber{
    background-image: url("/src/message.svg");
    background-size: 14px;
}
.seeItem{
    color: var(--txtSecendaryClr);
    padding: 3px 10px 3px 25px;
    background-position: left 5px center;
    background-repeat: no-repeat;
    background-image: url("/src/leftArrowBlue.svg");
    background-size: 16px;
    border-radius: 5px;
    background-color: transparent;
    transition:background-color .6s;
}
.seeItem:hover{
    background-color: var(--blackClrOp4);
}
/* blogdetails */
.coverImage{
    width: 100%;
    aspect-ratio: 2/1;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    border-radius: 12px;
}
.linkItem{
    background-image: url("/src/link.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 17px;
    border-right: 4px solid var(--txtSecendaryClr);
    background-color: var(--txtSecendaryClrOp3);
    padding: 7px 35px 7px 15px;
    transition: background-color .6s;
}
.linkItem:hover{
    background-color: var(--txtSecendaryClrOp2);
}
.imageItem{
    width: 100%;
    aspect-ratio: 2/1;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    border-radius: 12px;
}
.videoItem{
    border-radius: 12px;
}
.likeBtn,.shareBtn{
    background-image: url("/src/heart.svg");
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image .6s;
}
.likeBtn:hover{
    background-image: url("/src/heart-fill.svg");
}
.liked{
    background-image: url("/src/heart-fill.svg");
}
.shareBtn{
    background-image: url("/src/share.svg");
}
/* comment */
.commentSection{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--blackClrOp2);
}
.commentTitle{
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 4px center;
    background-image: url("/src/comment.svg");
    padding-right: 35px;
}
.commentDiv{
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
}
.commentList{
    margin-top: 15px;
    gap: 15px;
    max-height: 360px;
    overflow-y: auto;
    padding-left: 5px;

}
.commentItem{
    background-color: var(--blackClrOp7);
    border: 1px solid var(--blackClrOp3);
    box-sizing: border-box;
    padding: 10px ;
    box-sizing: border-box;
    border-radius: 7px;
}
.commentHeaderDiv{
    height: 40px;
    border-bottom: 1px solid var(--blackClrOp2);
}
.answerInfo{
    border-top: 1px dashed var(--blackClrOp1);
    margin-top: 10px;
    padding: 10px 25px 0 0;
    background-image: url("/src/verify.svg");
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: right 2px top 14px;
}
.insertCommentSection{
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--blackClrOp2);
}
.insertCommentInput{
    padding: 7px ;
    border: 1px solid var(--blackClrOp2);
    border-right: 4px solid var(--txtSecendaryClr);
    border-radius: 7px 0 0 7px ;
    outline: none;
    resize: none;
    height: 140px;
    background-color: var(--blackClrOp5);
}
.insertCommentBtn{
    background-color: var(--txtSecendaryClrOp3);
    border: 1px solid var(--txtSecendaryClr);
    border-radius: 5px;
    align-self: flex-end;
    background-image: url("/src/send.svg");
    background-repeat: no-repeat;
    background-size: 12.5px;
    background-position: left 12px center;
    transition: background-color .6s;
    width: 90px;
    height: 35px;
    justify-content: flex-start;
    padding-right: 15px;
    box-sizing: border-box;
}
.insertCommentBtn:hover{
    background-color: var(--txtSecendaryClrOp2);
}
.loaderDiv.active{
    background-color: var(--txtSecendaryClrOp3);
    border: 1px solid var(--txtSecendaryClr);
    border-radius: 5px;
    width: 90px;
    height: 35px;
    align-self: flex-end;
}
.loaderDiv.active span{
    width: 20px;
    height: 20px;
    border-right: 3px solid var(--txtAClr);
    border-top: 3px solid var(--blackClrOp4);
    border-bottom: 3px solid var(--blackClrOp4);
    border-left: 3px solid var(--txtAClr);
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotate .6s linear infinite ;
}
/* noCommentExistDiv */
.noCommentExistDiv{
    border: 1px dashed var(--blackClrOp1);
    background-color: var(--blackClrOp6);
    border-radius: 7px;
    padding: 40px 0;
    gap: 10px;
}
.noCommentTitle{
    padding-right: 25px;
    background-image: url("/src/info.svg");
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: right  center;
}

.nextCm,.previousCm{
    border-radius: 5px;
    background-color: var(--txtSecendaryClrOp2);
    border: 1px solid var(--txtSecendaryClr);
    background-size: 18px;
    background-repeat: no-repeat;
}
.nextCm{
    padding: 3px 28px 3px 15px;
    background-image: url("/src/rightArrowBlue.svg");
    background-position: right 5px center;
}
.previousCm{
    padding: 3px 15px 3px 28px  ;
    background-image: url("/src/leftArrowBlue.svg");
    background-position: left 5px center;
}
/* logFirstMessageDiv */
.offerTitle{
    padding: 5px 0 ;
    background-color: var(--blackClrOp6);
    border-radius: 7px;
    border: 1px solid var(--blackClrOp4);
    position: relative;
}
.offerTitle::after,.offerTitle::before{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width: 30px;
    height: 30px;
    background-image: url("/src/hot.svg");
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center;
}
.offerTitle::after{
    right: 10px;
}
.logFirstMessageDiv{
    border: 1px dashed var(--blackClrOp1);
    background-color: var(--blackClrOp6);
    border-radius: 7px;
    padding: 40px 0;
    gap: 10px;
}
.logFirstText{
    padding-right: 30px;
    background-image: url("/src/info.svg");
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: right 5px center;
}
.sideMenuDiv{
    border-top: 1px solid var(--blackClrOp3);
    margin-top: 20px;
    padding-top: 20px;
}
/* newPostsContainer */
.newPostsContainer{
    background-color: var(--blackClrOp5);
    border-radius: 7px;
    position: relative;
}
.newPostInfoDiv{
    padding: 15px;
}
.bottomDiv{
    transform: translateY(-15px);
}
.newPostItem{
    display: none;
    animation: fadein .4s;
}
.newPostBodyText{
    margin-top: 15px;
}
.newImage{
    width: 100%;
    aspect-ratio: 2/1;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    border-radius: 7px;
}
.imageDiv{
    position: relative;
    overflow: hidden;
    border-radius: 7px;
}
.newPostIconDiv{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    padding: 0 10px 10px;
    align-items: flex-end;
    justify-content: flex-end;
    display: none;
    pointer-events: none;
    background-image: linear-gradient(to top , #111111 , var(--blackClrOp7) );
    animation: toTop .2s;
}
.imageDivLink{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.newPostItem:hover  .newPostIconDiv{
    display: -webkit-flex;
    display: flex;
}
.newPostIconDiv span{
    color: var(--bgClr);
    background-color: #1d1d1d42;
    padding: 1px 7px 1px 25px;
}
.newPostIconDiv .visitNumber{
    background-image: url("/src/whiteVisi.svg");
}
.newPostIconDiv .likeNumber{
    background-image: url("/src/whiteHeart.svg");
}
.newPostIconDiv .cmNumber{
    background-image: url("/src/whiteMessage.svg");
}
/* indicatorList */
.indicatorList{
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.indicator{
    width: 10px;
    height: 10px;
    opacity: .5;
    border-radius: 50%;
    background-color: var(--txt7Clr);
    cursor: pointer;
}
.activeIndicator{
    width: 14px;
    height: 14px;
    opacity: 1;
}
/* sortList */
.sortItemLink{
    padding: 3px 15px;
    background-color: var(--blackClrOp5);
    border-radius: 12px;
    transition: background-color .6s;
}
.sortItemLink:hover{
    background-color: var(--txtSecendaryClrOp2);
}
.activeSortItemLink{
    background-color: var(--txtSecendaryClrOp2);
}
/* searchForm */
.searchForm{
    padding: 15px;
    background-color: var(--txtSecendaryClrOp3);
    border-radius: 7px;
}
.searchForm input{
    box-shadow:  0 0 10px var(--blackClrOp3);
    padding: 0 10px;
    border: 1px solid var(--blackClrOp3);
}
/* popularItemDiv */
.popularItemDiv{
    padding: 15px;
    background-color: var(--blackClrOp6);
    border-radius: 7px;
    position: relative;
}
.popularItemDiv .link{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
/* actionDiv */
.actionDiv{
    gap: 20px;
}
.tagsList{
    flex-wrap: wrap;
    order: 2;
}
.tag{
    padding: 3px 35px 3px 15px;
    background-color: var(--blackClrOp5);
    border-radius: 12px;
    transition: background-color .6s;
    background-position: right 10px center;
    background-size: 16px;
    background-repeat: no-repeat;
    background-image: url("/src/link.svg");
}
.tag:hover{
    background-color: var(--txtSecendaryClrOp2);
}
.shareDiv{
    justify-content: flex-end;
}
@media screen and (min-width:769px) {
    .mainAllBlogs{
        margin-top: 10px;
        grid-template-columns: 1fr .4fr;
        gap: 10px;
    }
    .commentDiv{
        display: -ms-grid;
        display: -moz-grid;
        display: grid;
        grid-template-columns: 49% 49%;
        justify-content: space-between;
    }
    .insertCommentSection{
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
    .commentList{
        margin-top: 0;
    }
    .resultList{
        grid-template-columns: 1fr !important;
    }
    .sideMenuDiv{
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }
    .offerTitle{
        font-size: 1.08em !important;
    }
    .offerTitle::after,.offerTitle::before{
        background-size: 18px;
    }
    .resultListItem:nth-child(2){
        display: none;
    }
    .actionDiv{
        grid-template-columns: 1fr auto;
        gap: 20px;
        align-items: center;
    }
    .shareDiv{
        justify-content: unset;
        order: 2;
    }
}

@media screen and (min-width:968px) {
    main{
        margin-top: 15px !important;
    }
    .mainAllBlogs{
        gap: 40px;
        grid-template-columns: 1fr .35fr;
    }
    .newPostsContainer{
        padding: 15px;
        align-items: center;
    }
    .newPostItem{
        grid-template-columns: 1fr 1.5fr;
        gap: 15px;
    }
    .newPostBodyText{
        margin-top: 10px;
    }
    .newImage{
        aspect-ratio: 1.8/1;
    }
    .newPostInfoDiv{
        padding: 0;
    }
    .bottomDiv{
        transform: unset;
        width: 60%;
        align-self: flex-end;
    }
    .resultItem{
        padding: 15px;
        gap: 30px;
    }
    .resultItemImg{
        height: 120px;
    }
}