/* ============================================================
   RCAD PRO — bbPress Professional Clean v6
   Reescritura completa. Sin dependencia visual del CSS anterior.
   ============================================================ */

body.rcad-bbpress{
  --rcad-navy:#071b46;
  --rcad-navy-2:#0d2b61;
  --rcad-yellow:#f6a800;
  --rcad-text:#17233b;
  --rcad-muted:#667085;
  --rcad-line:#e3e8f0;
  --rcad-soft:#f6f8fb;
  --rcad-white:#fff;
  background:#f4f7fb;
}

body.rcad-bbpress #primary,
body.rcad-bbpress .content-area,
body.rcad-bbpress main,
body.rcad-bbpress .site-main{
  width:100%!important;
  max-width:1400px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:visible!important;
}

#bbpress-forums{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  color:var(--rcad-text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px!important;
  line-height:1.55;
}

#bbpress-forums *,
#bbpress-forums *::before,
#bbpress-forums *::after{box-sizing:border-box}
#bbpress-forums a{text-decoration:none;transition:.18s ease}
#bbpress-forums ul,#bbpress-forums ol{list-style:none;margin:0;padding:0}

/* Búsqueda superior */
#bbpress-forums .bbp-search-form{
  display:flex!important;
  justify-content:flex-end;
  gap:8px;
  margin:0 0 16px!important;
  padding:0!important;
}
#bbpress-forums .bbp-search-form>div{display:flex;gap:8px;width:min(100%,460px)}
#bbpress-forums #bbp_search{
  flex:1;
  min-width:0;
  height:42px!important;
  padding:0 13px!important;
  border:1px solid #d7deea!important;
  border-radius:7px!important;
  background:#fff!important;
  color:var(--rcad-text)!important;
  font-size:13px!important;
  box-shadow:none!important;
}
#bbpress-forums #bbp_search:focus{outline:0;border-color:#d99a16!important;box-shadow:0 0 0 3px rgba(246,168,0,.13)!important}
#bbpress-forums .bbp-search-form .button{
  height:42px!important;
  padding:0 20px!important;
  border:0!important;
  border-radius:7px!important;
  background:var(--rcad-navy)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  cursor:pointer;
}
#bbpress-forums .bbp-search-form .button:hover{background:var(--rcad-navy-2)!important}

/* Hero */
.rcad-forum-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);
  align-items:center;
  gap:32px;
  margin:0 0 24px;
  padding:34px 40px;
  border-radius:10px;
  background:linear-gradient(135deg,#06173b 0%,#0c2b63 100%);
  color:#fff;
  box-shadow:0 14px 34px rgba(7,27,70,.13);
}
.rcad-forum-hero__intro{display:flex;align-items:center;gap:22px;min-width:0}
.rcad-forum-hero__icon{
  display:grid;place-items:center;
  width:76px;height:76px;flex:0 0 76px;
  border:3px solid rgba(255,255,255,.22);
  border-radius:50%;
  background:rgba(255,255,255,.06)
}
.rcad-forum-hero__icon svg{width:40px;height:40px;fill:#fff}
.rcad-forum-hero__eyebrow{margin:0 0 4px!important;color:var(--rcad-yellow)!important;font-size:11px!important;font-weight:850!important;text-transform:uppercase;letter-spacing:.1em}
.rcad-forum-hero h1{margin:0 0 7px!important;color:#fff!important;font-size:28px!important;line-height:1.18!important;font-weight:850!important;letter-spacing:-.02em}
.rcad-forum-hero p{margin:0!important;max-width:650px;color:rgba(255,255,255,.84)!important;font-size:13px!important;line-height:1.65!important}
.rcad-forum-hero__stats{display:grid;grid-template-columns:repeat(3,1fr)}
.rcad-forum-hero__stats>div{
  display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;
  align-items:center;column-gap:9px;
  min-width:0;padding:10px 13px;
  border-left:1px solid rgba(255,255,255,.13)
}
.rcad-forum-hero__stats>div:first-child{border-left:0}
.rcad-forum-hero__stats .dashicons{grid-row:1/3;width:26px;height:26px;color:var(--rcad-yellow);font-size:25px}
.rcad-forum-hero__stats strong{color:#fff;font-size:20px;line-height:1;font-weight:850}
.rcad-forum-hero__stats small{margin-top:5px;color:rgba(255,255,255,.72);font-size:10px;white-space:nowrap}

/* Barra de acciones */
.rcad-forum-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 13px}
.rcad-forum-toolbar h2{margin:0!important;color:var(--rcad-text)!important;font-size:20px!important;font-weight:850!important;letter-spacing:-.02em}
.rcad-forum-toolbar__actions{display:flex;align-items:center;gap:9px}
.rcad-forum-toolbar__actions a{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:40px;padding:0 16px;border-radius:7px;
  font-size:12px;font-weight:800
}
.rcad-forum-search-link{border:1px solid var(--rcad-line);background:#fff;color:var(--rcad-navy)!important}
.rcad-forum-search-link:hover{border-color:#bdc7d8;background:#fafcff}
.rcad-forum-new-topic{border:1px solid var(--rcad-navy);background:var(--rcad-navy);color:#fff!important}
.rcad-forum-new-topic:hover{background:var(--rcad-navy-2);transform:translateY(-1px)}

/* Lista principal: reset completo de bbPress */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-search-results{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--rcad-line)!important;
  border-radius:9px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 6px 22px rgba(23,43,77,.05)!important;
}
#bbpress-forums li.bbp-header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 82px 92px minmax(220px,28%);
  align-items:center;
  min-height:42px;
  padding:0 20px!important;
  border:0!important;
  border-bottom:1px solid var(--rcad-line)!important;
  background:#eef2f8!important;
  color:#68758c!important;
  font-size:9px!important;
  font-weight:850!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
#bbpress-forums li.bbp-header>ul{display:contents!important}
#bbpress-forums li.bbp-header li{float:none!important;width:auto!important;margin:0!important;padding:0!important}
#bbpress-forums li.bbp-body{display:block!important;margin:0!important;padding:0!important;background:#fff!important}
#bbpress-forums li.bbp-body>ul.forum,
#bbpress-forums li.bbp-body>ul.topic{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 82px 92px minmax(220px,28%);
  align-items:center;
  width:100%!important;
  min-height:86px;
  margin:0!important;
  padding:15px 20px!important;
  border:0!important;
  border-bottom:1px solid var(--rcad-line)!important;
  background:#fff!important;
}
#bbpress-forums li.bbp-body>ul:last-child{border-bottom:0!important}
#bbpress-forums li.bbp-body>ul.forum:hover,
#bbpress-forums li.bbp-body>ul.topic:hover{background:#fbfcff!important}
#bbpress-forums li.bbp-body>ul>li{float:none!important;width:auto!important;margin:0!important;padding:0!important}

/* Información del foro */
#bbpress-forums .bbp-forum-info,
#bbpress-forums .bbp-topic-title{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  min-height:48px;
  padding:2px 18px 2px 58px!important;
  text-align:left!important;
}
#bbpress-forums .bbp-forum-info::before,
#bbpress-forums .bbp-topic-title::before{
  content:"";
  position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;
  background-color:var(--rcad-navy);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v12H7l-3 3V4zm2 2v8.2L6.2 14H18V6H6z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:20px;
  box-shadow:0 5px 12px rgba(7,27,70,.15)
}
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink{
  display:block!important;
  margin:0!important;
  color:#0b3574!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:850!important;
  overflow-wrap:anywhere
}
#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-permalink:hover{color:#c78300!important}
#bbpress-forums .bbp-forum-content{margin:4px 0 0!important;color:var(--rcad-muted)!important;font-size:11.5px!important;line-height:1.45!important}

/* Subforos */
#bbpress-forums .bbp-forums-list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px 10px!important;
  margin:7px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font-size:11.5px!important;
}
#bbpress-forums .bbp-forums-list li{display:inline-flex!important;float:none!important;width:auto!important;margin:0!important;padding:0!important;color:#c9d0dc!important}
#bbpress-forums .bbp-forums-list li::before{content:""!important}
#bbpress-forums .bbp-forums-list a{color:#4e73aa!important;border-bottom:1px solid #dbe4f2}
#bbpress-forums .bbp-forums-list a:hover{color:#bd7b00!important;border-color:#f1c568}

/* Contadores */
#bbpress-forums .bbp-forum-topic-count,
#bbpress-forums .bbp-forum-reply-count,
#bbpress-forums .bbp-topic-voice-count,
#bbpress-forums .bbp-topic-reply-count{
  display:block!important;
  width:auto!important;
  color:#1b2942!important;
  text-align:center!important;
  font-size:14px!important;
  line-height:1.1!important;
  font-weight:850!important;
}
#bbpress-forums .bbp-forum-topic-count::after,
#bbpress-forums .bbp-topic-voice-count::after{content:"Temas"}
#bbpress-forums .bbp-forum-reply-count::after,
#bbpress-forums .bbp-topic-reply-count::after{content:"Mensajes"}
#bbpress-forums .bbp-forum-topic-count::after,
#bbpress-forums .bbp-forum-reply-count::after,
#bbpress-forums .bbp-topic-voice-count::after,
#bbpress-forums .bbp-topic-reply-count::after{
  display:block;margin-top:5px;color:#929bad;font-size:7.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em
}

/* Última actividad */
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  padding-left:18px!important;
  border-left:1px solid var(--rcad-line)!important;
  color:var(--rcad-muted)!important;
  text-align:left!important;
  font-size:10px!important;
  line-height:1.45!important;
}
#bbpress-forums .bbp-forum-freshness a,
#bbpress-forums .bbp-topic-freshness a{color:#0b3574!important;font-size:10.5px!important;font-weight:750!important}
#bbpress-forums .bbp-forum-freshness a:hover,
#bbpress-forums .bbp-topic-freshness a:hover{color:#bd7b00!important}
#bbpress-forums .bbp-forum-freshness img.avatar,
#bbpress-forums .bbp-topic-freshness img.avatar{
  float:left!important;width:34px!important;height:34px!important;margin:0 9px 0 0!important;
  border:2px solid #fff!important;border-radius:50%!important;box-shadow:0 0 0 1px var(--rcad-line)!important
}

/* Temas y respuestas */
#bbpress-forums ul.bbp-replies{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
#bbpress-forums div.bbp-reply-header{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:38px;padding:7px 16px!important;border:0!important;border-bottom:1px solid var(--rcad-line)!important;
  background:#fafbfd!important;color:#8a94a6!important;font-size:10px!important
}
#bbpress-forums div.reply,
#bbpress-forums div.topic{
  display:flex!important;align-items:stretch!important;
  margin:0 0 13px!important;padding:0!important;
  border:1px solid var(--rcad-line)!important;border-radius:9px!important;
  background:#fff!important;overflow:hidden!important;box-shadow:0 5px 18px rgba(24,42,72,.05)!important
}
#bbpress-forums .bbp-reply-right-col{display:flex!important;flex:1!important;min-width:0!important;flex-direction:column!important}
#bbpress-forums .bbp-reply-author,
#bbpress-forums .bbp-topic-author{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  flex:0 0 138px!important;width:138px!important;min-width:138px!important;max-width:138px!important;
  margin:0!important;padding:18px 12px!important;border:0!important;border-right:1px solid var(--rcad-line)!important;
  background:#f7f9fc!important;text-align:center!important
}
#bbpress-forums .bbp-reply-author img.avatar,
#bbpress-forums .bbp-topic-author img.avatar{width:66px!important;height:66px!important;margin:0 auto 7px!important;border:2px solid #fff!important;border-radius:50%!important;box-shadow:0 3px 12px rgba(7,27,70,.13)!important}

#bbpress-forums .bbp-author-role{display:block!important;width:100%;margin-top:4px!important;padding:3px 5px!important;border-radius:4px!important;background:var(--rcad-yellow)!important;color:#fff!important;font-size:8px!important;font-weight:850!important;text-transform:uppercase!important}
#bbpress-forums .rcad-bbp-stats{width:100%;margin-top:4px}
#bbpress-forums .rcad-bbp-rank{display:block;width:100%;padding:3px 4px;border-radius:4px;color:#fff;font-size:8px;font-weight:750}
#bbpress-forums .rcad-bbp-since{display:block;margin:5px 0;color:#8b95a6;font-size:8px}
#bbpress-forums .rcad-bbp-stat-list{margin:5px 0 0!important;padding:6px 0 0!important;border-top:1px solid var(--rcad-line)!important}
#bbpress-forums .rcad-bbp-stat-list li{display:grid!important;grid-template-columns:15px 1fr auto!important;gap:3px!important;padding:2px 0!important;color:#667085!important;font-size:9px!important}
#bbpress-forums .bbp-reply-content,
#bbpress-forums .bbp-topic-content{flex:1!important;width:auto!important;min-height:145px;margin:0!important;padding:22px 24px!important;color:#29364e!important;}

/* Formularios, avisos y paginación */
#bbpress-forums fieldset.bbp-form{margin:18px 0!important;padding:22px!important;border:1px solid var(--rcad-line)!important;border-radius:9px!important;background:#fff!important;box-shadow:0 5px 18px rgba(24,42,72,.04)!important}
#bbpress-forums fieldset.bbp-form legend{padding:0 8px!important;color:var(--rcad-navy)!important;font-size:14px!important;font-weight:850!important}
#bbpress-forums input[type=text],#bbpress-forums input[type=email],#bbpress-forums input[type=password],#bbpress-forums select,#bbpress-forums textarea{max-width:100%!important;border:1px solid #d7deea!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important}
#bbpress-forums textarea{min-height:160px!important}
#bbpress-forums input:focus,#bbpress-forums select:focus,#bbpress-forums textarea:focus{outline:0!important;border-color:#dda01d!important;box-shadow:0 0 0 3px rgba(246,168,0,.13)!important}
#bbpress-forums .button,#bbpress-forums button[type=submit],#bbpress-forums input[type=submit]{border:0!important;border-radius:7px!important;background:var(--rcad-navy)!important;color:#fff!important;font-weight:800!important;box-shadow:none!important}
#bbpress-forums .button:hover,#bbpress-forums button[type=submit]:hover,#bbpress-forums input[type=submit]:hover{background:var(--rcad-navy-2)!important}
#bbpress-forums .bbp-template-notice{padding:11px 14px!important;border:1px solid #dce3ee!important;border-left:4px solid var(--rcad-yellow)!important;border-radius:7px!important;background:#f8fafc!important;color:#526078!important}
#bbpress-forums .bbp-pagination{margin:16px 0!important}
#bbpress-forums .bbp-pagination-links a,#bbpress-forums .bbp-pagination-links span.current{display:inline-grid!important;place-items:center!important;min-width:34px!important;height:34px!important;margin:0 2px!important;border:1px solid var(--rcad-line)!important;border-radius:6px!important;background:#fff!important;color:var(--rcad-navy)!important}
#bbpress-forums .bbp-pagination-links span.current{border-color:var(--rcad-navy)!important;background:var(--rcad-navy)!important;color:#fff!important}
#bbpress-forums li.bbp-footer{display:none!important}

/* Valores de comunidad */
.rcad-forum-values{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin:32px 0 15px;padding:22px 10px;border-top:1px solid var(--rcad-line)}
.rcad-forum-values>div,.rcad-forum-values>a{display:flex;align-items:flex-start;gap:9px;color:var(--rcad-text);text-decoration:none!important}
.rcad-forum-values .dashicons{width:27px;height:27px;flex:0 0 27px;color:var(--rcad-navy);font-size:25px}
.rcad-forum-values p{margin:0!important;line-height:1.3!important}
.rcad-forum-values strong{display:block;font-size:11px;font-weight:850}
.rcad-forum-values small{display:block;margin-top:4px;color:var(--rcad-muted);font-size:9px;line-height:1.45}

@media (max-width:1000px){
  .rcad-forum-hero{grid-template-columns:1fr;padding:28px 30px}
  .rcad-forum-hero__stats{max-width:620px}
  #bbpress-forums li.bbp-header,
  #bbpress-forums li.bbp-body>ul.forum,
  #bbpress-forums li.bbp-body>ul.topic{grid-template-columns:minmax(0,1fr) 70px 78px minmax(190px,30%)}
  .rcad-forum-values{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:700px){
  body.rcad-bbpress{background:#fff}
  #bbpress-forums{font-size:13px!important}
  #bbpress-forums .bbp-search-form{justify-content:stretch}
  #bbpress-forums .bbp-search-form>div{width:100%}
  .rcad-forum-hero{margin:0 0 20px;padding:22px 18px;border-radius:9px;gap:18px}
  .rcad-forum-hero__intro{align-items:flex-start;gap:13px}
  .rcad-forum-hero__icon{width:52px;height:52px;flex-basis:52px}
  .rcad-forum-hero__icon svg{width:28px;height:28px}
  .rcad-forum-hero__eyebrow{display:none}
  .rcad-forum-hero h1{font-size:21px!important}
  .rcad-forum-hero p{font-size:11.5px!important}
  .rcad-forum-hero__stats{grid-template-columns:repeat(3,1fr)}
  .rcad-forum-hero__stats>div{display:block;padding:7px 3px;text-align:center}
  .rcad-forum-hero__stats .dashicons{display:none}
  .rcad-forum-hero__stats strong,.rcad-forum-hero__stats small{display:block}
  .rcad-forum-hero__stats strong{font-size:16px}
  .rcad-forum-toolbar{align-items:flex-start;flex-direction:column;gap:10px}
  .rcad-forum-toolbar h2{font-size:17px!important}
  .rcad-forum-toolbar__actions{width:100%}
  .rcad-forum-toolbar__actions a{flex:1;min-width:0;padding:0 9px;font-size:10.5px}

  #bbpress-forums li.bbp-header{display:none!important}
  #bbpress-forums li.bbp-body>ul.forum,
  #bbpress-forums li.bbp-body>ul.topic{
    display:grid!important;
    grid-template-columns:1fr!important;
    min-height:0!important;
    padding:16px!important
  }
  #bbpress-forums .bbp-forum-info,
  #bbpress-forums .bbp-topic-title{padding:0 0 0 50px!important;min-height:42px}
  #bbpress-forums .bbp-forum-info::before,
  #bbpress-forums .bbp-topic-title::before{width:38px;height:38px;background-size:18px}
  #bbpress-forums .bbp-forum-title,
  #bbpress-forums .bbp-topic-permalink{font-size:13px!important}
  #bbpress-forums .bbp-forum-content{font-size:10.5px!important}
  #bbpress-forums .bbp-forums-list{gap:4px 8px!important;margin-top:7px!important;font-size:10.5px!important}
  #bbpress-forums .bbp-forum-topic-count,
  #bbpress-forums .bbp-forum-reply-count,
  #bbpress-forums .bbp-topic-voice-count,
  #bbpress-forums .bbp-topic-reply-count{display:none!important}
  #bbpress-forums .bbp-forum-freshness,
  #bbpress-forums .bbp-topic-freshness{
    display:block!important;
    margin:12px 0 0 50px!important;
    padding:9px 0 0!important;
    border:0!important;
    border-top:1px solid var(--rcad-line)!important;
    font-size:9px!important
  }
  #bbpress-forums .bbp-forum-freshness img.avatar,
  #bbpress-forums .bbp-topic-freshness img.avatar{width:28px!important;height:28px!important}

  #bbpress-forums div.reply,#bbpress-forums div.topic{display:block!important}
  #bbpress-forums .bbp-reply-author,#bbpress-forums .bbp-topic-author{
    display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;
    width:100%!important;min-width:0!important;max-width:none!important;padding:11px!important;
    border-right:0!important;border-bottom:1px solid var(--rcad-line)!important;text-align:left!important
  }
  #bbpress-forums .bbp-reply-author img.avatar,#bbpress-forums .bbp-topic-author img.avatar{grid-row:1/5;width:42px!important;height:42px!important;margin:0 8px 0 0!important}
  #bbpress-forums .bbp-author-role{width:auto!important;justify-self:start;padding:2px 6px!important}
  #bbpress-forums .rcad-bbp-stats{display:none!important}
  #bbpress-forums .bbp-reply-content,#bbpress-forums .bbp-topic-content{min-height:0;padding:17px!important;}
  .rcad-forum-values{grid-template-columns:1fr 1fr;gap:18px 12px}
}

@media (max-width:430px){
  .rcad-forum-toolbar__actions{flex-direction:column}
  .rcad-forum-toolbar__actions a{width:100%}
  .rcad-forum-values{grid-template-columns:1fr}
}

/* ============================================================
   RCAD bbPress v7 — capa final anti-conflictos
   Cargada después de todos los CSS generales del tema.
   ============================================================ */

/* Contenedor: elimina anchos heredados del tema padre y de entradas. */
body.rcad-bbpress .site,
body.rcad-bbpress .site-content,
body.rcad-bbpress .content-wrapper,
body.rcad-bbpress .container,
body.rcad-bbpress .container-fluid,
body.rcad-bbpress .wrap,
body.rcad-bbpress .main-content,
body.rcad-bbpress #content,
body.rcad-bbpress #primary,
body.rcad-bbpress .content-area,
body.rcad-bbpress .site-main,
body.rcad-bbpress article,
body.rcad-bbpress .entry-content {
  width:100%!important;
  max-width:1320px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  float:none!important;
  grid-template-columns:minmax(0,1fr)!important;
}
body.rcad-bbpress .site-content,
body.rcad-bbpress #content,
body.rcad-bbpress .content-area {padding-left:20px!important;padding-right:20px!important}
body.rcad-bbpress .entry-content{padding:0!important}
body.rcad-bbpress h1.entry-title{max-width:1320px!important;margin:0 auto 22px!important;color:#071b46!important;font-size:clamp(25px,3vw,38px)!important;line-height:1.15!important}
body.rcad-bbpress aside,
body.rcad-bbpress #secondary{display:none!important}

/* Ningún marcador global del contenido editorial entra en bbPress. */
body.rcad-bbpress #bbpress-forums ul,
body.rcad-bbpress #bbpress-forums ol,
body.rcad-bbpress #bbpress-forums li{list-style:none!important}
body.rcad-bbpress #bbpress-forums li::marker{content:""!important}
body.rcad-bbpress #bbpress-forums li::before{content:none!important}
body.rcad-bbpress #bbpress-forums .bbp-forum-info::before,
body.rcad-bbpress #bbpress-forums .bbp-topic-title::before{content:""!important}

/* Listados: columnas estables. */
body.rcad-bbpress #bbpress-forums li.bbp-header,
body.rcad-bbpress #bbpress-forums li.bbp-body > ul.forum,
body.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic{
  grid-template-columns:minmax(360px,1fr) 90px 100px minmax(245px,30%)!important;
  column-gap:16px!important;
}
body.rcad-bbpress #bbpress-forums li.bbp-header{padding:0 22px!important}
body.rcad-bbpress #bbpress-forums li.bbp-body > ul.forum,
body.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic{padding:18px 22px!important;min-height:104px!important}
body.rcad-bbpress #bbpress-forums .bbp-forum-info,
body.rcad-bbpress #bbpress-forums .bbp-topic-title{padding:0 16px 0 58px!important;overflow:visible!important}
body.rcad-bbpress #bbpress-forums .bbp-forum-title,
body.rcad-bbpress #bbpress-forums .bbp-topic-permalink{font-size:15px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
body.rcad-bbpress #bbpress-forums .bbp-forums-list{
  display:flex!important;flex-wrap:wrap!important;gap:7px 14px!important;
  margin:9px 0 0!important;padding:0!important;border:0!important;background:transparent!important
}
body.rcad-bbpress #bbpress-forums .bbp-forums-list li{display:inline-flex!important;width:auto!important;margin:0!important;padding:0!important}
body.rcad-bbpress #bbpress-forums .bbp-forums-list a{display:inline!important;font-size:12px!important;line-height:1.45!important}
body.rcad-bbpress #bbpress-forums .bbp-forum-topic-count,
body.rcad-bbpress #bbpress-forums .bbp-forum-reply-count,
body.rcad-bbpress #bbpress-forums .bbp-topic-voice-count,
body.rcad-bbpress #bbpress-forums .bbp-topic-reply-count{font-size:16px!important;line-height:1.1!important}
body.rcad-bbpress #bbpress-forums .bbp-forum-freshness,
body.rcad-bbpress #bbpress-forums .bbp-topic-freshness{padding-left:18px!important;min-width:0!important}

