.lia-banner-enlazado{width:100%;max-width:var(--lia-banner-max,1100px);margin:20px auto;text-align:center;box-sizing:border-box}.lia-banner-enlazado a{display:block;text-decoration:none!important;line-height:0}.lia-banner-enlazado img{display:block;width:100%;height:auto;margin:0 auto;border:0;border-radius:10px}.lia-banner-home-top{padding-left:15px;padding-right:15px}.lia-banner-inline{margin-top:24px;margin-bottom:24px}.lia-banner-floating-wrap{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:999999;width:min(94vw,1100px);filter:drop-shadow(0 8px 24px rgba(0,0,0,.28))}.lia-banner-floating-wrap .lia-banner-enlazado{margin:0 auto}.lia-banner-close{position:absolute;right:-8px;top:-12px;z-index:2;width:32px;height:32px;border:0;border-radius:50%;background:#111;color:#fff;font-size:22px;line-height:30px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3)}@media(max-width:768px){.lia-banner-enlazado{width:var(--lia-banner-mobile,100%);max-width:none;margin-left:auto;margin-right:auto}.lia-banner-home-top{padding-left:10px;padding-right:10px}.lia-banner-enlazado img{border-radius:8px}.lia-banner-floating-wrap{width:96vw;bottom:8px}}

/* Version 2 */
.dec-sticky-top{position:fixed;top:0;left:0;right:0;z-index:999990;background:rgba(255,255,255,.97);box-shadow:0 3px 12px #0003;padding:5px 38px;max-height:30vh;overflow:auto}.dec-sticky-top .lia-banner-enlazado{margin:0 auto;max-height:25vh}.dec-sticky-top img{max-height:24vh;width:auto;max-width:100%;object-fit:contain}.dec-sticky-close{position:absolute;right:7px;top:6px;border:0;background:#111;color:white;border-radius:50%;width:28px;height:28px;font-size:21px;cursor:pointer}.lia-banner-v2-floating{max-height:28vh;overflow:auto}.dec-only-mobile{display:none}@media(max-width:768px){.dec-only-mobile{display:block}.dec-only-desktop{display:none}.dec-sticky-top{padding:5px 34px 5px 8px;max-height:22vh}.dec-sticky-top img{max-height:18vh}}

/* 2.2: compact homepage sticky banner, without white bands */
body.home .dec-sticky-top,body.blog .dec-sticky-top{padding:0 30px 0 0!important;margin:0!important;min-height:0!important;max-height:70px!important;overflow:hidden!important;background:transparent!important;box-shadow:none!important;display:flex;justify-content:center;align-items:center}
body.home .dec-sticky-top .lia-banner-enlazado,body.blog .dec-sticky-top .lia-banner-enlazado{margin:0!important;padding:0!important;width:auto!important;max-width:calc(100vw - 35px)!important;max-height:70px!important;line-height:0}
.dec-sticky-top .lia-banner-enlazado a{display:block;line-height:0}
.dec-sticky-top .lia-banner-enlazado img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:70px!important;object-fit:contain!important;border-radius:0!important;margin:0!important}
.dec-sticky-top .dec-sticky-close{top:2px;right:3px;width:23px;height:23px;line-height:21px;font-size:18px}
@media(max-width:768px){body.home .dec-sticky-top,body.blog .dec-sticky-top{max-height:48px!important;padding-right:25px!important}body.home .dec-sticky-top .lia-banner-enlazado,body.blog .dec-sticky-top .lia-banner-enlazado{max-height:48px!important} .dec-sticky-top .lia-banner-enlazado img{max-height:48px!important}.dec-sticky-top .dec-sticky-close{width:20px;height:20px;line-height:18px;font-size:16px}}

/* 2.3: franja fija de 48px en movil sin espacios internos */
@media(max-width:768px){
body.home .dec-sticky-top,body.blog .dec-sticky-top{height:48px!important;min-height:48px!important;max-height:48px!important;top:0!important;padding:0!important;margin:0!important;background:#071b40!important;border:0!important;box-shadow:none!important;overflow:hidden!important;display:block!important}
body.home .dec-sticky-top .lia-banner-enlazado,body.blog .dec-sticky-top .lia-banner-enlazado,body.home .dec-sticky-top a,body.blog .dec-sticky-top a{display:block!important;width:100%!important;max-width:none!important;height:48px!important;max-height:48px!important;margin:0!important;padding:0!important;border:0!important;line-height:0!important}
body.home .dec-sticky-top img,body.blog .dec-sticky-top img{width:100%!important;max-width:none!important;height:48px!important;max-height:48px!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;margin:0!important;padding:0!important}
body.home .dec-sticky-close,body.blog .dec-sticky-close{position:absolute!important;top:2px!important;right:2px!important;z-index:5!important;width:20px!important;height:20px!important;font-size:15px!important;line-height:18px!important;opacity:.85}
body.home>.lia-banner-home-top,body.blog>.lia-banner-home-top{height:48px!important;max-height:48px!important;overflow:hidden!important;padding:0!important;margin:0!important;background:#071b40!important}
body.home>.lia-banner-home-top img,body.blog>.lia-banner-home-top img{width:100%!important;height:48px!important;object-fit:cover!important;border-radius:0!important;margin:0!important}
}

/* 2.4: portada normal y fija: no reservar franjas blancas. */
body.home .dec-home-top-slot,body.blog .dec-home-top-slot{display:flex;align-items:center;justify-content:center;line-height:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;min-height:0!important;box-shadow:none!important}
body.home .dec-home-top-slot .lia-banner-enlazado,body.blog .dec-home-top-slot .lia-banner-enlazado{margin:0 auto!important;padding:0!important;line-height:0!important}
body.home .dec-home-top-slot img,body.blog .dec-home-top-slot img{display:block!important;border-radius:0!important;margin:0!important}
@media(max-width:768px){
body.home .dec-home-top-slot,body.blog .dec-home-top-slot{width:100%!important;height:auto!important;max-height:none!important;overflow:hidden!important}
body.home .dec-home-top-slot .lia-banner-enlazado,body.blog .dec-home-top-slot .lia-banner-enlazado{width:var(--lia-mobile-width,100%)!important;max-width:100%!important;height:var(--lia-mobile-height,48px)!important;max-height:none!important;overflow:hidden!important;flex:0 1 auto!important}
body.home .dec-home-top-slot .lia-banner-enlazado a,body.blog .dec-home-top-slot .lia-banner-enlazado a{width:100%!important;height:100%!important;display:block!important}
body.home .dec-home-top-slot .lia-banner-enlazado img,body.blog .dec-home-top-slot .lia-banner-enlazado img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
body.home .dec-sticky-top .lia-banner-enlazado,body.blog .dec-sticky-top .lia-banner-enlazado{width:var(--lia-mobile-width,100%)!important;max-width:100%!important;height:var(--lia-mobile-height,48px)!important;max-height:48px!important;margin:0 auto!important}
body.home .dec-sticky-top img,body.blog .dec-sticky-top img{height:100%!important;width:100%!important;object-fit:contain!important}
}
