/* Sample 2 — ZAFTYS helpers
   TMS story lives on the plane (.home-testi) section. */

:root {
  --tz-s2-zaf-teal: #008080;
  --tz-s2-zaf-teal-mid: #0d5c5c;
  --tz-s2-zaf-teal-deep: #0a3d3d;
  --tz-s2-zaf-teal-end: #0a3d3d;
  --tz-s2-zaf-teal-soft: #2aa9a9;
  --tz-s2-zaf-mist: #d8eeee;
  --tz-s2-zaf-ink: #f7f5f1;
  --tz-s2-zaf-muted: rgba(247, 245, 241, 0.78);
  --tz-s2-zaf-orange: #ff6b35;
  --tz-s2-zaf-font: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}

body.tz-s2-zaftys-on .home-testi-item-info {
  width: calc(var(--container--one-column) * 3 + var(--container--column-gap) * 2) !important;
}

body.tz-s2-zaftys-on .home-testi-item-main {
  width: calc(var(--container--one-column) * 6 + var(--container--column-gap) * 5) !important;
}

body.tz-s2-zaftys-on .home-testi-item-thumb {
  overflow: hidden;
  background: #0a1614;
  aspect-ratio: 16 / 10 !important;
  width: min(36rem, 100%) !important;
  height: auto !important;
  margin-bottom: 1.6rem;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(10, 22, 20, 0.12),
    0 16px 36px -20px rgba(0, 0, 0, 0.35);
}

body.tz-s2-zaftys-on .home-testi-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

@media (max-width: 991px) {
  body.tz-s2-zaftys-on .home-testi-item-info,
  body.tz-s2-zaftys-on .home-testi-item-main {
    width: 100% !important;
  }

  body.tz-s2-zaftys-on .home-testi-item-thumb {
    width: min(42rem, 100%) !important;
  }
}