/* Topic / foro individual: evita la tarjeta minúscula. */
body.rcad-bbpress #bbpress-forums ul.bbp-topics,
body.rcad-bbpress #bbpress-forums ul.bbp-forums,
body.rcad-bbpress #bbpress-forums ul.bbp-replies,
body.rcad-bbpress #bbpress-forums form,
body.rcad-bbpress #bbpress-forums fieldset.bbp-form{width:100%!important;max-width:none!important}
body.rcad-bbpress #bbpress-forums .bbp-template-notice{font-size:14px!important;line-height:1.6!important}

/* Editor: corrige los botones apilados a todo el ancho. */
body.rcad-bbpress #bbpress-forums .wp-editor-wrap,
body.rcad-bbpress #bbpress-forums .wp-editor-container{width:100%!important;max-width:none!important}
body.rcad-bbpress #bbpress-forums .quicktags-toolbar{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;
  padding:9px!important;background:#f3f6fa!important;border:1px solid #d7deea!important;border-bottom:0!important
}
body.rcad-bbpress #bbpress-forums .quicktags-toolbar input.ed_button,
body.rcad-bbpress #bbpress-forums .quicktags-toolbar button,
body.rcad-bbpress #bbpress-forums .wp-editor-tools button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:34px!important;max-width:none!important;height:32px!important;
  margin:0!important;padding:0 10px!important;border:1px solid #cfd7e4!important;border-radius:5px!important;
  background:#fff!important;color:#071b46!important;font-size:12px!important;font-weight:750!important;line-height:1!important
}
body.rcad-bbpress #bbpress-forums .quicktags-toolbar input.ed_button:hover{border-color:#f6a800!important;background:#fff9eb!important}
body.rcad-bbpress #bbpress-forums textarea.bbp-the-content{min-height:260px!important;border-radius:0 0 7px 7px!important}
body.rcad-bbpress #bbpress-forums label{display:block!important;margin:0 0 7px!important;color:#17233b!important;font-size:13px!important;font-weight:750!important}
body.rcad-bbpress #bbpress-forums input[type=text],
body.rcad-bbpress #bbpress-forums input[type=email],
body.rcad-bbpress #bbpress-forums input[type=password],
body.rcad-bbpress #bbpress-forums select,
body.rcad-bbpress #bbpress-forums textarea{width:100%!important;padding:11px 13px!important;font-size:14px!important}
body.rcad-bbpress #bbpress-forums input[type=checkbox],
body.rcad-bbpress #bbpress-forums input[type=radio]{width:auto!important;margin-right:7px!important}
body.rcad-bbpress #bbpress-forums button[type=submit],
body.rcad-bbpress #bbpress-forums input[type=submit]{width:auto!important;min-height:42px!important;padding:0 22px!important}

/* Respuestas: disposición profesional y legible. */
body.rcad-bbpress #bbpress-forums div.bbp-reply-header{padding:10px 16px!important}
body.rcad-bbpress #bbpress-forums div.reply,
body.rcad-bbpress #bbpress-forums div.topic{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;width:100%!important}
body.rcad-bbpress #bbpress-forums .bbp-reply-author,
body.rcad-bbpress #bbpress-forums .bbp-topic-author{width:auto!important;float:none!important;padding:22px 16px!important}
body.rcad-bbpress #bbpress-forums .bbp-reply-content,
body.rcad-bbpress #bbpress-forums .bbp-topic-content{width:auto!important;float:none!important;margin:0!important;padding:24px 28px!important;}

@media (max-width:980px){
  body.rcad-bbpress #bbpress-forums li.bbp-header,
  body.rcad-bbpress #bbpress-forums li.bbp-body > ul.forum,
  body.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic{
    grid-template-columns:minmax(0,1fr) 72px 78px!important;
  }
  body.rcad-bbpress #bbpress-forums .bbp-forum-freshness,
  body.rcad-bbpress #bbpress-forums .bbp-topic-freshness,
  body.rcad-bbpress #bbpress-forums li.bbp-header .bbp-forum-freshness,
  body.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness{display:none!important}
}
@media (max-width:700px){
  body.rcad-bbpress .site-content,
  body.rcad-bbpress #content,
  body.rcad-bbpress .content-area{padding-left:12px!important;padding-right:12px!important}
  body.rcad-bbpress #bbpress-forums li.bbp-header{display:none!important}
  body.rcad-bbpress #bbpress-forums li.bbp-body > ul.forum,
  body.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;padding:17px!important
  }
  body.rcad-bbpress #bbpress-forums .bbp-forum-info,
  body.rcad-bbpress #bbpress-forums .bbp-topic-title{grid-column:1/-1!important;padding-left:50px!important}
  body.rcad-bbpress #bbpress-forums .bbp-forum-topic-count,
  body.rcad-bbpress #bbpress-forums .bbp-forum-reply-count,
  body.rcad-bbpress #bbpress-forums .bbp-topic-voice-count,
  body.rcad-bbpress #bbpress-forums .bbp-topic-reply-count{padding:10px!important;border-radius:7px!important;background:#f6f8fb!important}
  body.rcad-bbpress #bbpress-forums div.reply,
  body.rcad-bbpress #bbpress-forums div.topic{grid-template-columns:1fr!important}
  body.rcad-bbpress #bbpress-forums .bbp-reply-author,
  body.rcad-bbpress #bbpress-forums .bbp-topic-author{border-right:0!important;border-bottom:1px solid #e3e8f0!important}
  body.rcad-bbpress #bbpress-forums fieldset.bbp-form{padding:16px!important}
}

/* ============================================================
   RCAD bbPress v8 — conversación ancha + citas estilo XenForo
   ============================================================ */
body.rcad-bbpress .site,
body.rcad-bbpress #page,
body.rcad-bbpress .site-content,
body.rcad-bbpress #content,
body.rcad-bbpress .content-wrapper,
body.rcad-bbpress .container,
body.rcad-bbpress .wrapper,
body.rcad-bbpress .orbital-container,
body.rcad-bbpress .entry-content,
body.rcad-bbpress article,
body.rcad-bbpress #primary,
body.rcad-bbpress .content-area,
body.rcad-bbpress .site-main{
  width:100%!important;
  max-width:1480px!important;
}
body.rcad-bbpress .site-content,
body.rcad-bbpress #content,
body.rcad-bbpress .content-wrapper,
body.rcad-bbpress .container,
body.rcad-bbpress .wrapper,
body.rcad-bbpress .orbital-container{
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:clamp(18px,3vw,46px)!important;
  padding-right:clamp(18px,3vw,46px)!important;
}
body.rcad-bbpress #secondary,
body.rcad-bbpress .entry-aside,
body.rcad-bbpress .widget-area{display:none!important}
body.rcad-bbpress .entry-header,
body.rcad-bbpress .entry-title,
body.rcad-bbpress h1.entry-title{
  width:100%!important;
  max-width:1480px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.rcad-bbpress h1.entry-title{font-size:clamp(26px,3vw,42px)!important;line-height:1.16!important}
body.rcad-bbpress #bbpress-forums ul.bbp-replies,
body.rcad-bbpress #bbpress-forums .bbp-topic-form,
body.rcad-bbpress #bbpress-forums .bbp-reply-form{width:100%!important;max-width:none!important}
body.rcad-bbpress #bbpress-forums div.reply,
body.rcad-bbpress #bbpress-forums div.topic{width:100%!important;max-width:none!important}
body.rcad-bbpress #bbpress-forums .bbp-reply-author,
body.rcad-bbpress #bbpress-forums .bbp-topic-author{flex-basis:180px!important;width:180px!important;min-width:180px!important;max-width:180px!important}
body.rcad-bbpress #bbpress-forums .bbp-reply-content,
body.rcad-bbpress #bbpress-forums .bbp-topic-content{padding:25px 30px!important;}

#bbpress-forums blockquote.rcad-xf-quote,
#bbpress-forums .bbp-reply-content blockquote,
#bbpress-forums .bbp-topic-content blockquote{
  position:relative;
  margin:16px 0!important;
  padding:0!important;
  border:1px solid #d9e1ec!important;
  border-left:4px solid var(--rcad-yellow)!important;
  border-radius:7px!important;
  background:#f7f9fc!important;
  color:#3c4960!important;
  overflow:hidden;
}
#bbpress-forums blockquote.rcad-xf-quote p,
#bbpress-forums .bbp-reply-content blockquote p,
#bbpress-forums .bbp-topic-content blockquote p{margin:0!important;padding:12px 15px!important}
#bbpress-forums blockquote.rcad-xf-quote .rcad-xf-quote__head,
#bbpress-forums .bbp-reply-content blockquote p:first-child,
#bbpress-forums .bbp-topic-content blockquote p:first-child{
  display:flex;justify-content:space-between;gap:14px;
  border-bottom:1px solid #e1e7f0;
  background:#eef2f8;
  color:#192944!important;
  font-size:12px!important;
}
#bbpress-forums blockquote.rcad-xf-quote .rcad-xf-quote__head a{margin-left:auto;color:#0b4a9e!important;font-weight:700}
#bbpress-forums fieldset.rcad-quote-target{animation:rcadQuoteFocus 1.5s ease}
@keyframes rcadQuoteFocus{0%,100%{box-shadow:0 5px 18px rgba(24,42,72,.04)}35%{box-shadow:0 0 0 4px rgba(246,168,0,.22)}}

@media (max-width:800px){
  body.rcad-bbpress .site-content,
  body.rcad-bbpress #content,
  body.rcad-bbpress .content-wrapper,
  body.rcad-bbpress .container,
  body.rcad-bbpress .wrapper,
  body.rcad-bbpress .orbital-container{padding-left:12px!important;padding-right:12px!important}
  body.rcad-bbpress #bbpress-forums div.reply,
  body.rcad-bbpress #bbpress-forums div.topic{display:block!important}
  body.rcad-bbpress #bbpress-forums .bbp-reply-author,
  body.rcad-bbpress #bbpress-forums .bbp-topic-author{
    width:100%!important;max-width:none!important;min-width:0!important;
    flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;
    border-right:0!important;border-bottom:1px solid var(--rcad-line)!important;padding:12px 15px!important
  }
  body.rcad-bbpress #bbpress-forums .bbp-reply-author img.avatar,
  body.rcad-bbpress #bbpress-forums .bbp-topic-author img.avatar{width:44px!important;height:44px!important;margin:0 10px 0 0!important}
  body.rcad-bbpress #bbpress-forums .bbp-reply-content,
  body.rcad-bbpress #bbpress-forums .bbp-topic-content{padding:18px!important;}
}

/* ============================================================
   RCAD bbPress v9 — conversación profesional tipo XenForo
   Capa final deliberadamente aislada para no afectar otras páginas.
   ============================================================ */
body.rcad-bbpress-topic #bbpress-forums ul.bbp-replies{
  border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important
}
body.rcad-bbpress-topic #bbpress-forums ul.bbp-replies>li.bbp-header,
body.rcad-bbpress-topic #bbpress-forums ul.bbp-replies>li.bbp-footer{display:none!important}
body.rcad-bbpress-topic #bbpress-forums ul.bbp-replies>li.bbp-body{display:block!important;background:transparent!important}
body.rcad-bbpress-topic #bbpress-forums .bbp-reply-header{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  min-height:48px!important;margin:0!important;padding:11px 20px!important;border:0!important;border-bottom:1px solid #e5eaf2!important;
  background:#fff!important;color:#748099!important;font-size:12px!important;line-height:1.45!important
}
body.rcad-bbpress-topic #bbpress-forums .bbp-reply-header .bbp-admin-links{margin-left:auto!important;font-size:11px!important}
body.rcad-bbpress-topic #bbpress-forums .bbp-reply-header a{color:#0b55b5!important}
body.rcad-bbpress-topic #bbpress-forums div.reply,
body.rcad-bbpress-topic #bbpress-forums div.topic{
  display:grid!important;grid-template-columns:205px minmax(0,1fr)!important;align-items:stretch!important;
  width:100%!important;min-height:0!important;height:auto!important;margin:0 0 14px!important;border:1px solid #dfe5ee!important;border-radius:11px!important;
  background:#fff!important;overflow:hidden!important;box-shadow:0 4px 16px rgba(17,38,77,.035)!important
}
body.rcad-bbpress-topic #bbpress-forums .bbp-reply-author,
body.rcad-bbpress-topic #bbpress-forums .bbp-topic-author{
  display:flex!important;flex-direction:column!important;align-items:center!important;width:auto!important;min-width:0!important;max-width:none!important;
  margin:0!important;padding:24px 18px!important;border:0!important;border-right:1px solid #e3e8f0!important;background:#f8fafe!important;text-align:center!important
}
body.rcad-bbpress-topic #bbpress-forums .bbp-reply-author img.avatar,
body.rcad-bbpress-topic #bbpress-forums .bbp-topic-author img.avatar{
  width:76px!important;height:76px!important;margin:0 0 10px!important;border:3px solid #fff!important;border-radius:50%!important;
  box-shadow:0 3px 11px rgba(18,37,72,.13)!important;object-fit:cover!important
}

body.rcad-bbpress-topic #bbpress-forums .bbp-author-role{display:none!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-stats{width:100%!important;margin-top:1px!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-rank{
  display:block!important;width:100%!important;margin:0 0 9px!important;padding:5px 8px!important;border-radius:5px!important;
  background:var(--rcad-rank,#95a5a6)!important;color:#fff!important;font-size:10px!important;font-weight:850!important;line-height:1.15!important;text-transform:uppercase!important
}
body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-stats--guest .rcad-bbp-rank{background:#f2a700!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-stats dl{display:grid!important;gap:0!important;width:100%!important;margin:15px 0 0!important;padding-top:12px!important;border-top:1px solid #e4e9f1!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-stats dl>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:6px 1px!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-stats dt{color:#66738a!important;font-size:10px!important;font-weight:650!important;text-transform:uppercase!important;letter-spacing:.035em!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-stats dd{margin:0!important;color:#10213f!important;font-size:11px!important;font-weight:800!important;text-align:right!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-post-main{
  display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;height:auto!important;background:#fff!important
}
body.rcad-bbpress-topic #bbpress-forums .bbp-reply-content,
body.rcad-bbpress-topic #bbpress-forums .bbp-topic-content{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:100%!important;min-width:0!important;min-height:0!important;
  margin:0!important;padding:25px 30px 18px!important;border:0!important;color:#182541!important;}
body.rcad-bbpress-topic #bbpress-forums .bbp-reply-content>p,
body.rcad-bbpress-topic #bbpress-forums .bbp-topic-content>p{max-width:100%!important}
body.rcad-bbpress-topic #bbpress-forums .bbp-pagination-count{
  display:block!important;margin:0 0 15px!important;padding:12px 15px!important;border:1px solid #dce4ef!important;border-radius:7px!important;background:#f6f9fd!important;color:#24334d!important;font-size:13px!important
}
body.rcad-bbpress-topic #bbpress-forums .bbp-topic-form,
body.rcad-bbpress-topic #bbpress-forums .bbp-reply-form{margin-top:14px!important}
body.rcad-bbpress-topic #bbpress-forums fieldset.bbp-form{padding:20px!important;border:1px solid #dfe5ee!important;border-radius:10px!important;background:#fff!important}

