/* ============================================================
   PLÉTORA NETWORK - CSS OPTIMIZADO v2.6
   Propósito: Estilos limpios para BuddyPress, bbPress y Astra
   ============================================================ */

/* === VARIABLES Y CONFIGURACIÓN BASE === */
:root {
  --plet-marca: #999900;
  --plet-marca-alt: #B3B300;
  --plet-header: #F2F2F2;
  --plet-texto: #E0E0E0;
  --plet-principal: #999900;
  --plet-secundario: #0A9396;
  --plet-borde: #CCCCCC;
  --plet-bg: #001724;
  --plet-bg-sutil: rgba(255,255,255,0.03);
  --plet-extra: #E09F3E;
}

/* === FUENTE BALOO 2 === */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;700;800&display=swap');

/* === SCROLL SUAVE === */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* === FONDO GLOBAL #001724 - OPTIMIZADO === */
body,
.buddypress,
.bbpress,
#buddypress,
#bbpress-forums,
.buddypress-wrap,
.bp-wrap,
.bbp-wrap,
#item-body,
#item-header,
.activity-list,
.bbp-body,
.bbp-replies,
.bbp-topics,
.bbp-forums,
.bbp-forum-content,
.bbp-topic-content,
.bbp-reply-content,
.buddypress .activity-item,
.buddypress .bp-card,
.buddypress .item-list li,
.bbpress .bbp-forum-info,
.bbpress .bbp-topic-header,
.bbpress .bbp-reply-header,
.bbpress .bbp-reply-content,
.bbpress .bbp-forums,
.bbpress .bbp-topics,
.bbpress .bbp-replies,
.bbp-body ul.forum,
.bbp-body ul.topic,
.bbp-body ul.reply,
.bbp-reply,
.bbp-topic,
.bbp-forum,
.activity-list .activity-content,
.activity-list .activity-meta,
#bbpress-forums .bbp-forum,
#bbpress-forums .bbp-topic,
#bbpress-forums .bbp-reply,
#buddypress .activity,
#buddypress .activity-list {
  background-color: var(--plet-bg) !important;
  color: var(--plet-texto);
}

/* === FONDOS PLÉTORA ESPECÍFICOS === */
#bbpress-forums div.even, 
#bbpress-forums ul.even {
  background-color: var(--plet-bg) !important;
}

/* === CABECERAS BBPRESS CON FONDO PLÉTORA === */
div.bbp-forum-header, 
div.bbp-reply-header, 
div.bbp-topic-header {
  border-top: 1px solid transparent !important;
  clear: both;
}

#bbpress-forums div.bbp-forum-header, 
#bbpress-forums div.bbp-reply-header, 
#bbpress-forums div.bbp-topic-header {
  background-color: var(--plet-marca) !important;
  color: white !important;
  padding: 12px 15px !important;
  font-weight: bold !important;
}

/* === CONTENEDORES ARTÍCULOS ASTRA === */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single:not(.ast-related-post) {
  background-color: var(--plet-bg);
}

/* === NAVEGACIÓN HORIZONTAL BUDDYPRESS === */
@media screen and (min-width: 46.8em) {
  .buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links) {
    border-bottom: 1px solid var(--plet-borde) !important;
    border-top: 1px solid var(--plet-borde) !important;
    background: var(--plet-bg) !important;
    box-shadow: none !important;
  }
}

/* === NAVEGACIÓN MÓVIL BUDDYPRESS === */
@media screen and (max-width: 46.8em) {
  .buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li {
    background: var(--plet-bg) !important;
    border-bottom: 1px solid var(--plet-borde) !important;
  }
  
  .buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li:last-child {
    border-bottom: none !important;
  }
  
  .buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li a {
    color: var(--plet-texto) !important;
    padding: 12px 15px !important;
    display: block !important;
  }
  
  .buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li.current a,
  .buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li.selected a {
    background: rgba(153, 153, 0, 0.2) !important;
    color: var(--plet-marca) !important;
  }
}

