.comment-form {
    label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 14px;
        cursor: pointer;
        line-height: 1.4;
        .required {
            color: #f00;
        }
    }
    input,
    textarea {
        width: 100%;
        resize: none;
        border-radius: 5px;
        box-sizing: border-box;
        border: 1px solid var(--farallon-border-color);
        padding: 8px 15px;
        font-size: 14px;
    }
    .submit {
        background-color: #000;
        color: #fff;
        border: 0;
        font-size: 14px;
        cursor: pointer;
        padding: 8px 30px;
        border-radius: 5px;
        width: auto;
        &:hover {
            background-color: var(--farallon-text-light);
        }
    }
    p {
        margin-bottom: 15px;
        &:last-of-type {
            margin-bottom: 0;
        }
    }
    .comment-notes,
    .logged-in-as {
        font-size: 12px;
        color: var(--farallon-text-gray);
    }
}
.comment-reply-title {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    small {
        margin-left: auto;
        font-weight: normal;
        font-size: 14px;
    }
}
.commentlist {
    border-top: 1px solid var(--farallon-border-color-light);
    list-style: none;
    padding-top: 10px;
    .comment {
        padding: 0px 0;
    }
    .comment-respond {
        margin-top: 20px;
        padding: 20px;
        background-color: var(--farallon-background-gray);
        border-radius: 5px;
    }
}

@keyframes comment--fresh {
    0% {
        background-color: #fff;
    }
    100% {
        background-color: rgba(255, 254, 224, 1);
    }
}

.comment {
    &:last-child {
        & > .comment-body {
            border-bottom: 0;
        }
    }
    &.parent {
        border-bottom: 1px solid var(--farallon-border-color-light);
        &:last-child {
            border-bottom: 0;
        }
    }
}

.comment-body {
    padding: 25px 0;
    &__fresh {
        animation: comment--fresh 1.5s ease-in-out infinite alternate;
        border-radius: 5px;
    }
    .avatar {
        transition: 0.5s box-shadow;
    }
    &:hover {
        .avatar {
            box-shadow: 0 0 3px 0px var(--farallon-hover-color);
        }
    }
}

.comment--avatar {
    flex: 0 0 auto;
    margin-right: 10px;
    display: flex;
}

.comment--author {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    .url {
        display: flex;
        align-items: center;
    }
    .friend--icon {
        margin-left: 5px;

        // fill: var(--farallon-main-color);
        width: 16px;
        height: 16px;
    }
    &__tip {
        margin-left: 5px;
        font-size: 12px;
        color: var(--farallon-background-white);
        background-color: var(--farallon-main-color);
        line-height: 1.1;
        padding: 2px 5px;
        border-radius: 3px;
    }
    .comment-reply-link {
        margin-left: auto;
        svg {
            fill: var(--farallon-text-gray);
            width: 15px;
            height: 15px;
        }
        &:hover {
            svg {
                fill: var(--farallon-hover-color);
            }
        }
    }
    a {
        color: var(--farallon-main-color);
        &:hover {
            color: var(--farallon-hover-color);
            text-decoration: underline;
        }
    }
}

.comment--meta {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
}

.comment--time {
    color: var(--farallon-text-light);
}

.comment-meta {
    display: flex;
    align-items: center;
    .avatar {
        border-radius: 100%;
        // margin-right: 10px;
    }
}

.comment-content {
    a {
        text-decoration: underline;
        &:hover {
            color: var(--farallon-hover-color);
        }
    }
    color: var(--farallon-text-light);
}
.children {
    margin-left: 0px;
    padding-bottom: 10px;
    .avatar {
        width: 32px;
        height: 32px;
    }
    .comment-body {
        border-bottom: 0;
        padding: 15px 0;
    }
    .comment-content {
        font-size: 14px;
    }
}

.parent > .children {
    margin-left: 50px;
}

.comment-meta {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    .comment-metadata {
        margin-left: auto;
    }
}

.comment-reply-link {
    font-size: 12px;
}

.no--comment {
    text-align: center;
    padding: 50px 0;
    color: var(--farallon-text-light);
}

.comments--title {
    margin-top: 30px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    svg {
        width: 24px;
        height: 24px;
        margin-right: 5px;
        position: relative;
        transform: translate3d(0, 1px, 0);
        fill: var(--farallon-text-color);
    }
}

.comment-respond {
    padding-top: 30px;
    position: relative;
    z-index: 1;
}

.comment-form-cookies-consent {
    #wp-comment-cookies-consent {
        display: none;
    }
    label {
        font-size: 14px;
        color: var(--farallon-text-gray);
        display: flex;
        align-items: center;
        position: relative;
        &::before {
            background-color: var(--farallon-background-white);
            border: 1px solid var(--farallon-border-color);
            border-radius: 100%;
            height: 16px;
            margin-right: 6px;
            vertical-align: middle;
            width: 16px;
            content: '';
            flex: 0 0 auto;
        }
    }
    input:checked + label {
        &::after {
            background-color: var(--farallon-main-color);
            border-radius: 100%;
            content: '';
            position: absolute;
            left: 1px;
            height: 12px;
            margin: 2px;
            width: 12px;
            flex: 0 0 auto;
        }
    }
}

.post--share {
    svg {
        height: 16px;
        width: 16px;
        fill: var(--farallon-text-gray);
        margin-right: 4px;
        flex: 0 0 auto;
    }
    .text {
        flex: 0 0 auto;
    }
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 0 15px;
    font-size: 14px;
    color: var(--farallon-text-gray);
    line-height: 1.2;
    .link {
        margin-left: 5px;
        border-bottom: 1px dotted var(--farallon-hover-color);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.comment--parent__link {
    margin-right: 5px;
    color: var(--farallon-main-color);
    text-decoration: none !important;
    &:hover {
        color: var(--farallon-hover-color);
        text-decoration: underline;
    }
}

.pingback {
    padding: 25px 0;
    border-bottom: 1px solid var(--farallon-border-color-light);
    &:last-child {
        border-bottom: 0;
    }
    .pingback-content {
        display: flex;
        align-items: center;
        svg {
            fill: currentColor;
            margin-right: 6px;
        }
        font-size: 14px;
        color: var(--farallon-text-light);
        a {
            &:hover {
                color: var(--farallon-hover-color);
                text-decoration: underline;
            }
        }
    }
}
