.bosc-cfg-page {
    --bosc-blue: #012c56;
    --bosc-text: #111111;
    --bosc-gray: #cfcfcf;

    background: #ffffff;
    color: var(--bosc-text);
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.bosc-cfg-page * {
    box-sizing: border-box;
}

.bosc-cfg-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px 68px 90px;
    position: relative;
}

.bosc-cfg-title {
    margin: 0 0 78px;
    color: var(--bosc-blue);
    font-size: 27px!important;
    line-height: 1.1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .01em;
}

/* Верхний блок */

.bosc-cfg-hero {
    display: grid;
    grid-template-columns: minmax(0, 680px) 290px;
    gap: 72px;
    align-items: start;
    margin-bottom: 70px;
}

.bosc-cfg-hero__image img {
    display: block;
    width: 100%;
    height: auto;
}

.bosc-cfg-card {
    padding-top: 42px;
    color: var(--bosc-blue);
}

.bosc-cfg-card__article {
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.35;
    color: var(--bosc-blue);
}

.bosc-cfg-card p {
    color: black;
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.22;
    letter-spacing: .03em;
}

.bosc-cfg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: var(--bosc-blue);
    color: #ffffff !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .04em;
}

/* Серый блок */

.bosc-cfg-info {
    position: relative;
    margin-bottom: 110px;
}

.bosc-cfg-info__box {
    position: relative;
    z-index: 2;
    width: 100%;
    background: var(--bosc-gray);
    padding: 45px 62px 38px;
    display: flex;
    align-items: stretch;
    gap: 42px;
}

.bosc-cfg-tabs {
    display: flex;
    align-items: center;
    gap: 54px;
    margin-bottom: 54px;
}

.bosc-cfg-tabs a {
    color: #111111;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: .02em;
}

.bosc-cfg-tabs a.active {
    font-weight: 500;
}

.bosc-cfg-text {
    color: black;
    max-width: 600px;
    flex: 0 0 600px;
}

.bosc-cfg-text p {
    color: black;
    margin: 0px;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: .025em;
}

.bosc-cfg-text strong {
    font-weight: 800;
}

.bosc-cfg-info__decor {
    flex: 1 1 auto;
    min-width: 0;
    pointer-events: none;
}

.bosc-cfg-info__decor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Обучающий курс */

.bosc-cfg-course h2 {
    margin: 0 0 40px;
    color: var(--bosc-blue);
    font-size: 27px;
    line-height: 1.12;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.bosc-cfg-download {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    min-width: 335px;
    height: 76px;
    padding: 0 22px;
    margin-bottom: 48px;
    background: var(--bosc-blue);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
}

.bosc-cfg-download__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
}


.bosc-cfg-download__icon img {
   width: 54px;
}
.bosc-cfg-lessons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 22px;
}

.bosc-cfg-lesson {
    min-height: 190px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .12);
    padding: 24px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bosc-cfg-lesson strong {
    display: block;
    margin-bottom: 4px;
    color: var(--bosc-blue);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}

.bosc-cfg-lesson span {
    display: block;
    color: #111111;
    font-size: 15px;
    line-height: 1.15;
}

