@charset "UTF-8";
html {
  box-sizing: border-box;
  font: normal 18px/1.5 Inter, sans-serif;
  color: #2B2B2B;
  scroll-behavior: smooth;
  scroll-padding-top: 65px;
}

*, :before, :after {
  box-sizing: inherit;
  flex: 0 1 auto;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header, footer {
  flex: 0 0 auto;
}
div#mlsd_item {
    height: auto !important;
}
main {
  flex-grow: 1;
}

img,
iframe,
svg,
video {
  max-width: 100%;
  user-select: none;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-position: under;
}

a img {
  border: none;
}

p {
  margin: 0 0 1.5em;
}
p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding: 0 0 0 1.2em;
  margin: 0 0 1.5em;
}
ul:last-child, ol:last-child {
  margin-bottom: 0;
}
ul > li, ol > li {
  margin: 0 0 0.75em;
}
ul > li:last-child, ol > li:last-child {
  margin-bottom: 0;
}

em {
  font-style: inherit;
  color: #A1A1A1;
  font-size: 0.89rem;
}

blockquote {
  border-left: 2px solid #A1A1A1;
  padding-left: 0.56em;
  margin: 1.78em 0 1.78em 1.33em;
}
blockquote:first-child {
  margin-top: 0;
}
blockquote:last-child {
  margin-bottom: 0;
}
blockquote h3, blockquote h4 {
  margin-bottom: 0;
}

figure {
  margin: 1.33em 0;
}
figure:first-child {
  margin-top: 0;
}
figure:last-child {
  margin-bottom: 0;
}
figure img {
  display: block;
  border-radius: 8px;
  margin: 4px 0;
}
figure img:first-child {
  margin-top: 0;
}
figure img:last-child {
  margin-bottom: 0;
}

figcaption {
  color: #7F7F7F;
  margin: 0.67em 0;
}
figcaption:first-child {
  margin-top: 0;
}
figcaption:last-child {
  margin-bottom: 0;
}

*:focus {
  outline: none;
}

*:invalid {
  box-shadow: none;
}

/*таблицы*/
.table-wrapper {
  width: fit-content;
  max-width: 100%;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid #D9D9D9;
  margin: 1.8em 0;
}
.table-wrapper:first-child {
  margin-top: 0;
}
.table-wrapper:last-child {
  margin-bottom: 0;
}

table {
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.4;
  color: #000;
}

th {
  font-weight: inherit;
  background-color: #FAFAFA;
  border-right: 1px solid #F0F0F0;
}
th:last-child {
  border-right: none;
}

td, th {
  height: 45px;
  vertical-align: middle;
  padding: 0.5em 1.25em;
  border-top: 1px solid #F0F0F0;
}

tr:first-child td, tr:first-child th {
  border-top: none;
}

/*элементы форм*/
input, textarea, button, select {
  font: inherit;
  color: inherit;
}

textarea {
  resize: vertical;
}

[type=search] {
  appearance: textfield;
}
[type=search]::-webkit-search-decoration, [type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-results-button, [type=search]::-webkit-search-results-decoration {
  display: none;
}

label {
  user-select: none;
}

.checkbox {
  display: inline-block;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  width: round(1em, 1px);
  height: round(1em, 1px);
  border: 1px solid #D9D9D9;
  background-color: #fff;
  border-radius: 25%;
  flex: 0 0 auto;
  color: #fff;
  transition: all 0.1s ease;
  margin: 0;
}
.checkbox:checked {
  border-color: #000;
  background-color: #000;
  color: #EDEDED;
}
.checkbox:before {
  content: "";
  display: block;
  width: round(62%, 1px);
  height: round(62%, 1px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  mask: url(../img/icons/check.svg) no-repeat center/contain;
  transition: inherit;
}

.radio-btn {
  display: inline-block;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  width: round(1em, 1px);
  height: round(1em, 1px);
  border: 1px solid #D9D9D9;
  background-color: #fff;
  color: #000;
  border-radius: 50%;
  flex: 0 0 auto;
}
.radio-btn:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: round(50%, 1px);
  height: round(50%, 1px);
  border-radius: 50%;
  background-color: currentColor;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.2s ease;
}
.radio-btn:checked:before {
  transform: translate(-50%, -50%) scale(1);
}

.switcher {
  display: inline-block;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  height: round(1em, 1px);
  width: round(2em, 1px);
  flex: 0 0 auto;
  margin: 0;
  border-radius: round(0.5em, 1px);
  background-color: #BFBFBF;
  transition: background 0.2s ease;
}
.switcher:before {
  content: "";
  display: block;
  width: round(0.8em, 1px);
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0.1em 0.2em rgba(0, 35, 11, 0.2);
  position: absolute;
  top: round(0.1em, 1px);
  left: round(0.1em, 1px);
  transition: all 0.2s ease;
}
.switcher:checked {
  background-color: #1677FF;
}
.switcher:checked:before {
  left: round(1.1em, 1px);
}

.option {
  display: flex;
  align-items: center;
  gap: 0.62em;
  font-size: 13px;
  line-height: 1.4;
  color: #000;
  cursor: pointer;
}
.option__input {
  font-size: 1.38em;
  flex: 0 0 auto;
  margin-top: 0.1em;
  align-self: flex-start;
}
.option__label {
  flex: 1 1 auto;
}

.optgroup__label {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 0.8em;
}
.optgroup__label:last-child {
  margin-bottom: 0;
}
.optgroup__items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.text-input {
  display: block;
  width: 100%;
  border: 1px solid #D9D9D9;
  border-radius: 6px;
  font: 400 16px/normal Inter, sans-serif;
  background-color: #fff;
  padding: 0.625em 0.75em;
}

.js-select {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font: 400 16px/1.5 Inter, sans-serif;
  position: relative;
  z-index: 3;
  text-align: left;
  min-height: 42px;
  padding: 0.25em 1.12em 0.25em 0.75em;
  background-color: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 0.4em;
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.js-select:after {
  content: "";
  display: inline-block;
  width: 0.75em;
  aspect-ratio: 1;
  background: #7D7E81;
  mask: url(../img/icons/angle-down.svg) no-repeat center/contain;
  flex: 0 0 auto;
}
.custom-select.field__input:after {
    content: "";
    display: inline-block;
    width: 0.75em;
    aspect-ratio: 1;
    background: #7D7E81;
    mask: url(https://naletai.devsystems.ru/bitrix/templates/RNPK/img/icons/angle-down.svg) no-repeat center / contain;
    flex: 0 0 auto;
}
.js-select--open {
  z-index: 4;
}
.js-select--open:after {
  transform: rotate(180deg);
}
.js-select__input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
.js-select__output {
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
}
.js-select__output--placeholder {
  opacity: 0.6;
}
.js-select__output:after {
  content: " ";
}
.js-select__list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: max-content;
  max-width: max(290px, 100%);
  min-width: 100%;
  font-size: 13px;
  line-height: 1;
  background-color: #fff;
  color: #171717;
  z-index: 2;
  border: 1px solid #F7F7F7;
  border-radius: 6px;
  padding: 3px;
  max-height: 320px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  overflow: auto;
}
@media (hover: hover) {
  .js-select__list::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    background-color: transparent;
  }
  .js-select__list::-webkit-scrollbar-thumb {
    background: #D9D9D9;
  }
  @-moz-document url-prefix() {
    .js-select__list {
      scrollbar-color: #D9D9D9 transparent;
      scrollbar-width: thin;
    }
  }
}
.js-select__option {
  display: flex;
  align-items: center;
  gap: 0.8em;
  line-height: normal;
  padding: 0.3em 1em;
  min-height: 2.46em;
  border-radius: 4px;
  flex: 1 1 auto;
  margin: 0 0 1px;
}
.js-select__option--small-pl {
  padding-left: 8px;
}
.js-select__option--tiny-pl {
  padding-left: 4px;
}
.js-select__option--checkbox:after {
  content: "";
  display: block;
  width: 1.4em;
  height: 1.4em;
  border-radius: 20%;
  border: 1px solid #D9D9D9;
  margin-left: auto;
  flex: 0 0 auto;
  background: #fff url(../img/icons/check.svg) no-repeat center/var(--check-size, 0) auto;
  opacity: var(--check-opacity, 0);
}
.js-select__option--selected {
  --check-size: 55%;
  --check-opacity: 1;
  background-color: rgba(16, 92, 170, 0.1);
}
.js-select--open .js-select__list {
  display: block;
}
.js-select__summary {
  display: flex;
  align-items: center;
  font-weight: bold;
}
.js-select__summary:before {
  content: "";
  width: 1.85em;
  height: 1.85em;
  flex: 0 0 auto;
  background-color: currentColor;
  mask: url(../img/icons/caret-down.svg) no-repeat center/33.33% auto;
}
.js-select__details-body {
  padding-left: 2em;
}
@media (hover: none) {
  .js-select {
    position: static;
  }
  .js-select--open:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
    backdrop-filter: blur(5px);
  }
  .js-select__list {
    font-size: 16px;
    position: fixed;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
    min-width: min(290px, 100% - 20px);
    box-shadow: 0 0 0 200vmax rgba(0, 0, 0, 0.6);
  }
  html:has(.js-select--open) {
    overflow: hidden;
  }
  html:has(.js-select--open) .header {
    z-index: 1;
  }
}

