/* Comments Widget Styles */

.comments-widget {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.comments-widget p,
.comments-widget h1,
.comments-widget h2,
.comments-widget h3,
.comments-widget h4,
.comments-widget h5,
.comments-widget h6 {
    margin: 0;
}

/* Comments List Styles */

.comments-widget .comments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 752px;
    padding: 36px 48px;
    border-radius: 24px;
    border: 1px solid var(--Gray-Gray-100, #161616);
}

.comments-widget .comments-list .comment {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.comments-widget .comments-list .comment .left-block {
    position: relative;
    display: flex;
    align-items: start;
    width: 48px;
}

.comments-widget .comments-list .left-block:after {
    content: "";
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 50%;
    width: 0.5px;
    background: #363636;
}

.comments-widget .comments-list .comment a {
    display: flex;
    width: fit-content;
    height: fit-content;
}

.comments-widget .comments-list .comment img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comments-widget .comments-list .right-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comments-widget .comments-list .right-block {
    width: calc(100% - 74px);
    display: flex;
    flex-direction: column;
}

.comments-widget .comments-list .comment .author {
    position: relative;
    width: fit-content;
    color: var(--Default-White, #FFF);
    font-family: "Hanken Grotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.comments-widget .comments-list .comment .author.verify:after {
    content: "";
    position: absolute;
    top: 5px;
    right: -25px;
    width: 20px;
    height: 20px;
    background-image: url(assets/verify.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
}

.comments-widget .comments-list .comment .date {
    width: fit-content;
    color: var(--Gray-Gray-500, #606060);
    font-family: "Hanken Grotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.comments-widget .comments-list .comment .content {
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.comments-widget .comments-list .comment .reply {
    width: fit-content;
    color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    border: 1px solid var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    font-family: "Hanken Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    padding: 8px 24px;
    border-radius: 27px;
    background: transparent;
    transition: 0.3s;
}

.comments-widget .comments-list .comment .reply:hover {
    border-color: var(--Color-Palette-Blue-Blue-500, #0091FF);
    color: var(--Color-Palette-Blue-Blue-500, #0091FF);
    transition: 0.3s;
}

/* Reply Form Styles */

.comments-widget .comments-list .reply-form-container {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;;
}

.comments-widget .comments-list .reply-form-container.active {
    opacity: 1;
    max-height: 500px;
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--Gray-Gray-100, #161616);
    border-radius: 24px;
    padding: 16px 20px;
    color: var(--Gray-Gray-700, #DDD);
    font-family: Urbanist;
    font-style: normal;
    line-height: 115%;
}

.comments-widget .comments-list form.reply-form .form-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comments-widget .comments-list form.reply-form h4 {
    font-size: 20px;
    font-weight: 900;
}

.comments-widget .comments-list form.reply-form .form-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comments-widget .comments-list form.reply-form label {
    font-size: 16px;
    font-weight: 700;
}

.comments-widget .comments-list form.reply-form .form-box .error-msg{
    font-size: 12px;
    font-weight: 400;
}

.comments-widget .comments-list form.reply-form textarea,
.comments-widget .comments-list form.reply-form input {
    position: relative;
    border-radius: 8px;
    background: var(--Gray-Gray-200, #242424);
    border: 1px solid transparent;
    color: var(--Gray-Gray-600, #EEEEEE);
    padding: 12px 56px 12px 12px;
    font-family: "Hanken Grotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    background-position: calc(100% - 16px) 12px;
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form input.error,
.comments-widget .comments-list form.reply-form textarea.error {
    border: 1px solid var(--Color-Palette-Red-Red-300, #FF999A);
    background: var(--Color-Palette-Red-Red-900, #4D0F0F);
    background-image: url('assets/error.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) 12px;
    background-size: 20px;
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form input.success,
.comments-widget .comments-list form.reply-form textarea.success {
    border: 1px solid var(--Color-Palette-Green-Green-300, #99E2B4);
    background: var(--Color-Palette-Green-Green-900, #0F3B1F);
    background-image: url('assets/success.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) 14px;
    background-size: 15px;
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form textarea:hover,
.comments-widget .comments-list form.reply-form input:hover,
.comments-widget .comments-list form.reply-form textarea:focus,
.comments-widget .comments-list form.reply-form input:focus
{
    border: 1px solid var(--Gray-Gray-700, #DDD);
    color: var(--Gray-Gray-700, #DDD);
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form textarea::placeholder,
.comments-widget .comments-list form.reply-form input::placeholder {
    color: var(--Gray-Gray-600, #999);
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form textarea:hover::placeholder,
.comments-widget .comments-list form.reply-form input:hover::placeholder {
    color: var(--Gray-Gray-700, #DDD);
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form textarea.error::after, .comments-widget .comments-list form.reply-form input.error::after {
    background-image: url('assets/error.svg');
}

.comments-widget .comments-list form.reply-form textarea.success::after, .comments-widget .comments-list form.reply-form input.success::after {
    background-image: url('assets/success.svg');
}

.comments-widget .comments-list form.reply-form button {
    background-color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    padding: 6px 16px;
    border-radius: 27px;
    border: none;
    color: var(--Default-Black, #000);
    font-family: "Hanken Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    width: fit-content;
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form button:hover {
    background-color: var(--Color-Palette-Blue-Blue-500, #0091FF);
    transition: 0.3s;
}

.comments-widget .comments-list form.reply-form .form-box.comment-form-cookies-consent{
    flex-direction: row;
    gap: 10px;
}

/* Reply List Styles */
.comments-widget .comments-list .comment .reply-comments {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.comments-widget .comments-list .reply-comments .left-block:after {
    content: none;
}

.comments-widget .comments-list .reply-comments .comment .left-block{
    width: 34px;
}

.comments-widget .comments-list .reply-comments .comment img{
    width: 34px;
    height: 34px;
}

.comments-widget .comments-list .reply-comments .right-block{
    width: calc(100% - 50px);
    gap: 10px;
}

.comments-widget .comments-list .reply-comments .comment .author{
    font-size: 16px;
}

.comments-widget .comments-list .reply-comments .comment .date{
    font-size: 12px;
}

.comments-widget .comments-list .reply-comments .comment .content{
    font-size: 12px;
    line-height: 160%;
}

.comments-widget .comments-list .reply-comments .comment .author.verify:after {
    top: 4px;
    right: -20px;
    width: 15px;
    height: 15px;
}

/* Comment Form Styles */	

.comments-widget form.comment-form {
    width: 752px;
    background: var(--Gray-Gray-100, #161616);
    display: flex;
    padding: 36px 48px 48px 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 24px;
}

.comments-widget form.comment-form h4 {
    color: var(--Gray-Gray-700, #DDD);
    font-family: Urbanist;
    font-size: 40px;
    font-style: normal;
    font-weight: 900;
    line-height: 115%;
    margin: 0;
}

.comments-widget form.comment-form .form-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.comments-widget form.comment-form .form-box label{
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.comments-widget form.comment-form .form-box .error-msg{
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.comments-widget form.comment-form .form-box.comment-form-cookies-consent {
    flex-direction: row;
    gap: 8px;
}

.comments-widget form.comment-form textarea,
.comments-widget form.comment-form input {
    position: relative;
    border-radius: 8px;
    background: var(--Gray-Gray-200, #242424);
    border: 1px solid transparent;
    color: var(--Gray-Gray-600, #EEEEEE);
    padding: 12px 56px 12px 24px;
    font-family: "Hanken Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    background-position: calc(100% - 24px) 12px;
    transition: 0.3s;
}

.comments-widget form.comment-form input.error,
.comments-widget form.comment-form textarea.error {
    border: 1px solid var(--Color-Palette-Red-Red-300, #FF999A);
    background: var(--Color-Palette-Red-Red-900, #4D0F0F);
    background-image: url('assets/error.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 24px) 12px;
    background-size: 24px;
    transition: 0.3s;
}

.comments-widget form.comment-form input.success,
.comments-widget form.comment-form textarea.success {
    border: 1px solid var(--Color-Palette-Green-Green-300, #99E2B4);
    background: var(--Color-Palette-Green-Green-900, #0F3B1F);
    background-image: url('assets/success.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 24px) 14px;
    background-size: 18px;
    transition: 0.3s;
}

.comments-widget form.comment-form textarea:hover,
.comments-widget form.comment-form input:hover,
.comments-widget form.comment-form textarea:focus,
.comments-widget form.comment-form input:focus
{
    border: 1px solid var(--Gray-Gray-700, #DDD);
    color: var(--Gray-Gray-700, #DDD);
    transition: 0.3s;
}

.comments-widget form.comment-form textarea::placeholder,
.comments-widget form.comment-form input::placeholder {
    color: var(--Gray-Gray-600, #999);
    transition: 0.3s;
}

.comments-widget form.comment-form textarea:hover::placeholder,
.comments-widget form.comment-form input:hover::placeholder {
    color: var(--Gray-Gray-700, #DDD);
    transition: 0.3s;
}

.comments-widget form.comment-form textarea.error::after, .comments-widget form.comment-form input.error::after {
    background-image: url('assets/error.svg');
}

.comments-widget form.comment-form textarea.success::after, .comments-widget form.comment-form input.success::after {
    background-image: url('assets/success.svg');
}

.comments-widget form.comment-form textarea {
    height: 210px;
}

.comments-widget form.comment-form button {
    background-color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    padding: 12px 32px;
    border-radius: 27px;
    border: none;
    color: var(--Default-Black, #000);
    font-family: "Hanken Grotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    transition: 0.3s;
}

.comments-widget form.comment-form button:hover {
    background-color: var(--Color-Palette-Blue-Blue-500, #0091FF);
    color: var(--Default-Black, #000);
    transition: 0.3s;
}

/* Submit Message Styles */	

.comments-widget form.comment-form .submit-msg,
.comments-widget form.reply-form .submit-msg
 {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: 'Hanken Grotesk';
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s;
}

.comments-widget form.comment-form .submit-msg{
    gap: 24px;
}
.comments-widget form.reply-form .submit-msg{
    gap: 12px;
}

.comments-widget form.comment-form .submit-msg.active,
 .comments-widget form.reply-form .submit-msg.active{
    display: flex;
    opacity: 1;
    transition: 0.5s;
}

.comments-widget form.comment-form .submit-msg img {
    width: 56px;
}
.comments-widget form.reply-form .submit-msg img {
    width: 30px;
}

.comments-widget form.comment-form .submit-msg p {
    margin-left: -80px;
    transition: 0.5s;
}
.comments-widget form.reply-form .submit-msg p {
    margin-left: -42px;
    transition: 0.5s;
}

.comments-widget form.comment-form .submit-msg.active p,
.comments-widget form.reply-form .submit-msg.active p {
    margin-left: 0;
    transition: 0.5s;
}

@media (max-width: 768px) {
    .comments-widget{
        gap: 36px;
    }
    .comments-widget .comments-list {
        width: 100%;
        padding: 0;
        border-radius: 0;
        border: none;
    }
    .comments-widget form.comment-form{
        width: 100%;
    }
    .comments-widget .comments-list .comment .reply-comments{
        padding: 0;
    }
    .comments-widget .comments-list .comment .left-block{
        width: 40px;
    }
    .comments-widget .comments-list .comment img {
        width: 40px;
        height: 40px;
    }
    .comments-widget .comments-list .right-block{
        width: calc(100% - 62px);
    }
    .comments-widget .comments-list .comment .reply{
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 24px;
    }
    .comments-widget form.comment-form{
        padding: 24px;
    }
    .comments-widget form.comment-form h4{
        font-size: 26px;
    }
    .comments-widget form.comment-form .form-box label{
        font-size: 16px;
    }
    .comments-widget form.comment-form textarea {
        height: 164px;
        font-size: 16px;
        padding: 8px 20px;
    }
    .comments-widget .comments-list form.reply-form button{
        padding: 10px 20px;
    }
}