.cm-comentarios {
    max-width: var(--pt-ancho-articulo, 760px);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.cm-titulo {
    margin: 0 0 1rem;
    font-size: 1.35rem;
}

.cm-vacio {
    margin: 0 0 1.5rem;
    color: #6b7280;
    line-height: 1.55;
}

.cm-expandir-form {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cm-expandir-form:hover {
    color: #1d4ed8;
}

.cm-formulario-panel {
    margin-top: 0.5rem;
}

.cm-formulario-panel[hidden] {
    display: none !important;
}

.cm-lista {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.cm-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.cm-texto {
    margin-bottom: 0.35rem;
}

.cm-texto p {
    margin: 0;
    line-height: 1.6;
}

.cm-texto strong {
    font-weight: 700;
}

.cm-meta {
    margin: 0;
    font-weight: 400;
    color: #4b5563;
    font-size: 0.95rem;
}

.cm-meta time {
    color: #6b7280;
}

.cm-ver-mas {
    margin-top: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: #2563eb;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cm-form {
    display: grid;
    gap: 1rem;
    max-width: 640px;
}

.cm-form-titulo {
    margin: 0;
    font-size: 1.1rem;
}

.cm-field {
    display: grid;
    gap: 0.35rem;
}

.cm-field span {
    font-weight: 600;
}

.cm-field input,
.cm-field textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
}

.cm-field small {
    color: #6b7280;
    font-size: 0.85rem;
}

.cm-btn {
    justify-self: start;
    align-self: flex-end;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cm-flash {
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-weight: 600;
}

.cm-flash--ok {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.cm-flash--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.cm-verificacion {
    max-width: 640px;
    padding: 1rem;
    border: 1px solid #fde68a;
    border-radius: 12px;
    background: #fffbeb;
}

.cm-contador {
    text-align: right;
}

/* Honeypot: oculto a humanos, visible para bots que rellenan todo */
.cm-hp {
    position: absolute !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.cm-field--captcha {
    margin-top: 0;
    flex: 0 1 auto;
    min-width: 0;
}

.cm-acciones {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.25rem;
}

.cm-form--envio {
    position: relative;
}

@media (max-width: 520px) {
    .cm-acciones {
        flex-direction: column;
        align-items: stretch;
    }

    .cm-acciones .cm-btn {
        align-self: stretch;
        width: 100%;
    }
}
