/* RCAD v319 — Archivo de etiquetas bbPress limpio y estable.
 * Sin JavaScript, sin correcciones tardías y sin capas legacy acumuladas.
 * Solo actúa en /forums/topic-tag/* mediante body.rcad-topic-tag-archive-v312.
 */

body.rcad-topic-tag-archive-v312{
  background:#f6f8fb!important;
}

/* Una sola columna real: elimina el reparto 70/30 del tema padre desde el primer paint. */
html body.rcad-topic-tag-archive-v312 #content-wrapper.container,
html body.rcad-topic-tag-archive-v312 #content-wrapper.container.flex,
html body.rcad-topic-tag-archive-v312 #content-wrapper{
  display:block!important;
  width:min(1440px,calc(100% - 48px))!important;
  max-width:1440px!important;
  margin:0 auto!important;
  padding:0!important;
  gap:0!important;
  grid-template-columns:none!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #content-wrapper > .entry-content,
html body.rcad-topic-tag-archive-v312 .entry-content{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  flex:none!important;
  flex-basis:auto!important;
  margin:0!important;
  padding:34px 24px 48px!important;
  box-sizing:border-box!important;
}

html body.rcad-topic-tag-archive-v312 #bbpress-forums{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  color:#071b46!important;
  font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;
}

/* Título */
html body.rcad-topic-tag-archive-v312 .entry-title,
html body.rcad-topic-tag-archive-v312 .entry-content > h1{
  margin:0 0 24px!important;
  color:#071b46!important;
  font-size:34px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}

/* Paginación superior/inferior */
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-pagination{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 12px!important;
  float:none!important;
  color:#667085!important;
  font-size:13px!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-pagination-count,
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-pagination-links{
  float:none!important;
}

/* Contenedor de tabla */
html body.rcad-topic-tag-archive-v312 #bbpress-forums ul.bbp-topics{
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #dbe3ec!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 2px 10px rgba(15,23,42,.035)!important;
  box-sizing:border-box!important;
}

/* Anula pseudoetiquetas antiguas del tema. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header li::before,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header li::after,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic > li::after{
  content:none!important;
  display:none!important;
}

/* Cabecera: usa el texto NATIVO de bbPress, sin recrearlo con ::after. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header{
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#eef5fb!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 120px 130px 330px!important;
  width:100%!important;
  min-height:44px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles > li{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding:0 16px!important;
  float:none!important;
  border:0!important;
  border-right:1px solid #dbe3ec!important;
  background:transparent!important;
  color:#52657e!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.025em!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles > li:last-child{
  border-right:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header .bbp-topic-voice-count,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header .bbp-topic-reply-count{
  justify-content:center!important;
  text-align:center!important;
}

/* Filas */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 120px 130px 330px!important;
  width:100%!important;
  min-height:126px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-top:1px solid #e3e8ef!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic:first-child{
  border-top:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic > li{
  display:flex!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:18px 16px!important;
  float:none!important;
  border:0!important;
  border-right:1px solid #e3e8ef!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic > li:last-child{
  border-right:0!important;
}