.field {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  color: #000;
}
.field__label {
  display: block;
  margin: 0 0 0.5em;
}
.field__label:last-child {
  margin-bottom: 0;
}
.field__input-wrapper {
  display: block;
  position: relative;
}
.field__icon {
  font-size: 18px;
  position: absolute;
  top: calc(50% - 0.5em);
  right: 0.8em;
  color: #A3A3A3;
}
.field__icon + .field__input {
  padding-right: 40px;
}
.field__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 42px;
  color: #08091C;
  border-left: 1px solid #d9d9d9;
  background-color: rgba(0, 0, 0, 0.01);
  font-size: 13px;
}
.field__btn + .field__input {
  padding-right: 50px;
}
.field__counter {
  display: block;
  font-size: 0.88em;
  color: #A1A1A1;
  text-align: right;
  margin-top: 0.14em;
}
.field__counter:first-child {
  margin-top: 0;
}
.field__caption {
  display: block;
  font-size: 0.75em;
  color: #A1A1A1;
  margin-top: 0.17em;
}
.field__caption:first-child {
  margin-top: 0;
}
.field__caption--error {
  color: red;
}

.double-field {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  font-size: 16px;
  gap: 2px 12px;
}
.double-field__item {
  width: calc(50% - 6px);
}
.double-field__caption {
  display: block;
  font-size: 0.75em;
  color: #A1A1A1;
  width: 100%;
}

.air-datepicker {
  --adp-day-name-color: #14314F;
  --adp-color-current-date: #14314F;
  --adp-cell-background-color-selected: #14314F;
  --adp-cell-background-color-selected-hover: #000;
}
.air-datepicker-cell.-current- {
  background-color: rgba(20, 49, 79, 0.05);
}

/*иконки*/
.mask-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  background: currentColor;
}

.img-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
}

.ajax-form {
  transition: all 0.2s ease;
}
.ajax-form--busy {
  opacity: 0.5;
  pointer-events: none;
}

/*кнопки*/
button,
[type=submit],
[type=reset],
[type=image] {
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  vertical-align: top;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  max-width: 100%;
  user-select: none;
  font: bold 16px/1 "Clear Sans", sans-serif;
  padding: 0.2em 1.2em;
  min-height: 42px;
  border-radius: 4px;
  border: 1px solid #14314F;
  background: #14314F;
  color: #fff;
  text-decoration: none;
  text-align: center;
  text-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  background-color: #BFBFBF;
  border-color: #BFBFBF;
  pointer-events: none;
}
.btn--small {
  font: bold 14px/1 Inter, sans-serif;
  min-height: 32px;
  padding: 0.2em 0.7em;
  border-radius: 4px;
}
.btn--stroke {
  background-color: transparent;
  color: #000;
}
.btn--stroke:disabled {
  border-color: #BFBFBF;
  color: #BFBFBF;
  background-color: transparent;
}
.btn--white-stroke {
  background-color: transparent;
  border-color: #F4F8FB;
  color: #F4F8FB;
}
.btn--white-stroke:disabled {
  border-color: #BFBFBF;
  color: #BFBFBF;
  background-color: transparent;
}
.btn--full-width {
  display: flex;
  width: 100%;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

/*заголовки*/
html {
  --title-color: #171717;
  --h1: 32px;
  --h2: 32px;
  --h3: 24px;
  --h4: 20px;
  --h5: 26px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--title-color);
  margin: 1em 0 0.5em;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child {
  margin-bottom: 0;
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
  margin-top: 1.5em;
}

h4 {
  font-size: var(--h4);
  margin-top: 1.5em;
}

h5 {
  font-size: var(--h5);
  font-weight: 300;
  border-bottom: 1px solid #A1A1A1;
  padding-bottom: 0.62em;
  margin: 1.23em 0;
}

/*таблицы*/
/*контейнеры*/
.wrapper {
  width: 100%;
  max-width: 1252px;
  margin: auto;
  padding: 0 16px;
}

.box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/*модальные окна*/
.modal {
  display: none;
  width: 680px;
  max-width: 100%;
  padding: 25px;
  border-radius: 12px;
  background-color: #fff;
}
.modal__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal__text h1, .modal__text h2 {
  font-weight: 400;
  font-size: calc(var(--h1) * 1.4);
  margin-bottom: 0.3em;
}
.modal__text h1:last-child, .modal__text h2:last-child {
  margin-bottom: 0;
}
.modal__text h3 {
  margin-bottom: 0.3em;
}
.modal__text h3:last-child {
  margin-bottom: 0;
}
.modal__buttons {
  gap: 12px;
}
.modal__btn {
  width: calc(50% - 6px);
  flex: 1 1 auto;
}

.term {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  cursor: pointer;
}
.term:after {
  content: "";
  display: block;
  width: round(0.8em, 1px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  background-color: var(--title-color);
  mask: url(../img/icons/question-circle.svg) no-repeat center/contain;
}

.tooltip {
  display: none;
  width: max-content;
  max-width: min(320px, 100% - 32px);
  background-color: #14314F;
  color: #F7F7F7;
  --title-color: #fff;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 6px;
  padding: 6px 8px;
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  word-break: break-word;
  transform: translate(-50%, calc(-100% - 7px));
}
.tooltip:before {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 8px;
}
.tooltip:after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 3px 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  position: absolute;
  top: calc(100% - 7px);
  left: calc(50% - 6px);
  background-color: inherit;
  transform: rotate(45deg);
  pointer-events: none;
}
.tooltip.fancybox-content {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  padding: 35px 20px 30px;
  border-radius: 8px;
  font-size: 16px;
  width: max-content;
  max-width: min(480px, 100%);
}
.tooltip.fancybox-content:before, .tooltip.fancybox-content:after {
  display: none;
}
.tooltip--right {
  transform: translate(-15px, calc(-100% - 10px));
}
.tooltip--right:after {
  left: 9px;
}
.tooltip--left {
  transform: translate(calc(15px - 100%), calc(-100% - 10px));
}
.tooltip--left:after {
  left: auto;
  right: 9px;
}

/*ШАПКА*/
.logo {
  display: inline-block;
  max-width: 100%;
}
.logo__img {
  display: block;
  width: 100%;
  height: var(--height, auto);
  object-fit: contain;
  object-position: left center;
}

.menu-btn {
  position: relative;
  height: 60px;
  width: 40px;
  cursor: pointer;
  color: #3C3C3C;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn__stick {
  width: 65%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: absolute;
  top: calc(50% - 1px);
  left: 17.5%;
}
.menu-btn__stick:first-child {
  transform: translateY(-7px);
}
.menu-btn__stick:last-child {
  transform: translateY(7px);
}

.main-menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  z-index: 5;
  overflow: hidden;
  box-shadow: inset 0 0 0 200vmax rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.main-menu__wrapper {
  display: flex;
  height: 100%;
}
.main-menu__head {
  width: 365px;
  background-color: #fff;
  overflow: auto;
  scrollbar-width: thin;
  box-shadow: -50vw 0 0 50vw #fff;
  padding: 4px 10px 20px 0;
}
.main-menu__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #171717;
  font-size: 16px;
  font-weight: bold;
  line-height: normal;
  margin: 0 0 20px;
}
.main-menu__menu > li {
  margin: 0;
}
.main-menu__menu:last-child {
  margin-bottom: 0;
}
.main-menu__menu a {
  -webkit-tap-highlight-color: transparent;
}
.main-menu__menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  min-height: 42px;
  padding: 0.25em 0.75em;
  border-radius: 0.25em;
}
.main-menu__menu ul {
  display: none;
}
.main-menu__subtitle {
  font-size: 14px;
  font-weight: 400;
  padding: 0 0.86em;
  margin: 0 0 0.75em;
}
.main-menu__separator {
  height: auto;
  border-top: 2px solid #D9D9D9;
  margin: 24px 8px;
}
.main-menu__submenu {
  display: none;
  width: 475px;
  background-color: #fff;
  overflow-y: scroll;
  scrollbar-width: thin;
  padding: 15px 8px;
}
.main-menu__nav {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: normal;
  padding: 0 0 18px;
  background: linear-gradient(#D9D9D9, #D9D9D9) no-repeat center bottom/calc(100% - 24px) 2px;
  margin: 0 0 16px;
}
.main-menu__nav:last-child {
  margin-bottom: 0;
}
.main-menu__nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 10%;
  padding: 0.5em 1em;
  min-height: 40px;
  text-decoration: none;
  border-radius: 4px;
}
.main-menu__nav-link--active {
  background-color: rgba(16, 92, 170, 0.1);
}
.main-menu__tab {
  display: none;
}
.main-menu__catalog {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-widget {
  width: fit-content;
  position: relative;
  flex: 0 0 auto;
}
.account-widget__avatar {
  width: 32px;
  height: 32px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
}
.account-widget__avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.account-widget__menu {
  background-color: #fff;
  border: 1px solid #F7F7F7;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  font-size: 13px;
  line-height: normal;
  min-width: 190px;
  padding: 4px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}
.account-widget__menu:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 24px;
}
.account-widget__menu-item {
  display: block;
  text-decoration: none;
  padding: 0.6em 1em;
}
@media (hover: none) {
  .account-widget--open .account-widget__menu {
    opacity: 1;
    pointer-events: auto;
  }
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  background-color: #fff;
}
.header--on-scroll {
  box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3);
}
.header__wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__logo {
  --height: 30px;
  margin-left:20px;
}
.header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: bold;
  color: #14314F;
  line-height: normal;
  margin: 0 auto;
}
.header__menu > li {
  margin: 0;
}
.header__menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  padding: 0.5em 0.8em;
}
.header__menu-icon {
  font-size: 1.14em;
  color: #3C3C3C;
}
.header__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.header__contact {
  font-size: 16px;
  display: flex;
  align-items: center;
  color: #14314F;
  text-decoration: none;
  gap: 0.5em;
}
.header__contact-icon {
  font-size: 1.2em;
}
.header__tools {
  display: flex;
  align-items: center;
  gap: 3px;
}
.header__search-btn {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  width: 2.5em;
  height: 2.5em;
  text-decoration: none;
  flex: 0 0 auto;
}

