/* Original Jalochos artwork. Transparent web derivatives keep colour and proportion. */
img.ja-asset{display:inline-block;flex-shrink:0;object-fit:contain;object-position:center;aspect-ratio:auto;vertical-align:middle;max-width:100%;pointer-events:none}
/* No decorative stars, including legacy wordmarks and empty-state ornaments. */
.ja-estrela,.j-empty-star,.j-brand-dot{display:none!important}
/* Text-only interior introductions keep no empty image column or reserved scene. */
.j-page-header.j-text-header{display:block;grid-template-columns:none;min-height:0}
img.ja-control,img.jh-arrow.ja-asset{width:27px;height:20px;aspect-ratio:auto;object-fit:contain}
.jh-booking img.ja-control{width:22px;height:18px}
.jh-card img.ja-control,.jh-card-link img.ja-control,.j-card-link img.ja-control{width:26px;height:20px;aspect-ratio:auto;object-fit:contain}
.jh-card-link:before{background:#fffaf2;border:1px solid #51452c30;border-radius:44% 52% 46% 55%;box-shadow:0 2px 3px #5841240a}
.jg-pages .j-card-link{background:#fffaf2;color:var(--jh-ink);border:1px solid #51452c30;border-radius:44% 52% 46% 55%}
.j-button img.ja-control{width:27px;height:20px;background:none;mask:none;filter:none}
.jh-button:not(.jh-button-outline) img.ja-control,.j-button:not(.j-button-outline) img.ja-control{background:#fffaf2;border-radius:35% 44% 40% 46%;padding:3px;width:29px;height:23px}
.jh-button:before,.jh-home .wp-block-button__link:before,.jg-pages .j-button:before,.jg-pages .wp-block-button__link:before{background-image:url('graphics/boton-rojo-720.webp');background-size:100% 100%;mask:none;inset:-2px -5px}
.jh-button-outline:before,.jh-home .jh-outline .wp-block-button__link:before,.jg-pages .j-button-outline:before{background:none;inset:2px 0}
.jm-public:not(.jg-pages) .j-button:not(.j-button-outline){position:relative;isolation:isolate;background:transparent;border-color:transparent}
.jm-public:not(.jg-pages) .j-button:not(.j-button-outline):before{content:'';position:absolute;inset:-2px -4px;z-index:-1;background:url('graphics/boton-rojo-720.webp') center/100% 100% no-repeat}
.jh-home .wp-block-button__link:after{background:url('graphics/flecha-160.webp') center/contain no-repeat;mask:none;width:27px;height:20px;box-shadow:0 0 0 4px #fffaf2;border-radius:30%;background-color:#fffaf2}
.jh-nav>a:not(.jh-button):after,.jm-brush,.j-scroll-ink{background:url('graphics/subrayado-720.webp') center/100% 100% no-repeat;mask:none;opacity:.8}
.jh-nav>a:not(.jh-button):after{height:7px}
/* The company is a distinct blue paper label, alongside the red booking action. */
:is(.jh-nav,.j-nav)>a[data-ja-nav=compania]{position:relative;isolation:isolate;color:#fffaf2;font-weight:700;padding:13px 17px;white-space:nowrap}
:is(.jh-nav,.j-nav)>a[data-ja-nav=compania]:before{content:'';position:absolute;inset:0;z-index:-1;background:url('graphics/cinta-azul-320.webp') center/100% 100% no-repeat;transform:rotate(-2deg);pointer-events:none}
:is(.jh-nav,.j-nav)>a[data-ja-nav=compania]:after{display:none}
:is(.jh-nav,.j-nav)>a[data-ja-nav=compania]:hover{color:#fffaf2}
:is(.jh-nav,.j-nav)>a[data-ja-nav=compania][aria-current=page]{color:#fffaf2;text-decoration:underline;text-underline-offset:5px}
.jh-stickers p:nth-child(n):before{background:url('graphics/cinta-azul-320.webp') center/100% 100% no-repeat;mask:none}
.jh-hero:before{width:72px;height:140px;top:60px;left:-75px;background:url('graphics/ramo-160.webp') center/contain no-repeat;mask:none;transform:rotate(-14deg)}
img.ja-menu-icon,img.ja-close-icon{width:24px;height:24px;object-fit:contain}
img.ja-close-icon{display:none}
[aria-expanded=true]>img.ja-menu-icon{display:none}
[aria-expanded=true]>img.ja-close-icon{display:inline-block}
img.ja-value-icon{width:49px;height:49px;object-fit:contain}
img.ja-category-icon{width:26px;height:26px;margin-right:9px;object-fit:contain;aspect-ratio:auto}
img.ja-state-icon{width:14px;height:14px;margin-right:3px;object-fit:contain}
.je-place{position:relative;padding-left:21px}
.je-place:before{content:'';position:absolute;left:0;top:1px;width:13px;height:18px;background:url('graphics/ubicacion-160.webp') center/contain no-repeat}
.j-contact-intro>.j-eyebrow:before{content:'';display:inline-block;vertical-align:middle;width:28px;height:24px;margin-right:9px;background:url('graphics/contacto-160.webp') center/contain no-repeat}
.jh-value{gap:10px}
img.jh-rays.ja-asset,img.jg-rays.ja-asset{width:35px;height:35px;object-fit:contain;transform:rotate(-9deg);margin-left:13px}
img.jh-calendar.ja-asset{width:48px;height:48px;object-fit:contain}
img.jh-hero-rays.ja-asset{width:46px;height:46px;transform:rotate(-12deg);left:-8px;top:6px}
img.jh-bird.ja-asset{width:70px;height:60px;object-fit:contain;right:8px;bottom:59px}
.jh-tape,.jh-gallery>figure:before,.jg-pages .j-header-photo:before,.jg-team-frame:before,.jg-pages .j-detail-art:before,.jg-pages .j-header-photo:after,.jg-team-frame:after,.jg-pages .j-detail-art:after,.jg-pages .j-proposal-card:before,.jg-pages .j-event:before,.jw-content-image:before,.js-section-media>figure:before{background:url('graphics/cinta-azul-320.webp') center/contain no-repeat;mask:none;opacity:.94}
.jg-pages .j-proposal-card:nth-child(even):before,.jh-gallery>figure:nth-child(n):before{background:url('graphics/cinta-azul-320.webp') center/contain no-repeat}
/* One illustrated frame: the photo sits precisely inside its transparent window. */
.jh-hero-visual .jh-photo-frame{padding:0;aspect-ratio:1.37259;background:none;clip-path:none;box-shadow:none;isolation:isolate}
.jh-hero-visual .jh-photo-frame:after{content:'';position:absolute;inset:0;pointer-events:none;background:url('graphics/marco-foto-960.webp') center/100% 100% no-repeat}
.jh-hero-visual .jh-hero-photo{position:absolute;inset:17% 12.5% 13.2% 13%;height:auto}
.jh-hero-visual .jh-hero-photo img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 55%}
.jh-hero-visual .jh-tape{display:none}
.jh-hero-visual .jh-hero-rays{display:none}
.jh-hero-visual{padding:0}
/* New visual resources replace stock drawings; book covers stay untouched. */
.jh-card img.ja-illustration,.j-card-art img.ja-illustration,.j-header-photo img.ja-illustration,.j-resource-visual img.ja-illustration{object-fit:contain;aspect-ratio:auto;max-height:340px;padding:20px}
.jh-card img.ja-illustration{width:100%;height:200px;padding:18px;background:#f9f4e7}
.jg-book-image img.ja-illustration{width:100%;height:300px;object-fit:contain;padding:25px;aspect-ratio:auto}
.j-header-photo:has(img.ja-illustration){position:relative;background:none;box-shadow:none}
.j-header-photo img.ja-illustration{width:100%;height:285px;max-height:285px;object-fit:contain}
.jg-pages.jg-page-books .j-header-photo{background:none;box-shadow:none;padding:30px 42px 45px;transform:rotate(-2deg);position:relative}
.jg-pages.jg-page-books .j-header-photo img.ja-illustration{width:100%;height:285px;max-height:285px;padding:0;object-fit:contain}
.ja-music-decoration{display:block;position:absolute;width:150px;right:2%;bottom:0;pointer-events:none}
.ja-music-decoration img.ja-asset{width:100%;height:auto}
.ja-company-art{display:flex;align-items:center;justify-content:center;background:none!important;box-shadow:none!important;padding:15px 35px!important;max-width:400px;justify-self:center}
.ja-company-art:before,.ja-company-art:after{display:none!important}
.ja-company-art img.ja-asset{width:100%;height:auto;max-height:290px}
.jm-page-about .j-page-header:has(.ja-company-art){display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:36px;align-items:center}
.j-about-mark{background:url('graphics/cuadro-texto-960.webp') center/contain no-repeat;color:var(--j-ink);aspect-ratio:1.64627;font-size:clamp(26px,3vw,40px);padding:40px 32px;transform:rotate(-2deg)}
.j-about-mark:after{display:none}
.j-scroll-score{max-width:270px;opacity:1}
.j-scroll-score img.ja-asset{display:block;width:100%;height:auto}
.j-scroll-ink{height:.14em}
.j-back-top img.ja-up{width:24px;height:18px;object-fit:contain;transform:rotate(-90deg)}
.j-dossier>img.ja-asset{width:36px;height:40px;object-fit:contain}
img.ja-empty-icon{width:40px;height:40px;object-fit:contain}
img.ja-brand-mark{width:28px;height:28px;object-fit:contain;vertical-align:baseline}
.j-form-result:not([hidden]):before,.j-form-summary:not([hidden]):before{content:'';display:inline-block;width:22px;height:22px;margin-right:9px;vertical-align:middle;background:url('graphics/confirmar-160.webp') center/contain no-repeat}
.j-form-summary:not([hidden]):before{background-image:url('graphics/informacion-160.webp')}
.wp-lightbox-overlay .close-button svg{visibility:hidden}
.wp-lightbox-overlay .close-button{background:url('graphics/cerrar-160.webp') center/22px 22px no-repeat!important}
@media(max-width:1100px){
 .jh-header .jh-nav>a[data-ja-nav]:before,.j-header .j-nav>a[data-ja-nav]:before{content:'';display:inline-block!important;position:static;width:27px;height:27px;flex-shrink:0;background:center/contain no-repeat;margin-right:13px;mask:none;transform:none}
 [data-ja-nav=inicio]:before{background-image:url('graphics/inicio-160.webp')!important}
 [data-ja-nav=espectaculos]:before{background-image:url('graphics/espectaculos-160.webp')!important}
 [data-ja-nav=libros]:before{background-image:url('graphics/libros-160.webp')!important}
 [data-ja-nav=axenda]:before{background-image:url('graphics/axenda-160.webp')!important}
 [data-ja-nav=compania]:before{background-image:url('graphics/compania-160.webp')!important}
 .jh-nav>a:not(.jh-button):after{display:none}
 .jh-nav>a[aria-current=page]{color:var(--jh-red);background:#e8ae370b}
 .jh-nav>a:not(.jh-button){padding-left:9px}
 :is(.jh-header,.j-header) :is(.jh-nav,.j-nav)>a[data-ja-nav=compania]{color:#fffaf2;background:none;justify-content:flex-start;padding:13px 18px;min-height:48px;align-self:flex-start}
 :is(.jh-header,.j-header) :is(.jh-nav,.j-nav)>a[data-ja-nav=compania]:before{position:absolute!important;inset:0;width:auto;height:auto;margin:0;z-index:-1;background-image:url('graphics/cinta-azul-320.webp')!important;background-size:100% 100%;transform:none}
 img.ja-value-icon{width:44px;height:44px}
 .j-scroll-score{max-width:220px}
}
@media(max-width:767px){
 img.ja-value-icon{width:40px;height:40px}
 img.jh-rays.ja-asset,img.jg-rays.ja-asset{width:26px;height:26px;margin-left:9px}
 img.jh-calendar.ja-asset{width:34px;height:34px}
 img.jh-bird.ja-asset{width:44px;height:38px;right:4px;bottom:57px}
 .jh-card img.ja-illustration{height:210px;padding:22px}
 .jg-pages.jg-page-books .j-header-photo{padding:10px 22px 24px}
 .jg-pages.jg-page-books .j-header-photo img.ja-illustration{height:220px}
 .ja-music-decoration{width:115px;right:0;bottom:0}
 .ja-company-art{max-width:270px;margin:12px auto!important}
 .jm-page-about .j-page-header:has(.ja-company-art){display:block}
 .j-about-mark{padding:35px 25px;font-size:28px;aspect-ratio:1.64627}
 .j-scroll-score{width:165px;max-width:60%;opacity:1}
 .jh-hero-visual{padding:0 4px}
 .jh-hero-visual .jh-photo-frame:after{background-image:url('graphics/marco-foto-480.webp')}
}
@media(prefers-reduced-motion:reduce){.ja-asset{transition:none!important;animation:none!important}}
