.articles-page {
  background: #fff;
  color: #3d3d3d;
  font-family: "Roboto", sans-serif;
}

.articles-archive-head {
  padding: 24px 0 22px;
  background: #f1f7fb;
}

.articles-archive-head .container,
.article-breadcrumbs .container {
  width: min(1280px, calc(100% - 48px));
}

.articles-archive-head h1 {
  margin: 0 0 8px;
  color: #3c3c3c;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.articles-archive-head nav,
.article-breadcrumbs .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.articles-archive-head nav a,
.article-breadcrumbs a {
  color: var(--smd-primary);
}

.articles-layout-section {
  padding: 48px 0 72px;
}

.articles-layout-section > .container {
  width: min(1300px, calc(100% - 48px));
}

.articles-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(285px, .78fr);
  gap: 44px;
  align-items: start;
}

.articles-catalog {
  display: grid;
  gap: 35px;
}

.articles-card {
  padding: 24px 29px 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(31, 45, 61, .14);
}

.articles-card h2 {
  margin: 0;
  color: #3d3d3d;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.articles-card h2 a:hover {
  color: #009fe3;
}

.articles-card p {
  margin: 20px 0 0;
  color: #777;
  font-size: 13px;
  line-height: 1.55;
}

.articles-card__more {
  display: inline-block;
  margin-top: 22px;
  color: var(--smd-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.articles-sidebar {
  min-width: 0;
}

.articles-sidebar__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  margin-bottom: 20px;
}

.articles-sidebar__search input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 0;
  background: #f1f1f1;
  color: #555;
  outline: none;
}

.articles-sidebar__search input:focus {
  box-shadow: inset 0 0 0 2px var(--smd-primary);
}

.articles-sidebar__search button {
  display: grid;
  width: 50px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 0;
  background: #363636;
  color: #fff;
  cursor: pointer;
}

.articles-sidebar__search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.3;
}

.articles-sidebar__section {
  margin-top: 22px;
}

.articles-sidebar__section h2 {
  margin: 0 0 18px;
  color: #333;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
}

.articles-sidebar__topics,
.articles-sidebar__latest {
  margin: 0;
  padding: 0;
  list-style: none;
}

.articles-sidebar__topics li {
  position: relative;
  margin: 0 0 7px;
  padding-left: 20px;
}

.articles-sidebar__topics li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--smd-primary);
  content: "";
}

.articles-sidebar__topics a {
  color: #444;
  font-size: 15px;
  font-weight: 600;
}

.articles-sidebar__topics a:hover,
.articles-sidebar__latest a:hover {
  color: var(--smd-primary);
}

.articles-sidebar__section--latest {
  margin-top: 36px;
}

.articles-sidebar__latest li {
  border-bottom: 1px solid #ddd;
}

.articles-sidebar__latest a {
  display: block;
  padding: 13px 0;
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.article-breadcrumbs {
  padding: 24px 0;
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.article-single__section {
  padding-top: 44px;
}

.article-content h1 {
  margin: 0 0 24px;
  color: #424242;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.08;
}

.article-content__body {
  color: #535353;
  font-size: 16px;
  line-height: 1.48;
}

.article-content__body p {
  margin: 0 0 18px;
}

.article-content__body h2,
.article-content__body h3 {
  margin: 20px 0 16px;
  color: #444;
  font-weight: 700;
  line-height: 1.2;
}

.article-content__body h2 {
  font-size: 27px;
}

.article-content__body h3 {
  font-size: 24px;
}

.article-content__body ul,
.article-content__body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.article-content__body img {
  margin: 10px 0 20px;
}

.articles-empty {
  margin: 0;
  font-size: 18px;
}

.article-contact-cta {
  padding: 0 0 42px;
  background: #fff;
}

.article-contact-cta .container {
  width: min(1300px, calc(100% - 48px));
}

.article-contact-cta__card {
  display: flex;
  min-height: 178px;
  align-items: center;
  justify-content: space-between;
  padding: 30px 36px;
  gap: 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, #e7f7fd 0%, #eefbf3 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--smd-primary) 10%, transparent);
}

.article-contact-cta__content {
  max-width: 630px;
}

.article-contact-cta__content h2 {
  margin: 0;
  color: var(--smd-text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.article-contact-cta__content p {
  margin: 10px 0 0;
  color: #637387;
  font-size: 14px;
  line-height: 1.55;
}

.article-contact-cta__actions {
  display: grid;
  min-width: 330px;
  gap: 12px;
}

.article-contact-cta__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-contact-cta__phones a,
.article-contact-cta__phones a:visited {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--smd-primary) 20%, transparent);
  border-radius: 999px;
  background: #fff;
  color: #167da8;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.article-contact-cta__phones svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.article-contact-cta__button,
.article-contact-cta__button:visited {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--smd-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.article-contact-cta__button:hover,
.article-contact-cta__button:focus-visible {
  background: var(--smd-green-hover);
  color: #fff;
}

@media (max-width: 900px) {
  .articles-layout {
    grid-template-columns: 1fr;
  }

  .articles-sidebar {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .articles-archive-head .container,
  .article-breadcrumbs .container,
  .articles-layout-section > .container {
    width: min(1300px, calc(100% - 32px));
  }

  .articles-archive-head {
    padding: 25px 0;
  }

  .articles-archive-head h1 {
    font-size: 27px;
  }

  .articles-layout-section {
    padding: 34px 0 56px;
  }

  .articles-layout {
    gap: 46px;
  }

  .articles-catalog {
    gap: 22px;
  }

  .articles-card {
    padding: 22px 20px;
  }

  .articles-card h2 {
    font-size: 19px;
  }

  .articles-card p {
    margin-top: 15px;
  }

  .article-breadcrumbs {
    padding: 18px 0;
  }

  .article-single__section {
    padding-top: 34px;
  }

  .article-content h1 {
    font-size: 29px;
    line-height: 1.13;
  }

  .article-content__body {
    font-size: 15px;
    line-height: 1.55;
  }

  .article-content__body h2 {
    font-size: 24px;
  }

  .article-content__body h3 {
    font-size: 21px;
  }

}
