@font-face {
    font-family: "Bogart Black";
    src:
        local("Bogart Black"),
        url("/local/templates/educasa_new/fonts/Bogart-Black-trial.ttf") format("truetype");
}

@font-face {
    font-family: "Bogart Semibold";
    src:
        local("Bogart Semibold"),
        url("/local/templates/educasa_new/fonts/Bogart-Semibold-Italic-trial.ttf") format("truetype");
}



:root {
    --blue: #2e527d;
    --white: #fff;
    --red: #e78d85;
    --grey: #b5bdc8;
    --green: #20c997;
    --light-grey: #cdd7e1;
    --beige: rgba(218, 192, 164, 0.2);
    --beige-background: #DDBFA3;
    --font-family: "Onest", sans-serif;
    --font-family-slider: "Onest", sans-serif;
    --font-family-slider_subtitle: "Onest", sans-serif;

}
body{
    font-family: var(--font-family);
}
img{
    width: 100%;
    height: 100%;
}
.iti__flag-container ul li::before {
    display: none;
}
.header_top{
    display: none;
}

.container {
    position: relative;
    max-width: 1400px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}
.btn{
    border-radius: 100px;
}
.header_wrapper, .footer_wrapper, .footer_wrapper_mobile{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}
.footer .footer_wrapper_mobile{
    display: none;
}
.header_logo{
    width: 324px;
    height: 105px;
}
.header_menu_nav, .header_block{
    align-items: center;
    display: flex;
    gap: 30px;
}
.header_menu_nav li, .header_menu_nav li a, .header_lang, .contact_item, .header_menu_main_item_navigation li a{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--blue);
    cursor: pointer;
}
.header_menu_nav li .btn, .header_menu_main_item_navigation .btn, .btn_curs_online{
    background: var(--red);
    color: var(--white);
    padding: 16px 20px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--white);
    height: 48px;
}
.btn_curs_online{
    border-radius: 100px;
    color: var(--white) !important;
}
.header_lang{
    display: flex;
    gap: 5px;
}
.header_lang svg{
    fill: var(--blue);
}
.contact_item{
    align-items: center;
    background: var(--beige);
    border-radius: 100px;
    color: var(--blue);
    display: flex;
    gap: 5px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    padding: 12px 20px;
    text-transform: uppercase;
    height: 48px;
}
.footer .contact_item{
    background: none;
    text-transform: none;
    padding: 0;
}
.footer_wrapper, .footer_wrapper_mobile{
    align-items: flex-start;
    background: var(--beige);
    border-radius: 16px;
    padding: 50px;
}
.footer_flex_box{
    justify-content: space-between;
    display: flex;
    width: 100%;
}
.footer_wrapper_mobile{
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
}
.footer_logo{
    width: 188px;
    height: 61px;
}
.footer_menu li{
    display: flex;
    gap: 30px;
}
.footer_menu li a{
    align-items: center;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
    color: var(--blue);
    height: auto;
}
.content{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--blue);
}

