/* ==========================================================================
   HOME · the hero's All Work tabs show what Success Stories shows — PREVIEW (2026-09-28)
   The six matching tabs: ten real tiles in the order of Success Stories / Our Work, and a "View all …" button
   to that tab's section on /our-work. Sized to the band the other tabs already take (≈ 180–250px).
   ========================================================================== */
#hxPanel .hw-host{ position: relative; padding: 0; }   /* the panel's own padding frames it, as every tab */
#hxPanel .hw-host[hidden]{ display: none; }
.hw-rail{ display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 4px; }
.hw-rail::-webkit-scrollbar{ display: none; }

/* one tile: the work's own picture, then the name and one line */
.hw-t{ flex: 0 0 178px; scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; text-align: left;
       border: 1px solid #DCE3EC; border-radius: 12px; background: #FFFFFF; overflow: hidden; cursor: pointer; font: inherit; color: #0B0D12;
       transition: border-color .15s ease; }
.hw-t:hover{ border-color: #9DB9E3; }
.hw-t:focus-visible{ outline: 2px solid #0760C6; outline-offset: 2px; }
.hw-im{ position: relative; display: block; aspect-ratio: 16 / 9; background: #EEF2F7; border-bottom: 1px solid #E5EAF1; overflow: hidden; }
.hw-im img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hw-t.is-meta .hw-im img, .hw-t.is-vid .hw-im img{ object-position: center; }
.hw-pl{ position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #FFFFFF;
        display: grid; place-items: center; box-shadow: 0 2px 8px rgba(11, 13, 18, .25); }
.hw-pl svg{ width: 15px; height: 15px; fill: #004594; margin-left: 2px; }
.hw-dur{ position: absolute; right: 6px; bottom: 6px; padding: 1px 5px; border-radius: 4px; background: #111418; color: #FFFFFF; font-size: 11px; font-style: normal; font-weight: 650; }
.hw-tx{ display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 6px 10px 7px; }
.hw-tx b{ font-size: 13.5px; font-weight: 750; letter-spacing: -.01em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-tx small{ font-size: 12px; line-height: 1.3; color: #5B6472; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Client Wall: two rows of name plates, as the tab has always shown */
.hw-rail.is-cl{ display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 232px; gap: 10px; }
.hw-c{ display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 12px; border: 1px solid #DCE3EC; border-radius: 10px; background: #FFFFFF; }
.hw-mono{ flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: #EAF1FB; color: #004594; font-size: 12.5px; font-weight: 800; }
.hw-c .hw-tx{ padding: 0; }

/* the way to everything: this tab's section on the Our Work page */
.hw-foot{ display: flex; justify-content: flex-end; margin-top: 8px; }
.hw-all{ display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 16px; border: 1px solid #C9D8EE; border-radius: 10px; background: #FFFFFF;
         color: #0760C6; font-size: 14.5px; font-weight: 700; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.hw-all svg{ width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hw-all:hover{ border-color: #9DB9E3; background: #F5F8FD; }
.hw-all:focus-visible{ outline: 2px solid #0760C6; outline-offset: 2px; }

@media (max-width: 760px){
  .hw-t{ flex-basis: 160px; }
  .hw-rail.is-cl{ grid-auto-columns: 214px; }
  .hw-foot{ justify-content: stretch; }
  .hw-all{ width: 100%; justify-content: center; }
}
