.comments-area {
    margin-top: 2rem;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comments-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list > li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;

    .children {
        margin-top: 1.5rem;
        li {
            margin-bottom: 1.5rem;
        }
    }
}

.comment-body {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;

    a.url {
        margin-left: 0.5rem;
    }
}

.comment-avatar {
    margin-right: 1rem;
}

.comment-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    background-color: transparent;
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0;
    text-align: left;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 2rem 0 0;
}

.comment-author {
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    width: 100%;

    img {
        padding-right: 0.5rem;
    }

    .says {
        margin-left: 0.25rem;
    }
}

.comment-date {
    margin-left: 0.5rem;
    color: #999;
}

.comment-content {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    max-width: 800px;
    width: 100%;

    p {
        margin: 0;
    }
}

.comment-reply {
    margin-top: 0.5rem;
}

.comment-reply a {
    color: rgb(246,97,53);
    text-decoration: none;
    font-weight: bold;
}

.comment-reply a:hover {
    color: rgb(214,84,46);
}

.no-comments {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-top: 2rem;
}

.comment-form {
    margin-top: 2rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.comment-form input,
.comment-form textarea {
    width: -moz-available;
    width: -webkit-fill-available;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.comment-form input[type="submit"] {
    background-color: rgb(246,97,53);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif; 
}

.comment-form input[type="submit"]:hover {
    background-color: rgb(214,84,46);
}

/* Styles for comment-form-cookies-consent */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin: 0 0.5rem 0 0;
    width: auto;
}

.comment-form-cookies-consent label {
    margin-bottom: 0;
}

/* Styles for wp-block-latest-comments */
.wp-block-latest-comments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-latest-comments__comment {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.wp-block-latest-comments__comment-avatar {
    margin-right: 1rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.wp-block-latest-comments__comment-meta {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0.5rem;
    text-align: left;
}

.wp-block-latest-comments__comment-author {
    font-weight: bold;
    color: #333;
}

.wp-block-latest-comments__comment-date {
    margin-left: 0.5rem;
    color: #999;
}

.wp-block-latest-comments__comment-excerpt {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Ensure footer tags within wp-block-latest-comments do not inherit page footer styles */
.wp-block-latest-comments__comment footer {
    all: unset;
    display: block;
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0.5rem;
    text-align: left;
}