.footer_menu, .footer_box{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.footer_box{
    max-width: 200px;
    width: inherit;
}
.footer_box .title{
    font-weight: 600;
    text-transform: uppercase;
}
.swiper{
    width: 100%;
    height: 600px;
}
.main_swiper .swiper-slide{
    border-radius: 16px;
}
.swiper-slide{
    height: -webkit-fill-available !important;
}
.news_wrapper_content iframe{
    margin: 0 auto;
}
.main_swiper .swiper-slide.with-gradient, .swiper-workers, .service_wrapper .with-gradient {
    position: relative;
    overflow: hidden;
}

.main_swiper .swiper-slide.with-gradient::before, .service_wrapper .with-gradient {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(115,115,115,0.1) 0%, rgba(217,217,217,0.1) 100%);
    opacity: 0.6;
    z-index: 1;
}
.main_swiper .swiper-slide.with-gradient, .service_wrapper .with-gradient{
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_swiper .swiper-slide.with-gradient .swiper_content, .service_wrapper.with-gradient .swiper_content {
    font-family: var(--font-family);
    text-align: center;
    font-size: 24px;
    color: var(--white);
    position: relative;
    z-index: 2;
}
.main_swiper .swiper-slide.with-gradient .swiper_content h2, .service_wrapper.with-gradient .swiper_content h2 {
    font-weight: 700;
    font-size: 42px;
	max-width: 900px;
    margin-bottom: 12px;
    font-family: var(--font-family-slider);
}
.main_swiper .swiper-slide.with-gradient .swiper_content p{
    font-family: var(--font-family-slider_subtitle);
    font-style: italic;
}
.back_none{
    border: 1px solid var(--white);
    font-weight: 500;
    font-size: 16px;
    padding: 16px 20px;
    width: 161px;
    height: 52px;
}
.swiper_content .back_none{
    margin-top: 30px;
    width: fit-content;
}
.swiper-button-prev, .swiper-button-next {
    border: 1px solid var(--white);
    border-radius: 100%;
    stroke-width: 1px;
    stroke: var(--white);
    padding: 20px;
    width: 42px;
    height: 42px;
}
.swiper-button-prev:after, .swiper-button-next:after {
    font-size: 10px;
    text-transform: none !important;
    letter-spacing: 0;
    color: var(--white);
    font-variant: initial;
    line-height: 1;
    width: 7px;
    height: 12px;
}
.swiper-pagination-bullet .swiper-pagination-bullet-active{
    background: var(--white);
}
.swiper-pagination-bullet{
    background: rgba(255, 255, 255, 0.83);
    width: 10px;
    height: 10px;
}
.section{
    padding-bottom: 100px;
}
.main_services{
    padding-top: 100px;
    background: var(--blue);
    margin-bottom: 100px;
}

.main_services_wrapper .title{
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    color: var(--white);
}
.subtitle{
    font-weight: 400;
    font-size: 14px;
    /*text-transform: capitalize;*/
    color: var(--blue);
}
.main_services_content{
   display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    color: var(--white);
}

.main_services_content .desc_img img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.main_services_content .overlay_text {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    padding: 0 10px;
}

.main_services_content .overlay_text .title {
    font-weight: 700;
    font-size: 28px;
    padding-bottom: 20px;
}

.main_services_content .overlay_text .subtitle {
    font-weight: 300;
    font-size: 18px;
    line-height: 133%;
	color: #fff;
}
.main_services_content .content p{
	color: #fff;
}
.main_services_content .item{
    display: flex;
    flex-direction: column;
}
.main_services_content .item .content{
    margin-top: 30px;
}
.main_services_content .desc_img{
    border-radius: 16px;
    max-width: 453px;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.main_services_content ul{
    list-style: none;
    margin: 20px 0px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.main_services_content ul li{
    margin-left: 32px;
    font-size: 16px;
    position: relative;
    line-height: 150%;
    color: var(--white);
}
.main_services_content ul li::before{
    content:"";
    position:absolute;
    left: -34px;
    /*transform:translateY(-50%);*/
    width:24px;height:20px;
    background:center/contain no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 20"><path d="M22.5142 0.339205C15.6904 4.60139 10.7382 9.88428 8.49247 12.5591L3.12459 8.35362C2.98924 8.24758 2.79864 8.2489 2.66478 8.35681L0.737596 9.91033C0.567521 10.0474 0.552859 10.3014 0.706023 10.4571L9.24519 19.1413C9.64515 19.5481 10.326 19.4257 10.563 18.9069C12.5898 14.4699 17.4431 7.09122 23.2824 1.65878C23.3966 1.55253 23.4316 1.387 23.3697 1.24384L23.051 0.506916C22.9612 0.299374 22.706 0.219415 22.5142 0.339205Z" fill="%2315C9A5"/></svg>');
}
.main_services_content .detail_btn{
    margin: 0 auto;
}
.detail_btn{
    padding: 16px 24px;
    background: var(--beige-background);
    color: var(--blue);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    width: fit-content;
}
.main_services_content .desc_title{
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 10px;
}
.main_services_content p{
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 18px;
    line-height: 133%;
    color: var(--white);
}
.main_title{
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    color: var(--blue);
    padding-bottom: 30px;
}
.section .title, .section .main_title{
    padding-bottom: 30px;
}
.main_swiper{
    margin-bottom: 100px;
}
.services_content, .blog_content, .workers_block{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

 .card {
    border-radius: 16px;
     display: flex;
     flex-direction: column;
     background: var(--beige);
}
 .card-image {
    position: relative;
    width: 100%;
    height: auto;
}

 .card-image img {
    width: 100%;
    display: block;
}

 .badge {
    padding: 6px 20px;
    border-radius: 20px;
    bottom: 20px;
    background: var(--red);
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    position: absolute;
    left: 20px;
}

.card-content {
    text-align: center;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.card-content h3, .course-title .subtitle {
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    color: var(--blue);
    margin-bottom: 20px;
}

.service-details-btn {
    border: 1px solid #ddbfa3;
    border-radius: 100px;
    padding: 16px 0px;
    width: 185px;
    font-weight: 500;
    font-size: 16px;
    color: var(--blue);
}
.blog_content .item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog_content .item_content h4, .workers_block h4, .contacts h4{
    font-weight: 700;
    font-size: 18px;
    margin-top: 30px;
}
.blog_content .item_content, .workers_block .item_content, .workers_block a{
    /*padding-top: 30px;*/
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--blue);
    margin-bottom: 10px;
}

.blog_content .item_content img, .workers_block .item_content img{
    border-radius: 16px;
    overflow: hidden;
}

.blog_content p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.swiper-workers p{
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    color: var(--blue);
}
.about_us_wrapper{
    position: relative;
    padding: 40px 100px;
    display: grid;
    gap: 100px;
    grid-template-columns: auto auto;
    border-radius: 16px;
    background: var(--beige);
    overflow: hidden;
}

.about_us_wrapper .about_plane{
    position: absolute;
    top: 82px;
    left: calc(50% - 50px);
    transform: translateX(-50%);
    width: 110px;
    height: 70px;
    opacity: 0.2;
}
.about_us_wrapper .about_toys{
    position: absolute;
    bottom: 0;
    left: calc(50% - 50px);
    transform: translateX(-50%);
    width: 270px;
    height: 160px;
    opacity: 0.2;
}
.about_us_wrapper img{
    border-radius: 16px;
    min-width: 490px;
    height: 490px;
}
.about_us_wrapper .item{
    width: 100%;
    font-size: 18px;
    line-height: 156%;
    font-weight: 400;
}
.bold{
    font-weight: 600;
}
.about_us_wrapper .item{
    position: relative;
    width: 100%;
    font-size: 18px;
    line-height: 156%;
    /*justify-content: center;*/
    font-weight: 400;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}
.about_us_wrapper .content p, .about_custom_block .content p, .about_us_custom_wrapper .item p{
    font-size: 18px;
    line-height: 156%;
    padding-bottom: 20px;
}
.media_btn{
    align-items: center;
    display: flex;
    cursor: pointer;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    font-weight: 500;
    font-size: 16px;
    color: var(--red);
    box-shadow: 0 4px 4px -4px rgba(12, 12, 13, 0.05), 0 16px 32px -4px rgba(12, 12, 13, 0.1);
    background: var(--white);
    width: 286px;
    height: 52px;
}
.btn_wrapper{
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.about_content{
    position: absolute;
    display: flex;
    align-items: center;
    max-width: 305px;
    width: 100%;
    gap: 16px;
    border-radius: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.85);
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.about_logo{
    width: 42px;
    height: 49px;
}

.about_logo img{
    width: 100%;
    height: 100%;
    min-width: unset;
}
.about_content_info{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.about_content_info_title{
    font-weight: 500;
    font-size: 16px;
    color: var(--blue);
    line-height: normal;
}
.about .about_us_wrapper{
    padding: 40px 66px;
}
.about_content_info_subtitle{
    font-weight: 300;
    font-size: 14px;
    color: var(--blue);
    line-height: normal;
}
.radius_img img{
    border-radius: 16px;
}
.about_us_wrapper .content .caption{
    font-size: 16px;
    line-height: 100%;
    padding-bottom: 0px;
    padding-top: 10px;
}
.curs_online .main_title{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.curs_online .main_services_content .overlay_text p{
    color: var(--white);
}
.curs_online .main_services_content p{
    color: var(--blue);
}
.curs_online .main_services_content ul li{
    color: var(--blue);
}
.checkout-form{
    color: var(--blue);
    width: 100%;
}
.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}
.field{
    display:flex;
    flex-direction:column;
    gap:5px;
}
.field label{
    font-weight: 400;
    font-size: 12px;
    text-transform: capitalize;
    color: var(--grey);
}
.field input{
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
    color: var(--blue);
    background:transparent;
    border:none;
    border-bottom: 1px solid var(--light-grey);
    padding: 5px 0px;
    outline:0;
    transition:border-color .2s
}
.field input:focus{
    border-bottom-color: var(--blue)
}
.field input::placeholder{color:transparent}
.purchase_form{
   display: flex;
    gap: 100px;
}
.custom-select {
    position: relative;
    font-size: 14px;
    color: var(--blue);
}

.select-selected {
    border-bottom: 1px solid var(--light-grey);
    padding: 5px 0;
    cursor: pointer;
    transition: border-color .2s;
}

.select-selected:after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 32px;
    font-size: 12px;
    color: var(--blue);
}

.select-custom {
    border-bottom: 1px solid var(--light-grey);
    padding: 5px 0;
    cursor: pointer;
    transition: border-color .2s;
}

.select-custom:after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 32px;
    font-size: 12px;
    color: var(--blue);
}

.select-items {
    position: absolute;
    background: white;
    width: 100%;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    margin-top: 55px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
    z-index: 99;
}

.select-items div {
    padding: 8px 10px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.select-items div:hover {
    background: rgba(54, 83, 147, 0.05); /* нежно-синий hover */
}

.same-as-selected {
    background: rgba(54, 83, 147, 0.08);
    font-weight: 500;
}

.same-as-selected::after {
    content: "✔";
    position: absolute;
    right: 10px;
    color: var(--blue);
    font-size: 13px;
}

.select-hide {
    display: none;
}

.select-selected.active {
    border-bottom-color: var(--blue);
}

.check{
    max-width: 470px;
    width: 100%;
}
.check_wrapper{
    padding: 30px 40px;
    background: var(--beige);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 27px;
    color: var(--blue);
}
.check_wrapper h3{
    font-weight: 700;
    font-size: 22px;
    margin: 0;
}
.check_wrapper .item{
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    font-size: 16px;
}
.total p{
    font-weight: 700;
}

.radio {
    display: flex;
    align-items: center;
}

.radio input {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #20c997;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.radio input:checked + .custom-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.custom-radio{
    margin-right: 8px;
}

.label-text {
    font-weight: 500;
    font-size: 16px;
    margin-right: 20px;
}

.icon {
    display: flex;
    align-items: center;
}
.terms-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.terms-checkbox input {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid var(--blue);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

.terms-checkbox input:checked + .custom-checkbox::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid var(--green);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-checkbox .label-text {
    font-weight: 400;
    font-size: 16px;
    color: var(--blue);
}

.terms-checkbox .terms-link {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--red);
}
.buy_btn{
    background: var(--beige-background);
    padding: 16px 32px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
}
.check_btn{
    background: var(--beige-background);
    padding: 5px 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    border-radius: 16px;
}
.promo_btn{
    display: flex;
    gap: 20px;
}
input[name="promo"]::placeholder { opacity: 1; color: #9aa0a6; }
input[name="promo"]{
    text-align: center;
}
.blog_main .blog_content .item_content{
    padding-top: 0;
}
.blog_content a{
    color: var(--blue);
}
.blog_main .subtitle{
    padding-top: 12px;
}
.blog_main .title{
    padding: 0;
}
.header{
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 50;
}
.main{
    margin-top: 170px;
}
.card-content{
    padding: 20px;
}
.line{
    width: 100%;
    height: 1px;
    background: var(--light-grey);
}
.show_mobile{
    display: none;
}
.blog_main .subtitle{
    display: flex;
    justify-content: center;
}
.navigation_line{
    display: flex;
    gap: 2px;
}
.news_wrapper{
    background: var(--beige);
    border-radius: 16px;
    padding: 40px;
}
.news_wrapper_content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.news_wrapper_content p{
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    color: var(--blue);
}
.service .img_wrapper img{
    border-radius: 16px;
}

.service-hero{
    position:relative;
    width:100%;
    border-radius:16px;
    overflow:hidden;
    aspect-ratio:16/7;
    min-height:380px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.service-hero__inner{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction: column;
    text-align:center;
    color: var(--white);
    /*max-width: 500px;*/
    width: 100%;

}
.service-hero__title{
    font-weight: 700;
    font-size: 42px;
    text-align: center;
    color: var(--white);
}
.service-hero__text{
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    text-align: center;
    color: var(--white);
}
.service-hero__title, .service-hero__text{
    max-width: 520px;
    width: 100%;
}
@media (max-width:640px){
    .service-hero{min-height:320px; border-radius:16px}
    .service-hero__inner{padding:32px 16px}
}
.service_desc .services_wrapper{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 60px;
   /*align-items: center;*/
}
.service_desc .services_wrapper .img_wrapper{
    overflow: hidden;
    border-radius: 16px;
    height: 490px;
}
.service_desc .services_wrapper .img_wrapper img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.service_desc .services_wrapper .desc{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    color: var(--blue);
}
.service-accordion{
    display:grid;
    gap:20px;
}
.service-acc__item{
    border-radius:16px;
    overflow:hidden;
}
.service-acc__header{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border:0;
    outline:0;
    padding:30px;
    border-radius:16px;
    background:#f8f2ed;;
    cursor:pointer
}
.service-acc__header--beige{background:#f8f2ed}
.service-acc__header--blue{background:#e7eef5}
.service-acc__header--pink{background:#fde9e9}
.service-acc__title{
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    color: var(--blue);
}
.service-acc__panel{max-height:0;overflow:hidden;transition:max-height .3s ease}
.service-acc__content{
    padding: 0px 30px 30px;
    border-radius:0 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.service-acc__content p, .service-acc__content ul li{
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    color: var(--blue);
}
.service-acc__item.is-open .service-acc__header{
    border-radius:16px 16px 0 0;
}
.service-acc__item.is-open .service-acc__icon{transform:rotate(180deg)}
.service-acc__item.is-open .service-acc__panel{background:inherit}
@media (max-width:640px){
    .service-acc__header{padding:22px 20px}
    .service-acc__content{padding:0 20px 22px}
}
/*
.info_wrapper{
    display: flex;
    flex-direction: row;
    gap: 100px;
    background: var(--beige);
    border-radius: 16px;
    padding: 40px;
}
.info_wrapper img{
    width: 490px;
    border-radius: 16px;
}
*/
.info_wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: var(--beige);
  border-radius: 16px;
  padding: 40px;
}

/* левая колонка */
.info_wrapper .item:first-child {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column; /* чтобы внутри можно было управлять */
}

/* правая колонка */
.info_wrapper .item:last-child {
  flex: 0 0 420px;
}

/* нижние p внутри левой колонки */
.info_wrapper .item:first-child p {
  width: 100%;
}

/* заставляем их "выходить" из ограниченной ширины */
.info_wrapper .item:first-child p:last-of-type,
.info_wrapper .item:first-child p:nth-last-of-type(2) {
  margin-bottom: 10px;
  width: calc(100% + 420px + 40px); /* ширина текста + картинка + gap */
}



.info_wrapper h2{
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    text-align: left;
    color: var(--blue);
    margin-bottom: 30px;
}
.info_wrapper ul, .news_wrapper_content ul{
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: var(--blue);
    font-size: 18px;
}
.news_wrapper_content ul{
    margin-left: 10px;
}
.info_wrapper ul li{
    position:relative;
    padding-left: 25px;
}
.info_wrapper ul li::before{
    content:"";
    position:absolute;left:0;top:.15em;width:18px;height:18px;
    background: no-repeat 50% 50%/contain;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'><path d='M11.832 25.6166C17.8313 25.6166 22.6948 20.7532 22.6948 14.7539C22.6948 8.75454 17.8313 3.89111 11.832 3.89111C5.83267 3.89111 0.969238 8.75454 0.969238 14.7539C0.969238 20.7532 5.83267 25.6166 11.832 25.6166Z' fill='%23B3D6FF'/><path d='M11.9548 23.1498L11.8171 22.9151C9.71244 19.3292 4.1197 11.7195 4.06321 11.6431L3.98253 11.5335L5.88794 9.65038L11.9195 13.862C15.7171 8.93407 19.2599 5.54933 21.571 3.57278C24.099 1.41062 25.7446 0.415239 25.7612 0.405701L25.7987 0.383301H29.0308L28.722 0.658255C20.7818 7.73062 12.1754 22.7623 12.0897 22.9133L11.9548 23.1498Z' fill='%232E527D'/></svg>");
}
.info_wrapper .img_wrapper{
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    overflow: hidden;
}
.info_wrapper .img_wrapper img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.contacts .svg_icon{
    width: 16px;
    height: 25px;
}
.contacts .svg_icon svg{
    width: 100%;
    height: 100%;
}
.contact_block{
    display: flex;
    gap: 10px;
    align-items: center;
}
.contacts .item{
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--blue);
}
.contacts .item a {
    color: var(--blue);
}
.contacts_wrapper{
    display: flex;
    justify-content: space-between;
}
.social-btn-1 svg{
    width: 30px;
    height: 30px;
    color: var(--blue);
}
.nav_item a{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--blue);
    cursor: pointer;
}
.service_form input, .service_form select, .service_form textarea{
    border: 1px solid var(--blue);
    color: var(--blue);
    border-radius: 3px;
    min-width: 250px;
    height: 30px;
    font-family: var(--font-family);
    padding: 5px;
    font-size: 14px;
    margin-top: 5px;
}
.service_form .block{
    display: flex;
    gap: 10px;
}
.service_form .item p{
    display: flex;
    gap: 10px;
    color: var(--blue);
}
.service_form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.toy_wrapper{
    display: flex;
    align-items: end;
}
.error_reg{
    font-size: 13px;
    color: var(--red);
}
.success-message{
    display: none;
    margin-top:15px;
    padding:15px;
    border:1px solid #d4edda;
    background:#dff0d8;
    color:#155724;
    border-radius:6px;
    align-items:center;
    gap:10px;
}
.episodes{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.course-title{
    text-align: center;
    margin-bottom: 20px;
}
.episode-title{
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 150%;
}
.capsules{
    margin-left: 10px;
}
.title .main_title{
    padding-bottom: 0px;
}
.employee-detail {
    font-family: var(--font-family);
    line-height: 1.6;
}

.employee-header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /*align-items: center;*/
    justify-items: center;
    margin-bottom: 2rem;
}

.employee-photo img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.employee-first-text p {
    font-weight: 500;
    font-size: 22px;
    font-style: italic;
    color: var(--blue);
}

.employee-section {
    margin-bottom: 2rem;
    color: var(--blue);
}

.employee-section p,
.employee-detail ul li {
    font-size: 18px;
    line-height: 1.56;
    margin-bottom: 5px;
}

.employee-detail h2 {
    font-weight: 700;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 10px;
}
.employee-info p{

}
.about_us_custom_wrapper {
    position: relative;
    padding: 40px 100px;
    display: flex;
	flex-direction: column;
	gap: 40px;
    border-radius: 16px;
    background: var(--beige);
    overflow: hidden;
}
.about_custom_block{
    display: grid;
    grid-template-columns: auto auto;
    gap: 100px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .employee-header {
        flex-direction: column;
        align-items: center;
    }

    .employee-first-text {
        margin-top: 1rem;
        text-align: center;
    }
}
.item img{
    border-radius: 16px;
}

.error_check{
    color: var(--red);
}

.thankyou-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0px;
}

.thankyou-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: var(--beige);
    border-radius: 20px;
    padding: 60px 50px;
    align-items: center;
    gap: 40px;
}

.thankyou-text {
    flex: 1;
    min-width: 300px;
}

.thankyou-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--blue);
}

.thankyou-text h1 span {
    color: var(--beige-background);
}

.thankyou-text p {
    font-size: 17px;
    line-height: 1.6;
    color: #3c4a64;
    margin-bottom: 15px;
}

.thankyou-text .intro {
    font-size: 18px;
    font-weight: 600;
    color: var(--blue);
}

.thankyou-text .accent {
    margin-top: 25px;
    font-weight: 700;
}

.cta {
    margin-top: 35px;
    color: var(--blue);
}

.btn_th {
    background-color: var(--beige-background);
    color: var(--blue);
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.thankyou-image {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

.thankyou-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}
.loading-overlay {
    border-radius: 16px;
    position: absolute;
    display: none;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.7);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #d2d8f5;
    border-top: 4px solid var(--blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
