/* Comments Section Styles */

.comments-area {
    margin: 50px auto 30px auto;
    max-width: 710px;
    background: #ffffff;
    padding: 0;
}

.comments-title, 
.comment-reply-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--dark-color, #333333);
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

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

.comment-list li.comment {
    margin-bottom: 24px;
    padding: 0;
}

.comment-body {
    background: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.comment-body:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-color, #333333);
}

.comment-author img.avatar {
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    font-size: 12px;
    color: #8990a0;
}

.comment-metadata a {
    color: inherit !important;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--primary-color, #29a2cb) !important;
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 16px;
}

.comment-content p {
    margin: 0;
}

.comment-body .reply {
    text-align: right;
}

.comment-reply-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color, #29a2cb) !important;
    border: 1px solid var(--primary-color, #29a2cb);
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.comment-reply-link:hover {
    background: var(--primary-color, #29a2cb);
    color: #ffffff !important;
}

/* Comment Respond Form */
.comment-respond {
    background: #ffffff;
    border-radius: 12px;
    margin-top: 40px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form p.comment-notes {
    font-size: 13px;
    color: #8990a0;
    margin-bottom: 24px;
}

.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-color, #333333);
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #333333;
    background: #fbfbfb;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color, #29a2cb);
    background: #ffffff;
}

/* Form checkboxes layout alignment */
.comment-form-cookies-consent,
.comment-form-mailpoet,
.comment-subscription-form {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.comment-form-cookies-consent input[type="checkbox"],
.comment-form-mailpoet input[type="checkbox"],
.comment-subscription-form input[type="checkbox"] {
    margin: 4px 0 0 0 !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

.comment-form-cookies-consent label,
.comment-form-mailpoet label,
.comment-subscription-form label {
    display: inline !important;
    margin: 0 !important;
    font-size: 13.5px;
    font-weight: 400;
    color: #555555;
    line-height: 1.4;
    cursor: pointer;
}

.comment-form-mailpoet input#mailpoet_subscribe_on_comment {
    display: inline !important;
    margin: 4px 5px 0 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.comment-form .form-submit {
    margin-top: 30px;
    text-align: left;
}

.comment-form .form-submit input[type="submit"] {
    background: var(--primary-color, #29a2cb);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(41, 162, 203, 0.3);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-form .form-submit input[type="submit"]:hover {
    background: var(--dark-color, #333333);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}
