/* ============================================================
   Talks Page — Timeline Card Layout
   ============================================================ */

/* --- Year Section --- */
.talks-year {
  margin: 2.5rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 16px;
}
.talks-year-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--expert-gradient, linear-gradient(135deg, #0077B6, #00B4D8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.talks-year-line {
  flex: 1;
  height: 2px;
  background: var(--expert-border, #e2e8f0);
  border-radius: 1px;
}

/* --- Talk Card --- */
.talk-card {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--expert-card-bg, #fff);
  border: 1px solid var(--expert-border, #e2e8f0);
  border-radius: var(--expert-radius, 10px);
  transition: all 0.25s ease;
  align-items: flex-start;
}
.talk-card:hover {
  box-shadow: var(--expert-card-shadow-hover, 0 10px 25px rgba(0,0,0,0.08));
  border-color: var(--expert-primary, #0077B6);
  transform: translateY(-1px);
}

/* --- Number Badge --- */
.talk-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--expert-gradient, linear-gradient(135deg, #0077B6, #00B4D8));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* --- Card Body --- */
.talk-body {
  flex: 1;
  min-width: 0;
}
.talk-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--expert-text, #1e293b);
  margin: 0 0 6px;
  line-height: 1.4;
}
.talk-title .talk-draft {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 600;
  margin-right: 6px;
  vertical-align: middle;
}
.dark-mode .talk-title .talk-draft {
  background: rgba(146, 64, 14, 0.2);
  color: #fbbf24;
}
.talk-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.talk-date {
  font-size: 0.78rem;
  color: var(--expert-text-secondary, #64748b);
  font-weight: 500;
}
.talk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.talk-tag {
  display: inline-block;
  padding: 2px 9px;
  font-size: 0.72rem;
  border-radius: 10px;
  background: var(--expert-surface, #f8fafc);
  color: var(--expert-primary, #0077B6);
  border: 1px solid var(--expert-border, #e2e8f0);
  font-weight: 500;
}
.talk-keywords {
  font-size: 0.82rem;
  color: var(--expert-text-secondary, #64748b);
  line-height: 1.5;
  margin: 0 0 8px;
}
.talk-keywords strong {
  color: var(--expert-text, #1e293b);
  font-weight: 600;
}

/* --- PDF Link Button --- */
.talk-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--expert-primary, #0077B6) !important;
  background: var(--expert-surface, #f8fafc) !important;
  border: 1px solid var(--expert-border, #e2e8f0);
  border-radius: 16px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  background-image: none !important;
}
.talk-link:hover {
  border-color: var(--expert-primary, #0077B6);
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.12);
  background-image: none !important;
  color: var(--expert-primary, #0077B6) !important;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .talk-card {
    flex-direction: column;
    gap: 10px;
  }
  .talk-badge {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .talks-year-number {
    font-size: 1.5rem;
  }
}
