.ec-card-host {
  min-height: 500px;
  padding-top: clamp(46px, 4.5vw, 68px) !important;
  padding-right: min(36vw, 390px) !important;
  position: relative;
}

.ec-card-host > h1,
.ec-card-host > .intro,
.ec-card-host > .hero-meta,
.ec-card-host > p:not(.ec-index-card p) {
  max-width: 760px;
}

/* The card already owns the right side of the hero. Keep supporting copy in
   one readable column instead of squeezing it through the page's old grid. */
.ec-card-host > .partner-hero-grid,
.ec-card-host > .programme-hero-bottom,
.ec-card-host > .events-hero-grid,
.ec-card-host > .hero-detail {
  gap: 24px !important;
  grid-template-columns: minmax(0, 720px) !important;
  max-width: 760px;
  text-align: left;
}

.ec-card-host > .partner-hero-grid > p,
.ec-card-host > .programme-hero-bottom > p,
.ec-card-host > .events-hero-grid > p,
.ec-card-host > .hero-detail > p {
  max-width: 680px;
  text-align: left;
  text-wrap: pretty;
}

.ec-index-card {
  background: #252839;
  box-shadow: 15px 16px 0 #e7e5ff;
  color: #fff;
  margin: 0;
  padding: 28px;
  position: absolute;
  right: 0;
  top: clamp(46px, 4.5vw, 68px);
  width: min(330px, 31vw);
  z-index: 1;
}

.ec-index-card header,
.ec-index-card footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ec-index-card header span,
.ec-index-card footer span {
  color: #b5bbca;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ec-index-card header span:last-child {
  color: #aaa5ff;
}

.ec-index-card header span:last-child::before {
  background: #635bff;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 6px;
  margin-right: 7px;
  width: 6px;
}

.ec-index-card strong {
  display: block;
  font: 700 clamp(48px, 5vw, 70px)/1 "Manrope", sans-serif;
  letter-spacing: -.07em;
  margin-top: 44px;
}

.ec-index-card p {
  color: #b5bbca;
  font-size: 14px;
  margin: 7px 0 26px;
}

.ec-card-chart {
  align-items: end;
  border-bottom: 1px solid #555a70;
  display: flex;
  gap: 7px;
  height: 72px;
}

.ec-card-chart i {
  background: #635bff;
  display: block;
  flex: 1;
}

.ec-index-card footer {
  margin-top: 17px;
}

@media (max-width: 900px) {
  .ec-card-host {
    min-height: 0;
    padding-top: 42px !important;
    padding-right: 0 !important;
  }

  .ec-index-card {
    margin-top: 38px;
    position: relative;
    right: auto;
    top: auto;
    width: min(100% - 15px, 390px);
  }
}
