.about-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.about-header-wrapper {
    position: relative;
    max-width: 1200px; /* Максимальная ширина контейнера */
    width: 100%;
    text-align: center;
}

.about-header-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.about-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px;
    color: #fff;
    font-family: "OsnovaPro-Bold", sans-serif;
}

.about-header p {
    font-size: 1.2rem;
    margin: 0;
}

/* Общие стили для секций */
.about-section {
    padding: 25px 20px;
}

.about-wrapper-1, .about-wrapper-2, .about-wrapper-4, .about-wrapper-5 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-video, .about-image {
    flex: 1 1 50%;
}

.about-section img {
  width: 100%;
  height: auto;
  display: block;
}

.video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: #333;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 20px;
    color: #63242c;
    font-family: "OsnovaPro-Bold", sans-serif;
}

.about-content p {
    font-size: 1.2rem;
    margin: 0 0 20px;
    color: #63242c;
}

.btn {
    width: fit-content;
}


/**********************steps*************************/

.about-steps {
    padding: 25px 20px;
    background-color: #fff7f1;
}

.about-steps-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.steps-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: #333;
}

.steps-content h2 {
    font-size: 50px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #63242c;
    font-family: "OsnovaPro-Bold", sans-serif;
}

.steps-content p {
    font-size: 1.2rem;
    margin: 0 0 20px;
    color: #63242c;
}

.steps-list {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
	align-items: center;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
}

.step-number {
    background: linear-gradient(to bottom, #c5a388 0%, #ece8e5 93%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 7rem;
    font-weight: bold;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.step-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #63242c;
    font-family: "OsnovaPro-Bold", sans-serif;
}

.step-text p {
    font-size: 1.2rem;
    color: #63242c;
}

/*********************community**************************/

.about-community {
    padding: 0 20px;
    background-color: #a78a73;
}

.about-community-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.community-content {
    flex: 1 1 60%;
    text-align: left;
    color: #fff;
}

.community-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "OsnovaPro-Bold", sans-serif;
    margin: revert;
}

.community-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.community-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.community-content ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.community-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-size: 1.5rem;
}

.community-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#about_section_2 .main__slider {
    height: -webkit-calc(100vh - 295px);
    height: calc(100vh - 295px);
    min-height: 370px;
    max-height: 390px;
    position: relative; 
}

#about_section_5 .main__slider {
    height: -webkit-calc(100vh - 295px);
    height: calc(100vh - 295px);
    min-height: 370px;
    max-height: 390px;
    position: relative;
}	

#about_section_2 .main__slider .main__slider-item {
    max-height: 390px;
    min-height: 370px;
}

#about_section_5 .main__slider .main__slider-item {
    max-height: 390px;
    min-height: 370px;
}

.community-slider {
    flex: 1 1 50%;
    position: relative;
    height: 100%;
	min-width: 0;
}

.community-slider .swiper-container {
    width: 100%;
    height: 100%;
}

.community-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.community-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	display: block;
}

/* Стили Swiper */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}


/*********************education**************************/


.about-education {
    //padding: 0 20px;
    background-color: #fff7f1; /* Светлый фон */
}

.education-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    //max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

/* Левая часть - картинка */
.education-image {
    flex: 1 1 20%; /* Устанавливаем, чтобы заняло половину секции */
    position: relative;
    height: 100%;
}

.education-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполнение всего блока без искажений */
    display: block;
}


/* Правая часть - контент */
.education-content {
    flex: 1 1 60%;
	color: #63242c;
    text-align: left;
	padding: 20px 50px;
}

.education-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
	font-family: "OsnovaPro-Bold", sans-serif;
}

.education-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.education-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.education-content ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.education-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #63242c;
    font-size: 1.5rem;
}

/*********************ambasador**************************/


.about-ambasador {
    //padding: 0 20px;
    background: url('/image/catalog/about/about-ambasador/fone-ambasador.jpg') no-repeat center center/cover; /* Светлый фон */
}

.ambasador-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    //max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}


/* Левая часть - картинка */
.ambasador-image {
    flex: 1 1 20%; /* Устанавливаем, чтобы заняло половину секции */
    position: relative;
    height: 100%;
}

