@keyframes linearGradient {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -200% 0%;
  }
}

.wrapper {
  width: 100%;
}

.wrapper h2 {
  margin: 98px auto;
  max-width: 1160px;
  font-family: Inter;
  font-size: 68px;
  font-weight: 700;
  line-height: 68px;
  letter-spacing: -4px;
  text-align: center;
  background: linear-gradient(100deg, #019CE5 3%, #1E20A5 23%, #601882 45%, #601882 55%, #1E20A5 77%, #019CE5 97%);
  background-size: 200% 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
  /*-webkit-animation: linearGradient linear infinite 5s;*/
  /*animation: linearGradient linear infinite 5s;*/
}

.news-articles {
  width: 100%;
}

.article-lists {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1px;
  border: 1px solid #e5e5e5;
  background-color: #e5e5e5
}

.article {
  height: 368px;
  box-sizing: border-box;
  background-color: #fff;
}

.article-content {
  height: 302px;
  margin: 16px;
  position: relative;
  border-radius: 12px;
  cursor: pointer;
  padding: 16px 12px;
}

.article-content:hover {
  background: linear-gradient(273.38deg, #019CE5 -5.71%, #1E20A5 24.98%, #611A83 88.72%);
  color: #FFF;
}

.article-content h4 {
  font-family: Inter;
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}

.article-content a,
.events-item-info a {
  border-radius: 100px;
  padding: 8px 16px 8px 16px;
  border: none;
  background: #581E7D;
  color: #FFF;
  font-family: Inter;
  font-size: 14px;
  font-weight: 500;
  line-height: 16.94px;
  letter-spacing: -0.02em;
  text-align: center;
  position: absolute;
  bottom: 24px;
  text-decoration: none
}

.article-content:hover a {
  /* todo */
  background: #FFF;
  color: #581E7D;
}

.more-articles {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
}

.events {
  margin: 68px 0;
}

.events h3 {
  width: 70%;
  font-family: Inter;
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -0.04em;
  text-align: left;
  text-transform: uppercase;
  margin: 32px auto;
}

.events-item {
  width: 70%;
  border-radius: 12px;
  background-color: #efe8f3;
  margin: 12px auto;
  position: relative;
  display: flex;

}

.events-item img {
  width: 46%;
  display: block;
}

.events-item-date {
  position: absolute;
  width: 57px;
  height: 53px;
  border-radius: 6px;
  background: #581E7D;
  top: 12px;
  left: 12px;
  padding-top: 4px
}

.events-item-date p {
  font-family: Inter;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #FFF;
}

.events-item-date p:last-child {
  font-size: 14px;
}

.events-item-info {
  padding: 24px 36px
}

.events-item-info .date {
  font-family: Inter;
  font-size: 14px;
  font-weight: 500;
  line-height: 16.94px;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;

}

.events-item-info .info {
  font-family: Inter;
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.04em;
  text-align: left;
  margin: 24px 0 36px;
  cursor: pointer;

}

.events-item-info button {
  width: 128px;
  height: 46px;
  border-radius: 100px;
  background: #581E7D;
  color: #FFF;
  font-weight: 500;
  border: none;
}

@media (max-width: 1300px) {
  .wrapper h2 {
    max-width: 1160px;
    font-size: 68px;
    line-height: 58px;
  }
}

@media (max-width: 768px) {
  .wrapper h2 {
    max-width: 870px;
    font-size: 58px;
    line-height: 58px;
  }

  .events-item {
    width: calc(100% - 80px);
  }
}

/* @media (max-width: 580px) {

  .article-content {
    height: 150px;
  }

  .article{
    height: 200px;
  }

  .wrapper h2 {
    max-width: 340px;
    margin: 40px auto;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: -2px;
  }

  .article-content {
    margin: 8px;
  }

  .article-content h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 1px;
  }

  .events h3 {
    width: 94%;
    font-size: 24px;
    line-height: 24px;
  }

  .events-item {
    width: 94%;
  }

  .events-item-info {
    padding: 12px 12px;
    cursor: pointer;
  }

  .events-item-info .info {
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: -0.04em;
    margin: 12px 0;
    margin-bottom: 48px;
  }

  .events-item-info button {
    width: 108px;
    height: 24px;
  }

  .article-content a, .events-item-info a {
    bottom: 12px
  }
} */


@media (max-width: 750px) {
  .wrapper h2 {
    font-size: .34rem;
    line-height: 1.2;
    letter-spacing: 0;
    margin: .6rem 0;
    /*padding: .46rem 0;*/
    /*color: #fff;*/
    /*background: linear-gradient(273.38deg, #019CE5 -5.71%, #1E20A5 24.98%, #611A83 88.72%);*/
   /*-webkit-background-clip: initial;*/
   /*background-clip: initial;*/
   /*border-radius: .12rem;*/
  }

  .wrapper {
    padding: 0 .12rem;
  }

  .article-lists {
    border: none;
    border-top: 1px solid #e5e5e5;
  }

  .article-content {
    height: auto;
    margin: 0;
    padding: .3rem;
    /*background: linear-gradient(273.38deg, #019CE5 -5.71%, #1E20A5 24.98%, #611A83 88.72%);*/
    /*color: #FFF;*/
  }
  .article-content a {
    /*background: #FFF;*/
    /*color: #581E7D;  */
  }

  .article {
    height: auto;
  }

  .article-content h4 {
    margin-bottom: .24rem;
    font-size: .24rem;
    line-height: 1.2;
  }

  .more-articles {
    border-top: 1px solid #e5e5e5;
  }

  .article-content a,
  .events-item-info a {
    position: initial;
    display: inline-block;
  }

  .events {
    margin: 0;
  }

  .event-list {
    display: grid;
    gap: .12rem;
  }

  .events h3 {
    width: 100%;
    font-size: .26rem;
    line-height: 1.2;
    margin: .3rem 0 .12rem;
  }

  .events-item {
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
  }

  .events-item-info {
    padding: .16rem;
    width: 100%;
  }

  .events-item-info .date {
    font-size: .14rem;
    line-height: 1.2;
  }

  .events-item-info .info {
    font-size: .2rem;
    line-height: 1.2;
    margin: .1rem 0 .2rem;
  }

  .events-item img {
    width: 100%;
  }
}