/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 04.09.2022, 20:59:09
    Author     : Денис
*/

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
*::before, *::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

html {
  color: #2B1B35;
  font-size: 18px;
  line-height: 24px;
  font-family: var(--font-family-rg);
}

.container:not(.bread-container) {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  max-width: 1480px;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin: 0;
  font-family: var(--font-family-sm);
}

h1, .h1 {
  font-weight: 800;
  font-size: 40px;
  line-height: 48px;
}

h2, .h2 {
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
}

h3, .h3 {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  font-family: var(--font-family-sm);
  font-weight: 700;
}

h4, .h4 {
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
a:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

p:first-child {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}

.main-blog {
  padding: 0 64px 0;
}
.main-blog__section {
  margin-bottom: 27px;
}
.main-blog__section:last-child {
  margin-bottom: 0;
}
.main-blog__header {
  margin-bottom: 69px;
}
.main-blog__header.is-small {
  margin-bottom: 35px;
}
.main-blog__title {
  text-align: center;
  font-family: var(--font-family-sm);
  font-weight: 700;
}
.main-blog__tags {
  margin-top: 32px;
}
.main-blog__body.is-active .main-blog__col {
  display: block !important;
}
.main-blog__grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -20px -40px;
}
.main-blog__col {
  padding: 0 20px;
  margin-bottom: 40px;
  display: none;
}
.main-blog__col.col-3 {
  width: 33.33%;
}
.blog-expert .main-blog__col:nth-child(-n+6) {
  display: block;
}
.blog-index .main-blog__col:nth-child(-n+12) {
  display: block;
}
.main-blog__show-more {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 32px;
}

.about-expert__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.about-expert__mob {
  display: none;
}
.about-expert__aside {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 100%;
  max-width: 440px;
  margin-right: 40px;
}
.about-expert__photo {
  width: 100%;
  height: 440px;
  position: relative;
  overflow: hidden;
}
.about-expert__photo img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.about-expert__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.about-expert__text {
  margin-top: 32px;
}
.about-expert__socials {
  margin-top: 32px;
}

.btn {
  padding: 12px 32px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 170px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: relative;
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  background: transparent;
  color: #164CB5;
  border: 1px solid rgba(43, 27, 53, 0.1);
  border-radius: 100px;
  font-family: var(--font-family-sm);
  cursor: pointer;
}
.btn:hover {
  background: #164CB5;
  color: #fff;
}

.chars-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.chars-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  font-size: 12px;
  line-height: 16px;
  margin-right: 15px;
}
.chars-list__item:last-child {
  margin-right: 0;
}
.chars-list__item img {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 8px;
}

.expert-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.expert-card:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background: #fff;
  -webkit-box-shadow: 0px 20px 50px rgba(43, 27, 53, 0.25);
          box-shadow: 0px 20px 50px rgba(43, 27, 53, 0.25);
}
.expert-card:hover .expert-card__photo img {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
}
.expert-card__photo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.expert-card__photo img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.expert-card__photo img.lazy {
    filter: blur(23px);
}
.expert-card__data {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  padding: 24px;
}
.expert-card__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 16px;
}
.expert-card__user-info {
  max-width: 125px;
  margin-right: 15px;
}
.expert-card__chars-list {
  max-width: 255px;
}
.expert-card__title {
  display: inline-block;
  margin-bottom: 32px;
  letter-spacing: -1px;
}
.expert-card__title:last-child {
  margin-bottom: 0;
}
.expert-card__tags {
  margin-top: auto;
}

.socials__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0;
}
.socials__item {
  list-style: none;
  margin-right: 8px;
}
.socials__item:last-child {
  margin-right: 0;
}
.socials__link {
  border: 2px solid #F1F6FF;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: block;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.socials__link:hover {
  background: #F1F6FF;
}
.socials__link:focus {
  opacity: 0.5;
  background: #F1F6FF;
}

.tags__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -8px -8px 0;
  padding: 0;
  list-style-type: none;
}
.tags__item {
  margin-right: 7px;
  margin-bottom: 8px;
}
.tags__item a:hover {
  color: rgba(18, 72, 178, 0.5);
  background: #F1F6FF;
  border: 2px solid #F1F6FF;
}
.tags__item a:focus {
  color: #2B1B35;
  background: #F1F6FF;
  border: 2px solid #F1F6FF;
}
.tags__item a.is-active {
  color: #2B1B35;
  background: #F1F6FF;
  border: 2px solid #F1F6FF;
}
.tags__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 7px 17px;
  font-size: 14px;
  line-height: 17px;
  border: 2px solid #F1F6FF;
  border-radius: 100px;
}

.user-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
}
.user-info__photo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  overflow: hidden;
  border-radius: 50%;
}
.user-info__name {
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  display: block;
  color: #2B1B35;
  font-family: "Atyp Text B";
}
.user-info__name:hover {
  opacity: 0.7;
}
.user-info__name:focus {
  color: #2B1B35;
  opacity: none;
}