/* === TARJETAS Y CONTENEDORES === */
.buddypress .activity-item,
.buddypress .bp-card,
.buddypress .item-list li,
.bbpress .bbp-forum-info,
.bbpress .bbp-topic-header,
.bbpress .bbp-reply-header,
.bbpress .bbp-reply-content,
.bbpress .bbp-forums,
.bbpress .bbp-topics,
.bbpress .bbp-replies,
.bbp-body ul.forum,
.bbp-body ul.topic,
.bbp-body ul.reply,
.bbp-reply,
.bbp-topic,
.bbp-forum,
.activity-list .activity-item,
#bbpress-forums .bbp-forum,
#bbpress-forums .bbp-topic,
#bbpress-forums .bbp-reply {
  background-color: var(--plet-bg) !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 16px !important;
  margin-bottom: 10px;
}

/* === ACTIVIDADES BUDDYPRESS === */
.activity-list.bp-list .activity-item {
  background: var(--plet-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 10px 0 !important;
}

.activity-list .activity-item .activity-content .activity-inner,
.activity-list .activity-item .activity-content blockquote {
  background: var(--plet-bg) !important;
  margin: 15px 0 10px !important;
  padding: 1em !important;
  border: 1px solid var(--plet-borde) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

/* === AVATARES - FIX PARA MOZILLA === */
.activity-list .activity-avatar,
.activity-list .activity-item div.item-avatar {
  display: block !important;
  float: left;
  margin: 0 15px 15px 0;
  width: 60px;
  height: 60px;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
}

.activity-list .activity-avatar img.avatar,
.activity-list .activity-item div.item-avatar img,
.activity-avatar img,
.item-avatar img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  border: 2px solid var(--plet-marca) !important;
  display: block !important;
  object-fit: cover;
  background: rgba(153, 153, 0, 0.1);
}

/* AVATAR ESCRITORIO */
@media screen and (min-width: 46.8em) {
  .activity-list .activity-item div.item-avatar {
    margin: 0 2% 0 0 !important;
    width: 15% !important;
    max-width: 80px;
    text-align: left !important;
  }
  
  .activity-list .activity-item div.item-avatar img {
    width: 100% !important;
    height: auto !important;
    max-width: 80px;
    max-height: 80px;
  }
  
  .activity-list .activity-content {
    margin-left: 0;
    width: 83%;
    float: right;
  }
}

/* CONTENIDO CON AVATAR */
.activity-list .activity-content {
  margin-left: 75px;
  padding: 0;
  min-height: 60px;
  width: calc(100% - 75px);
  float: left;
}

/* === BOTÓN SCROLL TOP === */
.ast-scroll-to-top-right {
  right: 30px !important;
  bottom: 90px !important;
  z-index: 9999 !important;
}

/* === ETIQUETAS FORMULARIO === */
label, legend {
  color: var(--plet-marca) !important;
  font-size: 14px;
  font-weight: 500;
}

/* === BRANDING PLÉTORA === */
.radio-text-link {
  color: var(--plet-secundario);
  text-decoration: none;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  border-bottom: 2px solid var(--plet-extra);
  padding: 2px 4px;
  transition: all 0.3s ease;
}

.radio-text-link:hover {
  color: var(--plet-principal);
  border-bottom-color: var(--plet-principal);
}

/* === BORDES SIDEBAR === */
@media (min-width: 922px) {
  .ast-right-sidebar #primary { border-right: 1px solid var(--plet-marca); }
  .ast-right-sidebar #secondary { border-left: 1px solid var(--plet-marca); }
}

/* === PÁGINAS ESPECÍFICAS === */
.page-id-54122 .is-layout-flex > *,
[class*="page-id-4106"] .is-layout-flex > * {
  margin: 80px auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* === IMÁGENES EN ACTIVIDADES DE BLOG === */
.activity-list .activity-item.new_blog_post .activity-inner img {
  max-width: 40% !important;
  float: left !important;
  margin-right: 15px !important;
  margin-bottom: 10px !important;
  border-radius: 4px !important;
  display: block !important;
}

.activity-list .activity-item.new_blog_post .activity-inner:after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

/* === TIPOGRAFÍA Y PÁRRAFOS === */
p, .entry-content p, 
.bbp-reply-content p, 
.activity-list .activity-inner p {
  margin-bottom: 1em !important;
  line-height: 1.6;
}

.entry-content .wp-audio-shortcode, 
.entry-content .wp-embedded-audio, 
.entry-content .wp-embedded-video, 
.entry-content .wp-video {
  margin-bottom: 1.6em !important;
}

img {
  vertical-align: middle !important;
  max-width: 100%;
  height: auto;
}

/* === ENCABEZADOS === */
.buddypress h1, .buddypress h2, .buddypress h3,
.bbpress h1, .bbpress h2, .bbpress h3,
.bbp-forum-title, .bbp-topic-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  color: var(--plet-header);
  margin-top: 0;
  margin-bottom: 15px;
}

/* === ENLACES === */
.buddypress a, .bbpress a {
  color: var(--plet-principal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.buddypress a:hover, .bbpress a:hover {
  color: var(--plet-secundario);
}

/* === BOTONES === */
.buddypress .button:not(.menu-toggle),
.bbpress .button:not(.menu-toggle),
.buddypress input[type="submit"],
.bbpress input[type="submit"] {
  background: var(--plet-principal) !important;
  color: white !important;
  border: 1px solid var(--plet-borde) !important;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.buddypress .button:hover, .bbpress .button:hover {
  background: var(--plet-secundario) !important;
  transform: translateY(-1px);
}

.activity-list .activity-meta .button,
.single-headers .group-status {
  background: var(--plet-bg) !important;
  color: var(--plet-marca) !important;
  border: 1px solid var(--plet-marca) !important;
}

/* === CABECERAS DE FOROS === */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  background: var(--plet-bg) !important;
  border: 2px solid var(--plet-marca);
  font-weight: 700;
  padding: 12px;
  color: var(--plet-header);
}

/* === AUTORES Y META === */
.bbp-author-name {
  color: var(--plet-marca-alt);
  font-weight: 700;
}

.bbp-author-role { display: none; }

/* === PAGINACIÓN === */
.bbp-pagination .page-numbers {
  background: var(--plet-bg) !important;
  color: var(--plet-texto);
  border: 1px solid var(--plet-borde);
  border-radius: 4px;
  padding: 8px 12px;
  margin: 0 4px;
}

.bbp-pagination .page-numbers.current {
  background: var(--plet-principal) !important;
  color: white;
  border-color: var(--plet-principal);
}

/* === FORMULARIOS === */
.bbp-form input,
.bbp-form textarea,
.bbp-form select {
  background: var(--plet-bg) !important;
  color: var(--plet-texto);
  border: 1px solid var(--plet-borde);
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.bbp-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* === ACTIVIDAD META === */
.activity-list .activity-meta {
  background: var(--plet-bg) !important;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 15px;
  clear: both;
  width: 100%;
}

/* === CLEARFIX === */
.activity-list .activity-item:after,
.activity-list .activity-content:after {
  content: "";
  display: table;
  clear: both;
}

/* === MENÚ HAMBURGUESA === */
.ast-header-break-point .menu-toggle,
.buddypress .ast-header-break-point .menu-toggle,
.bbpress .ast-header-break-point .menu-toggle {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.ast-header-break-point .menu-toggle .ast-mobile-svg {
  fill: var(--plet-principal) !important;
}

/* === PERFILES Y GRUPOS === */
#buddypress #item-header {
  background: var(--plet-bg) !important;
  border: 0;
  border-radius: 0;
  padding: 20px;
  margin-bottom: 20px;
}

#buddypress #item-header .user-nicename {
  color: var(--plet-header);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
}

#buddypress #item-header.groups-header {
  background: var(--plet-bg) !important;
  border: 0;
}

/* === SEPARADORES === */
.activity-list .activity-item + .activity-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 10px;
}

/* === BLOQUES DE CÓDIGO === */
#bbpress-forums div.bbp-reply-content code,
#bbpress-forums div.bbp-reply-content pre,
#bbpress-forums div.bbp-topic-content code,
#bbpress-forums div.bbp-topic-content pre {
  font-family: Inconsolata, Consolas, Monaco, "Lucida Console", monospace;
  background-color: #647400;
  border: 1px solid #ddd;
  padding: 0 5px;
  max-width: 95%;
  margin-top: -3px;
  vertical-align: middle;
  overflow-x: auto;
  white-space: pre-wrap;
  border-radius: 4px;
  display: inline-block;
}

