h2,
h1 {
  margin: 0;
}

h2.expertise-author-title,
.experience h2.learn-author-title {
  padding-top: 20px;
}
button.scrolltop.js-scrolltop {
  display: none;
}

.page-author {
  margin-top: 25px;
}

.blog-page content .container {
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
  max-width: 1199px;
}

@media (max-width: 990px) {
  .page-author {
    margin-top: 10px;
  }
}

.pageAuthor-wrapper {
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
ul.expertise-author-item {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 1180px) {
  .pageAuthor-wrapper {
    flex-direction: column;
    margin-bottom: 45px;
  }
}

.pageAuthor-left,
.pageAuthor-right {
  width: calc(100% / 2 - 20px);
}

@media (max-width: 1180px) {
  .pageAuthor-left {
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
  }

  .pageAuthor-left,
  .pageAuthor-right {
    width: 100%;
  }
}

img.author-photo {
  margin-right: 40px;
  border-radius: 20px;
}

@media (max-width: 1180px) {
  img.author-photo {
    margin-right: 0;
  }
}

.title-author {
  font-family: var(--default-font-family);
  font-size: 40px;
  font-weight: 700;
  line-height: 46px;
  text-align: left;
  color: #8dc63f;
  margin-bottom: 7px;
}

@media (max-width: 1180px) {
  .title-author {
    display: none;
  }

  .description-author {
    display: none;
  }
}

@media (max-width: 990px) {
  .title-author {
    font-size: 32px;
    line-height: 46px;
    margin-bottom: 4px;
  }
}

.title-author-mob {
  display: none;
}

.description-author-mob {
  display: none;
}

@media (max-width: 1180px) {
  .title-author-mob {
    display: block;
  }

  .description-author-mob {
    display: block;
  }
}

.description-author {
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #9f9f9f;
  margin-bottom: 57px;
}

@media (max-width: 990px) {
  .description-author {
    font-size: 14px;
    line-height: 16.8px;
    margin-bottom: 48px;
  }
}

.learn-author {
  background-color: #e9f4d8;
  margin-left: 3px;
  border-radius: 20px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 577px;
}

@media (max-width: 990px) {
  .learn-author {
    padding: 24px 23px 10px;
    width: auto;
  }
}

.learn-author-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  color: #393939;
  margin-bottom: 26px;
}

@media (max-width: 990px) {
  .learn-author-title {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 24px;
  }
}

.learn-author-item {
  margin-top: 25px;
}

@media (max-width: 990px) {
  .learn-author-item {
    margin-bottom: 19px;
  }
}

.learn-author-years {
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #9f9f9f;
  margin-bottom: 10px;
}

@media (max-width: 990px) {
  .learn-author-years {
    margin-bottom: 8px;
  }
}

.learn-author-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  color: #393939;
}

@media (max-width: 990px) {
  .learn-author-description {
    font-size: 16px;
    line-height: 19.2px;
  }
}

.title-article-author {
  font-family: var(--default-font-family);
  font-size: 40px;
  font-weight: 700;
  line-height: 46px;
  color: #8dc63f;
  text-align: left;
}

@media (max-width: 990px) {
  .title-article-author {
    font-size: 28px;
  }
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
}

.swiper-pagination-bullet-active {
  background: #95c12b !important;
}

.swiper-pagination {
  bottom: 42px !important;
}

@media (max-width: 990px) {
  .swiper-pagination {
    bottom: 32px !important;
  }
}

/* слайдер */
.articles-author {
  position: relative;
}

.read-more .swiper-container.slider-read-more {
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
  padding-top: 50px;
}

@media (max-width: 990px) {
  .read-more .swiper-container.slider-read-more {
    margin-bottom: 35px;
    padding-top: 15px;
  }
}

.title-article-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-article-author-navigation {
  display: flex;
  align-items: center;
}

