.teachers .title {
    font-weight: 900;
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 40px;
}

.text-content .btn {
    margin-top: 0px;
}

.text-wrapper .title {
    margin-top: 0px;
}

.text-wrapper h3 {
    font-size: 28px;
}

.price .title {
	text-align: left;
}

/* КАРТОЧКА ПРЕПОДАВАТЕЛЯ */
.teachers .teacher-horizontal-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 25px;
    padding: 30px;
    box-sizing: border-box;
}

.teachers .teacher-card-image {
    flex-shrink: 0;
    width: 280px;
    height: auto;
}

.teachers .teacher-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: none;
}

.teachers .teacher-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teachers .teacher-card-info .teacher-fio {
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 0;
}

.teachers .teacher-card-info .teacher-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.teachers .teacher-card-info .teacher-text p {
    margin-bottom: 8px;
}

.teachers .teacher-card-info .btn {
    margin-top: 10px;
    width: auto;
    max-width: 280px;
    padding: 12px 30px;
    border-radius: 100px;
    background-color: #D0FF03;
    transition: 0.5s ease;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    border: 1px solid #000000;
}

.teachers .teacher-card-info .btn a {
    display: block;
    width: 100%;
    height: 100%;
    color: #000000;
    text-decoration: none;
}

.teachers .teacher-card-info .btn:hover {
    background-color: #000000;
}

.teachers .teacher-card-info .btn:hover a {
    color: #ffffff;
}

/* КАРТОЧКИ СТАТИСТИКИ */
.stats-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    background: #F2F2F4;
    border-radius: 25px;
    padding: 28px 20px;
    text-align: left;
    border: 2px solid #F2F2F4;
}

.stat-card__title {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 12px;
    line-height: 34px;
}

.stat-card__desc {
    display: block;
    font-size: 22px;
    color: #666;
    line-height: 26px;
    font-weight: 500;
}

/* СЕТКА ШАГОВ */
.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.step-item {
    flex: 1;
    background: #1455FE;
    border-radius: 25px;
    padding: 24px 20px;
    text-align: left;
    color: #fff;
}

.step-item strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 34px;
}

.step-item span {
    display: block;
    font-size: 22px;
    color: #FFFFFF;
    font-weight: 500;
    line-height: 26px;
}

.consultation__wrapper_second {
	margin-bottom: 0;
}

/* ДЕТАЛЬНЫЙ ПЛАН (МОДУЛИ И ТЕМЫ) */
.detail-plan-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    padding: 0;
    gap: 10px;
}

.module-header {
    width: 100%;
    margin-bottom: 10px;
}

.module-topics {
    width: 100%;
}

.detail-plan-title {
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.detail-plan-topic {
	color: #252525;
  	font-weight: 700;
  	font-size: 22px;
}

.detail-plan-subtitle {
    font-size: 18px;
    line-height: 26px;
    color: #666;
}

.detail-plan-description {
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    color: #252525;
    background-color: #FFFFFF;
    border-radius: 25px;
    margin-top: -5px;
    margin-bottom: 15px;
  	padding: 0;
}

.detail-plan-description.visible {
    display: block;
  	margin-bottom: 0px;
}

.detail-plan-description.visible p:first-child {
	margin-bottom: 10px;
}

.detail-plan-description span {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 100px;
    margin: 0 4px 8px 0;
    color: #fff;
    font-size: 18px;
    background-color: #1455FE;
}

.topic-item {
	border: 1px solid #DDDEE2;
  	border-radius: 25px;
  	padding: 20px;
}

.topic-item:not(:last-child) {
	margin-bottom: 15px;
}

.right-column-wrapper {
  display: block;
  padding: 0;
}

.razbory {
    padding: 65px 0;
}

.razbory .title {
    font-weight: 900;
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 40px;
}

.razbory-slider {
    overflow: hidden;
}

.razbor-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.razbor-card__image {
    flex: 0 0 auto;
    height: 180px;
    background: #f5f5f5;
}

.razbor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.razbor-card__content {
    flex: 1;
    padding: 25px 25px 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.razbor-card__type {
    display: inline-block;
    background: #DCB9FB;
    border-radius: 50px;
    padding: 5px 15px;
    font-weight: 600;
    color: #252525;
    width: fit-content;
}

.razbor-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 46px;
}

.razbor-card__title a {
    color: #1455FE;
    text-decoration: none;
    transition: color 0.5s ease;
}

.razbor-card__title a:hover {
    color: #252525;
    text-decoration: underline;
}

.razbor-card__excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #252525;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  	min-height: 58px;
}

