/* Antenna Laboratory — layout responsive compartido, solo páginas del laboratorio. */
.lab-header,.lab-header *{box-sizing:border-box}
.lab-header{position:sticky;top:0;z-index:10000;width:100%;background:#fff;color:#111;font:600 14px/1.3 Arial,Helvetica,sans-serif;border-bottom:1px solid #f0f0f0;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.lab-header-inner{max-width:1440px;margin:auto;min-height:78px;padding:7px clamp(20px,3.7vw,54px);display:flex;align-items:center;justify-content:space-between;gap:24px}
.lab-brand{display:flex;align-items:center;gap:18px;flex-shrink:0;color:#111!important;text-decoration:none!important;white-space:nowrap}
.lab-brand img{width:56px;height:56px;object-fit:contain;display:block}.lab-brand>span{display:grid;line-height:1.03;font-weight:400;font-size:16px}.lab-brand strong{font-size:21px;font-weight:600}
.lab-main-navigation{min-width:0}.lab-header ul{list-style:none;margin:0;padding:0}.lab-nav-list{display:flex;align-items:center;gap:clamp(14px,1.8vw,28px)}.lab-header li{position:relative;margin:0;padding:0}
.lab-header a,.lab-header summary{color:#111;text-decoration:none;background:transparent;border:0;cursor:pointer}.lab-header summary{list-style:none}.lab-header summary::-webkit-details-marker{display:none}
.lab-nav-list>li>a,.lab-nav-list>li>details>summary{display:flex;align-items:center;gap:6px;padding:18px 0;white-space:nowrap;font-size:14px;font-weight:600}
.lab-header a:hover,.lab-header summary:hover{color:#075a7a}.lab-header a:focus-visible,.lab-header summary:focus-visible,.lab-menu-toggle:focus-visible{outline:2px solid #075a7a;outline-offset:4px;border-radius:3px}
.lab-chevron{width:0;height:0;border-left:3.5px solid transparent;border-right:3.5px solid transparent;border-top:4px solid currentColor;flex:none}.lab-disclosure[open]>summary>.lab-chevron{transform:rotate(180deg)}
.lab-nav-list>li>details>.lab-submenu{position:absolute;top:100%;left:0;min-width:240px;width:max-content;max-width:330px;padding:8px;background:#fff;border:1px solid #e6edf0;border-radius:5px;box-shadow:0 8px 26px #102b3c24}.lab-nav-list>li:nth-last-child(-n+2)>details>.lab-submenu{left:auto;right:0}
.lab-submenu a,.lab-submenu summary,.lab-disabled{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:10px 12px;white-space:normal;font-size:12px;line-height:1.35;border-radius:3px}.lab-submenu a:hover,.lab-submenu summary:hover{background:#edf5f8}.lab-submenu .lab-submenu{padding-left:12px;border-left:2px solid #d6e5ed;margin-left:12px}.lab-submenu img{width:46px;height:36px;object-fit:contain}.lab-project-mark{font-size:9px;letter-spacing:.03em;color:#075a7a}.lab-disabled{color:#70777d;cursor:default;flex-wrap:wrap}.lab-disabled small{font-weight:400;font-size:10px}
.lab-menu-toggle{display:none;align-items:center;gap:8px;padding:10px 12px;border:1px solid #cdd8de;border-radius:5px;background:white;color:#111;font:600 14px Arial;cursor:pointer}.lab-burger{display:grid;gap:4px}.lab-burger i{display:block;width:19px;height:2px;background:currentColor}
/* General: prevent intrinsic content sizes from widening the page. */
html:has(body.lab-responsive){scroll-padding-top:88px}
@media(max-width:1199px){html:has(body.lab-responsive){scroll-padding-top:82px}}
body.lab-responsive{margin:0;min-width:0;max-width:100%;overflow-wrap:break-word}.lab-responsive .elementor,.lab-responsive .e-con,.lab-responsive .e-con-inner,.lab-responsive .elementor-widget,.lab-responsive .elementor-widget-container{min-width:0;max-width:100%}.lab-responsive img,.lab-responsive video,.lab-responsive iframe{max-width:100%}.lab-responsive img{height:auto}.lab-responsive .elementor-posts-container{min-width:0;grid-template-columns:repeat(var(--lab-news-cols,3),minmax(0,1fr))}.lab-responsive .elementor-post__card{min-width:0}.lab-responsive .elementor-post__title{overflow-wrap:anywhere}.lab-responsive .st-post-content,.lab-responsive .elementor-widget-text-editor{overflow-wrap:anywhere}.lab-responsive .lab-table-scroll{max-width:100%;overflow-x:auto}.lab-responsive pre{max-width:100%;overflow:auto}
.lab-responsive.home .elementor-element-5d0dee5a{--lab-news-cols:4}.lab-responsive:not(.home) .elementor-widget-posts{--lab-news-cols:3}
@media(max-width:1199px){.lab-header-inner{flex-wrap:wrap;gap:0;min-height:70px;padding:8px clamp(16px,4vw,36px)}.lab-menu-toggle{display:inline-flex}.lab-main-navigation{display:none;flex:1 0 100%;width:100%;padding:9px 0 12px;max-height: min(72vh,650px);overflow:auto;overscroll-behavior:contain}.lab-header.is-menu-open .lab-main-navigation{display:block}.lab-nav-list{display:block}.lab-nav-list>li{border-top:1px solid #e8eef1}.lab-nav-list>li>a,.lab-nav-list>li>details>summary{padding:13px 8px;min-height:44px;justify-content:space-between}.lab-nav-list>li>details>.lab-submenu{position:static;min-width:0;width:100%;max-width:none;box-shadow:none;border:0;border-radius:0;padding:0 0 6px 12px}.lab-submenu a,.lab-submenu summary,.lab-disabled{font-size:13px;min-height:44px}.lab-submenu img{margin-right:auto}.lab-brand img{width:48px;height:48px}.lab-brand{gap:12px}.lab-brand strong{font-size:19px}.lab-brand>span{font-size:14px}.lab-responsive.home .elementor-element-5d0dee5a{--lab-news-cols:3}}
@media(max-width:1024px){.lab-responsive.home .elementor-element-5d0dee5a,.lab-responsive:not(.home) .elementor-widget-posts{--lab-news-cols:2}.lab-responsive .st-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.lab-responsive .elementor-element-4bb01ad7{--flex-wrap:wrap;flex-wrap:wrap}.lab-responsive .elementor-element-4bb01ad7>.e-con{--width:calc(50% - 12px);width:calc(50% - 12px);margin-inline:0;min-width:0}.lab-responsive .elementor-element-4bb01ad7>.elementor-element-7d08d2{margin-top:0!important}}
@media(max-width:767px){.lab-responsive.home .elementor-element-5d0dee5a,.lab-responsive:not(.home) .elementor-widget-posts{--lab-news-cols:1}.lab-responsive .e-parent{max-width:100%;margin-inline:0!important}.lab-responsive .elementor-element-4bb01ad7>.e-con{--width:100%;width:100%}.lab-responsive .elementor-element-6c1cdee8{--min-height:440px;min-height:440px;padding:36px 20px;--padding-top:36px;--padding-bottom:36px;--padding-left:20px;--padding-right:20px;justify-content:center}.lab-responsive .elementor-element-6c1cdee8>.elementor-element-30a068cf{--width:100%;width:100%;margin:0;--padding-left:0;--padding-right:0}.lab-responsive .elementor-element-6c1cdee8 .elementor-widget-spacer{display:none}.lab-responsive .elementor-element-35750dbe .elementor-heading-title{font-size:clamp(27px,7vw,36px);line-height:1.2}.lab-responsive .elementor-element-35750dbe{width:100%;max-width:100%}.lab-responsive .elementor-element-57ccd0ab .elementor-heading-title{font-size:16px;line-height:1.4}.lab-responsive .elementor-heading-title{overflow-wrap:break-word}.lab-responsive .st-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-responsive .st-post-content .wp-block-gallery figure{flex-basis:calc(50% - 8px)}.lab-responsive .st-post-content p{text-align:left!important}.lab-responsive .elementor-post__text{padding-inline:18px}.lab-responsive .elementor-widget-text-editor a{overflow-wrap:anywhere}}
@media(max-width:359px){.lab-brand{gap:8px}.lab-brand img{width:40px;height:40px}.lab-brand strong{font-size:17px}.lab-brand>span{font-size:12px}.lab-menu-toggle{padding:9px}.lab-header-inner{padding-inline:12px}}
/* Keep the homepage cards readable and within complete rows. */
.lab-responsive.home .elementor-element-539f0eaa{--padding-left:clamp(16px,3.5vw,48px);--padding-right:clamp(16px,3.5vw,48px)}
.lab-responsive.home .elementor-element-5d0dee5a .elementor-posts-container{grid-template-columns:repeat(var(--lab-news-cols,4),minmax(0,1fr));column-gap:clamp(16px,2vw,28px)}
.lab-responsive.home .elementor-element-5d0dee5a .elementor-post__title,.lab-responsive.home .elementor-element-5d0dee5a .elementor-post__title a{font-size:clamp(14px,1.15vw,17px);line-height:1.3}
@media(min-width:768px) and (max-width:1024px){.lab-responsive .elementor-element-4bb01ad7{--gap:24px;gap:24px}}
@media(max-width:767px){.lab-responsive .elementor-element-4bb01ad7{--gap:18px;gap:18px}.lab-responsive .elementor-element-4bb01ad7>.e-con{margin-inline:0!important}.lab-responsive .elementor-element-6c1cdee8 .elementor-element-57ccd0ab{margin-top:18px}}

/* Fallback: navigation remains usable if JavaScript is disabled. */
@media(max-width:1199px){.lab-header:not(.lab-js) .lab-main-navigation{display:block}.lab-header:not(.lab-js) .lab-menu-toggle{display:none}}

/* v1.1: mobile-first layout for homepage sections inherited from Elementor.
   Scoped to the laboratory homepage; project sites and desktop are unchanged. */
@media (max-width:1024px){
 body.lab-responsive.home .elementor-9 .elementor-element-6e940258{--flex-direction:column;--flex-wrap:nowrap;--gap:24px;--padding-top:36px;--padding-bottom:36px;--padding-left:clamp(16px,5vw,40px);--padding-right:clamp(16px,5vw,40px);--margin-top:28px;flex-direction:column;flex-wrap:nowrap;gap:24px;padding:36px clamp(16px,5vw,40px);}
 body.lab-responsive.home .elementor-9 .elementor-element-6e940258>.e-con{--width:100%;--padding-left:0px;--padding-right:0px;--padding-top:0px;--padding-bottom:0px;width:100%;max-width:100%;min-width:0;flex:0 0 auto;margin:0;padding:0;}
 body.lab-responsive.home .elementor-9 .elementor-element-771d8a0e{--container-widget-width:100%;width:100%;max-width:100%;}
 body.lab-responsive.home .elementor-9 .elementor-element-771d8a0e .elementor-heading-title{font-size:clamp(24px,3.5vw,32px);line-height:1.22;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;text-align:left;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;align-items:start;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4>.e-con,body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4>.e-con>.e-con-inner{display:contents;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4 .elementor-widget-image-box{width:100%;min-width:0;max-width:100%;margin:0;align-self:start;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4 .elementor-widget-image-box>.elementor-widget-container{padding:0;margin:0;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4 .elementor-image-box-wrapper{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4 .elementor-image-box-img{width:100%;max-width:100%;margin:0!important;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4 .elementor-image-box-img img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#171717;border-radius:4px;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4 .elementor-image-box-title{font-size:15px;line-height:1.4;margin:0;word-break:normal;overflow-wrap:normal;hyphens:none;}
 body.lab-responsive.home .elementor-9 .elementor-element-7d817f32{display:none;}
 body.lab-responsive.home .elementor-9 .elementor-element-97cd45d{--margin-top:0px;--padding-left:0px;--padding-right:0px;margin:0!important;padding:0;}
 body.lab-responsive.home .elementor-9 .elementor-element-97cd45d>.elementor-element-1e7a9410,body.lab-responsive.home .elementor-9 .elementor-element-97cd45d>.elementor-element-42aa813b{display:none;}
 body.lab-responsive.home .elementor-9 .elementor-element-776b5342{--width:100%;width:100%;flex:1 1 100%;--padding-left:24px;--padding-right:24px;--padding-top:32px;--padding-bottom:32px;padding:32px 24px;}
 body.lab-responsive.home .elementor-9 .elementor-element-5893352>.e-con-inner{--flex-direction:column;display:flex;flex-direction:column;gap:24px;}
 body.lab-responsive.home .elementor-9 .elementor-element-5893352>.e-con-inner>.e-con{--width:100%;width:100%;max-width:100%;flex:0 0 auto;margin:0;}
 body.lab-responsive.home .elementor-9 .elementor-element-5893352{--padding-left:24px;--padding-right:24px;--padding-top:32px;--padding-bottom:24px;padding:32px 24px 24px;}
 body.lab-responsive.home .elementor-9 .elementor-element-5893352 .elementor-widget-spacer{display:none;}
 body.lab-responsive.home .elementor-9 .elementor-element-5893352 .elementor-heading-title{font-size:20px;line-height:1.3;word-break:normal;overflow-wrap:normal;}
 body.lab-responsive.home .elementor-9 .elementor-element-5893352 .elementor-widget-text-editor{font-size:15px;line-height:1.6;}
 body.lab-responsive.home .elementor-9 .elementor-element-268bd43 img{max-width:160px;height:auto;}
}
@media (max-width:767px){
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px;}
 body.lab-responsive.home .elementor-9 .elementor-element-7dcb03e4 .elementor-widget-image-box:last-child:is(.elementor-element-52453ef2){grid-column:1/-1;width:calc((100% - 16px)/2);justify-self:center;}
 body.lab-responsive.home .elementor-9 .elementor-element-35750dbe{--container-widget-width:100%;width:100%;max-width:100%;align-self:stretch;}
 body.lab-responsive.home .elementor-9 .elementor-element-35750dbe .elementor-heading-title{font-size:clamp(27px,7vw,36px);line-height:1.2;word-break:normal;overflow-wrap:normal;}
 body.lab-responsive.home .elementor-9 .elementor-element-57ccd0ab .elementor-heading-title{font-size:16px;line-height:1.45;}
 body.lab-responsive.home .elementor-9 .elementor-element-4b9295e0{--e-con-grid-template-columns:minmax(0,1fr);--e-con-grid-template-rows:auto;}
 body.lab-responsive.home .elementor-9 .elementor-element-4b9295e0>.e-con-inner{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:20px;padding:0;}
 body.lab-responsive.home .elementor-9 .elementor-element-4b9295e0 .elementor-widget{width:100%;min-width:0;max-width:100%;}
 body.lab-responsive.home .elementor-9 .elementor-element-4b9295e0 .elementor-widget-text-editor p{text-align:left;}
 body.lab-responsive.home .elementor-9 .elementor-element-539f0eaa{--padding-top:36px;--padding-bottom:36px;padding-block:36px;}
 body.lab-responsive.home .elementor-9 .elementor-element-389a995d .elementor-heading-title{font-size:26px;line-height:1.25;}
 body.lab-responsive.home .elementor-9 .elementor-element-d23d3c8{display:none;}
 body.lab-responsive.home .elementor-9 .elementor-element-610be0f8 .elementor-heading-title{font-size:24px;line-height:1.25;}
 body.lab-responsive.home .elementor-9 .elementor-element-415413ba{font-size:15px;line-height:1.55;}
}

/* v1.3 — header fixed to viewport, independent of Elementor wrappers. */
body.lab-responsive{--lab-header-height:79px;--lab-anchor-offset:90px;}
body.lab-responsive > #lab-header.lab-header{position:fixed!important;inset:0 0 auto 0!important;z-index:10000;width:100%;margin:0;box-shadow:0 2px 10px rgba(0,0,0,.08);}
body.lab-responsive > .lab-header-spacer{display:block;height:var(--lab-header-height);width:100%;flex:none;pointer-events:none;}
html:has(body.lab-responsive){scroll-padding-top:90px;}
@media(max-width:1199px){
 body.lab-responsive{--lab-header-height:71px;--lab-anchor-offset:82px;}
 html:has(body.lab-responsive){scroll-padding-top:82px;}
 body.lab-responsive > #lab-header .lab-main-navigation{max-height:calc(100vh - var(--lab-header-height));max-height:calc(100dvh - var(--lab-header-height));overflow-y:auto;overscroll-behavior:contain;}
}

/* v1.4 — institutional bar scrolls away; main navigation stays fixed. */
body.lab-responsive{--lab-institutional-offset:46px;}
.lab-institutional-bar{display:block;width:100%;background:#33335a;color:#fff;font:600 12px/1.4 Arial,Helvetica,sans-serif;}
.lab-institutional-inner{min-height:46px;max-width:1440px;margin:0 auto;padding:0 clamp(16px,3.7vw,54px);display:flex;align-items:center;justify-content:space-between;gap:10px 24px;}
.lab-institutional-links{display:flex;align-items:center;flex-wrap:wrap;gap:0;}
.lab-institutional-bar a{display:inline-flex;align-items:center;color:#fff!important;text-decoration:none!important;padding:7px 9px;min-height:36px;background:transparent!important;white-space:normal;}
.lab-institutional-links a:first-child{padding-left:0;}
.lab-institutional-links a+a{position:relative;}
.lab-institutional-links a+a::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#ffffff80;}
.lab-institutional-bar a:hover{text-decoration:underline!important;}
.lab-institutional-bar a:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.lab-institutional-school{padding-right:0!important;text-align:right;}
body.lab-responsive > #lab-header.lab-header{inset:var(--lab-institutional-offset) 0 auto 0!important;}
html:not(.lab-bar-ready) body.lab-responsive > #lab-header.lab-header{position:sticky!important;inset:0 0 auto 0!important;}
html:not(.lab-bar-ready) body.lab-responsive > .lab-header-spacer{display:none;}
@media(max-width:1199px){body.lab-responsive > #lab-header .lab-main-navigation{max-height:calc(100vh - var(--lab-header-height) - var(--lab-institutional-offset));max-height:calc(100dvh - var(--lab-header-height) - var(--lab-institutional-offset));}}
@media(max-width:600px){body.lab-responsive{--lab-institutional-offset:76px;}.lab-institutional-inner{min-height:76px;flex-direction:column;justify-content:center;gap:0;padding:3px 12px;}.lab-institutional-links{justify-content:center;}.lab-institutional-bar a{min-height:34px;padding:7px 10px;}.lab-institutional-links a:first-child{padding-left:10px;}.lab-institutional-school{padding:4px 10px 7px!important;min-height:30px!important;text-align:center;}}
