/* Industry pages (investment banking, retail banking, cards, health insurance).
   Loaded after wealth.css, whose sections they reuse. Only what the wealth
   page lacks: bars sized on a shared scale, the enrollment axis, the cards
   fan-out (one email, ten versions) and text values in the proof table. */

/* ---------- Hero bars on one scale ---------- */

.wm-bar[style*="--vt-w"] { width: var(--vt-w); }
.vt-bar-row--sliver { width: auto; min-width: 0; }
.vt-bar-row--sliver .wm-bar { min-width: 130px; }
.vt-bars--axis .wm-bar-row { width: 100%; min-width: 0; }
.vt-bars--axis .wm-bar[style*="--vt-w"] { min-width: 72px; }

.vt-axis { margin-top: 24px; }
.vt-axis-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: var(--type-label-s);
  font-weight: 500;
  letter-spacing: var(--type-label-tracking);
  text-transform: uppercase;
  color: #C9FEFF;
}
.vt-axis-line {
  position: relative;
  height: 30px;
  border-top: 1px solid rgba(201, 254, 255, .4);
}
.vt-axis-mark {
  position: absolute;
  top: 0;
  padding-top: 10px;
  transform: translateX(-50%);
  font-size: var(--type-caption);
  line-height: 1.2;
  color: rgba(255, 255, 255, .64);
  white-space: nowrap;
}
.vt-axis-mark::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 1px;
  height: 8px;
  background: rgba(201, 254, 255, .6);
}
.vt-axis-mark:first-child { transform: none; }
.vt-axis-mark:first-child::before { left: 0; }
.vt-axis-mark:last-child { transform: translateX(-100%); }
.vt-axis-mark:last-child::before { left: auto; right: 0; }
@media (max-width: 599.98px) {
  .vt-axis-mark:not(:first-child):not(:last-child) { display: none; }
}

/* ---------- Cards hero: one email, ten versions ---------- */

.vt-fan-row + .vt-fan-row {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 254, 255, .16);
}
.vt-fan-viz {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.vt-fan-src {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: var(--type-caption);
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  background: rgba(255, 255, 255, .16);
  white-space: nowrap;
}
.vt-fan-row--stensul .vt-fan-src { background: var(--color-teal-medium); }
.vt-fan-arrow { display: flex; color: rgba(201, 254, 255, .7); }
.vt-fan-out {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vt-fan-out li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vt-fan-card {
  display: block;
  width: 100%;
  padding: 10px 2px;
  border-radius: 4px;
  text-align: center;
  font-size: var(--type-caption);
  line-height: 1.2;
  color: #ffffff;
  background: rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.vt-fan-row--stensul .vt-fan-card { background: var(--color-teal-highlight); color: #201F1D; }
.vt-fan-mark { display: flex; color: #C9FEFF; }
.vt-fan-row--stensul .vt-fan-mark { color: var(--kit-citron-highlight); }
.vt-fan-text {
  margin: 12px 0 0;
  font-size: var(--type-caption);
  line-height: var(--type-body-lh);
  color: rgba(255, 255, 255, .78);
}
@media (max-width: 1023.98px) {
  .vt-fan-viz { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 8px; }
  .vt-fan-arrow { transform: rotate(90deg); margin-left: 12px; }
  .vt-fan-out { width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 10px; }
}

/* ---------- Proof table: text values, and rows that don't fill the grid ---------- */

.vt-proof td.vt-proof-text {
  font-family: inherit;
  font-size: var(--type-h5);
  line-height: var(--type-h5-lh);
  letter-spacing: 0;
  white-space: normal;
}
@media (min-width: 600px) and (max-width: 1023.98px) {
  .vt-proof tr:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .vt-proof tr:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .vt-proof tr:last-child:nth-child(3n + 2) { grid-column: span 2; }
}
@media (max-width: 599.98px) {
  .vt-bars--axis .wm-bar--slow .wm-seg--soft { padding-top: 10px; padding-bottom: 10px; }
}
