/* Horizontal card carousel (Our Solutions page: asset pipeline tech cards).
   CSS scroll-snap does the work (native swipe on touch); js/carousel.js only adds prev/next buttons. */
.tc-section { padding-top: 0; }
.tc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.tc-head h2 { margin: 0; }
.tc-head h2 a { color: inherit; text-decoration: none; }
.tc-head h2 a:hover { color: var(--accent); }
.tc-controls { display: flex; gap: 0.5rem; flex: none; }
.tc-controls[hidden] { display: none; }
.tc-btn {
  width: 2.6rem; height: 2.6rem; padding: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--accent);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: border-color 0.16s ease, opacity 0.16s ease;
}
.tc-btn:hover:not(:disabled), .tc-btn:focus-visible { border-color: var(--accent); }
.tc-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tc-btn:disabled { opacity: 0.35; cursor: default; }
.tc-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.tc-track {
  list-style: none; margin: 0; padding: 6px 2px 1rem;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(260px, calc((100% - 2rem) / 3));
  gap: 1rem;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.tc-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tc-slide { scroll-snap-align: start; display: flex; min-width: 0; }
.tc-card { display: flex; flex-direction: column; width: 100%; }
.tc-card .chips { margin-top: 0; }
.tc-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) {
  .tc-track { grid-auto-columns: minmax(240px, calc((100% - 1rem) / 2)); }
}
@media (max-width: 560px) {
  .tc-track { grid-auto-columns: 84%; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-track { scroll-behavior: auto; }
  .tc-btn { transition: none; }
  a.tc-card, a.tc-card:hover { transition: none; transform: none; }
}

.tc-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.tc-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex: none;
  border-radius: 0.4rem;
}
