/* Techtrim v97 — requested-only fixes: narrower home contact area + large-logo-only sheen */

/* HOME: make the lower information strip materially narrower without changing its height. */
.techtrim-home .tt-visit-grid{
  width:min(100%,1068px)!important;
  max-width:1068px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  grid-template-columns:220px 220px 290px 296px!important;
  gap:10px!important;
  padding:11px!important;
}
.techtrim-home .tt-contact-buttons a,
.techtrim-home .tt-info-button{
  padding-left:12px!important;
  padding-right:12px!important;
}
.techtrim-home .tt-contact-buttons a{
  gap:10px!important;
  font-size:17px!important;
}
.techtrim-home .tt-contact-buttons img.tt-social-icon{
  width:25px!important;
  height:25px!important;
  flex-basis:25px!important;
}
.techtrim-home .tt-contact-phone img{
  width:23px!important;
  height:23px!important;
}
.techtrim-home .tt-info-button{
  gap:9px!important;
}
.techtrim-home .tt-info-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
}
.techtrim-home .tt-info-icon img{
  width:23px!important;
  height:23px!important;
}
.techtrim-home .tt-info-button b{font-size:16px!important}
.techtrim-home .tt-info-button small{font-size:12.5px!important}

/* The route button itself is intentionally left at the v96 size/height. */
.techtrim-home .tt-route-button{
  min-height:50px!important;
  padding:10px 15px!important;
  font-size:15px!important;
}

/* Map: narrower only; keep the established height. */
.techtrim-home .tt-map-card{
  min-width:0!important;
  width:296px!important;
  max-width:296px!important;
  min-height:250px!important;
  max-height:286px!important;
}

/* Disable every animation on the SMALL header logo. */
.approved-header .approved-brand::before,
.approved-header .approved-brand::after,
.tt-uheader-v94 .tt-uheader-v94__brand::before,
.tt-uheader-v94 .tt-uheader-v94__brand::after{
  content:none!important;
  display:none!important;
  animation:none!important;
  background:none!important;
}
.approved-header .approved-brand,
.tt-uheader-v94 .tt-uheader-v94__brand{
  overflow:visible!important;
}

/* LARGE logo animation on ALL pages only.
   The exact alpha mask confines the sweep to the shield/T and Techtrim letters,
   so no light can escape above, below or outside the actual logo shape. */
.techtrim-hero.tt-v77-hero{
  position:relative!important;
  overflow:hidden!important;
}
.techtrim-hero.tt-v77-hero .tt-logo-sheen{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:4!important;
  opacity:1!important;
  overflow:hidden!important;
  -webkit-mask-image:url('techtrim-logo-edge-mask-v31.png')!important;
  mask-image:url('techtrim-logo-edge-mask-v31.png')!important;
  -webkit-mask-size:100% 100%!important;
  mask-size:100% 100%!important;
  -webkit-mask-position:center!important;
  mask-position:center!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
}
.techtrim-hero.tt-v77-hero .tt-logo-sheen::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  left:-10%!important;
  width:5.2%!important;
  opacity:0!important;
  background:linear-gradient(90deg,
    transparent 0%,
    rgba(130,207,255,.02) 14%,
    rgba(210,240,255,.24) 36%,
    rgba(255,255,255,.92) 50%,
    rgba(145,218,255,.24) 65%,
    transparent 100%)!important;
  filter:blur(.6px)!important;
  transform:skewX(-12deg)!important;
  animation:ttV97LargeLogoSweep 6.5s cubic-bezier(.42,.02,.38,.98) infinite!important;
}
.techtrim-hero.tt-v77-hero .tt-logo-sheen::after{
  content:none!important;
  display:none!important;
}
@keyframes ttV97LargeLogoSweep{
  0%,48%{transform:translateX(0) skewX(-12deg);opacity:0}
  53%{opacity:.95}
  82%{transform:translateX(1320%) skewX(-12deg);opacity:.82}
  88%,100%{transform:translateX(1370%) skewX(-12deg);opacity:0}
}

@media(max-width:1120px){
  .techtrim-home .tt-visit-grid{
    width:min(100%,920px)!important;
    grid-template-columns:210px 210px 270px minmax(0,1fr)!important;
  }
  .techtrim-home .tt-map-card{width:100%!important;max-width:none!important}
}
@media(max-width:960px){
  .techtrim-home .tt-visit-grid{width:100%!important;grid-template-columns:1fr 1fr!important}
  .techtrim-home .tt-map-card{grid-column:1/-1!important;width:100%!important;max-width:none!important}
}
@media(max-width:680px){
  .techtrim-home .tt-visit-grid{grid-template-columns:1fr!important}
  .techtrim-home .tt-map-card{grid-column:auto!important}
}
