.edsem-event {
  --edsem-navy: #061638;
  --edsem-blue: #3569dc;
  --edsem-red: #e31e24;
  --edsem-yellow: #ffdc00;
  --edsem-ink: #07142f;
  --edsem-soft: #f3f7ff;
  color: var(--edsem-ink);
}

.edsem-event * {
  box-sizing: border-box;
}

.edsem-event__lead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin: 0 0 56px;
}

.edsem-event__summary,
.edsem-event__facts,
.edsem-event__registration {
  border-radius: 28px;
}

.edsem-event__summary {
  padding: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(circle at 90% 0, rgba(123, 199, 255, 0.22), transparent 34%),
    linear-gradient(145deg, var(--edsem-navy), #0a2259);
  color: #f7fbff;
  box-shadow: 0 28px 80px rgba(6, 22, 56, 0.18);
}

.edsem-event__summary h2,
.edsem-event__summary p {
  color: inherit;
}

.edsem-event__eyebrow {
  margin-bottom: 14px;
  color: #b9e6ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.edsem-event__summary h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.edsem-event__summary p {
  max-width: 760px;
  color: rgba(247, 251, 255, 0.78);
}

.edsem-event__facts {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(18, 61, 153, 0.12);
  background: linear-gradient(180deg, #fff, var(--edsem-soft));
  box-shadow: 0 20px 50px rgba(6, 22, 56, 0.1);
}

.edsem-event__fact {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
}

.edsem-event__fact-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--edsem-yellow);
  color: var(--edsem-navy);
  font-size: 20px;
  font-weight: 800;
}

.edsem-event__fact strong,
.edsem-event__fact span {
  display: block;
}

.edsem-event__fact span {
  margin-top: 2px;
  color: #52617a;
  font-size: 14px;
}

.edsem-event__section {
  margin: 64px 0;
}

.edsem-event__section > h2 {
  max-width: 880px;
  margin-bottom: 26px;
  color: #f7fbff;
}

.edsem-event__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  counter-reset: topic;
}

.edsem-event__topic {
  position: relative;
  min-height: 118px;
  margin: 0 !important;
  padding: 24px 24px 24px 76px;
  border: 1px solid rgba(18, 61, 153, 0.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 22, 56, 0.07);
  counter-increment: topic;
}

.edsem-event__topic::before {
  content: counter(topic, decimal-leading-zero);
  position: absolute;
  top: 23px;
  left: 22px;
  color: var(--edsem-red);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.edsem-event__speakers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.edsem-event__speaker {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 148px;
  padding: 18px 24px 18px 18px;
  border-left: 5px solid var(--edsem-red);
  border-radius: 8px 20px 20px 8px;
  background: var(--edsem-soft);
}

.edsem-event__speaker img {
  width: 112px;
  height: 138px;
  margin: 0;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 10px 26px rgba(6, 22, 56, 0.14);
}

.edsem-event__speaker h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 26px);
}

.edsem-event__speaker p {
  margin: 0;
  color: #52617a;
  font-size: 15px;
  line-height: 1.5;
}

.edsem-event__video {
  overflow: hidden;
  border-radius: 28px;
  background: var(--edsem-navy);
  box-shadow: 0 24px 70px rgba(6, 22, 56, 0.18);
}

.edsem-event__video video {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.edsem-event__registration {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 62px);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.72), transparent 35%),
    var(--edsem-yellow);
  color: var(--edsem-ink);
}

.edsem-event__registration h2 {
  margin-bottom: 12px;
  color: var(--edsem-ink);
}

.edsem-event__registration > p {
  max-width: 760px;
}

.edsem-event__fallback {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin: 22px 0 30px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--edsem-navy);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.edsem-event__fallback:hover {
  background: #123d99;
}

.edsem-event__widget {
  min-height: 280px;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(36, 20, 21, 0.14);
}

@media (max-width: 860px) {
  .edsem-event__lead,
  .edsem-event__topics,
  .edsem-event__speakers {
    grid-template-columns: 1fr;
  }

  .edsem-event__section {
    margin: 48px 0;
  }
}

@media (max-width: 560px) {
  .edsem-event__summary,
  .edsem-event__facts,
  .edsem-event__registration,
  .edsem-event__video {
    border-radius: 20px;
  }

  .edsem-event__topic {
    min-height: auto;
    padding: 20px 18px 20px 60px;
  }

  .edsem-event__topic::before {
    top: 20px;
    left: 18px;
  }

  .edsem-event__speaker {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    min-height: auto;
    padding: 14px;
  }

  .edsem-event__speaker img {
    width: 88px;
    height: 108px;
  }
}
