.home-page .home-main-banner {
    margin-bottom: 0;
    background: #1f272b;
}

.home-page .home-main-banner #bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.home-page .home-main-banner .video-overlay {
    position: relative;
    padding: 270px 0 90px;
    background: linear-gradient(110deg, rgba(18, 29, 34, 0.94), rgba(18, 29, 34, 0.72));
}

.home-page .home-main-banner .caption {
    position: static;
    width: 100%;
    max-width: 540px;
    margin: 0;
    transform: none;
    text-align: left;
}

.home-page .home-main-banner .caption h1 {
    width: 100%;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-align-last: auto;
    word-spacing: normal;
    letter-spacing: normal;
}

.home-page .home-main-banner .caption p {
    width: 100%;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
    text-align-last: auto;
    word-spacing: normal;
    letter-spacing: normal;
}

.home-page .home-main-banner .caption .main-button-red {
    margin-top: 0;
}

.home-page .home-main-banner .caption .main-button-red a {
    padding: 13px 22px;
    font-size: 14px;
}

.home-page .home-main-banner .caption .home-working-since {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.home-page .home-training-center {
    padding: 30px 0 30px 30px;
    border-left: 2px solid #b88c46;
}

.home-page .home-small-label {
    display: block;
    margin-bottom: 18px;
    color: #e5e8e9;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.home-page .home-training-center h2 {
    color: #f3c45f;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    text-align: left;
    text-align-last: auto;
    word-spacing: normal;
    letter-spacing: normal;
}

.home-page .home-first-stage {
    padding: 65px 0;
    background-color: #1f272b;
    background-image: url('/assets/images/bg/meetings-bg.jpg');
    background-position: center center;
    background-attachment: fixed;
    background-repeat: repeat;
    background-size: cover;
}

.home-page .home-section-heading {
    color: #a12c2f;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.4;
}

.home-page .home-first-heading {
    max-width: 850px;
    margin: 0 0 22px auto;
}

.home-page .home-section-intro {
    margin-bottom: 30px;
    color: #35444a;
    font-size: 17px;
    line-height: 1.8;
}

.home-page .home-access-panel {
    padding: 24px 28px;
    border: 1px solid rgba(181, 203, 215, 0.28);
    border-left: 3px solid #b88c46;
    border-radius: 0 10px 10px 0;
    background: rgba(27, 45, 56, 0.94);
    color: #edf1f3;
}

.home-page .home-access-panel h3 {
    margin-bottom: 18px;
    color: #f3c45f;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.home-page .home-access-panel dt,
.home-page .home-access-panel dd {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.6;
}

.home-page .home-access-panel dd {
    font-weight: 700;
    overflow-wrap: break-word;
}

.home-page .home-access-panel a {
    color: #f3c45f;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.home-page .home-first-description p {
    color: #35444a;
    font-size: 15px;
    line-height: 1.85;
}

.home-page .home-arsenal-photo {
    margin: 0;
    padding-left: 10px;
}

.home-page .home-arsenal-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.home-page .home-arsenal-photo figcaption {
    padding-top: 12px;
    color: #67777d;
    font-size: 12px;
    line-height: 1.6;
}

.home-page .home-diploma-programs {
    padding: 65px 0 0;
    background-color: #1f272b;
    background-image: linear-gradient(rgba(17, 27, 32, 0.46), rgba(17, 27, 32, 0.46)), url('/assets/images/bg/background_work.png');
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-page .home-program-price {
    color: #a12c2f;
    white-space: nowrap;
}

.home-page .home-diploma-card {
    margin-top: 24px;
    padding: 30px;
    border: 1px solid rgba(214, 223, 228, 0.24);
    border-left: 3px solid #b88c46;
    border-radius: 12px;
    background: rgba(26, 40, 47, 0.93);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}


.home-page .home-program-title {
    color: #f4f6f7;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.home-page .home-diploma-card p {
    color: #e1e8ec;
    font-size: 16px;
    line-height: 1.85;
}

.home-page .home-diploma-link {
    display: block;
    padding-left: 10px;
    text-align: center;
}

.home-page .home-diploma-link img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e5e9e0;
    border-radius: 4px;
    transition: box-shadow 0.2s;
}

.home-page .home-diploma-link>span {
    display: block;
    margin-top: 10px;
    color: #f3c45f;
    font-size: 12px;
    line-height: 1.6;
}

.home-page .home-diploma-link:hover img {
    box-shadow: 0 5px 18px rgba(31, 39, 43, 0.15);
}

.home-page .home-register-note {
    color: #617178;
    font-size: 16px;
    line-height: 1.8;
}

.home-page .home-application {
    margin-top: 35px;
    padding: 30px 20px;
    border-top: 1px solid #e5ded3;
}

.home-page .home-application p,
.home-page .home-application a {
    color: #a12c2f;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.home-page .home-application a {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.home-page .services.home-useful-links {
    position: relative;
    margin-top: 0;
    padding: 55px 0 65px;
    background: transparent;
}

.home-page .home-useful-links .home-links-heading {
    margin-bottom: 28px;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
}

.home-page .home-useful-links .item,
.home-page #webinars .item {
    background-color: #a12c2f;
    background-image: url('/assets/images/bg/service-item-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.home-page section.upcoming-meetings {
    padding-top: 80px;
}

.home-page .home-first-stage a:focus-visible,
.home-page .home-diploma-programs a:focus-visible {
    outline: 3px solid #b88c46;
    outline-offset: 5px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .home-page .home-main-banner .caption h1 {
        font-size: 39px;
    }
}

@media (max-width: 991.98px) {
    .home-page .home-main-banner .video-overlay {
        padding-top: 190px;
        padding-bottom: 55px;
    }

    .home-page .home-training-center {
        padding: 0 0 0 24px;
    }

    .home-page .home-training-center h2 {
        font-size: 22px;
    }

    .home-page .home-arsenal-photo,
    .home-page .home-diploma-link {
        padding-left: 0;
    }

    .home-page .home-diploma-link {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .home-page .home-main-banner .video-overlay {
        padding-top: 180px;
        padding-bottom: 40px;
    }

    .home-page .home-main-banner .caption h1 {
        font-size: 28px;
    }

    .home-page .home-main-banner .caption p {
        font-size: 14px;
    }

    .home-page .home-main-banner .caption .home-working-since {
        font-size: 13px;
    }

    .home-page .home-training-center h2 {
        font-size: 19px;
    }

    .home-page .home-first-stage,
    .home-page .home-diploma-programs {
        padding-top: 40px;
    }

    .home-page .home-first-stage {
        padding-bottom: 40px;
    }

    .home-page .home-section-heading {
        font-size: 23px;
    }

    .home-page .home-section-intro {
        font-size: 15px;
    }

    .home-page .home-access-panel {
        padding: 20px;
    }

    .home-page .home-access-panel dt {
        margin-bottom: 0;
    }

    .home-page .home-access-panel dd {
        margin-bottom: 13px;
    }

    .home-page .home-diploma-card {
        padding: 22px 18px;
    }

    .home-page .home-program-title {
        font-size: 16px;
    }

    .home-page .home-application {
        padding-right: 0;
        padding-left: 0;
    }

    .home-page .home-application p,
    .home-page .home-application a {
        font-size: 16px;
    }
}

.home-page .home-main-banner,
.home-page .home-first-stage,
.home-page .home-diploma-programs {
    text-align: left;
    text-align-last: auto;
    word-spacing: normal;
    letter-spacing: normal;
}

.home-page .home-section-heading,
.home-page .home-program-title,
.home-page .home-training-center h2 {
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.home-page .home-first-description p,
.home-page .home-diploma-card p,
.home-page .home-section-intro,
.home-page .home-register-note,
.home-page .home-main-banner .caption p {
    text-wrap: pretty;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.home-page .home-offer-intro {
    max-width: 1040px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-page .home-offer-line {
    display: block;
    text-wrap: balance;
}

.home-page .home-courses-background {
    background: none;
}



.home-page .home-diploma-modal .modal-dialog {
    width: calc(100% - 30px);
    max-width: 1150px;
    margin-right: auto;
    margin-left: auto;
}

.home-page .home-diploma-modal .modal-content {
    overflow: hidden;
    border: none;
    border-radius: 12px;
    background: #f5f2ed;
}

.home-page .home-diploma-modal .modal-header {
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e1dbd0;
    background: #fff;
}

.home-page .home-diploma-modal .modal-title {
    padding-right: 20px;
    color: #24363e;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.home-page .home-modal-close,
.home-page .home-modal-return {
    flex-shrink: 0;
    padding: 10px 16px;
    border: 1px solid #a12c2f;
    border-radius: 6px;
    background: #a12c2f;
    color: #fff;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.home-page .home-modal-close span {
    margin-left: 8px;
    font-size: 20px;
    line-height: 1;
}

.home-page .home-modal-close:hover,
.home-page .home-modal-return:hover {
    background: #852326;
}

.home-page .home-diploma-modal .modal-body {
    padding: 15px;
    text-align: center;
}

.home-page .home-diploma-modal .modal-body img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.home-page .home-diploma-modal .modal-footer {
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid #e1dbd0;
    background: #fff;
}

.home-page .home-diploma-modal .modal-footer p {
    color: #617178;
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
}

.home-page .home-modal-close:focus-visible,
.home-page .home-modal-return:focus-visible {
    outline: 3px solid #b88c46;
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .home-page .home-courses-background {
        background-attachment: scroll;
    }

    .home-page .home-diploma-modal .modal-header {
        align-items: flex-start;
        padding: 12px;
    }

    .home-page .home-diploma-modal .modal-title {
        font-size: 12px;
        padding-right: 12px;
    }

    .home-page .home-modal-close {
        padding: 7px 10px;
        font-size: 12px;
    }

    .home-page .home-diploma-modal .modal-footer {
        display: block;
        padding: 12px;
    }

    .home-page .home-diploma-modal .modal-footer p {
        margin: 0 0 12px;
    }

    .home-page .home-diploma-modal .modal-body {
        padding: 8px;
    }
}

.home-page .home-first-stage .home-first-heading {
    width: 100%;
    max-width: 850px;
    margin-right: 0;
    margin-left: auto;
    text-align: right !important;
    text-align-last: right;
}

.home-page section.contact-us iframe.home-contact-map {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

.home-page .home-diploma-programs .home-register-column {
    margin-left: auto;
    margin-right: 0;
}

.home-page .home-diploma-programs .home-register-note {
    margin-right: 0;
    text-align: right !important;
    text-align-last: right;
    text-wrap: pretty;
}

/* Нижняя карусель вебинаров */
.home-page #webinars .owl-stage {
    display: flex;
}

.home-page #webinars .owl-item {
    display: flex;
}

.home-page #webinars .item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.home-page #webinars .down-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-page #webinars .item h4 {
    font-size: 16px;
    line-height: 1.3;
    height: auto;
    min-height: 10em;
    margin: 15px 0;
    text-align: center;
}

.home-page #webinars .main-button-brown {
    margin-top: auto;
}

/* Читаемость двух секций после замены светлых фонов на тёмные. */
.home-page .home-first-stage .home-section-heading,
.home-page .home-diploma-programs .home-section-heading {
    color: #f3c45f;
}

.home-page .home-first-stage .home-section-intro,
.home-page .home-first-stage .home-first-description p,
.home-page .home-diploma-programs .home-section-intro {
    color: #edf1f3;
}

.home-page .home-first-stage .home-arsenal-photo figcaption {
    color: #d2dce1;
}

.home-page .home-diploma-programs .home-program-price {
    color: #f3c45f;
}

.home-page .home-diploma-programs .home-register-note {
    color: #e0e8eb;
}

.home-page .home-diploma-programs .home-application {
    border-top-color: rgba(243, 196, 95, 0.35);
    border-radius: 12px 12px 0 0;
    background-color: rgba(15, 24, 29, 0.45);
}

.home-page .home-diploma-programs .home-application p {
    color: #edf1f3;
}

.home-page .home-diploma-programs .home-application a {
    color: #f3c45f;
}

.home-page .home-diploma-programs .home-application a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {

    .home-page .home-first-stage,
    .home-page .home-diploma-programs {
        background-attachment: scroll;
    }
}

/* Ссылки в тёмных плашках: видимое наведение и фокус с клавиатуры. */
.home-page .home-access-panel a:hover,
.home-page .home-diploma-link:hover>span {
    color: #fff;
}

.home-page .home-diploma-link:focus-visible,
.home-page .home-access-panel a:focus-visible {
    outline: 3px solid #f3c45f;
    outline-offset: 5px;
}

/* Восстановление исходных фонов существующих разделов. */
.home-page .services.home-useful-links,
.home-page section.upcoming-meetings,
.home-page section.news,
.home-page section.contact-us {
    background-color: #1f272b;
    background-image: url('/assets/images/bg/meetings-bg.jpg');
    background-position: center center;
    background-attachment: fixed;
    background-repeat: repeat;
    background-size: cover;
}

.home-page section.our-courses {
    background-color: #1f272b;
    background-image: url('/assets/images/bg/apply-bg.jpg');
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-page section.our-facts {
    background-color: #1f272b;
    background-image: url('/assets/images/bg/facts-bg.jpg');
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-page .home-useful-links .item h4 {
    color: #fff;
}

.home-page .home-useful-links .main-button-brown a {
    color: #fff;
    background-color: #b88c46;
}

@media (max-width: 991.98px) {

    .home-page .services.home-useful-links,
    .home-page section.upcoming-meetings,
    .home-page section.news,
    .home-page section.contact-us,
    .home-page section.our-courses,
    .home-page section.our-facts {
        background-attachment: scroll;
    }
}

/* Фон подвала — тот же исходный рисунок, без изменения его разметки и цветов. */
.home-page footer {
    background-color: #1f272b;
    background-image: url('/assets/images/bg/meetings-bg.jpg');
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991.98px) {
    .home-page footer {
        background-attachment: scroll;
    }
}