.ambasador-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполнение всего блока без искажений */
    display: block;
}

.ambasador-title2 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
	color: #454545;
}

/* Правая часть - контент */
.ambasador-content {
    flex: 1 1 60%;
	color: #63242c;
    text-align: left;
	padding: 20px 170px;
}

.ambasador-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
	font-family: "OsnovaPro-Bold", sans-serif;
}

.ambasador-content p {
    margin-bottom: 20px;
}

.ambasador-title2 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
	color: #454545;
}

.ambasador-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.ambasador-content ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.ambasador-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #63242c;
    font-size: 1.5rem;
}

.ambasador-about-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap
}

/********************************Кнопки**************************/
.btn {
    display: inline-block;
    border-color:inherit;
    background-color: #e7bfaf;
    font-size: 13px;
    color: #fff;
    font-family: 'OsnovaPro-Regular', "Trebuchet MS", sans-serif;
    text-align: center;
    text-transform: uppercase;
    height: 40px;
    line-height: 1;
    padding: 13px 33px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    z-index: 1; }
a.btn {
    line-height: 1;
}
.btn:before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    opacity: 0;
    bottom: 0;
    width: -webkit-calc(100% + 2px);
    width: calc(100% + 2px);
    height: -webkit-calc(100% + 2px);
    height: calc(100% + 2px);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #582931;
    background: #582931;	
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: -1;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0); }

.btn:hover:before {
    opacity: 1;
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1); }

.btn:hover {
    color: #fff; }

.btn.btn-blue {
    border-color: #bbdce5;
    background-color: #bbdce5;
    color: #582931; }

.btn.btn-brown {
    background-color: #582931; }

.btn.btn-brown:focus{color: #fff !important; background-color: #582931; }

/*************************************************************Адаптивность***********************************************************/


/*************************************Адаптивность для мобильных устройств*************************************/

@media (max-width: 768px) {

	.about-header {
		padding: 40px 0;
	}

	.about-header-content {
		width: 100%;
	}

    .about-header h1 {
        font-size: 2rem;
    }

    .about-header p {
        font-size: 1rem;
    }
	
    .about-wrapper-1, .about-wrapper-2, .about-wrapper-4, .about-wrapper-5 {
        flex-direction: column;
        gap: 20px;
    }

	.about-wrapper-1, .about-wrapper-4 {
        flex-direction: column-reverse;
    }

    .video {
        aspect-ratio: 16 / 9;
        height: 200px;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2 {
        font-size: 2rem;
    }
	
    .about-content p {
        font-size: 1rem;
    }	
	
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }	
	
    .community-slider {
        width: 100%;
    }	
	
	#about_section_2 .main__slider .main__slider-item {
		max-height: 300px;
		min-height: 300px;
	}

    .about-steps-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .steps-content {
        text-align: center;
    }

    .steps-content h2 {
        font-size: 2rem;
    }

    .steps-list {
        gap: 15px;
    }

	.step-number {
		font-size: 6rem;
		width: 70px;
		height: 70px;
	}	
	
	.step-text h3 {
		font-size: 1.5rem;
	}	
	
	.step-text p {
		font-size: 1rem;
	}
	
	#about_section_5 .main__slider .main__slider-item {
		max-height: 300px;
		min-height: 300px;
	}	

    .about-community-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .community-content {
        text-align: center;
    }

    .community-content h2 {
        font-size: 2rem;
		margin: revert;
    }

    .community-content p {
        font-size: 1rem;
    }

    .community-content ul li {
        font-size: 1rem;
    }	

    .community-buttons {
        justify-content: center;
    }

    .community-slider {
        width: 100%;
    }

    .education-wrapper {
        flex-direction: column-reverse; /* Меняем порядок элементов */
    }	

    .education-image {
        width: 100%;
        height: auto;
    }

    .education-content {
        width: 100%;
        text-align: center;
    }

    .education-content h2 {
        font-size: 2rem;
    }

    .education-content p {
        font-size: 1rem;
    }
	
    .education-content ul li {
        font-size: 1rem;
    }
	
/*****/
    .ambasador-wrapper {
        flex-direction: column; /* Меняем порядок элементов */
    }	

    .ambasador-image {
        width: 100%;
        height: auto;
    }

    .ambasador-content {
        width: 100%;
        text-align: center;
		padding: 20px 50px;
    }

    .ambasador-content h2 {
        font-size: 2rem;
    }

    .ambasador-content p {
        font-size: 1rem;
    }
	
    .ambasador-content ul li {
        font-size: 1rem;
    }
	
	
}

@media only screen and (max-width: 767px) {
	
    #about_section_2 .main__slider {
        padding-top: 0;
        height: -webkit-calc(100vh - 110px);
        max-height: 300px;
		min-height: 330px;
        height: calc(100vh - 110px); 
	}
	
    #about_section_2 .main__slider .main__slider-item {
        height: -webkit-calc(100vh - 110px);
        max-height: 300px;
		min-height: 300px;
        height: calc(100vh - 110px); 
	}	

    #about_section_5 .main__slider {
        padding-top: 0;
        height: -webkit-calc(100vh - 110px);
        max-height: 300px;
		min-height: 330px;
        height: calc(100vh - 110px); 
	}
	
    #about_section_5 .main__slider .main__slider-item {
        height: -webkit-calc(100vh - 110px);
        max-height: 300px;
		min-height: 300px;
        height: calc(100vh - 110px); 
	}

}

