/* APRODAP PÚBLICO v3.2.5 · Solo 12 tarjetas de Accesos rápidos */
/* APRODAP PUBLICO v3.2.0 - capa independiente, solo moviles. */
@media (min-width: 769px) {
  .ap-pub-im-enter-v325, .ap-pub-im-v325 { display: none !important; }
}
.ap-pub-im-enter-v325 {
  position: fixed; bottom: calc(106px + env(safe-area-inset-bottom, 0px)); left: 12px;
  z-index: 850; display: inline-flex; align-items:center; gap:8px;
  padding: 11px 13px; border:1px solid #78e7db; border-radius: 16px;
  background:linear-gradient(135deg,#075c66,#063f51); color:#fff;
  box-shadow:0 8px 26px rgba(2,32,45,.27); font-size:13px; font-weight:750;
  line-height:1; cursor:pointer; transition:transform .18s ease,box-shadow .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.ap-pub-im-enter-v325:active{transform:scale(.97)}
.ap-pub-im-enter-v325 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ap-pub-im-v325 {
  position:fixed;inset:0;z-index:4200; display:none; flex-direction:column;
  background:#061927;color:#fff;isolation:isolate;
  padding-top:env(safe-area-inset-top, 0px);
  padding-bottom:env(safe-area-inset-bottom, 0px);
  font-family:inherit;overscroll-behavior:contain;
}
.ap-pub-im-v325[aria-hidden="false"]{display:flex;animation:apPubImIn320 .36s ease both}
.ap-pub-im-v325[aria-hidden="false"]:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 100% 0%,rgba(15,201,184,.25),transparent 47%),
    radial-gradient(ellipse at 0% 78%,rgba(73,103,211,.20),transparent 49%),
    linear-gradient(145deg,#061927,#093b43 55%,#081d30);
}
.ap-pub-im-head-v325{position:relative;z-index:2;display:flex;align-items:center;gap:10px;
  padding:12px 14px;border-bottom:1px solid rgba(153,240,221,.17);
  background:rgba(5,34,46,.85);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);flex:0 0 auto;}
.ap-pub-im-logo-v325{width:49px;height:49px;flex:0 0 49px;object-fit:contain;background:#fff;border-radius:15px;
  box-shadow:0 0 22px rgba(66,237,215,.17)}