/* === CONTENIDO BBPRESS === */
#bbpress-forums div.bbp-forum-content,
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content {
  margin-left: 130px;
  padding: 12px 12px 12px 0;
  position: relative;
  text-align: left;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta {
  font-size: 14px;
  margin: 5px 0;
  padding: 0;
}

/* === LISTADOS BBPRESS === */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics {
  font-size: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  margin-bottom: 20px;
  clear: both;
}

/* === HEADERS/FOOTERS BBPRESS === */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  background: var(--plet-bg) !important;
  border-top: 1px solid #eee;
  clear: both;
  font-weight: 700;
  padding: 8px;
  text-align: center;
}

#bbpress-forums li {
  background: transparent;
  margin: 0;
  list-style: none;
}

/* === TABLAS BUDDYPRESS === */
.buddypress-wrap .bp-tables-user tr.alt td,
.buddypress-wrap table.wp-profile-fields tr.alt td,
.buddypress-wrap .bp-tables-user tbody tr,
.buddypress-wrap table.forum tbody tr,
.buddypress-wrap table.wp-profile-fields tbody tr,
.buddypress-wrap .bp-tables-user thead tr,
.buddypress-wrap table.forum thead tr,
.buddypress-wrap table.wp-profile-fields thead tr {
  background: var(--plet-bg);
}

