/*
 * speaker-kit.css — Legal Marketing Speaker "Speaker Kit".
 *
 * White surface. Centred head, then a 2-col grid: a tall "Short
 * Profile" card (left) and two stacked download cards (right). Figma
 * 513:8308. Cards: white, 1px navy-24% border, 16px radius, 40px pad.
 *
 * Download buttons carry a leading download glyph (gap from the
 * primary-on-light button base).
 */

.tlm-speaker-kit {
  background: var(--color-white);
  padding-block: var(--space-2xl);
}

.tlm-speaker-kit__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
}

/* --- Head --- */

.tlm-speaker-kit__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.tlm-speaker-kit__heading {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: var(--weight-regular);
  font-size: var(--text-h2-mobile);          /* 32 mobile */
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--color-navy);
}

.tlm-speaker-kit__intro {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-navy-muted);
}

/* --- Grid --- */

.tlm-speaker-kit__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tlm-speaker-kit__downloads {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* --- Card --- */

.tlm-speaker-kit__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-navy-divider);
  border-radius: var(--radius-lg);
}

.tlm-speaker-kit__card--profile {
  gap: var(--space-lg);
}

/* Download cards: title/body pinned top, button pinned bottom so the
   pair line up when their copy differs in length. */
.tlm-speaker-kit__card--download {
  justify-content: flex-end;
}

/* Profile photo — the People-CPT headshot, shown as a small circle
   (matches the profile page / author-card avatar). Landscape source is
   cropped square via object-fit, framed centre. */
.tlm-speaker-kit__photo {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--color-navy-tint);
}

.tlm-speaker-kit__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tlm-speaker-kit__card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: var(--weight-regular);
  font-size: var(--text-h4-mobile);          /* 28 mobile */
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--color-navy);
}

.tlm-speaker-kit__card-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-navy-muted);
}

.tlm-speaker-kit__card--profile .tlm-speaker-kit__card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tlm-speaker-kit__card--profile .tlm-speaker-kit__card-body p {
  margin: 0;
}

/* Button: leading download icon + label. */
.tlm-speaker-kit__cta {
  align-self: stretch;                       /* full-width mobile */
  gap: var(--space-sm);
  /* These labels ("Download All Logo Files", "Download Photographs")
     are longer than the base button nowrap can fit in a narrow card,
     so let them wrap to two centred lines instead of spilling out. */
  white-space: normal;
  text-align: center;
  height: auto;
  min-height: 56px;
  padding-block: var(--space-sm);
}

.tlm-speaker-kit__cta svg {
  flex: 0 0 auto;
}

/* --- Tablet+ --- */

@media (min-width: 768px) {
  .tlm-speaker-kit__heading {
    font-size: var(--text-h2);               /* 56 */
  }

  .tlm-speaker-kit__card {
    padding: var(--space-2xl);
  }

  .tlm-speaker-kit__card-title {
    font-size: var(--text-h4);               /* 32 */
  }

  .tlm-speaker-kit__card-body {
    font-size: var(--text-lg);
    letter-spacing: var(--tracking-tight);
  }

  .tlm-speaker-kit__cta {
    align-self: flex-start;                  /* natural width tablet+ */
  }
}

/* --- Desktop: profile left, downloads right --- */

@media (min-width: 1024px) {
  .tlm-speaker-kit {
    padding-block: var(--space-5xl);
  }

  .tlm-speaker-kit__grid {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-md);
  }

  .tlm-speaker-kit__card--profile {
    flex: 1 1 0;
    min-width: 0;
  }

  .tlm-speaker-kit__downloads {
    flex: 1 1 0;
    min-width: 0;
  }

  .tlm-speaker-kit__downloads .tlm-speaker-kit__card {
    flex: 1 1 0;
  }
}
