.header--type-2 .header__col + .header__col {
  display: none !important;
}

.header--type-2 .header__col {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: 600;
}

[dir] .header--style-4 .header__link {
  color: var(--link-color);
  font-size: 18px;
}

@media (max-width: 767px) {
  [dir] .header--style-4 .header__link {
    font-size: 14px;
  }
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir] .welcome .h1 {
    font-size: 32px;
  }
}

[dir] .header--style-4 .header__link,
.btn--custom-footer {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

[dir] .header--style-4 .header__link::before,
.btn--custom-footer::before {
  font-family: 'ElegantIcons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  content: "\23";
  margin-right: 10px;
}

.btn--custom-footer::before {
  border-color: #fef5ea;
  color: #fef5ea;
}

@media only screen and (min-width: 980px) {
  .header {
    height: 80px;
  }
}

[dir] .header--style-4 .header__container {
  box-shadow: 0 0 15px rgba(233, 235, 243, 0.81);
}

.welcome--style-1 .h1 {
  color: var(--primary-color);
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  .welcome--style-1 .h1 {
    font-size: 44px;
    margin-bottom: 28px;
  }
}

[dir] .welcome input[type=search] {
  border-radius: 100px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: 50px;
  min-height: 50px;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  border: 1px solid var(--primary-bg-color);
}

[dir] .welcome input[type=search]:focus,
[dir] .welcome input[type=search]:active {
  outline: none !important;
  border-color: var(--primary-color);
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir] .welcome input[type=search] {
    font-size: 14px;
  }
}

[dir] .search [type=submit] {
  background: #fff no-repeat center;
  background-size: 25px 25px;
  color: transparent !important;
  border-color: transparent !important;
  border-radius: 0 100px 100px 0;
  width: 48px;
  height: 48px;
  margin-top: 1px;
  margin-right: 1px;
}

[dir] .search [type=submit]:hover,
[dir] .search [type=submit]:focus,
[dir] .search [type=submit]:active {
  background-color: var(--primary-bg-color);
  border-color: transparent !important;
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir] .search [type=submit] {
    background-size: 20px 20px;
    display: block;
  }
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  [dir] .welcome--size-medium .welcome__section {
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .welcome__content .h1 div {
    display: none;
  }
}

[dir] .promoted--type-custom .promoted__heading:after {
  display: none;
}

[dir] .section-heading {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--primary-color);
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  [dir] .section-heading {
    font-size: 36px;
  }
}

.promoted__accordion {
  max-width: 1066px;
  margin-right: auto;
  margin-left: auto;
}