/* Columna tema */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title{
  position:relative!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:7px!important;
  padding-left:64px!important;
  overflow:visible!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:20px!important;
  top:50%!important;
  width:30px!important;
  height:30px!important;
  transform:translateY(-50%)!important;
  border:1px solid #f6a800!important;
  border-radius:50%!important;
  background:#fff8e8!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-permalink{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0 0 7px!important;
  border-bottom:1px solid #dbe3ec!important;
  color:#0868c7!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:750!important;
  text-decoration:none!important;
  overflow-wrap:anywhere!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-permalink:hover{
  color:#071b46!important;
  text-decoration:underline!important;
}

/* Paginación interna: evita el "1 2 3" suelto. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-pagination{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
  font-size:0!important;
  line-height:1!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-pagination a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #dbe3ec!important;
  border-radius:5px!important;
  background:#f8fafc!important;
  color:#1769e0!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}

html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-title .bbp-topic-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#7a889b!important;
  font-size:12px!important;
  line-height:1.45!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-title .bbp-topic-meta .bbp-author-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  color:#071b46!important;
  font-weight:700!important;
  text-decoration:none!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-title .bbp-topic-meta img.avatar{
  width:22px!important;
  height:22px!important;
  margin:0!important;
  border-radius:50%!important;
}

/* Métricas: solo el número nativo, sin etiquetas inyectadas. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-voice-count,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-reply-count{
  align-items:center!important;
  justify-content:center!important;
  color:#071b46!important;
  font-size:16px!important;
  line-height:1!important;
  font-weight:800!important;
  text-align:center!important;
}

/* Último mensaje */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness{
  position:relative!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:4px!important;
  padding-left:66px!important;
  overflow:hidden!important;
  color:#667085!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness > a{
  display:block!important;
  margin:0!important;
  color:#1769e0!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
  text-decoration:none!important;
  white-space:normal!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness .bbp-topic-meta{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#667085!important;
  font-size:12px!important;
  line-height:1.35!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness .bbp-author-avatar{
  position:absolute!important;
  left:18px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness img.avatar{
  width:32px!important;
  height:32px!important;
  margin:0!important;
  border-radius:50%!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-author-name{
  color:#071b46!important;
  font-weight:700!important;
}

html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-footer{
  display:none!important;
}

@media (max-width:1100px){
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles,
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic{
    grid-template-columns:minmax(0,1fr) 100px 110px 270px!important;
  }
}

@media (max-width:900px){
  html body.rcad-topic-tag-archive-v312 #content-wrapper.container,
  html body.rcad-topic-tag-archive-v312 #content-wrapper.container.flex,
  html body.rcad-topic-tag-archive-v312 #content-wrapper{
    width:calc(100% - 24px)!important;
  }
  html body.rcad-topic-tag-archive-v312 #content-wrapper > .entry-content,
  html body.rcad-topic-tag-archive-v312 .entry-content{
    padding:24px 12px 36px!important;
  }
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header{
    display:none!important;
  }
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic{
    grid-template-columns:1fr 1fr!important;
  }
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title{
    grid-column:1/-1!important;
    min-height:0!important;
    padding:16px 14px 16px 58px!important;
    border-right:0!important;
    border-bottom:1px solid #e3e8ef!important;
  }
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-voice-count,
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-reply-count{
    min-height:64px!important;
  }
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness{
    grid-column:1/-1!important;
    min-height:72px!important;
    border-top:1px solid #e3e8ef!important;
  }
}

/* ============================================================
 * RCAD v320 — restauración base + composición estable topic-tag
 * Mantiene una sola hoja base bbPress y neutraliza cualquier
 * geometría legacy únicamente dentro del archivo de etiquetas.
 * ============================================================ */
html body.rcad-topic-tag-archive-v312 #bbpress-forums,
html body.rcad-topic-tag-archive-v312 #bbpress-forums *{
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums ul,
html body.rcad-topic-tag-archive-v312 #bbpress-forums ol,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li{
  list-style:none!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums ul,
html body.rcad-topic-tag-archive-v312 #bbpress-forums ol{
  margin-left:0!important;
  padding-left:0!important;
}

/* Buscador del foro: compacto y coherente con RCAD. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  float:none!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form > div,
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  width:100%!important;
  max-width:760px!important;
  margin:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form label{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form input[type="text"],
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form input[type="search"]{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #d7deea!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#071b46!important;
  font-size:14px!important;
  line-height:42px!important;
  box-shadow:none!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form input[type="submit"],
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form button{
  width:auto!important;
  min-width:92px!important;
  height:42px!important;
  margin:0!important;
  padding:0 18px!important;
  border:0!important;
  border-radius:7px!important;
  background:#071b46!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:42px!important;
  box-shadow:none!important;
  cursor:pointer!important;
}

/* El listado debe ocupar todo el ancho útil, sin límites heredados. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums > ul.bbp-topics,
html body.rcad-topic-tag-archive-v312 #bbpress-forums ul.bbp-topics,
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topics{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
  clear:both!important;
}

/* Cabecera y fila usan exactamente la misma retícula. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic{
  grid-template-columns:minmax(420px,1fr) 120px 130px minmax(280px,330px)!important;
}

/* Evita marcadores/puntos y residuos visuales de listas nativas. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-footer,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header li,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body li{
  list-style:none!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header li::marker,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body li::marker{
  content:""!important;
  font-size:0!important;
}

/* Metadatos y última publicación sin solapes. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-title .bbp-topic-meta,
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-freshness .bbp-topic-meta{
  position:static!important;
  transform:none!important;
  float:none!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-freshness{
  min-width:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-freshness .bbp-author-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
}

@media (max-width:1100px){
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles,
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic{
    grid-template-columns:minmax(320px,1fr) 96px 106px minmax(220px,260px)!important;
  }
}
@media (max-width:900px){
  html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form > div,
  html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-search-form form{
    max-width:none!important;
  }
}

/* RCAD v321 — Breadcrumb global igual al resto del foro.
 * Recupera únicamente la presentación de la miga de pan sin volver a cargar
 * las capas legacy de layout que deformaban el archivo de etiquetas.
 */
body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid #dfe6ef!important;
  background:#f4f6f9!important;
  box-shadow:none!important;
  position:relative!important;
  z-index:20!important;
}
body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb .bbp-breadcrumb{
  width:min(1320px,calc(100vw - 48px))!important;
  max-width:1320px!important;
  min-height:44px!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  box-sizing:border-box!important;
}
body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb .bbp-breadcrumb > p,
body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb .bbp-breadcrumb p{
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  flex-wrap:wrap!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#6b7d96!important;
  font-size:12px!important;
  line-height:1.35!important;
}
body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb .bbp-breadcrumb a{
  color:#14345f!important;
  font-weight:650!important;
  text-decoration:none!important;
}
body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb .bbp-breadcrumb a:hover{
  color:#075ad8!important;
}
body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb .bbp-breadcrumb .bbp-breadcrumb-sep{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 8px!important;
  color:#aab4c3!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1!important;
}
body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb .bbp-breadcrumb-current{
  color:#6b7d96!important;
  font-weight:400!important;
  text-decoration:none!important;
}
@media (max-width:767px){
  body.rcad-topic-tag-archive-v312 .rcad-global-forum-breadcrumb .bbp-breadcrumb{
    width:calc(100vw - 32px)!important;
    min-height:42px!important;
  }
}

/* ============================================================
 * RCAD v322 — topic-tag: ancho real + fila compacta definitiva
 * Replica el lenguaje visual del índice moderno del foro.
 * ============================================================ */
html body.rcad-topic-tag-archive-v312 #content-wrapper.container,
html body.rcad-topic-tag-archive-v312 #content-wrapper.container.flex,
html body.rcad-topic-tag-archive-v312 #content-wrapper{
  display:block!important;
  width:100%!important;
  max-width:1440px!important;
  margin:0 auto!important;
  padding:0 24px!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #content-wrapper > .entry-content,
html body.rcad-topic-tag-archive-v312 .entry-content{
  display:block!important;
  width:100%!important;
  max-width:1320px!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:34px 0 48px!important;
  flex:0 0 100%!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums,
html body.rcad-topic-tag-archive-v312 #bbpress-forums.bbpress-wrapper,
html body.rcad-topic-tag-archive-v312 .bbpress-wrapper,
html body.rcad-topic-tag-archive-v312 #bbpress-forums > ul.bbp-topics{
  width:100%!important;
  max-width:1320px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  float:none!important;
  box-sizing:border-box!important;
}

/* Tabla igual a la referencia: 4 columnas, compacta y limpia. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums ul.bbp-topics{
  border:1px solid #d7e0ea!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header{
  min-height:42px!important;
  background:#eef5fb!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 110px 120px 300px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles{
  min-height:42px!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles > li{
  display:flex!important;
  align-items:center!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0 18px!important;
  border-right:1px solid #d7e0ea!important;
  color:#405777!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles > li:last-child{
  border-right:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header .bbp-topic-voice-count,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header .bbp-topic-reply-count{
  justify-content:center!important;
}

html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic{
  min-height:88px!important;
  border-top:1px solid #e1e7ef!important;
  background:#fff!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic > li{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  min-height:88px!important;
  margin:0!important;
  padding:14px 16px!important;
  border-right:1px solid #e1e7ef!important;
  background:#fff!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic > li:last-child{
  border-right:0!important;
}

/* Primera columna: solo icono + título, como el índice del foro. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  padding:14px 18px 14px 76px!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title::before{
  content:""!important;
  position:absolute!important;
  left:20px!important;
  top:50%!important;
  width:42px!important;
  height:42px!important;
  transform:translateY(-50%)!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff7e6!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title::after{
  content:""!important;
  position:absolute!important;
  left:33px!important;
  top:50%!important;
  width:16px!important;
  height:13px!important;
  transform:translateY(-56%)!important;
  border:1.8px solid #f6a800!important;
  border-radius:4px!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-permalink{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  color:#0668c8!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:2px!important;
}
/* En esta vista no repetimos paginación ni autor/categoría debajo del título. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-title .bbp-topic-pagination,
html body.rcad-topic-tag-archive-v312 #bbpress-forums .bbp-topic-title .bbp-topic-meta{
  display:none!important;
}

/* Contadores simples y centrados, sin textos añadidos. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-voice-count,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-reply-count{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:14px 8px!important;
  color:#071b46!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1!important;
  text-align:center!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-voice-count::before,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-voice-count::after,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-reply-count::before,
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-reply-count::after{
  content:none!important;
  display:none!important;
}

/* Última publicación: avatar + fecha + usuario en una sola línea. */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding:14px 18px 14px 60px!important;
  overflow:hidden!important;
  color:#52657e!important;
  font-size:12px!important;
  line-height:1.3!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness > a{
  display:inline!important;
  margin:0!important;
  color:#0668c8!important;
  font-size:12px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness .bbp-topic-meta{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
  color:#52657e!important;
  font-size:12px!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness .bbp-author-avatar{
  position:absolute!important;
  left:18px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness img.avatar{
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  margin:0!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness .bbp-author-name{
  color:#405777!important;
  font-size:12px!important;
  font-weight:500!important;
}

@media (max-width:1000px){
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-header ul.forum-titles,
  html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body > ul.topic{
    grid-template-columns:minmax(0,1fr) 84px 92px 235px!important;
  }
}
@media (max-width:760px){
  html body.rcad-topic-tag-archive-v312 #content-wrapper.container,
  html body.rcad-topic-tag-archive-v312 #content-wrapper.container.flex,
  html body.rcad-topic-tag-archive-v312 #content-wrapper{
    padding:0 12px!important;
  }
  html body.rcad-topic-tag-archive-v312 #content-wrapper > .entry-content,
  html body.rcad-topic-tag-archive-v312 .entry-content{
    padding:24px 0 36px!important;
  }
}

/* ============================================================
 * RCAD v323 — topic-tag: tabla a ancho completo real
 * La tabla deja de depender del ancho heredado del wrapper bbPress
 * y ocupa todo el ancho útil RCAD (máx. 1320 px), centrada en viewport.
 * ============================================================ */
@media (min-width:761px){
  html body.rcad-topic-tag-archive-v312 #bbpress-forums,
  html body.rcad-topic-tag-archive-v312 #bbpress-forums.bbpress-wrapper,
  html body.rcad-topic-tag-archive-v312 .entry-content > #bbpress-forums{
    position:relative!important;
    left:50%!important;
    width:calc(100vw - 96px)!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:translateX(-50%)!important;
    float:none!important;
    box-sizing:border-box!important;
  }
  html body.rcad-topic-tag-archive-v312 #bbpress-forums > ul.bbp-topics,
  html body.rcad-topic-tag-archive-v312 #bbpress-forums ul.bbp-topics{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:760px){
  html body.rcad-topic-tag-archive-v312 #bbpress-forums,
  html body.rcad-topic-tag-archive-v312 #bbpress-forums.bbpress-wrapper,
  html body.rcad-topic-tag-archive-v312 .entry-content > #bbpress-forums{
    position:static!important;
    left:auto!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    transform:none!important;
  }
}

/* ============================================================
 * RCAD v324 — topic-tag: icono y avatar como índice principal
 * ============================================================ */
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title{
  padding-left:78px!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title::before{
  left:20px!important;
  width:42px!important;
  height:42px!important;
  background:#fff7e6!important;
  border-radius:50%!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-title::after{
  left:31px!important;
  width:20px!important;
  height:20px!important;
  border:0!important;
  border-radius:0!important;
  background-color:transparent!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:20px 20px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6a800' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E")!important;
  transform:translateY(-50%)!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness{
  padding-left:64px!important;
  gap:7px!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness .bbp-author-avatar{
  left:20px!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness img.avatar{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  border:2px solid #fff!important;
  border-radius:50%!important;
  box-shadow:0 0 0 1px #d7e0eb!important;
  object-fit:cover!important;
  vertical-align:middle!important;
}
html body.rcad-topic-tag-archive-v312 #bbpress-forums li.bbp-body .bbp-topic-freshness .bbp-author-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
}
