/* Custom form comment */
.comment-form-field {
    margin-top: 20px;
}

.custom-comment-form textarea {
    margin-top: 40px;
    min-height: 163px;
}

.custom-comment-form input, .custom-comment-form textarea {
    width: 100%;
    padding: 14px 13px;
    background-color: #f9f9f9;
    outline: none;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.custom-comment-form input::placeholder {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

.custom-comment-form .button-comment-wrapper {
    width: 100%;
    display: flex;
}

.custom-comment-form .button-comment {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: var(--bde-palette-gradient-1-070f5f1b-49b9-45e5-87e2-d782d7a3df12);
    outline: none;
    border: none;
    border-radius: 30px;
    margin: 42px auto 24px;
    cursor: pointer;
}

.custom-comment-form .button-comment span {
    z-index: 2;
    display: inline-block;
    position: relative;
    font-family: SFUGoudyMedium;
    font-size: 20px;
    color: #fff;
    padding: 15px 73.5px;
}

.custom-comment-form .button-comment:hover {
    background: var(--bde-palette-gradient-1-070f5f1b-49b9-45e5-87e2-d782d7a3df12);
}

/* Gradient overlay */
.custom-comment-form .button-comment::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    background: #CB7602;
    z-index: 2;
    transition: width 0.3s ease-in-out;
}

/* Text stays on top */
.custom-comment-form .comment > * {
    position: relative;
    z-index: 3;
}

/* Hover effect */
.custom-comment-form .button-comment:hover::before {
    width: 100%;
}

.custom-comment-form .required-note {
    font-weight: 600;
    font-size: 13px;
    line-height: 19px;
    font-style: italic;
    font-family: "Inter", sans-serif;
}

/* Custom list comment */
.custom-comment-list {
    list-style: none;
    margin-top: -8px;
    padding: 0;
}

.custom-comment {
    padding: 23px 0;
    gap: 23px;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
}

.comment-text p {
    margin: 9px 0 0;
    font-size: 12px;
    line-height: 18px;
    font-family: 'Montserrat';
    font-weight: 400;
    color: #000000;
}

.comment-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    font-family: 'SFUGoudyMedium';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin-bottom: 6px;
    display: block;
}

.custom-comment-pagination ul {
    display: flex;
    list-style: none;
    gap: 4px;
    padding-left: 0;
    justify-content: center;
    margin-top: 40px;
}

.custom-comment-pagination li {
    display: inline-block;
}

.custom-comment-pagination a,
.custom-comment-pagination span {
    display: inline-block;
    padding: 10.5px 15.5px;
    border: 1px solid #B3B3B3;
    border-radius: 8px;
    color: #525252 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    line-height: 19px;
}

.custom-comment-pagination .current,
.custom-comment-pagination a:hover,
.custom-comment-pagination span {
    background: linear-gradient(90deg, #CB7602 0%, #B30800 100%);
    color: white !important;
    border-color: #B3B3B3;
}