.buddypress-wrap .bp-tables-user thead tr,
.buddypress-wrap table.forum thead tr,
.buddypress-wrap table.wp-profile-fields thead tr {
  border-bottom: 2px solid var(--plet-borde);
}

/* === CONTADORES NAVEGACIÓN === */
.bp-navs ul li .count {
  background: var(--plet-bg);
  border: 1px solid var(--plet-borde);
  border-radius: 10%;
  color: var(--plet-texto);
  display: inline;
  font-size: 12px;
  margin-left: 2px;
  padding: 3px 6px;
  text-align: center;
  vertical-align: middle;
}

/* === NAVEGACIÓN ACTIVA === */
@media screen and (min-width: 46.8em) {
  .buddypress-wrap .main-navs:not(.dir-navs) li.current a,
  .buddypress-wrap .main-navs:not(.dir-navs) li.selected a {
    background: var(--plet-bg);
    color: #fff;
    font-weight: 600;
  }
}

/* === WIDGETS === */
.widget_bp_core_login_widget,
.widget_buddypress,
.widget_display_search,
.widget_display_forums,
.widget_display_topics,
.widget_display_replies {
  background: var(--plet-bg) !important;
  border: 1px solid var(--plet-borde);
  border-radius: 8px;
  padding: 15px;
}

/* === GRID PLÉTORA TV === */
.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  padding: 20px;
  background-color: var(--plet-bg);
  border: 1px solid var(--plet-borde);
  border-radius: 12px;
}

.future-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid var(--plet-marca);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.future-item:hover {
  transform: scale(1.04);
  border-color: var(--plet-marca-alt);
}