.ap-pub-im-brand-v325{min-width:0;flex:1;display:grid;gap:3px}
.ap-pub-im-brand-v325 strong{font-size:18px;letter-spacing:.07em;line-height:1.1;color:white}
.ap-pub-im-brand-v325 span{font-size:10px;font-weight:800;letter-spacing:.07em;color:#9ce9dd}
.ap-pub-im-exit-v325{border:1px solid #62cfc4;background:#123e4a;color:#fff;
  border-radius:14px;min-height:43px;padding:0 13px;font:inherit;font-weight:800;cursor:pointer}
.ap-pub-im-scroll-v325{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;
  -webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding:18px 14px 32px;scrollbar-width:thin}
.ap-pub-im-hero-v325{margin:0 0 18px;border:1px solid rgba(112,242,220,.25);
  background:linear-gradient(115deg,rgba(22,98,109,.76),rgba(7,42,57,.6));
  box-shadow:0 16px 35px rgba(0,0,0,.15);border-radius:24px;padding:20px 18px;position:relative;overflow:hidden}
.ap-pub-im-hero-v325:after{content:"";position:absolute;width:150px;height:150px;border:1px solid rgba(120,255,228,.23);
  border-radius:100%;right:-50px;top:-80px;box-shadow:0 0 0 25px rgba(42,207,195,.035),0 0 0 55px rgba(42,207,195,.027);pointer-events:none}
.ap-pub-im-eyebrow-v325{font-size:10px;color:#8af6e2;letter-spacing:.13em;font-weight:850}
.ap-pub-im-hero-v325 h2{margin:8px 0 8px;line-height:1.08;letter-spacing:-.035em;font-size:clamp(25px,7vw,34px);font-weight:900;color:#fff}
.ap-pub-im-hero-v325 p{margin:0;color:#c4e2e5;line-height:1.45;font-size:13px;max-width:320px}
.ap-pub-im-heading-v325{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 11px}
.ap-pub-im-heading-v325 strong{font-size:13px;color:#e2f5f2;letter-spacing:.015em}
.ap-pub-im-count-v325{font-size:11px;color:#9bd8d1}
.ap-pub-im-grid-v325{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ap-pub-im-card-v325{appearance:none;display:flex;flex-direction:column;justify-content:space-between;
  gap:19px;text-align:left;min-width:0;min-height:160px;padding:15px 13px;border-radius:20px;
  border:1px solid rgba(159,231,231,.21);color:#fff;background:linear-gradient(145deg,#184353,#102738);
  box-shadow:0 12px 24px rgba(0,0,0,.12);cursor:pointer;font:inherit;position:relative;overflow:hidden;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.ap-pub-im-card-v325:nth-child(6n+2){background:linear-gradient(145deg,#20465c,#122b43)}
.ap-pub-im-card-v325:nth-child(6n+3){background:linear-gradient(145deg,#185c54,#0e353a)}
.ap-pub-im-card-v325:nth-child(6n+4){background:linear-gradient(145deg,#344363,#172a48)}
.ap-pub-im-card-v325:nth-child(6n+5){background:linear-gradient(145deg,#45405a,#252d45)}
.ap-pub-im-card-v325:nth-child(6n+6){background:linear-gradient(145deg,#235464,#123843)}
.ap-pub-im-card-v325:before{content:"";position:absolute;right:-30px;top:-40px;width:130px;height:130px;
  border-radius:50%;background:radial-gradient(circle,rgba(114,248,227,.12),transparent 68%);pointer-events:none}
.ap-pub-im-card-v325:focus-visible,.ap-pub-im-exit-v325:focus-visible,.ap-pub-im-enter-v325:focus-visible{outline:3px solid #98ffe5;outline-offset:3px}
.ap-pub-im-card-v325:active{transform:scale(.974)}
.ap-pub-im-card-v325 img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;opacity:.26;pointer-events:none}
.ap-pub-im-card-v325 img + .ap-pub-im-cardshade-v325{position:absolute;inset:0;background:linear-gradient(to top,rgba(4,21,33,.94),rgba(4,21,33,.24));pointer-events:none}
.ap-pub-im-card-top-v325,.ap-pub-im-card-bottom-v325{position:relative;z-index:1}
.ap-pub-im-icon-v325{width:47px;height:47px;display:grid;place-items:center;border-radius:15px;
  font-size:22px;background:rgba(130,253,227,.16);border:1px solid rgba(137,245,229,.20);color:#9dfce8}
.ap-pub-im-card-bottom-v325{display:grid;gap:6px}
.ap-pub-im-card-bottom-v325 strong{font-size:16px;line-height:1.16;color:#fff;font-weight:850;overflow-wrap:anywhere}
.ap-pub-im-card-bottom-v325 small{font-size:11px;color:#b9d6dc;display:block;line-height:1.35}
.ap-pub-im-footer-v325{font-size:11px;color:#9cbfc3;text-align:center;margin:20px 0 0;line-height:1.4}
.ap-pub-im-empty-v325{grid-column:1/-1;border:1px dashed #588e91;color:#d5eeee;
  padding:20px;border-radius:18px;font-size:14px;line-height:1.5}
@keyframes apPubImIn320{from{opacity:0;transform:translateY(16px) scale(.986)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:345px){.ap-pub-im-head-v325{padding:10px}.ap-pub-im-logo-v325{width:42px;height:42px;flex-basis:42px}
 .ap-pub-im-brand-v325 strong{font-size:16px}.ap-pub-im-brand-v325 span{font-size:9px}
 .ap-pub-im-grid-v325{gap:8px}.ap-pub-im-card-v325{min-height:142px;padding:12px}}
@media(prefers-reduced-motion:reduce){.ap-pub-im-v325[aria-hidden="false"]{animation:none!important}
 .ap-pub-im-card-v325{transition:none!important}}

/* APRODAP PUBLICO v3.2.5: limpieza visual SOLO mientras esta activo el inmersivo publico.
   Mantener cabecera/Salir, contador, grilla de 12 accesos y enlaces originales. */
@media (max-width: 768px) {
  /* Recuadro informativo solicitado para quitar. El titulo de la grilla permanece. */
  body.ap-pub-im-clean-v325 .ap-pub-im-v325 .ap-pub-im-hero-v325 {
    display: none !important;
  }
  /* Pestaña lateral existente y controles de minimizar (v3.1.0/3.0.8).
     Al salir desaparece la clase del body y todo vuelve a su estado previo. */
  body.ap-pub-im-clean-v325 .ap-pub-tab-panel-v310,
  body.ap-pub-im-clean-v325 .ap-pub-tab-minus-v310,
  body.ap-pub-im-clean-v325 .ap-pub-tab-plus-v310,
  body.ap-pub-im-clean-v325 .ap-pub-tab-toggle-v308,
  body.ap-pub-im-clean-v325 .ap-pub-tab-plus-v308 {
    display: none !important;
  }
  /* Toolbar inferior original y botones -/+; siempre limitado al modo inmersivo. */
  body.ap-pub-im-clean-v325 .ap-dock-minimized-v313,
  body.ap-pub-im-clean-v325 .ap-pub-dock-minus-v313,
  body.ap-pub-im-clean-v325 .ap-pub-dock-plus-v313,
  body.ap-pub-im-clean-v325 .ap-public-toolbar,
  body.ap-pub-im-clean-v325 .ap-public-dock {
    display: none !important;
  }
  /* Mayor espacio util para los accesos tras quitar el bloque informativo. */
  body.ap-pub-im-clean-v325 .ap-pub-im-scroll-v325 {
    padding-top: 14px;
  }
}

@media (max-width: 768px) {
  /* El inmersivo cubre las barras subyacentes, aun cuando usen z-index propio. */
  body.ap-pub-im-clean-v325 .ap-pub-im-v325[aria-hidden="false"] {
    z-index: 2147481000 !important;
  }
}

/* V3.2.4 · Cinematic Photo Cards. Solo apariencia de las tarjetas inmersivas. */
@media(max-width:768px){
  .ap-pub-im-v325 .ap-pub-im-grid-v325{gap:11px}
  .ap-pub-im-v325 .ap-pub-im-card-v325{
    min-height:214px;padding:12px 11px 13px;gap:0;
    border:1px solid rgba(136,241,222,.55);
    background:#0b3445!important; isolation:isolate;
    box-shadow:0 14px 34px rgba(0,12,24,.32),inset 0 1px rgba(255,255,255,.16);
  }
  .ap-pub-im-v325 .ap-pub-im-card-v325::before{display:none!important}
  .ap-pub-im-v325 .ap-pub-im-card-v325 .ap-pub-photo-v325{
    display:block!important; position:absolute;inset:0;width:100%;height:100%;
    opacity:1!important;object-fit:cover;pointer-events:none;z-index:0;
    transition:transform .48s cubic-bezier(.18,.8,.22,1);
  }
  .ap-pub-im-v325 .ap-pub-im-card-v325 .ap-pub-im-cardshade-v325{
    position:absolute;inset:0;z-index:1;pointer-events:none;
    background:linear-gradient(180deg,rgba(2,17,26,.24) 0%,rgba(2,17,26,.13) 27%,rgba(2,18,29,.79) 62%,rgba(2,15,27,.97) 100%)!important;
  }
  .ap-pub-im-v325 .ap-pub-im-card-top-v325,
  .ap-pub-im-v325 .ap-pub-im-card-bottom-v325{z-index:2}
  .ap-pub-im-v325 .ap-pub-im-card-bottom-v325{gap:7px; margin-top:auto}
  .ap-pub-im-v325 .ap-pub-im-card-bottom-v325 strong{
    color:#fff!important;font-size:clamp(14px,4.15vw,18px);line-height:1.15;
    font-weight:850;text-shadow:0 1px 10px rgba(0,0,0,.65)
  }
  .ap-pub-im-v325 .ap-pub-im-card-bottom-v325 small{
    color:#e1f0f1!important;font-size:clamp(10px,2.65vw,12px);line-height:1.35;
    text-shadow:0 1px 8px rgba(0,0,0,.72)
  }
  .ap-pub-im-v325 .ap-pub-im-icon-v325{
    width:39px;height:39px;font-size:21px;border-radius:13px;
    color:#fff;background:rgba(1,65,71,.73);border:1px solid rgba(135,248,230,.65);
    box-shadow:0 3px 12px rgba(0,0,0,.27);backdrop-filter:blur(8px)
  }
  .ap-pub-im-v325 .ap-pub-im-card-v325:active .ap-pub-photo-v325{transform:scale(1.055)}
  .ap-pub-im-v325 .ap-pub-im-card-v325:focus-visible{outline:3px solid #bbffed;outline-offset:3px}
}
@media(max-width:355px){
 .ap-pub-im-v325 .ap-pub-im-grid-v325{gap:8px}
 .ap-pub-im-v325 .ap-pub-im-card-v325{min-height:207px;padding:10px}
}
@media(prefers-reduced-motion:reduce){
 .ap-pub-im-v325 .ap-pub-im-card-v325 .ap-pub-photo-v325{transition:none!important}
}
