body,
html {
    font-family: "Roboto", sans-serif;
    height: 100%;
    scroll-behavior: smooth;
}

html {
    box-sizing: border-box;
}

.container {
    max-width: 1100px;
    padding: 0 15px 0 15px;
    margin: 0 auto;
}

:root {
    --main-color: #7999fe;
    --secondary-color: #FFFFFF;
    --dark-color: #1e1e1e;

    --bg-border-color: #dddddd;
}

.h1,
h1 {
    font-size: 2.5rem
}

.h2,
h2 {
    font-size: 2rem
}

.h3,
h3 {
    font-size: 1.75rem
}

.h4,
h4 {
    font-size: 1.5rem
}

.h5,
h5 {
    font-size: 1.25rem
}

.h6,
h6 {
    font-size: 1rem
}

.article__content h1,
.article__content h2,
.article__content h3,
.article__content h4,
.article__content h5,
.article__content h6 {
    text-align: left;
    font-weight: 400;
    line-height: 1.2;
    margin: 50px 0 20px 0;
}

p {
    margin-bottom: 20px;
}

p a {
    color: #045577;
    font-weight: 600;
    transition: color .3s ease-in-out;
}

p a:hover {
    color: #bd1d00;
    text-decoration: underline;
}

p span {
    font-weight: 600;
}

ol,
ul {
    list-style-type: none;
    counter-reset: num;
}

.content article ol li a,
.content article ul li a {
    color: #045577;
    transition: color .3s ease-in-out, font-weight .3s ease-in-out;
}

.content article ol li a:hover,
.content article ul li a:hover {
    color: #bd1d00;
    text-decoration: underline;
}

.content .article ol li:not(:last-child) {
    margin-bottom: 20px;
}

.content .article ul li:not(:last-child) {
    margin-bottom: 10px;
}

ol li::before {
    content: counter(num);
    counter-increment: num;
    color: #fff;
    background: #7999fe;
    padding: 5px;
    margin-right: 10px;
    display: inline-block;
    width: 35px;
    border-radius: 50%;
    font-weight: 300;
    text-align: center;
    clear: both;
}

/* Анимация для модального окна */

.fade {
    -webkit-animation-name: fade;
    animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

/* fade */

@-webkit-keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: 0.1;
    }

    to {
        opacity: 1;
    }
}

/* fade-out */

