/* Customer logos, everywhere (owner, 2026-12-01: big, each with its own room; it is the first thing people look for).
   --lf comes from tools/v7/customer_logos.py: it gives a tall, a square and a wide logo about the same area. */
.t7{--logo:clamp(54px,4.2vw,66px);--logo-gap:clamp(44px,5.4vw,104px)}

/* moving strips: home, products, company */
.t7.t7 .t7-logos{padding:clamp(34px,3.4vw,56px) 0 clamp(38px,3.8vw,62px)}
.t7.t7 .t7-logos>p{margin-bottom:clamp(26px,2.6vw,42px);font-size:14px}
[dir=rtl] .t7.t7 .t7-logos>p{font-size:17px}
.t7.t7 :is(.t7-logos .marq,.dmarq) img{width:auto;height:calc(var(--logo)*var(--lf,1)*var(--lz,1));max-width:none;max-height:none;opacity:.95}
.t7.t7 :is(.t7-logos .marq__track,.dmarq__track){align-items:center;gap:var(--logo-gap);padding-right:var(--logo-gap)}
.t7.t7 .dmarq{padding-block:clamp(36px,3.4vw,58px)}

/* campaign and ad pages */
.t7.t7 .logos__row{gap:var(--logo-gap)}
.t7.t7 .logos__row img{height:calc(var(--logo)*var(--lf,1)*var(--lz,1));max-width:none;opacity:.95}
.t7.t7 .lgc{width:clamp(176px,16.5vw,256px);height:clamp(100px,9vw,138px);padding:14px 22px}
.t7.t7 .lgc img{width:auto;height:calc(var(--logo)*var(--lf,1));max-width:100%;max-height:100%}
.t7-landing.t7-landing .lp-marquee-section{padding:clamp(34px,3.4vw,54px) 0}
.t7-landing.t7-landing .lp-marquee__item{width:clamp(176px,18vw,272px);height:clamp(92px,8.6vw,132px);padding:8px 20px}
.t7-landing.t7-landing .lp-marquee__item img{width:auto;height:calc(var(--logo)*1.05*var(--lf,1));max-width:100%;max-height:calc(clamp(92px,8.6vw,132px) - 16px)}
.t7-landing.t7-landing .slide{width:clamp(204px,20vw,300px)}
.t7-landing.t7-landing .slide img{width:100%;height:auto;aspect-ratio:5/2;object-fit:contain}

/* grids */
.t7-convert.t7-convert .cv-strip{padding-block:clamp(36px,3.4vw,56px)}
.t7-convert.t7-convert .cv-trust{grid-template-columns:minmax(0,1fr) minmax(0,4.4fr)}
.t7-convert.t7-convert .cv-trust p{font-size:17px}
.t7-convert.t7-convert .cv-logos{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(24px,2.6vw,44px) clamp(24px,3.4vw,60px)}
.t7-convert.t7-convert .cv-logo{height:clamp(72px,6.8vw,104px)}
.t7-convert.t7-convert .cv-logo img{height:calc(var(--logo)*var(--lf,1));max-height:100%}
.t7.t7-customer.t7-customer .cs-wall,.t7.t7-customer.t7-customer .cs-wall--5{grid-template-columns:repeat(6,minmax(0,1fr))}
.t7.t7-customer.t7-customer .cs-wall--5{grid-template-columns:repeat(4,minmax(0,1fr))}
.t7.t7-customer.t7-customer .cs-wall li{height:clamp(140px,12vw,196px);padding:22px}
.t7.t7-customer.t7-customer .cs-wall img{height:calc(var(--logo)*1.08*var(--lf,1));max-height:100%}
/* in a cell the box limits the file, so a file with empty space in it is zoomed up to its drawing */
.t7.t7 :is(.cs-wall,.lgc,.lp-marquee__item,.cv-logo) img{scale:var(--lz,1)}
/* the hospital's round mark has its name under it, so it needs more height; always inside its cell */
.t7.t7-customer.t7-customer .cs-wall img[src*="ncsh-logo"]{height:clamp(100px,8.6vw,144px);max-height:none}

