.ah-comments-template-3 {
    padding-top: 20px;
}

.ah-comments-template-3 .swiper .comment-list li {
    list-style-type: none;
    margin: 0;
    width: 100%;
}

.ah-comments-template-3 .comment-body {
    background-color: #fff;
    padding: 17px;
    border-radius: 15px;
    box-shadow: 0 7px 11px #00000003;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: space-between;
}

.ah-comments-template-3 .comment-body > div {
    width: 100%;
}

.ah-comments-template-3 .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ah-comments-template-3 .comment-author img {
    width: 60px;
    height: 60px;
    border-radius: 50px;
}

.ah-comments-template-3 .comment-meta.commentmetadata {
    display: none;
}

.ah-comments-template-3 .children {
    position: absolute;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    width: 80%;
    padding: 0 11px;
}

.ah-comments-template-3 .children .comment-body {
    height: 123px;
    background-color: #c3c3c3;
    width: auto;
    box-sizing: border-box;
    padding: 5px;
    cursor: pointer;
}

.ah-comments-template-3 .comment:has(.children) {
    padding-bottom: 102px;
}

.ah-comments-template-3 .comment-body .comment-reply-link {
    border: none;
    padding: 0;
    color: #333;
    box-shadow: none;
    font-size: 15px;
}

.ah-comments-template-3 .children .comment-body p {
    text-align: initial;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
}

.ah-comments-template-3 div#respond {
    margin-top: 17px;
}

.ah-comments-template-3 .comment-vote.comment-actions {
    display: flex;
    gap: 15px;
}

.ah-comments-template-3 .comment {
    position: relative;
    overflow: hidden;
    height: auto;
}

.ah-comments-template-3 .comment div#respond {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    background-color: #fff;
    padding: 15px;
    margin: 0;
    border-radius: 15px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.ah-comments-template-3 .comment div#respond textarea {
    width: 100%;
    margin: 0;
    min-height: auto;
    height: 46px;
    box-sizing: border-box;
}

.ah-comments-template-3 .comment div#respond .logged-in-as,
.ah-comments-template-3 .comment .comment-notes{
    display: none;
}

.ah-comments-template-3 .swiper {
    margin-bottom: 28px;
}

.comment-content-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    background-color: #000000b3;
}

.comment-content-modal .ccm-text {
    min-width: 260px;
    max-width: 500px;
    background-color: #fff;
    padding: 43px 15px 15px;
    border-radius: 15px;
    position: relative;
    word-break: break-all;
}

.comment-content-modal .close-ccm {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 7px;
    left: 7px;
    width: 30px;
    height: 30px;
    background-color: #ffa4a4;
    border-radius: 50px;
    color: #a90000;
    font-size: 24px;
    transform: rotate(45deg);
    cursor: pointer;
}

@media screen and (max-width: 767px){
    .ah-comments-template-3 .children {
        width: 100%;
    }
}