.switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
}
.switch__label {
  font-size: 14px;
  line-height: 18px;
  color: #a5a7b1;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.switch__input {
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 100%;
  opacity: 0;
  margin: 0;
  z-index: 1;
  cursor: pointer;
}
.switch__input:checked ~ .switch__label {
  color: #4a4f62;
}
.switch__input:checked ~ .switch__toggle .switch__point {
  right: 1px;
  left: auto;
  background-color: #9000ed;
}
.switch__toggle {
  position: relative;
  height: 18px;
  width: 26px;
  border-radius: 8px;
  border: 1px solid #d2d3d8;
  pointer-events: none;
  z-index: 0;
}
.switch__point {
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  display: block;
  height: 14px;
  width: 14px;
  border-radius: 14px;
  background-color: #a5a7b1;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
html.dark .switch__input:checked ~ .switch__label {
  color: rgba(255, 254, 255, 0.8);
}
html.dark .switch__input:checked ~ .switch__toggle .switch__point {
  background-color: #a85bf6;
}
html.dark .switch__label {
  color: rgba(255, 254, 255, 0.4);
}
html.dark .switch__toggle {
  border-color: rgba(255, 254, 255, 0.2);
}
html.dark .switch__point {
  background-color: rgba(255, 254, 255, 0.2);
}
.newsletter {
  margin-top: 116px;
  color: #1d233b;
}
@media only screen and (min-width: 1024px) {
  .newsletter {
    margin-top: 124px;
  }
}
.newsletter__top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 14px 14px 14px 0;
  margin-bottom: 32px;
  cursor: pointer;
}
@media only screen and (min-width: 1024px) {
  .newsletter__top {
    gap: 30px;
    padding: 0;
  }
}
@media only screen and (min-width: 1920px) {
  .newsletter__top {
    margin-bottom: 64px;
  }
}
.newsletter__top svg path {
  stroke: #1d233b;
}
.newsletter__top h2 {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.48px;
}
@media only screen and (min-width: 1024px) {
  .newsletter__top h2 {
    font-size: 36px;
    line-height: 48px;
  }
}
.newsletter__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media only screen and (min-width: 1024px) {
  .newsletter__content {
    flex-direction: row;
  }
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media only screen and (min-width: 1024px) {
  .newsletter__form {
    flex-shrink: 0;
    padding-right: 16px;
    width: 32.7%;
  }
}
.newsletter__message {
  font-size: 14px;
  line-height: 18px;
}
.newsletter__button {
  width: 100%;
}
@media only screen and (min-width: 1024px) {
  .newsletter__button {
    width: fit-content;
  }
}
.newsletter__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media only screen and (min-width: 768px) {
  .newsletter__list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .newsletter__list .news-card {
    width: calc(50% - 8px);
  }
}
html.dark .newsletter {
  color: #fffeff;
}
html.dark .newsletter__top svg path {
  stroke: #fffeff;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #d2d3d8;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  color: #1d233b;
}
@media only screen and (min-width: 1024px) {
  .news-card {
    height: 214px;
    justify-content: space-between;
    gap: 0;
  }
}
.news-card.active {
  border-color: #9000ed;
}
.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.news-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}
@media only screen and (min-width: 768px) {
  .news-card__message {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.news-card__bottom {
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-card__bottom svg path {
  stroke: #9000ed;
}
.news-card__bottom span {
  font-size: 14px;
  line-height: 18px;
}
html.dark .news-card {
  border-color: rgba(255, 254, 255, 0.1);
  color: #fffeff;
  background-color: rgba(255, 254, 255, 0.05);
}
html.dark .news-card.active {
  border-color: #a85bf6;
}
html.dark .news-card__bottom svg path {
  stroke: #a85bf6;
}