/* ============================================================
   === SPEAKING PAGE ===
   Topic pills, talks grid, invite panel
   ============================================================ */

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 24px 0 0;
}

.talks-section {
  padding: var(--section-v) 0;
}

.talks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.talk-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Photo card variant ────────────────────────────────────── */
.talks-grid--photos {
  grid-template-columns: repeat(3, 1fr);
}

.talk-card--photo {
  gap: 0;
  overflow: hidden;
}

.talk-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.talk-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Shown when file exists; hidden placeholder bg shows when broken */
}

.talk-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 4px;
  flex: 1;
}

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

.talk-card__event {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.talk-card__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

.talk-card__meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: auto;
  padding-top: 4px;
}

/* ── Testimonial ────────────────────────────────────────────── */
.testimonial-section {
  padding: var(--section-v) 0;
}

.testimonial {
  border-left: 3px solid var(--accent-supernova);
  padding-left: var(--space-lg, 32px);
  margin: 0;
  max-width: 760px;
}

/* Per-project accent variants */
.testimonial--amber        { border-left-color: var(--accent-supernova); }
.testimonial--blue         { border-left-color: #7ab3f5; }
.testimonial--eu-programme { border-left-color: #FF7043; }
.testimonial--startup      { border-left-color: #6B5BDB; }
.testimonial--non-profit   { border-left-color: #3B8B5E; }

.testimonial__quote {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial__name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.testimonial__role {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ── /testimonial ───────────────────────────────────────────── */

.invite-panel {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--section-v) 0;
  text-align: center;
}

.invite-panel__headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.invite-panel__body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

/* ============================================================
   === SPEAKING PAGE — PHOTO EDITORIAL GRID ===
   No carousel — static, performant, brutalist editorial layout
   ============================================================ */

.photo-editorial {
  padding: 0 0 var(--section-v);
}

.photo-editorial__header {
  padding: var(--section-v) 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.photo-editorial__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 10px 0 6px;
  letter-spacing: -0.01em;
}

.photo-editorial__meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin: 0;
}

/* Feature photo — full bleed, cinematic */
.photo-editorial__feature {
  width: 100%;
  margin-bottom: 6px;
  overflow: hidden;
}

.photo-editorial__feature img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s ease;
}

.photo-editorial__feature:hover img {
  transform: scale(1.01);
}

@media (max-width: 768px) {
  .photo-editorial__feature img {
    aspect-ratio: 16 / 9;
  }
}

/* 6-photo strip below feature */
.photo-editorial__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.photo-editorial__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.88);
}

.photo-editorial__grid img:hover {
  transform: scale(1.03);
  filter: brightness(1);
  z-index: 1;
  position: relative;
}

@media (max-width: 900px) {
  .photo-editorial__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 540px) {
  .photo-editorial__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Section label (OTHER ENGAGEMENTS) */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 24px;
  padding-top: var(--section-v);
}
