

/* Start:/local/templates/empty/template_styles.css?178575397412512*/
/* Сброс базовых отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*font-size: 18px; */
}

body {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    color: #000;
    background: #fff;
    min-height: 100vh;
    font-size: 16px;
}

p {
    margin-bottom: 20px;
}

#work-area {
    height: 100% !important;
}

/* Контейнер с ограничением ширины */
.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Планшеты */
@media (max-width: 992px) {
    .content-wrapper {
        padding: 0 15px;
    }
}

/* Телефоны */
@media (max-width: 576px) {
    .content-wrapper {
        padding: 0 10px;
    }
}

.container {
    width: 100%;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

/* ✅ Flex-элемент №2 — текст */
.flex-container .item.text {
    flex: 1 1 50%; /* растёт, сжимается, базовая ширина 300px */
    min-width: 0;    /* ← КРИТИЧНО: разрешаем сжиматься до нуля */
    text-align: justify;
    padding-bottom: 10px;
}

/* Планшеты */
@media (max-width: 768px) {
    .html {
        font-size: 16px;
    }
       
    .flex-container {
        flex-direction: column;
        gap: 30px;
    }

    .flex-container .item.logo,
    .flex-container .item.text {
        width: 100%;
        min-width: 0;
        flex-basis: auto;
    }

    .flex-container .item.logo a {        
        max-width: 400px;
    }
}

/* Мобильные: принудительная колонка */
@media (max-width: 480px) {    
    .flex-container {
        gap: 20px;
    }
    
    .flex-container .item.logo,
    .flex-container .item.text {
        width: 100%;
        min-width: 0;
        flex-basis: auto;
    }
    
    .flex-container .item.logo a svg {
        max-width: 100%;
        margin: 0 auto; /* центрируем логотип */
    }
}

/* Утилитарные классы */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

button {
    color: #fff;
    background-color: #E21A1A;
    border: none;
    padding: 10px;
    min-width: 120px;
    margin-bottom: 10px;
}

.component-container {
    margin-top: 30px;
}

.courses {
    margin-top: 30px;
}

.courses .course-item {
    margin: 20px 0px;
    border-bottom: 1px solid #EAEDEF;
    padding-bottom: 10px;
}

.courses .course-item img {
    max-width: 200px;
    max-height: 150px;
}

.courses .name {
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1;
    margin: 0;
    margin-bottom: 10px;
}

.courses .text {
    background-color: #fff;
    color: #000;
    font-weight: 400;
    margin-bottom: 10px;
}

.courses .flex-container {
    gap: 20px;
}

.courses .flex-container .item {
   flex: 1;
   min-width: 0;
}

.courses .flex-container .item.img {
   flex-shrink: 0;
   flex: none;
   min-width: 0;
}

.site-header {
    background-color: #023ed0;

    background-image: url(/bitrix/templates/learning_dark_copy/images/bg.svg);
    background-position: center center;
    background-repeat: repeat;
    background-size: contain;
}

.site-header .top-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.site-footer {
    padding-top: 50px;
    padding-bottom: 30px;
    background-color: #023ed0;
    background-image: url(/bitrix/templates/learning_dark_copy/images/bg.svg);
    background-position: center center;
    background-repeat: repeat;
    background-size: contain;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    /*background-color: #f0f0f0;*/
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.footer-social__icon {
    width: 36px;
    height: 36px;
}


@media (max-width: 480px) {
    .footer-social__links {
        gap: 10px;
    }
    .footer-social__link {
        width: 32px;
        height: 32px;
    }
    .footer-social__icon {
        width: 32px;
        height: 32px;
    }
}

.site-header .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

a {
    text-decoration: none;
}

.site-header {
    color:#fff;
}

.site-header i {
    margin-right: 5px;
}

.site-header .top-section {
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #456dd1;
    padding-bottom: 13px;
    padding-top: 12px;
    min-height: 50px;
}

a.logo {
    width: 200px;
    max-width: 20%;
    display: inline-block;
}

a.logo img {
    width: 100%;
    height: auto;
}

.site-header .bottom-section {
    padding-top: 22px;
    padding-bottom: 22px;
}

.site-header .right-content {
    display: flex;
    justify-content: end;
    align-items: center;
    flex: 0 0 80%;
    max-width: 80%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-left: 15px;
}

/* ===== Планшеты (≤ 992px) ===== */
@media (max-width: 992px) {
    a.logo {
        max-width: 30%;
        width: 180px;
    }

    .site-header .right-content {
        flex: 0 0 70%;
        max-width: 70%;
    }
}

/* ===== Телефоны (≤ 576px) ===== */
@media (max-width: 576px) {
    a.logo {
        max-width: 40%;
        width: 150px;
    }

    .site-header .right-content {
        flex: 0 0 60%;
        max-width: 60%;
        padding-left: 10px;
    }
}

.d-flex {
    display: flex;
} 

.align-items-center {
    align-items: center;
}

.justify-content-end {
    justify-items: end;
}

.site-header ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.site-header li {
    list-style: none;
    margin: 0;
    padding-left: 0;

    padding: 0;
    padding-bottom: 14px;
    padding-top: 14;

    font-size: 17px;

    display: inline-block;
    position: relative;
    padding: 0 20px;
    font-weight: 500;
}

.bottom-section li:last-child
{
    padding-right: unset;
}

a {
    color: unset;
}

.button-blue {
    font-family: 'Montserrat';
    transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
    font-size: 16px;
    font-weight: 500;
    background-color: #0070E8;
    color:#fff;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #0070E8;
    border-radius: 35px 35px 35px 35px;
    padding: 12px 22px 12px 22px;
}

.button-blue:hover {
    fill: #0070E8;
    color: #0070E8;
    background-color: #F3F9FF;
}

.button-light-blue {
    transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
    font-size: 16px;
    font-weight: 500;
    fill: #0070E8;
    color: #0070E8;
    background-color: #F3F9FF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 35px 35px 35px 35px;
    padding: 12px 22px 12px 22px;
}

.main h3 {
    font-size: 28px;
    font-weight: 600;
}

.card-img {
    width: 34%;
}

@media (max-width: 767px) {  
    .card-img {
        width: 80%;
    } 
}

.card-img img {
    height: auto;
    max-width: 100%;
}

/* Основной контейнер на всю ширину */
.full-width-section {
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем содержимое по горизонтали */
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}


/* Заголовок сверху */
.section-title {
    text-align: center;
    margin-bottom: 40px; /* Отступ до карточек */
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

/* Контейнер для карточек */
.cards-container {
    display: flex;
    justify-content: center; /* Центрируем группу карточек */
    gap: 20px; /* Расстояние между карточками */
    width: 100%;
    max-width: 1200px; /* Ограничиваем максимальную ширину контента */
    flex-wrap: wrap; /* Позволяет перенос, если нужно, но мы переопределим это ниже */
}

.card {
    margin: 15px auto;
    padding: 30px 27px 23px 19px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 1px 4px 0px #E3EBFC;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    min-width: 250px;
}

/* Планшеты */
@media (max-width: 992px) {
    .card {
        margin: 12px 20px;
        padding: 24px 20px 20px 16px;
    }
}

/* Большие телефоны */
@media (max-width: 768px) {
    .card {
        min-width: 150px;
        margin: 10px 15px;
        padding: 20px 15px;
        border-radius: 12px;
    }
}

/* Телефоны */
@media (max-width: 480px) {
    .card {
        min-width: 150px;
        margin: 8px 10px;
        padding: 16px 12px;
        border-radius: 10px;
    }
}

/* Большая цифра сверху */
.card-number {
    font-size: 36px;
    font-weight: 600;
    color: #0070E8;
    line-height: 1;
    margin-bottom: 12px;
}

/* Подпись под цифрой */
.card-label {
    font-weight: 600;
    color: #191919;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card-number {
        font-size: 3rem;
    }
}
/*
h3 {
    font-size: 28px;
    font-weight: 600;
}*/

.light-blue {
    background-color: #F3F9FF;
}

.p55 {
    padding-top: 55px;
    padding-bottom: 55px;
}

.p30 {
    padding-top: 30px;
    padding-bottom: 30px;
}


.background-overlay {
    background-image: url(/bitrix/templates/learning_dark_copy/images/bg.svg);
    background-position: center center;
    background-repeat: repeat;
    background-size: contain;
    opacity: 0.17;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}


/* Полупрозрачная картинка через псевдоэлемент */
.full-width-section.bg-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    background-image: url(/bitrix/templates/learning_dark_copy/images/bg.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: repeat;
    
    opacity: 0.17; /* Прозрачность от 0 до 1 (0.5 = 50%) */
    z-index: 1;
}

.full-width-section .content-wrapper {
    position: relative;
    z-index: 2;
}

/* Контейнер для колонок */
.footer-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* Каждая колонка */
.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.2rem;
}

.footer-column p,
.footer-column a {
    color: #fff;
    line-height: 1.6;
    text-decoration: none;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    list-style: none;
}

.site-footer a.logo {
    max-width: 300px;
}

.courses .course-item:last-child {
    border-bottom: unset;
}       

h1 {
    font-weight: 700;
}
/* End */
/* /local/templates/empty/template_styles.css?178575397412512 */