/*уведомления*/
.notices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: fixed;
  top: 75px;
  right: 34px;
  z-index: 3;
  width: 384px;
  max-width: calc(100% - 68px);
  max-height: calc(100vh - 75px);
}
.notices:empty {
  display: none;
}
.notices__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  box-shadow: 0 9px 28px 8px rgba(0, 0, 0, 0.05), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.08);
}
.notices__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  width: round(2.6em, 1px);
  aspect-ratio: 1;
  border-radius: 50%;
  flex: 0 0 auto;
  background-color: #D9D9D9;
  color: #fff;
}
.notices__item-icon--green {
  background-color: #52C41A;
}
.notices__item-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 0.8em;
}
.notices__item-head:last-child {
  margin-bottom: 0;
}
.notices__item-title {
  margin: 0;
  font-weight: inherit;
  font-size: 1.14em;
  word-break: break-word;
}
.notices__item-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  width: round(1.8em, 1px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  color: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  margin-left: auto;
}

/*для слайдеров*/
.swiper-slide {
  box-sizing: border-box;
}

.swiper.swiper-initialized .swiper-wrapper {
  gap: 0;
}

.swiper:not(.swiper-initialized) .swiper-wrapper > * {
  box-sizing: border-box;
}

/*ОСНОВНОЕ СОДЕРЖИМОЕ*/
.tag {
  display: block;
  color: #2B2B2B;
  background-color: #F0F5FA;
  border: 1.5px solid #DDEAF3;
  font-size: 13px;
  line-height: 1;
  max-width: 100%;
  flex: 0 0 auto;
  padding: 4.5px 8px;
  text-decoration: none;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  user-select: none;
}
.tag--big {
  font-size: 16px;
  padding: 7px 8px;
}
.tag.swiper-slide {
  width: auto;
  max-width: none;
  white-space: nowrap;
}

.tag-slider {
  width: 100%;
  overflow: visible;
}
.tag-slider .swiper-wrapper {
  gap: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  width: 393px;
  max-width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  background-color: #fff;
  position: relative;
  font-size: 16px;
  color: #595959;
  line-height: 1.4;
  border-radius: 8px;
  user-select: none;
}
.card.swiper-slide-active {
  background-color: #F0F5FA;
}
.card__pic {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #DDEAF3;
  height: 200px;
  overflow: hidden;
  flex: 0 0 auto;
}
.card__pic--high {
  height: 260px;
}
.card__caption {
  padding: 1em;
  max-width: 100%;
  text-align: center;
  font-size: var(--h3);
  line-height: 1.4;
  color: #8AB4D0;
  font-weight: bold;
}
.card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.card__img--contain {
  width: auto;
  max-width: none;
}
.card__body {
  display: flex;
  flex-direction: column;
  padding: 16px;
  flex: 1 1 auto;
  border: 1px solid #D9D9D9;
  border-radius: inherit;
  overflow: hidden;
}
.card__body:nth-child(n+2) {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.card__tags {
  display: flex;
  gap: 6px 12px;
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: 0 0 8px;
}
.card__tags:last-child {
  margin-bottom: 0;
}
.card__tags.swiper {
  display: block;
}
.card__features {
  font-size: 13px;
  color: #A1A1A1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9em;
  margin: 0 0 8px;
}
.card__features:last-child {
  margin-bottom: 0;
}
.card__feature {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.card__feature-icon {
  font-size: 1.4em;
}
.card__title {
  font-size: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 0.4em;
}
.card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 1em;
}
.card__excerpt:last-child {
  margin-bottom: 0;
}
.card__link {
  display: flex;
  align-items: center;
  gap: 0.8em;
  color: #14314F;
  font-weight: bold;
  text-decoration: none;
  margin-top: auto;
  -webkit-tap-highlight-color: transparent;
}
.card__link:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tile {
  width: 393px;
  display: flex;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  position: relative;
  font-size: 13px;
  line-height: 1.4;
  color: #302D2D;
  min-height: 170px;
  user-select: none;
}
.tile--fluid {
  width: 100%;
}
.tile__pic {
  background-color: #DDEAF3;
  flex: 0 0 auto;
  width: 210px;
  max-width: 45%;
}
.tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px;
  max-width: min(210px, 45%);
}
.tile__link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.tile__arrow {
  color: var(--title-color);
  display: block;
  font-size: 16px;
  position: absolute;
  top: 13px;
  right: 13px;
}
.tile__body {
  display: flex;
  flex-direction: column;
  padding: 8px 16px 8px 12px;
  border: 1px solid #D9D9D9;
  border-radius: inherit;
  border-left-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  flex: 1 1 auto;
}
.tile__title {
  font-size: 1.08em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 13px;
  margin: 0 0 0.5em;
}
.tile__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 0.6em;
}
.tile__excerpt:last-child {
  margin-bottom: 0;
}
.tile__features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3em 0.9em;
  margin-top: auto;
}
.tile__feature {
  display: flex;
  align-items: center;
  color: #a1a1a1;
  gap: 0.5em;
}
.tile__feature-icon {
  font-size: 1.4em;
}

.intro {
  padding: 0 0 90px;
}
.intro__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 612px;
  background-color: #B7B7B7;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.intro__footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: -43px;
}
.intro__footer:first-child {
  margin-top: 0;
}
.intro__thumbs {
  overflow: visible;
}
.intro__thumbs .swiper-wrapper {
  gap: 20px;
}

.section {
  padding: 60px 0;
}
.section:last-child {
  padding-bottom: 90px;
}
.section__wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section__head h1, .section__head h2 {
  font-weight: 400;
  font-size: calc(var(--h1) * 1.13);
}
.section__head h1 b, .section__head h1 strong, .section__head h2 b, .section__head h2 strong {
  font-size: 1.25em;
}

.line-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.line-filter__field {
  width: 393px;
  max-width: 100%;
}
.line-filter__field--half {
  width: calc(50% - 10px);
}

