div#wpforo div#wpforo-menu,
div#wpforo .wpforo-rcn-wrap,
div#wpforo .wpf-head-bar,
div#wpforo .wpforo-post-head,
.wpf-form-wrapper,
div#wpforo .boxed-content .post-wrap,
div#wpforo h1#wpforo-title,
div#wpforo .wpforo-section,
div#wpforo .wpf-admincp,
div#wpforo .wpf-sb-bottom,
div#wpforo #wpforo-footer,
div#wpforo .wpforo-profile-content,
div#wpforo .wpfl-1 .wpforo-topic-head,
div#wpforo .wpfl-1 .topic-wrap,
.wpforo-topic-footer,
div#wpforo .wpforo-subtop{
    max-width: 1140px;
    margin: 10px auto !important;
    float: none !important;
    width: 100%;
}

div#wpforo .boxed-content .pforo-post {
    padding: 3rem 0 !important;
}

div#wpforo .boxed-content {
    background: #f5f8f6;
    padding: 4rem 0 !important;
}
div#wpforo .boxed-content .post-wrap {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 2rem !important;
    box-shadow: 0px 0px 1px 0px #DBDBDB !important;
}
div#wpforo .boxed-content .post-wrap .wpf-column-1 {
    border-bottom: 1px solid #DBDBDB !important;
    display: flex;
    gap: 10px;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-post .bottom,
div#wpforo .boxed-content .post-wrap .wpf-column-1,
div#wpforo .boxed-content .post-wrap .wpf-column-2 {
    padding: 1.5rem !important;
}

/**
 * Estilos para la sección de autor en el lateral derecho
 * wpForo - Personalización
 */

/* Contenedor principal del layout */
.wpforo-post-layout-with-sidebar {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.wpforo-post-main-content {
    flex: 1;
    min-width: 0;
}

.wpforo-post-sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* Tarjeta del autor */
.wpforo-author-card {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.wpforo-author-card-header {
    text-align: center;
    margin-bottom: 15px;
}

.wpforo-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wpforo-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpforo-author-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.wpforo-author-name a {
    color: #2c3e50;
    text-decoration: none;
}

.wpforo-author-name a:hover {
    color: #5cb85c;
}

.wpforo-post-date {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.wpforo-post-date-icon {
    width: 14px;
    height: 14px;
}

/* Estadísticas del autor */
.wpforo-author-stats {
    border-top: 1px solid #e1e4e8;
    padding-top: 15px;
    margin-top: 15px;
}

.wpforo-author-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: #555;
}

.wpforo-author-stat-icon {
    width: 18px;
    height: 18px;
    color: #7f8c8d;
}

.wpforo-author-stat-label {
    color: #7f8c8d;
    flex: 1;
}

.wpforo-author-stat-value {
    font-weight: 600;
    color: #2c3e50;
}

/* Diseño responsivo */
@media screen and (max-width: 992px) {
    .wpforo-post-layout-with-sidebar {
        flex-direction: column;
    }
    
    .wpforo-post-sidebar {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .wpforo-post-sidebar {
        max-width: 100%;
    }
    
    .wpforo-author-card {
        padding: 15px;
    }
}

/* Integración con tema existente */
.wpforo-author-card .wpforo-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    margin-top: 12px;
    background: #5cb85c;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpforo-author-card .wpforo-btn:hover {
    background: #4cae4c;
}


.content-topic {
    display: flex;
    max-width: 1140px;
    margin: 0 auto !important;
}
div#wpforo-wrap  div#wpforo-footer {display: none;}
.wpforo-post-sidebar {
    padding: 2rem !important;
    background: #F3F4F6;
    border-radius: 15px;
    margin: 10px !important;
    text-align: center;
    box-shadow: 0px 1px 4px 0px #dddbdb !important;
}
.content-post  .wpf-author-avatar-large,
.wpforo-post-sidebar .wpf-latest-avatar {
    text-align: center;
    display: flex;
    justify-content: center;
}
.content-post {
    display: flex;
    max-width: 1140px;
    margin: 0 auto !important;
    gap: 10px;
}
.content-post .wpf-author-name-simple a,
.wpforo-post-sidebar .wpf-latest-author-name a{
    display: block;
    max-width: 100%;
    font-size: 20px !important;
    font-weight: 500 !important;
    color:#111928 !important;
    word-break: break-word;
    overflow-wrap: break-word;
}
.wpforo-post-sidebar .wpf-latest-date {
    color: #637381 !important;
    font-size: 14px !important;
    padding: 10px !important;
}
.wpforo-post-sidebar .wpf-author-stats-simple {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    width: 100%;
}
.wpforo-post-sidebar .wpf-author-stats-simple .wpf-stat-item-simple {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    color: #637381 !important;
    font-size: 16px !important;
    font-weight: 500;
    align-items: center;
    gap: 5px;
}
.content-topic .wpf-head-bar {background: none !important; border: 0 !important;}
.content-topic .wpf-head-bar h1 {
    color: #111928 !important;
    padding-bottom: 2rem !important;
    font-size: 40px !important;
    line-height: 100% !important;
    font-weight: 500 !important;
}
.wpf-head-bar-right .wpf-button,
.wpf-buttons-wrap input.wpf-button,
#wpforo #wpforo-wrap .wpf-head-bar-right #add_wpftopic {
    background: #76B82A !important;
    border: 0 !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
}
.custom-select-temas{
    border: 2px solid #76B82A !important;
    color: #76B82A;
    font-weight: 700;
    border-radius: 15px !important;
}
div[data-elementor-type="popup"] {
    display: block !important;
}
.wpforo-topic-footer {display: none;}