
.upe21-shade{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:2147483000;opacity:0;visibility:hidden;transition:.25s}.upe21-panel{position:fixed;left:0;top:0;width:min(440px,92vw);height:100dvh;background:linear-gradient(145deg,#111,#070707 72%);color:#fff;z-index:2147483001;transform:translateX(-105%);transition:transform .32s ease;box-shadow:16px 0 50px rgba(0,0,0,.3);font-family:Manrope,Arial,sans-serif}.upe21-open{overflow:hidden}.upe21-open .upe21-shade{opacity:1;visibility:visible}.upe21-open .upe21-panel{transform:none}.upe21-inner{height:100%;overflow:auto;padding:27px 30px 35px;box-sizing:border-box}.upe21-close{position:absolute;right:26px;top:20px;border:0!important;background:none!important;color:#fff!important;font:300 42px/1 Arial!important;cursor:pointer}.upe21-brand img{max-width:225px;max-height:78px;object-fit:contain}.upe21-wordmark{display:inline-block;font-size:28px;font-weight:800;border-bottom:2px solid #fff}.upe21-wordmark b{font-size:36px}.upe21-wordmark small{display:block;color:var(--upe21-accent);font-size:17px;margin:5px 0}.upe21-tagline{font-size:8px;letter-spacing:3.4px;color:#929292;margin-top:12px}.upe21-search{height:45px;border:1px solid #444;border-radius:7px;margin:22px 0 18px;display:flex;align-items:center;background:#171717}.upe21-search span{font-size:26px;padding:0 12px}.upe21-search input{width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#fff!important;font-size:14px!important}.upe21-label{color:#999;font-size:13px;font-weight:700;letter-spacing:.6px;margin-bottom:7px}.upe21-main{height:40px;display:flex!important;align-items:center;color:#f5f5f5!important;text-decoration:none!important;margin:0 -10px;padding:0 12px!important;position:relative}.upe21-main:hover{background:#1d1d1d}.upe21-main:hover:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--upe21-accent)}.upe21-main i,.upe21-tools i{font-style:normal;width:32px}.upe21-main b{font:600 16px Georgia,serif}.upe21-main em{font-style:normal;margin-left:auto;font-size:26px}.upe21-subs{display:flex;flex-wrap:wrap;gap:5px 13px;margin:-2px 0 7px 32px}.upe21-subs a{font-size:11px;color:#bbb!important;text-decoration:none!important}.upe21-divider{border-top:1px solid #555;margin:14px 0 12px}.upe21-tools{display:grid}.upe21-tools a{display:flex;color:#f3f3f3!important;text-decoration:none!important;font-size:14px;padding:6px 3px!important}.upe21-tools a:hover span{color:var(--upe21-accent)}.upe21-news{display:flex;gap:14px;background:var(--upe21-accent);color:#090909!important;text-decoration:none!important;border-radius:9px;padding:17px;margin-top:19px}.upe21-news>i{font-style:normal;font-size:27px}.upe21-news small{display:block;font-size:10px;font-weight:800}.upe21-news strong{display:block;font:700 17px Georgia,serif;margin:2px 0 4px}.upe21-news p{font-size:12px;margin:0 0 10px}.upe21-news div>b{display:inline-block;background:#111;color:#fff;padding:8px 15px;border-radius:5px;font-size:11px}.upe21-social{display:flex;justify-content:center;gap:25px;padding:17px 0 0}.upe21-social a{color:#bbb!important;text-decoration:none!important;font-weight:700}@media(max-width:520px){.upe21-inner{padding:22px}.upe21-close{right:19px}}@media(prefers-reduced-motion:reduce){.upe21-panel,.upe21-shade{transition:none}}

/* v2.1.1: suppress Newspaper/tagDiv legacy off-canvas only while UPE panel is active */
body.upe21-open .td-menu-background,
body.upe21-open .td-mobile-container,
body.upe21-open .td-mobile-content,
body.upe21-open .tdc-mobile-wrap,
body.upe21-open .tdc-mobile-menu,
body.upe21-open .td-header-menu-wrap-full,
body.upe21-open .td-menu-mob-open-menu {
  visibility:hidden !important;
  pointer-events:none !important;
}
body.upe21-open #upe21Panel,
body.upe21-open #upe21Shade {
  visibility:visible !important;
  pointer-events:auto !important;
}

/* ===== v2.2 Premium UI ===== */
.upe21-panel{width:min(var(--upe21-width),94vw);background:
radial-gradient(circle at 0 0,rgba(255,255,255,.055),transparent 28%),
linear-gradient(160deg,#121212 0%,#090909 52%,#050505 100%);border-right:1px solid rgba(255,255,255,.09)}
.upe21-inner{padding:30px 32px 38px;scrollbar-width:thin;scrollbar-color:#444 transparent}
.upe21-close{width:38px;height:38px;border-radius:50%!important;display:grid!important;place-items:center;transition:background .18s,transform .18s}
.upe21-close:hover{background:#242424!important;transform:rotate(4deg)}
.upe21-brand{min-height:67px}.upe21-brand img{max-width:235px;max-height:72px;object-position:left center}
.upe21-wordmark{letter-spacing:-1.2px}.upe21-tagline{letter-spacing:3.2px;color:#8e8e8e}
.upe21-search{position:relative;height:47px;border-color:#383838;background:#151515;transition:border-color .18s,box-shadow .18s}
.upe21-search:focus-within{border-color:var(--upe21-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--upe21-accent) 18%,transparent)}
.upe21-search-icon{width:18px;height:18px;border:1.8px solid #aaa;border-radius:50%;margin-left:15px;position:relative;box-sizing:border-box;flex:0 0 auto}
.upe21-search-icon:after{content:"";position:absolute;width:7px;height:1.8px;background:#aaa;right:-5px;bottom:-3px;transform:rotate(45deg);border-radius:2px}
.upe21-search input{padding-left:12px!important}
.upe21-label{font-size:11px;letter-spacing:1.55px;color:#8d8d8d;margin:1px 0 8px;text-transform:uppercase}
.upe21-main{height:44px;border-radius:5px;margin:1px -8px;padding:0 10px!important;transition:background .17s,color .17s,transform .17s}
.upe21-main:hover{background:#1a1a1a;transform:translateX(2px)}
.upe21-main:hover:before{left:-2px;border-radius:0 3px 3px 0}
.upe21-main i{width:34px;height:28px;display:grid;place-items:center;font-size:16px;color:#d8d8d8}
.upe21-main b{font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:650;letter-spacing:-.15px}
.upe21-main em{color:#777;transition:color .17s,transform .17s}.upe21-main:hover em{color:var(--upe21-accent);transform:translateX(2px)}
.upe21-featured>.upe21-main{background:linear-gradient(90deg,color-mix(in srgb,var(--upe21-accent) 11%,#171717),#171717 70%)}
.upe21-featured>.upe21-main i{color:var(--upe21-accent)}.upe21-featured>.upe21-main:after{content:"ESPECIALIDAD";font-size:8px;letter-spacing:1px;color:var(--upe21-accent);margin-left:10px;font-weight:800}
.upe21-subs{gap:4px 0;margin:2px 0 8px 36px}.upe21-subs a{position:relative;color:#a9a9a9!important;padding:2px 11px 2px 9px!important;font-size:10.5px;transition:color .15s}
.upe21-subs a:not(:last-child):after{content:"";position:absolute;right:0;top:6px;width:2px;height:2px;background:#666;border-radius:50%}.upe21-subs a:hover{color:var(--upe21-accent)!important}
.upe21-divider{border-color:#333;margin:17px 0 14px}
.upe21-tools a{align-items:center;border-radius:5px;padding:7px 6px!important;transition:background .16s,transform .16s}.upe21-tools a:hover{background:#171717;transform:translateX(2px)}
.upe21-tools i{width:32px;height:25px;display:grid;place-items:center;font-style:normal;color:#bbb}.upe21-tools span{font-size:13px}
.upe21-news{position:relative;overflow:hidden;margin-top:21px;border-radius:10px;padding:18px 18px;box-shadow:0 8px 26px rgba(0,0,0,.24);transition:transform .18s,box-shadow .18s}
.upe21-news:after{content:"";position:absolute;width:120px;height:120px;border:1px solid rgba(0,0,0,.12);border-radius:50%;right:-62px;top:-54px}
.upe21-news:hover{transform:translateY(-2px);box-shadow:0 11px 30px rgba(0,0,0,.32)}
.upe21-news>i{width:37px;height:37px;border:1px solid rgba(0,0,0,.22);border-radius:50%;display:grid;place-items:center;flex:0 0 auto;font-size:18px}
.upe21-news strong{font-family:Manrope,Arial,sans-serif;font-size:16px;font-weight:800}.upe21-news p{line-height:1.45;max-width:270px}.upe21-news div>b{letter-spacing:.4px}
.upe21-social{border-top:1px solid #262626;margin-top:18px;padding-top:18px}.upe21-social a{width:29px;height:29px;border:1px solid #3b3b3b;border-radius:50%;display:grid;place-items:center;font-size:11px;transition:border-color .15s,color .15s,transform .15s}.upe21-social a:hover{border-color:var(--upe21-accent);color:var(--upe21-accent)!important;transform:translateY(-2px)}
@media(max-width:520px){.upe21-inner{padding:24px 22px 32px}.upe21-featured>.upe21-main:after{display:none}.upe21-subs{margin-left:31px}}

/* ===== v2.2.1 SAFE ICON PATCH =====
   CSS-only visual patch. No frontend PHP/rendering changes.
*/

/* Search icon: smaller and optically centered */
.upe21-search-icon{
  width:14px!important;
  height:14px!important;
  margin-left:17px!important;
  border:1.6px solid #a9a9a9!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  flex:0 0 14px!important;
}
.upe21-search-icon:after{
  width:5px!important;
  height:1.6px!important;
  right:-4px!important;
  bottom:-2px!important;
  background:#a9a9a9!important;
}

/* Common icon box. Existing character remains in DOM but is visually hidden. */
.upe21-main i,
.upe21-tools i{
  position:relative!important;
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  display:inline-grid!important;
  place-items:center!important;
  margin-right:7px!important;
  font-size:0!important;
  color:#dedede!important;
  box-sizing:border-box!important;
}
.upe21-featured>.upe21-main i{color:var(--upe21-accent)!important}

/* SECTION ICONS — selected by menu position, so PHP is untouched */
.upe21-item:nth-of-type(1)>.upe21-main i:before{
  content:""; width:11px;height:20px;background:currentColor;
  clip-path:polygon(55% 0,0 55%,42% 55%,30% 100%,100% 40%,58% 40%);
}
.upe21-item:nth-of-type(2)>.upe21-main i:before{
  content:""; width:20px;height:19px;
  background:
   linear-gradient(currentColor,currentColor) 1px 10px/4px 9px no-repeat,
   linear-gradient(currentColor,currentColor) 8px 6px/4px 13px no-repeat,
   linear-gradient(currentColor,currentColor) 15px 1px/4px 18px no-repeat;
}
.upe21-item:nth-of-type(3)>.upe21-main i:before{
  content:"$";font-size:18px!important;line-height:1;font-family:Arial,sans-serif;
  font-weight:700;color:currentColor;
  width:21px;height:21px;border:1.6px solid currentColor;border-radius:50%;
  display:grid;place-items:center;box-sizing:border-box;
}
.upe21-item:nth-of-type(4)>.upe21-main i:before{
  content:"";width:21px;height:18px;box-sizing:border-box;
  background:
   linear-gradient(currentColor,currentColor) 0 6px/21px 2px no-repeat,
   linear-gradient(currentColor,currentColor) 2px 16px/17px 2px no-repeat,
   linear-gradient(currentColor,currentColor) 4px 8px/2px 8px no-repeat,
   linear-gradient(currentColor,currentColor) 9.5px 8px/2px 8px no-repeat,
   linear-gradient(currentColor,currentColor) 15px 8px/2px 8px no-repeat;
  clip-path:polygon(50% 0,100% 28%,100% 100%,0 100%,0 28%);
}
.upe21-item:nth-of-type(5)>.upe21-main i:before{
  content:"";width:17px;height:21px;border:1.6px solid currentColor;border-radius:2px;
  box-sizing:border-box;
  background:
   linear-gradient(currentColor,currentColor) 4px 6px/9px 1.5px no-repeat,
   linear-gradient(currentColor,currentColor) 4px 10px/9px 1.5px no-repeat,
   linear-gradient(currentColor,currentColor) 4px 14px/6px 1.5px no-repeat;
}
.upe21-item:nth-of-type(6)>.upe21-main i:before{
  content:"";width:19px;height:13px;border:1.6px solid currentColor;
  border-top:0;border-radius:0 0 7px 7px;box-sizing:border-box;
}
.upe21-item:nth-of-type(6)>.upe21-main i:after{
  content:"";position:absolute;width:6px;height:7px;border:1.6px solid currentColor;
  border-left:0;border-radius:0 6px 6px 0;right:2px;top:11px;
}

/* TOOL ICONS — simple coherent line icons */
.upe21-tools a i:before{content:"";display:block;box-sizing:border-box;color:currentColor}
.upe21-tools a:nth-child(1) i:before{
 width:20px;height:18px;
 background:
 linear-gradient(currentColor,currentColor) 1px 11px/3px 7px no-repeat,
 linear-gradient(currentColor,currentColor) 8px 7px/3px 11px no-repeat,
 linear-gradient(currentColor,currentColor) 15px 2px/3px 16px no-repeat;
}
.upe21-tools a:nth-child(2) i:before{
 width:19px;height:18px;border:1.5px solid currentColor;border-radius:3px;
 background:linear-gradient(currentColor,currentColor) 0 5px/100% 1.5px no-repeat;
}
.upe21-tools a:nth-child(3) i:before{
 width:17px;height:20px;border:1.5px solid currentColor;border-radius:2px;
 background:
 linear-gradient(currentColor,currentColor) 4px 6px/8px 1.3px no-repeat,
 linear-gradient(currentColor,currentColor) 4px 10px/8px 1.3px no-repeat,
 linear-gradient(currentColor,currentColor) 4px 14px/6px 1.3px no-repeat;
}
.upe21-tools a:nth-child(4) i:before{
 width:13px;height:20px;background:currentColor;
 clip-path:polygon(56% 0,5% 54%,43% 54%,31% 100%,96% 39%,59% 39%);
}
.upe21-tools a:nth-child(5) i:before{
 width:21px;height:16px;
 background:
 linear-gradient(145deg,transparent 0 37%,currentColor 38% 45%,transparent 46% 100%),
 linear-gradient(35deg,transparent 0 50%,currentColor 51% 58%,transparent 59% 100%);
}

/* Keep spacing refined */
.upe21-main{min-height:45px!important}
.upe21-tools a{min-height:39px}
@media(max-width:520px){
 .upe21-main i,.upe21-tools i{width:29px!important;min-width:29px!important;margin-right:5px!important}
}

/* ===== v2.2.2 MICRO PATCH =====
   Only two visual corrections over stable v2.2.1.
*/

/* SEARCH: remove the old drawn magnifier entirely and rebuild a smaller one */
.upe21-search > span{
  font-size:0!important;
  line-height:0!important;
}
.upe21-search-icon{
  position:relative!important;
  display:block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  flex:0 0 18px!important;
  margin:0 0 0 16px!important;
  border:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
  transform:none!important;
}
.upe21-search-icon:before{
  content:""!important;
  position:absolute!important;
  left:1px!important;
  top:1px!important;
  width:11px!important;
  height:11px!important;
  border:1.6px solid #b7b7b7!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  background:transparent!important;
}
.upe21-search-icon:after{
  content:""!important;
  position:absolute!important;
  width:6px!important;
  height:1.6px!important;
  left:11px!important;
  top:12px!important;
  right:auto!important;
  bottom:auto!important;
  background:#b7b7b7!important;
  border:0!important;
  border-radius:2px!important;
  transform:rotate(45deg)!important;
  transform-origin:left center!important;
}
.upe21-search input{
  padding-left:10px!important;
}

/* FUERA DE AGENDA: replace cup-like icon with a clean microphone */
.upe21-item:nth-of-type(6)>.upe21-main i:before{
  content:""!important;
  position:absolute!important;
  width:9px!important;
  height:15px!important;
  left:11px!important;
  top:4px!important;
  border:1.7px solid currentColor!important;
  border-radius:7px!important;
  background:transparent!important;
  box-sizing:border-box!important;
  clip-path:none!important;
}
.upe21-item:nth-of-type(6)>.upe21-main i:after{
  content:""!important;
  position:absolute!important;
  width:17px!important;
  height:12px!important;
  left:7px!important;
  top:10px!important;
  right:auto!important;
  border:1.7px solid currentColor!important;
  border-top:0!important;
  border-radius:0 0 10px 10px!important;
  box-sizing:border-box!important;
  background:
    linear-gradient(currentColor,currentColor) center 9px/1.7px 7px no-repeat,
    linear-gradient(currentColor,currentColor) center bottom/9px 1.7px no-repeat!important;
}

/* Keep the two corrections proportionate on narrow screens */
@media(max-width:520px){
  .upe21-search-icon{margin-left:15px!important}
  .upe21-item:nth-of-type(6)>.upe21-main i:before{left:10px!important}
  .upe21-item:nth-of-type(6)>.upe21-main i:after{left:6px!important}
}
