/* ============================================================
   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}

/* Migas */
#bbpress-forums .bbp-breadcrumb{margin:0 0 14px!important}
#bbpress-forums .bbp-breadcrumb p{
  margin:0!important;
  padding:10px 13px!important;
  border:1px solid #edf0f5;
  border-radius:7px;
  background:#fafbfd;
  color:#8a94a6;
  font-size:11px!important;
}
#bbpress-forums .bbp-breadcrumb a{color:#53627a!important;font-weight:700}
#bbpress-forums .bbp-breadcrumb a:hover{color:#bd7b00!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-name{display:block!important;max-width:100%;color:#0b3574!important;font-size:11.5px!important;font-weight:850!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#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;font-size:14px!important;line-height:1.75!important}
#bbpress-forums .rcad-action-bar{display:flex;gap:8px;margin-top:18px;padding-top:11px;border-top:1px solid var(--rcad-line)}
#bbpress-forums .rcad-like-btn,#bbpress-forums .rcad-quote-btn{padding:6px 10px;border:1px solid var(--rcad-line);border-radius:6px;background:#fff;color:#59677e;font-size:11px;font-weight:750;cursor:pointer}
#bbpress-forums .rcad-like-btn:hover,#bbpress-forums .rcad-quote-btn:hover,#bbpress-forums .rcad-like-btn.liked{border-color:#efc66e;background:#fff8e9;color:#a66a00}

/* 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;font-size:13px!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;font-size:15px!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;font-size:15px!important;line-height:1.78!important}

#bbpress-forums .rcad-action-bar{justify-content:flex-end}
#bbpress-forums .rcad-quote-btn::before{content:"↩";margin-right:5px;font-size:13px}
#bbpress-forums .rcad-quote-btn{display:inline-flex;align-items:center;min-height:32px}
#bbpress-forums .rcad-quote-btn:hover{transform:translateY(-1px)}

#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;font-size:14px!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:270px!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-name{margin:0 0 7px!important;color:#082c68!important;font-size:14px!important;font-weight:850!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:268px!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;font-size:16px!important;line-height:1.75!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 .rcad-post-footer{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;
  width:100%!important;margin-top:auto!important;padding-top:18px!important;border-top:1px solid #e7ebf2!important
}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-summary{
  display:inline-flex!important;align-items:center!important;gap:8px!important;min-width:0!important;margin:0!important;padding:6px 0!important;border:0!important;
  background:transparent!important;color:#62708a!important;font-size:12px!important;text-align:left!important;cursor:pointer!important
}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-summary.is-empty{visibility:hidden!important;pointer-events:none!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-summary:hover .rcad-like-summary-text{color:#0b55b5!important;text-decoration:underline!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-action-bar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;margin-left:auto!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-btn,
body.rcad-bbpress-topic #bbpress-forums .rcad-quote-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:0!important;height:40px!important;
  margin:0!important;padding:0 14px!important;border:1px solid #d9e0eb!important;border-radius:7px!important;background:#fff!important;color:#203353!important;
  font-size:12px!important;font-weight:800!important;line-height:1!important;box-shadow:none!important;cursor:pointer!important
}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-btn:hover,
body.rcad-bbpress-topic #bbpress-forums .rcad-quote-btn:hover{border-color:#b9c5d7!important;background:#f8faff!important;transform:none!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-btn.liked{border-color:#f1c04c!important;background:#fff9e9!important;color:#8a5a00!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-btn.is-disabled{opacity:.45!important;cursor:not-allowed!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-count{min-width:13px!important;font-variant-numeric:tabular-nums!important}
body.rcad-bbpress-topic #bbpress-forums .rcad-like-label{padding-left:8px!important;border-left:1px solid #e1e6ee!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}
 body.rcad-bbpress-topic #bbpress-forums .bbp-author-name{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;font-size:15px!important}
 body.rcad-bbpress-topic #bbpress-forums .rcad-post-footer{align-items:flex-end!important;gap:10px!important}
 body.rcad-bbpress-topic #bbpress-forums .rcad-like-summary{max-width:48%!important}.rcad-like-summary-text{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body.rcad-bbpress-topic #bbpress-forums .rcad-like-label{display:none!important}
 body.rcad-bbpress-topic #bbpress-forums .rcad-like-btn,body.rcad-bbpress-topic #bbpress-forums .rcad-quote-btn{height:38px!important;padding:0 11px!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 #bbpress-forums > .bbp-search-form,
body.rcad-bbpress #bbpress-forums .bbp-search-form:first-child{display:none!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;
}
body.rcad-forum-fullwidth #bbpress-forums li.bbp-header li,
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,
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-content,
body.rcad-forum-fullwidth #bbpress-forums .bbp-forum-description,
body.rcad-forum-fullwidth #bbpress-forums .bbp-topic-meta,
body.rcad-forum-fullwidth #bbpress-forums .bbp-author-name,
body.rcad-forum-fullwidth #bbpress-forums small {
  font-size:var(--rcad-forum-meta)!important;
  line-height:1.45!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:none!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;
  }
}
