/* Lamari Diarios Core 1.40.711 · Criadores históricos importados */
.kd-historical-breeder-template-main{box-sizing:border-box;width:100%;max-width:1580px;margin:0 auto;padding:46px 12px 70px;color:#1f2a22}
.kd-historical-breeder-detail{max-width:1320px;margin:0 auto}
.kd-historical-breeder-breadcrumb{display:flex;gap:10px;align-items:center;margin:0 0 18px;color:#6f7e73;font-size:13px}.kd-historical-breeder-breadcrumb a{color:#27743e;text-decoration:none}.kd-historical-breeder-breadcrumb strong{color:#243126}
.kd-historical-breeder-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,.6fr);gap:34px;padding:38px;border:1px solid #dce8df;border-radius:24px;background:linear-gradient(135deg,#092417,#123f29 58%,#1a5133);color:#fff;box-shadow:0 18px 44px rgba(21,50,31,.12)}
.kd-historical-breeder-hero>div>span,.kd-historical-breeders-head>span{display:block;margin-bottom:10px;color:#bde88d;font-size:12px;font-weight:900;letter-spacing:.12em}.kd-historical-breeder-hero h1{margin:0 0 16px;color:#fff;font-size:clamp(38px,5vw,66px);line-height:1}.kd-historical-breeder-hero p{max-width:760px;margin:0;color:#e4eee6;font-size:17px;line-height:1.65}
.kd-historical-breeder-hero dl{display:grid;align-content:start;gap:12px;margin:0}.kd-historical-breeder-hero dl div{padding:14px 16px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.06)}.kd-historical-breeder-hero dt{margin-bottom:5px;color:#bde88d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.kd-historical-breeder-hero dd{margin:0;color:#fff;font-size:14px;font-weight:700;line-height:1.45}
.kd-historical-breeder-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;margin-top:28px}.kd-historical-breeder-main,.kd-historical-breeder-aside section{border:1px solid #dfe8e1;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(27,59,37,.06)}.kd-historical-breeder-main{padding:34px}.kd-historical-breeder-article>p:first-child{margin-top:0}.kd-historical-breeder-article p,.kd-historical-breeder-rich p{color:#34443a;font-size:16px;line-height:1.78}.kd-historical-breeder-article h2,.kd-historical-breeder-section h2{margin:38px 0 14px;color:#163e27;font-size:28px;line-height:1.2}.kd-historical-breeder-article h3{margin:28px 0 10px;color:#214c31;font-size:21px}.kd-historical-breeder-article a,.kd-historical-breeder-rich a,.kd-historical-breeder-references a{color:#1d7b40;text-decoration:underline;text-underline-offset:2px}.kd-historical-breeder-section{margin-top:34px;padding-top:8px;border-top:1px solid #e6ede8}.kd-historical-breeder-references ol,.kd-historical-breeder-references ul{padding-left:22px}.kd-historical-breeder-references li{margin:0 0 10px;color:#3d4d42;line-height:1.6}
.kd-historical-breeder-aside{display:grid;align-content:start;gap:18px}.kd-historical-breeder-aside section{padding:22px;position:sticky;top:92px}.kd-historical-breeder-aside h2{margin:0 0 16px;color:#173d27;font-size:20px}.kd-historical-breeder-aside dl{display:grid;gap:0;margin:0}.kd-historical-breeder-aside dl div{padding:12px 0;border-top:1px solid #edf1ee}.kd-historical-breeder-aside dl div:first-child{border-top:0;padding-top:0}.kd-historical-breeder-aside dt{margin-bottom:4px;color:#819087;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.kd-historical-breeder-aside dd{margin:0;color:#28372d;font-size:13px;font-weight:650;line-height:1.5}
.kd-historical-breeders-block{margin:28px 0 34px;padding:26px;border:1px solid #dce8df;border-radius:20px;background:#f8fbf8}.kd-historical-breeders-head h2{margin:0;color:#173d27;font-size:25px}.kd-historical-breeders-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:18px}.kd-historical-breeder-card{display:flex;min-height:180px;flex-direction:column;padding:18px;border:1px solid #dfe9e1;border-radius:16px;background:#fff;color:#25352b!important;text-decoration:none!important;box-shadow:0 6px 18px rgba(24,66,39,.05)}.kd-historical-breeder-card strong{font-size:16px;line-height:1.25}.kd-historical-breeder-card small{margin-top:5px;color:#6f7f74}.kd-historical-breeder-card p{display:-webkit-box;overflow:hidden;margin:13px 0;color:#506056;font-size:12px;line-height:1.45;-webkit-line-clamp:4;-webkit-box-orient:vertical}.kd-historical-breeder-card span{margin-top:auto;color:#247b41;font-size:12px;font-weight:900}
@media(max-width:1100px){.kd-historical-breeders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kd-historical-breeder-layout{grid-template-columns:1fr}.kd-historical-breeder-aside section{position:static}.kd-historical-breeder-hero{grid-template-columns:1fr}}
@media(max-width:620px){.kd-historical-breeder-template-main{padding:22px 10px 60px}.kd-historical-breeder-hero{padding:25px 20px;border-radius:18px}.kd-historical-breeder-hero h1{font-size:38px}.kd-historical-breeder-main{padding:22px 18px}.kd-historical-breeder-article p,.kd-historical-breeder-rich p{font-size:15px}.kd-historical-breeders-block{padding:18px}.kd-historical-breeders-grid{grid-template-columns:1fr}}


/* v1.40.788 · Contraste robusto del hero de /bancoteca/{slug}/.
 * La paleta global clara fuerza h1/h2/h3 con color y -webkit-text-fill-color
 * oscuros mediante !important. Este bloque, más específico y también !important,
 * garantiza que el título y los textos del hero permanezcan legibles sobre el
 * fondo verde sin afectar el contenido editorial ni otras superficies. */
html.kd-interface-light body.kd-interface-light .kd-historical-breeder-detail .kd-historical-breeder-hero h1,
body .kd-historical-breeder-detail .kd-historical-breeder-hero h1{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:transparent!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  font-weight:850!important;
  letter-spacing:-.035em!important;
  text-shadow:0 2px 18px rgba(0,0,0,.34),0 1px 3px rgba(0,0,0,.30)!important;
}
html.kd-interface-light body.kd-interface-light .kd-historical-breeder-detail .kd-historical-breeder-hero>div>span,
body .kd-historical-breeder-detail .kd-historical-breeder-hero>div>span{
  color:#c8f08f!important;
  -webkit-text-fill-color:#c8f08f!important;
  opacity:1!important;
  text-shadow:0 1px 8px rgba(0,0,0,.25)!important;
}
html.kd-interface-light body.kd-interface-light .kd-historical-breeder-detail .kd-historical-breeder-hero p,
body .kd-historical-breeder-detail .kd-historical-breeder-hero p{
  color:#f2f8f4!important;
  -webkit-text-fill-color:#f2f8f4!important;
  opacity:1!important;
  text-shadow:0 1px 10px rgba(0,0,0,.24)!important;
}
html.kd-interface-light body.kd-interface-light .kd-historical-breeder-detail .kd-historical-breeder-hero dt,
body .kd-historical-breeder-detail .kd-historical-breeder-hero dt{
  color:#c8f08f!important;
  -webkit-text-fill-color:#c8f08f!important;
}
html.kd-interface-light body.kd-interface-light .kd-historical-breeder-detail .kd-historical-breeder-hero dd,
body .kd-historical-breeder-detail .kd-historical-breeder-hero dd{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
@media(max-width:620px){
  html.kd-interface-light body.kd-interface-light .kd-historical-breeder-detail .kd-historical-breeder-hero h1,
  body .kd-historical-breeder-detail .kd-historical-breeder-hero h1{
    font-size:clamp(34px,10vw,44px)!important;
    line-height:1.02!important;
  }
}

/* v1.40.789 · Retícula de las fichas históricas igual a Inicio/Cepas.
 *
 * La ficha heredaba dos centrados consecutivos: el main limitado a 1580 px y,
 * dentro, .kd-historical-breeder-detail limitado a 1320 px. En escritorio eso
 * añadía una franja blanca innecesaria entre el menú lateral y la ficha.
 *
 * La referencia de Inicio/Cepas es: main a todo el ancho disponible con los
 * paddings laterales comunes y shell/contenido de 1580 px máximo centrado.
 */
html body.kd-standalone-historical-breeder-template main#primary.kd-historical-breeder-template-main{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding-top:var(--kd-menu-banner-top,46px)!important;
  padding-right:var(--kd-menu-banner-side,12px)!important;
  padding-bottom:70px!important;
  padding-left:var(--kd-menu-banner-side,12px)!important;
  overflow-x:hidden!important;
  overflow-x:clip!important;
}
html body.kd-standalone-historical-breeder-template main#primary.kd-historical-breeder-template-main>.kd-historical-breeder-detail{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:var(--kd-menu-banner-max,1580px)!important;
  min-width:0!important;
  margin:0 auto!important;
  transform:none!important;
}
@media(max-width:960px){
  html body.kd-standalone-historical-breeder-template main#primary.kd-historical-breeder-template-main{
    padding-top:var(--kd-menu-banner-top,18px)!important;
    padding-right:var(--kd-menu-banner-side,14px)!important;
    padding-left:var(--kd-menu-banner-side,14px)!important;
  }
}
@media(max-width:760px){
  html body.kd-standalone-historical-breeder-template main#primary.kd-historical-breeder-template-main{
    padding-top:var(--kd-menu-banner-top,10px)!important;
    padding-right:var(--kd-menu-banner-side,8px)!important;
    padding-bottom:54px!important;
    padding-left:var(--kd-menu-banner-side,8px)!important;
  }
}