@media (max-width:1100px){
  .t7.t7-customer.t7-customer .cs-wall{grid-template-columns:repeat(3,minmax(0,1fr))}
  .t7-convert.t7-convert .cv-trust{grid-template-columns:minmax(0,1fr);text-align:center}
}
@media (max-width:640px){
  .t7{--logo:44px;--logo-gap:40px}
  .t7.t7-customer.t7-customer .cs-wall,.t7.t7-customer.t7-customer .cs-wall--5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .t7.t7-customer.t7-customer .cs-wall li{height:128px;padding:16px}
  .t7.t7-customer.t7-customer .cs-wall .is-more:nth-child(odd){grid-column:1/-1}
  .t7.t7-customer.t7-customer .cs-wall img[src*="ncsh-logo"]{height:92px}
  .t7-convert.t7-convert .cv-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px}
  .t7-convert.t7-convert .cv-logo{height:76px}
}

/* Demo and trial pages: the customer wall (customer_logos.wall). Equal framed cells, every row full, the count on top. */
.t7-convert.t7-convert .cv-wall{display:block;text-align:start}
.t7-convert.t7-convert .cv-wall__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 40px;margin-bottom:clamp(24px,2.4vw,36px)}
.t7-convert.t7-convert .cv-wall .cv-wall__eye{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 clamp(24px,2.4vw,36px);text-align:center;color:var(--t7-ink);font:600 13px/1.4 var(--display);letter-spacing:.12em;text-transform:uppercase}
[dir=rtl] .t7-convert.t7-convert .cv-wall .cv-wall__eye{letter-spacing:0;font-size:15px}
.t7-convert.t7-convert .cv-wall__eye i{flex:none;width:10px;height:10px;background:var(--t7-lime);box-shadow:3px 3px 0 var(--t7-blue)}
.t7-convert.t7-convert .cv-wall .cv-wall__h{display:flex;align-items:baseline;gap:14px;margin:0;color:var(--t7-ink)}
.t7-convert.t7-convert .cv-wall__h b{color:var(--t7-blue);font:700 clamp(48px,4.6vw,72px)/.9 var(--display);letter-spacing:-.05em}
.t7-convert.t7-convert .cv-wall__h span{max-width:16em;font:600 clamp(17px,1.4vw,21px)/1.3 var(--display);letter-spacing:-.01em}
.t7-convert.t7-convert .cv-wall .cv-logos{grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:1px;background:#DDE0F5;border:1px solid #DDE0F5;box-shadow:14px 14px 0 #C3C9F0}
[dir=rtl] .t7-convert.t7-convert .cv-wall .cv-logos{box-shadow:-14px 14px 0 #C3C9F0}
.t7-convert.t7-convert .cv-wall .cv-logo{position:relative;height:clamp(108px,8.6vw,136px);padding:18px clamp(16px,1.8vw,28px);background:#fff;overflow:hidden}
.t7-convert.t7-convert .cv-wall .cv-logo::after{content:"";position:absolute;inset:auto 0 0;height:4px;background:var(--t7-lime);transform:scaleX(0);transform-origin:0 50%;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.t7-convert.t7-convert .cv-wall .cv-logo:hover::after{transform:scaleX(1)}
.t7-convert.t7-convert .cv-wall .cv-logo img{--logo:clamp(36px,3.1vw,50px);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.t7-convert.t7-convert .cv-wall .cv-logo:hover img{transform:scale(1.05)}
@media (max-width:900px){.t7-convert.t7-convert .cv-wall .cv-logos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.t7-convert.t7-convert .cv-wall .cv-logo{height:92px;padding:12px 10px}.t7-convert.t7-convert .cv-wall .cv-logo img{--logo:30px}.t7-convert.t7-convert .cv-wall .cv-logos{box-shadow:8px 8px 0 #C3C9F0}}
@media (prefers-reduced-motion:reduce){.t7-convert.t7-convert .cv-wall .cv-logo::after,.t7-convert.t7-convert .cv-wall .cv-logo img{transition:none}}