.nav-slider {
  width: 100%;
  color: #595959;
  background: linear-gradient(#D9D9D9, #D9D9D9) no-repeat left bottom/100% 2px;
  user-select: none;
}
.nav-slider .swiper-wrapper {
  gap: 16px;
}
.nav-slider__item {
  width: auto;
  display: flex;
  align-items: center;
  min-height: 2.8rem;
  gap: 0.56em;
  padding: 0 8px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.nav-slider__item-input {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  margin: 0;
}
.nav-slider__item:has(.nav-slider__item-input:checked) {
  font-size: 1.11em;
  font-weight: bold;
  color: #14314F;
}

.tax-block__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.tax-block__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.tax-block__head-text {
  flex: 1 1 auto;
}
.tax-block__head-text h1, .tax-block__head-text h2 {
  font-weight: 400;
  font-size: calc(var(--h1) * 1.4);
}
.tax-block__search {
  width: calc(50% - 20px);
  flex: 0 0 auto;
}
.tax-block__btn {
  margin: 0 auto;
}

.breadcrumbs {
  font: normal normal 16px/1.5 "Clear Sans", sans-serif;
  color: #a1a1a1;
  --alt-color: #14314F;
}
.breadcrumbs--white {
  color: #919191;
  --alt-color: #fff;
}
.breadcrumbs__body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.6em;
}
.breadcrumbs__separator {
  font-size: 0.75em;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs span:last-child {
  color: var(--alt-color);
}

.page-banner {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  padding: 80px 0 45px;
  color: #fff;
  --title-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #D9D9D9;
}
.page-banner:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #14314F, rgba(20, 49, 79, 0.5), transparent);
  opacity: 0.8;
}
.page-banner__wrapper {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
  position: relative;
}
.page-banner__text {
  max-width: 752px;
}
.page-banner__text h1, .page-banner__text h2 {
  font-size: calc(var(--h1) * 1.4);
  margin-bottom: 0.3em;
}
.page-banner__text h1:last-child, .page-banner__text h2:last-child {
  margin-bottom: 0;
}
.page-banner__text p {
  max-width: 700px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  position: relative;
  width: 282px;
  max-width: 100%;
  background-color: #F2F4F7;
  border-radius: 8px;
  border: 1px solid rgba(16, 92, 170, 0.1);
  padding: 14px 16px 16px;
  font-size: 16px;
  color: #302D2D;
}
.category-card__title {
  font-size: 1.25em;
  margin-bottom: 0.4em;
}
.category-card__link {
  display: flex;
  align-items: center;
  gap: 0.8em;
  color: #14314F;
  font-weight: bold;
  text-decoration: none;
  margin-top: auto;
  -webkit-tap-highlight-color: transparent;
}
.category-card__link:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cats__wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.cats__head {
  max-width: 780px;
}
.cats__head h1, .cats__head h2 {
  font-weight: inherit;
  font-size: calc(var(--h2) * 1.125);
  margin-bottom: 0.3em;
}
.cats__head h1:last-child, .cats__head h2:last-child {
  margin-bottom: 0;
}
.cats__body {
  gap: 30px;
}
.cats__text {
  max-width: 908px;
}

.filter {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.filter__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.filter__title {
  margin: 0;
}
.filter__reset {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font: 16px/1.5 "Clear Sans", sans-serif;
  text-decoration: none;
  color: #14314F;
}
.filter__reset-icon {
  color: #3C3C3C;
  font-size: 0.9em;
  flex: 0 0 auto;
}
.filter__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.filter__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.filter__btn {
  width: calc(50% - 6px);
  min-width: min(160px, 100%);
  flex: 1 1 auto;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.row-card {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  width: 100%;
  min-height: 278px;
  font-size: 16px;
  position: relative;
}
.row-card__pic {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #E3E9EE;
  width: 360px;
  max-width: 50%;
  flex: 0 0 auto;
}
.row-card__caption {
  padding: 1em;
  max-width: 100%;
  text-align: center;
  font-size: var(--h3);
  line-height: 1.4;
  color: #8AB4D0;
  font-weight: bold;
}
.row-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  object-fit: cover;
  object-position: center;
}
.row-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #D9D9D9;
  border-left-width: 0;
  border-radius: inherit;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.row-card__tags {
  margin: 0 0 8px;
}
.row-card__tags:last-child {
  margin-bottom: 0;
}
.row-card__features {
  font-size: 13px;
  color: #A1A1A1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9em;
  margin: 0 0 8px;
}
.row-card__features:last-child {
  margin-bottom: 0;
}
.row-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.row-card__feature-icon {
  font-size: 1.4em;
}
.row-card__title {
  font-size: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 0.4em;
}
.row-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 0.25em;
}
.row-card__excerpt:last-child {
  margin-bottom: 0;
}
.row-card__authors {
  font-size: 13px;
  color: #A1A1A1;
  margin: 0 0 1em;
}
.row-card__authors:last-child {
  margin-bottom: 0;
}
.row-card__authors a {
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.row-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 1.25em;
  padding-top: 1em;
  margin-top: auto;
}
.row-card__link {
  display: flex;
  align-items: center;
  gap: 0.8em;
  color: #14314F;
  font-weight: bold;
  text-decoration: none;
  position: relative;
}
.row-card__link:first-child {
  position: static;
  -webkit-tap-highlight-color: transparent;
}
.row-card__link:first-child:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.result-message {
  font-size: 16px;
  color: #595959;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 360px;
  padding: 30px 0;
  text-align: center;
  margin: 0 auto;
}
.result-message__icon {
  font-size: 60px;
  color: rgba(20, 49, 79, 0.45);
}

.catalog__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.catalog__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
}
.catalog__head-text {
  flex: 1 1 auto;
}
.catalog__head-text h1, .catalog__head-text h2 {
  font-size: calc(var(--h1) * 1.4);
  margin-bottom: 0.3em;
}
.catalog__head-text h1:last-child, .catalog__head-text h2:last-child {
  margin-bottom: 0;
}
.catalog__head-btn {
  flex: 0 0 auto;
}
.catalog__body {
  display: flex;
  gap: 42px;
}
.catalog__sidebar {
  position: relative;
  width: 300px;
  flex: 0 0 auto;
}
.catalog__sidebar-btn {
  display: none;
}
.catalog__main {
  width: calc(100% - 342px);
  flex: 1 1 auto;
}
.catalog__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin: 0 0 30px;
}
.catalog__bar:last-child {
  margin-bottom: 0;
}
.catalog__bar-field {
  flex: 0 0 auto;
}
.catalog__bar-field--big {
  flex: 1 1 auto;
}
.catalog__items {
  margin: 0 0 20px;
}
.catalog__items:last-child {
  margin-bottom: 0;
}
.catalog__btn {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.back-link {
  display: flex;
  align-items: center;
  font: 700 16px/1.5 "Clear Sans", sans-serif;
  color: #14314F;
  gap: 0.63em;
  min-height: 2.6em;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
}

.file {
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #EDEDED;
  background-color: #fff;
  font-size: 16px;
  color: #302D2D;
  gap: 1em;
  padding: 0.75em 0.75em 0.75em 1em;
}
.file__icon {
  font-size: 2.8em;
  color: #BFBFBF;
}
.file__body {
  width: calc(100% - 20em);
  flex: 1 1 auto;
}
.file__title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.25em;
  font-weight: bold;
}
.file__link {
  color: #14314F;
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: "Clear Sans", sans-serif;
  font-weight: 700;
  flex: 0 0 auto;
}

.tabs__nav {
  display: flex;
  max-width: 100%;
  overflow: auto;
  gap: 16px;
  width: fit-content;
  background: linear-gradient(#D9D9D9) no-repeat center bottom/100% 2px;
  color: #595959;
  margin: 0 0 20px;
}
.tabs__nav:last-child {
  margin-bottom: 0;
}
.tabs__nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 2px solid #D9D9D9;
  padding: 8px;
  min-height: 51px;
  cursor: pointer;
  user-select: none;
}
.tabs__nav-item--active {
  font-weight: bold;
  font-size: 1.11em;
  border-color: #14314F;
  color: #14314F;
}
.tabs__item {
  display: none;
}

.comments__head {
  margin: 0 0 8px;
}
.comments__head:last-child {
  margin-bottom: 0;
}
.comments__field {
  margin: 0 0 12px;
}
.comments__field:last-child {
  margin-bottom: 0;
}
.comments__btn {
  display: flex;
  width: fit-content;
  margin-left: auto;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  font-size: 18px;
  padding: 30px 0;
  border-bottom: 1px solid #D9D9D9;
}
.comment--reply {
  font: 16px/1.5 "Clear Sans", sans-serif;
  color: #595959;
  padding: 0;
  border: none;
  --title-color: #2B2B2B;
  margin: 0 0 20px;
}
.comment--reply:last-child {
  margin-bottom: 0;
}
.comment__avatar {
  width: 54px;
  height: 54px;
  border: 6px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}
