.ths {
  position: relative;
  color: #fff;
  background: #222820;
  touch-action: pan-y pinch-zoom;
	padding:0;
}

.ths [hidden] {
  display: none !important;
}

.ths-slide {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 76vh;
  padding: clamp(4rem, 10vw, 8rem) clamp(3rem, 11vw, 10rem);
  box-sizing: border-box;
  text-align: center;
}

.ths-slide::after,
.ths .ths-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ths .ths-background {
  z-index: -2;
  object-fit: cover;
}

.ths-slide::after {
  content: "";
  z-index: -1;
  background-color: rgba(0, 0, 0, .5);
}

.ths-content {
  width: 100%;
  max-width: 62rem;
  overflow-wrap: anywhere;
}

.ths .ths-logo {
 display: block;
    width: 100%;
    max-width: 150px;
    max-height: 100%;
    margin: 0 auto .75rem;
    object-fit: contain;
}

.ths .ths-eyebrow,
.ths .ths-description {
  margin: 0;
  color: inherit;
}

.ths .ths-title {
  margin: .25em 0 .15em;
  color: inherit;
  font-size: clamp(2.75rem, 5vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
}

.ths .ths-description {
  font-size: clamp(2rem, 2vw, 2.25rem);
}

.ths .ths-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .65em 1.2em;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  text-decoration: none;
}

.ths .ths-controls button {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: .15em;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: .2rem;
  color: #fff;
  background: rgba(0, 0, 0, .65);
  cursor: pointer;
}

.ths .ths-controls .ths-prev,
.ths .ths-controls .ths-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
  line-height: 1;
}

.ths-prev { inset-inline-start: clamp(2px, 2vw, 2rem); }
.ths-next { inset-inline-end: clamp(2px, 2vw, 2rem); }

.ths .ths-controls .ths-toggle {
  inset-block-end: .75rem;
  inset-inline-end: .75rem;
  padding-inline: .75rem;
  font-size: .875rem;
}

.ths :is(button, a):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.ths-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .ths-slide:not([hidden]) {
    animation: ths-fade-in .35s ease-out;
  }

  @keyframes ths-fade-in {
    from { opacity: .7; }
    to { opacity: 1; }
  }
}
