/* =========================================================
   Techiconix v3.2 — Team directory + real platform branding
   ========================================================= */

/* Keep the expanded company navigation comfortable on desktop. */
@media (min-width:981px){
  .header-shell{grid-template-columns:190px minmax(0,1fr) auto;gap:18px}
  .tx-primary-menu{gap:17px}
  .primary-menu>li>a{font-size:.69rem;white-space:nowrap}
}
@media (min-width:981px) and (max-width:1240px){
  .header-shell{grid-template-columns:165px minmax(0,1fr) auto;gap:12px;width:min(calc(100% - 26px),1440px)}
  .site-logo-image{width:165px}
  .tx-primary-menu{gap:10px}
  .primary-menu>li>a{font-size:.64rem}
  .header-actions .btn{padding-inline:14px;font-size:.66rem}
}

/* Platform logo ribbon */
.tx-platform-ribbon{position:relative;padding-top:28px;background:linear-gradient(180deg,#fff,#fbfefd)}
.tx-platform-ribbon-label{position:absolute;left:50%;top:8px;transform:translateX(-50%);z-index:2;color:#78918b;font-size:.58rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;white-space:nowrap}
.tx-logo-ribbon-track{min-height:96px;gap:26px}
.tx-ribbon-repeat{display:contents}
.tx-platform-brand{display:inline-flex!important;align-items:center;gap:9px;white-space:nowrap;text-transform:none!important;letter-spacing:0!important}
.tx-platform-brand img{display:block;width:25px;height:25px;object-fit:contain;flex:0 0 25px}
.tx-platform-brand b{color:#183c37;font-size:.78rem;font-weight:850;letter-spacing:-.015em;text-transform:none}
.tx-platform-highlevel i{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(145deg,#00b6ad,#8ee8d2);color:#05201d!important;font-style:normal!important;font-size:.58rem!important;font-weight:950;letter-spacing:-.05em}
.tx-platform-highlevel b{color:#183c37}

/* Real logos inside the network map. */
.tx-map-node{min-width:138px;padding-inline:14px}
.tx-map-node .tx-platform-brand{gap:8px}
.tx-map-node .tx-platform-brand img{width:21px;height:21px;flex-basis:21px;filter:none}
.tx-map-node .tx-platform-brand b{color:#e7f3f1;font-size:.69rem}
.tx-map-node:hover .tx-platform-brand b{color:#fff}

/* Team directory */
.tx-team-page-intro{padding-bottom:54px}
.tx-team-directory{padding-top:78px}
.tx-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tx-team-card{overflow:hidden;border:1px solid #d7e9e5;border-radius:28px;background:#fff;box-shadow:0 18px 50px rgba(10,50,44,.055);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.tx-team-card:hover{transform:translateY(-6px);border-color:#bfe2da;box-shadow:0 28px 70px rgba(10,50,44,.11)}
.tx-team-photo{position:relative;aspect-ratio:4/4.7;overflow:hidden;background:radial-gradient(circle at 70% 22%,rgba(142,232,210,.35),transparent 30%),linear-gradient(145deg,#0b2f2a,#061714)}
.tx-team-photo:after{content:"";position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(transparent,rgba(3,19,16,.48));pointer-events:none}
.tx-team-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;transition:transform .45s ease}
.tx-team-card:hover .tx-team-photo img{transform:scale(1.025)}
.tx-team-initials{position:absolute;inset:0;display:grid;place-items:center;color:#a7efe0;font-size:clamp(3.3rem,6vw,6rem);font-weight:950;letter-spacing:-.08em}
.tx-team-department{position:absolute;left:17px;bottom:16px;z-index:2;padding:7px 10px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(6,23,20,.68);backdrop-filter:blur(10px);color:#e9fbf6;font-size:.57rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.tx-team-info{padding:23px 24px 25px}
.tx-team-info h3{margin:0;font-size:1.45rem;letter-spacing:-.035em}
.tx-team-role{margin:6px 0 0;color:#008f87;font-size:.76rem;font-weight:800}
.tx-team-bio{margin:16px 0 0;color:#657c77;font-size:.82rem;line-height:1.65}
.tx-team-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:18px;padding-top:16px;border-top:1px solid #e2efec}
.tx-team-links a{display:inline-flex;align-items:center;gap:6px;color:#17453e;font-size:.7rem;font-weight:850}
.tx-team-links svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}

/* Homepage team preview uses the same dashboard-managed people. */
.tx-team-grid.is-compact{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.tx-team-grid.is-compact .tx-team-card{border-radius:20px}
.tx-team-grid.is-compact .tx-team-photo{aspect-ratio:1/1.08}
.tx-team-grid.is-compact .tx-team-department{left:10px;bottom:9px;padding:5px 7px;font-size:.48rem;letter-spacing:.05em;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tx-team-grid.is-compact .tx-team-info{padding:15px 14px 17px}
.tx-team-grid.is-compact .tx-team-info h3{font-size:.94rem;line-height:1.18}
.tx-team-grid.is-compact .tx-team-role{font-size:.62rem;line-height:1.35}
.tx-team-preview-copy{max-width:570px}
.tx-team-preview-copy .text-link{margin-top:12px}

@media(max-width:1180px){
  .tx-team-grid.is-compact{grid-template-columns:repeat(3,1fr)}
  .tx-team-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:980px){
  .tx-team-grid{grid-template-columns:repeat(2,1fr)}
  .tx-team-grid.is-compact{grid-template-columns:repeat(3,1fr)}
  .tx-platform-map .tx-platform-brand b{font-size:.61rem}
  .tx-map-node{min-width:112px;padding-inline:10px}
}
@media(max-width:680px){
  .tx-platform-ribbon{padding-top:25px}
  .tx-logo-ribbon-track{min-height:82px;gap:20px}
  .tx-platform-brand{gap:7px}
  .tx-platform-brand img{width:22px;height:22px;flex-basis:22px}
  .tx-platform-brand b{font-size:.69rem}
  .tx-team-grid,.tx-team-grid.is-compact{grid-template-columns:1fr 1fr;gap:10px}
  .tx-team-card{border-radius:20px}
  .tx-team-info{padding:16px 15px 18px}
  .tx-team-info h3{font-size:1.08rem}
  .tx-team-role{font-size:.67rem}
  .tx-team-bio{font-size:.76rem}
  .tx-team-photo{aspect-ratio:1/1.16}
  .tx-team-grid.is-compact .tx-team-info h3{font-size:.88rem}
  .tx-team-grid.is-compact .tx-team-role{font-size:.58rem}
  .tx-team-department{left:10px;bottom:9px;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tx-map-node .tx-platform-brand b{display:none}
  .tx-map-node{min-width:50px;width:50px;height:50px;padding:0;border-radius:15px}
  .tx-map-node .tx-platform-brand img{width:23px;height:23px;flex-basis:23px}
}
@media(max-width:430px){
  .tx-team-grid,.tx-team-grid.is-compact{grid-template-columns:1fr}
  .tx-team-grid.is-compact .tx-team-photo{aspect-ratio:1.55/1}
  .tx-team-grid.is-compact .tx-team-photo img{object-position:center 24%}
  .tx-team-grid.is-compact .tx-team-info{padding:17px 18px 20px}
  .tx-team-grid.is-compact .tx-team-info h3{font-size:1.05rem}
}
.tx-map-node .tx-platform-brand img[src*="tiktok"]{filter:brightness(0) invert(1)}

/* =========================================================
   v3.2.1 — Full platform wordmarks
   ========================================================= */
.tx-platform-brand.tx-platform-full{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:0!important;
  min-width:0;
  line-height:1;
}
.tx-platform-brand.tx-platform-full img{
  display:block;
  width:auto!important;
  height:30px!important;
  max-width:138px!important;
  object-fit:contain!important;
  flex:0 1 auto!important;
  filter:none!important;
}
.tx-platform-brand.tx-platform-amazon img{height:26px!important;max-width:112px!important}
.tx-platform-brand.tx-platform-walmart img{height:27px!important;max-width:124px!important}
.tx-platform-brand.tx-platform-ebay img{height:30px!important;max-width:92px!important}
.tx-platform-brand.tx-platform-etsy img{height:31px!important;max-width:75px!important}
.tx-platform-brand.tx-platform-shopify img{height:30px!important;max-width:112px!important}
.tx-platform-brand.tx-platform-tiktok img{height:28px!important;max-width:138px!important}
.tx-platform-brand.tx-platform-google img{height:29px!important;max-width:102px!important}
.tx-platform-brand.tx-platform-meta img{height:30px!important;max-width:104px!important}
.tx-platform-brand.tx-platform-highlevel img{height:29px!important;max-width:136px!important}

.tx-logo-ribbon-track{gap:38px}
.tx-logo-ribbon-track .tx-platform-brand{padding-inline:5px}

/* The orbit uses complete wordmarks too, so each platform remains recognizable. */
.tx-map-node{
  min-width:154px!important;
  width:154px!important;
  height:62px!important;
  padding:13px 16px!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.97)!important;
  border:1px solid rgba(206,229,223,.92)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.22)!important;
}
.tx-map-node:hover{
  background:#fff!important;
  border-color:rgba(49,209,195,.78)!important;
  box-shadow:0 22px 52px rgba(0,0,0,.28)!important;
}
.tx-map-node .tx-platform-brand.tx-platform-full{width:100%}
.tx-map-node .tx-platform-brand.tx-platform-full img{
  height:25px!important;
  max-width:118px!important;
  width:auto!important;
  filter:none!important;
}
.tx-map-node .tx-platform-amazon img{height:23px!important;max-width:100px!important}
.tx-map-node .tx-platform-ebay img{height:27px!important;max-width:80px!important}
.tx-map-node .tx-platform-etsy img{height:27px!important;max-width:66px!important}
.tx-map-node .tx-platform-tiktok img{height:24px!important;max-width:119px!important}

@media(max-width:980px){
  .tx-map-node{min-width:132px!important;width:132px!important;height:56px!important;padding:11px 13px!important}
  .tx-map-node .tx-platform-brand.tx-platform-full img{height:22px!important;max-width:104px!important}
  .tx-map-node .tx-platform-tiktok img{height:21px!important;max-width:103px!important}
  .tx-logo-ribbon-track{gap:30px}
}
@media(max-width:680px){
  .tx-platform-brand.tx-platform-full img{height:25px!important;max-width:116px!important}
  .tx-platform-brand.tx-platform-amazon img{height:22px!important;max-width:96px!important}
  .tx-platform-brand.tx-platform-walmart img{height:23px!important;max-width:106px!important}
  .tx-platform-brand.tx-platform-tiktok img{height:23px!important;max-width:118px!important}
  .tx-logo-ribbon-track{gap:25px}
  .tx-map-node{
    min-width:108px!important;
    width:108px!important;
    height:46px!important;
    padding:9px 10px!important;
    border-radius:13px!important;
  }
  .tx-map-node .tx-platform-brand.tx-platform-full img{display:block!important;height:19px!important;max-width:86px!important}
  .tx-map-node .tx-platform-amazon img{height:18px!important;max-width:78px!important}
  .tx-map-node .tx-platform-ebay img{height:21px!important;max-width:64px!important}
  .tx-map-node .tx-platform-etsy img{height:21px!important;max-width:52px!important}
  .tx-map-node .tx-platform-tiktok img{height:18px!important;max-width:87px!important}
}
@media(max-width:430px){
  .tx-platform-brand.tx-platform-full img{height:23px!important;max-width:108px!important}
  .tx-platform-brand.tx-platform-tiktok img{height:21px!important;max-width:108px!important}
  .tx-map-node{min-width:96px!important;width:96px!important;height:43px!important;padding:8px!important}
  .tx-map-node .tx-platform-brand.tx-platform-full img{height:17px!important;max-width:78px!important}
  .tx-map-node .tx-platform-tiktok img{height:16px!important;max-width:78px!important}
}

/* =========================================================
   v3.3 — Editable header sizing + official Walmart presets
   ========================================================= */
@media (min-width:1241px){
  .primary-menu>li>a{font-size:var(--tx-nav-font,14.5px)!important;font-weight:760}
  .site-logo-image{width:var(--tx-header-logo-width,190px)!important}
}
@media (min-width:981px) and (max-width:1240px){
  .primary-menu>li>a{font-size:var(--tx-nav-font-compact,12.5px)!important;font-weight:760}
  .site-logo-image{width:min(var(--tx-header-logo-width,190px),165px)!important}
}
.tx-platform-walmart.is-spark img{height:31px!important;max-width:42px!important}
.tx-map-node .tx-platform-walmart.is-spark img{height:29px!important;max-width:36px!important}
.tx-platform-walmart.is-white-wordmark{background:#0053e2;padding:8px 12px;border-radius:9px}
.tx-platform-walmart.is-white-wordmark img{height:23px!important;max-width:108px!important}
.tx-map-node .tx-platform-walmart.is-white-wordmark{padding:7px 9px;border-radius:7px}
.tx-map-node .tx-platform-walmart.is-white-wordmark img{height:19px!important;max-width:88px!important}

/* =========================================================
   v3.3.1 — Mobile Services mega-menu responsiveness hotfix
   ========================================================= */
@media (max-width:980px){
  /* Make the drawer itself the only horizontal sizing context. */
  .mobile-panel,
  .mobile-panel-inner,
  .mobile-panel .tx-primary-menu,
  .mobile-panel .tx-primary-menu > li,
  .mobile-panel .tx-services-menu{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .mobile-panel{
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }

  .mobile-panel-inner{
    margin:0!important;
    padding:22px 18px max(72px,calc(42px + env(safe-area-inset-bottom)))!important;
  }

  .mobile-panel .tx-primary-menu{
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  .mobile-panel .tx-primary-menu > li{
    position:relative!important;
    margin:0!important;
    overflow:visible!important;
  }

  /* Reset every desktop mega-menu positioning value. */
  .mobile-panel .tx-all-services-mega{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    transform:none!important;
    translate:none!important;
    inline-size:100%!important;
    width:100%!important;
    min-inline-size:0!important;
    min-width:0!important;
    max-inline-size:100%!important;
    max-width:100%!important;
    max-height:none!important;
    margin:0 0 18px!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-radius:18px!important;
  }

  .mobile-panel .submenu-open > .tx-all-services-mega{
    display:block!important;
  }

  .mobile-panel .mega-services-head,
  .mobile-panel .mega-service-groups,
  .mobile-panel .mega-service-group,
  .mobile-panel .mega-family-link,
  .mobile-panel .mega-family-children{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .mobile-panel .mega-services-head{
    display:block!important;
    grid-template-columns:none!important;
    padding:20px 16px 17px!important;
    overflow:hidden!important;
  }

  .mobile-panel .mega-services-head > div:first-child{
    width:100%!important;
    min-width:0!important;
  }

  .mobile-panel .mega-services-head h2{
    width:100%!important;
    max-width:none!important;
    margin:5px 0 0!important;
    font-size:clamp(1.42rem,7vw,1.75rem)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  .mobile-panel .mega-services-head .eyebrow{
    display:block!important;
    max-width:100%!important;
    font-size:.66rem!important;
    line-height:1.35!important;
    letter-spacing:.14em!important;
  }

  .mobile-panel .mega-service-groups{
    display:block!important;
    grid-template-columns:none!important;
  }

  .mobile-panel .mega-service-group{
    display:block!important;
    padding:16px!important;
    border-right:0!important;
  }

  .mobile-panel .mega-family-link{
    padding:0 0 12px!important;
  }

  .mobile-panel .mega-family-link span{
    flex:1 1 auto!important;
    min-width:0!important;
  }

  .mobile-panel .mega-family-link b,
  .mobile-panel .mega-family-children a > span,
  .mobile-panel .mega-family-children a > small{
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .mobile-panel .mega-family-children{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }

  .mobile-panel .mega-family-children a{
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
  }

  .mobile-panel .submenu-toggle{
    z-index:2!important;
  }

  .mobile-panel .submenu-open > .submenu-toggle span{
    transform:rotate(45deg);
    display:inline-block;
    transition:transform .2s ease;
  }
}

@media (max-width:680px){
  .mobile-panel-inner{
    padding-inline:14px!important;
  }
  .mobile-panel .mega-family-children{
    grid-template-columns:1fr!important;
  }
  .mobile-panel .mega-family-children a{
    padding:11px 12px!important;
  }
}

@media (max-width:390px){
  .mobile-panel-inner{
    padding-inline:12px!important;
  }
  .mobile-panel .mega-services-head,
  .mobile-panel .mega-service-group{
    padding-inline:13px!important;
  }
}
