/* AMC 2027 keynote cards – V20: independent clean layout, protected from old global announcement rules. */
#speakers .announcement-grid { align-items: stretch; }
#speakers .keynote-feature-card {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 34px);
  background: linear-gradient(132deg, #172544 0%, #20375f 100%);
  border: 1px solid rgba(165,191,243,.26);
  color: #fff;
  isolation: isolate;
}
#speakers .keynote-feature-card:before {
  content: ""; position: absolute; z-index: -1;
  width: 280px; height: 280px; border-radius: 50%;
  top: -170px; right: -80px;
  background: radial-gradient(circle, rgba(70,112,208,.28), transparent 69%);
  pointer-events: none;
}
#speakers .keynote-card-topline {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-bottom: 20px;
}
#speakers .keynote-feature-card .announcement-label {
  color: #f1f5ff; letter-spacing: .15em; font-weight: 750;
  font-size: 11px; line-height: 1.3;
}
#speakers .keynote-speaker-number {
  font-size: 12px; line-height: 1; font-weight: 800;
  letter-spacing: .06em; color: #ffd4c4;
  border: 1px solid rgba(255,160,125,.45);
  background: rgba(255,111,68,.12);
  padding: 9px 12px; border-radius: 99px; flex: 0 0 auto;
}
#speakers .keynote-feature-layout {
  display: grid;
  grid-template-columns: minmax(0,165px) minmax(0,1fr);
  align-items: center;
  gap: clamp(18px,2vw,28px);
  min-width: 0;
}
#speakers .keynote-photo-frame {
  margin: 0; display: flex; align-items: center; justify-content: center;
  min-width: 0; padding: 8px;
  background: linear-gradient(160deg, #eaf0ff, #e6e5ef);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(0,0,0,.20);
}
#speakers .keynote-photo-frame img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 86/128; object-fit: cover; object-position: center;
  border-radius: 13px;
}
#speakers .keynote-feature-copy { min-width: 0; }
#speakers .keynote-feature-copy .keynote-status {
  display: block; margin: 0 0 12px;
  color: #ffac89; text-transform: uppercase;
  font-weight: 750; font-size: 10px;
  letter-spacing: .12em; line-height: 1.5;
}
#speakers .keynote-feature-card .keynote-feature-copy h3 {
  color: #fff; font-size: clamp(27px,2.15vw,38px);
  line-height: 1.13; letter-spacing: -.035em;
  margin: 0 0 10px; overflow-wrap: normal;
}
#speakers .keynote-feature-card .speaker-affiliation {
  max-width: unset; margin: 0 0 13px;
  font-size: 15px; font-weight: 650; line-height: 1.55;
  color: #e4eeff;
}
#speakers .keynote-feature-card .speaker-summary {
  max-width: 33ch; margin: 0 0 19px;
  font-size: 13px; line-height: 1.6;
  color: #cbd9f1;
}
#speakers .keynote-feature-card .speaker-profile-link {
  display: inline-flex; gap: 10px; align-items: center;
  max-width: 100%; box-sizing: border-box;
  font-size: 12px; font-weight: 650;
  padding: 10px 13px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.24);
  color: #fff; background: rgba(255,255,255,.075);
  line-height: 1.4; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
#speakers .keynote-feature-card .speaker-profile-link:hover,
#speakers .keynote-feature-card .speaker-profile-link:focus-visible {
  transform: translateY(-2px); background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.48);
}
#speakers .keynote-feature-card .announcement-bottom {
  margin-top: auto; padding-top: 18px; color: #c9d9f4;
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: space-between; border-top: 1px solid rgba(255,255,255,.18);
  margin-block-start: 28px; font-size: 10px;
}
#speakers .keynote-feature-card .announcement-bottom span { color: inherit; }
@media (max-width: 1139px) {
  #speakers .announcement-grid { grid-template-columns: 1fr; }
  #speakers .keynote-feature-layout { grid-template-columns: 170px minmax(0,1fr); }
}
@media (max-width: 620px) {
  #speakers .keynote-feature-card { padding: 22px; }
  #speakers .keynote-feature-layout {
    grid-template-columns: minmax(0,1fr); gap: 18px;
  }
  #speakers .keynote-photo-frame { width: min(100%,185px); box-sizing: border-box; }
  #speakers .keynote-feature-card .keynote-feature-copy h3 { font-size: 32px; }
  #speakers .keynote-feature-card .speaker-summary { max-width: 44ch; }
  #speakers .keynote-feature-card .announcement-bottom { margin-block-start: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #speakers .keynote-feature-card .speaker-profile-link { transition: none; }
}