.future-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.future-item::after {
  content: "Próximamente";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: linear-gradient(to top, rgba(0, 23, 36, 0.9), transparent);
  color: var(--plet-texto);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 900;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.future-item:hover::after {
  opacity: 1;
}

/* === ESTADOS DE USUARIO === */
.bbp-admin { border-left: 3px solid var(--plet-extra) !important; }
.bbp-keymaster { border-left: 3px solid var(--plet-marca) !important; }
.bbp-moderator { border-left: 3px solid var(--plet-secundario) !important; }

/* === RESET GENERAL === */
address, blockquote, body, dd, dl, dt, fieldset, figure,
h1, h2, h3, h4, h5, h6, hr, html, iframe, legend,
li, ol, p, pre, textarea, ul {
  border: 0;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

/* ===========================================
   RESPONSIVE DESIGN - MEJORAS MÓVIL
   =========================================== */

@media screen and (max-width: 768px) {
  html { scroll-padding-top: 60px; }
  
  .ast-scroll-to-top-right {
    right: 20px !important;
    bottom: 70px !important;
  }
  
  .page-id-54122 .is-layout-flex > *,
  [class*="page-id-4106"] .is-layout-flex > * {
    margin-top: 40px;
    padding: 0 15px;
  }
  
  /* PREVENIR ENCIMAMIENTO DE TEXTO */
  * {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  /* CABECERAS SIN ENCIMAMIENTO */
  h1, h2, h3, h4, h5, h6,
  .buddypress h1, .buddypress h2, .buddypress h3,
  .bbpress h1, .bbpress h2, .bbpress h3,
  .bbp-forum-title, .bbp-topic-title {
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    padding-right: 5px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* AVATAR MÓVIL - FIX MOZILLA */
  .activity-list .activity-avatar,
  .activity-list .activity-item div.item-avatar,
  .activity-avatar,
  .item-avatar {
    width: 50px !important;
    height: 50px !important;
    margin-right: 12px !important;
    margin-bottom: 10px !important;
    display: inline-block !important;
    vertical-align: top !important;
    position: relative !important;
  }
  
  .activity-list .activity-avatar img.avatar,
  .activity-list .activity-item div.item-avatar img,
  .activity-avatar img,
  .item-avatar img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    display: inline-block !important;
    vertical-align: top !important;
    position: relative !important;
  }
  
  /* CONTENIDO MÓVIL SIN ENCIMAMIENTO */
  .activity-list .activity-content {
    margin-left: 62px !important;
    width: calc(100% - 62px) !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
  }
  
  .activity-list .activity-item .activity-content .activity-inner {
    margin: 12px 0 8px !important;
    padding: 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    overflow: hidden !important;
  }
  
  /* IMÁGENES MÓVIL SIN DESBORDAMIENTO */
  .activity-list .activity-item.new_blog_post .activity-inner img {
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
    height: auto !important;
    display: block !important;
  }
  
  /* ELEMENTOS GENERALES MÓVIL */
  .activity-list .activity-meta {
    padding: 10px 0 !important;
    margin-top: 12px !important;
    font-size: 13px !important;
    clear: both !important;
    width: 100% !important;
  }
  
  .buddypress .button,
  .bbpress .button {
    padding: 8px 16px !important;
    font-size: 14px !important;
    display: inline-block !important;
    width: auto !important;
    margin: 5px !important;
  }
  
  .activity-list .activity-item {
    padding: 14px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    display: block !important;
  }
  
  .bbp-forum-info,
  .bbp-topic-header,
  .bbp-reply-header,
  .bbp-reply-content {
    padding: 12px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
  }
  
  #buddypress #item-header {
    padding: 15px !important;
    overflow: hidden !important;
  }
  
  /* CABECERAS BBPRESS MÓVIL */
  #bbpress-forums div.bbp-forum-header, 
  #bbpress-forums div.bbp-reply-header, 
  #bbpress-forums div.bbp-topic-header {
    padding: 10px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

@media screen and (max-width: 600px) {
  /* BBPRESS MÓVIL */
  #bbpress-forums .bbp-forum-title,
  #bbpress-forums .bbp-topic-title {
    font-size: 16px;
    line-height: 1.3;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  #bbpress-forums div.bbp-forum-content,
  #bbpress-forums div.bbp-reply-content,
  #bbpress-forums div.bbp-topic-content {
    margin-left: 0;
    padding: 10px 0;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  #bbpress-forums ul.bbp-forums,
  #bbpress-forums ul.bbp-topics,
  #bbpress-forums ul.bbp-replies {
    font-size: 14px;
  }
  
  #bbpress-forums p.bbp-topic-meta {
    font-size: 12px;
    margin: 3px 0;
    word-break: break-word !important;
  }
  
  #bbpress-forums {
    overflow-x: hidden;
  }
  
  /* AVATAR BBPRESS MÓVIL - FIX MOZILLA */
  #bbpress-forums .bbp-author-avatar,
  #bbpress-forums .bbp-author-avatar img {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    -moz-force-broken-image-icon: 0 !important;
  }
  
  #bbpress-forums .bbp-author-avatar img {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    display: inline !important;
  }
  
  #bbpress-forums .bbp-author-name {
    display: inline-block !important;
    font-size: 13px;
    vertical-align: middle;
    margin-left: 4px;
    white-space: normal !important;
    word-break: break-word !important;
  }
  
  #bbpress-forums .bbp-author-info {
    display: flex !important;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    flex-wrap: wrap !important;
  }
  
  /* HEADERS/FOOTERS MÓVIL SIN ENCIMAMIENTO */
  #bbpress-forums li.bbp-header,
  #bbpress-forums li.bbp-footer {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    padding: 10px 6px !important;
    font-size: 14px;
    text-align: center;
    line-height: 1.4 !important;
  }
  
  /* TABLAS MÓVIL */
  .buddypress-wrap table.wp-profile-fields td,
  .buddypress-wrap table.wp-profile-fields th,
  .buddypress-wrap .bp-tables-user td,
  .buddypress-wrap .bp-tables-user th {
    padding: 8px 10px;
    font-size: 14px;
    word-break: break-word !important;
  }
  
  .bp-navs ul li .count {
    font-size: 11px;
    padding: 2px 4px;
    margin-left: 2px;
  }
}