.title-article-author-navigation .swiper-button-prev,
.title-article-author-navigation .swiper-button-next {
  margin: 0 0 0 16px;
  position: static;
  border: 1px solid #95c12b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.read-more .swiper-button-prev.swiper-button-disabled,
.read-more .swiper-button-next.swiper-button-disabled {
  opacity: 1;
  border-color: #999999;
}

.read-more .swiper-button-next:after,
.read-more .swiper-button-prev:after {
  font-size: 16px;
  color: #95c12b;
  content: "";
}

.read-more .swiper-button-prev.swiper-button-disabled:after,
.read-more .swiper-button-next.swiper-button-disabled:after {
  color: #999999;
}

.slider-read-more .swiper-slide {
  margin-bottom: 84px;
}

@media (max-width: 990px) {
  .slider-read-more .swiper-slide {
    margin-bottom: 63px;
  }
}

.read-more .swiper-initialized .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 20px;
}

.rm-item__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
  text-align: left;
  color: #393939;
  margin: 12px 0 0;
}

.rm-item__title:hover {
  color: #8dc63f;
}

@media (max-width: 990px) {
  .rm-item__title {
    font-size: 16px;
    line-height: 19.2px;
  }
}

.rm-item__content {
  font-size: 16px;
  line-height: 130%;
  color: #999999;
  flex-grow: 1;
  margin: 12px 0px;
}

.slider-read-more .swiper-track {
  display: flex;
}

.read-more-prev,
.read-more-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  margin-top: -36px;
  cursor: pointer;
}

.read-more-prev {
  left: -30px;
}

.read-more-next {
  right: -30px;
}

.slider-read-more .swiper-dots {
  display: flex;
  padding: 0;
  align-items: center;
  justify-content: center;
  margin: 30px 0 0;
  left: 0;
  right: 0;
  bottom: 10px;
  list-style: none;
}

.slider-read-more .swiper-dots li {
  width: 12px;
  max-width: 12px;
  min-width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
  border-radius: 50%;
  background: #dddddd;
}

.slider-read-more .swiper-dots li.swiper-active {
  background: #000000;
}

.slider-read-more .swiper-dots li button {
  display: none;
}

.read-more .rm-item {
  display: flex;
  flex-direction: column;
}

.rm-item__properties {
  display: flex;
  color: #e9f4d8;
  align-items: flex-start;
  flex-direction: column-reverse;
}

.rm-item__properties span {
  margin-right: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #9f9f9f;
  padding-top: 12px;
}

.rm-item__container {
  padding: 23px 16px 23px 13px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  flex-grow: 1;
}

@media (max-width: 990px) {
  .rm-item__container {
    padding: 22px 19px;
  }
}

.rm-item__container a {
  text-decoration: none;
}

.rm-item__category {
  display: flex;
  flex-wrap: wrap;
}

.rm-item__category a {
  font-size: 16px;
  line-height: 19px;
  padding: 8px 13px;
  margin-bottom: 5px;
  border-radius: 20px;
  background-color: rgba(233, 244, 216, 1);
  color: rgba(57, 57, 57, 1);
  white-space: nowrap;
}

@media (max-width: 990px) {
  .rm-item__category a {
    font-size: 14px;
    line-height: 16px;
  }
}

.rm-item__category a:hover {
  background-color: #e9f4d8;
}

.rm-item__comments {
  display: flex;
}

.rm-item__comments img {
  margin-right: 5px;
  width: 18px;
}

.rm-item__button a:last-child {
  display: flex;
  align-items: baseline;
  margin-top: 25px;
}

.rm-item__button a span {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  line-height: 100%;
  padding: 14px 32px;
  gap: 10px;
  width: 167px;
  height: 56px;
  background: #8dc63f;
  border-radius: 6px;
}

.rm-item__button a span:hover {
  background: #83aa43;
}

.rm-item__button a {
  text-decoration: none;
}

.rm-item__img {
  height: 227px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
