.talk-gallery {
  display: grid;
  gap: var(--space-10);
  padding-top: var(--space-4);
}

.talk-gallery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.talk-gallery__title {
  font-size: var(--font-size-label);
  font-weight: 600;
}

.talk-gallery__all {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  min-height: var(--control-height-desktop);
  margin: calc(var(--space-14) * -1) 0;
  padding: 0;
  font: inherit;
  font-size: var(--font-size-label);
  font-weight: 600;
  color: var(--primary-text);
  background: none;
  border: 0;
  cursor: pointer;
}

.talk-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-8);
}

.talk-gallery__thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--surface-2);
  border: 0;
  cursor: pointer;
}

.talk-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk-gallery__thumb span {
  position: absolute;
  top: 0;
  left: 0;
  min-width: var(--space-20);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-badge);
  font-weight: 600;
  line-height: var(--line-height-control);
  text-align: center;
  color: var(--on-primary);
  background: var(--tooltip);
}
