.hero-events .container {
  max-width: 1330px;
}

.hero-events .subtitle {
  color: var(--white);
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-events .primary-info h1 {
  color: var(--white);
}

.hero-events .primary-info p {
  color: var(--white);
  font-size: 20px;
  line-height: 26px
}
.cdx-card {
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--blue);
  position: relative;
  overflow: hidden;
  z-index: 2
}

.cdx-card .content {
  padding: 32px
}

.cdx-card .list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px
}

.cdx-card .list li {
  color: var(--blue);
  font-family: 'Jost';
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
}

.cdx-card .image {
  display: flex;
  min-height: 100%;
}

.cdx-card .image a {
  display: block;
  width: 100%;
}

.cdx-card .image img {
  object-fit: cover;
  min-height: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-events { padding: 130px 0 150px }
  
  .hero-events.space { 
    padding: 130px 0 0;
    margin-bottom: -100px;
  }
  
  .hero-events.space .cdx-card { top: 100px }

  .hero-events .primary-info {
    max-width: 940px;
  }

  .hero-events .primary-info h1 {
    font-size: 70px;
    line-height: 1;
    position: relative;
    margin: 50px 0;
  }
  .cdx-card .grid {
    display: grid;
    grid-template-columns: 500px auto;
  }
  .cdx-card.small .grid {
    grid-template-columns: 336px auto;
  }
  .cdx-card .content {
    padding: 75px 84px
  }
  .cdx-card .text {
    margin: 30px 0
  }
}

@media (max-width: 767.98px) {
  .hero-events {
    padding: 32px;
  }
  .hero-events .container {
    padding: 0;
  }
  .hero-events .primary-info { text-align: center; margin: 0 0 60px }
  }
  .cdx-card {
    margin-bottom: 32px;
  }
  .cdx-card .image {
    max-height: 120px;
  }
  .cdx-card .list {
    margin: 0 0 24px;
  }
}
