/* Portal Editorial - global, independent of the installed theme. */
.emp-utility-bar:has(.emp-portal-languages),.emp-search-container:has(.emp-portal-languages){overflow:visible!important}
.emp-search-controls-row:has(.emp-portal-languages[open]){position:relative;z-index:120;isolation:auto;overflow:visible!important}
.emp-search-container:has(.emp-portal-languages[open]){position:relative;z-index:110}
.emp-portal-languages{position:relative;flex:0 0 auto;min-width:0;align-self:center;color:var(--search-ink,var(--emp-ds-text-primary,#eef4ff));font:inherit}
.emp-portal-languages>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:5px 10px;box-sizing:border-box;border:1px solid var(--search-accent,var(--emp-ds-border,#57789b));border-radius:8px;background:var(--search-panel,var(--emp-ds-bg-surface,#13243b));color:inherit;cursor:pointer;white-space:nowrap;line-height:1.2}
.emp-portal-languages>summary::-webkit-details-marker{display:none}
.emp-portal-languages>summary:hover,.emp-portal-languages[open]>summary{box-shadow:0 0 0 1px var(--search-accent,#82b9ff)}
.emp-portal-languages a:focus-visible,.emp-portal-languages summary:focus-visible,.emp-portal-slider a:focus-visible,.emp-portal-slides:focus-visible{outline:2px solid var(--search-accent,#77bbff);outline-offset:3px}
.emp-portal-flag{display:inline-block;flex:0 0 24px;width:24px;height:16px;border-radius:2px;box-shadow:0 0 0 1px #8887;vertical-align:middle}
.emp-portal-emoji{display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px;font:18px/1 "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
.emp-portal-chevron{font-size:.85em;opacity:.8}
.emp-portal-languages[open] .emp-portal-chevron{transform:rotate(180deg)}
.emp-portal-languages>nav{position:absolute;z-index:160;top:calc(100% + 7px);right:0;width:max-content;min-width:190px;max-width:min(290px,calc(100vw - 24px));max-height:min(65vh,420px);overflow:auto;border:1px solid var(--search-accent,var(--emp-ds-border,#57789b));border-radius:10px;padding:6px;background:var(--search-panel,var(--emp-ds-bg-surface,#13243b));color:inherit;box-shadow:0 12px 30px #0006}
.emp-portal-languages>nav>ul{display:block;list-style:none;margin:0;padding:0}
.emp-portal-languages>nav li{display:block;margin:0;padding:0}
.emp-portal-languages>nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:44px;box-sizing:border-box;border-radius:6px;text-decoration:none;color:inherit;font-size:.95rem;line-height:1.2}
.emp-portal-languages>nav a:hover,.emp-portal-languages>nav a[aria-current]{background:color-mix(in srgb,var(--search-accent,#80baff) 20%,transparent)}
.emp-portal-check{margin-left:auto;color:var(--search-accent,#8ed5ff)}
.emp-portal-page{min-width:0}
.emp-portal-page>h1{margin:0 0 clamp(16px,2vw,28px)}
.emp-portal-body{min-width:0;overflow-wrap:anywhere}
.emp-portal-body img{max-width:100%;height:auto}
.emp-portal-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;margin-block:22px}
.emp-portal-widgets>.emp-widget{min-width:0;margin:0}
.emp-portal-slider{margin:0 0 25px;min-width:0}
.emp-portal-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;gap:0;scrollbar-width:thin;border:1px solid var(--emp-ds-border,#526780);border-radius:12px}
.emp-portal-slide{position:relative;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:var(--emp-ds-bg-surface,#101c30)}
.emp-portal-slide img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;max-height:68vh}
.emp-portal-slide-caption{position:absolute;inset:auto 0 0;padding:clamp(14px,3vw,42px);background:linear-gradient(transparent,rgba(0,0,0,.92));color:#fff;padding-top:clamp(24px,6vw,78px)}
.emp-portal-slide-caption h2{color:#fff;margin:0 0 8px;font-size:clamp(1.2rem,2.4vw,2.1rem);text-shadow:0 1px 5px #000}
.emp-portal-slide-caption p{color:#fff;margin:0 0 12px;max-width:64ch;line-height:1.45}
.emp-portal-slide-link{display:inline-block;padding:10px 18px;border:1px solid #fff9;border-radius:6px;color:#fff!important;background:#142b4e;text-decoration:none;font-weight:600}
.emp-portal-slider-controls{display:flex;justify-content:center;gap:6px;margin:10px 0 0}
.emp-portal-slider-controls a{display:grid;place-items:center;min-width:38px;min-height:38px;border:1px solid var(--emp-ds-border,#526780);border-radius:50%;color:inherit;text-decoration:none}
.emp-portal-slider-controls a:hover{background:var(--emp-ds-accent,#448ac7);color:var(--emp-ds-bg-surface,#101c30)}
.emp-portal-archive{margin-top:24px}
@media(min-width:768px){.emp-portal-slides{scroll-behavior:smooth}}
@media(prefers-reduced-motion:reduce){.emp-portal-slides{scroll-behavior:auto!important}}
@media(max-width:767px){.emp-portal-slide-caption{position:static;background:#12243c;padding:16px}.emp-portal-language-label{display:none}.emp-portal-languages>summary{gap:5px;padding-inline:7px;min-height:40px}}
@media(max-width:600px){
 .emp-search-controls-row:has(.emp-portal-languages) .emp-global-search{flex:1 1 130px!important;order:2}
 .emp-search-controls-row:has(.emp-portal-languages) .emp-portal-languages{order:3}
 .emp-utility-bar:has(.emp-portal-languages)>.emp-utility-account{margin-left:auto}
 .emp-utility-bar[data-search-mobile-visible="0"]:has(.emp-portal-languages)>.emp-global-search{display:none!important}
 .emp-portal-slider-controls a{min-width:34px;min-height:34px}
}
@media(max-width:900px){
 body.emp-design-aurea-astral .emp-utility-bar:has(.emp-portal-languages){grid-template-columns:minmax(0,1fr) auto!important}
 body.emp-design-aurea-astral .emp-utility-bar:has(.emp-portal-languages)>.emp-global-search{grid-row:2!important;grid-column:1!important;min-width:0!important}
 body.emp-design-aurea-astral .emp-utility-bar:has(.emp-portal-languages)>.emp-portal-languages{grid-row:2!important;grid-column:2!important;justify-self:end}
 body.emp-design-aurea-astral .emp-utility-bar:has(.emp-portal-languages)>.emp-utility-account{grid-column:1 / -1!important}
}
/* Portal v2: opaque, accessible menu; native popover escapes theme stacking contexts. */
.emp-portal-languages>summary .emp-portal-flag{filter:saturate(1.3) brightness(1.18);box-shadow:0 0 0 1px #fff8,0 0 8px #f7ce6855}
.emp-portal-languages>summary>svg:first-child{color:#f5f8ff;filter:drop-shadow(0 0 3px #8cd0ff70)}
.emp-portal-languages>nav{background:#0b1528!important;color:#f5f7ff!important;opacity:1!important;visibility:visible!important;filter:none!important;backdrop-filter:none!important;mask:none!important;clip-path:none!important;transform:none!important;border:1px solid var(--search-accent,#9bb4d3)!important;box-shadow:0 12px 32px #000b!important;text-shadow:none!important;padding:7px!important}
.emp-portal-languages>nav a{color:#f5f7ff!important;background:transparent;text-shadow:none!important;opacity:1!important;font-weight:600;white-space:nowrap}
.emp-portal-languages>nav a:hover,.emp-portal-languages>nav a:focus-visible,.emp-portal-languages>nav a[aria-current]{background:#243c60!important;color:#fff!important}
.emp-portal-languages>nav .emp-portal-flag{filter:saturate(1.16) brightness(1.1)}
.emp-portal-languages>nav:popover-open{position:fixed!important;inset:auto;margin:0!important;z-index:2147483647!important;box-sizing:border-box;overflow-y:auto!important;display:block!important}
.emp-portal-languages>nav[popover]:not(:popover-open){display:none!important}
.emp-portal-languages:not([open])>nav{display:none!important}
.emp-portal-languages>nav:popover-open::backdrop{background:transparent;pointer-events:none}
/* Administration: one visual hierarchy, scoped only to this studio. */
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-admin-hero{padding:24px 28px;border:1px solid #416079;border-radius:16px;background:linear-gradient(125deg,#172e45,#101b2c 65%,#142436);box-shadow:inset 0 1px #ffffff12,0 12px 30px #0002}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-admin-hero h1{font-size:clamp(28px,3vw,44px);margin:9px 0 15px;padding:12px 17px;border-left:4px solid #7ed2ff;border-radius:4px 10px 10px 4px;background:linear-gradient(100deg,#23435f,#142b40);letter-spacing:-.02em;color:#f0f8ff}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-card>h2{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:13px 17px;margin:26px 0 20px;border:1px solid #3b566e;border-left:4px solid #7fcdf3;border-radius:8px;background:linear-gradient(110deg,#22394f,#162538);font-size:clamp(19px,1.8vw,23px);color:#eaf6ff;letter-spacing:-.015em;line-height:1.35}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-card>h2:first-of-type{margin-top:0}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-card>h2 small{margin:0 0 0 auto;font-size:12px;letter-spacing:.025em;background:#0c1a2a;border:1px solid #3b526c;padding:4px 10px;border-radius:5px;color:#b9daef}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-card h3{margin:22px 0 14px;padding:10px 14px;border:1px solid #344d65;border-left:3px solid #c0a874;border-radius:6px;background:#182b3d;color:#e5edf7;font-size:18px}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-card>p{margin:12px 0 18px;line-height:1.65}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-fold{padding:0!important;overflow:hidden;background:#0e1928;border-color:#344d65!important;margin-top:16px}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-fold>summary{padding:14px 17px;margin:0!important;background:linear-gradient(105deg,#1d3046,#142335);color:#d7eaff;font-size:15px;line-height:1.4;border-bottom:1px solid transparent}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-fold[open]>summary{border-color:#344d65;margin-bottom:16px!important}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-fold>:not(summary){margin-left:17px;margin-right:17px}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-fold[open]{padding-bottom:12px!important}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-actions{padding:13px 0 5px}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-dest{min-height:112px;background:linear-gradient(145deg,#172739,#111d2b);border-color:#3a5168}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-dest[aria-current="page"]{background:linear-gradient(145deg,#20445e,#172e44);border-color:#80cfff;box-shadow:inset 0 2px #80cfff}
.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .portal-admin-lang{padding:13px 0}
@media(max-width:700px){.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-admin-hero{padding:16px}.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-card>h2{padding:11px 12px}.comunidad-admin .ep-admin-wrap:has(.portal-admin-tabs) .ep-card>h2 small{margin-left:0}}
/* Reusable editorial landing composition. All copy remains HTML. */
.emp-landing{--land-accent:var(--emp-ds-accent,#d7b26a);--land-line:var(--emp-ds-border,#526780);--land-panel:var(--emp-ds-bg-surface,#0d1930);--land-ink:var(--emp-ds-text-primary,#eef3fb);display:grid;gap:clamp(18px,2.4vw,36px);min-width:0;color:var(--land-ink);line-height:1.65}
.emp-landing p{margin:0;line-height:1.65}
.emp-landing .emp-landing-intro{padding:clamp(20px,4vw,50px);border:1px solid var(--land-line);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--land-panel) 92%,var(--land-accent)),var(--land-panel));text-align:center;box-shadow:inset 0 1px #fff1}
.emp-landing-kicker{display:block;color:var(--land-accent);font:700 .77rem/1.5 system-ui,sans-serif;letter-spacing:.17em;text-transform:uppercase;margin-bottom:10px!important}
.emp-landing .emp-landing-intro h2{color:inherit;font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.18;margin:0 auto 15px!important;max-width:28ch;text-wrap:balance}
.emp-landing .emp-landing-intro>p:last-child{max-width:76ch;margin:auto!important;font-size:clamp(1rem,1.35vw,1.15rem)}
.emp-landing-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(15px,2vw,28px)}
.emp-landing-card{grid-column:span 6;min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--land-line);border-radius:14px;background:var(--land-panel);box-shadow:0 8px 26px #0003}
.emp-landing-card.emp-landing-feature{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,6fr);align-items:stretch}
.emp-landing .emp-landing-media{display:block;position:relative;overflow:hidden;isolation:isolate;min-width:0;margin:0!important;background:#080e1b;aspect-ratio:16/9}
.emp-landing .emp-landing-media>img{display:block!important;float:none!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;object-fit:cover!important;aspect-ratio:auto!important;border:0!important;border-radius:0!important}
.emp-landing .emp-landing-media>.emp-landing-media-text{position:absolute;inset:auto 0 0;z-index:2;padding:clamp(12px,2vw,26px);padding-top:55px;background:linear-gradient(transparent,#050a14f2);color:#fff;font-size:clamp(1.15rem,2vw,1.8rem);font-weight:700;line-height:1.2;text-shadow:0 1px 5px #000}
.emp-landing .emp-landing-media-book{aspect-ratio:auto;min-height:330px;background:radial-gradient(ellipse at center,#203d60,#081222 70%);display:flex;align-items:center;justify-content:center;padding:clamp(18px,3vw,42px)}
.emp-landing .emp-landing-media-book>img{height:auto!important;max-height:430px!important;width:auto!important;max-width:100%!important;object-fit:contain!important;box-shadow:0 14px 28px #0008;border:1px solid #c1a76b55!important}
.emp-landing-card-copy{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:clamp(19px,2.6vw,35px);min-width:0;flex:1}
.emp-landing .emp-landing-card-copy h2,.emp-landing .emp-landing-card-copy h3{color:inherit;font-size:clamp(1.35rem,2vw,2.05rem);line-height:1.25;margin:0!important}
.emp-landing .emp-landing-card-copy .emp-landing-kicker{margin:0!important}
.emp-landing .emp-landing-card-copy p{color:inherit;opacity:.93}
.emp-landing .emp-landing-cta{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:10px 18px!important;margin-top:auto;border-radius:7px;border:1px solid var(--land-accent);background:color-mix(in srgb,var(--land-panel) 85%,var(--land-accent));color:var(--land-ink)!important;text-decoration:none!important;font-weight:700;line-height:1.3}
.emp-landing .emp-landing-cta:hover{background:var(--land-accent);color:#091422!important}
.emp-landing .emp-landing-outro{padding:clamp(20px,3vw,34px);border-block:1px solid var(--land-line);text-align:center;max-width:100%}
.emp-landing .emp-landing-outro h2{margin:0 0 12px!important;color:inherit;font-size:clamp(1.3rem,2.3vw,1.85rem)}
body:has([data-emp-celestial="dark"]) .emp-landing{--land-accent:#e8c67b;--land-line:#8d7046;--land-panel:#0d1832;--land-ink:#f2ecdf}
body.emp-design-aurea-astral .emp-landing{--land-accent:#e8c67b;--land-line:#9b7a46;--land-panel:#0b1730;--land-ink:#fff3dd}
@media(max-width:760px){.emp-landing-card,.emp-landing-card.emp-landing-feature{grid-column:1/-1;display:flex}.emp-landing .emp-landing-media-book{min-height:0}.emp-landing .emp-landing-media-book>img{max-height:340px!important}.emp-landing-card-copy{padding:20px}}
/* Portal v3: the card target in frame-presets supplies the active theme's actual skin.
   Here only the layout and slider interaction are specialised. */
.emp-portal-page{--portal-accent:var(--emp-ds-accent,var(--emp-acento,#75a9e3));--portal-surface:var(--emp-ds-bg-surface,var(--emp-superficie,#142137));--portal-ink:var(--emp-ds-text-primary,var(--emp-texto,#edf5ff))}
.emp-portal-page>h1,.emp-portal-page .emp-landing :is(h2,h3),.emp-portal-page .emp-portal-slide-caption h2{text-align:center!important;hyphens:none!important;overflow-wrap:normal!important;word-break:normal!important;text-wrap:balance}
.emp-portal-page>h1{margin-bottom:20px!important}
.emp-portal-page .emp-landing{gap:clamp(18px,2.4vw,36px)}
.emp-portal-page .emp-landing-grid{align-items:stretch}
.emp-portal-page .emp-landing-card{display:flex!important;flex-direction:column;min-width:0!important;max-width:100%!important;width:auto!important;box-sizing:border-box;overflow:visible!important;margin:0!important;padding:clamp(17px,2.8vw,40px)!important;gap:0}
.emp-portal-page .emp-landing-card.emp-landing-feature{display:grid!important;grid-template-columns:minmax(0,4fr) minmax(0,6fr);align-items:center;gap:clamp(16px,3vw,40px)}
.emp-portal-page .emp-landing-intro,.emp-portal-page .emp-landing-outro{padding:clamp(25px,4vw,56px)!important;min-width:0;width:auto!important;max-width:100%!important;margin:0!important;box-sizing:border-box;text-align:center}
.emp-portal-page .emp-landing-intro h2,.emp-portal-page .emp-landing-outro h2{width:100%!important;max-width:100%!important;margin:0 auto 20px!important}
.emp-portal-page .emp-landing-outro{border:1px solid var(--land-line);background:var(--land-panel);border-radius:14px}
.emp-portal-page .emp-landing-outro p:last-child{max-width:76ch;margin:auto!important}
.emp-portal-page .emp-landing-card-copy{align-items:stretch!important;gap:15px;padding:clamp(16px,2.2vw,28px) 2px 6px!important}
.emp-portal-page .emp-landing-card-copy h3{width:100%!important;max-width:100%!important;margin:0 0 2px!important;font-size:clamp(1.25rem,1.8vw,1.75rem)!important;line-height:1.26!important;text-align:center!important}
.emp-portal-page .emp-landing-card-copy .emp-landing-kicker{text-align:center;margin:0!important}
.emp-portal-page .emp-landing .emp-landing-media:not(.emp-landing-media-book){width:100%!important;min-width:0;aspect-ratio:16/9;overflow:hidden!important;border-radius:8px;box-shadow:0 5px 16px #0004}
.emp-portal-page .emp-landing-media-text{text-align:center!important;left:0;right:0;font:700 clamp(1.25rem,2.1vw,1.75rem)/1.25 Georgia,serif}
.emp-portal-page .emp-landing .emp-landing-media-book{display:flex!important;align-items:center!important;justify-content:center!important;aspect-ratio:auto!important;background:none!important;min-height:0!important;padding:6px 0!important;overflow:visible!important;width:100%!important;min-width:0}
.emp-portal-page .emp-landing .emp-landing-media-book img{display:block!important;float:none!important;width:min(100%,290px)!important;height:auto!important;max-width:100%!important;max-height:none!important;min-height:0!important;aspect-ratio:2/3!important;object-fit:contain!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:1px solid var(--land-accent)!important;border-radius:3px 7px 7px 3px!important;box-shadow:0 14px 34px #0008!important}
.emp-portal-page .emp-landing .emp-landing-cta,.emp-portal-page .emp-portal-slide-link,.emp-portal-page .emp-portal-archive>a{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:min(100%,184px);max-width:100%;min-height:48px;padding:11px 20px!important;text-align:center!important;font-weight:700;line-height:1.25!important;text-decoration:none!important;color:var(--portal-ink)!important;background:linear-gradient(180deg,color-mix(in srgb,var(--portal-surface) 82%,var(--portal-accent)),var(--portal-surface))!important;border:1px solid var(--portal-accent)!important;border-radius:8px;box-shadow:0 5px 12px #0003!important;transition:background .18s,filter .18s,box-shadow .18s}
.emp-portal-page .emp-landing .emp-landing-cta{align-self:center!important;margin-top:auto!important}
.emp-portal-page .emp-landing .emp-landing-cta:hover,.emp-portal-page .emp-portal-slide-link:hover,.emp-portal-page .emp-portal-archive>a:hover{background:linear-gradient(180deg,color-mix(in srgb,var(--portal-surface) 48%,var(--portal-accent)),var(--portal-surface))!important;color:var(--portal-ink)!important;filter:brightness(1.16)}
.emp-portal-page .emp-portal-archive{margin:clamp(24px,3vw,40px) auto!important;padding:0!important;display:flex;justify-content:center;align-items:center;text-align:center}
.emp-portal-page .emp-portal-slider{position:relative;min-width:0!important;width:auto!important;max-width:100%!important;box-sizing:border-box;margin:0 0 clamp(25px,3vw,40px)!important;padding:clamp(12px,2.2vw,34px)!important;overflow:visible!important}
.emp-portal-slider-stage{position:relative;min-width:0}
.emp-portal-page .emp-portal-slides{position:relative;display:flex!important;align-items:stretch;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;gap:0;border:0!important;border-radius:9px;min-width:0;width:100%;scrollbar-width:thin}
.emp-portal-slider-enhanced .emp-portal-slides{scrollbar-width:none}
.emp-portal-slider-enhanced .emp-portal-slides::-webkit-scrollbar{display:none}
.emp-portal-page .emp-portal-slide{position:relative;flex:0 0 100%;max-width:100%;min-width:0;display:block;scroll-snap-align:start}
.emp-portal-page .emp-portal-slide>img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:clamp(290px,49vw,560px)!important;aspect-ratio:16/9;object-fit:cover!important;float:none!important;margin:0!important}
.emp-portal-page .emp-portal-slide-caption{display:flex;flex-direction:column;align-items:center;gap:9px;padding:clamp(35px,5vw,70px) clamp(20px,7vw,100px) clamp(18px,3vw,30px)!important;background:linear-gradient(transparent,rgba(4,9,20,.96));color:#fff;text-align:center!important}
.emp-portal-page .emp-portal-slide-caption h2{font-size:clamp(1.3rem,2.3vw,2.1rem)!important;line-height:1.2!important;width:min(100%,900px)!important;max-width:100%!important;margin:0!important;color:#fff4db!important}
.emp-portal-page .emp-portal-slide-caption p{color:#fff!important;margin:0!important;max-width:70ch;text-shadow:0 1px 3px #000}
.emp-portal-page .emp-portal-slide-link{min-height:46px;color:#fff!important}
.emp-portal-page .emp-portal-slider-arrow,.emp-portal-page .emp-portal-slider-play,.emp-portal-page .emp-portal-slider-dot{display:inline-flex!important;justify-content:center;align-items:center;box-sizing:border-box;cursor:pointer;background:var(--portal-surface)!important;color:var(--portal-ink)!important;border:1px solid var(--portal-accent)!important;border-radius:8px;min-width:44px;min-height:44px;line-height:1;box-shadow:0 4px 12px #0005;text-decoration:none!important}
.emp-portal-page .emp-portal-slider-arrow[hidden],.emp-portal-page .emp-portal-slider-play[hidden]{display:none!important}
.emp-portal-page .emp-portal-slider-arrow{position:absolute!important;z-index:5;top:50%;transform:translateY(-50%);width:48px;height:48px;padding:5px!important}
.emp-portal-page .emp-portal-slider-prev{left:12px}
.emp-portal-page .emp-portal-slider-next{right:12px}
.emp-portal-page .emp-portal-slider-controls{display:flex!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:0!important;margin:15px auto 0!important}
.emp-portal-page .emp-portal-slider-dot{width:44px;height:44px;padding:0!important;font-weight:700;font-size:14px}
.emp-portal-slider-enhanced .emp-portal-slider-dot>span{display:none}
.emp-portal-slider-enhanced .emp-portal-slider-dot::before{content:"";width:10px;height:10px;border:1px solid currentColor;border-radius:50%;background:transparent}
.emp-portal-slider-enhanced .emp-portal-slider-dot[aria-current]::before{background:currentColor;box-shadow:0 0 8px currentColor}
.emp-portal-page .emp-portal-slider-play{padding:0 14px!important;gap:8px;font-size:14px;font-weight:700}
.emp-portal-page .emp-portal-slider-arrow:hover,.emp-portal-page .emp-portal-slider-play:hover,.emp-portal-page .emp-portal-slider-dot:hover,.emp-portal-page .emp-portal-slider-dot[aria-current]{background:color-mix(in srgb,var(--portal-surface) 55%,var(--portal-accent))!important;filter:brightness(1.14)}
/* Exact compact controls from the Celestial theme: no new imitation frame artwork. */
body:has([data-emp-celestial="dark"]) .emp-portal-page :is(.emp-landing-card,.emp-landing-intro,.emp-landing-outro,.emp-portal-slider){--emp-skin-size:clamp(42px,6.3vw,88px)!important;--emp-skin-badge:none!important}
body:has([data-emp-celestial="dark"]) .emp-portal-page :is(.emp-landing-card,.emp-landing-intro,.emp-landing-outro,.emp-portal-slider):has(>.emp-surface-paint){border-color:transparent!important}
body:has([data-emp-celestial="dark"]) .emp-portal-page :is(.emp-landing-card,.emp-landing-intro,.emp-landing-outro,.emp-portal-slider)>.emp-surface-badges{display:none!important}
body:has([data-emp-celestial="dark"]) .emp-portal-page :is(.emp-landing-cta,.emp-portal-slide-link,.emp-portal-archive>a,.emp-portal-slider-arrow,.emp-portal-slider-play,.emp-portal-slider-dot){
 border:7px solid transparent!important;border-image:url('/temas/planeta-divino/assets/control-celestial-v5.svg') 20 / 1 stretch!important;border-radius:0!important;
 background:linear-gradient(180deg,#244b7b,#0d2347 55%,#07152e)!important;background-clip:padding-box!important;
 box-shadow:none!important;color:#fff0d0!important;text-shadow:0 1px 3px #000!important;
 font-family:Georgia,'Times New Roman',serif!important
}
body:has([data-emp-celestial="dark"]) .emp-portal-page :is(.emp-landing-cta,.emp-portal-slide-link,.emp-portal-archive>a,.emp-portal-slider-arrow,.emp-portal-slider-play,.emp-portal-slider-dot):is(:hover,:focus-visible,[aria-current="true"]){background:linear-gradient(180deg,#3074be,#173d80 55%,#0a1e44)!important;background-clip:padding-box!important;color:#fff!important;filter:drop-shadow(0 0 6px #65baff70)}
body:has([data-emp-celestial="dark"]) .emp-portal-page :is(.emp-landing-cta,.emp-portal-slide-link,.emp-portal-archive>a){min-height:54px;padding:7px 21px!important;font-size:clamp(1rem,1.5vw,1.18rem)!important}
body:has([data-emp-celestial="dark"]) .emp-portal-page .emp-portal-slider-arrow{width:54px;height:54px}
body:has([data-emp-celestial="dark"]) .emp-portal-page .emp-portal-slider-dot{width:46px;height:46px}
@media(max-width:760px){
 .emp-portal-page .emp-landing-card,.emp-portal-page .emp-landing-card.emp-landing-feature{display:flex!important;grid-column:1/-1;flex-direction:column;align-items:stretch}
 .emp-portal-page .emp-landing .emp-landing-media-book img{width:min(100%,245px)!important}
 .emp-portal-page .emp-landing-card-copy{padding:18px 0 6px!important}
 .emp-portal-page .emp-portal-slide-caption{position:static;padding:16px 13px 20px!important;background:var(--portal-surface)!important}
 .emp-portal-page .emp-portal-slide-caption h2{font-size:clamp(1.1rem,4vw,1.45rem)!important}
 .emp-portal-page .emp-portal-slide>img{max-height:none!important}
 .emp-portal-page .emp-portal-slider-arrow{top:clamp(60px,22vw,145px);width:44px!important;height:44px!important}
 .emp-portal-page .emp-portal-slider-prev{left:6px}
 .emp-portal-page .emp-portal-slider-next{right:6px}
 .emp-portal-page .emp-portal-slider-controls{gap:6px}
 body:has([data-emp-celestial="dark"]) .emp-portal-page :is(.emp-landing-card,.emp-landing-intro,.emp-landing-outro,.emp-portal-slider){--emp-skin-size:42px!important}
}
@media(prefers-reduced-motion:reduce){.emp-portal-page .emp-portal-slides{scroll-behavior:auto!important}.emp-portal-page :is(.emp-landing-cta,.emp-portal-slide-link,.emp-portal-archive>a,.emp-portal-slider-arrow,.emp-portal-slider-play,.emp-portal-slider-dot){transition:none!important}}

/* Portal v4: compact spacing, protected native artwork and in-image controls. */
.emp-portal-page{--portal-block-gap:clamp(4px,.75vw,12px);--portal-inner-pad:clamp(14px,1.8vw,25px)}
.emp-portal-page>h1{margin-top:0!important;margin-bottom:8px!important}
.emp-portal-page .emp-portal-body{margin:0!important;padding:0!important}
.emp-portal-page .emp-landing{gap:var(--portal-block-gap)!important;margin:0!important}
.emp-portal-page .emp-landing-grid{gap:var(--portal-block-gap) clamp(10px,1.4vw,20px)!important;margin:0!important}
.emp-portal-page .emp-landing-card,.emp-portal-page .emp-portal-slider{padding:var(--portal-inner-pad)!important}
.emp-portal-page .emp-landing-intro,.emp-portal-page .emp-landing-outro{padding:clamp(17px,2.3vw,32px) clamp(18px,2.8vw,40px)!important}
.emp-portal-page .emp-landing-intro h2,.emp-portal-page .emp-landing-outro h2{margin-bottom:12px!important}
.emp-portal-page .emp-landing-card-copy{gap:10px!important;padding:14px 5px 2px!important}
.emp-portal-page .emp-landing-card-copy h3{margin:0 0 1px!important}
.emp-portal-page .emp-landing-card-copy>p:not(.emp-landing-kicker){line-height:1.55!important;margin:0!important}
.emp-portal-page .emp-landing-kicker{margin:0 0 5px!important}
.emp-portal-page .emp-landing-card-copy .emp-landing-cta{margin-top:auto!important}
.emp-portal-page .emp-landing-card.emp-landing-feature{grid-template-columns:minmax(0,36%) minmax(0,1fr)!important;gap:clamp(12px,2vw,26px)!important;align-items:center!important}
.emp-portal-page .emp-landing-feature .emp-landing-card-copy{padding:4px 5px!important;gap:14px!important}
.emp-portal-page .emp-landing .emp-landing-media-book{padding:0!important;align-self:stretch}
.emp-portal-page .emp-landing .emp-landing-media-book img{width:min(100%,360px)!important;max-width:100%!important;max-height:none!important;margin:0 auto!important;aspect-ratio:2/3!important;object-fit:contain!important}
.emp-portal-page .emp-portal-archive{margin:10px auto 12px!important;padding:0!important}
.emp-portal-page .emp-portal-slider{margin:0 0 var(--portal-block-gap)!important}
.emp-portal-page .emp-portal-slider-stage{position:relative;min-width:0;isolation:isolate;border-radius:8px;overflow:hidden}
.emp-portal-page .emp-portal-slides{margin:0!important;border-radius:0!important;touch-action:pan-y}
.emp-portal-page .emp-portal-slide>img{max-height:none!important;aspect-ratio:16/9!important;height:auto!important;object-fit:contain!important;object-position:center!important;background:#080f22!important}
.emp-portal-page .emp-portal-slider-stage:has(.emp-portal-slider-controls) .emp-portal-slide-caption{padding-bottom:72px!important}
.emp-portal-page .emp-portal-slide-caption{position:absolute!important;inset:auto 0 0!important;gap:7px!important;padding:clamp(45px,6vw,85px) clamp(12px,6vw,80px) 18px!important;background:linear-gradient(to bottom,transparent 0%,rgba(4,9,20,.62) 35%,rgba(4,9,20,.92) 100%)!important}
.emp-portal-page .emp-portal-slide-caption h2{font-size:clamp(1.25rem,2.1vw,1.95rem)!important}
.emp-portal-page .emp-portal-slider-controls{position:absolute!important;inset:auto 0 12px!important;z-index:6;margin:0!important;padding:0!important;gap:8px!important;width:100%!important;pointer-events:none}
.emp-portal-page .emp-portal-slider-controls>*{pointer-events:auto}
.emp-portal-page .emp-portal-slider-arrow{top:43%!important;width:52px!important;height:52px!important}
.emp-portal-page .emp-portal-slider-prev{left:10px!important}
.emp-portal-page .emp-portal-slider-next{right:10px!important}
.emp-portal-page .emp-portal-slider-dot{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;font-size:17px!important}
.emp-portal-page .emp-portal-slider-dot>span{display:inline!important;position:relative!important;z-index:1!important;line-height:1!important;color:inherit!important}
.emp-portal-page .emp-portal-slider-dot::before{content:none!important}
.emp-portal-page .emp-portal-slider-play{min-height:42px!important;font-size:15px!important}
.emp-portal-page .emp-portal-slider-dot[aria-current="true"]{outline:2px solid var(--portal-accent);outline-offset:1px}
.emp-portal-page .emp-portal-slider-fade .emp-portal-slides{display:grid!important;grid-template-columns:minmax(0,1fr);overflow:hidden!important;scroll-snap-type:none!important;scroll-behavior:auto!important}
.emp-portal-page .emp-portal-slider-fade .emp-portal-slide{grid-area:1/1;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .6s ease,visibility 0s linear .6s;z-index:0}
.emp-portal-page .emp-portal-slider-fade .emp-portal-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .6s ease,visibility 0s;z-index:1}
/* Native frame paint must not project outside its gold edge. Geometry follows the existing footer solution. */
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-portal-page :is(.emp-landing-card,.emp-landing-intro,.emp-landing-outro,.emp-portal-slider){--emp-skin-size:clamp(42px,5.9vw,84px)!important;--emp-skin-paint-inset:calc(var(--emp-skin-size)*.23)!important;border-width:0!important;box-shadow:none!important}
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-portal-page [data-emp-surface-ornament$="/marco-soberano-v2.png"]>.emp-surface-paint{inset:calc(var(--emp-skin-size)*.23)!important;border-radius:0!important;clip-path:inset(0 round calc(var(--emp-skin-size)*.43))!important}
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-portal-page [data-emp-surface-ornament$="/marco-soberano-v2.png"]::before{inset:calc(var(--emp-skin-size)*.23)!important;box-shadow:none!important;clip-path:inset(0 round calc(var(--emp-skin-size)*.43))!important}
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-portal-page [data-emp-surface-ornament$="/marco-soberano-v2.png"]::after{inset:0!important}
/* Keep the actual SVG ornament and provide a solid sapphire fill, independent of global link finishes. */
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-contenido .emp-portal-page :is(.emp-landing-cta,.emp-portal-slide-link,.emp-portal-archive>a,.emp-portal-slider-arrow,.emp-portal-slider-play,.emp-portal-slider-dot){
 --portal-button-fill:linear-gradient(180deg,#32619b 0%,#193d70 42%,#0b2045 100%);
 position:relative;isolation:isolate;opacity:1!important;color:#fff0d0!important;
 background-color:#102a52!important;background-image:var(--portal-button-fill)!important;background-clip:padding-box!important;
 box-shadow:inset 0 0 10px #9dcaff20,0 3px 8px #0005!important;
 border:7px solid transparent!important;border-image:url('/temas/planeta-divino/assets/control-celestial-v5.svg') 20 / 1 stretch!important;
 transition:background-color .2s,filter .2s!important
}
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-contenido .emp-portal-page :is(.emp-landing-cta,.emp-portal-slide-link,.emp-portal-archive>a,.emp-portal-slider-arrow,.emp-portal-slider-play,.emp-portal-slider-dot)::before{
 content:""!important;display:block!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;
 z-index:-1!important;pointer-events:none!important;opacity:1!important;transform:none!important;
 border:0!important;border-radius:0!important;background:var(--portal-button-fill)!important;box-shadow:none!important
}
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-contenido .emp-portal-page :is(.emp-landing-cta,.emp-portal-slide-link,.emp-portal-archive>a,.emp-portal-slider-arrow,.emp-portal-slider-play,.emp-portal-slider-dot)::after{content:none!important}
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-contenido .emp-portal-page :is(.emp-landing-cta,.emp-portal-slide-link,.emp-portal-archive>a,.emp-portal-slider-arrow,.emp-portal-slider-play,.emp-portal-slider-dot):is(:hover,:focus-visible,[aria-current="true"]){
 --portal-button-fill:linear-gradient(180deg,#559ff0 0%,#2a63b3 45%,#143c82 100%);
 background-color:#2159a2!important;background-image:var(--portal-button-fill)!important;color:#fff!important;filter:drop-shadow(0 0 8px #78bdff80)!important
}
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-contenido .emp-portal-page .emp-portal-slider-arrow{position:absolute!important}
body:has([data-emp-celestial="dark"]) .emp-sitio .emp-contenido .emp-portal-page .emp-portal-slider-dot[aria-current="true"]{outline:2px solid #e8c67b;outline-offset:1px}
@media(min-width:761px){
 body:has([data-emp-celestial="dark"]) .emp-sitio .emp-portal-page .emp-landing-card:not(.emp-landing-feature),body:has([data-emp-celestial="dark"]) .emp-sitio .emp-portal-page .emp-portal-slider{padding:clamp(22px,2vw,30px)!important}
 body:has([data-emp-celestial="dark"]) .emp-sitio .emp-portal-page .emp-landing-card.emp-landing-feature{padding:clamp(24px,2.4vw,35px)!important}
}
@media(max-width:760px){
 .emp-portal-page{--portal-inner-pad:12px;--portal-block-gap:8px}
 .emp-portal-page .emp-landing-card.emp-landing-feature{display:flex!important;grid-template-columns:none!important;gap:10px!important}
 .emp-portal-page .emp-landing .emp-landing-media-book img{width:min(100%,290px)!important}
 .emp-portal-page .emp-landing-card-copy{padding:12px 3px 3px!important}
 .emp-portal-page .emp-portal-slide>img{min-height:clamp(350px,105vw,450px)!important;object-fit:cover!important}
 .emp-portal-page .emp-portal-slider-stage:has(.emp-portal-slider-controls) .emp-portal-slide-caption{padding-bottom:66px!important}
 .emp-portal-page .emp-portal-slide-caption{padding:28px 12px 14px!important}
 .emp-portal-page .emp-portal-slide-caption h2{font-size:clamp(1.1rem,4vw,1.4rem)!important}
 .emp-portal-page .emp-portal-slide-caption p{font-size:.92rem!important;line-height:1.35!important}
 .emp-portal-page .emp-portal-slider-arrow{width:44px!important;height:44px!important;top:31%!important}
 .emp-portal-page .emp-portal-slider-prev{left:6px!important}
 .emp-portal-page .emp-portal-slider-next{right:6px!important}
 .emp-portal-page .emp-portal-slider-controls{bottom:9px!important;gap:6px!important}
 body:has([data-emp-celestial="dark"]) .emp-sitio .emp-portal-page :is(.emp-landing-card,.emp-landing-intro,.emp-landing-outro,.emp-portal-slider){--emp-skin-size:42px!important;padding:16px!important}
}
@media(prefers-reduced-motion:reduce){.emp-portal-page .emp-portal-slider-fade .emp-portal-slide,.emp-portal-page .emp-portal-slider-fade .emp-portal-slide.is-active{transition:none!important}}

