.cbv-grid {
  --cbv-line: hsl(var(--border));
  --cbv-surface: hsl(var(--white));
  --cbv-accent: hsl(var(--base));
  --cbv-radius: 14px;
  --cbv-shadow: 0 12px 32px hsl(220 30% 12% / 0.08);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.cbv-card {
  background: var(--cbv-surface);
  border: 1px solid var(--cbv-line);
  border-radius: var(--cbv-radius);
  box-shadow: var(--cbv-shadow);
  overflow: hidden;
}

.cbv-card__media {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: hsl(220 20% 12%);
}

.cbv-card__media iframe,
.cbv-card__media .tiktok-embed {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0;
}

.cbv-card__media .tiktok-embed iframe {
  position: absolute;
  inset: 0;
}

.cbv-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, hsl(var(--base) / 0.35), hsl(220 20% 12%));
}

.cbv-card__fallback i {
  font-size: 2.4rem;
}

.cbv-card__meta {
  padding: 12px 14px 14px;
}

.cbv-card__platform {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: hsl(var(--base) / 0.12);
  color: var(--cbv-accent);
}

.cbv-card__platform--tiktok {
  background: hsl(0 0% 12% / 0.08);
  color: hsl(0 0% 12%);
}

.cbv-card__platform--instagram {
  background: hsl(330 80% 54% / 0.12);
  color: hsl(330 70% 42%);
}

.cbv-card__platform--facebook {
  background: hsl(220 80% 50% / 0.12);
  color: hsl(220 70% 40%);
}

.cbv-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.cbv-empty {
  background: hsl(var(--white));
  border-radius: 14px;
  padding: 40px 16px;
}

@media (min-width: 576px) {
  .cbv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .cbv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .cbv-card__media {
    height: 360px;
  }
}

@media (min-width: 1400px) {
  .cbv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