@media screen and (max-width: 480px) {
  /* PEQUEÑAS PANTALLAS */
  .radio-text-link {
    font-size: 14px;
    padding: 1px 3px;
    display: inline-block;
  }
  
  /* AVATAR PEQUEÑAS PANTALLAS - FIX MOZILLA */
  .activity-list .activity-avatar,
  .activity-list .activity-item div.item-avatar,
  .activity-avatar,
  .item-avatar {
    width: 45px !important;
    height: 45px !important;
    margin-right: 10px !important;
    margin-bottom: 8px !important;
  }
  
  .activity-list .activity-avatar img.avatar,
  .activity-list .activity-item div.item-avatar img,
  .activity-avatar img,
  .item-avatar img {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
  }
  
  .activity-list .activity-content {
    margin-left: 55px !important;
    width: calc(100% - 55px) !important;
  }
  
  .activity-list .activity-item {
    padding: 12px !important;
  }
  
  #bbpress-forums li.bbp-header,
  #bbpress-forums li.bbp-footer {
    padding: 8px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  
  .activity-list .activity-item .activity-content .activity-inner,
  .bbp-reply-content,
  .activity-list .activity-inner {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
  }
  
  /* FIX ESPECIAL PARA MOZILLA MOBILE */
  @-moz-document url-prefix() {
    .activity-avatar img,
    .item-avatar img,
    #bbpress-forums .bbp-author-avatar img {
      display: inline !important;
      visibility: visible !important;
      opacity: 1 !important;
      content: "" !important;
    }
    
    img[src*="avatar"] {
      min-height: 1px !important;
    }
  }
}

/* === ACCESIBILIDAD === */
@media (prefers-reduced-motion: reduce) {
  .radio-text-link,
  .buddypress a,
  .bbpress a,
  .buddypress .button,
  .bbpress .button {
    transition: none !important;
  }
  
  .buddypress .button:hover,
  .bbpress .button:hover {
    transform: none;
  }
}

/* ===========================================
   FIN DEL CÓDIGO CSS DE PLÉTORA NETWORK v2.6
   Optimizado por Janus - Febrero 2024
   =========================================== */

.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content {
    background: transparent;
}
/* ==================================================
   ESTILO PLÉTORA PARA BLOCKQUOTE – "Cita"
   Con margen sutil y sombra mejorada
   ================================================== */

/* 1. Importar la fuente Baloo 2 */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;700;800&display=swap');

