body.post-type-archive-bs_article > main > .breadcrumbs,
body.single-bs_article > main > .breadcrumbs {
  display: none;
}

.bs-articles,
.single-bs-article {
  color: #202020;
  background: #fff;
}

.bs-articles .container,
.single-bs-article .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.bs-articles-hero,
.bs-article-hero {
  position: relative;
  background: #141515;
  color: #fff;
  padding: 36px 0 64px;
  overflow: hidden;
}

.bs-articles-hero::before,
.bs-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 21, 21, .94), rgba(20, 21, 21, .72)), url('../img/offer-bg.jpg') center / cover no-repeat;
  opacity: 1;
}

.bs-articles-hero .container,
.bs-article-hero .container {
  position: relative;
  z-index: 1;
}

.bs-article-breadcrumbs {
  margin: 0 0 70px;
  font-size: 15px;
  line-height: 1.4;
}

.bs-article-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-article-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .72);
}

.bs-article-breadcrumbs__item:not(:last-child)::after {
  content: "›";
  display: inline-block;
  margin-left: 10px;
  color: #f5ba22;
}

.bs-article-breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.bs-article-breadcrumbs span {
  color: rgba(255, 255, 255, .72);
}

.bs-articles-hero__title,
.bs-article-hero__title {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 800;
}

.bs-articles-hero__text {
  max-width: 840px;
  margin-top: 26px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
  line-height: 1.55;
}

.bs-article-hero__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.4;
}

.bs-article-hero__image {
  width: 100%;
  max-width: none;
  height: 360px;
  margin-top: 46px;
  overflow: hidden;
  border-radius: 8px;
  background: #e4e4e4;
}

.bs-article-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bs-articles-list {
  padding: 64px 0 90px;
}

.bs-articles-grid,
.bs-article-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}

.bs-article-card {
  display: grid;
  grid-template-rows: 126px minmax(56px, auto) 50px;
  min-height: 254px;
  padding: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  color: #141414;
  text-decoration: none;
  box-shadow: 5px 7px 0 rgba(0, 0, 0, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bs-article-card:hover {
  transform: translateY(-2px);
  border-color: #f5ba22;
  box-shadow: 5px 9px 0 rgba(0, 0, 0, .1);
}

.bs-article-card__image {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #e4e4e4;
}

.bs-article-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bs-article-card__title {
  display: block;
  align-self: start;
  margin-top: 18px;
  color: #141414;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.32;
}

.bs-article-card__date {
  display: flex;
  align-items: flex-end;
  border-top: 1px solid #e9e9e9;
  color: #737373;
  font-size: 14px;
  line-height: 1;
}

.bs-articles-pagination {
  margin-top: 56px;
  text-align: center;
}

.bs-articles-pagination ul {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-articles-pagination a,
.bs-articles-pagination span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #141414;
  text-decoration: none;
  font-weight: 700;
}

.bs-articles-pagination .current {
  border-color: #f5ba22;
  background: #f5ba22;
}

.bs-articles-empty {
  padding: 48px;
  border-radius: 8px;
  background: #f8f8f8;
  font-size: 18px;
  text-align: center;
}

.bs-article-main {
  padding: 70px 0 0;
}

.bs-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 350px;
  gap: 90px;
  align-items: start;
}

.bs-article-content {
  min-width: 0;
}

.bs-article-content > *:last-child,
.bs-article-content > *:last-child > *:last-child {
  margin-bottom: 0;
}

.bs-article-text {
  color: #202020;
  font-size: 17px;
  line-height: 1.68;
}

.bs-article-text p {
  margin: 0 0 24px;
}

.bs-article-text h2 {
  margin: 64px 0 24px;
  color: #141414;
  font-size: 28px;
  line-height: 1.28;
  font-weight: 400;
}

.bs-article-text h3 {
  margin: 48px 0 24px;
  color: #141414;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 400;
}

.bs-article-text h4 {
  margin: 40px 0 16px;
  color: #141414;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
}

.bs-article-text ul,
.bs-article-text ol {
  margin: 8px 0 40px;
  padding-left: 24px;
}

.bs-article-text ul {
  list-style: disc outside;
}

.bs-article-text ol {
  list-style: decimal outside;
}

.bs-article-text li {
  display: list-item;
  margin-bottom: 8px;
}

.bs-article-text li::marker {
  color: #f5ba22;
}

.bs-article-text a {
  color: #141414;
  text-decoration: underline;
  text-decoration-color: #f5ba22;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.bs-article-text blockquote {
  margin: 48px 0;
  padding: 28px 32px;
  border-left: 4px solid #f5ba22;
  border-radius: 6px;
  background: #fffcf4;
  font-weight: 700;
}

.bs-article-sidebar {
  position: sticky;
  top: 96px;
}

.bs-article-toc {
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
}

.bs-article-toc__title {
  margin-bottom: 22px;
  color: #141414;
  font-size: 18px;
  font-weight: 800;
}

.bs-article-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-article-toc__item {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.35;
}

.bs-article-toc__item--sub {
  padding-left: 22px;
}

.bs-article-toc a {
  color: #737373;
  text-decoration: none;
}

.bs-article-toc a:hover {
  color: #141414;
}

.bs-article-toc--mobile {
  display: none;
}

.bs-article-share {
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
}

.bs-article-share__title {
  margin-bottom: 22px;
  color: #141414;
  font-size: 18px;
  font-weight: 800;
}

.bs-article-share__links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.bs-article-share__link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.bs-article-share__link--vk {
  background: #4c75a3;
}

.bs-article-share__link--tg {
  background: #27a7e7;
}

.bs-article-share__link--wa {
  background: #25d366;
}

.bs-article-share-mobile {
  display: none;
}

.bs-article-cta {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 72px 0;
  padding: 32px;
  border-radius: 8px;
  background: #1f2020;
  color: #fff;
}

.bs-article-cta__icon {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f5ba22;
  border-radius: 6px;
  color: #f5ba22;
  font-weight: 800;
}

.bs-article-cta__icon img {
  max-width: 32px;
  max-height: 32px;
}

.bs-article-cta__content {
  min-width: 0;
  max-width: 410px;
}

.bs-article-cta--secondary {
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
}

.bs-article-cta--secondary .bs-article-cta__content {
  max-width: none;
}

.bs-article-cta__title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
}

