.talks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 16px 0 28px;
}

.talk-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  background: var(--entry);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.talk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary);
}

.talk-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.talk-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}

.talk-title {
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

.talk-event {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.talk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--secondary);
  font-size: 0.82rem;
}

.talk-meta span::before {
  content: "· ";
}

.talk-meta span:first-child::before {
  content: "";
}

.talk-description {
  font-size: 0.88rem;
  color: var(--secondary);
  margin: 4px 0 0;
  line-height: 1.5;
}

.talk-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.talk-link {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
}

.talk-link:hover {
  text-decoration: underline;
}

.talks-error {
  color: var(--secondary);
  margin-top: 10px;
}

@media (max-width: 600px) {
  .talks-grid {
    grid-template-columns: 1fr;
  }
}
