/* Thermo-Safe homepage hero — isolated from Classic theme rules */
.tsh,
.tsh * { box-sizing: border-box; }

.tsh {
  --ts-green: #315e36;
  --ts-green-dark: #274c2c;
  --ts-ink: #18291d;
  --ts-muted: #5f685f;
  --ts-cream: #f5f0e8;
  --ts-line: #eee9df;
  width: 100%;
  margin: 0 0 34px;
  color: var(--ts-ink);
  text-align: left;
}

.tsh a { text-decoration: none; }

.tsh__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--ts-cream);
  margin: 0 0 28px;
}

.tsh__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 32px 34px;
}

.tsh__eyebrow {
  margin: 0 0 10px;
  color: #667565;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.tsh .tsh__title {
  margin: 0 0 13px;
  color: var(--ts-ink);
  font-size: 32px;
  line-height: 1.08;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  overflow-wrap: normal;
  word-break: normal;
}

.tsh__title-mobile,
.tsh__lead-mobile { display: none; }

.tsh__lead {
  max-width: 540px;
  margin: 0 0 19px;
  color: #515151;
  font-size: 15px;
  line-height: 1.48;
}

.tsh__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.tsh .tsh__btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ts-green);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.tsh .tsh__btn--primary {
  background: var(--ts-green);
  color: #fff;
}

.tsh .tsh__btn--secondary {
  background: #fff;
  color: var(--ts-green);
}

.tsh .tsh__btn:hover { text-decoration: none; }
.tsh .tsh__btn--primary:hover { background: var(--ts-green-dark); color: #fff; }
.tsh .tsh__btn--secondary:hover { background: #fbfbf8; color: var(--ts-green-dark); }

.tsh__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
  color: #455047;
  font-size: 11px;
  line-height: 1.3;
}

.tsh__benefits strong { color: var(--ts-green); }

.tsh__hero-media {
  min-width: 0;
  min-height: 330px;
  background: #eee8df;
}

.tsh__hero-media img {
  display: block;
  width: 100%;
  height: 330px;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.tsh__needs { margin: 0; }

.tsh__needs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 12px;
}

.tsh .tsh__needs-head h2 {
  margin: 0 0 3px;
  color: #1c2b20;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: none;
}

.tsh__needs-head p {
  margin: 0;
  color: #717171;
  font-size: 13px;
  line-height: 1.4;
}

.tsh .tsh__needs-all {
  color: var(--ts-green);
  font-weight: 700;
  text-decoration: none;
}

.tsh__needs-all--top {
  flex: 0 0 auto;
  margin-bottom: 2px;
  font-size: 12px;
}

.tsh__needs-all--bottom { display: none; }

.tsh__needs-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.tsh .tsh-tile {
  display: block;
  min-width: 0;
  color: var(--ts-ink);
  text-decoration: none;
}

.tsh-tile__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ts-line);
  background: #f7f3ec;
}

.tsh-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.tsh-tile__body {
  display: block;
  padding: 9px 10px 7px;
}

.tsh-tile__body strong {
  display: block;
  margin: 0 0 4px;
  color: #19271d;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.tsh-tile__body small {
  display: block;
  color: var(--ts-green);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .tsh__needs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .tsh-tile__body strong { font-size: 14px; }
  .tsh-tile__body small { font-size: 11px; }
}

@media (max-width: 767px) {
  .tsh { margin-bottom: 26px; }

  .tsh__hero {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 24px;
  }

  .tsh__copy { padding: 22px 18px 20px; }

  .tsh__eyebrow {
    margin-bottom: 11px;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .tsh .tsh__title {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.09;
  }

  .tsh__title-desktop,
  .tsh__lead-desktop { display: none; }

  .tsh__title-mobile,
  .tsh__lead-mobile { display: inline; }
  p.tsh__lead-mobile { display: block; }

  .tsh__lead {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.48;
  }

  .tsh__actions {
    flex-direction: column;
    gap: 9px;
    width: 100%;
    margin-bottom: 17px;
  }

  .tsh .tsh__btn {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    font-size: 16px;
  }

  .tsh__benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    font-size: 14px;
    line-height: 1.4;
  }

  .tsh__hero-media { min-height: 0; }

  .tsh__hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .tsh__needs-head {
    display: block;
    margin-bottom: 14px;
  }

  .tsh .tsh__needs-head h2 {
    margin-bottom: 5px;
    font-size: 25px;
    line-height: 1.15;
  }

  .tsh__needs-head p {
    font-size: 15px;
    line-height: 1.4;
  }

  .tsh__needs-all--top { display: none; }
  .tsh__needs-all--bottom {
    display: block;
    padding: 13px 0 3px;
    font-size: 15px;
    text-align: center;
  }

  .tsh__needs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }

  .tsh-tile__media { aspect-ratio: 4 / 3; }
  .tsh-tile__body { padding: 8px 6px 10px; }

  .tsh-tile__body strong {
    font-size: 15px;
    line-height: 1.2;
  }

  .tsh-tile__body small { font-size: 13px; }
}

@media (max-width: 389px) {
  .tsh .tsh__title { font-size: 26px; }
  .tsh__copy { padding: 20px 16px 18px; }
  .tsh-tile__body strong { font-size: 14px; }
  .tsh-tile__body small { font-size: 12px; }
}

@media (max-width: 339px) {
  .tsh__needs-grid { grid-template-columns: minmax(0, 1fr); }
}