.comment__avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.comment__body {
  flex: 1 1 auto;
}
.comment__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
}
.comment__head:last-child {
  margin-bottom: 0;
}
.comment__author {
  font: bold 16px/normal "Clear Sans", sans-serif;
  color: #222020;
}
.comment__date {
  font-size: 13px;
  font-family: Inter, sans-serif;
  color: #302D2D;
}
.comment__text {
  margin: 0 0 8px;
}
.comment__text:last-child {
  margin-bottom: 0;
}
.comment__text b, .comment__text strong {
  color: var(--title-color);
}
.comment__replies--open {
  border-left: 2px solid #14314F;
  margin-left: 24px;
  padding-left: 12px;
}
.comment__replies--simple {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}
.comment__replies-body {
  display: none;
}
.comment__replies--open > .comment__replies-body {
  display: block;
}
.comment__reply-btn {
  width: fit-content;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.4;
  padding: 0.65em 0 0.65em 1.85em;
  font-weight: bold;
  color: #14314F;
  cursor: pointer;
  background: linear-gradient(currentColor, currentColor) no-repeat 0.7em 50%/2px 1.3em;
}
.comment__reply-btn:before {
    content: none !important;
}
.comment__reply-btn--active:before {
    content: none !important;
}
.comment__reply-btn--simple {
  font: 400 13px/1.5 Inter, sans-serif;
  background: none;
  padding: 0;
}
.comment__reply-form {
  margin: 20px 0;
}
.comment__reply-form:first-child {
  margin-top: 0;
}
.comment__reply-form:last-child {
  margin-bottom: 0;
}
.comment__field {
  margin: 0 0 12px;
}
.comment__field:last-child {
  margin-bottom: 0;
}

.accordion__item {
  border-bottom: 1px solid #D9D9D9;
}
.accordion__item-head {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--h3);
  font-weight: bold;
  color: var(--title-color);
  padding: 17px 17px 17px 0;
  cursor: pointer;
  user-select: none;
}
.accordion__item-head:after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-color: #3C3C3C;
  mask: url(../img/icons/angle-down.svg) no-repeat center/contain;
  flex: 0 0 auto;
  margin-left: auto;
  transition: all 0.2s ease;
}
.accordion__item-head--active:after {
  transform: scaleY(-1);
}
.accordion__item-body {
  font-size: 0.89em;
  color: #595959;
  padding: 0 0 1em;
  display: none;
}

.article__inner {
  max-width: 780px;
}
.article__back {
  margin: 0 0 24px;
}
.article__head {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0 0 16px;
}
.article__head:last-child {
  margin-bottom: 0;
}
.article__head-btn {
  flex: 0 0 auto;
}
.article__title {
  margin: 0;
  flex: 1 1 auto;
}
.article__features {
  font-size: 16px;
  display: flex;
  gap: 0.5em 1em;
  align-items: flex-start;
  color: #7F7F7F;
  margin: 0 0 24px;
}
.article__features:last-child {
  margin-bottom: 0;
}
.article__feature {
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.article__feature-icon {
  font-size: 1.13em;
}
.article__feature-key {
  padding-right: 0.5em;
  align-self: flex-start;
}
.article__feature-value a {
  text-decoration: none;
}
.article__banner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 24px 0;
}
.article__banner:first-child {
  margin-top: 0;
}
.article__banner:last-child {
  margin-bottom: 0;
}
.article__banner:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
}
.article__tools {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article__tag {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 16px;
  line-height: 1;
  min-height: 2em;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  border: 1px solid #DDEAF3;
  background-color: #F0F5FA;
  color: #2B2B2B;
  cursor: pointer;
  user-select: none;
}
.article__tag:after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url(../img/icons/bell.svg) no-repeat center/contain;
}
.article__tag--active:after {
  mask-image: url(../img/icons/bell-check.svg);
}
.article__date {
  color: #7D7E81;
  margin: 0 0 24px;
}
.article__date:last-child {
  margin-bottom: 0;
}
.article__content {
  margin: 0 0 24px;
}
.article__content:last-child {
  margin-bottom: 0;
}
.article__content h3 em, .article__content h4 em {
  font-weight: 400;
  display: block;
}
.article__content h3 + figure, .article__content h4 + figure {
  margin-top: 0;
}
.article__content p:has(em) {
  margin-bottom: 0.5em;
}
.article__content p:has(em):last-child {
  margin-bottom: 0;
}
.article__content p:has(em) + .table-wrapper {
  margin-top: 0;
}
.article__files {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}
.article__files:first-child {
  margin-top: 0;
}
.article__files:last-child {
  margin-bottom: 0;
}
.article__btn {
  display: flex;
  width: fit-content;
  margin: 24px 0 24px auto;
}
.article__btn:first-child {
  margin-top: 0;
}
.article__btn:last-child {
  margin-bottom: 0;
}

.js-map {
  background-color: #D9D9D9;
  min-height: 320px;
}

.contacts__wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contacts__body {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;

}
.contacts__main {
  width: calc(50% - 20px);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
.contacts__head h1, .contacts__head h2 {
  font-weight: 400;
  font-size: calc(var(--h1) * 1.4);
  margin-bottom: 0.3em;
}
.contacts__head h1:last-child, .contacts__head h2:last-child {
  margin-bottom: 0;
}
.contacts__section-title {
  margin: 0 0 0.3em;
}
.contacts__item {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  gap: 0.5em;
  padding: 0.25em 0;
  color: #14314F;
  text-decoration: none;
  margin: 0 0 0.5em;
}
.contacts__item:last-child {
  margin-bottom: 0;
}
.contacts__item-icon {
  font-size: 1.25em;
  margin-top: 0.1em;
}
.contacts__item-text a {
  display: inline-block;
  text-decoration: none;
}
.contacts__item-text em {
  display: inline-block;
  color: #7D7E81;
}
.contacts__map {
  width: calc(50% - 20px);
  height: 600px;
}

.tree {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.33em;
  font-weight: bold;
  line-height: 1.4;
  color: var(--title-color);
}
.tree > li {
  margin: 0;
}
.tree > li {
  margin: 0 0 40px;
}
.tree > li:last-child {
  margin-bottom: 0;
}
.tree a {
  color: #14314F;
}
.tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.89rem;
  color: #2B2B2B;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding-top: 0.5em;
}
.tree ul > li {
  margin: 0;
}
.tree ul a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.25em 0;
}
.tree ul ul {
  padding-top: 0;
  padding-left: 2em;
}

.catalog-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.catalog-block__body {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.catalog-block__btn {
  margin: 0 auto;
}

.person__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 780px;
}
.person__features {
  font-size: 16px;
  color: #7F7F7F;
}
.person__feature {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  margin: 0 0 0.25em;
}
.person__feature:last-child {
  margin-bottom: 0;
}
.person__feature-key, .person__feature-value {
  max-width: calc(50% - 0.5em);
}
.person__pic {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-end;
  position: relative;
  padding: 16px;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
}
.person__img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.person__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth__body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.auth__main {
  width: calc(50% - 20px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.auth__head h1, .auth__head h2 {
  font-size: calc(var(--h1) * 1.4);
  margin-bottom: 0.15em;
}
.auth__head h1:last-child, .auth__head h2:last-child {
  margin-bottom: 0;
}
.auth__head p {
  margin: 0 0 0.44em;
}
.auth__head p:last-child {
  margin-bottom: 0;
}
.auth__head em {
  color: #7F7F7F;
}
.auth__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.auth__nav {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em 1.5em;
  flex-wrap: wrap;
  font-family: "Clear Sans", sans-serif;
  font-size: 94%;
  font-weight: bold;
  color: var(--title-color);
}
.auth__nav a {
  display: inline-block;
  color: #14314F;
}
.auth__buttons {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}
.auth__btn {
  width: calc(50% - 6px);
  padding-left: 0.5em;
  padding-right: 0.5em;
}
.auth__img {
  width: calc(50% - 20px);
}

.small-card {
  width: 100%;
  background-color: #fff;
  padding: 22px;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  position: relative;
  font-size: 16px;
}
.small-card__date {
  font-size: 13px;
  line-height: 1.4;
  color: #7D7E81;
  margin: 0 0 0.3em;
}
.small-card__date:last-child {
  margin-bottom: 0;
}
.small-card__title {
  font-weight: bold;
  font-size: inherit;
  font-family: "Clear Sans", sans-serif;
  margin: 0 0 0.75em;
}
.small-card__link {
  display: flex;
  align-items: center;
  gap: 0.8em;
  color: #14314F;
  font-weight: bold;
  font-family: "Clear Sans", sans-serif;
  text-decoration: none;
  margin-top: auto;
  -webkit-tap-highlight-color: transparent;
}
.small-card__link:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feed__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
}
.feed__filter:last-child {
  margin-bottom: 0;
}
.feed__field {
  flex: 0 0 auto;
}
.feed__field--big {
  flex: 1 1 auto;
}
.feed__body {
  gap: 18px;
}
.feed__btn {
  margin: 0 auto;
}

.option-columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.option-columns__buttons {
  gap: 24px;
}
.option-columns__body {
  gap: 40px;
  display: flex;
}
.option-columns__column {
  width: calc((100% - 80px) / 3);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.option-columns__subtitle {
  color: #14314F;
  margin: 0;
}
.option-columns__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.option-columns__item {
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 0.5em;
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
}
.option-columns__item-input {
  font-size: 1.38em;
}

.account__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.account__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  max-width: 100%;
  overflow: auto;
  background: linear-gradient(#D9D9D9, #D9D9D9) no-repeat left bottom/100% 2px;
  gap: 0.89em;
  color: #595959;
  line-height: normal;
  position: relative;
}
.account__nav > li {
  margin: 0;
}
.account__nav > li {
  border-bottom: 2px solid transparent;
  flex: 0 0 auto;
}
.account__nav > li.active {
  border-color: #14314F;
  color: #14314F;
  font-weight: bold;
  font-size: 1.11em;
}
.account__nav > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.78rem;
  text-decoration: none;
  padding: 0 8px;
}
.account__body {
  display: flex;
  gap: 30px;
}
.account__sidebar {
  width: calc(34% - 15px);
}
.account__main {
  width: calc(66% - 15px);
}
.account__main:only-child {
  width: 100%;
}
.account__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.account__form--big-gap {
  gap: 24px;
}
.account__buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/*ПОДВАЛ*/
.scroll-up-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  width: 3.5em;
  height: 3.5em;
  color: #14314F;
  border: 1px solid;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
}