/* 2. Reset y estilos base del blockquote */
blockquote {
  all: revert;
  font-family: 'Baloo 2', cursive, sans-serif !important;
  background-color: #001724 !important;
  border-left: 10px solid #999900 !important;
  border-radius: 0 20px 20px 0 !important;
  padding: 2rem 2.5rem !important;
  margin: 3rem 0 !important;        /* 📏 Más margen vertical para diferenciar */
  color: #E0E0E0 !important;
  box-shadow: 0 15px 25px rgba(0,0,0,0.35) !important; /* ☀️ Sombra más notoria */
  position: relative;
  quotes: none;
}

/* 3. Quitar comillas automáticas */
blockquote::before,
blockquote::after {
  content: none !important;
}

/* 4. Etiqueta "Cita" en la esquina superior derecha */
blockquote::after {
  content: "Cita" !important;        /* 🔤 Ahora con mayúscula inicial */
  position: absolute !important;
  top: -12px !important;
  right: 20px !important;
  background-color: #E09F3E !important;
  color: #001724 !important;
  font-family: 'Baloo 2', cursive, sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  text-transform: none !important;   /* Respetamos mayúscula/minúscula */
  letter-spacing: 1px !important;
  padding: 0.4rem 1rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border: 2px solid #B3B300;
  line-height: 1;
  z-index: 10;
}

/* 5. Estilo para el primer párrafo (título) */
blockquote p:first-child {
  font-weight: 800;
  font-size: 1.6rem;
  color: #E09F3E !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0 !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 80px; /* Espacio para la etiqueta */
}

/* 6. Icono automático antes del título */
blockquote p:first-child::before {
  content: "🚧🎙️ ";
  font-size: 2.2rem;
  line-height: 1;
  color: inherit;
}

/* 7. Párrafos secundarios – Texto citado más pequeño */
blockquote p {
  font-weight: 400;
  font-size: 1.1rem !important;
  margin: 0.9rem 0 !important;
  color: #E0E0E0 !important;
  line-height: 1.6;
}

/* 8. Enlaces */
blockquote a {
  color: #0A9396 !important;
  text-decoration: underline;
  text-decoration-color: #B3B300;
  text-underline-offset: 4px;
  font-weight: 700;
  transition: all 0.2s;
}

blockquote a:hover {
  color: #E09F3E !important;
  text-decoration-color: #E09F3E;
}

/* 9. Último párrafo sin margen */
blockquote p:last-child {
  margin-bottom: 0 !important;
}

/* 10. Énfasis */
blockquote strong,
blockquote b {
  color: #F2F2F2 !important;
  font-weight: 800;
}

/* ==================================================
   📱 RESPONSIVE – MÓVILES Y TABLETS
   ================================================== */
@media screen and (max-width: 768px) {
  blockquote {
    padding: 1.5rem 1.2rem !important;
    border-left-width: 6px !important;
    border-radius: 0 12px 12px 0 !important;
    margin: 2.2rem 0 !important;     /* Mayor margen también en móvil */
    box-shadow: 0 12px 20px rgba(0,0,0,0.3) !important;
  }

  /* Etiqueta más pequeña en móvil */
  blockquote::after {
    top: -10px !important;
    right: 15px !important;
    font-size: 0.7rem !important;
    padding: 0.25rem 0.8rem !important;
    border-width: 1.5px;
  }

  /* Título más compacto */
  blockquote p:first-child {
    font-size: 1.2rem !important;
    letter-spacing: 1.5px;
    margin-bottom: 1rem !important;
    padding-right: 70px;
    flex-wrap: wrap;
  }

  blockquote p:first-child::before {
    font-size: 1.8rem !important;
  }

  /* Párrafos más pequeños en móvil */
  blockquote p {
    font-size: 0.95rem !important;
    margin: 0.7rem 0 !important;
    line-height: 1.5;
  }
}

/* ==================================================
   🖥️ ESPECIFICIDAD PARA bbPRESS (si aplica)
   ================================================== */
#bbpress-forums blockquote {
  background-color: #001724 !important;
  border-left-color: #999900 !important;
}