/*
Theme Name: Myblogsoft Editorial
Author: Myblogsoft
Description: Tema editorial ligero y mobile-first para blogs de tecnología en WordPress. Diseñado para lectura, rendimiento, accesibilidad y una arquitectura de contenido clara.
Version: 13.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: editorial-tech
Tags: blog, news, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/
/* =========================================================
   COMENTARIOS MYBLOGSOFT
========================================================= */

.article-comments {
    width: 100%;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 2px solid #111827;
}

.article-comments__heading {
    margin: 0 0 32px;
}

.article-comments__box,
.article-comments .comments-area,
.article-comments .comment-respond {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.article-comments .comment-reply-title {
    margin: 0 0 12px !important;
    color: #0f172a !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.article-comments .comment-notes {
    margin: 0 0 28px !important;
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}


/* FORMULARIO */

.article-comments .comment-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 760px !important;
    gap: 22px !important;
}

.article-comments .comment-form p {
    width: 100% !important;
    margin: 0 !important;
}

.article-comments .comment-form label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 9px !important;
    color: #1e293b !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}


/* TODOS LOS CAMPOS CON EL MISMO ANCHO */

.article-comments .comment-form input[type="text"],
.article-comments .comment-form input[type="email"],
.article-comments .comment-form input[type="url"],
.article-comments .comment-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;

    border: 2px solid #94a3b8 !important;
    border-radius: 7px !important;

    background: #ffffff !important;
    color: #0f172a !important;

    padding: 14px 16px !important;

    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.55 !important;

    box-shadow: none !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease !important;
}


/* Nombre y correo misma altura */

.article-comments .comment-form input[type="text"],
.article-comments .comment-form input[type="email"] {
    min-height: 54px !important;
}


/* Comentario */

.article-comments .comment-form textarea {
    min-height: 170px !important;
    height: auto;
    overflow-y: hidden !important;
    resize: none !important;
}


/* FOCUS */

.article-comments .comment-form input[type="text"]:focus,
.article-comments .comment-form input[type="email"]:focus,
.article-comments .comment-form textarea:focus {
    outline: none !important;
    border-color: #1473e6 !important;
    box-shadow: 0 0 0 4px rgba(20, 115, 230, .12) !important;
}


/* CHECKBOX */

.article-comments .comment-form-cookies-consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;

    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.article-comments .comment-form-cookies-consent input {
    flex: 0 0 auto !important;

    width: 17px !important;
    height: 17px !important;

    margin: 3px 0 0 !important;
}

.article-comments .comment-form-cookies-consent label {
    display: inline !important;
    margin: 0 !important;
    font-weight: 400 !important;
}


/* BOTÓN */

.article-comments .form-submit {
    margin-top: 4px !important;
}

.article-comments input[type="submit"],
.article-comments .submit {
    appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-height: 50px !important;

    padding: 0 26px !important;

    border: 0 !important;
    border-radius: 6px !important;

    background: #1473e6 !important;
    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 800 !important;

    cursor: pointer !important;

    transition:
        transform .15s ease,
        background-color .15s ease !important;
}

.article-comments input[type="submit"]:hover,
.article-comments .submit:hover {
    background: #0d61c9 !important;
    transform: translateY(-1px);
}


/* COMENTARIOS PUBLICADOS */

.article-comments .comments-title {
    margin: 0 0 28px !important;
    color: #0f172a !important;
    font-size: 27px !important;
    font-weight: 800 !important;
}

.article-comments .comment-list {
    list-style: none !important;
    margin: 0 0 48px !important;
    padding: 0 !important;
}

.article-comments .comment-list .comment {
    margin: 0 0 18px !important;

    padding: 22px !important;

    border: 1px solid #dbe3ee !important;
    border-radius: 8px !important;

    background: #f8fafc !important;
}

.article-comments .comment-author {
    font-weight: 800 !important;
}

.article-comments .comment-meta {
    margin-bottom: 12px !important;
    color: #64748b !important;
    font-size: 13px !important;
}

.article-comments .comment-content {
    color: #334155 !important;
    line-height: 1.75 !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .article-comments {
        margin-top: 44px;
        padding-top: 26px;
    }

    .article-comments__heading {
        margin-bottom: 24px;
    }

    .article-comments .comment-reply-title {
        font-size: 25px !important;
    }

    .article-comments .comment-notes {
        font-size: 15px !important;
        margin-bottom: 22px !important;
    }

    .article-comments .comment-form {
        max-width: 100% !important;
        gap: 18px !important;
    }

    .article-comments .comment-form input[type="text"],
    .article-comments .comment-form input[type="email"] {
        width: 100% !important;
        min-height: 52px !important;

        border-width: 2px !important;
    }

    .article-comments .comment-form textarea {
        width: 100% !important;
        min-height: 150px !important;

        border-width: 2px !important;
    }

    .article-comments input[type="submit"],
    .article-comments .submit {
        width: 100% !important;
        min-height: 52px !important;
    }
}