@media (max-width: 1399px) {
  .about-expert__aside {
    max-width: 384px;
    overflow: hidden;
    margin-right: 33px;
  }
  .about-expert__text p:last-child {
    margin-top: 25px;
  }
  .expert-card__chars-list {
    max-width: 200px;
  }
  .main-blog__show-more {
    margin-top: 50px;
  }
  .main-blog__section {
    margin-bottom: 60px;
  }
  .main-blog__col {
    padding: 0 15px;
  }
  .main-blog__grid {
    margin: 0px -15px -40px;
  }
  .chars-list__item {
    margin-right: 6px;
  }
  .expert-card__user-info {
    margin-right: 7px;
  }
  .container:not(.bread-container) {
    max-width: 1255px;
    padding: 0 20px;
  }
}
@media (max-width: 1259px) {
  .about-expert__aside {
    max-width: 456px;
  }
  .main-blog__col.col-3 {
    width: 50%;
  }
  .expert-card__chars-list {
    max-width: 228px;
  }
  .main-blog__show-more {
    margin-top: 29px;
  }
  .about-expert__aside {
    margin-right: 25px;
  }
  .container:not(.bread-container) {
    padding: 0px 35px;
  }
  .about-expert__photo {
    height: 520px;
  }
  .expert-card__user-info {
    margin-right: 15px;
  }
  .chars-list__item {
    margin-right: 21px;
  }
}
@media (max-width: 1019px) {
  .about-expert__dext {
    display: none;
  }
  .about-expert__mob {
    display: block;
  }
  .main-blog__title {
    font-size: 32px;
    line-height: 40px;
  }
  .main-blog__show-more {
    margin-top: 38px;
  }
  .main-blog__col {
    margin-bottom: 33px;
  }
  .expert-card__user-info {
    margin-bottom: 11px;
  }
  .expert-card__chars-list {
    margin-bottom: 11px;
  }
  .expert-card__title {
    margin-bottom: 26px;
  }
  .expert-card__actions {
    margin-bottom: 10px;
  }
  .expert-card__actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }
  .about-expert__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .about-expert__aside {
    max-width: 100%;
    margin-right: 0;
  }
  .main-blog__section {
    margin-bottom: 47px;
  }
  .about-expert__photo {
    height: 372px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .main-blog__header {
    margin-bottom: 37px;
  }
  .about-expert__main {
    margin-top: 20px;
  }
}
@media (max-width: 759px) {
  .main-blog__col.col-3 {
    width: 100%;
  }
  .container:not(.bread-container) {
    padding: 0 20px !important;
  }
  .expert-card__actions {
    -webkit-box-orient: unset;
    -webkit-box-direction: unset;
        -ms-flex-direction: unset;
            flex-direction: unset;
  }
  .main-blog__title {
    font-size: 24px;
    line-height: 32px;
  }
  .about-expert__title {
    font-size: 20px;
    line-height: 26px;
  }
  .about-expert__text {
    margin-top: 17px;
  }
  .about-expert__socials {
    margin-top: 16px;
  }
  .expert-card__actions {
    margin-bottom: 0;
  }
  .expert-card__title {
    margin-bottom: 35px;
  }
  .main-blog__col {
    margin-bottom: 25px;
  }
  .main-blog__show-more {
    margin-top: 45px;
  }
}
@media (max-width: 559px) {
  .expert-card__chars-list {
    margin-bottom: 0;
  }
  .about-expert__aside {
    margin-right: 0;
  }
  .expert-card__actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .main-blog__grid {
    margin: 0px -33px;
  }
  .about-expert__aside {
    position: absolute;
    margin: 0 -41px;
  }
  .about-expert__photo {
    height: 296px;
    margin: 0 -50px;
    width: calc(100% + 100px);
  }
  .about-expert__main {
    margin-top: 315px;
  }
  .expert-card__actions {
    margin-bottom: 10px;
  }
  .main-blog__show-more {
    margin-top: 50px;
  }
  .main-blog__col {
    margin-bottom: 33px;
  }
  .expert-card__title {
    margin-bottom: 25px;
  }
  .expert-card__user-info {
    margin-bottom: 13px;
  }
  .expert-card__data {
    padding: 21px 40px;
  }
  .about-expert__text p {
    font-size: 16px;
    line-height: 20px;
  }
  .container:not(.bread-container) {
    padding: 0 33px !important;
  }
  .about-expert__text p:last-child {
    margin-top: 20px;
  }
  .about-expert__socials {
    margin-top: 25px;
  }
  .main-blog__col {
    padding: 0;
  }
  .main-blog {
    padding: 0 0 48px 0;
  }
  .main-blog__show-more {
    margin-top: 42px;
  }
}