[dir] body {
  background-color: var(--primary-bg-color);
}

[dir] .layout--in-container {
  box-shadow: none;
}

/* Custom header */
.custom-header {
  border-top: 10px solid #D62A35;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--primary-bg-color);
  position: relative;
  z-index: 9;
}

.custom-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 103px;
}

.custom-header .logo {
  display: block;
}

.custom-header .logo img {
  display: block;
  height: var(--logo-height);
}

.custom-header__menu {
  display: flex;
  white-space: nowrap;
  align-items: center;
}

.custom-header__menu a {
  border: 0;
  display: flex;
  font-size: 16px;
  width: auto;
  font-weight: bold;
  margin-right: 30px;
  align-items: center;
}

.custom-header__menu a img {
  height: 25px;
  margin-right: 10px;
}

.custom-header__menu a i {
  font-size: 20px;
  margin-right: 10px;
}

.custom-header__menu a:hover span {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .custom-header__menu a span {
    display: none;
  }
}

@media (max-width: 767px) {
  .custom-header .container {
    height: 50px;
  }

  .custom-header .logo img {
    height: 28px;
  }

  .custom-header__menu a img {
    height: 15px;
  }

  .custom-header__menu a i {
    font-size: 15px;
    margin-right: 0;
  }

  .custom-header__menu a:last-child {
    margin-right: 6px;
  }
}

/* Custom footer */
.custom-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  padding-bottom: 32px;
}

.custom-footer .container {
  display: flex;
  justify-content: space-between;
}

.custom-footer__slogan img {
  width: 80px;
  height: 80px;
}

.custom-footer__copy,
.custom-footer__copy a {
  color: #787878;
  font-size: 10px;
  line-height: .9375rem;
  font-weight: 700;
}

.custom-footer__copy p {
  margin: 0;
}

[dir] .custom-footer__menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.custom-footer__menu li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-footer__menu li::after {
  content: '-';
  display: inline-block;
  padding: 0 3px;
}

.custom-footer__menu li:last-child::after {
  display: none;
}

.custom-footer__menu li a {
  text-decoration: underline;
}

.custom-footer__menu li a:hover {
  color: #62a2fc;
  text-decoration: none;
}

@media (min-width: 992px) {
  .custom-footer .container {
    flex-direction: row-reverse;
  }
}

@media (max-width: 991px) {
  .custom-footer .container {
    flex-wrap: wrap;
  }

  .custom-footer__slogan {
    width: 100%;
    text-align: center;
    margin-bottom: 32px;
  }

  .custom-footer__menu {
    width: 100%;
  }
}

/**/
.welcome__content h1 {
  text-shadow: 0 0 18px rgba(0, 0, 0, .3);
}

[dir] .category-blocks--type-1 .category-blocks__link {
  border: 1px solid var(--secondary-bg-color);
}

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

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

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

[dir] .category-blocks__link {
  display: flex;
}

.category-block__img {
  width: 66px;
  height: auto;
  max-height: 66px;
  display: block;
  margin-right: 24px;
}

@media (max-width: 480px) {
  .category-block__img {
    width: 42px;
    max-height: 42px;
    margin-right: 12px;
    margin-left: -12px;
  }
}

/* Article */
[dir] .page-heading__title {
  color: var(--link-color);
}

[dir] .article-page .page-heading {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

[dir] .article-page .page-heading--type-2 .breadcrumbs,
[dir] .article-page .page-heading--type-2 .page-heading__meta,
[dir] .article-page .page-heading--type-2 .page-heading__nav,
[dir] .article-page .page-heading--type-2 .subscribe-btn {
  justify-content: flex-start;
}

[dir] .article-page .page-heading--type-2 .page-heading__content-left {
  text-align: left;
  margin-right: 0;
  margin-left: 0;
}

@media (min-width: 768px) {
  [dir] .article-page .page-heading__content {
    display: flex;
    justify-content: space-between;
  }

  [dir] .article-page .page-heading--type-2 .page-heading__content-right {
    margin-top: 0;
  }
}

[dir] .section--secondary {
  --primary-bg-color: var(--primary-bg-color);
  --secondary-bg-color: var(--secondary-bg-color);
  border-top: 1px solid var(--border-color);
}

[dir] .vote--style-2 .vote__btn--up {
  border-color: var(--success-color);
  color: var(--success-color);
}

[dir] .vote--style-2 .vote__btn--up:not(.no-hover):hover,
[dir] .vote--style-2 .vote__btn--up:not(.no-hover):active,
[dir] .vote--style-2 .vote__btn.vote__btn--selected,
[dir] .vote--style-2 .vote__btn.vote__btn--selected:not(.no-hover):hover,
[dir] .vote--style-2 .vote__btn.vote__btn--selected:not(.no-hover):active {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: #fff;
}

[dir=ltr] .comment-form__submit[type=submit] {
  border: none;
  border-left: 1px solid var(--border-color);
}

/* ???? */
@media only screen and (min-width: 980px) {
  .welcome--type-2 .welcome__container {
    margin-right: 0;
  }

  [dir] .welcome--type-2 .h1 {
    text-align: right;
  }

  [dir] .welcome--type-2.welcome--size-large .welcome__section,
  [dir] .welcome--type-3.welcome--size-large .welcome__section {
    padding-top: 140px;
    padding-bottom: 300px;
  }
}

.promoted--type-3 .articles__body {
  display: none;
}

@media only screen and (min-width: 980px) {
  .promoted--type-3 .articles .col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  [dir] .articles__item {
    margin-top: 4px;
  }
}