.spoiler__title {
  font-weight: 500;
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir=ltr] .spoiler__title {
    padding-left: 0;
  }
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  .spoiler__title {
    font-size: 24px;
  }

  [dir] .spoiler__title::after {
    font-size: 28px;
  }

  [dir] .spoiler__text {
    padding: 0 24px;
  }
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  .category-blocks--type-1 .category-blocks__item {
    flex: 1 0 33.33%;
    max-width: 100%;
  }

  .category-blocks--type-1 .category-blocks__title {
    font-size: 20px;
    line-height: 28px;
    font-family: var(--text-font-family);
    font-weight: 500;
  }

  .category-blocks--type-1 .category-blocks__link {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media only screen and (min-width: 980px) {
  [dir] .category-blocks--type-1 .category-blocks__item:nth-child(n+3) {
    margin-top: 0;
  }

  [dir] .category-blocks--type-1 .category-blocks__item:nth-child(n+4) {
    margin-top: 21px;
  }
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9) and (max-width: 979px), only screen and (min-width: 668px) and (min-height: 416px) and (max-width: 979px) {
  [dir] .category-blocks--type-1 .category-blocks__item:nth-child(n+3) {
    margin-top: 0;
  }

  [dir] .category-blocks--type-1 .category-blocks__item:nth-child(n+4) {
    margin-top: 16px;
  }
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  .category-blocks--type-1 .category-blocks__item {
    flex: 1 0 50%;
    max-width: 50%;
  }

  [dir] .category-blocks--type-1 .category-blocks__item:nth-child(n+2) {
    margin-top: 0;
  }

  [dir] .category-blocks--type-1 .category-blocks__item:nth-child(n+3) {
    margin-top: 16px;
  }

  [dir] .category-blocks--type-1 .category-blocks__title {
    font-size: 16px;
  }
}

[dir] .category-blocks--type-1 .category-blocks__item {
  padding-right: 10px;
  padding-left: 10px;
}

.category-blocks--type-1 .category-blocks__title {
  text-align: center;
  margin-bottom: 0;
}

.category-blocks--type-1 .category-blocks__description {
  display: none;
}

.category-blocks--type-1 .category-blocks__link {
  border: 1px solid var(--secondary-bg-color);
  box-shadow: 0 0 15px rgba(233, 235, 243, 0.81);
}

[dir] .category-blocks--type-1 .category-blocks__link:hover,
[dir] .category-blocks--type-1 .category-blocks__link:focus,
[dir] .category-blocks--type-1 .category-blocks__link:active {
  color: var(--primary-text-color);
  background-color: var(--secondary-bg-color);
  border-color: var(--primary-color);
}

[dir] .category-blocks--type-1 .category-blocks__link:hover .category-blocks__title,
[dir] .category-blocks--type-1 .category-blocks__link:focus .category-blocks__title,
[dir] .category-blocks--type-1 .category-blocks__link:active .category-blocks__title {
  color: var(--primary-text-color);
}

.category-blocks__icon {
  display: block;
  margin: 0 auto 4px;
}

@media only screen and (min-width: 980px) {
  [dir] .category-blocks--type-1 .container {
    max-width: 1204px;
  }
}

[dir=ltr] .layout .section--secondary:after,
[dir=ltr] .layout--style-filled .section:nth-child(even):after,
[dir=ltr] .layout--style-invert .section:nth-child(odd):after {
  display: none !important;
}

/* Footer box */
.footer-box {
  background-color: #fef5ea;
  color: var(--primary-color);
  padding: 30px 0;
}

.footer-box .container {
  display: flex;
  justify-content: space-around;
  max-width: 1680px;
}

.footer-box__item {
  display: flex;
  align-items: center;
}

.footer-box__item img {
  width: 40px;
  height: 40px;
  display: block;
  margin-right: 12px;
}

.footer-box__item span {
  flex: 1 1 10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  .footer-box .container {
    flex-wrap: wrap;
  }

  .footer-box__item {
    width: 50%;
    flex: 1 1 50%;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 0 12px;
  }

  [dir] .footer-box__item:nth-child(n+3) {
    margin-top: 40px;
  }
}

/* Footer */
.custom-footer {
  background: #2e3f61 no-repeat center;
  background-size: cover;
  color: #fef5ea;
  padding: 100px 0 70px;
  text-align: center;
}

.powered-by-zendesk {
  display: none !important;
}

.btn--custom-footer {
  font-size: 18px;
  font-weight: normal;
}

.btn--custom-footer::before {
  margin-right: 10px;
  transform: translateY(0);
}

.custom-footer__btn {
  margin-bottom: 40px;
}

[dir] .custom-footer__heading {
  font-size: 24px;
  line-height: 40px;
  font-family: var(--text-font-family);
  margin: 0 0 12px;
}

.custom-footer__contacts {
  display: flex;
  justify-content: center;
}

.custom-footer__contacts * {
  display: block;
  text-align: right;
  font-size: 14px;
  line-height: 24px;
  color: #8596b7;
}

.custom-footer__contacts * + * {
  display: block;
  margin-left: 18px;
  padding-left: 18px;
  position: relative;
}

.custom-footer__contacts * + *::before {
  content: '';
  display: block;
  width: 1px;
  height: calc(100% - 10px);
  top: 5px;
  left: 0;
  background-color: #8596b7;
  position: absolute;
}

.custom-footer__contacts a {
  text-decoration: underline;
  color: #8596b7;
}

.custom-footer__contacts a:hover,
.custom-footer__contacts a:focus,
.custom-footer__contacts a:active {
  color: #8596b7;
  text-decoration: none;
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir] .custom-footer {
    background-image: none;
    background-color: var(--primary-bg-color);
    color: var(--primary-text-color);
    padding: 46px 0;
  }

  [dir] .custom-footer__heading {
    font-size: 20px;
    color: var(--primary-color);
  }

  .custom-footer__contacts {
    flex-direction: column;
    align-items: center;
  }

  .custom-footer__contacts * + *::before {
    display: none;
  }

  .custom-footer__contacts * + * {
    margin-left: 0;
    padding-left: 0;
    margin-top: 12px;
  }

  .custom-footer__contacts *,
  .custom-footer__contacts a,
  .custom-footer__contacts a:hover,
  .custom-footer__contacts a:focus,
  .custom-footer__contacts a:active {
    color: var(--secondary-text-color);
  }
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  .footer-container {
    display: flex;
    flex-direction: column;
  }

  .footer-container > * {
    order: 1;
  }

  .footer-container > .custom-footer {
    order: 0;
  }
}

