

/* Start:/bitrix/templates/aspro-priority/components/bitrix/news/projects/style.css?17801293033266*/
/* =========================================================================
   8. СТИЛИЗАЦИЯ ФИЛЬТРА ПРОГРАММ (КНОПКИ-ТАБЫ)
========================================================================= */

@media (min-width: 768px) {
	
	/* Общий контейнер табов */
	.sections.head-block.top.controls {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 12px !important;
		margin: 0 0 40px 0 !important;
		border: none !important; 
		background: transparent !important;
		padding: 0 !important;
	}
	
	/* Сбрасываем стандартные подчеркивания и линии Аспро */
	.sections.head-block.top.controls::before,
	.sections.head-block.top.controls::after,
	.sections.head-block.top.controls .bottom_border {
		display: none !important;
	}
	
	/* Сбрасываем стили оберток */
	.sections.head-block.top.controls .item-link,
	.sections.head-block.top.controls .item-link.active {
		border: none !important;
		box-shadow: none !important;
		background: transparent !important;
		margin: 0 !important;
		padding: 0 !important;
		display: block !important;
	}
	
	.sections.head-block.top.controls .item-link .title {
		padding: 0 !important;
		border: none !important;
		background: transparent !important;
	}
	
	/* Убираем псевдоэлементы у активного таба */
	.sections.head-block.top.controls .item-link.active .title span:before,
	.sections.head-block.top.controls .item-link.active .title span:after {
		display: none !important;
	}
	
	/* ОСНОВНОЙ СТИЛЬ КНОПОК 
	   Применяем и к <a> (неактивные), и к <span> (активная) 
	*/
	.sections.head-block.top.controls .item-link .title a,
	.sections.head-block.top.controls .item-link .title span {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 12px 24px !important;
		background: #ffffff !important;
		color: #03175B !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		border-radius: 100px !important;
		cursor: pointer !important;
		transition: all 0.3s ease !important;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
		border: 1px solid #e2e8f0 !important;
		text-transform: none !important;
		line-height: 1.2 !important;
		letter-spacing: normal !important;
		text-decoration: none !important; /* На случай, если у ссылок есть подчеркивание */
	}
	
	/* Ховер эффект для НЕактивных кнопок (тег a) */
	.sections.head-block.top.controls .item-link:not(.active) .title a:hover {
		background: #f8fafc !important;
		border-color: #cbd5e1 !important;
		transform: translateY(-2px) !important;
		box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
		color: #03175B !important;
	}
	
	/* Внешний вид АКТИВНОЙ кнопки (тег span внутри .active) */
	.sections.head-block.top.controls .item-link.active .title span {
		background: #2563eb !important;
		color: #ffffff !important;
		border-color: #2563eb !important;
		box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25) !important;
		transform: translateY(-2px) !important;
	}
}
/* End */


/* Start:/bitrix/templates/aspro-priority/components/bitrix/news.detail/projects/style.css?178039883621526*/
/* =========================================================================
   1. ГЛОБАЛЬНЫЕ ФИКСЫ И ФОН НА ВСЮ ШИРИНУ ЭКРАНА
========================================================================= */
body .banners-content { margin-bottom: 0; }
.project.wtop_image .properties, .project.wti .properties { margin-left: 30px !important; }

/* Растягиваем светло-серый фон от края до края экрана */
.item.project {
    background-color: #f8fafc !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: calc(50vw - 50%) !important;
    padding-right: calc(50vw - 50%) !important;
    box-sizing: border-box !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
body { overflow-x: hidden !important; }

/* =========================================================================
   2. СОВРЕМЕННАЯ КАРТОЧКА ПРОГРАММЫ (ТЕКСТ СЛЕВА + ФОТО СПРАВА)
========================================================================= */
.item.project .head-block {
    background: #ffffff !important;
    border-radius: 32px !important;
    box-shadow: 0 15px 50px rgba(3, 23, 91, 0.06) !important;
    overflow: hidden !important;
    margin-bottom: 40px !important;
    border: 1px solid #f1f5f9 !important;
}
.item.project .head-block .row.flexbox {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    margin: 0 !important;
}
/* Левая колонка */
.item.project .head-block .info_wrap {
    padding: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 55% !important;
}
.item.project .head-block .info_wrap .info {
    padding: 0 !important; 
    max-width: none !important;
    margin: 0 !important;
}
.item.project .head-block .task,
.item.project .head-block h3.course-program__title,
.item.project .introtext p {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    text-transform: none !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
}
/* Сетка свойств-плиток */
.item.project .head-block .properties {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    border: none !important;
    margin-bottom: 40px !important;
}
.item.project .head-block .property {
    background: #f8fafc !important;
    padding: 20px 24px !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}
.item.project .head-block .property:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03) !important;
}
.item.project .head-block .properties .property:nth-child(3) { grid-column: span 2 !important; }
.item.project .head-block .property .title-prop {
    color: #64748b !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    display: block !important;
}
.item.project .head-block .property .value {
    color: #0f172a !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    display: block !important;
}
.item.project .head-block .property .value div,
.item.project .head-block .property .value p { display: inline; }

