

/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/style.css?17745187621164*/
.trial-section {
    background-color: #f0f0f0;
    /* Путь к картинке. Если она в папке шаблона, путь нужно уточнить */
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/img/request_free_lesson_2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.benefit-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: #555;
    font-weight: bold;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/catalog.section.list/languages_menu/style.css?17744469373184*/
.lang-item-flex {
    flex: 0 0 calc(100% / 9 - 22px);
    min-width: 122px;
    position: relative;
}

.card.lang-card {
    border-radius: 12px !important;
    transition: all 0.2s ease;
}

@media (min-width: 992px) {
    .lang-item-flex:hover .lang-card {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    .sub-menu-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        width: 200px;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .lang-item-flex:hover .sub-menu-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 991px) {
    .lang-item-flex {
        flex: 0 0 calc(50% - 10px);
        min-width: 120px;
    }

    /* Прозрачная кнопка поверх всей карточки для открытия меню */
    .mobile-menu-trigger {
        position: absolute;
        inset: 0;
        z-index: 2;
        cursor: pointer;
    }

    .sub-menu-dropdown {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        max-width: 400px;
        background: #fff;
        z-index: 2000; /* Выше всего */
        border-radius: 15px !important;
    }

    .js-lang-item.is-active .sub-menu-dropdown {
        display: block;
    }
}

/* Затемнение фона */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 1500;
}

body.menu-open .menu-backdrop {
    display: block;
}

/* Стили элементов списка */
.dropdown-item {
    font-size: 14px;
    color: #333;
    white-space: normal;
}
.dropdown-item:active {
    background-color: #0d6efd;
}

@media (max-width: 1200px) { .lang-item-flex { flex: 0 0 calc(100% / 5 - 10px); } }
@media (max-width: 425px) { .lang-item-flex { min-width: 117px; } }
@media (max-width: 375px) { .lang-item-flex { min-width: 100px; } }
.animate-item {
    opacity: 0;
    transform: translateX(-15px);
    animation: slideInRight 0.4s ease forwards;
    /* Задержка рассчитывается на основе переменной --i из HTML */
    animation-delay: calc(var(--i) * 0.05s);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.min-height-40 {
    min-height: 48px;
    align-items: center;
    font-size: 15px;
    background-color: #f9f7f7;
    padding: 10px 15px;
    border-radius: 12px;
}

#dynamic-top-menu a:hover{
    color: #000 !important;
    text-shadow: 0 0 0.3px currentColor, 0 0 0.3px currentColor;
    transform: scale(1.01);
}

.card.lang-card.is-active {
    border-color: #d32f2f !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/catalog.section.list/course_cards/style.css?17728054605365*/
.programs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    /* Убираем жесткую фиксацию рядов, чтобы сетка адаптировалась под контент */
    grid-auto-rows: minmax(150px, auto);
}

/* 2. Базовая стилизация карточки */
.program-card {
    height: 100%;
    min-height: 340px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.03);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

/* 3. Геометрия сетки (Логика повторения каждых 6 блоков) */

/* Блок 0 (Дети) */
.item-0 {
    grid-column: span 3;
    grid-row: span 1;
}
.item-0 .program-card { background-color: #F2F5F9; }

/* Блок 1 (Взрослые - Высокий) */
.item-1 {
    grid-column: span 3;
    grid-row: span 2;
}
.item-1 .program-card { background-color: #F9F2F2; }

/* Блок 2 (Онлайн) */
.item-2 {
    grid-column: span 3;
    grid-row: span 1;
}
.item-2 .program-card { background-color: #F2F9F3; }

/* Блоки 3, 4, 5 (Маленькие нижние) */
.item-3, .item-4, .item-5 {
    grid-column: span 2;
}
.item-3 .program-card { background-color: #F5F2F9; }
.item-4 .program-card { background-color: #F9F7F2; }
.item-5 .program-card { background-color: #EDF2F6; }

/* Специфические настройки для маленьких блоков (убираем фото и лишнюю высоту) */
.item-3 .program-card,
.item-4 .program-card,
.item-5 .program-card {
    min-height: 240px; /* Делаем их компактнее */
}

.item-3 .card-img,
.item-4 .card-img,
.item-5 .card-img {
    /*display: none;*/
    width: 50%;
}

.item-3 .card-body,
.item-4 .card-body,
.item-5 .card-body {
    max-width: 80%;
}

/* 4. Внутренний контент */
.card-body {
    padding: 40px !important;
    position: relative;
    z-index: 2;
    max-width: 65%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px !important;
    color: #1a1a1a;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-price-wrapper {
    margin-top: auto;
    font-size: 1rem;
    color: #1a1a1a;
}

.card-price-wrapper strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.card-btn {
    margin-top: 20px;
    padding: 10px 24px;
    border: 1.5px solid #1a1a1a;
    border-radius: 50px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
    transition: all 0.3s ease;
    background: transparent;
}

.card-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/* 5. Изображения */
.card-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 80%;
    z-index: 1;
    pointer-events: none;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

/* Если элементов всего 2 или 3, мы НЕ даем item-1 растягиваться по высоте */
.programs-grid > .program-item:nth-child(1):nth-last-child(-n+3),
.programs-grid > .program-item:nth-child(1):nth-last-child(-n+3) ~ .program-item {
    grid-row: span 1 !important;
    grid-column: span 3 !important;
}

/* Если элементов много, но в последнем ряду осталось 1 или 2 элемента */
/* Правило для 1 элемента в конце: */
.programs-grid > .program-item:last-child:nth-child(3n+1):not(.item-1) {
    grid-column: span 6 !important; /* На всю ширину, если он один */
}

/* Правило для 2 элементов в конце: */
.programs-grid > .program-item:nth-last-child(2):nth-child(3n+1):not(.item-1),
.programs-grid > .program-item:last-child:nth-child(3n+2):not(.item-1) {
    grid-column: span 3 !important;
    grid-row: span 1 !important;
}

/* Специфический фикс для item-1, если он оказался последним или предпоследним */
.item-1:last-child,
.item-1:nth-last-child(2) {
    grid-row: span 1 !important;
    grid-column: span 3 !important;
}

/* 6. Адаптивность */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .item-0, .item-1, .item-2, .item-3, .item-4, .item-5 {
        grid-column: span 1;
        grid-row: auto;
    }
    .card-body {
        max-width: 100%;
    }
    .card-img {
        opacity: 0.3; /* Приглушаем фото на планшетах */
    }
}


@media (max-width: 600px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .card-title { font-size: 1.3rem; }
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/why_main_block/style.css?1768562619723*/
.why-us-block {

}

.why-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.why-icon i {
	font-size: 1.8rem;
	color: #dc3545;
	line-height: 1;
}

.why-icon .icon-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.why-item h5 {
	color: #333;
	font-weight: 400;
	line-height: 1.2;
}

.why-desc {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #6c757d;
}

.why-item:hover .why-icon i {
	animation: pulse 1s infinite;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }
}

@media (max-width: 768px) {
	.why-icon i {
		font-size: 1.5rem; /* Чуть меньше на планшетах */
	}
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block_photo/style.css?17685626201036*/
.trial-section-photo {
    background-color: #f0f0f0;
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block_photo/img/request_free_lesson_3.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 400px;
}

@media (max-width: 991px) {
    .trial-section-photo {
        background-position: center bottom !important;
        padding-bottom: 300px !important;
    }
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/school_in_numbers/style.css?1768562619855*/
.stats-block {
	background-color: #fff;
}
.js-counter {
	font-variant-numeric: tabular-nums;
}
.stat-card {
	background-color: #f9f9f9;
	border-radius: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	min-height: 200px;
}

.stat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-content{
	height: 100%;
}
.stat-number {
	font-size: 2.5rem;
	font-weight: bold;
	color: #333;
	line-height: 1;
}

.stat-desc {
	font-size: 1rem;
	line-height: 1.4;
	color: #555;
	max-width: 250px;
}

.stat-image {
	width: 40%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

.stat-image img {
	/*max-height: 160px;*/
	width: auto;
	object-fit: contain;
}

@media (max-width: 576px) {
	.stat-number {
		font-size: 2rem;
	}
	.stat-image {
		width: 50%;
	}
	.stat-desc {
		font-size: 0.9rem;
	}
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/guarantee_main_block/style.css?17685626191578*/
.guarantee-wrapper {
	background-color: #F9F9F9; /* Светло-серый фон */
	border-radius: 24px;
	overflow: hidden;
	position: relative;
}

.guarantee-title {
	font-weight: 700;
	font-size: 42px;
	line-height: 1.2;
	color: #333;
}

.guarantee-text {
	font-size: 18px;
	line-height: 1.6;
	max-width: 90%;
}

.doc-card {
	display: inline-flex;
	align-items: center;
	background: #FFFFFF;
	border-radius: 12px;
	padding: 20px 25px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
	text-decoration: none;
	color: #333;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	min-width: 200px;
	max-width: 250px;
}

.doc-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	color: #d10019;
}

.guarantee-image-wrapper {
	position: relative;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding: 2rem;
}

.guarantee-img {
	max-height: 500px;
	object-fit: contain;
	position: relative;
	z-index: 1;
}

.decor-star {
	position: absolute;
	color: #d10019;
	font-size: 24px;
	z-index: 0;
}

.star-1 { top: 10%; right: 10%; font-size: 30px; opacity: 0.6; }
.star-2 { bottom: 20%; left: 10%; font-size: 20px; opacity: 0.4; }

@media (max-width: 991px) {
	.guarantee-title {
		font-size: 32px;
	}

	.guarantee-text {
		font-size: 16px;
		max-width: 100%;
	}

	.guarantee-docs {
		flex-direction: column;
	}

	.doc-card {
		width: 100%;
		max-width: 100%;
		justify-content: center;
		text-align: center;
	}

	.guarantee-image-wrapper {
		padding-top: 0;
	}
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/shares/style.css?17691701221163*/
.align-items-stretch>div{
    min-height: 400px;
}

.promo-card-action {
    position: relative;
    overflow: hidden;
    height: 100%;

    display: flex;
    flex-direction: row;
    background-color: #f4f4f4;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

.promo-big {
    min-height: 260px;
    padding: 40px;
}

.promo-small {
    padding: 30px;
    min-height: 260px;
}

.promo-content {
    max-width: 80%;
    z-index: 2;
}
    .promo-content h3{
        font-weight: bold;
        font-size: 1.6rem;
        color: darkred;
    }
    .promo-content p{
        font-size: 18px;
    }

.promo-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: -40px;
    background: #e30000;
    color: #fff;
    padding: 6px 50px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 14px;
}
.promo-terms{
    font-size: 11px;
    color: #999;
}
.promo-popup {
    max-width: 600px !important;
}

/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/shares_popup/style.css?17685626191164*/
.trial-section {
    background-color: #f0f0f0;
    /* Путь к картинке. Если она в папке шаблона, путь нужно уточнить */
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/shares_popup/img/request_free_lesson_2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.benefit-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: #555;
    font-weight: bold;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/horizontal_cards/style.css?17685626191696*/
.promo-list-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.promo-wrapper {
	background-color: #f7f8fa;
	border-radius: 24px;
	padding: 30px;
	box-sizing: border-box;
	width: 100%;
}

.promo-card {
	display: flex !important;
	flex-direction: row !important;
	background-color: #ffffff !important;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
	width: 100%;
	box-sizing: border-box;
	align-items: stretch;
}

.promo-card__image-col {
	width: 30%;
	min-width: 30%;
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 16px;
	overflow: hidden;
}

.promo-card__img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 16px !important;
	filter: contrast(1.02);
}

.promo-card__content-col {
	width: 62%;
	padding: 30px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.promo-card__title {
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	font-size: 30px !important;
	line-height: 1.25 !important;
	font-weight: 700;
	color: #222;
	letter-spacing: -0.5px;
}

.promo-card__text {
	font-size: 16px !important;
	line-height: 1.7 !important;
	color: #666;
}

@media (max-width: 900px) {
	.promo-wrapper {
		padding: 15px;
		background-color: transparent;
	}

	.promo-card {
		flex-direction: column !important;
		padding: 10px;
	}

	.promo-card__image-col {
		width: 100%;
		min-width: 100%;
		height: 280px;
	}

	.promo-card__content-col {
		width: 100%;
		padding: 25px 15px;
		text-align: center;
	}

	.promo-card__title {
		font-size: 24px !important;
	}
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/mafia_main_block/style.css?1768562619724*/
.mafia-promo-block {
	background-color: #EFEFEF;
}

.btn-outline-danger {
	color: #dc3545;
	border-color: #dc3545;
}
.btn-outline-danger:hover {
	background-color: #dc3545;
	color: #fff;
}

.mafia-form-content input.form-control {
	padding: 15px 20px;
	border: 1px solid #dee2e6;
	font-size: 16px;
}

.mafia-form-content input.form-control::placeholder {
	color: #adb5bd;
}

.modal-content {
	background: #fff;
}
.mafia-decor-stars::before,
.mafia-decor-stars::after {
	content: "✦";
	position: absolute;
	color: #ffcccc;
	font-size: 2rem;
	opacity: 0.6;
}

.mafia-decor-stars::before {
	top: 10%;
	left: 5%;
	transform: rotate(15deg);
}

.mafia-decor-stars::after {
	bottom: 15%;
	right: 5%;
	transform: rotate(-15deg);
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/mafia_popup/style.css?1768562619992*/
.mafia-section {
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/mafia_popup/img/main_background.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 400px;
}

@media (max-width: 991px) {
    .mafia-section-photo {
        background-position: center bottom !important;
        padding-bottom: 300px !important;
    }
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/advantages/style.css?1768562619982*/
.advantages-block {

}
.advantage-card {
	background: #efefef;
	border-radius: 20px;
	padding: 1.5rem;
	transition: all 0.3s ease-in-out;
}
	.advantage-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
		background-color: #ffffff;
	}
	.advantage-card .advantage-icon img {
		transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	}
		.advantage-card:hover .advantage-icon img {
			transform: scale(1.15) rotate(-3deg);
		}
	.advantage-content h5 {
		transition: color 0.3s ease;
	}
	.advantage-card:hover .advantage-content h5 {
		color: #dc3545;
	}

.advantage-icon img {
	width: 48px;
	height: auto;
	object-fit: contain;
}

.advantage-content h5 {
	font-size: 1.1rem;
	color: #333;
	line-height: 1.2;
}

.advantage-content .text-muted {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #6c757d !important;
}

@media (max-width: 576px) {
	.advantage-icon img {
		width: 40px;
	}
	.advantage-content h5 {
		font-size: 1rem;
	}
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/style.css?17685626191164*/
.trial-section {
    background-color: #f0f0f0;
    /* Путь к картинке. Если она в папке шаблона, путь нужно уточнить */
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/img/request_free_lesson_2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.benefit-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: #555;
    font-weight: bold;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/teachers_main_block/style.css?17685626191517*/
.f-carousel {
	--f-carousel-spacing: 0;
}

.f-carousel__slide {
	width: 100%;
	padding: 10px !important;
	box-sizing: border-box;
	display: block;
}

.teacher-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
@media (min-width: 768px) {
	.f-carousel__slide {
		width: 50% !important;
	}
}

@media (min-width: 992px) {
	.f-carousel__slide {
		width: 33.3333% !important;
	}
}

@media (min-width: 1200px) {
	.f-carousel__slide {
		width: 25% !important;
	}
}

.teacher-card {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	padding: 30px 15px;
	text-align: center;
	height: 100%;
	transition: box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.teacher-card:hover {
	box-shadow: 0 0 20px rgba(0,0,0,0.08);
	border-color: transparent;
}

.photo-wrapper {
	position: relative;
	width: 230px;
	height: 230px;
	margin: 0 auto 20px auto;
}

.teacher-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.country-flag {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	height: 32px;
	border-radius: 7px;
	border: 2px solid #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	background: #fff;
	object-fit: cover;
	z-index: 2;
}

.teacher-name {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.teacher-role {
	font-size: 0.9rem;
	color: #6c757d;
	margin-bottom: 5px;
	line-height: 1.4;
}

.teacher-exp {
	font-size: 0.95rem;
	color: #333;
	margin-top: 10px;
}
/* End */


/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/modern/style.css?1665083302754*/
div.modern-page-navigation {
	padding: 0.5em 0;}
div.modern-page-navigation a,
span.modern-page-current,
span.modern-page-dots
{
	border-left-width: 1px;
	border-left-style: solid;
	padding-left: 0.75em;
	padding-right: 0.5em;
	text-decoration: none;
}
div.modern-page-navigation a.modern-page-previous {
	border-right-width: 1px;
	border-right-style: solid;
	border-left: none; }
div.modern-page-navigation a.modern-page-first,
div.modern-page-navigation span.modern-page-first {
	border-left: none;
	padding-left: 0.5em; }

span.modern-page-current {
	font-weight: var(--ui-font-weight-bold);
}
div.modern-page-navigation a,
span.modern-page-current,
div.modern-page-navigation a.modern-page-previous,
span.modern-page-dots {
	border-color: #cdcdcd; }

/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/reviews_main_block/style.css?17685626192458*/
.reviews-section {
	position: relative;
	overflow: hidden;
}

.reviews-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.reviews-swiper {
	padding-bottom: 40px;
}

.swiper-slide {
	height: auto;
	display: flex;
}

.review-card {
	width: 100%;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

.review-stars { margin-bottom: 15px; color: #e0e0e0; font-size: 18px; }
.review-stars .star.active { color: #ffc107; }

.review-text-wrap { flex-grow: 1; margin-bottom: 20px; }
.review-text {
	max-height: 95px;
	overflow: hidden;
	position: relative;
}
.review-card.expanded .review-text { max-height: none; }
.review-card.expanded .read-more-btn { display: none; }

.read-more-btn {
	display: block; margin-top: 8px; color: #888;
	cursor: pointer; font-size: 13px; border-bottom: 1px dashed #ccc; width: fit-content;
}

/* Автор */
.review-author {
	display: flex; align-items: center; border-top: 1px solid #f0f0f0; padding-top: 15px;
}
.author-avatar {
	width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-right: 12px;
}
.author-avatar.placeholder {
	background: #eee; width: 48px; height: 48px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-weight: bold; color: #555;
}
.author-name { font-weight: 600; font-size: 16px; }
.author-date { font-size: 13px; color: #999; margin-top: 4px; }

/* --- Стрелки навигации --- */
.swiper-nav-btns {
	display: flex;
	gap: 10px;
}
.swiper-button-next-unique,
.swiper-button-prev-unique {
	width: 40px;
	height: 40px;
	background-color: #f5f5f5;
	border-radius: 50%;
	position: relative;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
}
.swiper-button-next-unique:hover,
.swiper-button-prev-unique:hover {
	background-color: #e0e0e0;
}
/* Рисуем стрелочки через CSS (или вставь SVG) */
.swiper-button-next-unique::after,
.swiper-button-prev-unique::after {
	content: '';
	border: solid #333;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 4px;
}
.swiper-button-next-unique::after { transform: rotate(-45deg); margin-left: -2px;}
.swiper-button-prev-unique::after { transform: rotate(135deg); margin-right: -2px;}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/contacts/style.css?1768562619164*/
/* Принудительно включаем анимацию для слайдера */
.carousel-item {
    transition: transform 0.6s ease-in-out !important;
}
/* End */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/style.css?17745187621164 */
/* /local/templates/bigwig_wm/components/bitrix/catalog.section.list/languages_menu/style.css?17744469373184 */
/* /local/templates/bigwig_wm/components/bitrix/catalog.section.list/course_cards/style.css?17728054605365 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/why_main_block/style.css?1768562619723 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block_photo/style.css?17685626201036 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/school_in_numbers/style.css?1768562619855 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/guarantee_main_block/style.css?17685626191578 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/shares/style.css?17691701221163 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/shares_popup/style.css?17685626191164 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/horizontal_cards/style.css?17685626191696 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/mafia_main_block/style.css?1768562619724 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/mafia_popup/style.css?1768562619992 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/advantages/style.css?1768562619982 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/style.css?17685626191164 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/teachers_main_block/style.css?17685626191517 */
/* /bitrix/components/bitrix/system.pagenavigation/templates/modern/style.css?1665083302754 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/reviews_main_block/style.css?17685626192458 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/contacts/style.css?1768562619164 */