/* Footer menu */
.footer-menu {
  background-color: #2e3f61;
  color: #fef5ea;
  padding: 36px 0;
}

.footer-menu a {
  color: #fef5ea !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  padding: 6px 30px 6px 0;
  display: block;
  position: relative;
  text-decoration: none !important;
}

.footer-menu a::after {
  content: "\f054";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 12px;
}

.footer-bottom-menu {
  background-color: var(--primary-bg-color);
  padding: 15px 0;
  color: var(--secondary-text-color);
  font-size: 12px;
}

.footer-bottom-menu a {
  color: var(--secondary-text-color);
  text-decoration: none;
}

.footer-bottom-menu div + div {
  margin-top: 4px;
}

/* Breadcrumbs */
.breadcrumbs-section {
  margin: 16px 0 50px;
}

[dir] .container.container--big {
  max-width: 1580px;
}

[dir] .container.container--min {
  max-width: 1084px;
}

.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
}

.breadcrumbs span {
  color: var(--primary-text-color);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

[dir] .breadcrumbs li + li:before {
  font-family: 'ElegantIcons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  content: "\35";
  font-size: 16px;
  transform: translate(-50%, -50%);
  margin-top: -1px;
  margin-left: 2px;
}

@media only screen and (min-width: 980px) {
  [dir] .page-content:not(.page-content--without-margin) {
    margin-top: 50px;
  }
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  [dir] .page-content:not(.page-content--without-margin) {
    margin-top: 50px;
  }
}

/* Section spoiler */
.section-spoiler {
  display: block;
  margin: 0 auto;
}

[dir] .section-spoiler {
  margin-bottom: 0;
}

[dir] .section-spoiler + .section-spoiler {
  margin-top: 12px;
}

.section-spoiler .spoiler__title {
  background-color: var(--secondary-bg-color);
  border-radius: 12px;
  padding-left: 12px;
}

.section-spoiler .spoiler__text {
  padding: 0 12px;
}

@media only screen and (min-width: 980px) {

  [dir] .section-spoiler + .section-spoiler {
    margin-top: 20px;
  }

  .section-spoiler .spoiler__title {
    border-radius: 20px;
    padding: 17px 40px;
  }

  .section-spoiler .spoiler__text {
    padding: 0 70px;
  }
}

.section-spoiler__list {
  display: block;
  margin: 0;
  padding: 0;
}

.section-spoiler__list li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-spoiler__list a {
  font-size: 14px;
  line-height: 26px;
  color: var(--primary-color);
}

.section-spoiler__list a:hover {
  text-decoration: underline;
}

@media only screen and (min-width: 980px) {
  .section-spoiler__list a {
    font-size: 18px;
    line-height: 45px;
  }
}

.section-spoiler__list + .section-spoiler__list {
  margin-top: 24px;
}

.page-content__button {
  text-align: center;
  margin-top: 32px;
}

.page-content__button a i {
  font-size: 24px;
  margin-left: -8px;
}

[dir] .page-content__button a * + * {
  margin-left: 2px;
}

@media only screen and (min-width: 980px) {
  .page-content__button {
    margin-top: 100px;
  }
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  .page-content__button {
    margin-top: 50px;
  }
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  .page-content__button .btn {
    width: 100%;
    height: 48px;
  }
}

/* Categories */
.categories__item {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 20px;
  background-color: var(--secondary-bg-color);
  height: 90px;
  padding: 0 28px 0 35px;
  border: 1px solid var(--secondary-bg-color);
  color: var(--primary-text-color);
  box-shadow: 0 0 15px rgba(233, 235, 243, 0.81);
  font-size: 24px;
  font-weight: 500;
}

.categories__item + .categories__item {
  margin-top: 20px;
}

.categories__item img {
  margin-right: 38px;
}

.categories__item span {
  flex: 1 1 10px;
}

.categories__item i {
  font-size: 36px;
}

.categories__item.is-active,
.categories__item:hover,
.categories__item:focus,
.categories__item:active {
  border-color: var(--primary-color);
  color: var(--primary-text-color);
  text-decoration: none;
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  .categories__item {
    padding: 0 24px;
    height: 70px;
    font-size: 16px;
    border-radius: 18px;
  }

  .categories__item img {
    width: 46px;
    height: 46px;
    margin-right: 24px;
  }
}

[dir] .vote--style-2 {
  max-width: 658px;
  margin-right: auto;
  margin-left: auto;
  background-color: var(--secondary-bg-color);
  border-radius: 20px;
}

[dir] .vote--style-2 .vote__controls ~ .vote__content {
  display: none !important;
}

[dir] .vote--style-2 > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[dir] .vote--style-2 .vote__heading {
  font-size: 16px;
  font-weight: 300;
  font-family: var(--text-font-family);
}

[dir] .vote--style-2 .vote__controls {
  margin: 0;
  display: flex;
  flex-direction: row-reverse;
}

@media only screen and (min-width: 980px) {
  [dir] .vote--style-2 {
    padding: 40px 56px;
  }
}

[dir=ltr] .vote--style-2 .vote__btn {
  margin-left: 20px;
}

[dir] .vote__btn {
  display: flex;
  align-items: center;
  box-shadow: 0 0 15px rgba(233, 235, 243, 0.81);
  font-weight: normal;
}

[dir] .vote__btn.vote__btn--up,
[dir] .vote__btn.vote__btn--up:hover,
[dir] .vote__btn.vote__btn--up:focus,
[dir] .vote__btn.vote__btn--up:active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

[dir] .vote__btn.vote__btn--down,
[dir] .vote__btn.vote__btn--down:hover,
[dir] .vote__btn.vote__btn--down:focus,
[dir] .vote__btn.vote__btn--down:active {
  background-color: #fff !important;
  border-color: #fff !important;
  color: var(--primary-color) !important;
}

[dir] .vote__btn:hover,
[dir] .vote__btn:focus,
[dir] .vote__btn:active {
  transform: translateY(-4px);
}

[dir] .vote__btn::before {
  content: '';
  display: block;
  width: 19px;
  height: 18px;
  margin-right: 7px;
  background: no-repeat center;
  background-size: contain;
}

[dir] .vote__btn.vote__btn--up::before {
  transform: translateY(-2px);
}

[dir] .vote__btn.vote__btn--down::before {
  transform: translateY(2px);
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir] .vote--style-2 {
    padding: 20px;
  }

  [dir] .vote--style-2 > div {
    flex-direction: column;
    align-items: center;
  }

  [dir] .vote--style-2 .vote__heading {
    margin-bottom: 12px;
  }
}

