.modal-submit-form .btn-close {
  top: 10px;
  right: 5px;
}

.article {
  color: #42474d;
  font-size: 16px;
  overflow-x: hidden;
}
.article-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.article h1,
.article h2 {
  font-family: 'Avenir Next Cyr Demi', 'Arial', 'Helvetica CY', sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  line-height: 100%;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
@media (min-width: 992px) {
  .article h1,
  .article h2 {
    font-size: 2.5em;
    line-height: 130%;
    margin-bottom: 24px;
  }
}
.article h3,
.article h4,
.article h5 {
  font-family: 'Avenir Next Cyr Demi', 'Arial', 'Helvetica CY', sans-serif;
  font-weight: 700;
  font-size: 1.65em;
  line-height: 100%;
  letter-spacing: 0.02em;
  margin-top: 12px;
  margin-bottom: 12px;
}
@media (min-width: 992px) {
  .article h3,
  .article h4,
  .article h5 {
    font-size: 1.85em;
    line-height: 130%;
    margin-top: 24px;
    margin-bottom: 12px;
  }
}
.article p,
.article ul,
.article ol {
  font-weight: 400;
  font-size: 1em;
  line-height: 130%;
}
@media (min-width: 992px) {
  .article p,
  .article ul,
  .article ol {
    font-size: 1.25em;
  }
}
.article ul,
.article ol {
  font-size: 1em;
  padding-left: 1rem;
}
@media (min-width: 576px) {
  .article ul,
  .article ol {
    padding-left: 1.5rem;
  }
}
@media (min-width: 992px) {
  .article ul,
  .article ol {
    font-size: 1.25em;
  }
}
.article img {
  max-width: 100%;
  height: auto;
}
.article .link-picture {
  display: block;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
}
.article .link-picture picture {
  display: block;
  width: 100%;
}
.article .poster {
  display: block;
  margin: 20px 0;
  border-radius: 1rem;
  overflow: hidden;
}

.article .img {
  display: block;
  margin: 0 0 20px;
  border-radius: 1rem;
  overflow: hidden;
}

.article a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #398ef0;
  transition: 0.3s;
}
.article a:hover {
  background-color: #398ef0;
  color: #fff;
}
.article a:visited {
  color: #8d46d9;
}
.article .wrapper-table {
  width: 100%;
  margin: 1rem 0;
  overflow-x: auto;
}
.article table {
  border-collapse: collapse;
  margin: 1rem auto;
  vertical-align: top;
}
@media (min-width: 576px) {
  .article table {
    width: 100%;
    margin: 3rem auto;
  }
}
.article table tr:not(:last-child) {
  border-bottom-width: 1px;
}
.article table td {
  padding: 1rem;
  text-align: center;
  font-family: 'Avenir Next Cyr Medium', 'Arial', 'Helvetica CY', sans-serif;
  font-weight: 500;
  font-size: 0.75em;
  line-height: 130%;
}
.article table td:not(:last-child) {
  border-right-width: 1px;
}
@media (min-width: 992px) {
  .article table td {
    padding: 1.5rem;
    font-size: 1.25em;
  }
}
.article .block {
  padding: 1rem;
}
@media (min-width: 992px) {
  .article .block {
    padding: 1.5rem;
  }
}
.article .block--yellow {
  background: #fffeda;
}
@media (min-width: 992px) {
  .article .block--yellow {
    border-radius: 1rem;
    box-shadow: -8px -8px 10px 0 #fff, 8px 8px 16px 0 rgba(73, 76, 79, 0.19);
  }
}
.article .block li {
  margin-bottom: 10px;
}
@media (min-width: 576px) {
  .article .block li {
    margin-bottom: 20px;
  }
}
.article .ul-list {
  list-style-type: disc;
}
.article .ol-list {
  position: relative;
  list-style-type: none;
}
.article .ol-list li {
  position: relative;
  padding-left: 0.5rem;
}
.article .ol-list li::before {
  content: attr(data-li);
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  font-family: 'Avenir Next Cyr Demi', 'Arial', 'Helvetica CY', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 130%;
}
.article .link-red {
  display: inline-block;
  margin: 20px auto;
  vertical-align: center;
  border-radius: 1rem;
  padding: 0.62rem 1rem 0.75rem;
  color: #fff;
  text-decoration: none;
  font-family: 'Avenir Next Cyr Demi', 'Arial', 'Helvetica CY', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 130%;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
  background: #cd4141;
  transition: box-shadow 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out;
  cursor: pointer;
}
@media (min-width: 768px) {
  .article .link-red {
    padding: 15px 22px;
    margin: 40px auto;
  }
}
.article .link-red:hover {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.3);
  background: #ba3838;
  color: #fff;
  transform: scale(1.1);
}
.article .link-red:visited {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.3);
  background: #ba3838;
  color: #fff;
}
.article .sale-block {
  display: flex;
  flex-direction: column;
  margin: 1rem 0;
}
@media (min-width: 992px) {
  .article .sale-block {
    justify-content: center;
    margin: 2rem 0 1rem;
  }
}
.article .sale-block__btn {
  width: 100%;
  text-align: center;
  padding: 1rem;
}
@media (min-width: 576px) {
  .article .sale-block__btn {
    width: auto;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 1rem 0;
}
.breadcrumbs__item {
  position: relative;
  font-weight: 400;
  font-size: 1rem;
  line-height: 100%;
  color: #42474c;
}
.breadcrumbs__item:not(:last-child)::before {
  content: '/';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 1rem;
  line-height: 130%;
  color: #42474c;
}
.breadcrumbs__item:last-child {
  color: rgba(66, 71, 76, 0.6);
}
.breadcrumbs__item:last-child::before {
  display: none;
}
@media (min-width: 992px) {
  .breadcrumbs__item {
    line-height: 130%;
  }
}
.breadcrumbs__link {
  text-decoration: none;
  color: inherit;
}

.article-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  padding: 0;
  width: 100%;
}
@media (min-width: 576px) {
  .article-meta {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    flex-direction: row;
    align-items: flex-end;
    box-shadow: 8px 8px 16px 0 rgba(73, 76, 79, 0.19);
    background: linear-gradient(139deg, #f9f9f9 0%, #fff 100%);
  }
}
.article-meta__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.article-meta__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.article-meta__avatar img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-meta__info {
  display: flex;
  flex-direction: column;
}
.article-meta__name {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 130%;
  letter-spacing: 0.02em;
  color: #42474d;
  margin-bottom: 0.25rem;
}
.article-meta__position {
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 130%;
  letter-spacing: 0.02em;
  color: #42474d;
}
.article-meta__date {
  font-weight: 700;
  font-size: 1rem;
  line-height: 100%;
  letter-spacing: 0.02em;
  color: #42474d;
  flex-shrink: 0;
}
.article-meta__rating-date {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 576px) {
  .article-meta__rating-date {
    flex-direction: row;
  }
}
.article-meta__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.article-meta__rating-value {
  font-size: 0.75rem;
  color: #666;
  margin-left: 0.5rem;
  font-weight: 600;
}
.article-meta__star {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.article-meta__star:hover {
  transform: scale(1.1);
}
.article-meta__star--filled path {
  fill: #42474c;
}
.article-meta__star--empty path {
  fill: #e0e0e0;
}
.article-meta__star--half path {
  fill: #42474c;
  opacity: 0.7;
}

.articles__title {
  font-family: 'Avenir Next Cyr Demi', 'Arial', 'Helvetica CY', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 120%;
  letter-spacing: 0.02em;
  margin: 20px auto;
}
@media (min-width: 992px) {
  .articles__title {
    text-align: center;
    font-size: 2.25rem;
    margin: 36px auto;
  }
}
.articles__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 576px) {
  .articles__wrapper {
    display: grid;
    gap: 2rem;
    grid-auto-rows: 1fr;
    align-items: stretch;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .articles__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
.articles__item {
  display: flex;
  flex-direction: column;
}

.article-preview {
  height: 100%;
  border-radius: 1.38rem;
  box-shadow: -1px 4px 24px 0 rgba(0, 0, 0, 0.2);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.article-preview:hover {
  box-shadow: -1px 4px 24px 0 rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}
.article-preview:hover .article-preview__img {
  transform: scale(1.05);
}
.article-preview__figure {
  margin: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.article-preview__img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 13rem;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}
@media (min-width: 768px) {
  .article-preview__img {
    max-height: 16rem;
  }
}
.article-preview__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
.article-preview__link:focus {
  outline: none;
}
.article-preview__link:focus .article-preview__img {
  transform: scale(1.05);
}
.article-preview__content {
  padding: 1rem;
  margin-top: auto;
  margin-bottom: 24px;
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .article-preview__content {
    margin-bottom: 12px;
  }
}
.article-preview__title {
  font-family: 'Avenir Next Cyr Demi', 'Arial', 'Helvetica CY', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 120%;
  color: #000;
}
@media (min-width: 768px) {
  .article-preview__title {
    font-size: 1.25rem;
  }
}
.article-preview__description {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-line-clamp: 3;
  -moz-line-clamp: 3;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 120%;
  color: #000;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .article-preview__description {
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
  }
}
.article-preview__footer {
  padding: 1rem;
  padding-top: 0;
}
.article-preview .link-icon {
  position: relative;
  display: inline-block;
  padding-right: 2.5rem;
  font-weight: 400;
  font-size: 0.94rem;
  line-height: 140%;
  transition: 0.3s;
}
.article-preview .link-icon::before {
  content: '';
  position: absolute;
  top: 60%;
  right: 0;
  transform: translate(0, -50%);
  width: 2rem;
  height: 1rem;
  background-image: url('../img/pages/article/icon-arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.article-preview .link-icon:hover {
  padding-right: 3rem;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .article__form.container {
    padding: 0;
  }
}
.article__form-wrapper {
  width: 100%;
  margin: 0 auto;
  margin: 35px auto;
  padding: 1.25rem;
  background: #e2f0fb;
}
@media (min-width: 992px) {
  .article__form-wrapper {
    margin: 50px auto;
    border-radius: 1rem;
    box-shadow: -8px -8px 10px 0 #fff, 8px 8px 16px 0 rgba(73, 76, 79, 0.19);
  }
}

.article-form {
  max-width: 430px;
  margin: 0 auto;
}
.article-form__title {
  font-family: 'Avenir Next Cyr Demi', 'Arial', 'Helvetica CY', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 100%;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .article-form__title {
    margin-bottom: 26px;
    font-size: 1.75rem;
    line-height: 120%;
    text-align: center;
  }
}
.article-form .form-personal {
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-size: 0.81rem;
  line-height: 140%;
  color: inherit;
}
@media (min-width: 992px) {
  .article-form .form-personal {
    text-align: center;
    font-size: 0.69rem;
  }
}
.article-form .form-personal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}
.article-form .form-control,
.article-form .form-select {
  border-radius: 0.75rem;
}
.article-form .form-control {
  padding: 0.62rem 1.56rem 0.75rem;
}
.article-form .form-select {
  border-radius: 0.75rem;
  padding: 0.6rem 1.56rem 0.6rem;
}
.article-form .form__btns {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  padding-top: 0;
}
.article-form .form__btns .button {
  flex-grow: 1;
  margin: auto;
  border-radius: 1rem;
  padding: 15px 22px;
  margin-bottom: 1rem;
  box-shadow: none;
}
@media (max-width: 576px) {
  .article-form .form__btns .button {
    width: 100%;
  }
}

.article-form-modal .btn-close svg {
  display: none;
}
.article-form-modal .btn-close::before {
  font-size: 250%;
  color: rgba(0, 0, 0, 0.25);
  background-color: transparent;
  left: -30%;
}
.article-form-modal .modal-content {
  border-radius: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}
.article-form-modal .modal-body {
  padding-top: 2rem;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 100%;
  text-align: center;
  border-radius: 0.75rem;
  box-shadow: 0 4px 11px 0 rgba(0, 0, 0, 0.25);
  background: linear-gradient(169deg, #f5f7f8 0%, #e1ebf0 100%);
}
.article-form-modal .modal-body svg {
  z-index: 0;
  width: 36px;
  height: 36px;
  fill: #e1ebf0;
}
.article-form-modal .form-message-modal {
  padding-bottom: 0;
}
.article-form-modal .form-message-modal__title {
  padding: 1rem;
  margin-top: -1rem;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 100%;
  text-align: center;
  border-radius: 0.38rem;
  border: 2px solid #3080a3;
}
.article-form-modal .form-message-modal__text {
  padding: 1rem;
}
.article-form-modal .social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}
.article-form-modal .social__item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.article-form-modal .social__item .icon {
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
