.mediapress-comments-section {
    margin: 50px 0;
}

.comment-alert-moderation {
    margin-bottom: 20px;
    font-size: small;
    line-height: 1;
    background-color: #ecfdf5;
    padding: 10px;
    border: 1px solid #10b981;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mediapress-comments-section h2 {
    line-height: 1;
    text-transform: capitalize;
    font-size: large;
    margin-bottom: 20px;
}

.comment-auth-buttons {
    line-height: 1;
}

.comment-auth-buttons p {
    margin: 0;
    padding: 15px;
    border-radius: 8px;
    font-size: small;
    text-align: center;
    border: 1px solid #ccc;
	line-height: 1.5;
}

.comment-auth-buttons p a {
    font-weight: bold;
}

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

ol.comment-list > li,
ol.children li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

ol.children {
    list-style: none;
    margin-top: 20px;
}

ol.children li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1;
}

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

.comment-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comment-meta .fn {
    text-transform: capitalize;
    font-size: initial;
}

.comment-date {
    font-size: x-small;
    color: #999;
}

.comment-content {
    padding-left: 42px;
}

.comment-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
}

.reply {
    line-height: 1;
    margin-top: 10px;
}

.reply .comment-reply-link {
    font-size: small;
    color: #999;
}

.reply .comment-reply-login {
    display: none;
}

#cancel-comment-reply-link {
    margin-left: 10px;
    font-size: small;
    font-weight: normal;
    color: #999;
}

.comment-form {
    line-height: 1;
}

.comment-form-comment,
.form-submit {
    margin: 0;
}

.comment-form-comment textarea {
    display: block;
    width: 100%;
    height: 80px;
    border-radius: 8px 8px 0 0;
    padding: 10px;
    font-family: inherit;
    font-size: initial;
    border-color: #ccc;
    border-bottom: 0;
    outline: none;
    resize: vertical;
}

.form-submit input[type='submit'] {
    width: 100%;
    background-color: #ccc;
    font-family: inherit;
    font-weight: bold;
    color: #333;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
    line-height: 1;
    cursor: pointer;
}

.comment-navigation {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 5px;
    margin-bottom: 30px;
    line-height: 1;
}

.comment-navigation .page-numbers {
    background: none;
    min-width: auto;
    height: auto;
    color: #999;
}

.navigation-comment-label {
    font-size: small;
    color: #999;
}

/* --- DARK MODE COMMENTS --- */

html.dark-mode .comment-text p {
    color: #ccc;
}

html.dark-mode ol.comment-list > li,
html.dark-mode ol.children li {
    border-color: #333;
}

html.dark-mode .comment-navigation .page-numbers {
    color: #ccc;
}

html.dark-mode .comment-auth-buttons p {
    background-color: #333;
    border-color: #555;
}

html.dark-mode .comment-alert-moderation {
    background-color: #333;
    border-color: #666;
}