/* Карточки каталога: клики проходят сквозь контент к ссылке под ним */
.nav-card,
.nav-card * {
    cursor: pointer !important;
}
.nav-card__absolute-link {
    z-index: 1;
    cursor: pointer !important;
}
.nav-card .nav-card__img,
.nav-card h4,
.nav-card > p,
.nav-card .nav-card__link {
    pointer-events: none;
}

search-form {
    display: block;
}

.section__inner p,
.section__inner h2,
.section__inner h3,
.section__inner h4,
.section__inner ul,
.section__inner ol,
.section__inner table,
.section__inner note {
    margin-top: 0px;
    margin-bottom: 20px;
}

.section__inner p {
    text-align: justify;
    hyphens: auto;
}

.section__inner .note p {
    margin-bottom: 0;
}

.section__inner .note {
    margin-bottom: 20px;
}

.section__inner .attention p {
    margin-bottom: 0;
}

.section__inner .attention {
    margin-bottom: 20px;
}

.section__inner {
    /* Плеер Rutube/YouTube на всю ширину контента */
    .thumb.embedvideo,
    .thumb.embedvideo .embedvideo,
    .thumb.embedvideo .embedvideowrap {
      width: 100% !important;
      max-width: 100%;
    }
}
  
.thumb.embedvideo .embedvideowrap {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    margin-bottom: 20px;
}
  
.thumb.embedvideo .embedvideowrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.aside-nav a:not(.aside-nav__attached-link) {
    padding: 0;       /* убираем все внутренние отступы */
    margin: 0;        /* на всякий случай обнуляем внешние отступы */
    display: block;   /* чтобы padding и margin применялись корректно по высоте */
}
.aside-nav>li>ul {
    padding-left: 25px;
}
.aside-nav.sub-menu_active {
    border-left: 1px solid #dedede;
}
.aside-nav ul.sub-menu_active {
    row-gap: 0px;
}
.aside-nav ul ul ul a:not(.aside-nav__attached-link) {
    padding: 0px 0 5px 23px;
}

/* Copy-block: кнопка и текст не выходят за границы */
.copy-block {
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.copy-block__text {
    max-width: 555px;
    width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    padding-right: 60px;
}
.copy-block__text pre {
    margin: 0;
    padding: 0;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-all !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
    width: 100%;
}
.copy-block__text code {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-all !important;
    display: block;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
    width: 100%;
}
