/* ============================================================
   RCAD v396 — contenido pegado a la franja de migas
   Solo elimina el hueco SUPERIOR entre breadcrumb y contenido.
   No altera anchos, laterales, sidebar ni espaciado inferior.
   ============================================================ */

/* Artículos normales: antes había 28px de margen superior. */
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-single-layout-v73{
    margin-top:0!important;
}

/* Recursos CAD: antes la página añadía 28px de padding superior. */
body.rcad-resource-single .rcad-resource-page-v350{
    padding-top:0!important;
}

/* En móvil se mantiene igualmente sin hueco superior. */
@media (max-width:620px){
    body.rcad-resource-single .rcad-resource-page-v350{
        padding-top:0!important;
    }
}

/* Refuerzo v396: neutraliza reglas legacy de single-card-v73 en todos los breakpoints. */
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) #content-wrapper.rcad-single-layout-v73{
    margin-top:0!important;
}
@media (max-width:991px){
    body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) #content-wrapper.rcad-single-layout-v73{
        margin-top:0!important;
    }
}
/* RCAD v4.60 — Newsletter del sidebar en artículos normales */
.rcad-article-newsletter-v460{margin:18px 0 0!important}
.rcad-article-newsletter-v460 .rcad-newsletter-widget{
    padding:16px!important;
    border:1px solid #071b46!important;
    border-radius:10px!important;
    background:#071b46!important;
    color:#fff!important;
    box-shadow:none!important;
}
.rcad-article-newsletter-v460 .rcad-newsletter-widget h3{
    margin:0 0 10px!important;
    color:#fff!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:850!important;
    text-transform:uppercase!important;
}
.rcad-article-newsletter-v460 .rcad-newsletter-widget>p{
    margin:0 0 12px!important;
    color:#fff!important;
    font-size:12px!important;
    line-height:1.55!important;
}
.rcad-article-newsletter-v460 form{margin:0!important}
.rcad-article-newsletter-v460 input[type="email"]{
    width:100%!important;
    min-height:38px!important;
    margin:0 0 8px!important;
    padding:9px 11px!important;
    border:1px solid #d7deea!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#111827!important;
    font-size:12px!important;
    box-shadow:none!important;
}
.rcad-article-newsletter-v460 button,
.rcad-article-newsletter-v460 input[type="submit"]{
    width:100%!important;
    min-height:38px!important;
    padding:9px 12px!important;
    border:1px solid #f6a800!important;
    border-radius:7px!important;
    background:#f6a800!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:800!important;
    box-shadow:none!important;
    cursor:pointer!important;
}
.rcad-article-newsletter-v460 label{
    color:#fff!important;
    font-size:10.5px!important;
    line-height:1.35!important;
}
.rcad-article-newsletter-v460 input[type="checkbox"]{
    margin-right:6px!important;
    vertical-align:middle!important;
}
.rcad-article-newsletter-v460 .rcad-newsletter-widget__admin-note{
    padding:10px!important;
    border:1px dashed rgba(255,255,255,.45)!important;
    border-radius:6px!important;
    color:#fff!important;
    font-size:11px!important;
}
/* RCAD v428 — artículos normales unificados con categorías/recursos: fondo blanco y breadcrumb limitado al contenido. */
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single),
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) #page,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) #content,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .site,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .site-content,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .content-area,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .site-main,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) main,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) #content-wrapper.rcad-single-layout-v73,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-single-main-v73{
  background:#fff!important;
}

/* El artículo deja de verse como una tarjeta flotando sobre un lienzo gris. */
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-article-card-v73{
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-article-head-v73,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-article-body-v73{
  background:#fff!important;
}

/* La franja de migas ya no dibuja fondo/línea a todo el viewport. */
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-global-article-breadcrumb,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-global-article-breadcrumb::before,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-global-article-breadcrumb::after{
  width:100%!important;
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
}
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-global-article-breadcrumb::before,
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-global-article-breadcrumb::after{
  content:none!important;
  display:none!important;
}

/* Línea inferior solo al ancho visual del contenido, como en categorías. */
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-global-article-breadcrumb .rcad-bc-wrap{
  box-sizing:border-box!important;
  width:min(1240px,calc(100% - 48px))!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid #e4e9f0!important;
  background:#fff!important;
}
body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-global-article-breadcrumb .rcad-bc-box{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
}

@media(max-width:900px){
  body.single.single-post:not(.single-topic):not(.single-forum):not(.rcad-resource-single) .rcad-global-article-breadcrumb .rcad-bc-wrap{
    width:calc(100% - 32px)!important;
  }
}
