/* AI Engineer Melbourne 2026 — Speakers section
   Sits inside @layer theme alongside colors.css.
   Inherits typography from the site (Plus Jakarta Sans for headings, Inter for body).
   Uses design tokens from colors.css.

   Must sit in @layer theme (not components): the base .speaker-photo rules in
   speakers.css are in @layer theme, and theme outranks components, so duo
   overrides like width:130px only win the cascade from the same (or a higher)
   layer — otherwise the base width:180px shadows them regardless of specificity.
*/
@layer theme {

.speaker-card--duo .speaker-photo {
  width: 130px;
  margin-block-end: 0;
}

.speaker-card--duo .duo-photos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block-end: 1.5rem;
  height: 180px;
}

.speaker-card--duo .duo-photos .speaker-photo:first-child {
  z-index: 2;
  margin-right: -28px;
  border: 3px solid #fff;
}

.speaker-card--duo .duo-photos .speaker-photo:last-child {
  z-index: 1;
  border: 3px solid #fff;
}

.speaker-card--duo a:hover .speaker-photo {
  transform: none;
}

}
