.retargeting-panel {
  padding-bottom: 1rem;
  border: 1px solid #d8e2f2;
  border-radius: 16px;
  background: var(--background-secondary);
}

.retargeting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}

.retargeting-grid figure {
  min-width: 0;
  margin: 0;
}

.retargeting-grid figcaption {
  margin: 0 0 0.375rem;
  text-align: left;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary);
}

.retargeting-grid video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #242334;
}

.retargeting-baseline {
  margin-top: 1rem;
}

.retargeting-baseline summary {
  margin: 0 1rem;
  cursor: pointer;
  font-weight: 600;
}

.retargeting-baseline .retargeting-grid {
  margin-top: 0.75rem;
}

@media (max-width: 600px) {
  .retargeting-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Retargeting presented like the dataset: a headline card at the top of stage 02 (see #dataset-viewer). */
#retargeting-videos.dataset-feature {
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid #d4e2ff;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3f7ff 0, white 14rem);
}
#retargeting-videos.dataset-feature .retargeting-panel { border-color: #e3eaf3; border-radius: 12px; background: white; padding-top: 0.25rem; }
@media (max-width: 600px) {
  #retargeting-videos.dataset-feature { padding: 1.1rem 0.9rem 1rem; }
}