.bs-article-cta__text {
  color: #dedede;
  font-size: 14px;
  line-height: 1.5;
}

.bs-article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.bs-article-button {
  white-space: nowrap;
  text-decoration: none;
}

.bs-article-button--secondary {
  background: #fff;
}

.bs-article-faq {
  margin: 72px 0;
}

.bs-article-faq h2 {
  margin: 0 0 32px;
  color: #141414;
  font-size: 28px;
  line-height: 1.28;
  font-weight: 400;
}

.bs-article-faq__item {
  margin-bottom: 10px;
}

.bs-article-faq__question {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background: #fff;
  color: #141414;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.bs-article-faq__answer {
  padding: 18px 20px 24px;
  border: 1px solid #e0e0e0;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.bs-article-related {
  margin-top: 64px;
  padding: 42px 0 56px;
  background: #141515;
}

.bs-article-related h2 {
  margin: 0 0 42px;
  color: #fff;
  font-size: 28px;
  line-height: 1.28;
  font-weight: 400;
  text-align: left;
}

.bs-article-related .bs-article-card {
  min-height: 220px;
  grid-template-rows: 98px minmax(48px, auto) 44px;
  box-shadow: none;
}

.bs-article-related .bs-article-card__date {
  color: #737373;
}

@media (max-width: 1240px) {
  .bs-articles .container,
  .single-bs-article .container {
    max-width: calc(100% - 80px);
  }

  .bs-article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }
}

@media (max-width: 991px) {
  .bs-articles-grid,
  .bs-article-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bs-article-card {
    grid-template-rows: 150px minmax(56px, auto) 50px;
    min-height: 286px;
  }

  .bs-article-layout {
    display: block;
  }

  .bs-article-sidebar {
    display: none;
  }

  .bs-article-toc--mobile {
    display: block;
    margin-bottom: 28px;
    padding: 0;
  }

  .bs-article-toc__toggle {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #f8f8f8;
    color: #141414;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .bs-article-toc--mobile .bs-article-toc__body {
    padding: 18px 14px 6px;
    border: 1px solid #e0e0e0;
    border-top: 0;
    border-radius: 0 0 5px 5px;
  }

  .bs-article-share-mobile {
    display: block;
    margin-top: 46px;
  }

  .bs-article-cta,
  .bs-article-cta--secondary {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .bs-article-cta__button,
  .bs-article-cta__actions {
    grid-column: 1 / -1;
  }

  .bs-article-cta__content {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .bs-articles .container,
  .single-bs-article .container {
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  .bs-articles-hero,
  .bs-article-hero {
    padding: 28px 0 36px;
  }

  .bs-article-breadcrumbs {
    margin-bottom: 54px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 12px;
  }

  .bs-article-breadcrumbs__list {
    flex-wrap: nowrap;
  }

  .bs-articles-hero__title,
  .bs-article-hero__title {
    font-size: 24px;
    line-height: 1.25;
  }

  .bs-articles-hero__text {
    margin-top: 20px;
    font-size: 14px;
  }

  .bs-article-hero__dates {
    display: block;
    margin-top: 18px;
    font-size: 12px;
  }

  .bs-article-hero__dates span {
    display: block;
    margin-bottom: 8px;
  }

  .bs-article-hero__image {
    height: 260px;
    margin-top: 28px;
  }

  .bs-articles-list {
    padding: 36px 0 64px;
  }

  .bs-articles-grid,
  .bs-article-related__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bs-article-card {
    grid-template-rows: 234px minmax(56px, auto) 48px;
    min-height: 356px;
    padding: 12px;
  }

  .bs-article-card__title {
    font-size: 17px;
  }

  .bs-article-main {
    padding: 36px 0 0;
  }

  .bs-article-text {
    font-size: 14px;
    line-height: 1.65;
  }

  .bs-article-text p {
    margin-bottom: 24px;
  }

  .bs-article-text h2 {
    margin: 48px 0 24px;
    font-size: 20px;
  }

  .bs-article-text h3 {
    margin: 40px 0 24px;
    font-size: 18px;
  }

  .bs-article-text blockquote {
    margin: 40px 0;
    padding: 24px;
  }

  .bs-article-cta,
  .bs-article-cta--secondary {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    margin: 48px 0;
    padding: 32px 24px;
  }

  .bs-article-cta__icon {
    width: 42px;
    height: 42px;
  }

  .bs-article-cta__title {
    font-size: 18px;
  }

  .bs-article-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .bs-article-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .bs-article-faq {
    margin: 48px 0;
  }

  .bs-article-faq h2,
  .bs-article-related h2 {
    font-size: 20px;
  }

  .bs-article-share {
    padding: 0;
    border: 0;
  }

  .bs-article-related {
    margin-top: 42px;
    padding: 32px 0 48px;
  }

  .bs-article-related .bs-article-card {
    grid-template-rows: 132px minmax(50px, auto) 42px;
    min-height: 240px;
  }
}

.bs-article-cta .bs-article-button,
.bs-article-cta .bs-article-button:hover,
.bs-article-cta .bs-article-button:focus,
.bs-article-cta .bs-article-button:active {
  text-decoration: none;
}
