/* Homepage hero: the Teradix film card (tools/v7/families/home_hero_film.py). A muted loop of the explainer plays in the
   screen (js/v7/home.js, video[data-preview]); a click opens the film with sound (js/v7/film.js).
   Sharp corners, lime only as a fill, motion on the small play block only (transform). */
.t7.t7-home .t7-hf{display:flex;align-items:stretch;flex:0 1 520px;width:min(100%,520px);margin:0;padding:0;
  border:2px solid var(--t7-ink);border-radius:0;background:#fff;color:var(--t7-ink);box-shadow:8px 8px 0 var(--t7-cast);
  font:inherit;text-align:start;cursor:pointer}
.t7.t7-home .t7-hf__screen{position:relative;flex:none;width:208px;aspect-ratio:16/9;overflow:hidden;background:var(--t7-ink)}
.t7.t7-home .t7-hf__loop{display:block;width:100%;height:100%;object-fit:cover;background:var(--t7-ink)}
.t7.t7-home .t7-hf__go{position:absolute;inset-block-start:50%;inset-inline-start:50%;display:grid;place-items:center;width:52px;height:52px;
  margin:-26px 0 0 -26px;background:var(--t7-lime);color:var(--t7-ink);box-shadow:5px 5px 0 var(--t7-blue);
  transition:transform .35s cubic-bezier(.22,1,.36,1)}
[dir=rtl] .t7.t7-home .t7-hf__go{margin:-26px -26px 0 0}
.t7.t7-home .t7-hf__go svg{width:24px;height:24px}
.t7.t7-home .t7-hf__tx{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;padding:12px 18px}
.t7.t7-home .t7-hf__tx b{color:var(--t7-ink);font:600 clamp(18px,1.4vw,21px)/1.15 var(--display);letter-spacing:-.01em}
.t7.t7-home .t7-hf__tx>span{color:var(--t7-soft);font-size:14.5px;line-height:1.4;text-wrap:pretty}
.t7.t7-home .t7-hf__tx small{display:flex;align-items:center;gap:8px;margin-top:2px;color:var(--t7-blue);font:600 13px/1.2 var(--display)}
.t7.t7-home .t7-hf__tx small i{width:6px;height:6px;background:var(--t7-blue)}
.t7.t7-home .t7-hf:hover{border-color:var(--t7-blue)}
.t7.t7-home .t7-hf:hover .t7-hf__go,.t7.t7-home .t7-hf:focus-visible .t7-hf__go{transform:translate(-3px,-3px)}
.t7.t7-home .t7-hf:focus-visible{outline:3px solid var(--t7-blue);outline-offset:4px}
[dir=rtl] .t7.t7-home .t7-hf{box-shadow:-8px 8px 0 var(--t7-cast)}
[dir=rtl] .t7.t7-home .t7-hf__tx b{letter-spacing:0}

@media (min-width:981px) and (max-width:1300px){
  .t7.t7-home .t7-hf__screen{width:176px}
  .t7.t7-home .t7-hf__tx{padding:10px 14px}
  .t7.t7-home .t7-hf__tx>span{font-size:13.5px}
}
@media (max-width:600px){
  .t7.t7-home .t7-hf{flex-direction:column;flex-basis:100%;width:100%;box-shadow:6px 6px 0 var(--t7-cast)}
  [dir=rtl] .t7.t7-home .t7-hf{box-shadow:-6px 6px 0 var(--t7-cast)}
  .t7.t7-home .t7-hf__screen{width:100%}
  .t7.t7-home .t7-hf__go{width:60px;height:60px;margin:-30px 0 0 -30px}
  [dir=rtl] .t7.t7-home .t7-hf__go{margin:-30px -30px 0 0}
  .t7.t7-home .t7-hf__tx{padding:14px 16px 16px}
}
@media (prefers-reduced-motion:reduce){
  .t7.t7-home .t7-hf__go{transition:none}
  .t7.t7-home .t7-hf:hover .t7-hf__go,.t7.t7-home .t7-hf:focus-visible .t7-hf__go{transform:none}
}
