.ncm-foros-wrap {
    max-width: 920px;
    margin: 2.5rem auto 3rem;
    padding: 0 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.ncm-foros-hub {
    margin: 0;
    font-family: inherit;
}

.ncm-foros-hub__header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.ncm-foros-hub__title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.ncm-foros-hub__intro {
    margin: 0 auto 1.25rem;
    max-width: 640px;
    color: #444;
}

.ncm-foros-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    text-align: left;
}

.ncm-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.ncm-panel h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.ncm-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.ncm-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.ncm-list li:last-child {
    border-bottom: none;
}

.ncm-list a {
    color: #2750fb;
    text-decoration: none;
    font-weight: 600;
}

.ncm-meta {
    color: #6b7280;
    font-size: 0.875rem;
    white-space: nowrap;
}

.ncm-empty {
    color: #6b7280;
    margin: 0 0 1rem;
}

.ncm-btn {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.ncm-btn-primary {
    background: #2750fb;
    color: #fff !important;
}

.ncm-btn-secondary {
    background: #f3f4f6;
    color: #111 !important;
}

.ncm-link {
    color: #2750fb;
    font-weight: 600;
    text-decoration: none;
}

.ncm-login-required {
    max-width: 640px;
    margin: 2.5rem auto;
    padding: 2rem;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
}

.ncm-login-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Centrar bloque dentro de contenedores Elementor anchos */
.elementor-widget-theme-post-content .ncm-foros-wrap,
.elementor-element .ncm-foros-wrap {
    margin-left: auto;
    margin-right: auto;
}