.message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: fixed;
  z-index: 3;
  bottom: 10px;
  left: 50%;
  width: 1440px;
  transform: translateX(-50%);
  max-width: calc(100% - 20px);
  background-color: #fff;
  padding: 16px 25px;
  border-radius: 12px;
  font-size: 16px;
  color: #222020;
  box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3);
}
.message__text {
  flex: 1 1 auto;
}
.message__btn {
  flex: 0 0 auto;
}

.footer {
  padding: 22px 0;
  font-size: 13px;
  line-height: 1.4;
  background-color: #F0F5FA;
  color: #302D2D;
}
.footer__topline {
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 74px;
}
.footer__main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 250px;
  max-width: 100%;
}
.footer__logo {
  width: 132px;
}
.footer__contact-text {
  color: #14314F;
  text-decoration: none;
  display: block;
  width: fit-content;
  max-width: 100%;
}
.footer__contact-caption {
  color: #A1A1A1;
  margin: 0.3em 0;
}
.footer__contact-caption:first-child {
  margin-top: 0;
}
.footer__contact-caption:last-child {
  margin-bottom: 0;
}
.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  color: #14314F;
}
.footer__menu > li {
  margin: 0;
}
.footer__menu > li > a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.4em 0;
  text-decoration: none;
}
.footer__bottomline {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid #BED8E9;
}
.footer__bottomline:first-child {
  border-top: none;
}
.footer__date {
  font: 16px/1.5 "Clear Sans", sans-serif;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*АДАПТИВ*/
@media (hover: hover) {
  a:hover {
    text-decoration: none;
  }
  a[href^="tel:"][data-tooltip] {
    position: relative;
  }
  a[href^="tel:"][data-tooltip]:after {
    content: attr(data-tooltip);
    display: block;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    line-height: normal;
    font-weight: 400;
    text-align: center;
    width: max-content;
    background-color: #fff;
    color: #000;
    border: 1px solid #14314F;
    border-radius: 0.25em;
    padding: 0.25em 0.5em;
    opacity: 0;
    pointer-events: none;
  }
  a[href^="tel:"][data-tooltip]:hover:after {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.2s ease 0.3s;
  }
  .js-select__option {
    transition: all 0.2s ease;
  }
  .js-select__option:hover {
    background-color: #EDEDED;
    --check-opacity: 1;
  }
  .btn {
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease;
  }
  .btn:hover {
    background-color: #28567B;
  }
  .btn--stroke:hover {
    background-color: transparent;
    color: #28567B;
    border-color: #28567B;
  }
  .btn--white-stroke:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
  }
  .tooltip a:hover {
    text-decoration: underline;
    color: var(--title-color);
  }
  .main-menu__menu > li > a {
    transition: all 0.2s ease;
  }
  .main-menu__menu > li > a:hover {
    background-color: #EDEDED;
  }
  .account-widget:hover .account-widget__menu {
    opacity: 1;
    pointer-events: auto;
  }
  .account-widget__menu-item {
    transition: all 0.2s ease;
  }
  .account-widget__menu-item:hover {
    background-color: #F0F5FA;
  }
  .header__menu > li > a:hover {
    text-decoration: underline;
  }
  .header__contact-icon {
    transition: all 0.2s ease;
  }
  .header__contact:hover .header__contact-icon {
    color: #171717;
  }
  .notices__item-close-btn {
    transition: all 0.2s ease;
  }
  .notices__item-close-btn:hover {
    color: #000;
  }
  .card, .tile {
    transition: background 0.2s ease;
  }
  .card:hover, .tile:hover {
    background-color: #F0F5FA;
  }
  .card__link:hover {
    color: #28567B;
  }
  .tag:hover {
    border-color: #14314F;
  }
  .category-card__link {
    transition: all 0.2s ease;
  }
  .category-card__link:hover {
    color: #28567B;
  }
  .row-card__link {
    transition: all 0.2s ease;
  }
  .row-card__link:hover {
    color: #28567B;
  }
  .row-card__authors a:hover {
    text-decoration: underline;
  }
  .breadcrumbs a:hover {
    color: var(--alt-color);
  }
.section.article .breadcrumbs a:hover {
        color: unset;
    }
  .filter__reset {
    transition: all 0.2s ease;
  }
  .filter__reset:hover {
    color: #3C3C3C;
  }
  .back-link {
    transition: all 0.2s ease;
  }
  .back-link:hover {
    color: #28567B;
  }
  .file {
    transition: all 0.2s ease;
  }
  .file:hover {
    background-color: #F0F5FA;
  }
  .file__link {
    transition: inherit;
  }
  .file:hover .file__link {
    color: #28567B;
  }
  .comment__text a:hover {
    color: #14314F;
  }
  .comment__text a:hover b, .comment__text a:hover strong {
    color: inherit;
  }
  .comment__reply-btn:hover {
    color: #28567B;
  }
  .article__feature-value a:hover {
    text-decoration: underline;
  }
  .contacts__item[href] {
    transition: all 0.2s ease;
  }
  .contacts__item[href]:hover {
    color: #28567B;
  }
  .contacts__item-text a:hover {
    color: #28567B;
  }
  .small-card {
    transition: all 0.2s ease;
  }
  .small-card:hover {
    background-color: #F0F5FA;
  }
  .small-card__link:hover {
    color: #28567B;
  }
  .auth__nav a {
    transition: all 0.2s ease;
  }
  .auth__nav a:hover {
    text-decoration: underline;
    color: #28567B;
  }
  .scroll-up-btn {
    transition: all 0.2s ease;
  }
  .scroll-up-btn:hover {
    background-color: #14314F;
    color: #fff;
  }
  .footer__menu > li > a:hover {
    text-decoration: underline;
  }
  .footer__contact-text[href]:hover {
    color: #2B2B2B;
  }
}
@media (min-width: 1280px) {
  .main-menu:has(.main-menu__head:hover), .main-menu:has(.main-menu__submenu:hover) {
    opacity: 1;
    pointer-events: auto;
  }
  html:has(.menu-btn:hover) .main-menu {
    opacity: 1;
    pointer-events: auto;
  }
  .main-menu__menu > li.has-js-submenu > a:after {
    content: "";
    display: inline-block;
    font-size: 0.75em;
    width: 1em;
    height: 1em;
    background: currentColor;
    mask: url(../img/icons/angle-right.svg) no-repeat center/contain;
    margin-left: auto;
    color: transparent;
    transition: inherit;
  }
  .main-menu__menu > li.js-hover > a, .main-menu__menu > li > a:hover {
    background-color: #EDEDED;
  }
  .main-menu__menu > li.js-hover > a:after, .main-menu__menu > li > a:hover:after {
    color: inherit;
  }
}
@media (max-width: 1279px) {
  .wrapper {
    max-width: 992px;
  }
  .modal__text h1, .modal__text h2 {
    font-size: calc(var(--h1) * 1.2);
  }
  .menu-btn__stick {
    transition: transform 0.3s ease;
  }
  .menu-btn--active .menu-btn__stick {
    transform: scale(0);
  }
  .menu-btn--active .menu-btn__stick:first-child {
    transform: translateY(0) rotate(-45deg);
  }
  .menu-btn--active .menu-btn__stick:last-child {
    transform: translateY(0) rotate(45deg);
  }
  .main-menu {
    box-shadow: none;
    background: #fff;
    backdrop-filter: none;
    border-top: 2px solid #D9D9D9;
  }
  .main-menu--open {
    opacity: 1;
    pointer-events: auto;
  }
  .main-menu__wrapper {
    padding: 0 4px;
  }
  .main-menu__head {
    width: 100%;
    box-shadow: none;
    padding: 10px 0 20px;
  }
  .main-menu__separator {
    margin: 16px 8px 20px;
  }
  .main-menu__menu {
    margin: 0 0 16px;
  }
  .main-menu__menu a:active {
    color: #14314F;
  }
  .main-menu__menu > li > a:after {
    content: "";
    display: none;
    font-size: 0.75em;
    width: 1em;
    height: 1em;
    background: currentColor;
    mask: url(../img/icons/angle-down.svg) no-repeat center/contain;
    margin-left: auto;
    transition: all 0.2s ease;
  }
  .main-menu__menu > li > a:not(:only-child):after {
    display: inline-block;
  }
  .main-menu__menu > li.open > a:after {
    transform: scaleY(-1);
  }
  .main-menu__menu > li.open > ul {
    display: block;
  }
  .main-menu__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 0.88em;
    padding-left: 2.6em;
    animation: fadeIn 0.3s ease;
  }
  .main-menu__menu ul > li {
    margin: 0;
  }
  .main-menu__menu ul > li > a {
    display: block;
    text-decoration: none;
    padding: 0.6em 0;
  }
  .main-menu__submenu {
    display: none;
    width: 0;
    height: 0;
    position: absolute;
    z-index: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
  }
  .card {
    width: 470px;
  }
  .tile {
    width: 470px;
  }
  .tile--fluid {
    width: 100%;
  }
  .intro {
    padding: 0 0 60px;
  }
  .intro__slide {
    min-height: 500px;
  }
  .line-filter__field {
    width: 470px;
  }
  .line-filter__field--half {
    width: calc(50% - 10px);
  }
  .section {
    padding: 45px 0;
  }
  .section:last-child {
    padding-bottom: 80px;
  }
  .tax-block__wrapper {
    gap: 30px;
  }
  .tax-block__head {
    gap: 20px;
  }
  .tax-block__head-text h1, .tax-block__head-text h2 {
    font-size: calc(var(--h1) * 1.2);
  }
  .tax-block__search {
    width: calc(50% - 10px);
  }
  .page-banner {
    padding: 50px 0 40px;
    min-height: 450px;
  }
  .page-banner:before {
    background: linear-gradient(to right, #14314F, rgba(20, 49, 79, 0.2));
  }
  .category-card {
    width: 306px;
  }
  .cats__wrapper {
    gap: 35px;
  }
  .cats__body {
    gap: 20px;
  }
  .catalog__head h1, .catalog__head h2 {
    font-size: calc(var(--h1) * 1.2);
  }
  .catalog__body {
    gap: 30px;
  }
  .catalog__sidebar {
    width: 260px;
  }
  .catalog__main {
    width: calc(100% - 290px);
  }
  .contacts__main {
    gap: 20px;
  }
  .auth__body {
    gap: 24px;
  }
  .auth__main, .auth__img {
    width: calc(50% - 12px);
  }
  .auth__head h1, .auth__head h2 {
    font-size: calc(var(--h1) * 1.2);
  }
}
@media (max-width: 991px) {
  html {
    font-size: 16px;
    --h1: 28px;
    --h2: 28px;
    --h3: 22px;
    --h4: 18px;
    --h5: 24px;
  }
  .modal__text h1, .modal__text h2 {
    font-weight: bold;
    font-size: var(--h1);
  }
  .header__wrapper {
    padding-left: 10px;
  }
  .header__logo {
    margin-right: auto;
  }
  .header__menu {
    display: none;
  }
  .header__search-btn {
    display: flex;
  }
  .notices {
    right: 10px;
    max-width: calc(100% - 20px);
    gap: 5px;
  }
  .notices__item {
    padding: 15px;
    gap: 10px;
  }
  .card,
  .tile {
    width: 100%;
  }
  .card.swiper-slide,
  .tile.swiper-slide {
    width: 393px;
  }
  .line-filter {
    gap: 15px;
  }
  .line-filter__field {
    width: 100%;
  }
  .line-filter__field--half {
    width: calc(50% - 7.5px);
  }
  .nav-slider {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }
  .nav-slider .swiper-wrapper {
    gap: 0;
  }
  .nav-slider__item {
    padding: 0 16px;
  }
  .tax-block__head {
    flex-wrap: wrap;
  }
  .tax-block__head-text h1, .tax-block__head-text h2 {
    font-weight: bold;
    font-size: var(--h1);
  }
  .tax-block__head-text h1 b, .tax-block__head-text h1 strong, .tax-block__head-text h2 b, .tax-block__head-text h2 strong {
    font-weight: inherit;
  }
  .tax-block__search {
    width: 100%;
  }
  .page-banner {
    min-height: 360px;
    padding-top: 40px;
  }
  .category-card {
    flex-basis: calc(50% - 10px);
  }
  .category-card.swiper-slide {
    flex-basis: auto;
  }
  .cats__wrapper {
    gap: 30px;
  }
  .cats__head h1, .cats__head h2 {
    font-size: var(--h2);
  }
  .catalog__wrapper {
    gap: 30px;
  }
  .catalog__head-text h1, .catalog__head-text h2 {
    font-size: var(--h1);
  }
  .catalog__bar {
    gap: 20px;
    margin-bottom: 20px;
  }
  .catalog__body {
    display: block;
  }
  .catalog__sidebar {
    background: #fff;
    width: 320px;
    max-width: 100%;
    position: fixed;
    z-index: 4;
    top: 0;
    left: -320px;
    height: 100%;
    border-top: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    transition: all 0.2s ease;
  }
  .catalog__sidebar--open {
    z-index: 5;
    left: 0;
    box-shadow: 0 0 0 400vmax rgba(0, 0, 0, 0.5);
  }
  html:has(.catalog__sidebar--open) {
    overflow: hidden;
  }
  .catalog__sidebar-body {
    max-height: 100%;
    overflow: auto;
    padding: 20px 15px;
  }
  .catalog__sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.75);
    width: 3em;
    height: 3em;
    border: 1px solid #d9d9d9;
    border-radius: 0 20% 20% 0;
    cursor: pointer;
    transition: inherit;
  }
  .catalog__sidebar-btn:before {
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    mask: url(../img/icons/filter.svg) no-repeat center/contain;
  }
  .catalog__sidebar--open .catalog__sidebar-btn {
    background-color: #fff;
  }
  .catalog__sidebar--open .catalog__sidebar-btn:before {
    mask-image: url(../img/icons/cross.svg);
  }
  .catalog__main {
    width: auto;
  }
  .contacts__head h1, .contacts__head h2 {
    font-size: var(--h1);
  }
  .contacts__body {
    flex-direction: column;
  }
  .contacts__main {
    width: 100%;
  }
  .contacts__map {
    width: 100%;
    height: 360px;
  }
  .auth__body {
    display: block;
  }
  .auth__img {
    display: none;
  }
  .auth__main {
    width: auto;
  }
  .auth__head h1, .auth__head h2 {
    font-size: var(--h1);
  }
  .auth__nav {
    order: 1;
  }
  .feed__filter {
    margin: 0;
  }
  .feed__body {
    gap: 10px;
  }
  .option-columns__buttons {
    gap: 15px;
  }
  .option-columns__column {
    width: 100%;
  }
  .option-columns__fields {
    gap: 15px;
  }
  .account__wrapper {
    gap: 30px;
  }
  .account__nav {
    margin: 0 -16px;
    width: calc(100% + 32px);
    max-width: calc(100% + 32px);
    gap: 0;
  }
  .account__nav > li > a {
    padding: 0 16px;
  }
  .account__body {
    flex-direction: column;
    gap: 40px;
  }
  .account__sidebar {
    width: 100%;
  }
  .account__main {
    width: 100%;
  }
  .message {
    padding: 16px;
    font-size: 14px;
  }
  .footer {
    padding: 10px 0;
  }
  .footer__topline {
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .header__contacts {
    display: none;
  }
  .intro {
    padding-bottom: 40px;
  }
  .section {
    padding: 40px 0;
  }
  .breadcrumbs {
    font-size: 14px;
  }
  .page-banner__text h1, .page-banner__text h2 {
    font-size: calc(var(--h1) * 1.2);
  }
  .line-filter__field {
    width: 100%;
  }
  .category-card {
    flex-basis: auto;
    width: 100%;
  }
  .row-card {
    flex-direction: column;
    min-height: 0;
  }
  .row-card__pic {
    height: 200px;
    max-width: 100%;
    width: 100%;
  }
  .row-card__body {
    padding: 16px;
    border-width: 0 1px 1px 1px;
    border-radius: inherit;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .row-card__links {
    padding-top: 0.5em;
  }
  .catalog__bar {
    flex-direction: column;
    gap: 10px;
  }
  .catalog__bar-field {
    width: 100%;
  }
  .message {
    flex-direction: column;
    gap: 15px;
    left: 0;
    bottom: 0;
    transform: none;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    padding: 10px 15px;
  }
  .message__text {
    width: 100%;
    text-align: center;
  }
  .file {
    font-size: 14px;
  }
  .file__icon {
    font-size: 2.4em;
    gap: 0.75em;
  }
  .file__title {
    font-size: 1.15em;
  }
  .file__link {
    font-size: 1.5em;
  }
  .file__link-text {
    display: none;
  }
  .article__back {
    margin: 0 0 15px;
  }
  .article__head {
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
  }
  .article__title {
    width: 100%;
  }
  .article__features {
    flex-direction: column;
  }
  .article__feature {
    width: 100%;
  }
  .article__banner {
    min-height: 360px;
  }
  .small-card {
    padding: 15px;
  }
  .feed__filter {
    flex-direction: column;
  }
  .feed__field {
    width: 100%;
  }
  .option-columns__buttons {
    gap: 10px;
  }
  .option-columns__btn {
    flex: 1 1 auto;
  }
  .scroll-up-btn {
    margin: 0;
  }
  .footer {
    padding: 0;
  }
  .footer__topline {
    flex-direction: column;
    gap: 20px;
    padding: 24px 0;
  }
  .footer__main {
    gap: 12px;
  }
  .footer__bottomline {
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
  }
}
@media (max-width: 479px) {
  html {
    --h1: 26px;
    --h2: 26px;
    --h3: 20px;
    --h4: 16px;
    --h5: 22px;
  }
  blockquote {
    margin-left: 0;
  }
  figcaption {
    font-size: 0.88em;
  }
  .double-field {
    display: block;
  }
  .double-field__item {
    width: 100%;
    margin: 14px 0 0;
  }
  .double-field__item:first-child {
    margin-top: 0;
  }
  .double-field__caption {
    margin: 2px 0 0;
  }
  .double-field__caption:first-child {
    margin-top: 0;
  }
  .modal {
    padding: 25px 15px;
  }
  .modal__text {
    font-size: 15px;
  }
  .modal__field {
    font-size: 14px;
  }
  .tooltip.fancybox-content {
    font-size: 14px;
    padding: 35px 15px 25px;
  }
  .card.swiper-slide,
  .tile.swiper-slide {
    width: 293px;
  }
  .intro {
    padding-bottom: 30px;
  }
  .section {
    padding: 30px 0;
  }
  .section:last-child {
    padding-bottom: 60px;
  }
  .tax-block__wrapper {
    gap: 20px;
  }
  .page-banner {
    padding: 20px 0 30px;
  }
  .filter__btn {
    width: 100%;
  }
  .catalog__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .catalog__head-btn {
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .catalog__btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .tabs__nav {
    margin-left: -16px;
    margin-right: -16px;
    width: auto;
    max-width: calc(100% + 32px);
    gap: 0;
  }
  .tabs__nav-item {
    padding: 8px 16px;
    font-size: inherit;
  }
  .accordion__item-head {
    font-size: inherit;
  }
  .comment {
    gap: 15px;
    font-size: 16px;
    padding: 20px 0;
  }
  .comment--reply {
    font-size: 14px;
    padding: 0;
  }
  .comment__avatar {
    width: 40px;
    height: 40px;
    border-width: 3px;
  }
  .comment__replies {
    margin-left: 0;
  }
  .comments__form {
    margin: 0 0 15px;
  }
  .comments__form:last-child {
    margin-bottom: 0;
  }
  .article__feature:has(.article__feature-key) {
    flex-direction: column;
    align-items: flex-start;
  }
  .article__banner {
    min-height: 260px;
  }
  .contacts__btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .person__feature {
    display: block;
    margin-bottom: 1em;
  }
  .person__feature-key, .person__feature-value {
    max-width: 100%;
  }
  .person__pic {
    min-height: 260px;
  }
  .auth__buttons {
    gap: 10px;
  }
  .auth__btn {
    width: 100%;
  }
  .account__nav {
    font-size: 14px;
  }
  .message__btn {
    width: 100%;
  }
}
@media (max-width: 374px) {
  html {
    --h1: 23px;
    --h2: 23px;
    --h5: 20px;
  }
  .field__counter {
    font-size: 0.8em;
  }
  .card {
    font-size: 14px;
  }
  .card__title {
    font-size: 16px;
  }
  .tile {
    flex-direction: column;
    min-height: 0;
  }
  .tile__pic {
    width: 100%;
    max-width: 100%;
    height: 130px;
  }
  .tile__arrow {
    display: none;
  }
  .tile__tags {
    max-width: 100%;
  }
  .tile__body {
    border-width: 0 1px 1px 1px;
    border-radius: inherit;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .category-card {
    font-size: 14px;
  }
  .row-card {
    font-size: 14px;
  }
  .row-card__title {
    font-size: 16px;
  }
  .result-message {
    font-size: 14px;
  }
  .catalog__sidebar {
    width: 100%;
    transform: none;
    left: -100%;
  }
  .catalog__sidebar--open {
    left: 0;
  }
  .catalog__sidebar-body {
    padding-bottom: 68px;
  }
  .catalog__sidebar-btn {
    position: fixed;
    border-radius: 20%;
    top: auto;
    bottom: 10px;
    right: 10px;
    left: auto;
    z-index: 4;
    transform: none;
  }
  .comment {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
  }
  .comment--reply {
    padding: 0;
  }
  .comment__body {
    width: 100%;
  }
  .article__head-btn, .article__btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .article__tools {
    gap: 5px;
  }
  .article__banner {
    padding: 5px;
  }
  .person__pic {
    padding: 10px;
  }
}
div#bxmedialib td {
    height: auto !important;
}
/* Стилизация стандартного select под дизайн кастомного селекта */
.field__input select,
select.field__input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    font: 400 16px/1.5 Inter, sans-serif;
    padding: 0.625em 2em 0.625em 0.75em; /* место под стрелку */
    width: 100%;
    cursor: pointer;
    color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='%237D7E81'%3E%3Cpath d='M8 11.4L3.6 7 4.7 5.9l3.3 3.3 3.3-3.3L12.4 7 8 11.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75em center;
    background-size: 1em;
    line-height: normal;
    /* для совместимости с вашей версткой добавим min-height как у .js-select */
    min-height: 42px;
}
/* Фиксированная кнопка прокрутки вверх */
.scroll-up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    visibility: hidden;

}

.scroll-up-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-up-btn:hover {
    background-color: #0e3452;
    transform: translateY(-3px);
}

.scroll-up-btn .mask-icon {

}

@media (max-width: 768px) {
    .scroll-up-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-up-btn .mask-icon {
        width: 20px;
        height: 20px;
    }
}
/* Убираем стандартную стрелку в IE */
.field__input select::-ms-expand,
select.field__input::-ms-expand {
    display: none;
}

/* Стиль при фокусе (опционально, как у полей ввода) */
.field__input select:focus,
select.field__input:focus {
    border-color: #14314F;
    outline: none;
    box-shadow: 0 0 0 2px rgba(20,49,79,0.2);
}

/* Если select внутри контейнера с классом field__input, как у вас */
.field__input select {
    height: 100%;
    display: block;
}
.section.article .breadcrumbs span:last-child {
    color: unset;
}