// Single Meta
.ansarel-single-post-meta-wrapper{
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    
    .ansarel-author{
        .ansarel-avatar{
            width: 40px;
            border-radius: 50%;
            border: 2px solid #000;
            display: inline-flex;
            overflow: hidden;
            transition: all 0.3s;
            &:hover{
                border-color: #676ced;
            }
        }
    }
    .ansarel-meta-icon{
        color: #5751E1;
        fill: #5751E1;
    }
    > span{
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 7px;
        font-weight: 500;
        font-size: 15px;
        .ansarel-meta-icon{
            font-size: 16px;
        }
        a{
            color: #212121;
            &:hover{
                color: #676ced;
            }
        }
    }
}
// Single Pagination
.ansarel-single-post-pagination{
    .nav-links{
        display: flex;
        gap: 10px;
        .nav-previous, .nav-next{
            width: 50%;
        }
        &:has(.nav-previous){
            justify-content: start;
        }
        &:has(.nav-next){
            justify-content: end;
        }
        &:has(.nav-previous + .nav-next){
            justify-content: space-between;
        }
        a{
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #5751E1;
            word-break: break-word;
            &:hover{
                color: #676ced;
            }
            i{
                letter-spacing: 0;
                text-decoration: none;
            }
        }
        .nav-previous{
            text-align: start;
        }
        .nav-next{
            text-align: end;
        }
    }
}
// Single Share Icon
.ansarel-single-post-social-share-icons{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    a{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        font-size: 25px;
        border-radius: 50px;
        color: #fff;
        fill: #fff;
        transition: all 0.3s;
        svg{
            width: 25px;
        }
        &:hover{
            color: #fff;
            opacity: .9;
        }
    }
    .facebook{
        background-color: #3b5998;
    }
    .x-twitter {
        background-color: #000;
    }
    .envelope {
        background-color: #ea4335;
    }
    .linkedin {
        background-color: #0077b5;
    }
    .pinterest {
        background-color: #bd081c;
    }
    .telegram {
        background-color: #2ca5e0;
    }
    .whatsapp {
        background-color: #25d366;
    }
    .reddit {
        background-color: #ff4500;
    }
    .print-r{
        background-color: #000;
    }
}
// Single Author
.ansarel-single-post-author-wrapper{
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 5px 30px 0 #676ced14;
    border-radius: 10px;
    .ansarel-author-pic{
        border-radius: 50%;
        overflow: hidden;
        width: 125px;
        height: auto;
        min-height: 125px;
        box-shadow: 0 5px 30px 0 #676ced14;
        border: 3px solid #5751E1;
        line-height: 0;
        img{
            width: 100%;    
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }
    .ansarel-author-meta{
        .title{
            a{
                color: currentColor;
                &:hover{
                    color: #676ced;
                }
            }
        }
    }
}
// Comments
.ansarel-single-post-comments{
    padding: 20px;
    box-shadow: 0 5px 30px 0 #676ced14;
    border-radius: 10px;
    .ansarel-comment-list{
        .comment-body{
            position: relative;
            padding: 25px 25px 25px 70px;
            min-height: 120px;
            overflow-wrap: break-word;
            word-wrap: break-word;
            border-radius: 3px;
            z-index: 0;
            margin-bottom: 25px;
            border-bottom: 1px solid rgba(225,225,225,0.9);
            .comment-author{
                img.avatar {
                    border-radius: 60%;
                    position: absolute;
                    z-index: 0;
                    left: 0;
                    top: 28px;
                    width: 60px;
                    height: auto;
                    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%), 0 1px 5px 0 rgb(0 0 0 / 12%);
                    border-width: 2px;
                    border-style: solid;
                    border-color: rgba(104, 104, 104, 0.9)
                }
            }
            .comment-meta {
                display: flex;
                flex-wrap: wrap;
                align-items: flex-start;
                flex-direction: row;
                align-items: center;
                gap: 5px;
            }
            .comment-content {
                border: none;
                margin-top: unset;
                position: relative;
                z-index: 0;
                padding: 16px 40px 16px 0;
            }
            .reply{
                position: relative;
                inset: 0;
                a{
                    background-color: #5751E1;
                    color: #fff;
                    border-radius: 4px;
                    padding: 5px 8px;
                    font-size: 14px;
                    font-weight: 500;
                    &:hover{
                        background-color: #676ced;
                    }
                }
            }
        }
    }
    .comment-respond{
        form { 
            .comment-notes, .comment-form-cookies-consent {
                margin-top: 0;
                margin-bottom: 1rem;
            }
            :where(textarea, input[type="text"], input[type="email"], input[type="url"]){
                border-radius: 8px;
                border-color: rgba(225, 225, 225, 0.9);
                &:focus-visible, &:hover, &:focus{
                    outline-color: #5751E1;
                    border-color: #5751E1;
                }
            }
        }
        .form-submit{
            input[type="button"], input[type="submit"] {
                font-size: 14px;
                border-width: 2px;
                border-style: solid;
                border-radius: 4px;
                transition: all 0.4s ease-in-out 0s;
                background: #5751E1;
                border-color: #5751E1;
                color: #fff;
                cursor: pointer;
                &:hover{
                    background-color: #676ced;
                }
            }
        }
    }
    .comment-list .children {
        position: relative;
        padding: 0;
        margin: 0;
        margin-left: 2.5rem;
        z-index: 0;
        list-style: none;
    }
}
// Archive Title
.ansarel-archive-title{
    display: flex;
    margin-bottom: 0;
    flex-wrap: wrap;
    .archive-text{
        margin-bottom: 0.5rem;
    }
}