[dir] .page-content__bordered-box {
  border-top: 0;
  padding-top: 0;
  margin-top: 60px;
}

[dir] .recent-articles-title {
  font-family: var(--text-font-family);
  font-weight: 500;
  font-size: 24px;
}

[dir] .recent-articles a {
  font-size: 20px;
  color: var(--primary-color);
  display: block;
  position: relative;
  padding-left: 22px;
}

[dir] .recent-articles a::before {
  content: "\f054";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir] .recent-articles-title {
    font-size: 20px;
  }

  [dir] .recent-articles a {
    font-size: 16px;
    padding: 0 22px 0 0;
  }

  [dir] .recent-articles a::before {
    left: auto;
    right: 0;
  }
}

.article-border {
  border-top: 1px solid var(--border-color);
}

.welcome {
  margin-top: 72px;
}

@media only screen and (min-width: 980px) {
  .welcome {
    margin-top: 88px;
  }
}

[dir] .welcome__section {
  padding-top: 10%;
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  [dir] .promoted .accordion .spoiler__text {
    padding-top: 24px;
  }
}

[dir] .spoiler h1,
[dir] .spoiler h2,
[dir] .spoiler h3 {
  margin-top: 1em;
  margin-bottom: .80em;
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9), only screen and (min-width: 668px) and (min-height: 416px), only screen and (min-width: 980px) {
  [dir] .category-blocks:not(.page-content) {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir] .promoted .accordion .spoiler__text {
    padding-top: 4px;
  }

  [dir] .promoted .accordion .spoiler__text > *:first-child {
    margin-top: 0;
  }

  .section-spoiler__list li + li {
    margin-top: 8px;
  }

  .section-spoiler__list li a {
    line-height: 22px;
  }

  [dir] .vote--style-2 {
    padding: 40px 20px;
  }
}
