
.comments-area {
    margin: 3rem auto 0;
    max-width: 780px;
    padding: 2rem;
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}


.comments-header {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1rem;
}

.comments-title {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: baseline;
    margin: 0;
}

.comments-count {
    padding: .1rem .5rem;
    border-radius: 999px;
    font-size: .95rem;
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
}

.comments-post-title {
    color: #111827;
}

.comments-subtitle {
    margin-top: .4rem;
    margin-bottom: 0;
    font-size: .9rem;
    color: #6b7280;
}

/* Comment list */

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

.comment-list > li {
    margin-bottom: 1.25rem;
}

.comment-body {
    position: relative;
    padding: 1rem 1rem 1rem 4rem;
    border-radius: .9rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #f9fafb;
}

.comment-body .avatar {
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    box-shadow: 0 0 0 2px #ffffff;
}

.comment-meta {
    margin-bottom: .35rem;
    font-size: .85rem;
    color: #6b7280;
}

.comment-author {
    font-weight: 600;
    color: #111827;
}

.comment-author a {
    color: inherit;
    text-decoration: none;
}
.comment-author a:hover {
    text-decoration: underline;
}

.comment-metadata {
    font-size: .78rem;
    color: #9ca3af;
}

.comment-metadata a {
    color: inherit;
}

/* Comment content */

.comment-content {
    font-size: .95rem;
    line-height: 1.6;
    color: #374151;
    margin-top: .35rem;
}

.comment-content p {
    margin: 0 0 .6rem;
}

.comment-content a {
    text-decoration: underline;
}

/* Reply link */

.reply {
    margin-top: .5rem;
}

.reply a {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: .8rem;
    text-decoration: none;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.04);
}

.reply a:hover {
    background: rgba(59, 130, 246, 0.12);
}

/* Nested comments */

.comment-list .children {
    list-style: none;
    margin-left: 2.5rem;
    margin-top: .8rem;
    padding-left: 0;
    border-left: 2px dashed rgba(148, 163, 184, 0.5);
}

.comment-list .children .comment-body {
    background: #ffffff;
}

/* No comments / closed */

.no-comments {
    margin-top: 1.5rem;
    font-size: .9rem;
    color: #9ca3af;
    text-align: center;
}

/* Comment navigation */

.comment-navigation {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
}

/* Comment Form */

.styled-comment-form {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.comment-form-field {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.comment-form-field label {
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .25rem;
    color: #374151;
}

.comment-form-field .required {
    color: #ef4444;
    margin-left: .15rem;
}

.comment-form-field input,
.comment-form-field textarea {
    border-radius: .7rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: .6rem .75rem;
    font-size: .9rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    background-color: #f9fafb;
}

.comment-form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
    background-color: #ffffff;
}

/* Submit button */

.comment-submit-button,
.comment-form .submit,
.comment-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .6rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.comment-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
}

.comment-submit-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

/* Must log in message */

.must-log-in {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: .9rem;
    background: #fef3c7;
    border: 1px solid #facc15;
    font-size: .9rem;
    color: #78350f;
}

.must-log-in a {
    font-weight: 600;
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 640px) {
    .comments-area {
        padding: 1.25rem;
        border-radius: 1rem;
    }
    .comment-body {
        padding: .85rem .85rem .85rem 3.4rem;
    }
    .comment-list .children {
        margin-left: 1.4rem;
    }
}
.comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
    text-align: center;   /* ye line add karo */
}
