/* APEX · el espectáculo de los héroes y la gravedad del poder que administra. */
#module-organizations[data-apex35-active="true"]{
  --l30-accent:#f1ca83;--l30-border:rgba(198,158,106,.58);--l30-line:rgba(184,144,102,.42);
  --l30-panel:#1d1b31;--l30-muted:#d6ccdb;--ink:#fff5e5;--ink-soft:#ded3dc;
  color:#f7eee8;background:radial-gradient(ellipse at 85% 12%,rgba(109,65,172,.18),transparent 53%),
    repeating-linear-gradient(90deg,transparent 0 109px,rgba(212,174,135,.018) 110px),#131427;
}
#module-organizations[data-apex35-active="true"] .l30-hero.ax35-hero{
  min-height:clamp(405px,40vw,570px);align-items:end;grid-template-columns:minmax(0,1fr) 112px;
  padding:clamp(25px,4vw,59px);overflow:hidden;border:1px solid rgba(231,186,117,.73);
  border-radius:5px 26px 5px 5px;
  background:linear-gradient(90deg,rgba(8,13,29,.97),rgba(12,17,34,.86) 27%,rgba(19,21,39,.43) 54%,transparent 81%),
    linear-gradient(0deg,rgba(13,15,30,.7),transparent 58%),
    url('apex_headquarters.png') 66% 50%/cover no-repeat!important;
  box-shadow:inset 0 0 0 1px rgba(250,218,154,.11),0 28px 70px rgba(0,0,0,.55);
}
#module-organizations[data-apex35-active="true"] .l30-hero.ax35-hero::before{
  inset:13px;border:1px solid rgba(246,205,138,.35);border-radius:2px 18px 2px 2px;
}
#module-organizations[data-apex35-active="true"] .l30-hero.ax35-hero::after{
  content:'APEX  /  MISIÓN · IMAGEN · RESPONSABILIDAD';position:absolute;right:25px;bottom:18px;
  color:#fbe0b1;font:600 10px/1.2 system-ui,sans-serif;letter-spacing:.16em;text-shadow:0 2px 8px #111122;
}
#module-organizations[data-apex35-active="true"] .l30-hero-copy{
  position:relative;z-index:1;max-width:min(745px,88%);padding:21px 24px;
  background:linear-gradient(90deg,rgba(8,13,29,.81),rgba(14,15,27,.02));border-left:2px solid #f2c681;
}
#module-organizations[data-apex35-active="true"] .l30-eyebrow{color:#f1cd9b;letter-spacing:.19em}
#module-organizations[data-apex35-active="true"] .l30-hero h1{
  max-width:775px;color:#fff3dd!important;font:500 clamp(38px,4.6vw,70px)/1.02 'Cormorant Garamond',Georgia,serif;
  text-shadow:0 3px 18px #0a1025,0 0 24px rgba(198,138,226,.28);
}
#module-organizations[data-apex35-active="true"] .l30-hero p,
#module-organizations[data-apex35-active="true"] .l30-hero-footer{color:#f7eadd;text-shadow:0 2px 10px #0d1026}
#module-organizations[data-apex35-active="true"] .l30-seal{display:none}
.ax35-hero-emblem{position:relative;z-index:1;align-self:center;justify-self:center;display:grid;place-items:center;
  width:110px;height:110px;color:#ffe2a9;background:radial-gradient(circle,rgba(102,69,141,.66),rgba(23,20,46,.95) 72%);
  border:1px solid rgba(245,204,137,.86);border-radius:50%;
  box-shadow:inset 0 0 0 5px rgba(240,186,121,.15),0 0 30px rgba(152,91,190,.38)}
.ax35-hero-emblem .ax35-icon{width:81px;height:81px}
.ax35-branches{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.ax35-branches>span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;
  border:1px solid rgba(225,177,122,.62);border-radius:4px;color:#f9e8da;background:rgba(31,26,51,.88);
  font:600 11px/1.2 system-ui,sans-serif}
