/* Medtec China 2026 event page. Isolated from the global design system. */
.medtec-event {
  --medtec-ink: #0b1420;
  --medtec-navy: #102b4e;
  --medtec-blue: #2563d9;
  --medtec-cyan: #66c9d8;
  --medtec-pale: #edf4f8;
  --medtec-line: #dce3e8;
  --medtec-muted: #526273;
  background: #ffffff;
  color: var(--medtec-muted);
}

.medtec-event main {
  overflow: clip;
}

.medtec-event :where(h1, h2, h3, p, li, dd, dt, figcaption) {
  word-break: normal;
  overflow-wrap: anywhere;
}

.medtec-event .medtec-hero {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(102, 201, 216, 0.18), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
  border-bottom: 1px solid var(--medtec-line);
}

.medtec-event .medtec-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--medtec-blue) 0 72%, var(--medtec-cyan) 72% 100%);
}

.medtec-event .medtec-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.medtec-event .medtec-hero__copy {
  max-width: 660px;
}

.medtec-event .medtec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--medtec-blue);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.medtec-event .medtec-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--medtec-cyan);
}

.medtec-event .medtec-hero h1 {
  max-width: 13ch;
  margin: 0 0 24px;
  color: var(--medtec-ink);
  font-size: clamp(2.7rem, 5.3vw, 5.3rem);
  font-weight: 320;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.medtec-event .medtec-deck {
  max-width: 58ch;
  margin: 0;
  color: #354152;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.68;
}

.medtec-event .medtec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.medtec-event .medtec-hero__visual {
  margin: 0;
  overflow: hidden;
  background: var(--medtec-ink);
  border: 1px solid rgba(11, 20, 32, 0.12);
  border-radius: 10px;
  box-shadow: 0 28px 70px -48px rgba(11, 20, 32, 0.7);
}

.medtec-event .medtec-hero__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.medtec-event .medtec-hero__visual figcaption {
  margin: 0;
  padding: 10px 14px;
  color: #536375;
  background: #ffffff;
  border-top: 1px solid var(--medtec-line);
  font-size: 0.78rem;
  line-height: 1.5;
}

.medtec-event .medtec-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  background: var(--medtec-line);
  border: 1px solid var(--medtec-line);
  border-radius: 10px;
  overflow: hidden;
  gap: 1px;
}

.medtec-event .medtec-fact {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  background: #ffffff;
}

.medtec-event .medtec-fact dt {
  margin: 0 0 8px;
  color: #637184;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.medtec-event .medtec-fact dd {
  margin: 0;
  color: var(--medtec-ink);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 520;
  line-height: 1.35;
}

.medtec-event .medtec-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
  gap: clamp(40px, 7vw, 96px);
}

.medtec-event .medtec-panel {
  padding: clamp(28px, 4vw, 48px);
  background: var(--medtec-pale);
  border-top: 3px solid var(--medtec-blue);
}

.medtec-event .medtec-panel h2,
.medtec-event .medtec-panel h3 {
  max-width: 19ch;
  color: var(--medtec-ink);
}

.medtec-event .medtec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--medtec-line);
}

.medtec-event .medtec-list li {
  position: relative;
  margin: 0;
  padding: 20px 0 20px 34px;
  border-bottom: 1px solid var(--medtec-line);
}

.medtec-event .medtec-list li::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--medtec-cyan);
  border: 3px solid #ffffff;
  outline: 1px solid var(--medtec-blue);
  border-radius: 50%;
}

.medtec-event .medtec-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--medtec-ink);
}

.medtec-event .medtec-note {
  margin-top: 28px;
  padding: 18px 20px;
  color: #354152;
  background: #ffffff;
  border: 1px solid var(--medtec-line);
  border-left: 4px solid var(--medtec-cyan);
  font-size: 0.92rem;
  line-height: 1.65;
}

.medtec-event .medtec-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 72px);
  color: #cbd6e4;
  background: var(--medtec-ink);
  border-radius: 10px;
}

.medtec-event .medtec-cta::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(102, 201, 216, 0.44);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(37, 99, 217, 0.08), 0 0 0 108px rgba(102, 201, 216, 0.05);
  pointer-events: none;
}

.medtec-event .medtec-cta > * {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.medtec-event .medtec-cta h2 {
  color: #ffffff;
}

.medtec-event .medtec-cta p {
  color: #cbd6e4;
}

.medtec-event :is(a, button, summary):focus-visible {
  outline: 3px solid var(--medtec-cyan);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .medtec-event .medtec-hero__grid,
  .medtec-event .medtec-layout {
    grid-template-columns: 1fr;
  }

  .medtec-event .medtec-hero__copy {
    max-width: 760px;
  }

  .medtec-event .medtec-hero h1 {
    max-width: 16ch;
  }

  .medtec-event .medtec-hero__visual {
    max-width: 880px;
  }
}

@media (max-width: 760px) {
  .medtec-event .medtec-hero {
    padding: 52px 0 72px;
  }

  .medtec-event .medtec-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .medtec-event .medtec-hero__visual img {
    aspect-ratio: 5 / 4;
    object-position: 50% 50%;
  }

  .medtec-event .medtec-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .medtec-event .medtec-actions :is(.btn, .bio-button) {
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .medtec-event .medtec-cta > *,
  .medtec-event .medtec-note {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  html[lang="zh-CN"] .medtec-event :is(.medtec-cta h2, .medtec-cta p, .medtec-note) {
    word-break: break-all;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .medtec-event .medtec-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 13vw, 3.4rem);
  }

  .medtec-event .medtec-facts {
    grid-template-columns: 1fr;
  }

  .medtec-event .medtec-hero__visual {
    border-radius: 8px;
  }

  .medtec-event .medtec-hero__visual img {
    aspect-ratio: 4 / 5;
    object-position: 50% center;
  }

  .medtec-event .medtec-panel,
  .medtec-event .medtec-cta {
    min-width: 0;
    max-width: 100%;
    padding: 28px 22px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .medtec-event *,
  .medtec-event *::before,
  .medtec-event *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
