/* =========================================================
COMENTARIOS - ELOTROMEDALLERO
Optimizado para Neve + Core Web Vitals
========================================================= */

/* =========================================================
CONTENEDOR GENERAL
========================================================= */

#comments {
    margin-top: 50px;
}

/* =========================================================
TÍTULOS
========================================================= */

.comments-title,
.comment-reply-title {
    display: inline-block;

    background: #e86c00;
    color: #0b1f8a;

    padding: 4px 14px;

    border-radius: 12px;

    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;

    box-shadow: -4px 4px 0 #0b1f8a;

    margin-bottom: 25px;
}

/* =========================================================
LISTA
========================================================= */

.comment-list,
.children {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================================================
RESPUESTAS
========================================================= */

.children {
    margin-left: 30px;
    margin-top: 20px;
}

/* =========================================================
COMENTARIO
========================================================= */

.comment-body {
    background: rgba(255,255,255,.03);

    border: 1px solid rgba(255,255,255,.05);

    border-radius: 14px;

    padding: 18px;

    margin-bottom: 22px;

    transition: background .2s ease;
}

.comment-body:hover {
    background: rgba(255,255,255,.05);
}

/* =========================================================
AUTOR
========================================================= */

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 10px;

    font-style: normal;
}

/* =========================================================
AVATAR
========================================================= */

.comment-author img.avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    flex-shrink: 0;
}

/* =========================================================
NOMBRE
========================================================= */

.comment-author .fn,
.comment-author .fn a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: none;
}

/* ocultar "dice" */

.says {
    display: none;
}

/* =========================================================
FECHA
========================================================= */

.comment-metadata {
    margin-bottom: 12px;
}

.comment-metadata a {
    color: #9ca3af !important;

    font-size: 13px;

    text-decoration: none;
}

/* =========================================================
TEXTO
========================================================= */

.comment-content p {
    color: #d1d5db !important;

    font-size: 15px;
    line-height: 1.7;

    margin: 0;
}

/* =========================================================
RESPONDER
========================================================= */

.reply {
    margin-top: 12px;
}

.comment-reply-link {
    color: #3b82f6 !important;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
FORMULARIO
========================================================= */

.comment-respond {
    margin-top: 45px;

    background: transparent !important;
}

/* =========================================================
TEXTOS AUXILIARES
========================================================= */

.logged-in-as,
.comment-notes,
.comment-form label {
    color: #d1d5db !important;
}

/* =========================================================
TEXTAREA
========================================================= */

#comments textarea#comment {

    display: block !important;

    width: 100% !important;

    min-height: 180px !important;

    background: #111827 !important;
    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,.08) !important;

    border-radius: 12px !important;

    padding: 16px !important;

    font-size: 15px !important;
    line-height: 1.6 !important;

    resize: vertical !important;

    box-sizing: border-box !important;

    overflow-y: auto !important;

    caret-color: #ffffff;
}

/* =========================================================
INPUTS
========================================================= */

#comments input[type="text"],
#comments input[type="email"],
#comments input[type="url"] {

    width: 100% !important;

    background: #111827 !important;
    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,.08) !important;

    border-radius: 12px !important;

    padding: 14px !important;

    box-sizing: border-box !important;
}

/* =========================================================
FOCUS
========================================================= */

#comments textarea#comment:focus,
#comments input[type="text"]:focus,
#comments input[type="email"]:focus,
#comments input[type="url"]:focus {

    outline: none !important;

    border-color: #e86c00 !important;
}

/* =========================================================
BOTÓN
========================================================= */

#comments input.submit {

    background: #e86c00 !important;
    color: #0b1f8a !important;

    border: none !important;

    border-radius: 10px;

    padding: 14px 22px;

    font-weight: 700;

    box-shadow: -3px 3px 0 #0b1f8a;

    cursor: pointer;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

#comments input.submit:hover {

    transform: translate(1px,-1px);

    box-shadow: -2px 2px 0 #0b1f8a;
}

/* =========================================================
WRAPPERS NEVE
========================================================= */

#comments .comment-form-comment,
#comments .comment-form-author,
#comments .comment-form-email,
#comments .comment-form-url,
#comments .comment-form-cookies-consent,
#comments .form-submit {
    margin-bottom: 18px;
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 768px) {

    .comment-body {
        padding: 14px;
    }

    .children {
        margin-left: 15px;
    }

    .comments-title,
    .comment-reply-title {
        font-size: 18px;
    }

    #comments textarea#comment {
        min-height: 150px !important;
    }
}