/* A graphic editorial panel replaces the extra Senate photograph. */
.portfolio-engineering65{position:relative;overflow:hidden;background:#152632;color:#f3f4f1;padding:clamp(26px,3vw,48px);min-height:440px;display:flex;flex-direction:column;justify-content:flex-end;border-top:3px solid #e6b916;isolation:isolate}
.portfolio-engineering65::before{content:'';position:absolute;inset:0;z-index:-2;background:repeating-linear-gradient(0deg,transparent 0 39px,#ffffff08 40px),repeating-linear-gradient(90deg,transparent 0 39px,#ffffff08 40px)}
.engineering-kicker65{font:11px/1.6 'IBM Plex Mono',monospace;letter-spacing:.1em;color:#e6b916;margin-bottom:auto}
.portfolio-engineering65 h3{font-size:clamp(28px,3vw,44px);line-height:1.15;max-width:16ch;margin:120px 0 26px}
.engineering-stages65{display:flex;flex-wrap:wrap;gap:18px 24px;border-top:1px solid #ffffff30;padding-top:18px}.engineering-stages65 span{font-size:12px}.engineering-stages65 b{display:block;color:#e6b916;font:18px 'IBM Plex Mono',monospace;margin-bottom:8px}
.portfolio-engineering65>a{color:#fff;font-size:13px;text-decoration:none;margin-top:30px}.portfolio-engineering65>a span{color:#e6b916;margin-left:16px}
.engineering-drawing65{position:absolute;right:28px;top:62px;width:160px;height:130px;opacity:.5;z-index:-1}.engineering-drawing65 span{display:block;position:absolute;border:1px solid #e6b916;width:100px;height:72px;transform:skewY(-24deg);right:0;top:0}.engineering-drawing65 span:nth-child(2){right:25px;top:26px}.engineering-drawing65 span:nth-child(3){right:50px;top:52px}.engineering-drawing65 i{position:absolute;right:50px;top:0;height:140px;border-left:1px dashed #d2dde5}
#grp-trayectoria .history-chapter:nth-child(10) .history-cover,#grp-trayectoria .history-chapter:nth-child(11) .history-cover{object-position:center 34%}
@media(max-width:900px){
 /* Restore the full-width photograph and two secondary photographs. */
 body[data-foundation] #ecko .front-layout64{display:block!important;height:auto!important;min-height:0!important;margin-top:26px}
 body[data-foundation] #ecko .front-layout64>.foundation-metrics{height:auto!important;overflow:visible!important}
 body[data-foundation] #ecko .front-layout64>.et-gallery-bar{margin-top:28px!important;padding:18px 0!important}
 body[data-foundation] #ecko .front-layout64>.proy-fotos{display:grid!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important;min-height:0!important;overflow:visible!important;gap:10px!important}
 body[data-foundation] #ecko .front-layout64 .fp-main{display:block!important;flex:none!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;background:transparent!important;aspect-ratio:auto!important}
 body[data-foundation] #ecko .front-layout64 .fp-main img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;border-radius:8px}
 body[data-foundation] #ecko .front-layout64 .fp-side,body[data-foundation] #ecko .front-layout64 .fp-side.one{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;gap:10px!important}
 body[data-foundation] #ecko .front-layout64 .fp-side img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:5/3!important;object-fit:cover!important;max-height:none!important;min-width:0!important}
 /* Restore the vertical mobile accordion, with smooth opening. */
 #divs-track.divs-accordion{flex-direction:column!important;height:auto!important;gap:0!important;touch-action:pan-y}
 #divs-track.divs-accordion>.div{flex:none!important;height:74px!important;width:100%!important;border-top:1px solid #ffffff25!important;transition:height .65s cubic-bezier(.22,.75,.25,1)!important}
 #divs-track.divs-accordion>.div.is-open{flex:none!important;height:clamp(460px,120vw,600px)!important}
 #divs-track.divs-accordion>.div>img{width:100%!important;height:100%!important;object-fit:cover!important;transform:scale(1.035)!important;transition:transform .8s cubic-bezier(.22,.75,.25,1),filter .55s ease!important}
 #divs-track.divs-accordion>.div.is-open>img{transform:scale(1)!important}
 #divs-track.divs-accordion .div-label{writing-mode:horizontal-tb!important;transform:translateY(-50%)!important;top:50%!important;bottom:auto!important;left:20px!important;right:20px!important;font-size:clamp(15px,4.3vw,20px)!important;gap:14px!important;white-space:normal!important}
 #divs-track.divs-accordion .div-label b{display:block!important;font-size:11px!important;color:#e6b916}
 #divs-track.divs-accordion .div-label::after{display:block!important;content:'';height:1px;width:auto;flex:1;background:#ffffff40}
 #divs-track.divs-accordion>.div .t{padding:0 20px 28px!important;width:100%!important;bottom:0!important}
 #divs-track.divs-accordion>.div .t h3{font-size:clamp(24px,6vw,34px)!important;line-height:1.15!important}
 #divs-track.divs-accordion>.div .t :is(p,.nota,i){display:block!important}
 #divs-track.divs-accordion>.div .t p{font-size:16px!important;line-height:1.65!important;margin-top:18px!important}
 #divs-track.divs-accordion>.div .t i,#divs-track.divs-accordion>.div .t .nota{font-size:10px!important;line-height:1.7!important;letter-spacing:.12em!important}
 .division-mobile-detail64{display:none!important}
 /* Return the video to the background, edge to edge behind the introduction. */
 body[data-foundation] .foundation-film-zone{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;padding:0!important;gap:0!important;isolation:isolate;background:#152431!important}
 body[data-foundation] .foundation-film-zone .foundation-intro{grid-column:1!important;grid-row:1!important;position:relative!important;z-index:1!important;display:flex!important;align-items:flex-end!important;min-height:calc(100svh - var(--et-header,80px))!important;height:auto!important;padding:clamp(120px,22svh,220px) 22px 120px!important;isolation:isolate;background:linear-gradient(180deg,#09172210 0%,#09172235 25%,#09172285 55%,#091722e8 100%)!important}
 body[data-foundation] .foundation-intro>.wrap{width:100%!important;max-width:none!important;padding:0!important}
 body[data-foundation] .foundation-intro h1{font-size:clamp(36px,9vw,60px)!important;color:white!important;line-height:1.08!important}
 body[data-foundation] .foundation-intro p{font-size:16px!important;line-height:1.75!important;color:#f1f4f6!important}
 body[data-foundation] .foundation-intro .kicker{font-size:11px!important;color:#f5c518!important;letter-spacing:.12em!important}
 body[data-foundation] .foundation-film-zone .foundation-background-video{position:absolute!important;grid-column:1!important;grid-row:1!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;z-index:0!important}
 body[data-foundation] .foundation-film-zone .foundation-video-toggle{position:relative!important;grid-column:1!important;grid-row:1!important;align-self:end!important;justify-self:start!important;margin:0 22px 26px!important;z-index:2!important}
 body[data-foundation] .foundation-film-zone .foundation-explanation{grid-column:1!important;grid-row:2!important;position:relative!important;z-index:2!important;margin:0!important;padding:48px 22px!important;background:#1b2430!important;border-top:1px solid #ffffff20!important}
 body[data-foundation] .foundation-film-zone .foundation-story .rama.ecko-brand{width:100%!important;max-width:none!important;margin:0 0 30px!important}
 body[data-foundation] .foundation-film-zone .foundation-story .ecko-brand .mk{width:100%!important;max-width:none!important}
 body[data-foundation] .foundation-film-zone .foundation-story .ecko-brand .mk img{width:100%!important;max-width:560px!important;height:auto!important;margin:0 auto!important}
 body[data-foundation] .foundation-film-zone .foundation-story .lede{font-size:16px!important;line-height:1.85!important}
}
@media(prefers-reduced-motion:reduce){#divs-track.divs-accordion>.div,#divs-track.divs-accordion>.div>img{transition:none!important}}