/* Правая колонка с фото */
.item.project .head-block .gallery_wrap {
    width: 45% !important;
    padding: 0 !important;
}
.item.project .head-block .gallery_wrap .inner,
.item.project .head-block .gallery_wrap .flexslider,
.item.project .head-block .gallery_wrap .slides,
.item.project .head-block .gallery_wrap .item,
.item.project .head-block .gallery_wrap .wrap {
    height: 100% !important;
    min-height: 400px !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* Кнопка заявки */
.item.project .head-block .buttons-block { margin-top: auto !important; }
.item.project .head-block .buttons-block .btn {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 18px 40px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.3s ease !important;
}
.item.project .head-block .buttons-block .btn:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35) !important;
}
.item.project .head-block .buttons-block .btn:active,
.item.project .head-block .buttons-block .btn:focus,
.item.project .head-block .buttons-block .btn span { color: #ffffff !important; }

/* =========================================================================
   3. БЛОКИ ПРОГРАММЫ (ЕДИНЫЕ СТИЛИ ДЛЯ ВСЕХ ВАРИАНТОВ HTML)
========================================================================= */
.course-program, .cessna-course {
    font-family: 'Montserrat', 'Gilroy', sans-serif;
    color: #1e293b;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Вводный текст */
.course-program__intro, .cessna-course__intro {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 24px 28px;
    border-radius: 0 16px 16px 0;
    font-size: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.cessna-course__intro b { color: #03175B; font-weight: 700; }
.cessna-course__intro-list { margin: 16px 0 0 0; padding-left: 20px; color: #475569; font-size: 15px; }

/* Заголовки */
.course-program__title, .cessna-course__title {
    font-size: 22px;
    font-weight: 800;
    color: #03175B;
    margin: 40px 0 20px 0;
    text-transform: uppercase;
}
.course-program__subtitle { font-size: 16px; font-weight: 600; color: #475569; margin-bottom: 20px; }

/* Требования (Карточки с галочками) */
ul.course-program__req-list, ol.course-program__req-list, .course-program__req-list,
ul.cessna-course__req, ol.cessna-course__req, .cessna-course__req {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px 0 !important;
    display: grid;
    gap: 12px;
}
.course-program__req-list li, .cessna-course__req li {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
    margin: 0 !important;
    transition: all 0.3s ease;
}
.course-program__req-list li:hover { border-color: #cbd5e1; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(37, 99, 235, 0.08); }
.course-program__req-list li::before, .cessna-course__req li::before {
    content: '✓' !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border-radius: 50% !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    position: static !important;
    margin: 0 !important;
}
.cessna-course__req a { color: #2563eb !important; text-decoration: underline !important; }

/* Заметки */
.cessna-course__note {
    background: #f1f5f9; border-radius: 12px; padding: 12px 20px;
    font-size: 13px; color: #64748b; font-weight: 500; margin-bottom: 8px; display: inline-block;
}

/* Сетка дисциплин (2 колонки) */
ul.course-program__disc-list, ol.course-program__disc-list, .course-program__disc-list,
ul.cessna-course__grid, ol.cessna-course__grid, .cessna-course__grid {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 40px 0 !important; /* Убиваем отступы темы */
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    counter-reset: grid-counter;
    width: 100% !important;
}
.course-program__disc-list li, .cessna-course__grid li {
    counter-increment: grid-counter;
    margin: 0 !important;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 14px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    transition: all 0.3s ease;
}
.course-program__disc-list li:hover { background: #e2e8f0; }
.course-program__disc-list li::before, .cessna-course__grid li::before {
    content: counter(grid-counter) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    background: #03175B !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
}
.cessna-course__grid--dark li::before { background: #2563eb !important; }

/* Учебно-лётная подготовка (Вертикальный Маршрут/Таймлайн) */
ul.course-program__route, ol.course-program__route, .course-program__route,
ul.cessna-course__timeline, ol.cessna-course__timeline, .cessna-course__timeline {
    position: relative;
    padding: 0 !important;
    margin: 0 0 40px 0 !important; /* Строго 0 слева! */
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    counter-reset: route-counter;
}
/* Центральная линия */
.course-program__route::before, .cessna-course__timeline::before {
    content: '' !important;
    position: absolute !important;
    top: 24px; bottom: 24px;
    left: 33px !important; /* Идеальный центр линии */
    width: 2px !important;
    background: #e2e8f0 !important;
    border-radius: 0 !important;
    display: block !important;
    transform: none !important;
    margin: 0 !important;
}
/* Карточки маршрута */
.course-program__route li, .cessna-course__timeline li {
    position: relative;
    margin: 0 0 14px 0 !important;
    padding: 14px 20px 14px 80px !important; /* Единый отступ для всех */
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    min-height: 56px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    left: 0 !important;
    counter-increment: route-counter !important;
}
.course-program__route li::before, .cessna-course__timeline li::before { content: none !important; display: none !important; }

/* Оформление кружков (Вариант 1) */
.course-program__route li > .route-num, /* Если используется спан */
.course-program__route li::after /* Если используется псевдоэлемент для номера */ {
    content: counter(route-counter) !important;
    position: absolute !important;
    left: 16px !important; /* 33px центр минус 17px радиус */
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important; height: 34px !important;
    background: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-weight: 800 !important; font-size: 13px !important; color: #64748b !important;
    margin: 0 !important;
}
.course-program__route li:hover { border-color: #2563eb !important; transform: translateX(8px) !important; }

/* Оформление бейджей (Вариант 2 - Cessna) */
.cessna-course__timeline-badge {
    position: absolute !important;
    left: 8px !important; top: 50% !important; transform: translateY(-50%) !important;
    width: auto !important; min-width: 52px !important; height: 36px !important; padding: 0 8px !important;
    background: #03175B !important; color: #ffffff !important; border-radius: 10px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 9px !important; font-weight: 800 !important; letter-spacing: 0.03em !important;
}
.cessna-course__timeline-dot {
    position: absolute !important;
    left: 25px !important; /* Центр линии 34px - радиус 9px */
    top: 50% !important; transform: translateY(-50%) !important;
    width: 18px !important; height: 18px !important;
    background: #ffffff !important; border: 3px solid #2563eb !important; border-radius: 50% !important;
    margin: 0 !important; box-sizing: border-box !important;
}
.cessna-course__timeline b { color: #03175B; display: inline !important; margin-right: 4px; text-transform: uppercase; }

/* 4. Финансовый блок (Дашборд стоимости с градиентом) */
.cessna-course__price-card {
    background: linear-gradient(135deg, #03175B 0%, #0f2b7b 50%, #1d4ed8 100%) !important;
    color: #ffffff;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 30px;
    box-shadow: 0 15px 40px rgba(3, 23, 91, 0.25) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative;
    overflow: hidden;
}
.cessna-course__price-info { max-width: 50%; }
.cessna-course__price-title { font-size: 20px; font-weight: 800; margin: 0 0 8px 0; text-transform: uppercase; color: #38bdf8; }
.cessna-course__price-text { font-size: 14px; color: #94a3b8; margin: 0; line-height: 1.5; }
.cessna-course__price-amount { text-align: right; }
.cessna-course__price-value { font-size: 36px; font-weight: 900; color: #ffffff; white-space: nowrap; line-height: 1; }
.cessna-course__price-subtext { font-size: 12px; color: #38bdf8; margin-top: 8px; font-weight: 600; }

/* =========================================================================
   5. ЕДИНЫЙ БЛОК АДАПТИВНОСТИ ДЛЯ МОБИЛЬНЫХ
========================================================================= */
@media (max-width: 991px) {
    /* Адаптив верхней карточки (Текст + Фото) */
    .item.project .head-block .info_wrap { width: 100% !important; padding: 32px 24px 24px 24px !important; }
    .item.project .head-block .buttons-block { margin-bottom: 8px !important; }
    .item.project .head-block .gallery_wrap { width: 100% !important; margin-top: auto !important; }
    .item.project .head-block .gallery_wrap .inner,
    .item.project .head-block .gallery_wrap .flexslider,
    .item.project .head-block .gallery_wrap .slides,
    .item.project .head-block .gallery_wrap .item,
    .item.project .head-block .gallery_wrap .wrap {
        height: 240px !important; min-height: 240px !important; border-radius: 0 0 32px 32px !important; margin: 0 !important;
    }
}

@media (max-width: 768px) {
    /* Адаптив сеток и финансовых блоков */
    .item.project .head-block .properties { grid-template-columns: 1fr !important; }
    .item.project .head-block .properties .property:nth-child(3) { grid-column: span 1 !important; }
    
    .course-program__disc-list, .cessna-course__grid { grid-template-columns: 1fr !important; }
    
    .cessna-course__price-card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
    .cessna-course__price-info { max-width: 100%; }
    .cessna-course__price-amount { text-align: left; width: 100%; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
    .cessna-course__price-value { font-size: 28px; }
}

@media (max-width: 768px) {
    /* Скрываем боковые стрелки навигации слайдера на мобильных телефонах и планшетах */
    .item.project .head-block .gallery_wrap .flex-direction-nav {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .course-program__intro, .cessna-course__intro { padding: 16px; font-size: 15px; }
}

@media (max-width: 480px) {
    /* 1. Сдвигаем центральную ось (линию) правее вглубь карточки */
    .course-program__route::before, 
    .cessna-course__timeline::before { 
        left: 28px !important; 
    }
    
    /* 2. Увеличиваем отступ для текста, чтобы он не наезжал на сдвинутые кружки */
    .course-program__route li, 
    .cessna-course__timeline li { 
        padding-left: 64px !important; 
    }
    
    /* 3. Сдвигаем сами кружки с цифрами на новую ось */
    .course-program__route li > .route-num, 
    .course-program__route li::after {
        left: 14px !important; /* Было 6px, теперь комфортный отступ от края */
        width: 28px !important; 
        height: 28px !important; 
        font-size: 12px !important;
    }
    
    /* 4. Центруем плашки "ЭТАП" (если они используются) под новую линию */
    .cessna-course__timeline-badge { 
        left: 10px !important; 
        min-width: 36px !important; 
        height: 26px !important; 
        font-size: 8px !important; 
    }
    
    /* 5. Точки для налётов тоже ставим ровно на смещенную линию */
    .cessna-course__timeline-dot { 
        left: 22px !important; /* 28px (ось) минус 6px (половина ширины точки) */
        width: 12px !important; 
        height: 12px !important; 
    }
}

/* =========================================================================
   ИСПРАВЛЕНИЕ: ЖЕСТКОЕ СКРУГЛЕНИЕ ПРАВОГО УГЛА КАРТИНКИ
========================================================================= */

/* 1. Форсируем обрезку углов для браузеров Safari/Apple */
.item.project .head-block {
    transform: translateZ(0) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}

/* 2. Явно задаем скругление правых углов для картинки на десктопе */
@media (min-width: 992px) {
    .item.project .head-block .gallery_wrap,
    .item.project .head-block .gallery_wrap .inner,
    .item.project .head-block .gallery_wrap .flexslider,
    .item.project .head-block .gallery_wrap .slides,
    .item.project .head-block .gallery_wrap .item,
    .item.project .head-block .gallery_wrap .wrap {
        border-radius: 0 32px 32px 0 !important;
    }
}
/* Контейнер для нескольких тарифов */
.cessna-course__price-options {
    display: flex;
    align-items: center;
    gap: 32px; /* Расстояние между ценами */
    flex-shrink: 0;
}

/* Отдельный тариф */
.cessna-course__price-item {
    display: flex;
    flex-direction: column;
}

/* Разделитель (тонкая линия между ценами) */
.cessna-course__price-divider {
    width: 1px;
    height: 40px;
    background-color: #e2e8f0;
}

/* Адаптивность для телефонов */
@media (max-width: 768px) {
    .cessna-course__price-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 20px;
    }
    
    /* Скрываем вертикальную линию на мобильных, так как блоки стоят друг под другом */
    .cessna-course__price-divider {
        display: none;
    }
}
/* Стили для сложной цены (когда несколько городов) */
.cessna-course__price-line {
    display: flex;
    align-items: baseline;
    gap: 8px; /* Расстояние между ценой и городом */
    margin-bottom: 4px;
    white-space: nowrap; /* Чтобы цена и город не разрывались на разные строки */
}

.cessna-course__price-line:last-child {
    margin-bottom: 0;
}

/* Оформление подписи города (МСК / СПб) */
.cessna-course__price-city {
    font-size: 16px;
    font-weight: 600;
    color: #94a3b8; /* Светло-серый цвет, чтобы не спорить с основной ценой */
    letter-spacing: 0.05em;
}

/* Чуть увеличиваем разделитель по высоте, так как контента стало больше */
.cessna-course__price-divider {
    height: 60px;
}
/* End */
/* /bitrix/templates/aspro-priority/components/bitrix/news/projects/style.css?17801293033266 */
/* /bitrix/templates/aspro-priority/components/bitrix/news.detail/projects/style.css?178039883621526 */
