/* Correções responsivas da seção Tech: grade, navegação e anúncios. */
.gi-editorial{width:100%;max-width:100%;overflow-x:clip}
.gi-editorial .gi-head,.gi-editorial .gi-nav,.gi-editorial .gi-wrap,.gi-editorial .gi-foot{width:100%;min-width:0}
.gi-editorial .gi-nav{position:sticky;top:0;z-index:60;display:flex;flex-wrap:nowrap;align-items:center;gap:6px;min-height:48px;padding:6px 20px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;overscroll-behavior-x:contain;scrollbar-width:thin;box-shadow:0 1px 3px #17202f12}
.gi-editorial .gi-nav a{display:inline-flex;flex:0 0 auto;align-items:center;min-height:34px;padding:5px 11px;border-radius:999px;font-size:14px;white-space:nowrap}
.gi-editorial .gi-nav a[aria-current="page"]{background:#fff1e6;color:#9a3412;text-decoration:none;box-shadow:inset 0 0 0 1px #fed7aa}
.gi-editorial .gi-opening{align-items:stretch}
.gi-editorial .gi-opening>div:first-child{display:flex;min-width:0}
.gi-editorial .gi-opening .gi-hero{display:flex;flex:1 1 auto;width:100%;height:100%;min-width:0;margin:0}
.gi-editorial .gi-opening .gi-hero>a{display:flex;flex-direction:column;width:100%;height:100%;min-width:0}
.gi-editorial .gi-opening .gi-hero img{flex:1 1 auto;width:100%;min-height:250px;max-height:370px;aspect-ratio:auto;object-fit:cover}
.gi-editorial .gi-opening .gi-hero small{margin-top:14px}
.gi-editorial .gi-opening .gi-hero h2,.gi-editorial .gi-opening .gi-hero p{flex:0 0 auto}
.gi-editorial .gi-secondary{grid-template-rows:repeat(3,minmax(0,1fr));padding-top:0}
.gi-editorial .gi-secondary .gi-card{display:flex;flex-direction:column;justify-content:center;min-width:0;overflow-wrap:anywhere}
.gi-editorial .gi-secondary .gi-card{padding:12px 14px}
.gi-editorial .gi-secondary .gi-card h2{margin:5px 0;font-size:19px;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.gi-editorial .gi-secondary .gi-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:3px 0 0;font-size:14px;line-height:1.4}
.gi-editorial .gi-columns aside a.gi-category{display:none}
.gi-editorial .gi-recent-grid{grid-auto-rows:1fr;align-items:stretch}
.gi-editorial .gi-recent-grid .gi-card{display:flex;flex-direction:column;height:100%;min-width:0;overflow-wrap:anywhere}
.gi-editorial .gi-card-media,.gi-editorial .gi-recent-grid .gi-card>a:has(img){display:block;width:100%;max-width:100%;aspect-ratio:16/9;overflow:hidden;background:#fff}
.gi-editorial .gi-recent-grid .gi-card img{display:block;width:100%;max-width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}
.gi-editorial .gi-recent-grid .gi-card img.gi-placeholder-image,.gi-editorial .gi-grid .gi-card img.gi-placeholder-image{object-fit:contain;background:#fff;padding:18%}
.gi-editorial .gi-recent-grid .gi-card:not(:has(img))::before,.gi-editorial .gi-grid .gi-card:not(:has(img))::before{content:"";display:block;width:100%;aspect-ratio:16/9;background:#fff url('/assets/img/gi-20261112.svg') center/contain no-repeat;border:1px solid var(--gi-line);margin-bottom:12px}
.gi-editorial .gi-recent-grid .gi-card h3,.gi-editorial .gi-grid .gi-card h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:3.75em}
.gi-editorial .gi-recent-grid .gi-card p,.gi-editorial .gi-grid .gi-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;min-height:5.8em;margin-top:auto}
.gi-editorial .gi-ads-slot{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:16px 0;padding:0;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff;contain:layout paint}
.gi-editorial .gi-ads-slot *{box-sizing:border-box;max-width:100%}
.gi-editorial .gi-ads-slot.is-filled{padding:10px}
.gi-editorial .gi-ads-slot .gi-ad-label{display:block;position:static;width:max-content;max-width:100%;margin:0 0 9px;padding:3px 8px;border-radius:4px;background:#f1f5f9;color:#64748b;font:600 10px/1.4 system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;overflow-wrap:anywhere}
.gi-editorial .gi-ads-slot .gi-ad-house{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;max-width:100%;min-width:0;padding:14px 16px;overflow:hidden}
.gi-editorial .gi-ads-slot .gi-ad-house{background:linear-gradient(120deg,#fffaf5,#f8fafc)}
.gi-editorial .gi-ads-slot .gi-ad-mark{display:block;line-height:1.1}
.gi-editorial .gi-ads-slot .gi-ad-house strong{font:650 16px/1.35 system-ui,sans-serif;color:#334155}
.gi-editorial .gi-ads-slot .gi-ad-house p{font:400 13px/1.5 system-ui,sans-serif;color:#64748b;margin:0}
.gi-editorial .gi-ads-slot .gi-ad-cta{display:inline-flex;gap:8px;margin-top:2px;color:#9a3412;text-decoration:none;font:600 12px/1.4 system-ui,sans-serif}
.gi-editorial .gi-ads-slot .gi-ad-house strong,.gi-editorial .gi-ads-slot .gi-ad-house p,.gi-editorial .gi-ads-slot .gi-ad-title,.gi-editorial .gi-ads-slot .gi-ad-text{width:100%;max-width:100%;overflow-wrap:anywhere}
.gi-editorial .gi-ads-slot .gi-ad-link{display:block;width:100%;max-width:100%;min-width:0;overflow:hidden}
.gi-editorial .gi-ads-slot img,.gi-editorial .gi-ads-slot .gi-ad-media{display:block;width:100%;max-width:100%;height:auto;max-height:320px;margin:0 auto;object-fit:contain}
.gi-editorial .gi-foot{min-width:0;overflow:hidden}
@media(max-width:760px){
 .gi-editorial .gi-head{gap:8px}
 .gi-editorial .gi-nav{top:0;min-height:42px;gap:4px;padding:4px 10px;scrollbar-width:none}
 .gi-editorial .gi-nav::-webkit-scrollbar{display:none}
 .gi-editorial .gi-nav a{min-height:32px;padding:4px 10px;font-size:13px}
 .gi-editorial .gi-breadcrumb{padding-top:7px}
 .gi-editorial .gi-wrap>h1{margin:5px 0 10px;font-size:28px}
 .gi-editorial .gi-opening{gap:10px}
 .gi-editorial .gi-opening .gi-hero{height:auto}
 .gi-editorial .gi-opening .gi-hero img{flex:0 0 auto;min-height:0;max-height:230px;aspect-ratio:16/9}
 .gi-editorial .gi-opening .gi-hero small,.gi-editorial .gi-opening .gi-hero h2,.gi-editorial .gi-opening .gi-hero p{margin-left:14px;margin-right:14px}
 .gi-editorial .gi-opening .gi-hero h2{font-size:27px}
 .gi-editorial .gi-secondary{grid-template-rows:none;gap:8px}
 .gi-editorial .gi-secondary .gi-card{padding:12px 14px}
 .gi-editorial .gi-secondary .gi-card p{margin-bottom:0}
 .gi-editorial .gi-recent-grid{grid-auto-rows:1fr}
 .gi-editorial .gi-recent-grid .gi-card{min-height:0}
 .gi-editorial .gi-recent-grid .gi-card h3,.gi-editorial .gi-grid .gi-card h2{min-height:3.6em}
 .gi-editorial .gi-recent-grid .gi-card p,.gi-editorial .gi-grid .gi-card p{min-height:5em}
 .gi-editorial .gi-ads-slot{margin:12px 0;border-radius:7px}
 .gi-editorial .gi-ads-slot.is-filled{padding:8px}
 .gi-editorial .gi-ads-slot .gi-ad-house{padding:12px}
 .gi-editorial .gi-ads-slot img,.gi-editorial .gi-ads-slot .gi-ad-media{max-height:220px}
}
@media(prefers-reduced-motion:reduce){.gi-editorial .gi-nav{scroll-behavior:auto}}

/* Carrossel editorial leve da home Tech. */
.gi-tech-carousel{position:relative;width:100%;max-width:100%;height:clamp(330px,34vw,450px);border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#101827;box-shadow:0 8px 24px #17202f12}
.gi-tech-carousel-viewport{width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.gi-tech-carousel-viewport::-webkit-scrollbar{display:none}
.gi-tech-carousel-track{display:flex;width:100%;height:100%}
.gi-tech-slide{position:relative;flex:0 0 100%;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden}
.gi-tech-slide>a{position:absolute;inset:0;display:block;color:#fff;text-decoration:none}
.gi-tech-slide img{display:block;width:100%;height:100%;object-fit:cover}
.gi-tech-slide-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(12,20,32,.94) 0%,rgba(12,20,32,.58) 40%,rgba(12,20,32,0) 78%)}
.gi-tech-slide-copy{position:absolute;left:clamp(18px,4vw,42px);right:clamp(18px,8vw,78px);bottom:clamp(50px,7vw,70px);display:flex;flex-direction:column;gap:10px;color:white}
.gi-tech-slide-copy small{font:600 11px/1.4 system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#fed7aa}
.gi-tech-slide-copy strong{display:block;max-width:900px;font:700 clamp(24px,3.2vw,42px)/1.08 Georgia,serif;letter-spacing:-.025em;text-wrap:balance}
.gi-tech-slide-copy>span{max-width:740px;font:400 clamp(13px,1.2vw,16px)/1.5 system-ui,sans-serif;color:#e2e8f0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gi-tech-carousel-controls{position:absolute;inset:0;pointer-events:none}
.gi-tech-carousel-controls button{pointer-events:auto;border:1px solid #ffffff90;background:#101827b8;color:#fff;cursor:pointer}
.gi-tech-carousel-controls>[data-gi-prev],.gi-tech-carousel-controls>[data-gi-next]{position:absolute;top:46%;width:42px;height:42px;border-radius:50%;font-size:28px;line-height:1;display:grid;place-items:center;backdrop-filter:blur(8px)}
.gi-tech-carousel-controls>[data-gi-prev]{left:12px}.gi-tech-carousel-controls>[data-gi-next]{right:12px}
.gi-tech-carousel-dots{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px;align-items:center}
.gi-tech-carousel-dots button{width:10px;height:10px;padding:0;border-radius:50%;background:#ffffff78}
.gi-tech-carousel-dots button[aria-current=true]{width:25px;border-radius:8px;background:#f97316}
.gi-tech-carousel-controls button:focus-visible{outline:3px solid #fb923c;outline-offset:3px}
@media(max-width:767px){.gi-tech-carousel{height:clamp(320px,94vw,385px);border-radius:9px}.gi-tech-slide-copy{left:16px;right:52px;bottom:46px;gap:7px}.gi-tech-slide-copy strong{font-size:clamp(23px,7vw,30px);line-height:1.07}.gi-tech-slide-copy>span{-webkit-line-clamp:2;font-size:13px}.gi-tech-slide-shade{background:linear-gradient(0deg,rgba(12,20,32,.96) 0%,rgba(12,20,32,.64) 48%,rgba(12,20,32,.05) 100%)}.gi-tech-carousel-controls>[data-gi-prev],.gi-tech-carousel-controls>[data-gi-next]{width:34px;height:34px;font-size:23px;top:43%}.gi-tech-carousel-controls>[data-gi-prev],.gi-tech-carousel-controls>[data-gi-next]{display:none}.gi-tech-carousel-dots{bottom:12px}}
@media(prefers-reduced-motion:reduce){.gi-tech-carousel-viewport{scroll-behavior:auto}}

/* Shell Tech compartilhado entre home, editorias e matérias. */
.gi-tech-head{display:flex;align-items:center;gap:24px;max-width:1240px;margin:0 auto;padding:12px 18px;background:#fff;border-bottom:1px solid #e5e7eb}
.gi-tech-brand{display:flex;align-items:center;gap:12px;min-width:0;color:#111827;text-decoration:none}
.gi-tech-brand img{display:block;width:clamp(120px,14vw,165px);height:auto;max-height:44px}
.gi-tech-brand-copy{display:flex;flex-direction:column;line-height:1.1;border-left:2px solid #f97316;padding-left:11px}
.gi-tech-brand-copy small{font:700 9px/1.3 system-ui,sans-serif;letter-spacing:.12em;color:#64748b}
.gi-tech-brand-copy strong{font:700 20px/1.1 system-ui,sans-serif;color:#172033}
.gi-portal-return{font:600 12px/1.2 system-ui,sans-serif;color:#475569;text-decoration:none;white-space:nowrap}
.gi-tech-head form{display:flex;align-items:center;gap:6px;margin-left:auto}
.gi-tech-head form label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.gi-tech-head form input{width:min(24vw,260px);min-width:120px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:5px;font:14px system-ui,sans-serif}
.gi-tech-head form button{padding:8px 12px;border:0;border-radius:5px;background:#f97316;color:#fff;font:600 12px system-ui,sans-serif}
.gi-tech-article .gi-head,.gi-tech .gi-head{max-width:1240px}
.gi-tech-article .gi-nav,.gi-tech .gi-nav{position:sticky;top:0;z-index:900;background:#fff}
.gi-nav-divider{align-self:center;flex:0 0 1px;height:20px;background:#cbd5e1;margin:0 4px}
.gi-nav-more{position:relative;flex:0 0 auto}
.gi-nav-more summary{list-style:none;cursor:pointer;padding:10px 13px;color:#334155;font:600 13px/1 system-ui,sans-serif;white-space:nowrap}
.gi-nav-more summary::-webkit-details-marker{display:none}
.gi-nav-more-menu{position:absolute;right:0;top:100%;z-index:1200;min-width:210px;max-height:min(70vh,480px);overflow:auto;padding:7px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 12px 32px #0f172a26}
.gi-nav-more-menu a{display:block;padding:9px 11px;border-radius:5px;color:#334155;text-decoration:none;font:500 13px/1.2 system-ui,sans-serif;white-space:nowrap}
.gi-nav-more-menu a:hover,.gi-nav-more-menu a:focus-visible{background:#fff7ed;color:#c2410c}
.gi-nav-more-menu .gi-nav-more-home{font-weight:700;border-bottom:1px solid #e2e8f0;border-radius:0;margin-bottom:4px}
.gi-tech-article .noticia-header h1{font-family:inherit;font-size:36px;line-height:1.3;letter-spacing:normal}
.gi-category-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.gi-category-block.is-compact{padding-bottom:10px}
@media(max-width:767px){
 .gi-tech-head{gap:8px;flex-wrap:wrap;padding:8px 12px}
 .gi-tech-brand{gap:8px}.gi-tech-brand img{width:112px;max-height:34px}
 .gi-tech-brand-copy{padding-left:8px}.gi-tech-brand-copy strong{font-size:17px}
 .gi-portal-return{margin-left:auto;font-size:11px}
 .gi-tech-head form{order:3;width:100%;margin:0}
 .gi-tech-head form input{width:auto;min-width:0;flex:1}
 .gi-tech-article .gi-nav,.gi-tech .gi-nav{top:0}
 .gi-nav-more summary{padding:9px 11px}
 .gi-tech-article .noticia-header h1{font-family:inherit;font-size:28px;line-height:1.3}
}
@media(max-width:380px){.gi-tech-brand img{width:95px}.gi-tech-brand-copy strong{font-size:15px}.gi-portal-return{font-size:10px}}

/* A legenda do carrossel fica abaixo da foto em celulares; a faixa continua deslizável. */
@media(max-width:767px){
 .gi-tech-carousel{height:auto;overflow:hidden;background:#fff}
 .gi-tech-carousel-viewport{height:auto}
 .gi-tech-carousel-track{height:auto;align-items:stretch}
 .gi-tech-slide{height:auto;overflow:hidden;background:#fff}
 .gi-tech-slide>a{position:relative;inset:auto;display:flex;flex-direction:column;color:#172033}
 .gi-tech-slide img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
 .gi-tech-slide-shade{display:none}
 .gi-tech-slide-copy{position:static;gap:5px;padding:10px 13px 13px;color:#172033}
 .gi-tech-slide-copy small{font-size:9px;color:#c2410c}
 .gi-tech-slide-copy strong{font-family:inherit;font-size:clamp(17px,5.2vw,21px);font-weight:700;line-height:1.2;letter-spacing:-.015em}
 .gi-tech-slide-copy>span{color:#475569;font-size:12px;line-height:1.35;-webkit-line-clamp:2}
 .gi-tech-carousel-controls{position:relative;inset:auto;display:flex;min-height:34px;align-items:center;justify-content:center;background:#fff}
 .gi-tech-carousel-dots{position:static;transform:none}
 .gi-tech-carousel-controls>[data-gi-prev],.gi-tech-carousel-controls>[data-gi-next]{display:none}
}

/* A marca Tech diferencia-se pela cor e pelo selo; títulos seguem a família do portal. */
.gi-editorial h1,.gi-editorial h2,.gi-editorial h3,.gi-editorial h4,
.gi-editorial .gi-tech-slide-copy strong,.gi-editorial .noticia-header h1{
 font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}
.gi-editorial .noticia-header h1{font-size:36px;line-height:1.3;letter-spacing:normal}
@media(max-width:767px){.gi-editorial .noticia-header h1{font-size:28px;line-height:1.3}}
.gi-tech-article .noticia-single .noticia-header h1{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;font-size:36px;line-height:1.3;letter-spacing:normal}
@media(max-width:767px){.gi-tech-article .noticia-single .noticia-header h1{font-size:28px;line-height:1.3}}

/* Lockup GI Tech compacto, vetorial e centrado nas páginas de Tecnologia. */
.gi-tech-brand{flex-direction:column;justify-content:center;align-items:center;gap:1px;width:max-content;flex:0 0 auto;text-align:center}
.gi-tech-brand img{display:block;width:56px;height:56px;max-width:none;max-height:none;object-fit:contain}
.gi-tech-word{display:block;color:#ea580c;font:800 17px/.95 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;letter-spacing:.015em;text-transform:lowercase}
@media(max-width:767px){.gi-tech-head{padding:5px 12px;gap:6px}.gi-tech-brand{gap:1px}.gi-tech-brand img{width:42px;height:42px}.gi-tech-word{font-size:14px}.gi-portal-return{font-size:10px}}

/* Carrossel reutilizado na home geral, com ADS ocupando o mesmo bloco quando ativa. */
.gi-home-carousel{margin:0 0 26px}
.gi-home-slide-placeholder{position:absolute;inset:0;display:block;width:100%;height:100%}
.gi-home-carousel-ad{position:relative;width:100%;max-width:100%;aspect-ratio:16/9;margin:0 0 26px;overflow:hidden;border-radius:12px;background:#fff}
.gi-home-carousel-ad:empty,.gi-home-carousel-ad:has(.gi-ads-slot.is-loading){display:none}
.gi-home-carousel-ad .gi-ads-carrossel{width:100%;height:100%;aspect-ratio:auto}
@media(max-width:767px){.gi-home-carousel{margin-bottom:16px}.gi-home-carousel-ad{margin-bottom:16px;border-radius:9px}}
@media(max-width:768px){
 .main-content:has(.gi-home-carousel){grid-template-columns:minmax(0,1fr)}
 .main-content:has(.gi-home-carousel)>.content,.gi-home-carousel{min-width:0;width:100%}
 .main-content:has(.gi-home-carousel)>.sidebar{min-width:0}
}

.gi-home-slide-title{display:block;max-width:900px;margin:0;color:inherit;font:700 clamp(24px,3.2vw,42px)/1.08 Georgia,serif;letter-spacing:-.025em;text-wrap:balance}
@media(max-width:767px){.gi-home-slide-title{font:700 clamp(17px,5.2vw,21px)/1.2 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;letter-spacing:-.015em}}


/* Topo Tech compacto: marca, faixa de editorias e busca expansível. */
.gi-editorial .gi-tech-nav{position:sticky;top:0;z-index:950;display:grid;grid-template-columns:auto minmax(0,1fr) 40px 56px;grid-template-areas:"brand links search portal";align-items:center;gap:24px;column-gap:8px;width:100%;max-width:none;min-height:82px;margin:0;padding:6px max(24px,calc((100vw - 1600px)/2 + 24px));overflow:visible;border-top:3px solid var(--gi-orange,#f97316);border-bottom:1px solid #e2e8f0;background:#fff;box-shadow:0 1px 4px #17202f12}
.gi-editorial .gi-tech-nav .gi-tech-brand{grid-area:brand;margin-right:16px;padding:0;border-radius:0;min-height:0;background:transparent;box-shadow:none}
.gi-tech-navlinks{grid-area:links;display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;white-space:nowrap;overscroll-behavior-x:contain}
.gi-tech-navlinks::-webkit-scrollbar{display:none}
.gi-editorial .gi-tech-navlinks a{display:inline-flex;flex:0 0 auto;align-items:center;min-height:36px;padding:7px 8px 5px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#334155;text-decoration:none;font:600 13px/1.15 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;white-space:nowrap}
.gi-editorial .gi-tech-navlinks a[aria-current="page"]{border-bottom-color:#f97316;background:transparent;color:#c2410c;font-weight:750;box-shadow:none}
.gi-editorial .gi-tech-nav .gi-tech-portal-link{grid-area:portal;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:56px;height:74px;padding:2px;color:#ea580c;text-decoration:none;white-space:nowrap}.gi-editorial .gi-tech-portal-link svg{display:block;width:28px;height:28px;fill:currentColor}.gi-editorial .gi-tech-portal-link span{font:650 11px/1 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif}.gi-editorial .gi-tech-portal-link:hover,.gi-editorial .gi-tech-portal-link:focus-visible{color:#c2410c}
.gi-editorial .gi-tech-nav .gi-nav-divider{align-self:center}
.gi-editorial .gi-tech-nav .gi-nav-more summary{padding:9px 10px;font:600 13px/1 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif}
.gi-editorial .gi-tech-navlinks .gi-portal-return{margin:0;padding:5px 8px;color:#87909e;font:500 11px/1.2 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif}
.gi-editorial .gi-tech-navlinks .gi-portal-return:hover{color:#475569}
.gi-tech-search{position:relative;grid-area:search;top:auto;right:auto;z-index:980;display:flex;align-items:center;gap:4px;width:40px;height:40px;margin:0;padding:3px;transform:none;border:1px solid transparent;border-radius:22px;background:transparent;transition:width .24s ease,background-color .2s,border-color .2s,box-shadow .2s}
.gi-tech-search.is-open{position:absolute;grid-area:auto!important;top:50%;right:calc(max(24px,calc((100vw - 1600px)/2 + 24px)) + 64px);transform:translateY(-50%);width:min(380px,calc(100vw - 28px));border-color:#cbd5e1;background:#fff;box-shadow:0 8px 26px #17202f22}
.gi-tech-search input{width:0;min-width:0;height:32px;padding:0;border:0;outline:0;opacity:0;visibility:hidden;background:transparent;color:#17202f;font:15px/1.3 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;transition:opacity .16s,width .24s}
.gi-tech-search.is-open input{flex:1;width:auto;padding:0 8px;opacity:1;visibility:visible}
.gi-tech-search input::-webkit-search-cancel-button{cursor:pointer}
.gi-tech-search-toggle{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#334155;cursor:pointer}
.gi-tech-search-toggle:hover{background:#fff1e6;color:#c2410c}
.gi-tech-search-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gi-search-close{display:none}
.gi-tech-search.is-open .gi-search-icon{display:none}
.gi-tech-search.is-open .gi-search-close{display:block}
.gi-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:768px) and (max-width:1100px){
 .gi-editorial .gi-tech-nav{grid-template-columns:minmax(0,1fr) 40px 56px;grid-template-areas:"brand search portal" "links links links";gap:0 10px;padding-top:6px;padding-bottom:3px}
 .gi-editorial .gi-tech-navlinks{width:100%;min-height:38px;justify-content:flex-start}
}
@media(max-width:767px){
 .gi-editorial .gi-tech-nav{grid-template-columns:minmax(0,1fr) 36px 36px;grid-template-areas:"brand search portal" "links links links";gap:0;min-height:0;padding:6px 8px 0}
 .gi-editorial .gi-tech-nav .gi-tech-brand{justify-self:start;gap:0;margin-right:0}
 .gi-editorial .gi-tech-nav .gi-tech-brand img{width:36px;height:36px}
 .gi-editorial .gi-tech-nav .gi-tech-word{font-size:12px;line-height:1}
 .gi-editorial .gi-tech-navlinks{width:100%;min-height:38px;justify-content:flex-start;gap:2px;padding:4px 0 3px}
 .gi-editorial .gi-tech-navlinks a{min-height:31px;padding:4px 8px 3px;font-size:12px}
  .gi-editorial .gi-tech-nav .gi-nav-divider{height:17px;margin:0 2px}
 .gi-editorial .gi-tech-nav .gi-nav-more summary{padding:8px 8px;font-size:12px}
 .gi-tech-search{position:absolute;grid-area:auto!important;top:4px;right:48px;width:36px;height:36px;padding:2px;transform:none}
 .gi-tech-search.is-open{width:calc(100vw - 56px)}
 .gi-tech-search-toggle{flex-basis:30px;width:30px;height:30px}
 .gi-tech-search-toggle svg{width:19px;height:19px}
 .gi-tech-search input{height:29px;font-size:14px}
 .gi-tech-search.is-open input{padding-inline:7px}
}
@media(prefers-reduced-motion:reduce){.gi-tech-search,.gi-tech-search input{transition:none}}


/* Busca móvel cabe na linha e o atalho Portal usa a cor de destaque da Tech. */
.gi-editorial .gi-tech-nav .gi-tech-portal-link{z-index:981}
@media(max-width:767px){
 .gi-editorial .gi-tech-nav .gi-tech-search{grid-area:auto!important;box-sizing:border-box;left:auto;right:48px;width:36px;max-width:none;min-width:0}
 .gi-editorial .gi-tech-nav .gi-tech-search.is-open{left:8px;right:48px;width:auto;max-width:none;min-width:0}
 .gi-editorial .gi-tech-nav .gi-tech-search input{box-sizing:border-box;max-width:100%;min-width:0;flex:1 1 0%}
 .gi-editorial .gi-tech-nav .gi-tech-search-toggle{box-sizing:border-box;flex:0 0 30px;position:relative;z-index:2}
 .gi-editorial .gi-tech-nav .gi-tech-portal-link{width:36px;height:48px;gap:2px}
 .gi-editorial .gi-tech-nav .gi-tech-portal-link svg{width:20px;height:20px}
 .gi-editorial .gi-tech-nav .gi-tech-portal-link span{font-size:9px}
}
.gi-editorial .gi-wrap{max-width:1600px}

/* Simetria da marca e do atalho Portal; lupa alinhada ao centro dos ícones. */
.gi-editorial .gi-tech-nav{grid-template-columns:auto minmax(0,1fr) 56px 56px}
.gi-editorial .gi-tech-nav .gi-tech-portal-link{gap:1px;width:56px;height:73.15px;padding:0}
.gi-editorial .gi-tech-nav .gi-tech-portal-link svg{width:56px;height:56px}
.gi-editorial .gi-tech-nav .gi-tech-portal-link span{font:800 17px/.95 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;letter-spacing:.015em}
.gi-tech-search{width:56px;height:56px;padding:2px;gap:0;transform:translateY(-9.6px)}
.gi-tech-search-toggle{flex-basis:50px;width:50px;height:50px}
.gi-tech-search-toggle svg{width:52px;height:52px}
.gi-tech-search.is-open{top:calc(50% - 9.6px)}
@media(min-width:768px){.gi-tech-search.is-open{transform:translateY(-50%)}}
@media(min-width:768px) and (max-width:1100px){.gi-editorial .gi-tech-nav{grid-template-columns:minmax(0,1fr) 56px 56px}}
@media(max-width:767px){
 .gi-editorial .gi-tech-nav{grid-template-columns:minmax(0,1fr) 36px 36px}
 .gi-editorial .gi-tech-nav .gi-tech-portal-link{width:36px;height:48px;gap:0}
 .gi-editorial .gi-tech-nav .gi-tech-portal-link svg{width:36px;height:36px}
 .gi-editorial .gi-tech-nav .gi-tech-portal-link span{font:800 12px/1 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;letter-spacing:.015em}
 .gi-editorial .gi-tech-nav .gi-tech-search{top:6px;right:48px;width:36px;height:36px;padding:0;transform:none}
 .gi-editorial .gi-tech-nav .gi-tech-search-toggle{flex:0 0 36px;width:36px;height:36px}
 .gi-editorial .gi-tech-nav .gi-tech-search-toggle svg{width:32px;height:32px}
}