.fade-out {
    -webkit-animation-name: fade-out;
    animation-name: fade-out;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

@-webkit-keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Анимация для модального окна */

/* modal-banner */

.modal-banner {
    display: none;
    position: fixed;
    width: 100%;
    max-width: 390px;
    border-radius: 30px;
    background-color: var(--secondary-color);
    box-shadow: 0px 0px 8px 1px rgb(13 17 19 / 20%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    padding: 56px 35px 20px 35px;
}

.modal-banner--active {
    display: block;
}

.modal-banner__trigger,
.modal-banner__trigger2 {
    cursor: pointer;
}

.modal-banner__close {
    display: none;
    position: absolute;
    width: 40px;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.modal-banner__close svg {
    width: 30px;
    height: 30px;
}

.modal-banner__img {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    top: -39px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
}

.modal-banner__title {
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
}

.modal-banner__btn {
    display: block;
    font-size: 20px;
    line-height: 15.5px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: var(--main-color);
    color: var(--secondary-color);
    border-radius: 15px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    padding: 18px 20px;
    margin: 0px auto;
}

.modal-banner__text {
    font-size: 14px;
    color: #1E1E1E;
    text-align: center;
    margin-top: 20px;
}

.modal-banner__socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.modal-banner__socials a {
    transition: 0.3s;
}

.modal-banner__socials a:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.modal-banner__socials-link img {
    width: 35px;
    height: 35px;
}

/* modal-banner */

.article__content table {
    width: 100% !important;
    max-width: 650px !important;
}

.article__content table tbody tr td {
    font-size: clamp(0.813rem, 0.647rem + 0.74vw, 1rem);
    text-align: left;
    vertical-align: baseline;
    padding: 10px;
}

.article__content table p {
    font-size: clamp(0.813rem, 0.647rem + 0.74vw, 1rem);
}

.autor__box-descr {
    text-align: left;
}

.content article a {
    font-weight: 700;
}

.content article ul {
    position: relative;
    padding-left: 20px;
    margin-bottom: 30px;
}

.content article ul li::before {
    position: absolute;
    left: 0;
    content: '';
    margin-top: 5px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: #7999fe;
}

.blockquote1 {
    position: relative;
    border: 2px solid #7999fe;
    font-weight: 500;
    border-radius: 5px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.article__content .blockquote1 p:not(:last-child) {
    margin-bottom: 20px;
}

.blockquote1::before {
    position: absolute;
    content: "";
    background-image: url(../assets/icons/quote.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: white;
    width: 30px;
    height: 30px;
    top: -15px;
    left: 30px;
    padding: 2px 2px 2px 2px;
}

.blockquote2 {
    position: relative;
    font-weight: 500;
    border-radius: 20px;
    background-color: #7999fe;
    padding: 20px;
    margin-bottom: 20px;
}

.article__content .blockquote2 p:not(:last-child) {
    margin-bottom: 20px;
}

.blockquote3 {
    position: relative;
    font-weight: 500;
    border-top: 3px solid #7999fe;
    border-bottom: 3px solid #7999fe;
    padding: 20px 20px 20px 20px;
    margin-bottom: 30px;
}

.blockquote3 h3 {
    text-wrap: pretty;
    margin: 0px 0 0px 0;
}

.article__content .blockquote3 p:not(:last-child) {
    margin-bottom: 20px;
}

.blockquote4 {
    position: relative;
    font-weight: 500;
    border: 1px solid #7999fe;
    border-top: 5px solid #7999fe;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 20px 20px 20px 20px;
    margin-bottom: 20px;
}

.blockquote1 p:last-child,
.blockquote2 p:last-child,
.blockquote3 p:last-child,
.blockquote4 p:last-child {
    margin-bottom: 0;
}

.content article .blockquote4 ul {
    margin-bottom: 0;
}

.article__content .blockquote4 ul li:not(:last-child) {
    margin-bottom: 20px !important;
}

audio {
    width: 100%;
    margin: 25px 0 50px 0
}

.article__content p img {
    width: 100%;
    /* box-shadow: 0 3px 5px 2px rgba(34, 60, 80, .2); */
    margin: 20px 0 20px 0;
}

.content {
    padding: 50px 0 50px 0;
}

.content__wrapper {
    display: flex;
    gap: 113px;
}

/* overlay */

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: transparent;
}

.overlay--active {
    display: block;
    z-index: 2;
}

/* overlay */

.body-overflow-hidden {
    overflow: hidden;
}

/* sidebar */

.sidebar {
    width: 24.799%;
}

.sidebar__title {
    font-weight: 600;
    font-size: 22px;
}

.sidebar__more {
    margin-top: 15px;
}

.sidebar__more-menu ul li {
    border-bottom: 1px solid #7d165a;
    transition: box-shadow 0.3s;
    padding: 10px;

    &:hover {
        box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, .2);
    }
}

.sidebar__more-menu ul li a {
    display: block;
    font-size: 14px;
    transition: color .3s ease-in-out;
    color: black;
    padding: 5px;

    &:hover {
        color: #7999fe;
    }
}

.sidebar__more-articles {
    margin-top: 15px;
}

.sidebar__more-articles-title {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 15px;
}

.sidebar__more-article {
    display: block;
    box-shadow: 0px 8px 29px -5px rgba(0, 0, 0, 0.1);
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .2s ease-in-out;
    padding: 10px;
    margin-bottom: 20px;
}

.sidebar__more-article-title {
    font-size: 15px;
    font-weight: 600;
    transition: color .3s ease-in-out;
    margin-top: 10px;
}

.sidebar__more-article:hover .sidebar__more-article-title {
    color: #7999fe;
    text-decoration: underline;
}

.sidebar__more-article-descr {
    font-size: 13px;
    font-weight: 400;
    margin-top: 10px;
}

.sidebar__more-article:hover .sidebar__more-article-descr {
    text-decoration: underline;
}

/* sidebar */

.content-main {
    /* width: 68.201%; */
    width: 56.1%;
}

/* autor__box */

.autor__box {
    max-width: 100%;
    display: flex;
    gap: 20px;
    box-shadow: 0px 8px 29px -5px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.autor__box-right {
    width: 100%;
    max-width: 450px;
    margin-top: 15px;
}

.autor__box-right div {
    /* font-size: 16px; */
    font-size: clamp(0.875rem, 0.821rem + 0.24vw, 1rem);
    text-wrap: pretty;
    /* margin-bottom: 5px; */
    margin-bottom: 2px;
}

.autor__box-inner {
    width: 100%;
    max-width: 190px;
    min-height: 180px;
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
    padding: 10px;
}

.autor__box-inner:hover {
    -webkit-box-shadow: 0px 0px 16px -6px rgba(34, 60, 80, 0.23) inset;
    -moz-box-shadow: 0px 0px 16px -6px rgba(34, 60, 80, 0.23) inset;
    box-shadow: 0px 0px 16px -6px rgba(34, 60, 80, 0.23) inset;
}

.autor__box-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.autor__box-img img {
    object-fit: cover;
}

.autor__box-name {
    font-weight: 700;
    font-size: 16px;
    transition: color .3s ease-in-out;
    margin-top: 10px;
}

.autor__box-descr {
    font-size: 12px;
    text-wrap: pretty;
    margin-top: 5px;
}

.autor__box-text {
    font-size: 16px;
    line-height: 26px;
}

.autor_box-tel {
    margin-top: 20px;
}

.autor_box-tel a {
    transition: all .3s;
}

.autor_box-tel a:hover {
    color: #7999fe;
    text-decoration: underline;
}

.autor__box-link {
    transition: color .3s ease-in-out;
}

.autor__box-link:hover {
    color: #7999fe;
}

.autor__box-tel {
    margin-top: 20px;
}

.autor__box-tel a {
    transition: color .3s ease-in-out;
}

.autor__box-tel a:hover {
    color: #7999fe;
}

.autor__box-tel a {
    font-size: 16px;
    font-weight: 700;
}

/* autor__box */

/* breadcrumbs */

.breadcrumbs {
    display: flex;
    gap: 5px;
    margin-top: 50px;
}

.breadcrumbs li a {
    position: relative;
}

.breadcrumbs li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumbs__arrow {
    display: none;
}

/* breadcrumbs */

/* article */

.article {
    max-width: 650px;
    text-align: justify;
    margin-top: 16px;
}

.article__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article__tags .article__tags-btn {
    color: #fff;
    font-weight: 400;
    background-color: #7999fe;
    border-radius: 5px;
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .2s ease-in-out;
    padding: 8px 12px;
}

.article__tags-btn:hover {
    text-decoration: underline;
    box-shadow: 0px 8px 29px -5px rgba(0, 0, 0, 0.1);
}

/* article */

/* banner */

.banner {
    position: relative;
    margin: 50px 0 50px 0;
}

.banner-second .banner__callback {
    flex-direction: row-reverse;
    bottom: -18px;
    right: 0px;
}

.banner-third .banner__callback {
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse;
    left: 0;
    bottom: -22px;
}

.banner__item {
    display: block;
    box-shadow: 0px 8px 29px -5px rgba(0, 0, 0, 0.1);
}

.banner__img {
    width: 100%;
    box-shadow: 0px 8px 29px -5px rgba(0, 0, 0, 0.1);
}

.banner__callback {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    bottom: 20px;
    left: 23px;
}

.banner__tel {
    display: block;
    color: #045577;
    font-size: 17px;
    font-weight: 600;
    border: 1px solid #7999fe;
    border-radius: 3px;
    background: #7999fe;
    top: 18px;
    right: 5px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: 2;
    padding: 10px 30px;
}

.banner__tel:hover {
    border: 1px solid #7999fe;
    background-color: #fff;
    color: #bd1d00;
    text-decoration: underline;
}

.banner__social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-third .banner__social {
    padding-left: 5px;
}

.banner__social-btn {
    transition: transform .3s;
}

.banner__social-btn:hover {
    transform: scale(1.1);
}

.article__img-note {
    max-width: 610px;
    text-align: center;
    margin-top: 40px;
}

.hr {
    background-color: #c1c1c1;
}

.banner__webinar {
    display: block;
    margin-top: 50px;
}

.banner__webinar img {
    box-shadow: 0px 3px 5px 2px rgba(34, 60, 80, 0.2);
}

/* banner */

/* form */

.article__form {
    box-shadow: 0px 3px 5px 2px rgba(34, 60, 80, 0.2);
    padding: 20px;
    /* margin-top: 70px; */
}

.article__form-title {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article__form form {
    display: flex;
    flex-direction: column;
}

.article__form form input,
.article__form form textarea {
    box-shadow: 0px 3px 5px 2px rgba(34, 60, 80, 0.2) inset;
    border: 1px solid rgba(34, 60, 80, 0.2);
    resize: none;
    padding: 10px;
    margin-bottom: 20px;
}

.agreement {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article__form .agreement input,
.agreement label {
    margin-bottom: 0;
}

.article__form-btn {
    width: 200px;
    border: none;
    background-color: #303749;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    margin: 65px auto;
    margin-bottom: 0;
}

/* form */

/* comments */

.article__comments {
    margin-top: 50px;
}

.article__comment {
    font-size: 14px;
    box-shadow: 0 3px 5px 2px rgba(34, 60, 80, .2);
    padding: 20px;
    margin-bottom: 30px;
}

.article__comment-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article__comment-text {
    margin-top: 20px;
}

/* comments */

/* banner */

.baner-bg {
    -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
}

/* banner */

/* map */

.map {
    margin-bottom: 100px;
}

.map a {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.map a img {
    width: 100%;
}

/* map */

@media(max-width: 1024px) {
    .info-line__second {
        display: none;
    }

    .modal-banner {
        position: fixed;
        width: 100%;
        max-width: 380px;
        border-radius: 30px;
        box-shadow: 0px 0px 8px 1px rgb(13 17 19 / 20%);
        top: calc(50% + 35px);
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 4;
    }
}

@media(max-width: 992px) {

    .sidebar {
        width: 100%;
        max-width: 290px;
        margin: 0 auto;
    }

    .content__wrapper {
        flex-direction: column-reverse;
        gap: 0;
    }

    .content-main {
        width: 100%;
    }

    .autor__box {
        max-width: 650px;
        justify-content: center;
        margin: 0 auto;
    }

    .autor__box-inner {
        min-height: 245px;
    }

    .breadcrumbs {
        max-width: 650px;
        margin: 50px auto;
        margin-bottom: 0;
    }

    .article {
        margin: 16px auto;
        margin-bottom: 0;
    }

}

@media(max-width: 775px) {

    .banner__callback {
        bottom: -18px;
        left: 5px;
    }

    .modal-banner {
        max-width: 370px;
        top: calc(50% + 40px);
    }

    .modal-banner__close {
        display: block;
        width: 30px;
        height: 30px;
        top: 13px;
        right: 13px;
    }

}

@media(max-width: 430px) {

    h1 {
        font-size: 22px;
        margin-top: 30px;
    }

    .btn {
        padding: 15px 40px 15px 40px;
    }

    .article__subtitle {
        font-size: 20px;
        margin: 30px 0 20px 0;
    }

    .sidebar {
        max-width: 100%;
    }

    .sidebar__more-articles {
        margin-top: 50px;
    }

    /* audio {
        margin: 30px 0 30px 0;
    } */

    .banner__tel {
        max-width: 93px;
        height: 36px;
        font-size: 12px;
        padding: 8px 15px;
    }

    .mobileHidden {
        display: none;
        visibility: hidden;
    }

    .article__content table tbody {
        overflow-x: scroll;
    }

    .autor__box {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: unset !important;
        gap: 0px !important;
        padding: 10px 10px 20px 10px !important;
    }

    .autor__box-inner {
        width: 100% !important;
        max-width: 100% !important;
        height: 112px !important;
        min-height: unset !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        font-size: 14px !important;
        gap: 10px !important;
        justify-content: flex-start !important;
        font-weight: 400 !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
        margin-bottom: 0 !important;
    }

    .autor__box-right {
        text-align: start !important;
        margin-top: 0 !important;
    }

    .autor__box-right div {
        margin-bottom: 0;
    }

    .autor_box-tel {
        margin-top: 10px !important;
    }

    .autor__box-img {
        width: 90px !important;
        height: 90px !important;
        border-radius: 5px !important;
    }

    .autor__box-name {
        margin-top: 0 !important;
    }

    .map {
        margin-bottom: 65px;
    }

    .modal-banner__close {
        top: 15px;
        right: 15px;
    }

    .modal-banner__close svg {
        width: 30px;
        height: 30px;
    }

    .modal-banner__btn {
        width: 85%;
    }

    .modal-banner__text {
        margin-top: 15px;
    }

}

@media (hover: none) and (pointer: coarse) {
    .modal-banner__socials a:hover {
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
    }
}