.tiktok-section .section-head { margin-bottom: 40px; }

/* Three portrait videos side by side, kept to a sensible height. */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
}
.tiktok-item {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.tiktok-item iframe { width: 100%; height: 100%; border: 0; display: block; }

.tiktok-cta { margin-top: 32px; }
.tiktok-cta .btn { gap: 10px; }

/* Phones: swipe through the videos instead of stacking three tall frames. */
@media (max-width: 760px) {
  .tiktok-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -20px;           /* bleed to the screen edge (.wrap is 20px here) */
    padding: 0 20px 8px;
    scrollbar-width: none;
  }
  .tiktok-grid::-webkit-scrollbar { display: none; }
  .tiktok-item { scroll-snap-align: center; }
}