.ax35-branches .ax35-icon{width:22px;height:22px;color:#dec4ff}
#module-organizations[data-apex35-active="true"] :is(.l30-toolbar,.l31-breadcrumb){
  background:#242037;border-color:rgba(205,159,111,.55);color:#f6e9df;
}
#module-organizations[data-apex35-active="true"] :is(.l30-results,.l30-detail){
  background:radial-gradient(ellipse at 79% 0%,rgba(111,75,174,.16),transparent 52%),
    repeating-linear-gradient(90deg,transparent 0 98px,rgba(222,177,124,.018) 99px),#15172c;color:#f3ece5;
}
#module-organizations[data-apex35-active="true"] .l30-results{padding:15px 10px 38px;border-top:1px solid rgba(208,161,105,.43)}
#module-organizations[data-apex35-active="true"] :is(.l30-card,.l31-folder,.l30-section,.l42-structure,.l30-dossier){
  background:linear-gradient(133deg,rgba(47,38,67,.98),rgba(24,27,48,.99))!important;
  border-color:rgba(203,158,110,.49)!important;color:#f6ecdf;
  box-shadow:inset 0 1px rgba(247,214,160,.11),0 13px 30px rgba(0,0,0,.45)!important;
}
#module-organizations[data-apex35-active="true"] :is(.l30-card,.l31-folder):hover{
  border-color:rgba(250,209,145,.88)!important;
  box-shadow:0 15px 37px rgba(0,0,0,.55),inset 0 1px rgba(215,170,246,.24)!important;
}
#module-organizations[data-apex35-active="true"] :is(.l30-card h2,.l31-folder h2,.l30-dossier h1,.l30-section h2){color:#fff1dd!important}
#module-organizations[data-apex35-active="true"] :is(.l30-card p,.l31-folder p,.l30-section p,.l51313-folder-description){color:#ded5e0!important}
#module-organizations[data-apex35-active="true"] .l30-card-art{
  position:relative;background:radial-gradient(circle at 54% 45%,rgba(136,79,194,.32),transparent 63%),
    radial-gradient(circle at 50% 62%,rgba(207,154,90,.18),transparent 53%),linear-gradient(138deg,#3c365b,#1b203e)!important;
}
#module-organizations[data-apex35-active="true"] .l30-card-art img{object-fit:cover}
.ax35-card-emblem{position:absolute;inset:12% 20%;display:grid;place-items:center;pointer-events:none;color:#f3d59f}
.ax35-card-emblem .ax35-icon{width:min(100%,134px);height:min(100%,134px);filter:drop-shadow(0 0 13px rgba(197,123,221,.48))}
#module-organizations .l31-folder.ax35-preview:not(.l51313-has-cover){
  background:linear-gradient(90deg,rgba(17,17,39,.95),rgba(38,25,59,.28)),url('apex_headquarters.png') 74% center/cover no-repeat!important;
  border-color:rgba(224,181,120,.79)!important;
}
#module-organizations .l31-folder.ax35-preview :is(h2,p,.l30-eyebrow,.l51313-folder-status){
  color:#fff1dc!important;text-shadow:0 2px 10px #11122a;
}
.ax35-folder-emblem{position:absolute;z-index:2;top:13px;right:15px;display:grid;place-items:center;
  width:62px;height:62px;pointer-events:none;color:#f5d9aa;border:1px solid rgba(241,202,147,.87);
  background:rgba(32,27,55,.89);border-radius:50%}
.ax35-folder-emblem .ax35-icon{width:45px;height:45px}
#module-organizations[data-apex35-active="true"] .l51313-folder-intro{border-color:#d5a46f;background:#332a4a}
#module-organizations[data-apex35-active="true"] .l51313-folder-intro::before{background:linear-gradient(90deg,rgba(21,18,41,.95),rgba(57,34,79,.33))}
#module-organizations[data-apex35-active="true"] .l30-detail{border:1px solid rgba(210,164,111,.6)}
#module-organizations[data-apex35-active="true"] .l30-detail-bar{background:#342a4b;border-color:rgba(212,167,114,.54)}
#module-organizations[data-apex35-active="true"] .l30-portrait:has(.ax35-portrait-emblem){
  background:radial-gradient(circle,rgba(136,87,194,.3),transparent 64%),linear-gradient(140deg,#594364,#20243f);
  border:1px solid rgba(227,185,125,.63);
}
.ax35-portrait-emblem{display:grid;place-items:center;min-height:180px;width:100%;color:#f8d7a2}
.ax35-portrait-emblem .ax35-icon{width:clamp(130px,17vw,195px);height:clamp(130px,17vw,195px);filter:drop-shadow(0 0 15px rgba(188,123,231,.47))}
.ax35-section-emblem,.ax35-info-emblem,.ax35-article-emblem{
  display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;margin-right:9px;vertical-align:middle;
  border:1px solid rgba(222,173,117,.65);border-radius:4px;background:rgba(89,52,121,.39);color:#f3d3a6;
}
.ax35-section-emblem .ax35-icon,.ax35-info-emblem .ax35-icon,.ax35-article-emblem .ax35-icon{width:24px;height:24px}
body.askakor-hierarchy-apex #content-area .article{
  color:#faf0e3;background:linear-gradient(145deg,rgba(54,42,77,.98),rgba(24,27,49,.99));
  border-color:rgba(223,180,125,.59);
}
@media(max-width:720px){
  #module-organizations[data-apex35-active="true"] .l30-hero.ax35-hero{min-height:445px;grid-template-columns:1fr;padding:21px;background-position:67% center!important}
  #module-organizations[data-apex35-active="true"] .l30-hero-copy{max-width:100%;padding:13px;background:rgba(13,17,38,.85)}
  #module-organizations[data-apex35-active="true"] .l30-hero h1{font-size:38px}
  .ax35-hero-emblem{display:none}.ax35-branches>span{padding:5px 8px;font-size:10px}
}
@media(prefers-reduced-motion:no-preference){
  #module-organizations[data-apex35-active="true"] .l30-hero.ax35-hero{animation:ax35-arrive .7s ease-out both}
  @keyframes ax35-arrive{from{opacity:.64;filter:brightness(.74)}to{opacity:1;filter:brightness(1)}}
}

#module-organizations[data-apex35-active="true"] .l30-card-art:has(img) .ax35-card-emblem,
#module-organizations[data-apex35-active="true"] .l30-portrait:has(img) .ax35-portrait-emblem{display:none}
