.comments-form,
.comments-list-box,
.comments-list-comment-figure,
.comments-comment-user-info {
    display: flex;
}

.comments-list-comment {
    background: var(--payments-slider-bg);
    padding: 0.75rem;
    border-radius: var(--border-15);
}

.comments-comment-user-info {
    flex-direction: column;
    width: calc(100% - 1rem);
    margin-left: 1rem;
}

.comment-name {
    text-transform: capitalize;
}

.comment-text {
    margin-top: 1rem;
    color: var(--ribbon-color);
    background: rgba(0, 0, 0, .3);
    /* min-height: 8.75rem; */
    padding: 0.5rem;
    height: 100%;
}

.comment-data {
    color: var(--grey__text);
}


/* XXXXXXXXXX */

.comments-section {
    /* background: var(--slots-slider-bg); */
    padding-bottom: 1rem;
    /* margin-bottom: 1rem; */
    height: 100%;
    background: var(--payments-slider-bg);
    color: var(--white);
}

.comments-form-name input,
.comments-form-email input {
    width: 100%;
    height: 2rem;
    font-size: 1.125rem;
    line-height: 1.5rem;
    border-radius: 0.625rem;
    padding-left: 0.5rem;
}

.comments-form input:focus,
.comments-form textarea:focus {
    border: 1px solid var(--gray_ish);
}

.comments-form input[type=text],
.comments-form input[type=email],
.comments-form textarea {
    border: 1px solid var(--cards-border-review);
    border-radius: 0.75rem;
    outline: none;
    font-family: var(--ff-global-font);
}

.comments-user-details {
    position: relative;
}

.comments-form-name,
.comments-form-email {
    width: 100%;
    /* padding: .5rem 0; */
}

.comments-form-name input,
.comments-form-email input,
#comment {
    /* background: var(--faq-answer); */
    background: var(--comment-bg);
    color: var(--faq-color);
}

#comment {
    min-height: 14rem;
    border-radius: var(--border-15);
    font-size: 1rem;
    line-height: 1.25;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
}

@media only screen and (max-width: 600px) {
    .comments-list-box {
        flex-direction: column;
    }
    .comments-form {
        flex-direction: column;
    }
    .comments-form-content {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }
    .comments-form button {
        margin-top: 2rem;
    }
    .comments-form label {
        margin-top: 1rem;
        margin-bottom: .25rem;
    }
}

@media only screen and (min-width: 601px) and (max-width: 991px) {
    .comments-form-content {
        width: 56%;
    }
    .comments-form textarea {
        height: 15rem;
        width: 100%;
    }
    .comments-user-details {
        width: 42%;
        min-height: 16.5rem;
    }
    .comments-user-details button {
        position: absolute;
        bottom: 0;
    }
    .comments-form-email {
        margin-top: 1rem;
    }
}

@media only screen and (min-width: 601px) and (max-width: 991px) {
    .comments-list-box {
        justify-content: space-between;
        flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        gap: 0 1rem;
        /* box-sizing: border-box; */
    }
    .comments-list-comment {
        min-height: 21.875rem;
        min-width: 14.5rem;
        /* background: var(--outline); */
        position: relative;
        border: 1px solid var(--outline);
        /* box-sizing: border-box; */
        border-radius: var(--border-15);
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        box-shadow: var(--box-shadows);
        width: calc(50% - 1rem);
        flex-grow: 1;
        flex-basis: 1rem
    }
    ;
}

@media only screen and (min-width: 992px) and (max-width: 1024px) {
    .comments-list-box {
        justify-content: space-between;
        flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        gap: 0 1rem;
        /* box-sizing: border-box; */
    }
    .comments-list-comment {
        min-height: 21.875rem;
        min-width: 14.5rem;
        /* background: var(--outline); */
        position: relative;
        border: 1px solid var(--outline);
        /* box-sizing: border-box; */
        border-radius: var(--border-15);
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        box-shadow: var(--box-shadows);
        width: calc(100% - 1rem) / 3;
        flex-grow: 1;
        flex-basis: 1rem
    }
    ;
}

@media only screen and (min-width: 1025px) {
    .comments-list-box {
        justify-content: space-between;
        flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        gap: 0 1rem;
        /* box-sizing: border-box; */
    }
    .comments-list-comment {
        min-height: 21.875rem;
        min-width: 14.5rem;
        /* background: var(--outline); */
        position: relative;
        border: 1px solid var(--outline);
        /* box-sizing: border-box; */
        border-radius: var(--border-15);
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        box-shadow: var(--box-shadows);
        max-width: 33%;
        flex-grow: 1;
        flex-basis: 1rem
    }
    ;
}

@media only screen and (min-width: 601px) and (max-width: 1487px) {
    .comments-user-details {
        display: flex;
        flex-direction: column;
        height: 100%;
        margin: 0 0 0 1rem;
        position: relative;
    }
}


/* @media only screen and (min-width: 992px) and (max-width: 1487px) { */

@media only screen and (min-width: 992px) {
    .comments-list-box {
        gap: 0 1rem;
    }
    .comments-form-content {
        width: calc(100% - 18.75rem);
    }
    .comments-user-details {
        min-width: 18.75rem;
        min-height: 15.5rem;
    }
    #comment {
        width: calc(100% - 1rem);
    }
    .comments-user-details button {
        position: absolute;
        bottom: 0;
    }
    .comments-form-email {
        margin-top: 1rem;
    }
}


/* @media only screen and (min-width: 1488px) {} */