/*
 * Lamari Diarios · CEPAS · navegación y CTA de linaje v1.40.838
 * Corrección visual/UX sobre la capa editorial v1.40.837.
 */

/*
 * El explorador de linaje v1.40.670 impone -webkit-text-fill-color blanco con
 * una especificidad alta. La capa editorial 837 aclaró el fondo del CTA pero
 * no podía sobreescribir ese fill, dejando el texto casi invisible. Esta regla
 * gana deliberadamente en especificidad y define fondo + texto como una unidad.
 */
html body .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:4px!important;
  width:100%!important;
  min-height:68px!important;
  margin:0!important;
  padding:15px 18px!important;
  border:1px solid #a9cfb2!important;
  border-radius:12px!important;
  background:#eef7f0!important;
  color:#205f35!important;
  -webkit-text-fill-color:#205f35!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.3!important;
  text-align:left!important;
  text-decoration:none!important;
  box-shadow:0 6px 18px rgba(32,95,53,.055)!important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
html body .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link:hover,
html body .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link:focus-visible{
  border-color:#7db58a!important;
  background:#e7f3ea!important;
  color:#174f2b!important;
  -webkit-text-fill-color:#174f2b!important;
  box-shadow:0 9px 24px rgba(32,95,53,.09)!important;
  transform:translateY(-1px)!important;
  outline:2px solid rgba(47,122,70,.18)!important;
  outline-offset:2px!important;
}
html body .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link small{
  display:block!important;
  margin:0!important;
  color:#60766a!important;
  -webkit-text-fill-color:#60766a!important;
  font-size:10.5px!important;
  font-weight:450!important;
  line-height:1.4!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

/* Los diez destinos públicos comparten el mismo offset calculado por JS. */
html body .kd-strain-detail-editorial-v140837 [data-kd-strain-panel]{
  scroll-margin-top:calc(var(--kd-strain-anchor-offset,88px) + 14px)!important;
}

html.kd-dark-mode body .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link,
body.kd-dark-mode .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link{
  border-color:#3f6a4b!important;
  background:#1c3022!important;
  color:#d8f0df!important;
  -webkit-text-fill-color:#d8f0df!important;
}
html.kd-dark-mode body .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link small,
body.kd-dark-mode .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link small{
  color:#b8cbbd!important;
  -webkit-text-fill-color:#b8cbbd!important;
}

@media(max-width:699px){
  html body .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link{
    min-height:72px!important;
    padding:15px 16px!important;
    font-size:13px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html body .kd-strain-detail-editorial-v140837 .kd-strain-genetics-context .kd-strain-outline-action.kd-lineage-explorer-link{transition:none!important}
}
