.articles {
  padding-bottom: 4.8rem;
}

.articles__inner {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.articles__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 3.2rem;
  width: 100%;
}

.articles__image {
  display: none;
}

.articles__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.articles__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.articles__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3.2rem;
  background-color: #F2F5FC;
  color: #080E15;
  border-radius: 1.6rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.articles__item:hover {
  background-color: #0D253F;
  color: #ffffff;
}

.articles__item:hover .articles__item-text {
  color: rgba(255, 255, 255, 0.8);
}

.articles__item-info {
  max-width: 41.7rem;
}

.articles__item-resource {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 2.4rem;
}

.articles__item-title {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.articles__item-text {
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex-grow: 1;
  margin-bottom: 2.4rem;
  color: rgba(8, 14, 21, 0.8);
  transition: color 0.3s ease;
}

.articles__item-link {
  display: flex;
  flex: 0 0 auto;
  width: fit-content;
}

@media only screen and (min-width: 768px) {
  .articles {
    padding-bottom: 8rem;
  }

  .articles__list {
    gap: 1.6rem;
  }

  .articles__item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
  }

  .articles__item-title {
    font-size: 2.4rem;
  }

  .articles__item-text {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1024px) {
  .articles {
    padding-bottom: 12rem;
  }

  .articles__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .articles__header {
    max-width: 57rem;
    position: sticky;
    top: 11rem;
    height: 100%;
  }

  .articles__image {
    display: block;
    width: 100%;
    max-width: 60rem;
    margin-left: -12rem;
  }

  .articles__list {
    max-width: 76rem;
  }
}

@media only screen and (min-width: 1440px) {
  .articles__image {
    margin-left: 0;
  }
}