
.comment {
    border: 1px solid #ddd; 
    padding: 15px;
    margin-bottom: 15px;
    position: relative; 
    border-left: none; 
    border-top: none; 
    border-radius: 5px; 
    background-color: #fff; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    margin-top: 70px;
}


.comment-author {
    display: flex;
    align-items: center;
    position: relative; 
    width: 100%;
    margin-right: 10px;
    margin-top: -30px;
    padding: 9px; 
    background-color: #f7f7f7; 
    border-radius: 4px; 
    margin-left: 70px; 
}


.comment-avatar, .comment-author .avatar {
    border-radius: 50% !important; 
    width: 65px !important; 
    height: 65px !important; 
    object-fit: cover !important; 
    position: absolute; 
    top: -23px; 
    right: -55px; 
    border: 2px solid #ddd; 
    overflow: hidden !important; 
    transition: transform 0.3s; 
}

.comment-avatar:hover {
    transform: scale(1.1); 
}


.comment-text {
    margin-top: 10px;  
    font-size: 16px; 
    color: #333; 
}


.wpd-vote {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 20px;
    font-size: 0;
    position: absolute;
    right: 36px;
    width: calc(100% - 30px);
}


.wpd-vote-up, .wpd-vote-down {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: auto;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wpd-vote-up svg, .wpd-vote-down svg {
    width: 28px;
    height: 28px;
    fill: #888888;
    transition: fill 0.3s ease;
    border: 1px solid #aaaaaa;
    border-radius: 100%; 
    padding: 5px; 
    background-color: #fff;
}

.wpd-vote-up:hover, .wpd-vote-down:hover {
    opacity: 1;
}


.wpd-vote-result-sep {
    height: 11px;
    width: 1px;
    background-color: #ccc;
    align-self: center;
}

.wpd-vote-result {
    padding: 0 10px;
    font-size: 16px;
    background-color: #fff;
    border-radius: 50%;
    line-height: 26px;
    text-align: center;
    color: #999999;
    font-weight: bold;
    min-width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpd-vote-down {
    flex-direction: row-reverse;
}

.wpd-vote-down.wpd_not_clicked {
    display: flex !important; 
}

.wpd-vote-up:hover svg, .wpd-vote-down:hover svg {
    fill: #0056b3;
}


.comment-reply {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    position: absolute;
    right: 220px; 
}

.comment-reply-link {
    background-color: #f1f1f1; 
    border: 1px solid #aaaaaa; 
    border-radius: 20px; 
    padding: 3px 35px;
    color: #000000 !important;
    font-size: 14px; 
    cursor: pointer; 
    transition: background-color 0.3s ease, border-color 0.3s ease; 
    text-decoration: none; 
    display: inline-block; 
}

.comment-reply-link:hover {
    background-color: #0056b3; 
    color: #fff; 
    border-color: #0056b3; 
}


.comment-pagination {
    text-align: center; 
    margin-top: 40px;   
}

.comment-pagination ul {
    display: inline-block; 
    padding: 0;
}

.comment-pagination li {
    display: inline; 
    margin: 0 5px;   
}

.comment-pagination a {
    text-decoration: none; 
    padding: 5px 10px;     
    color: #333;           
}

.comment-pagination a:hover {
    background-color: #ddd; 
}

#extraFields {
    display: flex;
    gap: 100px; 
}

.input-field {
    border-radius: 4px !important; 
    border: 1px solid #ccc !important; 
    padding: 10px !important; 
    width: 100% !important;
    box-sizing: border-box !important; 
    font-size: 16px !important; 
    transition: border-color 0.3s !important; 
    
}


.input-field:focus {
    border-color: #4A90E2 !important; 
    outline: none !important; 
}


.input-field.email {
    margin-top: 7px !important; 
}


.join-discussion {
    border-radius: 4px !important; 
    border: 1px solid #ccc !important; 
    padding: 10px !important;
    width: 100% !important; 
    box-sizing: border-box !important; 
    font-size: 16px !important; 
    transition: border-color 0.3s !important; 
    height: 100px;
    margin-bottom: 9px;
}


.join-discussion:focus {
    border-color: #4A90E2 !important; 
    outline: none !important; 
}


.submit-btn {
    display: inline-block; 
    margin-top: -65px;
    margin-bottom: 20px; 
    float: left; 
    background-color: #4CAF50; 
    color: white; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
}

.submit-btn:hover {
    background-color: #45a049; 
}

.g-recaptcha {
    margin-top: 10px; 
}

.right-column label {
    display: block; 
    margin-bottom: 8px; 
}

@media (max-width: 768px) {
    
    .comment-author {
        margin-left: 20px; 
        margin-right: 0; 
        font-size: 14px; 
    }

   
    #extraFields {
        flex-direction: column; 
        gap: 10px; 
    }

    
   

    
    .wpd-vote {
        right: 20px; 
    }

   
    .submit-btn {
        width: 100%; 
        float: none; 
        margin-top: 10px; 
    }

    
    .comment-text {
        font-size: 14px; 
    }

   
    .join-discussion {
        font-size: 14px; 
        height: 80px; 
    }

   
    .g-recaptcha {
        margin-top: 20px; 
    }
}

@media (max-width: 480px) {
    .comment-author {
        font-size: 14px; 
        margin-left: 10px; 
    }

    .input-field,
    .join-discussion {
        font-size: 14px; 
        width: 100% !important; 
    }

    .submit-btn {
        font-size: 14px; 
        padding: 8px 15px; 
        width: 100%; 
    }

    .wpd-vote {
        position: absolute; 
        right: 10px; 
    }

    .comment-reply {
        position: absolute; 
        left: 100px; 
      
    }
}

@media (max-width: 360px) {
    .comment-author {
        font-size: 12px; 
        margin-left: 5px; 
    }

    .join-discussion,
    .input-field {
        font-size: 12px; 
        height: 70px; 
    }

    .submit-btn {
        font-size: 12px; 
        padding: 7px 10px; 
    }

    .wpd-vote {
        position: absolute; 
        right: 5px; 
    }

    .comment-reply {
        position: absolute; 
        left: 90px; 
        top: 0; 
    }
}

}