.bosc-cfg-lesson img {
    display: block;
    align-self: flex-end;
    max-width: 132px;
    max-height: 76px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Адаптив */

@media (max-width: 1199px) {
    .bosc-cfg-wrap {
        padding-left: 44px;
        padding-right: 44px;
    }

    .bosc-cfg-hero {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 44px;
    }

    .bosc-cfg-info__box {
        width: 100%;
        gap: 34px;
    }

    .bosc-cfg-text {
        flex-basis: 560px;
    }
}

@media (max-width: 991px) {
    .bosc-cfg-wrap {
        padding: 44px 28px 70px;
    }

    .bosc-cfg-title {
        margin-bottom: 40px;
        font-size: 26px;
    }

    .bosc-cfg-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 50px;
    }

    .bosc-cfg-card {
        padding-top: 0;
        max-width: 420px;
    }

    .bosc-cfg-card p br {
        display: none;
    }

    .bosc-cfg-btn {
        min-width: 260px;
    }

    .bosc-cfg-info {
        margin-bottom: 90px;
    }

    .bosc-cfg-info__box {
        width: 100%;
        padding: 38px 34px;
        display: block;
    }

    .bosc-cfg-text {
        max-width: none;
        flex: none;
    }

    .bosc-cfg-info__decor {
        display: none;
    }

    .bosc-cfg-tabs {
        gap: 28px;
        margin-bottom: 34px;
        flex-wrap: wrap;
    }

    .bosc-cfg-lessons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bosc-cfg-wrap {
        padding: 34px 18px 54px;
    }

    .bosc-cfg-title {
        font-size: 22px;
        letter-spacing: .04em;
    }

    .bosc-cfg-card__article {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .bosc-cfg-card p {
        font-size: 16px;
    }

    .bosc-cfg-btn {
        width: 100%;
        min-width: 0;
        min-height: 54px;
        font-size: 14px;
    }

    .bosc-cfg-info__box {
        padding: 28px 22px;
    }

    .bosc-cfg-tabs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bosc-cfg-tabs a {
        font-size: 14px;
    }

    .bosc-cfg-text p {
        font-size: 15px;
        line-height: 1.35;
    }

    .bosc-cfg-course h2 {
        font-size: 23px;
    }

    .bosc-cfg-download {
        width: 100%;
        min-width: 0;
        height: 64px;
        font-size: 15px;
    }

    .bosc-cfg-download__icon {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .bosc-cfg-lessons {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bosc-cfg-lesson {
        min-height: 150px;
    }
}
.bosc-cfg-gallery .img_wrapper {
    width: 100%;
}

.bosc-cfg-gallery .item_slider {
    width: 100%;
}

.bosc-cfg-gallery .slides {
    width: 100%;
    margin-bottom: 26px;
}

.bosc-cfg-gallery .slides ul,
.bosc-cfg-gallery .slides li,
.bosc-cfg-gallery .slides_block {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bosc-cfg-gallery .slides li {
    width: 100%;
}

.bosc-cfg-gallery .slides a {
    display: block;
}

.bosc-cfg-gallery .slides img {
    display: block;
    width: 100%;
    height: auto;
}

.bosc-cfg-gallery .wrapp_thumbs {
    display: flex;
    justify-content: center;
    width: 100%;
}

.bosc-cfg-gallery .thumbs {
    max-width: 360px;
    width: 100%;
}

.bosc-cfg-gallery .slides_block {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.bosc-cfg-gallery .slides_block li {
    width: 120px;
    height: 58px;
    cursor: pointer;
    opacity: .55;
    transition: opacity .2s ease, transform .2s ease;
}

.bosc-cfg-gallery .slides_block li.current {
    opacity: 1;
}

.bosc-cfg-gallery .slides_block li:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.bosc-cfg-gallery .slides_block span {
    display: block;
    width: 100%;
    height: 100%;
}

.bosc-cfg-gallery .slides_block img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item_slider .thumbs li{
    display: block!important;
}
@media (max-width: 640px) {
    .bosc-cfg-gallery .slides {
        margin-bottom: 18px;
    }

    .bosc-cfg-gallery .slides_block {
        gap: 10px;
    }

    .bosc-cfg-gallery .slides_block li {
        width: 88px;
        height: 46px;
    }
}

.bosc-cfg-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bosc-cfg-modal.is-active {
    display: flex;
}

.bosc-cfg-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.bosc-cfg-modal__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.bosc-cfg-modal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    color: #001f5b;
}

.bosc-cfg-modal__title {
    margin: 0 0 24px;
    color: #001f5b;
    font-size: 26px;
    font-weight: 700;
}

.bosc-cfg-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bosc-cfg-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #001f5b;
    font-size: 14px;
    font-weight: 600;
}

.bosc-cfg-form__field input,
.bosc-cfg-form__field textarea {
    width: 100%;
    border: 1px solid #d6dce8;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.bosc-cfg-form__field input:focus,
.bosc-cfg-form__field textarea:focus {
    border-color: #001f5b;
}

.bosc-cfg-form__submit {
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    padding: 14px 20px;
    background: #001f5b;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.bosc-cfg-form__submit:hover {
    opacity: 0.9;
}

body.bosc-cfg-modal-open {
    overflow: hidden;
}
.bosc-cfg-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bosc-cfg-modal.is-active {
    display: flex;
}

.bosc-cfg-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.bosc-cfg-modal__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.bosc-cfg-modal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    color: #001f5b;
}

.bosc-cfg-modal__title {
    margin: 0 0 24px;
    color: #001f5b;
    font-size: 26px;
    font-weight: 700;
}

.bosc-cfg-modal__form input[type="text"],
.bosc-cfg-modal__form input[type="email"],
.bosc-cfg-modal__form input[type="tel"],
.bosc-cfg-modal__form textarea,
.bosc-cfg-modal__form select {
    width: 100%;
    box-sizing: border-box;
}

body.bosc-cfg-modal-open {
    overflow: hidden;
}
.bosc-cfg-list {
    margin: 0px;
    margin-top: 7px;
    padding: 0;
    list-style: none;
}

.bosc-cfg-list li {
    font-size: 15px;
    position: relative;
    padding-left: 10px;
    margin-bottom: 3px;
}

.bosc-cfg-list li::before {
    color: black!important;
    font-size: 26px;
    content: "·";
    position: absolute;
    left: 0;
    top: 0;
}

.bosc-cfg-btn,
.bosc-cfg-download,
.bosc-cfg-tabs a,
.bosc-cfg-modal__close,
.bosc-cfg-form__submit {
    transition: opacity .2s ease, transform .2s ease;
}

.bosc-cfg-btn:hover,
.bosc-cfg-download:hover,
.bosc-cfg-tabs a:hover,
.bosc-cfg-modal__close:hover,
.bosc-cfg-form__submit:hover {
    opacity: .82;
}