/*************Адаптивность (max-width: 992px)****************/

@media (max-width: 992px) {

	.about-header {
		padding: 40px 0;
	}

	.about-header-content {
		width: 100%;
	}

    .about-header h1 {
        font-size: 2rem;
    }

    .about-header p {
        font-size: 1rem;
    }
	
    .about-wrapper-1, .about-wrapper-2, .about-wrapper-4, .about-wrapper-5 {
        flex-direction: column;
        gap: 20px;
    }

	.about-wrapper-1, .about-wrapper-4 {
        flex-direction: column-reverse;
    }

    .video {
        aspect-ratio: 16 / 9;
        height: 200px;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2 {
        font-size: 2rem;
    }
	
    .about-content p {
        font-size: 1rem;
    }	
	
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }	
	
    .community-slider {
        width: 100%;
    }	
	
	#about_section_2 .main__slider .main__slider-item {
		max-height: 300px;
		min-height: 300px;
	}

    .about-steps-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .steps-content {
        text-align: center;
    }

    .steps-content h2 {
        font-size: 2rem;
    }

    .steps-list {
        gap: 15px;
    }

	.step-number {
		font-size: 6rem;
		width: 70px;
		height: 70px;
	}	
	
	.step-text h3 {
		font-size: 1.5rem;
	}	
	
	.step-text p {
		font-size: 1rem;
	}
	
	#about_section_5 .main__slider .main__slider-item {
		max-height: 300px;
		min-height: 300px;
	}	

    .about-community-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .community-content {
        text-align: center;
    }

    .community-content h2 {
        font-size: 2rem;
		margin: revert;
    }

    .community-content p {
        font-size: 1rem;
    }

    .community-content ul li {
        font-size: 1rem;
    }	

    .community-buttons {
        justify-content: center;
    }

    .community-slider {
        width: 100%;
    }

    .education-wrapper {
        flex-direction: column-reverse; /* Меняем порядок элементов */
    }	

    .education-image {
        width: 100%;
        height: auto;
    }

    .education-content {
        width: 100%;
        text-align: center;
    }

    .education-content h2 {
        font-size: 2rem;
    }

    .education-content p {
        font-size: 1rem;
    }
	
    .education-content ul li {
        font-size: 1rem;
    }
	
/****/
    .ambasador-wrapper {
        flex-direction: column; /* Меняем порядок элементов */
    }	

    .ambasador-image {
        width: 100%;
        height: auto;
    }

    .ambasador-content {
        width: 100%;
        text-align: center;
		padding: 20px 50px;
    }

    .ambasador-content h2 {
        font-size: 2rem;
    }

    .ambasador-content p {
        font-size: 1rem;
    }
	
    .ambasador-content ul li {
        font-size: 1rem;
    }
	
}