.razbor-card__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.razbor-card__buttons .btn--apply {
    background: #D0FF03;
    border: 1px solid #252525;
    border-radius: 100px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #252525;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.razbor-card__buttons .btn--apply:hover {
    background: #1455FE;
    border-color: #1455FE;
    color: #fff;
}

.razbor-card__buttons .btn--details {
  	width: 100%;
    background: transparent;
    border: 1px solid #1455FE;
    border-radius: 100px;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 700;
    color: #1455FE;
    text-decoration: none;
    transition: 0.5s ease;
    text-align: center;
}

.razbor-card__buttons .btn--details:hover {
    background: #1455FE;
    color: #fff;
}

.razbory-slider {
    overflow: hidden;
    padding-bottom: 50px;
  	width: 100%;
}

.razbory-slider .swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.razbory-slider .swiper-pagination-bullet {
    margin: 0 6px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #1455FE;
    opacity: 1;
}

@media (max-width: 915px) {
    .detail-plan-description span {
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
  	.stats-cards,
    .steps-grid {
        flex-direction: column;
        gap: 16px;
        margin: 20px 0;
    }

    .stat-card,
    .step-item {
        width: 100%;
        padding: 18px 16px;
        text-align: left;
        box-sizing: border-box;
    }

    .stat-card__title,
    .step-item strong {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 8px;
    }

    .teachers .teacher-horizontal-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 25px;
    }

    .teachers .teacher-card-image {
        width: 220px;
    }

    .teachers .teacher-card-info .btn {
        width: 100%;
        align-self: center;
    }
    .razbory__title {
        font-size: 32px;
        line-height: 40px;
    }

    .razbor-card {
        flex-direction: column;
    }

    .razbor-card__image {
        flex: 0 0 180px;
    }

    .razbor-card__content {
        padding: 20px;
    }

    .razbor-card__title {
        font-size: 18px;
    }

    .razbor-card__buttons {
        gap: 10px;
    }

    .razbor-card__buttons .btn--apply,
    .razbor-card__buttons .btn--details {
        padding: 10px 20px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 550px) {
    .teachers .title,
    .news .title,
  	.razbory .title {
        font-size: 32px;
      	line-height: 36px;
    }

    .teachers .teacher-horizontal-card {
        padding: 20px;
        gap: 20px;
    }

    .teachers .teacher-card-image {
        width: 180px;
    }

    .teachers .teacher-card-info .teacher-fio {
        font-size: 24px;
        line-height: 30px;
    }

    .teachers .teacher-card-info .teacher-text {
        font-size: 16px;
        line-height: 22px;
    }

    .teachers .teacher-card-info .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .stat-card__desc,
    .step-item span {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (max-width: 480px) {
    .razbory {
        padding: 40px 0;
    }

    .razbory__title {
        font-size: 28px;
        line-height: 34px;
    }
  
  	.text-wrapper h3 {
        line-height: 26px;
    }
}


/* новое */
/* Слайдер преподавателей */
.teachers-slider {
    overflow: hidden;
    padding-bottom: 50px;
}

.teachers-slider .swiper-wrapper {
    display: flex;
}

.teachers-slider .swiper-slide {
    height: auto;
}

.teacher-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 25px;
    padding: 30px;
    box-sizing: border-box;
    height: 100%;
}

.teacher-card__image {
    flex-shrink: 0;
    width: 280px;
    height: auto;
}

.teacher-card__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.teacher-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teacher-card__fio {
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 0;
    color: #252525;
}

.teacher-card__text {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #252525;
}

.teacher-card__text p {
    margin-bottom: 8px;
}

.teacher-card__btn {
    margin-top: 10px;
    width: auto;
    max-width: 280px;
}

.teacher-card__btn a {
    display: block;
    width: 100%;
    padding: 12px 30px;
    border-radius: 100px;
    background-color: #D0FF03;
    transition: 0.5s ease;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    border: 1px solid #000000;
    color: #000000;
    text-decoration: none;
}

.teacher-card__btn a:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Адаптив для слайдера преподавателей */
@media (max-width: 768px) {
    .teacher-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 25px;
    }
    
    .teacher-card__image {
        width: 220px;
    }
    
    .teacher-card__btn {
        max-width: 100%;
        width: 100%;
    }
    
    .teacher-card__btn a {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .teacher-card {
        padding: 20px;
        gap: 20px;
    }
    
    .teacher-card__image {
        width: 180px;
    }
    
    .teacher-card__fio {
        font-size: 24px;
        line-height: 30px;
    }
    
    .teacher-card__text {
        font-size: 16px;
        line-height: 22px;
    }
    
    .teacher-card__btn a {
        padding: 10px 20px;
        font-size: 16px;
    }
}
