/* Liberperu V7: componentes independientes, mantiene cabecera y colores originales */
.htslider-postslider-area.lp-hero {position:relative;overflow:hidden;width:100%;background:#111;isolation:isolate}
.lp-hero > .htslider-single-post-slide {display:none!important;width:100%!important;margin:0!important;float:none!important;opacity:0}
.lp-hero > .htslider-single-post-slide.lp-show {display:block!important;opacity:1}
.lp-hero .elementor-invisible {visibility:visible!important;opacity:1!important;animation:none!important}
.lp-hero .elementor-widget-image img {max-width:100%;height:auto}
.lp-hero .elementor-section {max-width:100%}
.lp-hero .lp-hero-controls {position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:space-between;z-index:5;padding:0 clamp(8px,2vw,25px)}
.lp-hero-controls button {pointer-events:auto;background:rgba(0,0,0,.4);border:1px solid #ffffff77;color:white;width:42px;height:42px;border-radius:50%;font:30px/1 Arial;cursor:pointer}
.lp-hero-controls button:focus-visible,.lp-gallery a:focus-visible{outline:3px solid #ee3337;outline-offset:3px}
.lp-hero .lp-hero-dots{position:absolute;bottom:10px;left:0;right:0;z-index:5;display:flex;justify-content:center;gap:8px;pointer-events:none}
.lp-hero-dots button{pointer-events:auto;padding:0;width:9px;height:9px;border:0;border-radius:50%;background:#ffffff88;cursor:pointer}
.lp-hero-dots button[aria-current=true]{background:#e53236;transform:scale(1.3)}
.lp-gallery-section{max-width:1180px;margin:0 auto;padding:35px 20px 65px;color:#333}
.lp-gallery-section h1{font-size:clamp(27px,3vw,39px);text-align:center;color:#df3034;margin:0 0 8px;font-weight:600}
.lp-gallery-section .lp-intro{text-align:center;max-width:750px;margin:0 auto 28px;line-height:1.65}
.lp-gallery-filters{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-bottom:25px}
.lp-gallery-filters button{background:#fff;color:#c62930;border:1px solid #e3b9ba;border-radius:3px;padding:10px 16px;cursor:pointer;font:inherit}
.lp-gallery-filters button[aria-pressed=true]{background:#de3035;color:white;border-color:#de3035}
.lp-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.lp-gallery-card{display:block;text-decoration:none!important;color:inherit;background:#fff;border:1px solid #eee;box-shadow:0 3px 16px #0000000c;overflow:hidden}
.lp-gallery-card[hidden]{display:none!important}
.lp-gallery-card img{width:100%;height:225px;display:block;object-fit:cover;transition:transform .2s ease}
.lp-gallery-card:hover img{transform:scale(1.025)}
.lp-gallery-card span{display:block;padding:11px 14px;font-size:15px;font-weight:500}
.lp-lightbox{position:fixed;inset:0;background:#000e;display:none;place-items:center;z-index:99999;padding:56px 15px 28px}
.lp-lightbox[open]{display:grid}.lp-lightbox img{max-width:min(95vw,1300px);max-height:calc(100vh - 105px);object-fit:contain}
.lp-lightbox button{position:absolute;right:15px;top:12px;border:0;background:#e53236;color:white;font-size:29px;width:45px;height:45px;cursor:pointer}
.lp-lightbox p{color:white;margin:5px;text-align:center}
@media(max-width:800px){.lp-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-gallery-card img{height:190px}.lp-hero .elementor-column{min-width:0!important}.lp-hero-controls button{width:35px;height:35px;font-size:24px}}
@media(max-width:520px){.lp-gallery{grid-template-columns:1fr}.lp-gallery-card img{height:225px}.lp-gallery-section{padding:25px 13px 45px}.lp-hero-controls button{width:30px;height:30px;font-size:20px}.lp-hero .elementor-widget-image img{height:auto!important}}
@media(prefers-reduced-motion:reduce){.lp-gallery-card img{transition:none}}
