.subscription-form {
  padding: 2rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.subscription-form__bg {
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.subscription-form__bg img:last-child {
  display: none;
}

.subscription-form__title {
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 2rem;
  margin-bottom: 2.5rem;
  color: #2f2f2f;
}

.subscription-form__subtitle {
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.6rem;
  margin-bottom: 2rem;
}

.subscription-form__options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.subscription-form__input {
  width: 27.4rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.subscription-form__btn {
  width: 27.4rem;
  margin-bottom: 2.5rem;
}

.subscription-form__policy {
  font-size: 1.1rem;
  line-height: 1.6rem;
  color: #2f2f2f;
}

.subscription-form__policy a {
  color: var(--secondary);
}

.grid {
  border-top: 1px solid var(--gray);
  height: 100%;
  display: flex;
}

.grid__item {
  flex: 1;
}

.grid__item:first-child {
  border-right: 1px solid var(--gray);
}

@media (max-width: 767px) {
  .subscription-section-title {
    border-top: 1px solid var(--gray);
  }

  .subscription-form {
    padding: 1.5rem 0.8rem 1.5rem 0.8rem;
  }

  .subscription-form__input {
    width: 100%;
  }

  .subscription-form__btn {
    width: 100%;
  }

  .subscription-form__bg {
    right: -2rem;
  }

  .subscription-form__bg img:first-child {
    display: none;
  }

  .subscription-form__bg img:last-child {
    display: block;
  }

  .articles-preview__show-next.subsctiption-back {
    display: block;
    margin-bottom: 0;
  }

  .grid {
    display: none;
  }
}
