.th-slide-frame {
  min-width: 0;
}

.th-slide-bar,
.th-slide-control {
  display: flex;
  align-items: center;
}

.th-slide-bar {
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.th-slide-bar h2,
.th-index-heading {
  margin: 0;
  color: light-dark(#203b2d,#d8e5df);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.th-slide-control {
  gap: 5px;
  color: light-dark(#3d5f49,#c0d0c6);
}

.th-slide-control button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid light-dark(#c4d4c8,#3c4b40);
  color: light-dark(#285c3d,#c4ddce);
  background: light-dark(#f9fcf9,#18221d);
  cursor: pointer;
}

.th-slide-control button:hover {
  color: light-dark(#17462b,#d3e9dc);
  background: light-dark(#e2efe5,#26302b);
  border-color: light-dark(#9ab7a2,#607967);
}

.th-slide-control button:focus-visible {
  outline: 2px solid light-dark(#317752,#b3d5c3);
  outline-offset: 2px;
}

.th-slide-control .ic {
  width: 16px;
  height: 16px;
}

.th-slide-control [data-step="-1"] .ic {
  transform: rotate(180deg);
}

.th-slide-count {
  min-width: 4ch;
  font-size: 12px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.th-slide-status {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.th-slide-viewport .th-spot-solo {
  grid-template-columns: 1fr;
}

.th-slide-viewport .th-feature-photo {
  touch-action: pan-y pinch-zoom;
}

.th-slide-viewport .th-feature-photo::after {
  background: linear-gradient(90deg, rgb(16 24 25 / 84%) 0%, rgb(18 28 28 / 61%) 43%, rgb(20 25 25 / 6%) 100%);
}

.th-feature-link b {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.th-index-heading {
  margin-top: 28px;
  margin-bottom: 12px;
}

.th-index-heading + .th-projects {
  margin-top: 0;
}

@media (max-width: 660px) {
  .th-slide-control button { width: 44px; height: 44px; }
  .th-slide-bar + .th-slide-viewport .th-routes { min-height: 14.375rem; }
  .th-index-heading { margin-top: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .th-slide-viewport .th-spot-art { animation: th-art-in .23s ease-out both; }
  @keyframes th-art-in { from { opacity: .68; } to { opacity: 1; } }
}