.rcad-reaction-modal[hidden]{display:none!important}.rcad-modal-open{overflow:hidden!important}
.rcad-reaction-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:grid!important;place-items:center!important;padding:18px!important}
.rcad-reaction-modal__backdrop{position:absolute!important;inset:0!important;background:rgba(4,15,39,.58)!important;backdrop-filter:blur(2px)!important}
.rcad-reaction-modal__dialog{position:relative!important;width:min(440px,100%)!important;max-height:min(600px,85vh)!important;padding:24px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 24px 70px rgba(2,15,43,.28)!important;overflow:auto!important}
.rcad-reaction-modal__dialog h3{margin:0 35px 18px 0!important;color:#10213e!important;font-size:19px!important}
.rcad-reaction-modal__close{position:absolute!important;right:14px!important;top:12px!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f2f5f9!important;color:#33425c!important;font-size:23px!important;cursor:pointer!important}
.rcad-reaction-person{display:grid!important;grid-template-columns:38px 1fr auto!important;align-items:center!important;gap:11px!important;padding:10px 0!important;border-top:1px solid #edf0f5!important}
.rcad-reaction-avatar{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:50%!important;background:#0b2d63!important;color:#fff!important;font-weight:800!important}
.rcad-reaction-empty{margin:0!important;color:#69758a!important}

@media (max-width:800px){
 body.rcad-bbpress-topic #bbpress-forums div.reply,body.rcad-bbpress-topic #bbpress-forums div.topic{display:block!important;min-height:0!important}
 body.rcad-bbpress-topic #bbpress-forums .bbp-reply-author,body.rcad-bbpress-topic #bbpress-forums .bbp-topic-author{
   display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;align-items:center!important;column-gap:12px!important;width:100%!important;padding:13px 15px!important;border-right:0!important;border-bottom:1px solid #e3e8f0!important;text-align:left!important
 }
 body.rcad-bbpress-topic #bbpress-forums .bbp-reply-author img.avatar,body.rcad-bbpress-topic #bbpress-forums .bbp-topic-author img.avatar{grid-row:1/4!important;width:50px!important;height:50px!important;margin:0!important}
.rcad-bbp-stats{grid-column:2!important}
 body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-rank{display:inline-block!important;width:auto!important;margin:4px 0 0!important;padding:4px 8px!important}
 body.rcad-bbpress-topic #bbpress-forums .rcad-bbp-stats dl{display:none!important}
 body.rcad-bbpress-topic #bbpress-forums .bbp-reply-content,body.rcad-bbpress-topic #bbpress-forums .bbp-topic-content{padding:18px 16px!important;}
}

/* =========================================================
   RCAD v10 — Nuevo tema: selector de categorías tipo XenForo
   ========================================================= */
.rcad-forum-new-topic,
.rcad-topic-primary{
  background:#f6a800!important;
  border-color:#f6a800!important;
  color:#071b46!important;
  box-shadow:none!important;
  font-weight:850!important;
}
.rcad-forum-new-topic:hover,
.rcad-topic-primary:hover{
  background:#ffb719!important;
  border-color:#ffb719!important;
  color:#071b46!important;
  transform:translateY(-1px);
}
body.rcad-new-topic-page .site-content,
body.rcad-new-topic-page main,
body.rcad-new-topic-page #primary,
body.rcad-new-topic-page .content-area{
  width:100%!important;max-width:none!important;float:none!important;
}
body.rcad-new-topic-page .sidebar,
body.rcad-new-topic-page #secondary{display:none!important}
.rcad-topic-flow{width:min(100% - 32px,1360px);margin:32px auto 64px;color:#10213f}
.rcad-topic-steps{display:flex;align-items:center;gap:0;margin:0 0 28px;border:1px solid #dfe6f0;border-radius:10px;background:#fff;overflow:hidden}
.rcad-topic-steps span{position:relative;display:flex;align-items:center;gap:9px;flex:1;min-height:54px;padding:0 22px;color:#7b879b;font-size:13px}
.rcad-topic-steps span+span{border-left:1px solid #e6ebf2}
.rcad-topic-steps span.is-active{background:#f7f9fc;color:#071b46}
.rcad-topic-steps span:first-child.is-active{box-shadow:inset 0 -3px #f6a800}
.rcad-topic-steps span:last-child.is-active{box-shadow:inset 0 -3px #f6a800}
.rcad-topic-steps span::first-letter{font-weight:900}
.rcad-topic-flow__header{margin:0 0 28px;padding:28px 30px;border-radius:12px;background:#071b46;color:#fff}
.rcad-topic-flow__header h1{margin:2px 0 8px!important;color:#fff!important;font-size:clamp(25px,3vw,36px)!important;line-height:1.15!important}
.rcad-topic-flow__header p{max-width:780px;margin:0;color:#dbe5f5;font-size:15px;line-height:1.65}
.rcad-topic-flow__eyebrow{color:#f6a800!important;font-size:12px!important;font-weight:850!important;letter-spacing:.08em;text-transform:uppercase}
.rcad-topic-flow__header--form{display:flex;align-items:center;justify-content:space-between;gap:24px}
.rcad-topic-change{flex:0 0 auto;padding:11px 15px;border:1px solid rgba(255,255,255,.3);border-radius:7px;color:#fff!important;font-size:13px;font-weight:750;text-decoration:none!important}
.rcad-topic-change:hover{background:rgba(255,255,255,.09)}
.rcad-topic-groups{display:grid;gap:26px}
.rcad-topic-group{margin:0;padding:0}
.rcad-topic-group h2{margin:0 0 12px!important;color:#071b46!important;font-size:18px!important}
.rcad-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rcad-topic-choice{display:flex;align-items:center;gap:15px;min-height:92px;padding:17px 18px;border:1px solid #dfe6ef;border-radius:10px;background:#fff;color:#071b46!important;text-decoration:none!important;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.rcad-topic-choice:hover{border-color:#f6a800;transform:translateY(-1px);box-shadow:0 8px 24px rgba(7,27,70,.07)}
.rcad-topic-choice__icon{display:grid!important;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:#071b46;color:#fff;font-size:20px!important}
.rcad-topic-choice__copy{display:block;min-width:0;flex:1}
.rcad-topic-choice__copy strong{display:block;margin-bottom:5px;font-size:15px;line-height:1.3}
.rcad-topic-choice__copy small{display:block;color:#68758b;font-size:12px;line-height:1.45}
.rcad-topic-choice__arrow{flex:0 0 auto;color:#f6a800;font-size:22px;font-weight:900}
.rcad-topic-form-shell{padding:25px;border:1px solid #dfe6ef;border-radius:12px;background:#fff}
.rcad-topic-form-shell #bbpress-forums{width:100%!important;max-width:none!important;margin:0!important}
.rcad-topic-form-shell .bbp-topic-form{margin:0!important}
.rcad-topic-form-shell fieldset.bbp-form{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
.rcad-topic-form-shell legend{display:none!important}
.rcad-topic-login{width:min(100% - 32px,720px);margin:70px auto;padding:36px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;text-align:center}
.rcad-topic-login h1{margin:0 0 10px!important;color:#071b46!important}
.rcad-topic-login p{margin:0 0 22px;color:#68758b}
.rcad-topic-primary{display:inline-flex;padding:12px 20px;border:1px solid;border-radius:7px;text-decoration:none!important}
@media(max-width:760px){
 .rcad-topic-flow{width:min(100% - 24px,1360px);margin-top:20px}
 .rcad-topic-grid{grid-template-columns:1fr}
 .rcad-topic-flow__header{padding:23px 20px}
 .rcad-topic-flow__header--form{align-items:flex-start;flex-direction:column}
 .rcad-topic-steps span{padding:0 12px;font-size:11px}
 .rcad-topic-choice{min-height:82px;padding:14px}
 .rcad-topic-form-shell{padding:16px}
}

/* =========================================================
   RCAD v11 — Dimensiones óptimas y portada profesional
   ========================================================= */
:root{
  --rcad-forum-max:1360px;
  --rcad-forum-gap:22px;
  --rcad-forum-rail:300px;
}
body.rcad-bbpress .site-content,
body.rcad-bbpress main.site-main,
body.rcad-bbpress #primary,
body.rcad-bbpress .content-area{
  width:100%!important;
  max-width:none!important;
  float:none!important;
}
body.rcad-bbpress #secondary,
body.rcad-bbpress .sidebar:not(.rcad-forum-home-sidebar){display:none!important}
body.rcad-bbpress #bbpress-forums{
  width:min(calc(100% - 40px),var(--rcad-forum-max))!important;
  max-width:var(--rcad-forum-max)!important;
  margin-inline:auto!important;
}
body.rcad-forum-fullwidth #bbpress-forums{width:min(calc(100% - 40px),var(--rcad-forum-max))!important}

/* Ocultar el buscador nativo duplicado de bbPress, no el buscador global del header. */
body.rcad-bbpress:not(.rcad-bbpress-search-page) #bbpress-forums > .bbp-search-form,
body.rcad-bbpress:not(.rcad-bbpress-search-page) #bbpress-forums .bbp-search-form:first-child{display:none!important}

/* v249: en la página Buscar, el formulario nativo es imprescindible. */
body.rcad-bbpress-search-page #bbpress-forums > .bbp-search-form,
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form:first-child{
  display:flex!important;
  justify-content:flex-start!important;
  margin:0 0 18px!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form > div{
  width:min(100%,620px)!important;
}

/* Portada: 1 columna principal + sidebar solo aquí. */
body.rcad-forum-home .rcad-forum-home-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(270px,var(--rcad-forum-rail))!important;
  align-items:start!important;
  gap:var(--rcad-forum-gap)!important;
  margin-top:14px!important;
}
body.rcad-forum-home .rcad-forum-home-main,
body.rcad-forum-home .rcad-forum-home-sidebar{min-width:0!important}
body.rcad-forum-home .rcad-forum-home-main > ul.bbp-forums{margin:0!important}
body.rcad-forum-home .rcad-forum-toolbar__actions{display:none!important}
body.rcad-forum-home .rcad-forum-values{grid-column:1/-1!important}
.rcad-forum-home-sidebar{display:grid!important;gap:14px!important;position:relative!important}
.rcad-forum-side-actions{display:grid!important;gap:10px!important}
.rcad-forum-side-new,
.rcad-forum-side-search{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:48px!important;padding:0 16px!important;border-radius:8px!important;text-decoration:none!important;
  font-size:14px!important;font-weight:800!important;box-shadow:none!important
}
.rcad-forum-side-new{background:#f6a800!important;border:1px solid #f6a800!important;color:#071b46!important}
.rcad-forum-side-new:hover{background:#ffb719!important;color:#071b46!important}
.rcad-forum-side-search{background:#fff!important;border:1px solid #dfe6ef!important;color:#071b46!important}
.rcad-forum-side-search:hover{border-color:#aebdd1!important;background:#f8faff!important}
.rcad-forum-side-card{
  margin:0!important;padding:20px!important;border:1px solid #e1e7ef!important;border-radius:10px!important;
  background:#fff!important;box-shadow:0 5px 18px rgba(7,27,70,.045)!important
}
.rcad-forum-side-title{margin:0 0 15px!important;color:#071b46!important;font-size:17px!important;line-height:1.25!important}
.rcad-active-topics{display:grid!important;gap:3px!important}
.rcad-active-topic{
  display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;
  padding:9px 0!important;border-bottom:1px solid #edf1f5!important;color:#071b46!important;text-decoration:none!important
}
.rcad-active-topic:last-child{border-bottom:0!important}
.rcad-active-topic__avatar{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border-radius:50%!important;background:#f6a800!important;color:#071b46!important;font-size:12px!important;font-weight:900!important}
.rcad-active-topic__copy{min-width:0!important}
.rcad-active-topic__copy strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12.5px!important;line-height:1.3!important}
.rcad-active-topic__copy small{display:block!important;margin-top:2px!important;color:#7c8798!important;font-size:10.5px!important}
.rcad-active-topic__count{display:grid!important;place-items:center!important;min-width:24px!important;height:22px!important;padding:0 5px!important;border-radius:5px!important;background:#071b46!important;color:#fff!important;font-size:10px!important;font-weight:800!important}
.rcad-forum-stats-list{display:grid!important;gap:10px!important;margin:0!important}
.rcad-forum-stats-list div{display:flex!important;justify-content:space-between!important;gap:14px!important}
.rcad-forum-stats-list dt{color:#68758a!important;font-size:12.5px!important}
.rcad-forum-stats-list dd{margin:0!important;color:#071b46!important;font-size:12.5px!important;font-weight:800!important;text-align:right!important}
.rcad-forum-side-empty{margin:0!important;color:#758095!important;font-size:13px!important}

/* Listados de foros y subforos: medidas legibles y estables. */
body.rcad-bbpress #bbpress-forums ul.bbp-forums > li.bbp-body > ul.forum,
body.rcad-bbpress #bbpress-forums ul.bbp-topics > li.bbp-body > ul.topic{
  min-height:88px!important;
}
body.rcad-bbpress #bbpress-forums .bbp-forum-info,
body.rcad-bbpress #bbpress-forums .bbp-topic-title{padding:17px 14px!important}
body.rcad-bbpress #bbpress-forums .bbp-forum-title,
body.rcad-bbpress #bbpress-forums .bbp-topic-permalink{
  font-size:15px!important;line-height:1.35!important;font-weight:800!important
}
body.rcad-bbpress #bbpress-forums .bbp-forum-content,
body.rcad-bbpress #bbpress-forums .bbp-topic-meta{font-size:12.5px!important;line-height:1.5!important}
body.rcad-bbpress #bbpress-forums .bbp-forums-list{
  display:flex!important;flex-wrap:wrap!important;gap:6px 13px!important;margin:8px 0 0!important;padding:0!important
}
body.rcad-bbpress #bbpress-forums .bbp-forums-list li{font-size:12.5px!important;line-height:1.45!important}
body.rcad-bbpress #bbpress-forums .bbp-forums-list a{font-size:12.5px!important;line-height:1.45!important;text-decoration:none!important}
body.rcad-bbpress #bbpress-forums .bbp-forum-topic-count,
body.rcad-bbpress #bbpress-forums .bbp-forum-reply-count,
body.rcad-bbpress #bbpress-forums .bbp-topic-voice-count,
body.rcad-bbpress #bbpress-forums .bbp-topic-reply-count{min-width:78px!important;padding-inline:8px!important}
body.rcad-bbpress #bbpress-forums .bbp-forum-freshness,
body.rcad-bbpress #bbpress-forums .bbp-topic-freshness{min-width:205px!important;padding:14px!important}

/* Nuevo tema: elimina el título gigante de la página y crea una jerarquía compacta. */
body.rcad-new-topic-page .entry-header,
body.rcad-new-topic-page .page-header,
body.rcad-new-topic-page article > h1:first-child,
body.rcad-new-topic-page .entry-title{display:none!important}
body.rcad-new-topic-page .entry-content{margin:0!important;padding:0!important}
body.rcad-new-topic-page .rcad-topic-flow{
  width:min(calc(100% - 40px),1120px)!important;
  margin:32px auto 68px!important
}
body.rcad-new-topic-page .rcad-topic-steps{margin-bottom:18px!important;border-radius:8px!important}
body.rcad-new-topic-page .rcad-topic-steps span{min-height:48px!important;padding:0 18px!important;font-size:12px!important}
body.rcad-new-topic-page .rcad-topic-flow__header{
  margin-bottom:20px!important;padding:22px 26px!important;border-radius:10px!important
}
body.rcad-new-topic-page .rcad-topic-flow__header h1{font-size:clamp(24px,2.3vw,31px)!important}
body.rcad-new-topic-page .rcad-topic-flow__header p{font-size:14px!important;line-height:1.55!important}
body.rcad-new-topic-page .rcad-topic-groups{gap:18px!important}
body.rcad-new-topic-page .rcad-topic-group{
  padding:18px!important;border:1px solid #e1e7ef!important;border-radius:10px!important;background:#fff!important
}
body.rcad-new-topic-page .rcad-topic-group h2{
  margin:0 0 13px!important;padding-bottom:10px!important;border-bottom:1px solid #edf1f5!important;font-size:17px!important
}
body.rcad-new-topic-page .rcad-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.rcad-new-topic-page .rcad-topic-choice{
  min-height:72px!important;padding:13px 14px!important;border-radius:8px!important;background:#fbfcfe!important
}
body.rcad-new-topic-page .rcad-topic-choice__icon{flex-basis:38px!important;width:38px!important;height:38px!important;font-size:17px!important}
body.rcad-new-topic-page .rcad-topic-choice__copy strong{margin-bottom:2px!important;font-size:14px!important}
body.rcad-new-topic-page .rcad-topic-choice__copy small{font-size:11.5px!important;line-height:1.35!important}
body.rcad-new-topic-page .rcad-topic-choice__arrow{font-size:18px!important}

@media(max-width:1024px){
  :root{--rcad-forum-rail:270px;--rcad-forum-gap:16px}
  body.rcad-forum-home .rcad-forum-home-grid{grid-template-columns:minmax(0,1fr) 270px!important}
  body.rcad-bbpress #bbpress-forums .bbp-forum-freshness,
  body.rcad-bbpress #bbpress-forums .bbp-topic-freshness{min-width:170px!important}
}
@media(max-width:840px){
  body.rcad-forum-home .rcad-forum-home-grid{grid-template-columns:1fr!important}
  body.rcad-forum-home .rcad-forum-home-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.rcad-forum-home .rcad-forum-side-actions{grid-column:1/-1!important;grid-template-columns:1fr 1fr!important}
  body.rcad-new-topic-page .rcad-topic-grid{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  body.rcad-bbpress #bbpress-forums,
  body.rcad-forum-fullwidth #bbpress-forums{width:min(calc(100% - 24px),var(--rcad-forum-max))!important}
  body.rcad-forum-home .rcad-forum-home-sidebar{grid-template-columns:1fr!important}
  body.rcad-forum-home .rcad-forum-side-actions{grid-template-columns:1fr!important}
  body.rcad-new-topic-page .rcad-topic-flow{width:min(calc(100% - 24px),1120px)!important;margin-top:20px!important}
  body.rcad-new-topic-page .rcad-topic-flow__header{padding:20px!important}
  body.rcad-new-topic-page .rcad-topic-group{padding:14px!important}
  body.rcad-new-topic-page .rcad-topic-choice{min-height:68px!important}
}

/* =========================================================
   RCAD v12 — FORMULARIO NUEVO TEMA, RECONSTRUCCIÓN FINAL
   Esta capa se carga al final y solo afecta a /nuevo-tema/.
   ========================================================= */
body.rcad-new-topic-page{
  --rcad-form-navy:#071b46;
  --rcad-form-yellow:#f6a800;
  --rcad-form-border:#d9e1ec;
  --rcad-form-muted:#66748b;
  --rcad-form-bg:#f5f7fb;
}
body.rcad-new-topic-page .rcad-topic-flow{
  width:min(calc(100% - 32px),1040px)!important;
  margin:28px auto 72px!important;
}
body.rcad-new-topic-page .rcad-topic-steps{
  max-width:100%!important;
  margin:0 0 18px!important;
  border:1px solid var(--rcad-form-border)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
body.rcad-new-topic-page .rcad-topic-steps span{
  min-height:52px!important;
  padding:0 20px!important;
  font-size:13px!important;
  font-weight:650!important;
}
body.rcad-new-topic-page .rcad-topic-flow__header--form{
  min-height:118px!important;
  margin:0 0 18px!important;
  padding:24px 28px!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
body.rcad-new-topic-page .rcad-topic-flow__header--form h1{
  margin:3px 0 5px!important;
  font-size:clamp(23px,2.8vw,32px)!important;
}
body.rcad-new-topic-page .rcad-topic-change{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:0 16px!important;
  border-radius:8px!important;
  font-size:13px!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell{
  padding:0!important;
  overflow:hidden!important;
  border:1px solid var(--rcad-form-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(7,27,70,.045)!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell #bbpress-forums,
body.rcad-new-topic-page .rcad-topic-form-shell .bbp-topic-form,
body.rcad-new-topic-page .rcad-topic-form-shell fieldset.bbp-form{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell fieldset.bbp-form > div{
  margin:0!important;
  padding:22px 24px!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell fieldset.bbp-form > div > p{
  margin:0 0 20px!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell label{
  display:block!important;
  margin:0 0 8px!important;
  color:#15233d!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.35!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell input[type="text"],
body.rcad-new-topic-page .rcad-topic-form-shell input[type="email"],
body.rcad-new-topic-page .rcad-topic-form-shell input[type="password"],
body.rcad-new-topic-page .rcad-topic-form-shell select,
body.rcad-new-topic-page .rcad-topic-form-shell textarea{
  width:100%!important;
  max-width:none!important;
  min-height:48px!important;
  padding:12px 14px!important;
  border:1px solid #cfd8e6!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#17233b!important;
  font-size:15px!important;
  line-height:1.5!important;
  box-shadow:none!important;
  outline:none!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell input[type="text"]:focus,
body.rcad-new-topic-page .rcad-topic-form-shell select:focus,
body.rcad-new-topic-page .rcad-topic-form-shell textarea:focus{
  border-color:#6d84ab!important;
  box-shadow:0 0 0 3px rgba(7,27,70,.08)!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .wp-editor-wrap,
body.rcad-new-topic-page .rcad-topic-form-shell .wp-editor-container,
body.rcad-new-topic-page .rcad-topic-form-shell .bbp-the-content-wrapper{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar,
body.rcad-new-topic-page .rcad-topic-form-shell div.quicktags-toolbar{
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  min-height:50px!important;
  padding:8px!important;
  border:1px solid #cfd8e6!important;
  border-bottom:0!important;
  border-radius:8px 8px 0 0!important;
  background:#f4f7fb!important;
  box-sizing:border-box!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar input,
body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar input[type="button"],
body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar .ed_button,
body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar button{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:34px!important;
  max-width:120px!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #d2dae6!important;
  border-radius:6px!important;
  background:#fff!important;
  color:var(--rcad-form-navy)!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1!important;
  text-align:center!important;
  text-transform:none!important;
  box-shadow:none!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar input:hover,
body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar button:hover{
  border-color:var(--rcad-form-yellow)!important;
  background:#fff9e8!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell textarea.bbp-the-content,
body.rcad-new-topic-page .rcad-topic-form-shell textarea.wp-editor-area{
  display:block!important;
  min-height:300px!important;
  margin:0!important;
  padding:16px!important;
  border-radius:0 0 8px 8px!important;
  resize:vertical!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .bbp-template-notice{
  margin:0 0 20px!important;
  padding:13px 15px!important;
  border:1px solid #f0d895!important;
  border-left:4px solid var(--rcad-form-yellow)!important;
  border-radius:8px!important;
  background:#fffaf0!important;
  color:#4b3d15!important;
  font-size:13px!important;
  line-height:1.5!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .bbp-template-notice p{margin:0!important}
body.rcad-new-topic-page .rcad-topic-form-shell input[type="checkbox"]{
  width:18px!important;
  height:18px!important;
  min-height:0!important;
  margin:0 9px 0 0!important;
  vertical-align:-3px!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .bbp-submit-wrapper{
  display:flex!important;
  justify-content:flex-end!important;
  float:none!important;
  width:100%!important;
  margin:8px 0 0!important;
  padding-top:20px!important;
  border-top:1px solid #e8edf4!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .bbp-submit-wrapper button,
body.rcad-new-topic-page .rcad-topic-form-shell button[type="submit"],
body.rcad-new-topic-page .rcad-topic-form-shell input[type="submit"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:150px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 24px!important;
  border:1px solid var(--rcad-form-navy)!important;
  border-radius:8px!important;
  background:var(--rcad-form-navy)!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1!important;
  box-shadow:none!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .bbp-submit-wrapper button:hover,
body.rcad-new-topic-page .rcad-topic-form-shell button[type="submit"]:hover{
  border-color:var(--rcad-form-yellow)!important;
  background:var(--rcad-form-yellow)!important;
  color:#071b46!important;
}
body.rcad-new-topic-page .rcad-topic-form-shell .rcad-form-help{
  display:block!important;
  margin:7px 0 0!important;
  color:var(--rcad-form-muted)!important;
  font-size:12px!important;
  line-height:1.45!important;
}
@media(max-width:700px){
  body.rcad-new-topic-page .rcad-topic-flow{width:min(calc(100% - 20px),1040px)!important;margin-top:16px!important}
  body.rcad-new-topic-page .rcad-topic-flow__header--form{padding:20px!important}
  body.rcad-new-topic-page .rcad-topic-form-shell fieldset.bbp-form > div{padding:18px 16px!important}
  body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar{gap:5px!important}
  body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar input,
  body.rcad-new-topic-page .rcad-topic-form-shell .quicktags-toolbar button{min-width:32px!important;height:32px!important;padding:0 8px!important;font-size:11px!important}
  body.rcad-new-topic-page .rcad-topic-form-shell textarea.bbp-the-content{min-height:240px!important}
  body.rcad-new-topic-page .rcad-topic-form-shell .bbp-submit-wrapper{justify-content:stretch!important}
  body.rcad-new-topic-page .rcad-topic-form-shell .bbp-submit-wrapper button{width:100%!important}
}

/* =========================================================
   RCAD v13 — portada del foro limpia, dos escalas tipográficas
   y listado realmente ancho.
   ========================================================= */
body.rcad-forum-home #bbpress-forums{
  --rcad-forum-text:14px;
  --rcad-forum-small:12px;
  width:min(calc(100% - 40px),1360px)!important;
  max-width:1360px!important;
}
body.rcad-forum-home .rcad-forum-home-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:24px!important;
  align-items:start!important;
  width:100%!important;
  margin:14px 0 0!important;
}
body.rcad-forum-home .rcad-forum-home-main{width:100%!important;min-width:0!important}
body.rcad-forum-home .rcad-forum-home-main>ul.bbp-forums{width:100%!important;max-width:none!important;margin:0!important}
body.rcad-forum-home .rcad-forum-home-sidebar{display:grid!important;gap:14px!important;width:100%!important;min-width:0!important}
body.rcad-forum-home .rcad-forum-toolbar__actions{display:none!important}

/* Columnas estables: información flexible, contadores discretos y actividad. */
body.rcad-forum-home #bbpress-forums li.bbp-header,
body.rcad-forum-home #bbpress-forums li.bbp-body>ul.forum{
  grid-template-columns:minmax(0,1fr) 74px 74px minmax(190px,250px)!important;
}
body.rcad-forum-home #bbpress-forums li.bbp-header{
  min-height:52px!important;
  padding:0 18px!important;
  font-size:var(--rcad-forum-small)!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
}
body.rcad-forum-home #bbpress-forums li.bbp-header .forum-titles li{
  font-size:var(--rcad-forum-small)!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
body.rcad-forum-home #bbpress-forums li.bbp-body>ul.forum{
  min-height:96px!important;
  padding:0 18px!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forum-info{
  position:relative!important;
  min-width:0!important;
  padding:18px 12px 18px 58px!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forum-info::before{
  left:4px!important;
  top:50%!important;
  width:42px!important;
  height:42px!important;
  transform:translateY(-50%)!important;
  margin:0!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forum-title{
  display:block!important;
  margin:0 0 4px!important;
  color:#0a326f!important;
  font-size:var(--rcad-forum-text)!important;
  font-weight:700!important;
  line-height:1.35!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forum-content,
body.rcad-forum-home #bbpress-forums .bbp-forums-list,
body.rcad-forum-home #bbpress-forums .bbp-forums-list a,
body.rcad-forum-home #bbpress-forums .bbp-forum-freshness,
body.rcad-forum-home #bbpress-forums .bbp-forum-freshness a{
  font-size:var(--rcad-forum-small)!important;
  line-height:1.45!important;
  font-weight:400!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forums-list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px 12px!important;
  width:100%!important;
  margin:7px 0 0!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forums-list li,
body.rcad-forum-home #bbpress-forums .bbp-forums-list a{
  width:auto!important;
  max-width:100%!important;
  white-space:normal!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count,
body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count{
  min-width:0!important;
  padding:0 6px!important;
  font-size:var(--rcad-forum-text)!important;
  font-weight:700!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count::after,
body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count::after{
  margin-top:3px!important;
  font-size:10px!important;
  font-weight:500!important;
  letter-spacing:0!important;
}
body.rcad-forum-home #bbpress-forums .bbp-forum-freshness{
  min-width:0!important;
  padding:14px 4px 14px 14px!important;
}

/* Tipografía del bloque lateral: solo dos tamaños y menos negrita. */
body.rcad-forum-home .rcad-forum-side-title{font-size:var(--rcad-forum-text)!important;font-weight:700!important}
body.rcad-forum-home .rcad-active-topic__copy strong,
body.rcad-forum-home .rcad-forum-stats-list dt,
body.rcad-forum-home .rcad-forum-stats-list dd,
body.rcad-forum-home .rcad-forum-side-new,
body.rcad-forum-home .rcad-forum-side-search{font-size:var(--rcad-forum-small)!important}
body.rcad-forum-home .rcad-active-topic__copy strong{font-weight:600!important}
body.rcad-forum-home .rcad-forum-stats-list dd{font-weight:700!important}

@media(max-width:1050px){
  body.rcad-forum-home .rcad-forum-home-grid{grid-template-columns:minmax(0,1fr) 260px!important;gap:18px!important}
  body.rcad-forum-home #bbpress-forums li.bbp-header,
  body.rcad-forum-home #bbpress-forums li.bbp-body>ul.forum{grid-template-columns:minmax(0,1fr) 64px 64px 180px!important}
}
@media(max-width:860px){
  body.rcad-forum-home .rcad-forum-home-grid{grid-template-columns:1fr!important}
  body.rcad-forum-home .rcad-forum-home-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.rcad-forum-home .rcad-forum-side-actions{grid-column:1/-1!important;grid-template-columns:1fr 1fr!important}
}
@media(max-width:680px){
  body.rcad-forum-home #bbpress-forums{width:min(calc(100% - 24px),1360px)!important}
  body.rcad-forum-home .rcad-forum-home-sidebar,
  body.rcad-forum-home .rcad-forum-side-actions{grid-template-columns:1fr!important}
  body.rcad-forum-home #bbpress-forums li.bbp-header{display:none!important}
  body.rcad-forum-home #bbpress-forums li.bbp-body>ul.forum{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 1fr!important;
    gap:0!important;
    padding:0 14px 12px!important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-info{grid-column:1/-1!important;padding:16px 0 14px 52px!important}
  body.rcad-forum-home #bbpress-forums .bbp-forum-info::before{left:0!important}
  body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count{padding:10px 0!important}
  body.rcad-forum-home #bbpress-forums .bbp-forum-freshness{grid-column:1/-1!important;padding:12px 0 2px!important;border-left:0!important;border-top:1px solid #edf1f5!important}
}

/* =========================================================
   RCAD v14 — bbPress hereda el ancho del Personalizador
   ---------------------------------------------------------
   Una única fuente de verdad: --site-width, generada desde
   Apariencia > Personalizar > Opciones de apariencia.
   El foro ya no impone 1360/1480 px ni se sale del ancho de
   los artículos. La portada conserva su sidebar interna.
   ========================================================= */
body.rcad-bbpress{
  --rcad-forum-container:var(--site-width,1200px);
  --rcad-forum-gutter:var(--site-padding,20px);
}

/* Contenedor exterior: exactamente el mismo ancho dinámico del sitio. */
body.rcad-bbpress .site-content,
body.rcad-bbpress #content,
body.rcad-bbpress #content-wrapper,
body.rcad-bbpress .content-wrapper,
body.rcad-bbpress .container,
body.rcad-bbpress .orbital-container,
body.rcad-bbpress .wrapper,
body.rcad-bbpress #primary,
body.rcad-bbpress .content-area,
body.rcad-bbpress main.site-main,
body.rcad-bbpress article,
body.rcad-bbpress .entry-header,
body.rcad-bbpress .entry-title,
body.rcad-bbpress h1.entry-title{
  width:100%!important;
  max-width:var(--rcad-forum-container)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Evitar doble padding: el marco exterior controla el margen responsive. */
body.rcad-bbpress #content-wrapper,
body.rcad-bbpress .site-content,
body.rcad-bbpress .content-wrapper,
body.rcad-bbpress .container,
body.rcad-bbpress .orbital-container,
body.rcad-bbpress .wrapper{
  padding-left:var(--rcad-forum-gutter)!important;
  padding-right:var(--rcad-forum-gutter)!important;
}

/* bbPress ocupa el 100% de ese contenedor, nunca un ancho independiente. */
body.rcad-bbpress #bbpress-forums,
body.rcad-forum-home #bbpress-forums,
body.rcad-forum-fullwidth #bbpress-forums,
body.rcad-bbpress-topic #bbpress-forums,
body.rcad-new-topic-page #bbpress-forums{
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Flujos especiales (crear tema) alineados con artículos y foro. */
body.rcad-new-topic-page .rcad-topic-flow,
body.rcad-bbpress .rcad-topic-flow{
  width:100%!important;
  max-width:var(--rcad-forum-container)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--rcad-forum-gutter)!important;
  padding-right:var(--rcad-forum-gutter)!important;
  box-sizing:border-box!important;
}

/* La portada conserva categorías + widget, pero dentro del ancho global. */
body.rcad-forum-home .rcad-forum-home-grid{
  width:100%!important;
  max-width:100%!important;
}

/* Responsive: mismo comportamiento que el resto del sitio. */
@media (max-width:780px){
  body.rcad-bbpress{
    --rcad-forum-gutter:14px;
  }
  body.rcad-bbpress .site-content,
  body.rcad-bbpress #content,
  body.rcad-bbpress #content-wrapper,
  body.rcad-bbpress .content-wrapper,
  body.rcad-bbpress .container,
  body.rcad-bbpress .orbital-container,
  body.rcad-bbpress .wrapper,
  body.rcad-bbpress #primary,
  body.rcad-bbpress .content-area,
  body.rcad-bbpress main.site-main,
  body.rcad-bbpress article,
  body.rcad-bbpress .entry-header,
  body.rcad-bbpress .entry-title,
  body.rcad-bbpress h1.entry-title{
    max-width:100%!important;
  }
}

/* =========================================================
   RCAD v15 — FOROS INTERIORES A ANCHO COMPLETO
   ---------------------------------------------------------
   La sidebar profesional se mantiene exclusivamente en la
   portada del foro. Foros, subforos, listados, conversaciones
   y formularios aprovechan el 100% del contenedor definido en
   el Personalizador de Orbital.
   ========================================================= */
body.rcad-forum-fullwidth #secondary,
body.rcad-forum-fullwidth aside.sidebar,
body.rcad-forum-fullwidth .widget-area,
body.rcad-bbpress-topic #secondary,
body.rcad-new-topic-page #secondary{
  display:none!important;
}

body.rcad-forum-fullwidth #primary,
body.rcad-forum-fullwidth .content-area,
body.rcad-forum-fullwidth main.site-main,
body.rcad-forum-fullwidth article,
body.rcad-forum-fullwidth .entry-content,
body.rcad-bbpress-topic #primary,
body.rcad-bbpress-topic .content-area,
body.rcad-bbpress-topic main.site-main,
body.rcad-bbpress-topic article,
body.rcad-bbpress-topic .entry-content{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  box-sizing:border-box!important;
}

/* Ningún componente interior de bbPress puede conservar anchos antiguos. */
body.rcad-forum-fullwidth #bbpress-forums,
body.rcad-forum-fullwidth #bbpress-forums > *,
body.rcad-forum-fullwidth #bbpress-forums ul.bbp-forums,
body.rcad-forum-fullwidth #bbpress-forums ul.bbp-topics,
body.rcad-forum-fullwidth #bbpress-forums ul.bbp-replies,
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-description,
body.rcad-forum-fullwidth #bbpress-forums .bbp-template-notice,
body.rcad-forum-fullwidth #bbpress-forums .bbp-breadcrumb,
body.rcad-forum-fullwidth #bbpress-forums .bbp-pagination,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-form,
body.rcad-forum-fullwidth #bbpress-forums .bbp-reply-form,
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form,
body.rcad-forum-fullwidth #bbpress-forums .bbp-the-content-wrapper,
body.rcad-forum-fullwidth #bbpress-forums .wp-editor-wrap,
body.rcad-forum-fullwidth #bbpress-forums .wp-editor-container{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* Listados de foros/subforos: cuatro columnas estables y sin hueco lateral. */
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .forum-titles,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.forum,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .topic-titles,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.topic{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 88px 88px minmax(210px,29%)!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-info,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-title,
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-topic-count,
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-reply-count,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-voice-count,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-reply-count,
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-freshness,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-freshness{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  float:none!important;
  box-sizing:border-box!important;
}

body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-info,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-title{
  padding:18px 18px 18px 66px!important;
}

body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-freshness,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-freshness{
  padding:15px 16px!important;
  overflow:hidden!important;
}

/* Formulario de alta dentro de un subforo vacío: ocupa toda la anchura útil. */
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-form,
body.rcad-forum-fullwidth #bbpress-forums .bbp-reply-form{
  margin-top:22px!important;
}
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form{
  padding:22px!important;
  border:1px solid #dfe6ef!important;
  border-radius:10px!important;
  background:#fff!important;
}
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form > div,
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form p,
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form label,
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form input[type="text"],
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form textarea,
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form select{
  max-width:none!important;
}
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form input[type="text"],
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form textarea,
body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form select{
  width:100%!important;
  box-sizing:border-box!important;
}

/* La sidebar interna de la portada nunca se replica en páginas interiores. */
body.rcad-forum-fullwidth .rcad-forum-home-sidebar,
body.rcad-bbpress-topic .rcad-forum-home-sidebar,
body.rcad-new-topic-page .rcad-forum-home-sidebar{
  display:none!important;
}

@media(max-width:900px){
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .forum-titles,
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.forum,
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .topic-titles,
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.topic{
    grid-template-columns:minmax(0,1fr) 72px 72px minmax(170px,27%)!important;
  }
}

@media(max-width:700px){
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-header{display:none!important}
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.forum,
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.topic{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    padding:0 14px 12px!important;
  }
  body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-info,
  body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-title{
    grid-column:1/-1!important;
    padding:16px 0 14px 54px!important;
  }
  body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-freshness,
  body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-freshness{
    grid-column:1/-1!important;
    padding:12px 0 2px!important;
    border-left:0!important;
    border-top:1px solid #edf1f5!important;
  }
  body.rcad-forum-fullwidth #bbpress-forums fieldset.bbp-form{padding:16px!important}
}

/* =========================================================
   RCAD v16 — INTERIORES REALMENTE A ANCHO COMPLETO
   Corrige la regla global de Orbital para body.single que
   reservaba el 27% de sidebar aunque bbPress no la mostrase.
   También unifica tipografía y pesos del listado.
   ========================================================= */
@media (min-width: 992px) {
  body.rcad-forum-fullwidth.single #content-wrapper.flex,
  body.rcad-bbpress-topic.single #content-wrapper.flex,
  body.rcad-new-topic-page.single #content-wrapper.flex {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
  }

  body.rcad-forum-fullwidth.single #content-wrapper.flex > .entry-content,
  body.rcad-bbpress-topic.single #content-wrapper.flex > .entry-content,
  body.rcad-new-topic-page.single #content-wrapper.flex > .entry-content,
  body.rcad-forum-fullwidth.single #content-wrapper.flex > #primary,
  body.rcad-bbpress-topic.single #content-wrapper.flex > #primary,
  body.rcad-new-topic-page.single #content-wrapper.flex > #primary {
    flex:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  body.rcad-forum-fullwidth.single #content-wrapper.flex > #secondary,
  body.rcad-forum-fullwidth.single #content-wrapper.flex > .entry-aside,
  body.rcad-bbpress-topic.single #content-wrapper.flex > #secondary,
  body.rcad-bbpress-topic.single #content-wrapper.flex > .entry-aside,
  body.rcad-new-topic-page.single #content-wrapper.flex > #secondary,
  body.rcad-new-topic-page.single #content-wrapper.flex > .entry-aside {
    display:none!important;
    width:0!important;
    max-width:0!important;
    min-width:0!important;
    flex:0 0 0!important;
  }
}

/* El listado interior ocupa todo el ancho de la caja blanca. */
body.rcad-forum-fullwidth #bbpress-forums,
body.rcad-forum-fullwidth #bbpress-forums ul.bbp-forums,
body.rcad-forum-fullwidth #bbpress-forums ul.bbp-topics,
body.rcad-forum-fullwidth #bbpress-forums .bbp-template-notice,
body.rcad-forum-fullwidth #bbpress-forums .bbp-breadcrumb,
body.rcad-forum-fullwidth #bbpress-forums .bbp-pagination,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-form,
body.rcad-forum-fullwidth #bbpress-forums .bbp-reply-form {
  width:100%!important;
  max-width:100%!important;
}

/* Cuatro columnas estables. La primera absorbe el espacio sobrante. */
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .forum-titles,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.forum,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .topic-titles,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.topic {
  grid-template-columns:minmax(320px,1fr) 92px 92px minmax(230px,30%)!important;
}

/* Dos tamaños tipográficos y pesos discretos. */
body.rcad-forum-fullwidth #bbpress-forums {
  --rcad-forum-text:14px;
  --rcad-forum-meta:12px;
  font-size:var(--rcad-forum-text)!important;
  font-weight:400!important;
}
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header li,
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-title,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-permalink,
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-info > a,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-title > a {
  font-size:var(--rcad-forum-text)!important;
  line-height:1.35!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  word-break:normal!important;
}


/* Cabecera limpia: evita FORO / DEBATES / ENTRADAS partidos letra a letra. */
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header {
  min-height:58px!important;
  padding:0!important;
}
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .forum-titles > li,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .topic-titles > li {
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  padding:14px 16px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .bbp-forum-topic-count,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .bbp-forum-reply-count,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .bbp-topic-voice-count,
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .bbp-topic-reply-count {
  justify-content:center!important;
}

/* Icono con espacio reservado: nunca se solapa con el título. */
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-info,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-title {
  position:relative!important;
  padding-left:82px!important;
}
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-info::before,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-title::before {
  left:20px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
}

@media (max-width: 1100px) and (min-width: 701px) {
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .forum-titles,
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.forum,
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-header .topic-titles,
  body.rcad-forum-fullwidth #bbpress-forums li.bbp-body > ul.topic {
    grid-template-columns:minmax(250px,1fr) 72px 72px minmax(190px,28%)!important;
  }
}

/* ======================================================================
   RC Community Engine 3.2 — capa visual del tema hijo
   Solo presentación: rangos, insignias y métricas del perfil.
   ====================================================================== */
body.rcad-community-engine-ui .rcad-bbp-stats--community,
body.rcad-community-engine-ui .rcad-bbp-stats--guest{
  margin:10px 0 0!important;
  padding:0!important;
  width:100%!important;
  font-size:12px!important;
  line-height:1.35!important;
}
body.rcad-community-engine-ui .rcad-bbp-rank{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  max-width:100%!important;
  min-height:24px!important;
  margin:0 auto 8px!important;
  padding:4px 9px!important;
  border:1px solid color-mix(in srgb,var(--rcad-rank,#94a3b8) 45%,transparent)!important;
  border-radius:999px!important;
  background:color-mix(in srgb,var(--rcad-rank,#94a3b8) 12%,#fff)!important;
  color:var(--rcad-rank,#64748b)!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1.2!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
body.rcad-community-engine-ui .rcad-bbp-rank__icon{
  font-size:13px!important;
  line-height:1!important;
}
body.rcad-community-engine-ui .rcad-bbp-rank--guest{
  --rcad-rank:#94a3b8;
}
body.rcad-community-engine-ui .rcad-bbp-badges{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin:0 0 9px!important;
}
body.rcad-community-engine-ui .rcad-bbp-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:25px!important;
  height:25px!important;
  padding:0!important;
  border:1px solid color-mix(in srgb,var(--rcad-badge,#f6a800) 42%,transparent)!important;
  border-radius:7px!important;
  background:color-mix(in srgb,var(--rcad-badge,#f6a800) 10%,#fff)!important;
  color:var(--rcad-badge,#f6a800)!important;
  font-size:14px!important;
  line-height:1!important;
}
body.rcad-community-engine-ui .rcad-bbp-badge--more{
  width:auto!important;
  min-width:25px!important;
  padding:0 6px!important;
  color:#64748b!important;
  border-color:#d8dee8!important;
  background:#f8fafc!important;
  font-size:10px!important;
  font-weight:700!important;
}
body.rcad-community-engine-ui .rcad-bbp-user-metrics,
body.rcad-community-engine-ui .rcad-bbp-stats--guest dl{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
}
body.rcad-community-engine-ui .rcad-bbp-user-metrics>div,
body.rcad-community-engine-ui .rcad-bbp-stats--guest dl>div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-height:25px!important;
  margin:0!important;
  padding:4px 0!important;
  border-top:1px solid #edf0f4!important;
}
body.rcad-community-engine-ui .rcad-bbp-user-metrics dt,
body.rcad-community-engine-ui .rcad-bbp-user-metrics dd,
body.rcad-community-engine-ui .rcad-bbp-stats--guest dt,
body.rcad-community-engine-ui .rcad-bbp-stats--guest dd{
  margin:0!important;
  padding:0!important;
  font-size:11px!important;
  line-height:1.25!important;
}
body.rcad-community-engine-ui .rcad-bbp-user-metrics dt,
body.rcad-community-engine-ui .rcad-bbp-stats--guest dt{
  color:#6b7280!important;
  font-weight:450!important;
}
body.rcad-community-engine-ui .rcad-bbp-user-metrics dd,
body.rcad-community-engine-ui .rcad-bbp-stats--guest dd{
  color:#17213a!important;
  font-weight:650!important;
  text-align:right!important;
}
@media (max-width:768px){
  body.rcad-community-engine-ui .rcad-bbp-stats--community,
  body.rcad-community-engine-ui .rcad-bbp-stats--guest{
    max-width:360px!important;
    margin-inline:auto!important;
  }
  body.rcad-community-engine-ui .rcad-bbp-user-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 14px!important;
  }
}

/* ======================================================================
   RCAD v21 — Respuestas compactas y adaptables
   - La altura se ajusta al contenido.
   - Texto corto: no deja un bloque vacío exagerado.
   - Texto largo: crece de forma natural.
   - Una sola línea divisoria sobre reacciones y acciones.
   - Reacción a la izquierda; Me gusta y Citar a la derecha.
   ====================================================================== */
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums div.reply,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums div.topic{
  min-height:0!important;
  height:auto!important;
  align-items:stretch!important;
}

body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-post-main{
  min-height:0!important;
  height:auto!important;
}

body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-reply-author,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-topic-author{
  padding:18px 16px!important;
}

body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-reply-author img.avatar,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-topic-author img.avatar{
  width:66px!important;
  height:66px!important;
  margin-bottom:7px!important;
}


body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-bbp-stats--community,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-bbp-stats--guest{
  margin-top:0!important;
}

body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-bbp-rank{
  min-height:22px!important;
  margin:0 auto 7px!important;
  padding:3px 8px!important;
  font-size:10px!important;
  line-height:1.15!important;
}

body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-bbp-badges{
  margin-bottom:6px!important;
}

body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-bbp-stats--guest dl{
  margin-top:5px!important;
  padding-top:5px!important;
  border-top:1px solid #e8edf4!important;
}

body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics>div,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .rcad-bbp-stats--guest dl>div{
  min-height:23px!important;
  padding:3px 0!important;
  border-top:0!important;
}

body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-reply-content,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-topic-content{
  flex:1 1 auto!important;
  min-height:0!important;
  padding:22px 26px 16px!important;
}

/* Evita divisores heredados dentro del cuerpo del mensaje. */
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-reply-content::before,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-reply-content::after,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-topic-content::before,
body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-topic-content::after{
  content:none!important;
  display:none!important;
  border:0!important;
}

@media (max-width:800px){
  body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-reply-content,
  body.rcad-bbpress-topic.rcad-community-engine-ui #bbpress-forums .bbp-topic-content{
    padding:16px 14px 13px!important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RCAD v22 — Editor visual de citas estilo XenForo
   La cita queda fuera del área editable y no puede borrarse por error.
   ═══════════════════════════════════════════════════════════════ */
body.rcad-bbpress-topic #bbpress-forums .rcad-native-editor-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-composer{
  overflow:hidden;
  border:1px solid #d7e0ec;
  border-radius:9px;
  background:#fff;
  box-shadow:none;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-toolbar{
  display:flex;
  align-items:center;
  gap:3px;
  min-height:44px;
  padding:5px 9px;
  border-bottom:1px solid #dce4ee;
  background:#f8fafc;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-toolbar button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  min-width:34px!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:5px!important;
  background:transparent!important;
  color:#17345e!important;
  font:600 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  cursor:pointer!important;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-toolbar button:hover,
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-toolbar button:focus-visible{
  border-color:#cbd7e7!important;
  background:#fff!important;
  outline:none!important;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-toolbar-separator{
  width:1px;
  height:22px;
  margin:0 4px;
  background:#d5deea;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-canvas{
  min-height:210px;
  padding:16px 17px 18px;
  background:#fff;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-quote-slot[hidden]{display:none!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-locked-quote{
  margin:0 0 16px!important;
  overflow:hidden;
  border:1px solid #cbdcf4;
  border-left:4px solid #1473e6;
  border-radius:6px;
  background:#f4f8fe;
  color:#172b4d;
  user-select:text;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-locked-quote__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 13px;
  border-bottom:1px solid #d8e5f6;
  color:#0d4e9d;
  font-size:13px;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-locked-quote__head strong{font-weight:700}
body.rcad-bbpress-topic #bbpress-forums .rcad-locked-quote__head a{
  flex:0 0 auto;
  color:#42658f!important;
  font-size:11px;
  font-weight:600;
  text-decoration:none!important;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-locked-quote__body{
  padding:12px 13px;
  color:#34445b;
  font-size:14px;
  line-height:1.55;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-locked-quote__body p{margin:0 0 8px!important;padding:0!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-locked-quote__body p:last-child{margin-bottom:0!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-response{
  min-height:105px;
  padding:2px 3px;
  color:#15243a;
  font-size:15px;
  line-height:1.65;
  outline:none;
  overflow-wrap:anywhere;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-response:empty::before{
  content:attr(data-placeholder);
  color:#8794a8;
  pointer-events:none;
}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-response p{margin:0 0 12px!important;padding:0!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-visual-response blockquote{
  margin:12px 0!important;
  padding:10px 12px!important;
  border-left:3px solid #9fb8d8!important;
  background:#f7f9fc!important;
}
@media (max-width:700px){
  body.rcad-bbpress-topic #bbpress-forums .rcad-visual-toolbar{overflow-x:auto;padding:5px 6px}
  body.rcad-bbpress-topic #bbpress-forums .rcad-visual-canvas{min-height:185px;padding:12px}
  body.rcad-bbpress-topic #bbpress-forums .rcad-locked-quote__head{align-items:flex-start;flex-direction:column;gap:4px}
  body.rcad-bbpress-topic #bbpress-forums .rcad-visual-response{font-size:14px}
}

/* ═══════════════════════════════════════════════════════════════
   RCAD v23 — Hilo moderno: cabecera, acciones y editor
   ═══════════════════════════════════════════════════════════════ */
body.rcad-topic-modern .entry-title,
body.rcad-topic-modern .page-title,
body.rcad-topic-modern h1.entry-title,
body.rcad-topic-modern #bbpress-forums > .bbp-template-notice.info,
body.rcad-topic-modern #bbpress-forums > .bbp-template-notice:not(.error):not(.warning),
body.rcad-topic-modern #bbpress-forums > .bbp-topic-tags,
body.rcad-topic-modern #bbpress-forums > .bbp-pagination:first-of-type,
body.rcad-topic-modern #subscription-toggle,
body.rcad-topic-modern #favorite-toggle{
  display:none!important;
}
body.rcad-topic-modern #bbpress-forums{
  color:#17233a;
}
body.rcad-topic-modern .rcad-topic-hero{
  margin:0 0 18px;
  padding:0 0 18px;
  border-bottom:1px solid #dfe6ef;
  background:#fff;
}
body.rcad-topic-modern .rcad-topic-hero__top{
  display:flex;
  justify-content:flex-end;
  min-height:38px;
  margin-bottom:10px;
}
body.rcad-topic-modern .rcad-topic-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 13px;
  border:1px solid #ccd7e6;
  border-radius:6px;
  color:#17233a!important;
  background:#fff;
  font-size:12px;
  font-weight:600;
  text-decoration:none!important;
}
body.rcad-topic-modern .rcad-topic-back:hover{background:#f7f9fc}
body.rcad-topic-modern .rcad-topic-title{
  margin:0 0 10px!important;
  color:#101d35!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:clamp(28px,3vw,42px)!important;
  font-weight:650!important;
  line-height:1.14!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
}
body.rcad-topic-modern .rcad-topic-meta,
body.rcad-topic-modern .rcad-topic-stats,
body.rcad-topic-modern .rcad-topic-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 18px;
}
body.rcad-topic-modern .rcad-topic-meta{margin-bottom:14px;color:#53647d;font-size:13px}
body.rcad-topic-modern .rcad-topic-meta__item,
body.rcad-topic-modern .rcad-topic-stats>span{display:inline-flex;align-items:center;gap:7px}
body.rcad-topic-modern .rcad-topic-meta a,
body.rcad-topic-modern .rcad-topic-last strong{color:#0755b5!important;font-weight:700;text-decoration:none!important}
body.rcad-topic-modern .rcad-topic-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
body.rcad-topic-modern .rcad-topic-stats{color:#263750;font-size:13px}
body.rcad-topic-modern .rcad-topic-last a{color:#0755b5!important;text-decoration:none!important}
body.rcad-topic-modern .rcad-topic-actions{margin-left:auto;justify-content:flex-end}
body.rcad-topic-modern .rcad-follow-topic a,
body.rcad-topic-modern .rcad-topic-reply-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 16px!important;
  border:1px solid #becbdb!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#14233d!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.rcad-topic-modern .rcad-topic-reply-button{
  border-color:#12489b!important;
  background:#12489b!important;
  color:#fff!important;
}
body.rcad-topic-modern .rcad-follow-topic a:hover{background:#f6f8fb!important}
body.rcad-topic-modern .rcad-topic-reply-button:hover{background:#0d3c84!important}

/* Tarjetas de mensajes: proporción visual del boceto. */
body.rcad-topic-modern #bbpress-forums div.reply,
body.rcad-topic-modern #bbpress-forums div.topic{
  margin-bottom:14px!important;
  border:1px solid #d7e0eb!important;
  border-radius:7px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.rcad-topic-modern #bbpress-forums .bbp-reply-author,
body.rcad-topic-modern #bbpress-forums .bbp-topic-author{
  flex:0 0 238px!important;
  width:238px!important;
  padding:18px 18px 14px!important;
  background:#f9fbfd!important;
}
body.rcad-topic-modern #bbpress-forums .bbp-reply-content,
body.rcad-topic-modern #bbpress-forums .bbp-topic-content{
  padding:20px 28px 14px!important;
}
body.rcad-topic-modern #bbpress-forums .bbp-reply-header{
  min-height:42px!important;
  padding:11px 26px!important;
  border-bottom:1px solid #e0e6ee!important;
  background:#fff!important;
  color:#66758c!important;
}

/* Formulario de respuesta con cabecera y acciones tipo foro profesional. */
body.rcad-topic-modern #new-post{
  margin-top:16px!important;
  padding:14px 16px 16px!important;
  border:1px solid #d7e0eb!important;
  border-radius:7px!important;
  background:#fff!important;
}
body.rcad-topic-modern #new-post legend{
  padding:0 4px!important;
  color:#14233d!important;
  font-size:18px!important;
  font-weight:700!important;
}
body.rcad-topic-modern .rcad-visual-composer{border-radius:6px}
body.rcad-topic-modern .rcad-visual-toolbar{min-height:46px;background:#fff}
body.rcad-topic-modern .rcad-visual-preview{
  display:none;
  min-height:130px;
  padding:18px;
  border-top:1px solid #dce4ee;
  background:#fbfcfe;
  color:#17233a;
  font-size:15px;
  line-height:1.65;
}
body.rcad-topic-modern .rcad-visual-preview.is-open{display:block}
body.rcad-topic-modern .rcad-visual-response.is-preview-hidden{display:none}
body.rcad-topic-modern .rcad-preview-toggle{
  width:auto!important;
  min-width:auto!important;
  padding:0 11px!important;
  gap:7px!important;
  margin-left:auto!important;
  border-color:#d1dbea!important;
}
body.rcad-topic-modern #bbpress-forums button[type="submit"],
body.rcad-topic-modern #bbpress-forums input[type="submit"]{
  min-height:42px!important;
  padding:0 18px!important;
  border:1px solid #12489b!important;
  border-radius:6px!important;
  background:#12489b!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:700!important;
  box-shadow:none!important;
}
body.rcad-topic-modern #bbpress-forums button[type="submit"]::before,
body.rcad-topic-modern #bbpress-forums input[type="submit"]::before{content:"↩ ";}

@media (max-width:850px){
  body.rcad-topic-modern .rcad-topic-toolbar{align-items:flex-start;flex-direction:column}
  body.rcad-topic-modern .rcad-topic-actions{width:100%;margin-left:0;justify-content:flex-start}
  body.rcad-topic-modern #bbpress-forums .bbp-reply-author,
  body.rcad-topic-modern #bbpress-forums .bbp-topic-author{width:100%!important;flex-basis:auto!important}
}
@media (max-width:560px){
  body.rcad-topic-modern .rcad-topic-hero__top{justify-content:flex-start}
  body.rcad-topic-modern .rcad-topic-title{font-size:27px!important}
  body.rcad-topic-modern .rcad-topic-actions{display:grid;grid-template-columns:1fr 1fr}
  body.rcad-topic-modern .rcad-follow-topic a,
  body.rcad-topic-modern .rcad-topic-reply-button{width:100%!important;padding:0 9px!important}
  body.rcad-topic-modern #bbpress-forums .bbp-reply-content,
  body.rcad-topic-modern #bbpress-forums .bbp-topic-content{padding:16px 14px 12px!important;}
}

/* ═══════════════════════════════════════════════════════════════
   RCAD v24 — editor seguro para usuarios y citas visuales
   ═══════════════════════════════════════════════════════════════ */
body.rcad-bbpress .rcad-preview-toggle,
body.rcad-bbpress .rcad-visual-preview{display:none!important}

body.rcad-bbpress .rcad-visual-toolbar{
  position:relative;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:3px!important;
  min-height:44px!important;
  padding:6px 9px!important;
  border:1px solid #d7e0eb!important;
  border-bottom:0!important;
  border-radius:7px 7px 0 0!important;
  background:#fff!important;
}
body.rcad-bbpress .rcad-visual-toolbar>button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  min-width:34px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 6px!important;
  margin:0!important;
  border:0!important;
  border-radius:5px!important;
  background:transparent!important;
  color:#10264c!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1!important;
  box-shadow:none!important;
}
body.rcad-bbpress .rcad-visual-toolbar>button:hover,
body.rcad-bbpress .rcad-visual-toolbar>button:focus-visible{
  background:#eef4fc!important;
  color:#0754ad!important;
  outline:none!important;
}
body.rcad-bbpress .rcad-toolbar-separator{
  width:1px!important;
  height:21px!important;
  margin:0 4px!important;
  background:#dce4ee!important;
}
body.rcad-bbpress .rcad-emoji-panel{
  position:absolute;
  z-index:30;
  top:42px;
  left:205px;
  display:grid;
  grid-template-columns:repeat(6,34px);
  gap:4px;
  padding:8px;
  border:1px solid #d4deeb;
  border-radius:8px;
  background:#fff;
  box-shadow:0 10px 28px rgba(10,35,75,.13);
}
body.rcad-bbpress .rcad-emoji-panel[hidden]{display:none!important}
body.rcad-bbpress .rcad-emoji-panel button{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  border:0!important;
  border-radius:5px!important;
  background:#fff!important;
  font-size:19px!important;
  cursor:pointer!important;
}
body.rcad-bbpress .rcad-emoji-panel button:hover{background:#f0f5fb!important}

body.rcad-bbpress .rcad-visual-canvas{
  min-height:150px!important;
  border:1px solid #d7e0eb!important;
  border-radius:0 0 7px 7px!important;
  background:#fff!important;
}
body.rcad-bbpress .rcad-visual-response{
  min-height:92px!important;
  padding:15px 18px!important;
  color:#17233a!important;
  font-size:15px!important;
  line-height:1.65!important;
  outline:none!important;
}
body.rcad-bbpress .rcad-visual-response:empty::before{
  content:attr(data-placeholder);
  color:#8b98aa;
  pointer-events:none;
}
body.rcad-bbpress .rcad-visual-response img{
  display:block;
  max-width:100%;
  max-height:520px;
  margin:10px 0;
  border-radius:6px;
}
body.rcad-bbpress .rcad-visual-response blockquote,
body.rcad-bbpress blockquote.rcad-user-quote{
  margin:10px 0!important;
  padding:10px 14px!important;
  border-left:3px solid #7f9fc8!important;
  background:#f5f8fc!important;
  color:#3f4e63!important;
}
body.rcad-bbpress .rcad-visual-response code,
body.rcad-bbpress .rcad-visual-response pre{
  padding:2px 5px;
  border-radius:4px;
  background:#f1f4f8;
  font-family:Consolas,Monaco,monospace;
}

body.rcad-bbpress .rcad-visual-quote-slot{padding:14px 16px 0!important}
body.rcad-bbpress .rcad-locked-quote,
body.rcad-bbpress blockquote.rcad-xf-quote{
  overflow:hidden!important;
  margin:0 0 2px!important;
  padding:0!important;
  border:1px solid #cbd9ec!important;
  border-left:4px solid #1670d2!important;
  border-radius:7px!important;
  background:#f5f9ff!important;
  color:#243551!important;
}
body.rcad-bbpress .rcad-locked-quote__head,
body.rcad-bbpress blockquote.rcad-xf-quote .rcad-xf-quote__head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0!important;
  padding:10px 13px!important;
  border-bottom:1px solid #d8e3f1!important;
  background:#edf5ff!important;
  font-size:13px!important;
  line-height:1.3!important;
}
body.rcad-bbpress .rcad-locked-quote__head strong,
body.rcad-bbpress blockquote.rcad-xf-quote .rcad-xf-quote__head strong{color:#104c99!important}
body.rcad-bbpress .rcad-locked-quote__head a,
body.rcad-bbpress blockquote.rcad-xf-quote .rcad-xf-quote__head a{
  color:#1263bd!important;
  font-size:12px!important;
  text-decoration:none!important;
}
body.rcad-bbpress .rcad-locked-quote__body,
body.rcad-bbpress blockquote.rcad-xf-quote .rcad-xf-quote__body{
  padding:12px 13px!important;
  font-size:14px!important;
  line-height:1.55!important;
}
body.rcad-bbpress .rcad-forum-image-link{display:inline-block;max-width:100%}
body.rcad-bbpress .rcad-forum-image{
  display:block;
  max-width:100%;
  max-height:620px;
  margin:10px 0;
  border-radius:7px;
}

@media(max-width:640px){
  body.rcad-bbpress .rcad-visual-toolbar{gap:1px!important;padding:5px!important}
  body.rcad-bbpress .rcad-visual-toolbar>button{width:31px!important;min-width:31px!important;height:30px!important;min-height:30px!important;font-size:13px!important}
  body.rcad-bbpress .rcad-emoji-panel{left:8px;right:8px;grid-template-columns:repeat(6,1fr)}
  body.rcad-bbpress .rcad-visual-response{padding:13px!important}
  body.rcad-bbpress .rcad-visual-quote-slot{padding:11px 11px 0!important}
}

/* ═══════════════════════════════════════════════════════════════
   RCAD v26 — Cabecera de tema compacta y sin título duplicado
   ═══════════════════════════════════════════════════════════════ */
body.single-topic > .entry-title,
body.single-topic .entry-header > .entry-title,
body.single-topic main > h1.entry-title,
body.single-topic .site-main > h1.entry-title,
body.single-topic .page-header,
body.rcad-bbpress-topic > .entry-title,
body.rcad-bbpress-topic .entry-header > .entry-title,
body.rcad-bbpress-topic main > h1.entry-title,
body.rcad-bbpress-topic .site-main > h1.entry-title{
  display:none!important;
}

/* Legacy breadcrumb rules removed in RCAD v172. */

body.rcad-topic-modern .rcad-topic-hero{
  margin:0 0 16px!important;
  padding:0 0 16px!important;
}
body.rcad-topic-modern .rcad-topic-hero__top{display:none!important}
body.rcad-topic-modern .rcad-topic-title{
  margin:0 0 9px!important;
  font-size:clamp(27px,2.5vw,36px)!important;
  font-weight:650!important;
  line-height:1.15!important;
}
body.rcad-topic-modern .rcad-topic-meta{margin-bottom:12px!important}
body.rcad-topic-modern .rcad-topic-toolbar{min-height:42px!important}




/* Etiquetas y valores sin apariencia de enlace. */
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics dt,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics dt a,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-stats--guest dt,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-stats--guest dt a{
  text-decoration:none!important;
  border-bottom:0!important;
  box-shadow:none!important;
  background-image:none!important;
}

/* Un poco más de aire útil, sin ensanchar el perfil. */
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics>div,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-stats--guest dl>div{
  grid-template-columns:18px minmax(0,1fr) auto!important;
  gap:7px!important;
}

/* ======================================================================
   RCAD v29 — Cabecera XenForo: título ligero e iconos SVG coherentes
   ====================================================================== */
/* Oculta de forma reforzada el título exterior que imprime Orbital. */
body.rcad-topic-modern .entry-header,
body.rcad-topic-modern .page-header,
body.rcad-topic-modern .post-header,
body.rcad-topic-modern .archive-title,
body.rcad-topic-modern .single-title,
body.rcad-topic-modern .entry-title,
body.rcad-topic-modern h1.entry-title,
body.rcad-topic-modern main > h1:first-child:not(.rcad-topic-title),
body.rcad-topic-modern .site-main > h1:first-child:not(.rcad-topic-title),
body.rcad-topic-modern #primary > h1:first-child:not(.rcad-topic-title){
  display:none!important;
}

/* Título de conversación más fino, similar a XenForo. */
body.rcad-topic-modern .rcad-topic-title{
  margin:0 0 9px!important;
  font-size:clamp(26px,2.35vw,34px)!important;
  line-height:1.2!important;
  font-weight:500!important;
  letter-spacing:-.015em!important;
  color:#17233b!important;
}

/* Estadísticas: SVG homogéneos en vez de símbolos provisionales. */
body.rcad-topic-modern .rcad-topic-stats{
  gap:10px 18px!important;
}
body.rcad-topic-modern .rcad-topic-stat{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  color:#53627a!important;
  font-size:13px!important;
  font-weight:400!important;
  white-space:nowrap;
}
body.rcad-topic-modern .rcad-topic-stat__icon{
  width:17px!important;
  height:17px!important;
  flex:0 0 17px!important;
  color:#53627a!important;
}
body.rcad-topic-modern .rcad-topic-last strong{
  font-weight:600!important;
}

@media (max-width:700px){
  body.rcad-topic-modern .rcad-topic-title{
    font-size:26px!important;
  }
  body.rcad-topic-modern .rcad-topic-stat{
    white-space:normal;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RCAD v30 — título único del hilo + tipografía tipo XenForo
   Orbital imprime el título superior como <h1 class="title">.
   Se oculta únicamente en páginas de tema bbPress.
   ═══════════════════════════════════════════════════════════════ */
body.rcad-topic-modern h1.title,
body.rcad-topic-modern .header-default h1.title,
body.rcad-topic-modern .header-jumbotron h1.title,
body.rcad-topic-modern .site-header h1.title,
body.rcad-topic-modern .page-header h1.title,
body.rcad-topic-modern header h1.title {
  display: none !important;
}

body.rcad-topic-modern .rcad-topic-title {
  margin: 0 0 9px !important;
  color: #17233b !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: clamp(26px, 2.35vw, 34px) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
}

@media (max-width: 700px) {
  body.rcad-topic-modern .rcad-topic-title {
    font-size: clamp(23px, 7vw, 29px) !important;
  }
}

/* ======================================================================
   RCAD v31 — Editor esencial estilo XenForo
   - Popovers anclados justo debajo del icono.
   - Inserción fiable de enlaces e imágenes por URL.
   - Estado activo visible en negrita/cursiva/subrayado/listas/cita/código.
   ====================================================================== */
body.rcad-bbpress .rcad-visual-toolbar{
  position:relative!important;
  overflow:visible!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:2px!important;
  min-height:44px!important;
  padding:5px 8px!important;
  border:1px solid #cbd8e8!important;
  border-bottom:0!important;
  border-radius:7px 7px 0 0!important;
  background:#fff!important;
}
body.rcad-bbpress .rcad-visual-toolbar>button.is-active,
body.rcad-bbpress .rcad-visual-toolbar>button[aria-pressed="true"]{
  background:#dceeff!important;
  color:#0758a8!important;
  box-shadow:inset 0 0 0 1px #b9daf8!important;
}
body.rcad-bbpress .rcad-visual-toolbar>button:active{transform:none!important}
body.rcad-bbpress .rcad-toolbar-popover{
  position:absolute!important;
  z-index:100!important;
  width:282px!important;
  max-width:calc(100vw - 30px)!important;
  padding:11px!important;
  border:1px solid #cfd9e6!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(15,40,75,.16)!important;
}
body.rcad-bbpress .rcad-toolbar-popover[hidden]{display:none!important}
body.rcad-bbpress .rcad-toolbar-popover label{
  display:block!important;
  margin:0 0 9px!important;
  color:#66758a!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.2!important;
}
body.rcad-bbpress .rcad-toolbar-popover input{
  display:block!important;
  width:100%!important;
  height:36px!important;
  margin-top:5px!important;
  padding:7px 9px!important;
  border:1px solid #b9cce2!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#17233a!important;
  font-size:13px!important;
  box-shadow:none!important;
}
body.rcad-bbpress .rcad-toolbar-popover input:focus{
  border-color:#2584d8!important;
  outline:2px solid rgba(37,132,216,.13)!important;
}
body.rcad-bbpress .rcad-toolbar-popover .rcad-popover-insert{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:72px!important;
  height:32px!important;
  margin-left:auto!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:4px!important;
  background:#258ad3!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:600!important;
  cursor:pointer!important;
}
body.rcad-bbpress .rcad-emoji-panel{
  top:auto!important;
  left:0;
}
body.rcad-bbpress .rcad-visual-response a{color:#075eb6!important;text-decoration:underline!important;text-underline-offset:2px}
body.rcad-bbpress .rcad-visual-response .rcad-forum-image-link{display:inline-block!important;max-width:100%!important;text-decoration:none!important}
body.rcad-bbpress .rcad-visual-response .rcad-forum-image{display:block!important;max-width:100%!important;height:auto!important;margin:10px 0!important;border-radius:6px!important}
@media(max-width:640px){
  body.rcad-bbpress .rcad-toolbar-popover{
    left:8px!important;
    right:8px!important;
    width:auto!important;
  }
}

/* ======================================================================
   RCAD v32 — Quicktags link/image popovers anchored below their icons
   ====================================================================== */
body.rcad-bbpress .quicktags-toolbar.rcad-qt-toolbar-ready,
body.rcad-bbpress .quicktags-toolbar{
  position:relative!important;
  overflow:visible!important;
}
body.rcad-bbpress .quicktags-toolbar .rcad-qt-open{
  border-color:#9bc7ec!important;
  background:#e7f3fd!important;
  color:#0967ad!important;
  box-shadow:inset 0 0 0 1px rgba(9,103,173,.08)!important;
}
body.rcad-bbpress .rcad-qt-popover{
  position:absolute!important;
  z-index:99999!important;
  width:292px!important;
  max-width:calc(100vw - 28px)!important;
  padding:0 12px 12px!important;
  border:1px solid #d2dae5!important;
  border-radius:6px!important;
  background:#fff!important;
  box-shadow:0 8px 20px rgba(20,35,55,.18)!important;
  color:#25364d!important;
  text-align:left!important;
}
body.rcad-bbpress .rcad-qt-popover__head{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:39px!important;
  margin:0 -12px 10px!important;
  padding:0 12px!important;
  border-bottom:1px solid #e3e8ef!important;
  background:#f6f7f9!important;
  border-radius:6px 6px 0 0!important;
  font-size:13px!important;
}
body.rcad-bbpress .rcad-qt-popover__head strong{font-weight:600!important}
body.rcad-bbpress .rcad-qt-field{
  display:block!important;
  margin:0 0 9px!important;
  color:#66758a!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.2!important;
}
body.rcad-bbpress .rcad-qt-field span{display:block!important;margin-bottom:5px!important}
body.rcad-bbpress .rcad-qt-field input{
  display:block!important;
  width:100%!important;
  height:36px!important;
  margin:0!important;
  padding:7px 9px!important;
  border:1px solid #b9cce2!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#17233a!important;
  font-size:13px!important;
  font-weight:400!important;
  box-shadow:none!important;
}
body.rcad-bbpress .rcad-qt-field input:focus{
  border-color:#2584d8!important;
  outline:2px solid rgba(37,132,216,.13)!important;
}
body.rcad-bbpress .rcad-qt-field input.has-error{border-color:#d63638!important}
body.rcad-bbpress .rcad-qt-popover__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin-top:3px!important;
}
body.rcad-bbpress .rcad-qt-popover__actions button{
  width:auto!important;
  min-width:70px!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0 11px!important;
  border-radius:4px!important;
  font-size:12px!important;
  font-weight:600!important;
  cursor:pointer!important;
}
body.rcad-bbpress .rcad-qt-cancel{
  border:1px solid #ccd6e2!important;
  background:#fff!important;
  color:#40516a!important;
}
body.rcad-bbpress .rcad-qt-insert{
  border:1px solid #258ad3!important;
  background:#258ad3!important;
  color:#fff!important;
}
@media(max-width:640px){
  body.rcad-bbpress .rcad-qt-popover{
    left:6px!important;
    right:6px!important;
    width:auto!important;
  }
}

/* ======================================================================
   RCAD v34 — editor compacto: imagen por URL, cita funcional y popovers XenForo
   ====================================================================== */
body.rcad-bbpress .quicktags-toolbar .rcad-qt-custom-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  min-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0!important;
  border:0!important;
  border-radius:5px!important;
  background:transparent!important;
  color:#174f82!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body.rcad-bbpress .quicktags-toolbar .rcad-qt-custom-button:hover,
body.rcad-bbpress .quicktags-toolbar .rcad-qt-custom-button.rcad-qt-open{
  background:#dceeff!important;
  color:#0872bb!important;
}
body.rcad-bbpress .quicktags-toolbar .rcad-qt-custom-button svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}
body.rcad-bbpress .rcad-qt-popover--image{
  width:232px!important;
  padding:0 10px 10px!important;
}
body.rcad-bbpress .rcad-qt-popover--image .rcad-qt-popover__head{
  min-height:36px!important;
  margin:0 -10px 9px!important;
  padding:0 11px!important;
}
body.rcad-bbpress .rcad-qt-popover--image .rcad-qt-popover__head svg{
  width:17px!important;
  height:17px!important;
  fill:none!important;
  stroke:#258ad3!important;
  stroke-width:1.9!important;
}
body.rcad-bbpress .rcad-qt-popover--image .rcad-qt-field{
  margin:0 0 9px!important;
}
body.rcad-bbpress .rcad-qt-popover--image .rcad-qt-field>span:empty{
  display:none!important;
}
body.rcad-bbpress .rcad-qt-popover--image .rcad-qt-popover__actions{
  margin-top:0!important;
}
body.rcad-bbpress .rcad-qt-popover--image .rcad-qt-insert{
  min-width:66px!important;
}
body.rcad-bbpress .rcad-image-popover{
  width:232px!important;
  padding:0 10px 10px!important;
}
body.rcad-bbpress .rcad-image-popover label{
  margin:0 0 9px!important;
}
body.rcad-bbpress .rcad-image-popover .rcad-popover-head-icon{
  display:flex!important;
  align-items:center!important;
  min-height:36px!important;
  margin:0 -10px 9px!important;
  padding:0 11px!important;
  border-bottom:1px solid #e3e8ef!important;
  background:#f6f7f9!important;
  color:#258ad3!important;
  font-size:17px!important;
}
body.rcad-bbpress .rcad-image-popover .rcad-popover-insert{
  margin-left:auto!important;
}

/* ======================================================================
   RCAD v35 — Toolbar SVG uniforme + publicación fiable de imágenes
   ====================================================================== */
body.rcad-bbpress .rcad-visual-toolbar > .rcad-toolbar-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:5px!important;
  background:transparent!important;
  color:#174f82!important;
  font-size:0!important;
  line-height:1!important;
  box-shadow:none!important;
}
body.rcad-bbpress .rcad-visual-toolbar > .rcad-toolbar-button:hover,
body.rcad-bbpress .rcad-visual-toolbar > .rcad-toolbar-button:focus-visible,
body.rcad-bbpress .rcad-visual-toolbar > .rcad-toolbar-button.is-open,
body.rcad-bbpress .rcad-visual-toolbar > .rcad-toolbar-button.is-active,
body.rcad-bbpress .rcad-visual-toolbar > .rcad-toolbar-button[aria-pressed="true"]{
  background:#dceeff!important;
  color:#0872bb!important;
  box-shadow:inset 0 0 0 1px #b9daf8!important;
}
body.rcad-bbpress .rcad-toolbar-icon{
  display:inline-flex!important;
  width:20px!important;
  height:20px!important;
  align-items:center!important;
  justify-content:center!important;
  pointer-events:none!important;
}
body.rcad-bbpress .rcad-toolbar-icon svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.rcad-bbpress .rcad-popover-head-icon .rcad-toolbar-icon,
body.rcad-bbpress .rcad-popover-head-icon svg{
  width:18px!important;
  height:18px!important;
}
body.rcad-bbpress .rcad-visual-response img.rcad-forum-image{
  display:block!important;
  max-width:min(100%,760px)!important;
  height:auto!important;
  margin:10px 0!important;
  border-radius:7px!important;
  border:1px solid #d8e2ee!important;
}
@media (max-width:600px){
  body.rcad-bbpress .rcad-visual-toolbar > .rcad-toolbar-button{
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    min-height:32px!important;
  }
  body.rcad-bbpress .rcad-toolbar-icon,
  body.rcad-bbpress .rcad-toolbar-icon svg{
    width:18px!important;
    height:18px!important;
  }
}

/* ======================================================================
   RCAD v36 — Editor visual único estilo XenForo
   ====================================================================== */
body.rcad-bbpress .rcad-native-editor-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  opacity:0!important;
  pointer-events:none!important;
}
body.rcad-bbpress .rcad-visual-composer{
  position:relative!important;
  width:100%!important;
  overflow:visible!important;
  margin:0!important;
}
body.rcad-bbpress .rcad-visual-toolbar{
  position:relative!important;
  z-index:30!important;
  overflow:visible!important;
  flex-wrap:nowrap!important;
  gap:2px!important;
  min-height:48px!important;
  padding:6px 10px!important;
  border:1px solid #d5dfeb!important;
  border-bottom-color:#dfe6ef!important;
  border-radius:7px 7px 0 0!important;
  background:#fff!important;
}
body.rcad-bbpress .rcad-visual-toolbar>.rcad-toolbar-button{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  border:0!important;
  border-radius:5px!important;
  color:#25384f!important;
}
body.rcad-bbpress .rcad-visual-toolbar>.rcad-toolbar-button:hover,
body.rcad-bbpress .rcad-visual-toolbar>.rcad-toolbar-button.is-open,
body.rcad-bbpress .rcad-visual-toolbar>.rcad-toolbar-button.is-active,
body.rcad-bbpress .rcad-visual-toolbar>.rcad-toolbar-button[aria-pressed="true"]{
  background:#e7f1fb!important;
  color:#0a6ed1!important;
  box-shadow:none!important;
}
body.rcad-bbpress .rcad-toolbar-icon,
body.rcad-bbpress .rcad-toolbar-icon svg{
  width:20px!important;
  height:20px!important;
}
body.rcad-bbpress .rcad-toolbar-icon svg{
  stroke-width:1.75!important;
}
body.rcad-bbpress .rcad-toolbar-separator{
  flex:0 0 1px!important;
  height:22px!important;
  margin:0 5px!important;
  background:#dbe3ed!important;
}
body.rcad-bbpress .rcad-toolbar-popover{
  position:absolute!important;
  z-index:999999!important;
  top:47px!important;
  width:290px!important;
  max-width:calc(100vw - 30px)!important;
  box-sizing:border-box!important;
  padding:0 12px 12px!important;
  overflow:visible!important;
  border:1px solid #d5dde8!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#27394f!important;
  box-shadow:0 10px 26px rgba(25,42,63,.18)!important;
}
body.rcad-bbpress .rcad-toolbar-popover[hidden]{display:none!important}
body.rcad-bbpress .rcad-toolbar-popover::before{
  content:"";
  position:absolute;
  top:-6px;
  left:18px;
  width:10px;
  height:10px;
  border-left:1px solid #d5dde8;
  border-top:1px solid #d5dde8;
  background:#f6f7f9;
  transform:rotate(45deg);
}
body.rcad-bbpress .rcad-popover-title{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:40px!important;
  margin:0 -12px 11px!important;
  padding:0 12px!important;
  border-bottom:1px solid #e2e7ed!important;
  border-radius:7px 7px 0 0!important;
  background:#f6f7f9!important;
  color:#34465d!important;
  font-size:13px!important;
}
body.rcad-bbpress .rcad-popover-title strong{font-weight:600!important}
body.rcad-bbpress .rcad-popover-title .rcad-toolbar-icon,
body.rcad-bbpress .rcad-popover-title .rcad-toolbar-icon svg{
  width:18px!important;
  height:18px!important;
  color:#0a6ed1!important;
}
body.rcad-bbpress .rcad-toolbar-popover label{
  display:block!important;
  margin:0 0 10px!important;
  color:#4b5e75!important;
  font-size:12px!important;
  font-weight:600!important;
}
body.rcad-bbpress .rcad-toolbar-popover label span{
  color:#8290a2!important;
  font-weight:400!important;
}
body.rcad-bbpress .rcad-toolbar-popover input{
  display:block!important;
  width:100%!important;
  height:37px!important;
  margin:5px 0 0!important;
  padding:7px 9px!important;
  border:1px solid #b9cde2!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#1f3045!important;
  font-size:13px!important;
  box-shadow:none!important;
}
body.rcad-bbpress .rcad-toolbar-popover input:focus{
  border-color:#0a6ed1!important;
  outline:2px solid rgba(10,110,209,.13)!important;
}
body.rcad-bbpress .rcad-toolbar-popover input.has-error{
  border-color:#c62828!important;
  outline-color:rgba(198,40,40,.12)!important;
}
body.rcad-bbpress .rcad-popover-actions{
  display:flex!important;
  justify-content:flex-end!important;
  margin-top:7px!important;
}
body.rcad-bbpress .rcad-popover-insert{
  width:auto!important;
  min-width:72px!important;
  height:33px!important;
  min-height:33px!important;
  padding:0 13px!important;
  border:1px solid #0a6ed1!important;
  border-radius:4px!important;
  background:#0a6ed1!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:600!important;
  cursor:pointer!important;
}
body.rcad-bbpress .rcad-image-popover{width:270px!important}
body.rcad-bbpress .rcad-image-preview{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:86px!important;
  margin:2px 0 10px!important;
  padding:7px!important;
  overflow:hidden!important;
  border:1px solid #dbe4ee!important;
  border-radius:5px!important;
  background:#f7f9fc!important;
}
body.rcad-bbpress .rcad-image-preview[hidden]{display:none!important}
body.rcad-bbpress .rcad-image-preview img{
  display:block!important;
  max-width:100%!important;
  max-height:150px!important;
  object-fit:contain!important;
}
body.rcad-bbpress .rcad-image-preview.has-error::after{
  content:"No se pudo cargar la vista previa";
  color:#a43b3b;
  font-size:12px;
}
body.rcad-bbpress .rcad-image-preview.has-error img{display:none!important}
body.rcad-bbpress .rcad-emoji-panel{
  z-index:999999!important;
  top:47px!important;
  box-shadow:0 10px 26px rgba(25,42,63,.18)!important;
}
body.rcad-bbpress .rcad-visual-canvas{
  position:relative!important;
  z-index:1!important;
  overflow:visible!important;
}
@media(max-width:700px){
  body.rcad-bbpress .rcad-visual-toolbar{
    overflow-x:auto!important;
    overflow-y:visible!important;
    scrollbar-width:thin;
  }
  body.rcad-bbpress .rcad-toolbar-popover{
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    top:auto!important;
    bottom:14px!important;
    width:auto!important;
    max-width:none!important;
  }
  body.rcad-bbpress .rcad-toolbar-popover::before{display:none!important}
}

/* RCAD v37 — listas visibles y funcionales dentro del editor visual.
   Las reglas generales de bbPress eliminan list-style; aquí lo restauramos
   únicamente dentro del compositor para no alterar los listados del foro. */
body.rcad-bbpress .rcad-visual-response ul,
body.rcad-bbpress .rcad-visual-response ol,
body.bbpress .rcad-visual-response ul,
body.bbpress .rcad-visual-response ol {
  display: block !important;
  margin: .45em 0 .65em 1.45em !important;
  padding-left: 1.05em !important;
}
body.rcad-bbpress .rcad-visual-response ul,
body.bbpress .rcad-visual-response ul {
  list-style: disc outside !important;
}
body.rcad-bbpress .rcad-visual-response ol,
body.bbpress .rcad-visual-response ol {
  list-style: decimal outside !important;
}
body.rcad-bbpress .rcad-visual-response li,
body.bbpress .rcad-visual-response li {
  display: list-item !important;
  list-style: inherit !important;
  margin: .18em 0 !important;
  padding: 0 !important;
}
body.rcad-bbpress .rcad-visual-response ul ul,
body.bbpress .rcad-visual-response ul ul { list-style-type: circle !important; }
body.rcad-bbpress .rcad-visual-response ul ul ul,
body.bbpress .rcad-visual-response ul ul ul { list-style-type: square !important; }

/* Estado activo claro, al estilo XenForo. */
body.rcad-bbpress .rcad-toolbar-button--ul.is-active,
body.rcad-bbpress .rcad-toolbar-button--ol.is-active,
body.bbpress .rcad-toolbar-button--ul.is-active,
body.bbpress .rcad-toolbar-button--ol.is-active {
  color: #075eb6 !important;
  background: #eaf4ff !important;
  box-shadow: inset 0 0 0 1px #b9d8f5 !important;
}

/* RCAD v38 — comportamiento y aspecto de listas del compositor */
body.bbpress .rcad-visual-response ul,
body.bbpress .rcad-visual-response ol {
  display: block !important;
  margin: .55em 0 .75em 0 !important;
  padding-inline-start: 2rem !important;
}
body.bbpress .rcad-visual-response ul { list-style-type: disc !important; }
body.bbpress .rcad-visual-response ol { list-style-type: decimal !important; }
body.bbpress .rcad-visual-response li {
  display: list-item !important;
  list-style-position: outside !important;
  margin: .2em 0 !important;
  padding: 0 0 0 .15em !important;
  min-height: 1.45em;
}
body.bbpress .rcad-visual-response li::marker {
  color: #223a5e;
  font-size: .95em;
}

/* RCAD v39 — restauración definitiva de marcadores en el editor.
   Las reglas globales de bbPress usan #bbpress-forums li {list-style:none!important};
   por eso necesitamos igualar/superar esa especificidad dentro del compositor. */
body.bbpress #bbpress-forums .rcad-visual-response,
body.rcad-bbpress #bbpress-forums .rcad-visual-response {
  overflow: visible !important;
}
body.bbpress #bbpress-forums .rcad-visual-response ul,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ul {
  display: block !important;
  list-style: disc outside !important;
  list-style-type: disc !important;
  margin: .45em 0 .7em 0 !important;
  padding-left: 2.15rem !important;
  overflow: visible !important;
}
body.bbpress #bbpress-forums .rcad-visual-response ol,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ol {
  display: block !important;
  list-style: decimal outside !important;
  list-style-type: decimal !important;
  margin: .45em 0 .7em 0 !important;
  padding-left: 2.3rem !important;
  overflow: visible !important;
}
body.bbpress #bbpress-forums .rcad-visual-response ul > li,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ul > li {
  display: list-item !important;
  list-style: disc outside !important;
  list-style-type: disc !important;
  margin: .18em 0 !important;
  padding: 0 .1em !important;
  overflow: visible !important;
}
body.bbpress #bbpress-forums .rcad-visual-response ol > li,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ol > li {
  display: list-item !important;
  list-style: decimal outside !important;
  list-style-type: decimal !important;
  margin: .18em 0 !important;
  padding: 0 .1em !important;
  overflow: visible !important;
}
body.bbpress #bbpress-forums .rcad-visual-response li::marker,
body.rcad-bbpress #bbpress-forums .rcad-visual-response li::marker {
  color: #223a5e !important;
  font-size: 1em !important;
  font-weight: 600 !important;
}
/* Compatibilidad si el formulario se renderiza fuera de #bbpress-forums. */
body.bbpress .rcad-visual-response ul > li,
body.rcad-bbpress .rcad-visual-response ul > li { list-style-type: disc !important; }
body.bbpress .rcad-visual-response ol > li,
body.rcad-bbpress .rcad-visual-response ol > li { list-style-type: decimal !important; }

/* =========================================================
   RCAD V40 — Marcadores de listas garantizados en el editor
   Orbital/bbPress eliminan los ::marker nativos en varias capas.
   Usamos marcadores propios para que viñetas y números siempre
   sean visibles, también dentro del contenteditable.
   ========================================================= */
body.bbpress #bbpress-forums .rcad-visual-response ul,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ul,
body.bbpress #bbpress-forums .rcad-visual-response ol,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ol {
  margin: .45rem 0 .75rem !important;
  padding: 0 0 0 1.7rem !important;
  list-style: none !important;
  overflow: visible !important;
}

body.bbpress #bbpress-forums .rcad-visual-response ul > li,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ul > li,
body.bbpress #bbpress-forums .rcad-visual-response ol > li,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ol > li {
  position: relative !important;
  display: list-item !important;
  margin: .22rem 0 !important;
  padding: 0 0 0 .35rem !important;
  line-height: 1.55 !important;
  list-style: none !important;
  overflow: visible !important;
}

body.bbpress #bbpress-forums .rcad-visual-response ul > li::before,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ul > li::before {
  content: "•" !important;
  position: absolute !important;
  left: -1.05rem !important;
  top: 0 !important;
  width: .8rem !important;
  color: #071b46 !important;
  font-size: 1.05em !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-align: center !important;
  opacity: 1 !important;
}

body.bbpress #bbpress-forums .rcad-visual-response ol,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ol {
  counter-reset: rcad-editor-list !important;
}

body.bbpress #bbpress-forums .rcad-visual-response ol > li,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ol > li {
  counter-increment: rcad-editor-list !important;
}

body.bbpress #bbpress-forums .rcad-visual-response ol > li::before,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ol > li::before {
  content: counter(rcad-editor-list) "." !important;
  position: absolute !important;
  left: -1.65rem !important;
  top: 0 !important;
  width: 1.45rem !important;
  color: #071b46 !important;
  font-size: 1em !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  text-align: right !important;
  opacity: 1 !important;
}

/* Ocultar el marcador nativo para evitar duplicados en navegadores
   donde sí sobreviva al CSS de bbPress. */
body.bbpress #bbpress-forums .rcad-visual-response li::marker,
body.rcad-bbpress #bbpress-forums .rcad-visual-response li::marker {
  content: "" !important;
  font-size: 0 !important;
}

/* Marcadores visibles también al mostrar el mensaje publicado. */
body.bbpress #bbpress-forums .bbp-reply-content ul,
body.bbpress #bbpress-forums .bbp-topic-content ul,
body.bbpress #bbpress-forums .bbp-reply-content ol,
body.bbpress #bbpress-forums .bbp-topic-content ol {
  margin: .55rem 0 .8rem !important;
  padding-left: 1.55rem !important;
}
body.bbpress #bbpress-forums .bbp-reply-content ul,
body.bbpress #bbpress-forums .bbp-topic-content ul { list-style: disc outside !important; }
body.bbpress #bbpress-forums .bbp-reply-content ol,
body.bbpress #bbpress-forums .bbp-topic-content ol { list-style: decimal outside !important; }
body.bbpress #bbpress-forums .bbp-reply-content li,
body.bbpress #bbpress-forums .bbp-topic-content li {
  display: list-item !important;
  list-style: inherit !important;
  margin: .2rem 0 !important;
  padding-left: .15rem !important;
}

/* =========================================================
   RCAD V41 — Eliminar el punto amarillo heredado de Orbital
   El estilo global .entry-content ul > li::before añadía un
   círculo amarillo detrás del marcador propio del editor.
   ========================================================= */
body.bbpress #bbpress-forums .rcad-visual-response ul > li::before,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ul > li::before,
body.bbpress #bbpress-forums .rcad-visual-response ol > li::before,
body.rcad-bbpress #bbpress-forums .rcad-visual-response ol > li::before {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Evita el mismo marcador decorativo amarillo en mensajes publicados. */
body.bbpress #bbpress-forums .bbp-reply-content ul > li::before,
body.bbpress #bbpress-forums .bbp-topic-content ul > li::before,
body.rcad-bbpress #bbpress-forums .bbp-reply-content ul > li::before,
body.rcad-bbpress #bbpress-forums .bbp-topic-content ul > li::before {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* RCAD v42 — paneles de enlace e imagen con pie de acciones estilo XenForo. */
body.rcad-bbpress .rcad-visual-toolbar,
body.bbpress .rcad-visual-toolbar,
body.rcad-bbpress .rcad-visual-composer,
body.bbpress .rcad-visual-composer{
  overflow:visible!important;
}
body.rcad-bbpress .rcad-toolbar-popover,
body.bbpress .rcad-toolbar-popover{
  width:310px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #d5dee9!important;
  border-radius:8px!important;
  box-shadow:0 12px 30px rgba(23,42,68,.18)!important;
}
body.rcad-bbpress .rcad-popover-title,
body.bbpress .rcad-popover-title{
  min-height:43px!important;
  margin:0!important;
  padding:0 15px!important;
  border-radius:0!important;
  background:#f7f8fa!important;
}
body.rcad-bbpress .rcad-toolbar-popover>label,
body.bbpress .rcad-toolbar-popover>label{
  margin:14px 15px 12px!important;
}
body.rcad-bbpress .rcad-toolbar-popover input,
body.bbpress .rcad-toolbar-popover input{
  height:40px!important;
  border-radius:6px!important;
}
body.rcad-bbpress .rcad-image-preview,
body.bbpress .rcad-image-preview{
  margin:0 15px 13px!important;
}
body.rcad-bbpress .rcad-popover-actions,
body.bbpress .rcad-popover-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-height:58px!important;
  margin:0!important;
  padding:10px 15px!important;
  border-top:1px solid #e1e7ef!important;
  background:#f7f8fa!important;
}
body.rcad-bbpress .rcad-popover-actions button,
body.bbpress .rcad-popover-actions button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:88px!important;
  height:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0 16px!important;
  border-radius:6px!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1!important;
  cursor:pointer!important;
}
body.rcad-bbpress .rcad-popover-cancel,
body.bbpress .rcad-popover-cancel{
  border:1px solid #cbd5e1!important;
  background:#fff!important;
  color:#42526a!important;
}
body.rcad-bbpress .rcad-popover-cancel:hover,
body.bbpress .rcad-popover-cancel:hover{
  border-color:#9fb1c6!important;
  background:#f1f4f8!important;
}
body.rcad-bbpress .rcad-popover-insert,
body.bbpress .rcad-popover-insert{
  border:1px solid #0a6ed1!important;
  background:#0a6ed1!important;
  color:#fff!important;
  box-shadow:0 1px 2px rgba(10,110,209,.16)!important;
}
body.rcad-bbpress .rcad-popover-insert:hover,
body.bbpress .rcad-popover-insert:hover{
  border-color:#075eB5!important;
  background:#075eB5!important;
}

/* Misma terminación para el editor Quicktags de respaldo. */
body.rcad-bbpress .rcad-qt-popover,
body.bbpress .rcad-qt-popover{
  width:310px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:8px!important;
}
body.rcad-bbpress .rcad-qt-popover__head,
body.bbpress .rcad-qt-popover__head{
  min-height:43px!important;
  padding:0 15px!important;
  background:#f7f8fa!important;
}
body.rcad-bbpress .rcad-qt-popover .rcad-qt-field,
body.bbpress .rcad-qt-popover .rcad-qt-field{
  margin:14px 15px 12px!important;
}
body.rcad-bbpress .rcad-qt-popover__actions,
body.bbpress .rcad-qt-popover__actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin:0!important;
  padding:10px 15px!important;
  border-top:1px solid #e1e7ef!important;
  background:#f7f8fa!important;
}
body.rcad-bbpress .rcad-qt-popover__actions button,
body.bbpress .rcad-qt-popover__actions button{
  min-width:88px!important;
  height:38px!important;
  padding:0 16px!important;
  border-radius:6px!important;
  font-size:13px!important;
  font-weight:600!important;
}
body.rcad-bbpress .rcad-qt-cancel,
body.bbpress .rcad-qt-cancel{
  border:1px solid #cbd5e1!important;
  background:#fff!important;
  color:#42526a!important;
}
body.rcad-bbpress .rcad-qt-insert,
body.bbpress .rcad-qt-insert{
  border:1px solid #0a6ed1!important;
  background:#0a6ed1!important;
  color:#fff!important;
}
@media(max-width:700px){
  body.rcad-bbpress .rcad-toolbar-popover,
  body.bbpress .rcad-toolbar-popover,
  body.rcad-bbpress .rcad-qt-popover,
  body.bbpress .rcad-qt-popover{
    width:auto!important;
  }
}


/* =========================================================
   RCAD V43 — Popovers compactos tipo XenForo
   Un único botón Insertar; sin pie gris ni botón Cancelar.
   ========================================================= */
body.rcad-bbpress .rcad-toolbar-popover,
body.bbpress .rcad-toolbar-popover,
body.rcad-bbpress .rcad-qt-popover,
body.bbpress .rcad-qt-popover{
  width:280px!important;
  padding:0!important;
  overflow:visible!important;
  border:1px solid #d5dee9!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(23,42,68,.20)!important;
}
body.rcad-bbpress .rcad-image-popover,
body.bbpress .rcad-image-popover,
body.rcad-bbpress .rcad-qt-popover--image,
body.bbpress .rcad-qt-popover--image{
  width:250px!important;
}
body.rcad-bbpress .rcad-popover-title,
body.bbpress .rcad-popover-title,
body.rcad-bbpress .rcad-qt-popover__head,
body.bbpress .rcad-qt-popover__head{
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
  margin:0!important;
  padding:8px 12px 2px!important;
  border:0!important;
  background:#fff!important;
}
body.rcad-bbpress .rcad-popover-title strong,
body.bbpress .rcad-popover-title strong{
  display:none!important;
}
body.rcad-bbpress .rcad-popover-title svg,
body.bbpress .rcad-popover-title svg,
body.rcad-bbpress .rcad-qt-popover__head svg,
body.bbpress .rcad-qt-popover__head svg{
  width:18px!important;
  height:18px!important;
  color:#3498db!important;
  stroke:currentColor!important;
}
body.rcad-bbpress .rcad-toolbar-popover>label,
body.bbpress .rcad-toolbar-popover>label,
body.rcad-bbpress .rcad-qt-popover .rcad-qt-field,
body.bbpress .rcad-qt-popover .rcad-qt-field{
  display:block!important;
  margin:4px 12px 10px!important;
  padding:0!important;
  font-size:11px!important;
  font-weight:500!important;
  color:#7a8798!important;
}
body.rcad-bbpress .rcad-toolbar-popover>label>span,
body.bbpress .rcad-toolbar-popover>label>span,
body.rcad-bbpress .rcad-qt-field>span,
body.bbpress .rcad-qt-field>span{
  display:block!important;
  margin:0 0 4px!important;
}
body.rcad-bbpress .rcad-toolbar-popover input,
body.bbpress .rcad-toolbar-popover input,
body.rcad-bbpress .rcad-qt-popover input,
body.bbpress .rcad-qt-popover input{
  display:block!important;
  width:100%!important;
  height:36px!important;
  margin:0!important;
  padding:7px 10px!important;
  border:1px solid #9fc9ee!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:400!important;
  color:#26364a!important;
}
body.rcad-bbpress .rcad-toolbar-popover input:focus,
body.bbpress .rcad-toolbar-popover input:focus,
body.rcad-bbpress .rcad-qt-popover input:focus,
body.bbpress .rcad-qt-popover input:focus{
  border-color:#3498db!important;
  outline:0!important;
  box-shadow:0 0 0 2px rgba(52,152,219,.12)!important;
}
body.rcad-bbpress .rcad-image-preview,
body.bbpress .rcad-image-preview{
  margin:0 12px 8px!important;
}
body.rcad-bbpress .rcad-popover-actions,
body.bbpress .rcad-popover-actions,
body.rcad-bbpress .rcad-qt-popover__actions,
body.bbpress .rcad-qt-popover__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:0!important;
  margin:0!important;
  padding:0 12px 10px!important;
  border:0!important;
  background:#fff!important;
}
body.rcad-bbpress .rcad-popover-actions .rcad-popover-cancel,
body.bbpress .rcad-popover-actions .rcad-popover-cancel,
body.rcad-bbpress .rcad-qt-popover__actions .rcad-qt-cancel,
body.bbpress .rcad-qt-popover__actions .rcad-qt-cancel{
  display:none!important;
}
body.rcad-bbpress .rcad-popover-insert,
body.bbpress .rcad-popover-insert,
body.rcad-bbpress .rcad-qt-insert,
body.bbpress .rcad-qt-insert{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:68px!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #3498db!important;
  border-radius:4px!important;
  background:#3498db!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1!important;
}
body.rcad-bbpress .rcad-popover-insert:hover,
body.bbpress .rcad-popover-insert:hover,
body.rcad-bbpress .rcad-qt-insert:hover,
body.bbpress .rcad-qt-insert:hover{
  border-color:#2587c8!important;
  background:#2587c8!important;
}
@media(max-width:480px){
  body.rcad-bbpress .rcad-toolbar-popover,
  body.bbpress .rcad-toolbar-popover,
  body.rcad-bbpress .rcad-qt-popover,
  body.bbpress .rcad-qt-popover{
    width:min(280px,calc(100vw - 28px))!important;
  }
}

/* ======================================================================
   RCAD v46 — Elimina definitivamente iconos heredados duplicados
   ====================================================================== */
#bbpress-forums .rcad-bbp-user-metrics > div::before,
#bbpress-forums .rcad-bbp-user-metrics > div::after,
#bbpress-forums .rcad-bbp-user-metrics dt::before,
#bbpress-forums .rcad-bbp-user-metrics dt::after,
#bbpress-forums .rcad-bbp-user-metrics dd::before,
#bbpress-forums .rcad-bbp-user-metrics dd::after,
#bbpress-forums .rcad-bbp-stats--community .rcad-bbp-user-metrics > div::before,
#bbpress-forums .rcad-bbp-stats--community .rcad-bbp-user-metrics > div::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}
#bbpress-forums .rcad-bbp-user-metrics > div {
  display: grid !important;
  grid-template-columns: 16px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 8px !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
#bbpress-forums .rcad-bbp-user-metrics .rcad-bbp-metric-icon {
  display: inline-flex !important;
  grid-column: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #53627a !important;
}
#bbpress-forums .rcad-bbp-user-metrics .rcad-bbp-metric-icon svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
#bbpress-forums .rcad-bbp-user-metrics dt {
  grid-column: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
#bbpress-forums .rcad-bbp-user-metrics dd {
  grid-column: 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: right !important;
}


/* ======================================================================
   RCAD v47 — Solo SVG inline: elimina físicamente los iconos heredados
   ====================================================================== */
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics > div::before,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics > div::after,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics dt::before,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics dt::after,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics dd::before,
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics dd::after {
  content: none !important;
  display: none !important;
}
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics > div {
  grid-template-columns: 16px minmax(0, 1fr) auto !important;
}
body.rcad-topic-modern.rcad-community-engine-ui #bbpress-forums .rcad-bbp-user-metrics .rcad-bbp-metric-icon {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ==========================================================
   RCAD v50 — Página interior de foro moderna (single-forum)
   Diseño coherente con los temas y SVG uniformes
   ========================================================== */
body.single-forum.rcad-bbpress{
  --rcad-sf-navy:#071b46;
  --rcad-sf-blue:#1e63f6;
  --rcad-sf-yellow:#f6a800;
  --rcad-sf-text:#17233b;
  --rcad-sf-muted:#6b7280;
  --rcad-sf-line:#dfe5eb;
  --rcad-sf-soft:#f5f7fa;
}

/* Título superior: más limpio, sin exceso de grosor */
body.single-forum.rcad-bbpress h1.title,
body.single-forum.rcad-bbpress .entry-title,
body.single-forum.rcad-bbpress .page-title{
  position:relative;
  margin:18px auto 16px!important;
  padding-left:24px!important;
  max-width:var(--orbital-container-width, 1360px);
  color:var(--rcad-sf-text)!important;
  font-size:clamp(28px,3vw,42px)!important;
  line-height:1.15!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
}

/* Aviso / suscripción compacto */
body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice.info,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice{
  position:relative!important;
  margin:0 0 28px!important;
  padding:20px 22px 20px 78px!important;
  border:1px solid var(--rcad-sf-line)!important;
  border-left:4px solid var(--rcad-sf-yellow)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(23,43,77,.04)!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice.info::before,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice::before{
  content:"";
  position:absolute;
  left:22px;
  top:50%;
  width:38px;
  height:38px;
  transform:translateY(-50%);
  border-radius:50%;
  background:#fff8e8 center/20px 20px no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23071b46' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice p{
  margin:0!important;
  color:var(--rcad-sf-muted)!important;
  font-size:13px!important;
  line-height:1.65!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice a{color:var(--rcad-sf-blue)!important;font-weight:600!important}

/* Encabezado de sección */
body.single-forum.rcad-bbpress #bbpress-forums::before{
  content:"Debates del foro";
  display:flex;
  align-items:center;
  gap:10px;
  margin:4px 0 12px;
  color:var(--rcad-sf-text);
  font-size:20px;
  line-height:1.25;
  font-weight:650;
}
body.single-forum.rcad-bbpress #bbpress-forums::after{content:none!important}

/* Cabecera de columnas: SVG y textos normales */
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header{
  min-height:58px!important;
  padding:0 26px!important;
  background:#fff!important;
  color:var(--rcad-sf-muted)!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  border-bottom:1px solid var(--rcad-sf-line)!important;
}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:0!important;
  min-height:0!important;
}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title::before,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count::before,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count::before,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness::before{
  content:""!important;
  position:static!important;
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  transform:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background-color:transparent!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:18px 18px!important;
}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231e63f6' 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;
}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E")!important;
}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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;
}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 15 14'/%3E%3C/svg%3E")!important;
}

/* Filas: más aire, jerarquía y alineación */
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body>ul.topic{
  min-height:150px!important;
  padding:26px!important;
  grid-template-columns:minmax(0,1fr) 110px 110px minmax(210px,25%)!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title{
  min-height:62px!important;
  padding:4px 18px 4px 76px!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title::before{
  width:54px!important;
  height:54px!important;
  background-size:24px!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-permalink{
  color:var(--rcad-sf-navy)!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:1.35!important;
  text-decoration:none!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-permalink:hover{color:var(--rcad-sf-blue)!important}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-meta{
  margin-top:12px!important;
  color:var(--rcad-sf-muted)!important;
  font-size:12px!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-pagination{
  display:flex!important;
  gap:6px!important;
  margin:8px 0 0!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-pagination a,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-pagination span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  margin:0!important;
  border:1px solid var(--rcad-sf-line)!important;
  border-radius:6px!important;
  background:#fff!important;
  color:var(--rcad-sf-muted)!important;
  text-decoration:none!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-pagination a:first-child,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-pagination span.current{
  border-color:var(--rcad-sf-blue)!important;
  color:var(--rcad-sf-blue)!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-voice-count,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-reply-count{
  font-size:22px!important;
  font-weight:650!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-voice-count::after,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-reply-count::after{
  margin-top:7px!important;
  color:var(--rcad-sf-muted)!important;
  font-size:10px!important;
  letter-spacing:.04em!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-freshness{
  padding-left:24px!important;
  font-size:12px!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-freshness a{
  color:var(--rcad-sf-blue)!important;
  font-size:12px!important;
  font-weight:650!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-freshness img.avatar{
  width:38px!important;
  height:38px!important;
}

@media (max-width:900px){
  body.single-forum.rcad-bbpress h1.title,
  body.single-forum.rcad-bbpress .entry-title,
  body.single-forum.rcad-bbpress .page-title{padding-left:0!important;font-size:30px!important}
  body.single-forum.rcad-bbpress h1.title::before,
  body.single-forum.rcad-bbpress .entry-title::before,
  body.single-forum.rcad-bbpress .page-title::before{display:none!important}
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header{display:none!important}
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body>ul.topic{
    grid-template-columns:1fr minmax(145px,34%)!important;
    gap:18px!important;
    min-height:0!important;
    padding:20px!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title{grid-column:1/2;padding-left:62px!important}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-reply-count{display:none!important}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-freshness{grid-column:2/3;border-left:1px solid var(--rcad-sf-line)!important}
}
@media (max-width:620px){
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice.info,
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice{padding:18px!important}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-template-notice::before{display:none!important}
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body>ul.topic{display:block!important;padding:17px!important}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title{padding:0 0 0 56px!important}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title::before{width:42px!important;height:42px!important;background-size:19px!important}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-freshness{margin-top:18px!important;padding:14px 0 0!important;border-left:0!important;border-top:1px solid var(--rcad-sf-line)!important}
}

/* ==========================================================
   RCAD v51 — Single forum corregido (sin solapes)
   Alineación estable de columnas + SVG uniformes
   ========================================================== */
body.single-forum.rcad-bbpress #bbpress-forums ul.forum-titles,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 120px 120px minmax(220px,26%)!important;
  align-items:center!important;
  width:100%!important;
  margin:0!important;
}

body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header {
  padding:0!important;
  min-height:64px!important;
  border:0!important;
  border-radius:10px 10px 0 0!important;
  background:linear-gradient(135deg,#071b46,#0b2a63)!important;
  overflow:hidden!important;
}

body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles {
  min-height:64px!important;
  padding:0 24px!important;
}

body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness {
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  padding:0 14px!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title::after {content:"Debate"!important;}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count::after {content:"Temas"!important;}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count::after {content:"Entradas"!important;}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness::after {content:"Última publicación"!important;}

body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness {
  font-size:0!important;
}
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title::after,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count::after,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count::after,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness::after {
  font-size:13px!important;
  color:#fff!important;
  font-weight:600!important;
}

body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title::before,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count::before,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count::before,
body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness::before {
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  background-size:20px 20px!important;
  filter:brightness(0) invert(1)!important;
  opacity:.95!important;
}

body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic {
  min-height:136px!important;
  padding:22px 24px!important;
  border:1px solid #dfe5eb!important;
  border-top:0!important;
  border-radius:0 0 10px 10px!important;
  background:#fff!important;
}

body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > li {
  min-width:0!important;
  width:auto!important;
  margin:0!important;
}

body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title {
  padding:6px 24px 6px 76px!important;
}

/* Quita la paginación interna 1,2,3 del título. La paginación general queda abajo. */
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title .bbp-topic-pagination {
  display:none!important;
}

body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-voice-count,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-reply-count {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:74px!important;
  padding:0 10px!important;
  color:#071b46!important;
  font-size:22px!important;
  font-weight:700!important;
  line-height:1!important;
  text-align:center!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-voice-count::after {content:"TEMAS"!important;}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-reply-count::after {content:"MENSAJES"!important;}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-voice-count::after,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-reply-count::after {
  margin-top:8px!important;
  color:#6b7280!important;
  font-size:10px!important;
  font-weight:600!important;
  letter-spacing:.05em!important;
}

body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-freshness {
  min-height:84px!important;
  padding:8px 0 8px 28px!important;
  border-left:1px solid #dfe5eb!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
}

body.single-forum.rcad-bbpress #bbpress-forums .bbp-pagination {
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  margin:22px 0 0!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-pagination-count {display:none!important;}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-pagination-links {
  display:flex!important;
  gap:10px!important;
  float:none!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-pagination-links a,
body.single-forum.rcad-bbpress #bbpress-forums .bbp-pagination-links span.current {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:40px!important;
  height:40px!important;
  padding:0 12px!important;
  margin:0!important;
  border:1px solid #dfe5eb!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#17233b!important;
  font-size:14px!important;
  font-weight:600!important;
  text-decoration:none!important;
}
body.single-forum.rcad-bbpress #bbpress-forums .bbp-pagination-links span.current {
  border-color:#071b46!important;
  background:#071b46!important;
  color:#fff!important;
}

@media (max-width:900px){
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header {display:none!important;}
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic {
    grid-template-columns:minmax(0,1fr) minmax(150px,34%)!important;
    gap:18px!important;
    padding:20px!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title {grid-column:1/2!important;}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-reply-count {display:none!important;}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-freshness {
    grid-column:2/3!important;
    border-left:1px solid #dfe5eb!important;
  }
}

@media (max-width:620px){
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic {
    display:block!important;
    padding:17px!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-title {padding:0 0 0 56px!important;}
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-freshness {
    margin-top:18px!important;
    padding:14px 0 0!important;
    border-left:0!important;
    border-top:1px solid #dfe5eb!important;
  }
}

/* ==========================================================
   RCAD v52 — rejilla estable para listado de debates
   Misma retícula en cabecera y filas, sin solapes heredados.
   ========================================================== */
@media (min-width:901px){
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic{
    box-sizing:border-box!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic{
    display:grid!important;
    grid-template-columns:minmax(360px,1fr) 140px 140px 280px!important;
    grid-auto-flow:column!important;
    align-items:stretch!important;
    gap:0!important;
    width:100%!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles{
    min-height:68px!important;
    padding:0!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness{
    position:relative!important;
    float:none!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:11px!important;
    width:auto!important;
    min-width:0!important;
    min-height:68px!important;
    margin:0!important;
    padding:0 18px!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.24)!important;
    overflow:visible!important;
    white-space:nowrap!important;
    font-size:0!important;
    line-height:1!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title{
    justify-content:flex-start!important;
    border-left:0!important;
    padding-left:38px!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title::before,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count::before,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count::before,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness::before{
    content:""!important;
    position:static!important;
    inset:auto!important;
    display:block!important;
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background-color:#fff!important;
    background-image:none!important;
    background-size:contain!important;
    box-shadow:none!important;
    opacity:.96!important;
    filter:none!important;
    -webkit-mask-repeat:no-repeat!important;
    mask-repeat:no-repeat!important;
    -webkit-mask-position:center!important;
    mask-position:center!important;
    -webkit-mask-size:contain!important;
    mask-size:contain!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' 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;
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' 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;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")!important;
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M14 2v6h6M9 13h8M9 17h8'/%3E%3C/svg%3E")!important;
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M14 2v6h6M9 13h8M9 17h8'/%3E%3C/svg%3E")!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")!important;
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title::after,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count::after,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count::after,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness::after{
    position:static!important;
    display:inline!important;
    margin:0!important;
    color:#fff!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:600!important;
    letter-spacing:0!important;
    text-transform:none!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic{
    min-height:170px!important;
    padding:0!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > li{
    float:none!important;
    display:flex!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:170px!important;
    margin:0!important;
    padding:28px 24px!important;
    border-left:1px solid #e2e8f0!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > li:first-child{
    border-left:0!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic .bbp-topic-title{
    position:relative!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:28px 30px 28px 106px!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic .bbp-topic-title::before{
    content:""!important;
    position:absolute!important;
    left:30px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    display:block!important;
    width:58px!important;
    height:58px!important;
    margin:0!important;
    border-radius:50%!important;
    background-color:#071b46!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' 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;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:26px!important;
    box-shadow:0 7px 18px rgba(7,27,70,.16)!important;
    filter:none!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-permalink{
    display:block!important;
    width:100%!important;
    margin:0 0 14px!important;
    border-bottom:1px solid #b9cdfa!important;
    color:#071b46!important;
    font-size:16px!important;
    line-height:1.35!important;
    font-weight:700!important;
    text-decoration:none!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-meta{
    width:100%!important;
    margin:0!important;
    color:#64748b!important;
    font-size:12px!important;
    line-height:1.65!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic .bbp-topic-reply-count{
    flex-direction:column!important;
    color:#071b46!important;
    font-size:24px!important;
    font-weight:700!important;
    line-height:1!important;
    text-align:center!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic .bbp-topic-voice-count::after,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic .bbp-topic-reply-count::after{
    position:static!important;
    margin-top:10px!important;
    color:#64748b!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:600!important;
    letter-spacing:.04em!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic .bbp-topic-freshness{
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:28px 30px!important;
    border-left:1px solid #e2e8f0!important;
  }
}

/* =========================================================
   RCAD v53 — Single forum: more width for Debate column
   Desktop ratio: Debate 54% / Temas 13% / Entradas 13% / Última 20%
   Header and rows share the exact same grid.
   ========================================================= */
@media (min-width: 1025px) {
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic {
    display: grid !important;
    grid-template-columns: minmax(0, 54fr) minmax(112px, 13fr) minmax(112px, 13fr) minmax(190px, 20fr) !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-title,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-title {
    padding-left: 98px !important;
    padding-right: 28px !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums .bbp-topic-permalink {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-reply-count {
    justify-content: center !important;
    text-align: center !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    padding-left: 30px !important;
    padding-right: 22px !important;
  }
}

/* =========================================================
   RCAD v54 — Single forum: definitive aligned desktop grid
   One shared grid for header and topic rows. Native bbPress
   header labels are suppressed; only the RCAD SVG labels show.
   ========================================================= */
@media (min-width: 1025px) {
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic {
    display:grid!important;
    grid-template-columns:minmax(0,56fr) minmax(105px,13fr) minmax(105px,13fr) minmax(190px,18fr)!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles > li,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > li {
    float:none!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
    margin:0!important;
  }

  /* Header: suppress every native label/node inherited from bbPress. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles > li {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    min-height:68px!important;
    padding:0 18px!important;
    border-left:1px solid rgba(255,255,255,.22)!important;
    overflow:hidden!important;
    color:transparent!important;
    font-size:0!important;
    line-height:1!important;
    text-indent:0!important;
    white-space:nowrap!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles > li:first-child {
    justify-content:flex-start!important;
    padding-left:38px!important;
    border-left:0!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles > li > * {
    display:none!important;
    visibility:hidden!important;
    font-size:0!important;
    color:transparent!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles > li::before {
    display:block!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles > li::after {
    display:inline-block!important;
    visibility:visible!important;
    position:static!important;
    margin:0!important;
    color:#fff!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:600!important;
    letter-spacing:0!important;
    text-transform:none!important;
    white-space:nowrap!important;
  }

  /* Body: identical separators and column boundaries. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > li {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:170px!important;
    padding:28px 22px!important;
    border-left:1px solid #e2e8f0!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > li:first-child {
    border-left:0!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-title {
    align-items:flex-start!important;
    justify-content:center!important;
    padding:28px 28px 28px 106px!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-reply-count {
    text-align:center!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    align-items:flex-start!important;
    justify-content:center!important;
    padding:28px 24px!important;
  }
}

/* =========================================================
   RCAD v55 — Single forum: grid columns mapped explicitly
   Prevents inherited bbPress grid-column/order rules from
   collapsing Debate and moving the remaining headings left.
   ========================================================= */
@media (min-width: 1025px) {
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic {
    display: grid !important;
    grid-template-columns: minmax(0, 58fr) minmax(110px, 12fr) minmax(110px, 12fr) minmax(210px, 18fr) !important;
    grid-auto-flow: row !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Explicitly pin every bbPress cell to the same column in header and rows. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-title {
    grid-column: 1 / 2 !important;
    order: 1 !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-voice-count {
    grid-column: 2 / 3 !important;
    order: 2 !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-reply-count {
    grid-column: 3 / 4 !important;
    order: 3 !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    grid-column: 4 / 5 !important;
    order: 4 !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header ul.forum-titles > li,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > li {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Debate gets the visual priority; the remaining cells stay centered. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title {
    justify-content: flex-start !important;
    padding-left: 38px !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness {
    justify-content: center !important;
    text-align: center !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-title {
    padding: 28px 30px 28px 106px !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    padding: 28px 28px !important;
  }
}

/* =========================================================
   RCAD v56 — Single forum: header and row share one real grid
   Uses display:contents for the native forum-titles wrapper so
   the blue header cells align pixel-perfect with the white row.
   ========================================================= */
@media (min-width: 1025px) {
  body.single-forum.rcad-bbpress #bbpress-forums {
    --rcad-forum-cols: minmax(0, 58fr) minmax(110px, 12fr) minmax(110px, 12fr) minmax(210px, 18fr);
  }

  /* The blue header itself is the grid. The native UL stops creating
     an extra formatting box, which was shrinking all headings left. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header {
    display: grid !important;
    grid-template-columns: var(--rcad-forum-cols) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header > ul.forum-titles {
    display: contents !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Topic rows use the exact same template and outer width. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic {
    display: grid !important;
    grid-template-columns: var(--rcad-forum-cols) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Pin every header and row cell to one column and remove all native
     float/flex widths inherited from bbPress or Orbital. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-title {
    grid-column: 1 !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-voice-count {
    grid-column: 2 !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-reply-count {
    grid-column: 3 !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    grid-column: 4 !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-title,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    float: none !important;
    order: initial !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Shared column separators: same exact x-position in blue and white. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness {
    border-left: 1px solid rgba(255,255,255,.22) !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    border-left: 1px solid #e2e8f0 !important;
  }

  /* Stable inner padding without changing column widths. */
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-title {
    justify-content: flex-start !important;
    padding: 0 28px 0 38px !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-header .bbp-topic-freshness {
    justify-content: center !important;
    padding: 0 16px !important;
  }

  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-title {
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 28px 30px 28px 106px !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-voice-count,
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-reply-count {
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 16px !important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums li.bbp-body > ul.topic > .bbp-topic-freshness {
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 28px 24px !important;
  }
}

/* =========================================================
   RCAD v57 — Portada del foro: más anchura para la columna Foro
   La cabecera y cada categoría comparten una única rejilla.
   ========================================================= */
@media (min-width: 861px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols: minmax(0, 62fr) minmax(58px, 9fr) minmax(58px, 9fr) minmax(145px, 20fr);
  }

  /* La franja de títulos es la rejilla real. */
  body.rcad-forum-home #bbpress-forums li.bbp-header {
    display: grid !important;
    grid-template-columns: var(--rcad-home-forum-cols) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header > ul.forum-titles {
    display: contents !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Cada fila usa exactamente las mismas columnas. */
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    display: grid !important;
    grid-template-columns: var(--rcad-home-forum-cols) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    grid-column: 1 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count {
    grid-column: 2 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count {
    grid-column: 3 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    grid-column: 4 !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > li {
    float: none !important;
    order: initial !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Más espacio útil para nombre, descripción y subforos. */
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info {
    justify-content: flex-start !important;
    padding: 0 18px 0 26px !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    padding: 18px 14px 18px 56px !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    border-left: 1px solid #e2e8f0 !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness {
    border-left-color: rgba(7,27,70,.10) !important;
    justify-content: center !important;
    padding: 0 8px !important;
    text-align: center !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count {
    padding: 16px 6px !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    padding: 16px 10px 16px 14px !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-title,
  body.rcad-forum-home #bbpress-forums .bbp-forums-list,
  body.rcad-forum-home #bbpress-forums .bbp-forums-list a {
    max-width: 100% !important;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols: minmax(0, 64fr) minmax(52px, 9fr) minmax(52px, 9fr) minmax(135px, 18fr);
  }
}

/* =========================================================
   RCAD v58 — Portada del foro en tarjetas, sin líneas rígidas
   ========================================================= */
body.rcad-forum-home #bbpress-forums ul.bbp-forums {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.rcad-forum-home #bbpress-forums li.bbp-header {
  margin: 0 0 14px !important;
  border: 0 !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg,#071b46 0%,#0d326e 100%) !important;
  box-shadow: 0 10px 28px rgba(7,27,70,.12) !important;
}

body.rcad-forum-home #bbpress-forums li.bbp-body {
  display: grid !important;
  gap: 16px !important;
  border: 0 !important;
  background: transparent !important;
}

body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
  position: relative !important;
  min-height: 150px !important;
  margin: 0 !important;
  border: 1px solid #e3e9f2 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 7px 22px rgba(15,35,70,.055) !important;
  overflow: hidden !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum:hover {
  transform: translateY(-2px) !important;
  border-color: #cfdcf0 !important;
  box-shadow: 0 13px 32px rgba(15,35,70,.09) !important;
}

/* Sin líneas horizontales ni separadores verticales duros. */
body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > li,
body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count,
body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count,
body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
  padding: 24px 22px 22px 82px !important;
}

body.rcad-forum-home #bbpress-forums .bbp-forum-info::before {
  left: 22px !important;
  width: 46px !important;
  height: 46px !important;
  box-shadow: 0 7px 18px rgba(7,27,70,.16) !important;
}

body.rcad-forum-home #bbpress-forums .bbp-forum-title {
  margin: 0 0 6px !important;
  color: #071b46 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

body.rcad-forum-home #bbpress-forums .bbp-forum-title:hover {
  color: #135fc2 !important;
}

body.rcad-forum-home #bbpress-forums .bbp-forum-content {
  display: block !important;
  margin: 0 0 10px !important;
  color: #50617b !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
}

/* Subforos como chips, no como enlaces subrayados ni líneas. */
body.rcad-forum-home #bbpress-forums .bbp-forums-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
}
body.rcad-forum-home #bbpress-forums .bbp-forums-list li {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.rcad-forum-home #bbpress-forums .bbp-forums-list a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 4px 9px !important;
  border: 1px solid #e0e8f4 !important;
  border-radius: 7px !important;
  background: #f7f9fd !important;
  color: #1762c6 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
body.rcad-forum-home #bbpress-forums .bbp-forums-list a:hover {
  border-color: #bcd0ee !important;
  background: #eef5ff !important;
}

body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count,
body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px 8px !important;
  color: #071b46 !important;
  font-size: 22px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}

body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count::after,
body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count::after {
  color: #65738a !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

body.rcad-forum-home #bbpress-forums .bbp-forum-freshness {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 20px 18px !important;
  color: #52637e !important;
}


@media (min-width: 861px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols: minmax(0, 62fr) minmax(70px, 10fr) minmax(70px, 10fr) minmax(155px, 18fr);
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness {
    border-left: 1px solid rgba(255,255,255,.14) !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    position: relative !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count::before,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count::before,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 23% !important;
    bottom: 23% !important;
    width: 1px !important;
    background: #edf1f6 !important;
  }
}

@media (max-width: 860px) {
  body.rcad-forum-home #bbpress-forums li.bbp-body {gap: 12px !important;}
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    border-radius: 13px !important;
    box-shadow: 0 5px 16px rgba(15,35,70,.05) !important;
  }
}

@media (max-width: 680px) {
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    padding: 0 14px 14px !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    padding: 18px 0 15px 58px !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-info::before {
    left: 0 !important;
    width: 44px !important;
    height: 44px !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-freshness {
    margin-top: 4px !important;
    padding: 13px 0 0 !important;
    border-top: 1px solid #edf1f6 !important;
  }
}

/* =========================================================
   RCAD v59 — Portada del foro: tarjetas compactas como boceto
   Corrige anchuras internas heredadas y evita chips verticales.
   ========================================================= */
@media (min-width: 861px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols: minmax(0, 56fr) minmax(86px, 11fr) minmax(86px, 11fr) minmax(190px, 22fr);
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    display: grid !important;
    grid-template-columns: var(--rcad-home-forum-cols) !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header > ul.forum-titles {
    display: contents !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    grid-column: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    float: none !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count { grid-column: 2 !important; }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count { grid-column: 3 !important; }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness { grid-column: 4 !important; }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 24px !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    min-height: 132px !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    display: block !important;
    position: relative !important;
    padding: 22px 22px 20px 88px !important;
    text-align: left !important;
    overflow: visible !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-info::before {
    left: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-info > *,
  body.rcad-forum-home #bbpress-forums .bbp-forum-info .bbp-forum-title,
  body.rcad-forum-home #bbpress-forums .bbp-forum-info .bbp-forum-content,
  body.rcad-forum-home #bbpress-forums .bbp-forum-info .bbp-forums-list {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-title {
    display: inline-block !important;
    margin: 0 0 5px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-content {
    margin: 0 0 9px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forums-list {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    gap: 5px 7px !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forums-list li {
    display: inline-flex !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forums-list a {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 22px !important;
    padding: 3px 7px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums .bbp-forum-freshness {
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count {
    padding: 20px 8px !important;
    font-size: 18px !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-freshness {
    padding: 20px 16px !important;
    text-align: left !important;
  }

  /* Separadores únicamente entre las columnas, no líneas internas en Foro. */
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count::before,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count::before,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness::before {
    top: 20% !important;
    bottom: 20% !important;
    background: #edf1f6 !important;
  }
}

@media (min-width: 861px) and (max-width: 1050px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols: minmax(0, 58fr) minmax(70px, 10fr) minmax(70px, 10fr) minmax(155px, 22fr);
  }
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    padding-left: 78px !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-info::before {
    left: 18px !important;
  }
}

/* =========================================================
   RCAD v60 — Portada del foro: rejilla compacta real
   Corrige la columna Foro estrecha y los subforos verticales.
   ========================================================= */
@media (min-width: 861px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols-v60: minmax(0, 1fr) 72px 72px 190px;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    display: grid !important;
    grid-template-columns: var(--rcad-home-forum-cols-v60) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header > ul.forum-titles {
    display: contents !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    grid-column: 1 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count {
    grid-column: 2 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count {
    grid-column: 3 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    grid-column: 4 !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > li {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 18px !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 6px !important;
    text-align: center !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    min-height: 118px !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    display: block !important;
    position: relative !important;
    padding: 18px 14px 16px 72px !important;
    text-align: left !important;
    overflow: visible !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-info::before {
    left: 16px !important;
    top: 50% !important;
    width: 42px !important;
    height: 42px !important;
    transform: translateY(-50%) !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-title {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 4px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: left !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-content {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 7px !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    text-align: left !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forums-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px 6px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: left !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forums-list li {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forums-list a {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 3px 7px !important;
    border-radius: 5px !important;
    font-size: 9.5px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 4px !important;
    font-size: 17px !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 14px 12px !important;
    text-align: left !important;
  }

  /* Sin líneas verticales dentro de las tarjetas. */
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count::before,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count::before,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness::before {
    content: none !important;
    display: none !important;
  }
}

@media (min-width: 861px) and (max-width: 1120px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols-v60: minmax(0, 1fr) 64px 64px 165px;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forums-list a {
    font-size: 9px !important;
    padding: 3px 6px !important;
  }
}

/* =========================================================
   RCAD v61 — Portada del foro: corrección real de anchura,
   cabecera legible y subforos horizontales.
   ========================================================= */
@media (min-width: 861px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols-v61: minmax(0, 1fr) 78px 78px minmax(190px, 24%);
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    display: grid !important;
    grid-template-columns: var(--rcad-home-forum-cols-v61) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header > ul.forum-titles {
    display: contents !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info { grid-column: 1 !important; }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count { grid-column: 2 !important; }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count { grid-column: 3 !important; }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness { grid-column: 4 !important; }

  /* Franja azul: todos los textos e iconos siempre blancos. */
  body.rcad-forum-home #bbpress-forums li.bbp-header,
  body.rcad-forum-home #bbpress-forums li.bbp-header *,
  body.rcad-forum-home #bbpress-forums li.bbp-header a,
  body.rcad-forum-home #bbpress-forums li.bbp-header span,
  body.rcad-forum-home #bbpress-forums li.bbp-header small {
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header svg {
    color: #fff !important;
    stroke: currentColor !important;
    fill: none !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info { justify-content: flex-start !important; padding-left: 24px !important; }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness { justify-content: center !important; text-align: center !important; }

  /* Columna Foro: anula cualquier ancho interno heredado. */
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    float: none !important;
    padding: 20px 18px 18px 78px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-info > *,
  body.rcad-forum-home #bbpress-forums .bbp-forum-info > div,
  body.rcad-forum-home #bbpress-forums .bbp-forum-info > p,
  body.rcad-forum-home #bbpress-forums .bbp-forum-info > ul {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-title {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    white-space: normal !important;
    text-align: left !important;
    text-decoration: none !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-content {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }

  /* Subforos: enlaces fluidos en horizontal, sin cajas estrechas. */
  body.rcad-forum-home #bbpress-forums .bbp-forums-list {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    line-height: 1.75 !important;
    text-align: left !important;
    list-style: none !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forums-list li {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forums-list li:not(:last-child)::after {
    content: " · " !important;
    color: #98a2b3 !important;
    display: inline !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forums-list a {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10.5px !important;
    line-height: 1.65 !important;
    white-space: normal !important;
    text-decoration: none !important;
  }

  /* Quita puntos amarillos y decoraciones heredadas. */
  body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count::before,
  body.rcad-forum-home #bbpress-forums .bbp-forum-topic-count::after,
  body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count::before,
  body.rcad-forum-home #bbpress-forums .bbp-forum-reply-count::after,
  body.rcad-forum-home #bbpress-forums .bbp-forum-freshness::before,
  body.rcad-forum-home #bbpress-forums .bbp-forum-freshness::after {
    content: none !important;
    display: none !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 861px) and (max-width: 1120px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols-v61: minmax(0, 1fr) 68px 68px minmax(165px, 25%);
  }
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    padding-left: 70px !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-info::before {
    left: 14px !important;
  }
}

/* =========================================================
   RCAD v62 — Portada del foro: cabecera legible, columna Foro
   amplia y botón Publicar.
   ========================================================= */
@media (min-width: 861px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols-v62: minmax(0, 1fr) 92px 92px 250px;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    display: grid !important;
    grid-template-columns: var(--rcad-home-forum-cols-v62) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header {
    min-height: 72px !important;
    background: linear-gradient(135deg, #071b46 0%, #0d2f6f 100%) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header > ul.forum-titles {
    display: contents !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    padding: 0 18px !important;
    border-left: 1px solid rgba(255,255,255,.12) !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-info {
    grid-column: 1 !important;
    justify-content: flex-start !important;
    padding-left: 28px !important;
    border-left: 0 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-topic-count {
    grid-column: 2 !important;
    justify-content: center !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-reply-count {
    grid-column: 3 !important;
    justify-content: center !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .bbp-forum-freshness {
    grid-column: 4 !important;
    justify-content: flex-start !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-header .rcad-v62-head-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #fff !important;
    white-space: nowrap !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-header .rcad-v62-head-label svg {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.8 !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum {
    min-height: 158px !important;
    margin: 14px 0 !important;
    border: 1px solid #e1e7f0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(7,27,70,.065) !important;
    overflow: hidden !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
    grid-column: 1 !important;
    padding: 24px 22px 22px 90px !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count {
    grid-column: 2 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count {
    grid-column: 3 !important;
  }
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    grid-column: 4 !important;
  }

  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count,
  body.rcad-forum-home #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
    border-left: 1px solid #e6ebf2 !important;
  }

  body.rcad-forum-home #bbpress-forums .bbp-forum-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #071b46 !important;
    margin-bottom: 6px !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forum-content {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    color: #53627a !important;
    max-width: 680px !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forums-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 8px !important;
    margin-top: 10px !important;
    line-height: 1.2 !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forums-list li {
    display: inline-flex !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forums-list li:not(:last-child)::after {
    content: none !important;
  }
  body.rcad-forum-home #bbpress-forums .bbp-forums-list a {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    padding: 5px 9px !important;
    border: 1px solid #dbe5f5 !important;
    border-radius: 7px !important;
    background: #f5f8fd !important;
    color: #075ad8 !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  body.rcad-forum-home .rcad-forum-home-heading-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 0 14px !important;
  }
  body.rcad-forum-home .rcad-forum-home-heading-row > :first-child {
    margin: 0 !important;
  }
  body.rcad-forum-home .rcad-forum-publish-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 1px solid #e89b00 !important;
    border-radius: 9px !important;
    background: #f6a800 !important;
    color: #071b46 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(246,168,0,.22) !important;
  }
  body.rcad-forum-home .rcad-forum-publish-button:hover {
    background: #ffb514 !important;
    transform: translateY(-1px) !important;
  }
  body.rcad-forum-home .rcad-forum-publish-button svg {
    width: 17px !important;
    height: 17px !important;
    stroke: currentColor !important;
    fill: none !important;
  }
}

@media (min-width: 861px) and (max-width: 1120px) {
  body.rcad-forum-home #bbpress-forums {
    --rcad-home-forum-cols-v62: minmax(0, 1fr) 72px 72px 205px;
  }
}

@media (max-width: 860px) {
  body.rcad-forum-home .rcad-forum-home-heading-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  body.rcad-forum-home .rcad-forum-publish-button {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }
  body.rcad-forum-home .rcad-forum-publish-button .rcad-publish-label {
    display: none !important;
  }
}


/* RCAD v240 — Buscador real en sidebar del foro */
.rcad-forum-side-search-form{
  margin:0!important;
  padding:0!important;
  width:100%!important;
}
.rcad-forum-side-search-wrap{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:5px 6px 5px 12px!important;
  border:1px solid #dfe6ef!important;
  border-radius:6px!important;
  background:#fff!important;
}
.rcad-forum-side-search-wrap:focus-within{
  border-color:#9fb0c7!important;
  box-shadow:0 0 0 2px rgba(7,27,70,.06)!important;
}
.rcad-forum-side-search-icon{
  color:#071b46!important;
  font-size:16px!important;
  line-height:1!important;
}
.rcad-forum-side-search-input{
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  margin:0!important;
  padding:0 4px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#071b46!important;
  font-size:13px!important;
  font-weight:500!important;
}
.rcad-forum-side-search-button{
  height:32px!important;
  margin:0!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:4px!important;
  background:#071b46!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.rcad-forum-side-search-button:hover{background:#0b2a68!important}

/* RCAD v251 — buscador nativo ancho completo y centrado en /forums/search/. */
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form{
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  padding:0!important;
  display:block!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form > div{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form #bbp_search{
  flex:1 1 0!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form .button{
  flex:0 0 auto!important;
  width:auto!important;
  margin:0!important;
}
@media (max-width:640px){
  body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form > div{
    flex-wrap:nowrap!important;
  }
}

/* =========================================================
   RCAD v252 — búsqueda bbPress limpia y definitiva
   /forums/search/
   El formulario nativo tiene dos envoltorios internos (form > div).
   v251 solo dimensionaba el primer div, por eso el input podía colapsar.
   ========================================================= */
body.rcad-bbpress-search-page #bbpress-forums > .bbp-search-form,
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form:first-child{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  padding:20px!important;
  border:1px solid #d7deea!important;
  border-radius:6px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(7,27,70,.04)!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form::before{
  content:"Buscar en el foro";
  display:block;
  margin:0 0 5px!important;
  color:#071b46!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form::after{
  content:"Encuentra temas y respuestas por palabras clave.";
  display:block;
  margin:7px 0 0!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.4!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form > div,
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form form,
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form form > div{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:10px!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form form{
  margin-top:14px!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form #bbp_search{
  display:block!important;
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:44px!important;
  margin:0!important;
  padding:0 15px!important;
  border:1px solid #cbd5e1!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:14px!important;
  line-height:44px!important;
  opacity:1!important;
  visibility:visible!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form #bbp_search::placeholder{
  color:#7b8798!important;
  opacity:1!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form #bbp_search:focus{
  outline:0!important;
  border-color:#f6a800!important;
  box-shadow:0 0 0 3px rgba(246,168,0,.14)!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form #bbp_search_submit.button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 112px!important;
  width:112px!important;
  height:44px!important;
  margin:0!important;
  padding:0 18px!important;
  border:0!important;
  border-radius:5px!important;
  background:#071b46!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
}
body.rcad-bbpress-search-page #bbpress-forums .bbp-template-notice{
  margin-top:0!important;
  border:1px solid #d7deea!important;
  border-left:4px solid #f6a800!important;
  border-radius:5px!important;
  background:#f8fafc!important;
  box-shadow:none!important;
}
@media (max-width:640px){
  body.rcad-bbpress-search-page #bbpress-forums > .bbp-search-form,
  body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form:first-child{padding:16px!important}
  body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form form > div{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.rcad-bbpress-search-page #bbpress-forums .bbp-search-form #bbp_search_submit.button{
    flex:0 0 44px!important;
    width:100%!important;
  }
}

/* =========================================================
   RCAD v258 — resumen del foro compacto y profesional
   Convierte la frase informativa nativa de bbPress en una
   barra de actividad integrada, evitando el aspecto de texto
   suelto/centrado de versiones anteriores.
   ========================================================= */
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type,
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type{
  display:flex!important;
  align-items:center!important;
  min-height:58px!important;
  margin:0 0 18px!important;
  padding:12px 18px 12px 62px!important;
  border:1px solid #dbe3ee!important;
  border-left:3px solid #f6a800!important;
  border-radius:6px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%)!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type::before,
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type::before{
  left:16px!important;
  top:50%!important;
  width:32px!important;
  height:32px!important;
  transform:translateY(-50%)!important;
  border:1px solid #f3dfad!important;
  border-radius:5px!important;
  background-color:#fff8e8!important;
  background-size:17px 17px!important;
}
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type p,
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type p{
  width:100%!important;
  margin:0!important;
  color:#46546b!important;
  font-size:14px!important;
  line-height:1.45!important;
  text-align:left!important;
}
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type a,
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type a{
  color:#075fc9!important;
  font-weight:600!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(7,95,201,.25)!important;
}
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type a:hover,
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type a:hover{
  color:#071b46!important;
  border-bottom-color:#f6a800!important;
}
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type img.avatar,
body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type img.avatar{
  width:22px!important;
  height:22px!important;
  margin:0 4px!important;
  border:2px solid #fff!important;
  border-radius:50%!important;
  box-shadow:0 0 0 1px #d7deea!important;
  vertical-align:middle!important;
}
@media (max-width:700px){
  body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type,
  body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type{
    min-height:52px!important;
    padding:11px 13px 11px 50px!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type::before,
  body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type::before{
    left:11px!important;
    width:28px!important;
    height:28px!important;
  }
  body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice.info:first-of-type p,
  body.single-forum.rcad-bbpress #bbpress-forums > .bbp-template-notice:first-of-type p{
    font-size:12.5px!important;
  }
}

/* ============================================================
   RCAD v259 — Topic: flujo tipo XenForo
   El hero ya contiene respuestas, vistas y ultima actividad.
   Eliminamos el aviso bbPress redundante y convertimos la
   paginacion/contador en una barra compacta antes de los posts.
   ============================================================ */
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-template-notice.info,
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-template-notice:not(.error):not(.warning){
  display:none!important;
}
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type,
body.single-topic.rcad-topic-modern #bbpress-forums > .bbp-pagination:first-of-type{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  width:100%!important;
  margin:4px 0 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-count{
  flex:1 1 auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#66738a!important;
  font-size:12px!important;
  line-height:34px!important;
}
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-links{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  margin-left:auto!important;
  float:none!important;
}
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-links a,
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-links span.current{
  margin:0!important;
  min-width:32px!important;
  height:32px!important;
  padding:0 10px!important;
  border-radius:3px!important;
  font-size:12px!important;
}
/* El separador tras las etiquetas queda mas proximo al hero, sin tarjeta intermedia. */
body.single-topic.rcad-bbpress .rcad-topic-hero{margin-bottom:10px!important;}
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-topic-tags{margin-bottom:8px!important;}
@media(max-width:700px){
  body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:7px!important;
  }
  body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-count{line-height:1.4!important;}
  body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-links{margin-left:0!important;}
}

/* ============================================================
   RCAD v260 — Topic: ocultar aviso-resumen redundante de bbPress
   La cabecera moderna ya muestra respuestas y ultima actividad.
   Se limita a single-topic para no afectar avisos de foros/perfiles.
   ============================================================ */
body.single-topic.rcad-bbpress #bbpress-forums .bbp-template-notice:not(.error):not(.warning),
body.single-topic.rcad-topic-modern #bbpress-forums .bbp-template-notice:not(.error):not(.warning),
body.single-topic #bbpress-forums div.bbp-template-notice.info {
  display:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  min-height:0!important;
}

/* ============================================================
   RCAD v261 — Topic: paginación visible incluso con una sola página
   bbPress no imprime enlaces si el hilo solo tiene una página.
   Mantenemos el botón "1" para que la barra conserve el patrón XenForo.
   ============================================================ */
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-links.rcad-pagination-fallback,
body.single-topic #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-links.rcad-pagination-fallback{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  margin-left:auto!important;
}
body.single-topic.rcad-bbpress #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-links.rcad-pagination-fallback span.current,
body.single-topic #bbpress-forums > .bbp-pagination:first-of-type .bbp-pagination-links.rcad-pagination-fallback span.current{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:32px!important;
  height:32px!important;
  padding:0 10px!important;
  margin:0!important;
  border:1px solid #f6a800!important;
  border-radius:3px!important;
  background:#fff!important;
  color:#071b46!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1!important;
}
