/* TEG Israel — Elementor bridge.
   The Elementor pages reuse the design's class names (set on containers / widgets); this file
   adapts main.css to Elementor's markup so the page renders exactly like the hand-built one.
   Elementor's own per-element settings (set in the panel) are more specific and still win. */

/* ---------------------------------------------------------------- base: containers are plain blocks */
.teg .elementor .e-con{
  --padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;
  --gap:0px;--row-gap:0px;--column-gap:0px;--min-height:0px;
  
}
.teg .elementor-widget-heading .elementor-heading-title{
  font:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;margin:0;padding:0
}
.teg .elementor-widget-text-editor{color:inherit}
.teg .elementor-shortcode{display:contents}
.teg .teg-sc.e-con{position:static}

/* buttons: the widget wrapper is neutral, the link is the button */
.teg .ebtn .elementor-button{
  display:inline-flex;align-items:center;justify-content:center;height:50px;min-width:230px;padding:0 24px;border-radius:0;
  font:500 15px/1.5 "Heebo","Roboto",system-ui,sans-serif;letter-spacing:.01em;border:0;
  transition:background .35s var(--ease),color .35s var(--ease),border-color .35s var(--ease);
}
.teg .ebtn .elementor-button-content-wrapper{display:inline;gap:0}
.teg .ebtn--fill .elementor-button{background:var(--brand,var(--cyan));color:var(--navy)}
.teg .ebtn--fill .elementor-button:hover{background:var(--navy);color:#fff}
.teg .ebtn--navy .elementor-button{background:var(--navy);color:#fff;font-size:20px;font-weight:400;height:70px;width:100%;min-width:0}
.teg .ebtn--navy .elementor-button:hover{background:var(--cyan);color:var(--navy)}

/* ---------------------------------------------------------------- spacing Elementor resets on widgets */
.teg .lead.elementor-widget{max-width:1010px!important;margin-inline:auto}
.teg .arm__title.elementor-widget{margin-bottom:clamp(14px,1.3vw,24px)}
.teg .contact__title.elementor-widget{margin-bottom:clamp(50px,5.4vw,100px)}
.teg .contact__logo.elementor-widget{margin-bottom:clamp(20px,2vw,32px)}

/* ---------------------------------------------------------------- intro + letters */
.teg .intro.e-con{background:#fff;position:relative;z-index:2}
.teg .letters.e-con{display:grid!important;direction:ltr}
.teg .letters__item.e-con{display:flex!important;flex-direction:column;align-items:center;text-align:center;
  opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.teg .letters__item:nth-child(2){transition-delay:.09s}
.teg .letters__item:nth-child(3){transition-delay:.18s}
.teg .letters__item:nth-child(4){transition-delay:.27s}
.teg .letters__item:nth-child(5){transition-delay:.36s}
.teg .letters__item:nth-child(6){transition-delay:.45s}
.teg .letters.in .letters__item,html:not(.js) .teg .letters__item.e-con{opacity:1;transform:none}
.teg .letters__svg svg{height:clamp(52px,4.2vw,80px);width:auto;color:var(--cyan)}
.teg .letters__cap{margin-top:clamp(14px,1.5vw,26px);font-size:clamp(13px,.86vw,16px);line-height:1.28;font-weight:300;color:var(--ink)}
html[dir=rtl] .teg .letters__cap{direction:rtl}

/* ---------------------------------------------------------------- four arms */
.teg .arms.e-con{background:var(--grey);position:relative;z-index:2}
.teg .arms__grid.e-con{display:grid!important}
.teg .arm.e-con{display:flex!important;flex-direction:column;align-items:center;text-align:center;position:relative}
.teg .arm--israel{--brand:#51c5ee}
.teg .arm--home{--brand:#c98a74}
.teg .arm--urban{--brand:#c55c60}
.teg .arm--ny{--brand:#b1994b}
/* the thin navy divider between arms (drawn as a background line — Elementor reserves ::before) */
.teg .arm+.arm::before{display:none}
.teg .arm.e-con+.arm.e-con{background:linear-gradient(var(--navy),var(--navy)) no-repeat;background-size:1px calc(var(--teg) * 2.75);background-position:100% 0}
html[dir=ltr] .teg .arm.e-con+.arm.e-con{background-position:0 0}
.teg .arm__logo.elementor-widget{display:flex;align-items:flex-start;justify-content:center;width:100%}
.teg .intro__more.elementor-widget{max-width:970px!important;margin-inline:auto}
.teg .arm__body.e-con{display:flex!important;flex-direction:column;align-items:center;flex:1}
.teg .arm__title{font-size:clamp(17px,1.2vw,22px);font-weight:400;line-height:1.3;color:var(--brand);margin-bottom:clamp(14px,1.3vw,24px)}
.teg .arm__text{width:100%}
.teg .arm__btn.elementor-widget{margin-top:auto;min-width:min(230px,100%)}
.teg .arm__btn .elementor-button{min-width:0;width:100%}

/* ---------------------------------------------------------------- projects intro */
.teg .dim.e-con{background:#fff;position:relative;z-index:2}

/* ---------------------------------------------------------------- power (US states) */
.teg .power.e-con{background:#fff;position:relative;z-index:2}
.teg .states.e-con{display:grid!important}
.teg .state.e-con{display:flex!important;flex-direction:column;align-items:center}
.teg .state__map.elementor-widget{width:100%}
.teg .state__map .elementor-shortcode{display:flex;height:100%;width:100%;align-items:center;justify-content:center}

/* ---------------------------------------------------------------- press */
.teg .press.e-con{background:#fff;position:relative;z-index:1}
.teg .press__grid.e-con{display:grid!important}
.teg .pcard.e-con{display:grid!important;place-items:center;text-align:center;position:relative}
.teg .pcard__logo.elementor-widget{position:absolute;top:0;inset-inline-start:50%;transform:translate(-50%,-50%);background:#fff;
  padding:0 clamp(24px,2.4vw,46px);display:grid;place-items:center;width:auto;max-width:none}
html[dir=rtl] .teg .pcard__logo.elementor-widget{transform:translate(50%,-50%)}
.teg .pcard__logo img{height:clamp(50px,4.1vw,78px);width:auto;max-width:none}
.teg .pcard:nth-child(3) .pcard__logo img{height:clamp(62px,5.4vw,104px)}
.teg .pcard:nth-child(2){--d:.08s}
.teg .pcard:nth-child(3){--d:.16s}
.teg .pcard__btn.elementor-widget{position:absolute;bottom:0;inset-inline-start:50%;transform:translate(-50%,50%);width:min(314px,84%)}
html[dir=rtl] .teg .pcard__btn.elementor-widget{transform:translate(50%,50%)}
.teg .pcard__btn .elementor-button{display:flex}

/* ---------------------------------------------------------------- contact */
.teg .contact.e-con{position:relative;z-index:2;color:#fff;background:var(--deep);overflow:visible}
.teg .contact__bg.elementor-widget{position:absolute;inset:0;z-index:0}
.teg .contact__wrap.e-con{position:relative;z-index:3}
.teg .contact__cols.e-con{display:grid!important}
.teg .contact__info.e-con{display:grid!important}
.teg .contact__logo.elementor-widget{grid-column:1/-1}
.teg .legal.elementor-widget{grid-column:1/-1}
.teg .rights.elementor-widget{grid-column:1;grid-row:3;justify-self:start;font-size:14px;font-weight:300;margin-top:clamp(18px,1.6vw,30px)}
.teg .rights a:hover{text-decoration:underline}
.teg .social-w.elementor-widget{grid-column:2;grid-row:3;justify-self:end;margin-top:clamp(18px,1.6vw,30px)}
.teg .social-w .social{display:flex;gap:clamp(20px,2vw,30px);align-items:center;margin-top:0}
.teg .credit.elementor-widget{display:block;width:fit-content;margin:clamp(70px,7vw,130px) auto 0}
.teg .credit img{width:262px;height:auto;opacity:.95}
.teg .contact__addr a{color:inherit}

/* ---------------------------------------------------------------- phones / tablets */

@media (max-width:820px){
  .teg .arm.e-con+.arm.e-con{background:none}
  .teg .arms__grid.e-con{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory}
  .teg .arm.e-con{flex:0 0 100%}
  .teg .credit.elementor-widget{margin-top:56px}
}
@media (max-width:480px){
  .teg .letters__cap{font-size:12.5px;line-height:1.28}
  .teg .ebtn--navy .elementor-button{font-size:18px}
}

/* ---------------------------------------------------------------- inside the Elementor editor */
.teg-editor .hero--editor{position:relative;height:60vh;background:#0b2230 center/cover no-repeat;display:grid;place-items:center}
.teg-editor .teg-editor-note{background:rgba(0,35,51,.85);color:#fff;font:500 15px/1.4 "Heebo",sans-serif;padding:12px 20px;border-radius:4px}
.teg-editor .rv{opacity:1!important;transform:none!important}
.teg-editor .letters__item.e-con{opacity:1;transform:none}
