@import "../css/pages/home.css";
:root {
    --fz16:1.9vh;
    --fz18:2.1vh;
    --fz20:2.4vh;
    --fz25:3.8vh;
    --fz30:3.6vh;
    --fz40:4.8vh;
    --fz50:6vh;
    --fz60:7.1vh;
    --familyMont:"Montserrat";
    --c-black:#101010;
    --c-white:#FFFFFF;
    --c-dBlue:#12707C;
    --c-wBlue:#B3D8E0;
    --p-col:#C9EAED;
    --cont:84vw;
    --cont-p:1.79vh;
    --headerHeight:7.1vh;
}

/**
** Form Styles
**/

body.showZapis,
body.showZapisZamer {
    overflow: hidden;
}
.zf_krest {
    position: absolute;
    top: var(--fz30);
    right: var(--fz30);
    width: var(--fz30);
    height: var(--fz30);
    transition: 0.3s;
    cursor: pointer;
}
.zf_krest svg path {
    transition: .3s;
}
/*!* Базовые стили: изначально элементы скрыты *!
[class*="anim-"] {
    opacity: 0;
    transition: all .5s;
}*/
/* Когда появляется класс 'visible', включаем анимацию */
/*.anim-fade-up.visible     { opacity: 1; transform: translateY(0); }
.anim-fade-down.visible   { opacity: 1; transform: translateY(0); }
.anim-fade-left.visible   { opacity: 1; transform: translateX(0); }
.anim-fade-right.visible  { opacity: 1; transform: translateX(0); }
.anim-scale-in.visible    { opacity: 1; transform: scale(1); }
.anim-rotate-in.visible   { opacity: 1; transform: rotate(0deg); }

!* Начальные состояния для анимаций *!
.anim-fade-up{ transform: translateY(50px); }
.anim-fade-down{ transform: translateY(-50px); }
.anim-fade-left{ transform: translateX(-50px); }
.anim-fade-right{ transform: translateX(50px); }
.anim-scale-in{ transform: scale(0.8); }
.anim-rotate-in{ transform: rotate(15deg); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 1s; }
.duration-1 { transition-duration: 0.6s; }
.duration-2 { transition-duration: 1s; }
.duration-3 { transition-duration: 1.4s; }
.duration-4 { transition-duration: 2.4s; }*/
.razbivka_title {
    text-align: center;
}
.page-template-page-reviews #hero {
    height: 100%;
}
.page-template-page-reviews #form {
    margin-top: unset;
}
.razbiv {
    display: flex;
    flex-direction: column;
}
.course-kursy-acca {
    order: 1;
}
.course-uroven-strategicheskogo-professionala {
    order: 2;
}
.course-kursy-cima {
    order: 3;
}
.course-ekzameny-cima {
    order: 4;
}
.prsw_right > *,
.prswr_video > *,
.story_item{
    height: 100%;
    display: block;
}
.story_item img{
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.wrap_rafa {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 1vw;
    margin-top: var(--fz40);
}
.wrap_rafa + .wrap_rafa {
    margin-top: 8vh;
}
.course-kursy-cima .crs_wr {
    display: block;
}
body.showZapis .zapis_modal,
body.showZapisZamer .zapis_zamer {
    visibility: visible;
    opacity: 1;
}
.zapis_modal,
.zapis_zamer {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.zm_bg {
    background-color: rgba(0, 0, 0, 0.6666666667);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.fancybox-slide--video .fancybox-content {
    width: max-content !important;
}
.innr_zf {
    background: linear-gradient(180deg, #003744 0%, #0D5464 100%), #0D5464;
    padding: var(--fz30) var(--fz40) var(--fz30);
    border-radius: 5px;
    position: relative;
}
.zapis_zamer .cf7-submit input,
.zapis_zamer .cf7-submit {
    width: 100%;
}
.zapis_zamer .cf7-title p {
    font-size: var(--fz30);
}
.zapis_zamer .cf7-subtitle p {
    font-size: var(--fz18);
}
.zapis_zamer .acceptance {
    flex-direction: column;
    align-items: flex-start;
    margin-top: var(--fz30);
}
.zapis_zamer .cf7-row p > span textarea {
    width: 100%;
    background-color: var(--c-white);
    border-radius: 30px;
    padding: 20px;
    resize: none;
}
.pl_desc ul,
.crsw_btneet ul {
    padding-left: 2vh;
    margin-top: 1vh;
    list-style: disc;
}
.pl_desc ul li,
.crsw_btneet ul li {
    font-size: 2vh;
    color: var(--c-white);
    font-weight: 500;
    line-height: 1.2;
}
.pl_desc ul li + li,
.crsw_btneet ul li + li {
    margin-top: 1vh;
}
.zapis_modal .acceptance {
    margin-top: unset;
}
.zapis_modal .cf7-submit input {
    width: 100%;
}
.zapis_modal .innr_zf {
    border-radius: 20px;
}
.zapis_modal .acceptance .cf7-submit {
    width: 100%;
    margin-top: var(--fz20);
}
.zapis_modal .acceptance {
    flex-direction: column;
    align-items: flex-start;
}
.zapis_modal .cf7-row input,
.zapis_modal .cf7-row p > span {
    width: 100%;
}
.zapis_modal .cf7-row p {
    flex-direction: column;
    gap: 1vh;
}
.zapis_zamer .cf7-row p > span {
    width: 100%;
}
.zapis_zamer .innr_zf {
    border-radius: 20px;
}
.zapis_zamer .cf7-row p {
    flex-direction: column;
    gap: 1vh;
}
.zapis_form {
    max-height: 100%;
    overflow-y: auto;
    z-index: 1;
    position: relative;
    max-width: 600px;
}
.otherNewsSwiper {
    margin-top: var(--fz40);
}
.burger {
    display: none;
}
h2 {
    font-size: var(--fz50);
    color: var(--c-white);
    font-weight: bold;
    line-height: 1.2;
}
h3 {
    color: var(--c-white);
    line-height: 1.2;
    font-size: var(--fz25);
    font-weight: bold;
}
h4 {
    font-size: var(--fz20);
    color: var(--c-white);
    font-weight: bold;
    line-height: 1.3;
}
.adv_title {
    max-width: 30%;
}
.mtop_little {
    margin-top: 8.5vh;
}
.mtop_medium {
    margin-top: 20vh;
}
.mtop_tiny {
    margin-top: 12.6vh;
}
.mtop {
    margin-top: 15.5vh;
}
.container {
    width: calc(100% - var(--cont-p) * 2);
    max-width: var(--cont);
    margin-left: auto;
    margin-right: auto;
}
/*BODY*/
body {
    background-color: #003744;
}
/**
* Header
**/
.custom-logo-link {
max-width: 13vh;
max-height: 10vh;
}
.in_social {
    width: var(--fz20);
    height: var(--fz20);
}
.in_social img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.custom-logo-link img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.inn_header {
    display: flex;
    align-items: center;
    padding: .5vh 6vh .6vh;
    background: rgba(59, 59, 59, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    height: 100%;
    position: relative;
}
.inn_header:after {
    content: "";
    position: absolute;
    inset: 0;
    width:100%;
    padding: 1px; /* толщина рамки */
    border-radius: 50px; /* такой же радиус как у .header */
    background: linear-gradient(90deg, rgba(13,84,100,1.000) , rgba(13,84,100,0), rgba(13,84,100,0)); /* твой градиент */
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}
.header {
    height: var(--headerHeight);
    position: fixed;
    left: 0;
    right: 0;
    top: 1vh;
    z-index: 999;

}
.main-menu {
    display: flex;
    gap: 6vh;
    align-items: center;
    margin-left: auto;
}
.int {
    display: flex;
    align-items: center;
    margin-left: 4vh;
}
.in_tels {
    display: flex;
    flex-direction: column;
    gap:.71vh;
    margin-left: 1.6vh;
}
.in_socials {
    margin-left: auto;
    display: flex;
    gap: 1vh;
    align-items: center;
}
.gt_float_switcher .gt_options.gt-open {
    transform: translate(-4vh, 1vh) !important;
    background-color: var(--c-white) !important;
    border-radius: 0 0 5px 5px !important;
}
.gt_float_switcher {
    box-shadow: unset !important;
    background-color: unset !important;
}
.gt_float_switcher .gt-selected {
    background-color: unset !important;
}
.gt_float_switcher img {
    display: none !important;
}
.gt_float_switcher-arrow {
    display: none !important;
}
.gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    font-size: var(--fz16) !important;
    color: var(--c-white) !important;
}
.gt_float_switcher .gt-selected .gt-current-lang {
    padding: 0 !important;
}
.gt_float_switcher .gt_options {
    position: fixed !important;
}
.in_langs {
    display: flex;
    gap: .8vh;
    align-items: center;
    margin-left: 4vh;
}
.in_langs svg {
    width: 2vh;
    height: 2vh;
}
.in_tel {
    color: var(--c-white);
    font-size: var(--fz18);
    line-height: 1.2;
}
.menu-link {
    font-size: var(--fz20);
    color: var(--c-white);
}
/*ADVANTAGES*/
.adv_elems {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(3,1fr);
    --elems: 3;
    margin-top: 4.8vh;
    gap: var(--gap);
    --gap: 2vh;
}
.adv_elem  {
    height:38vh;
    padding:3.8vh;
    background: linear-gradient(180deg, #003744 0%, #0D5464 100%), #144B58;
    border-radius: 20px;
}
.adve_head {
    display:flex;
    gap:var(--fz30);
    align-items:flex-start;
}
.adve_body p {
    font-size:var(--fz18);
    color:var(--p-col);
    line-height:1.3;
    margin-top:4vh;
}
.adveh_img {
    padding: var(--fz20);
    background-color: var(--c-dBlue);
    border-radius: var(--fz40);
}
.adveh_img img {
    width: var(--fz40);
    height: var(--fz40);
}
#advantages {
    position: relative;
    overflow: visible;
}
#advantages:after {
    content: '';
    position: absolute;
    width: 80vh;
    height: 80vh;
    background: #039AA8;
    opacity: 0.4;
    filter: blur(200px);
    top: -50%;
    right: 0;
    z-index: -1;
}
/*PRIDE*/
.pride_bx {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.pride_bx:after {
    content: '';
    position: absolute;
    width: 43vw;
    height: 100%;
    left: 0px;
    background: linear-gradient(270deg, #003744 20.67%, rgba(0, 55, 68, 0) 100%);
    transform: matrix(-1, 0, 0, 1, 0, 0);
    z-index: 3;
    top: 0;
    pointer-events: none;
}
.pride_bx:before {
    content: '';
    position: absolute;
    width: 43vw;
    height: 100%;
    right: 0;
    background: linear-gradient(270deg, #003744 20.67%, rgba(0, 55, 68, 0) 100%);
    top: 0;
    z-index: 3;
    pointer-events: none;
}
/*.pride_sw {
    width: 100%;
}*/
.pride_prev,
.pride_next {
    min-width: var(--fz50);
    min-height: var(--fz50);
    max-height: var(--fz50);
    max-width: var(--fz50);
    position: absolute;
    top: 50%;
    z-index: 4;
    cursor: pointer;
}

.pride_next svg,
.pride_prev svg {
    transition: .3s;
    border: 0 solid transparent;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: 1px solid transparent;
    outline-color: transparent;
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 100%;
}
.pride_next svg rect,
.pride_prev svg rect {
    transition: .4s;
}
.pride_next svg path,
.pride_prev svg path {
    transition: .4s;
}

.pride_prev {
    left: var(--fz30);
}
.pride_next {
    right: var(--fz30);
}

.pride_slide {
    width: 81vh !important;
    height: 56vh !important;
}
.pride_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pride_wrap {
    max-width: 100vw;
    margin: 0 auto;
    overflow: hidden;
}

.pride_swiper {
    width: 100%;
    padding: 40px 0; /* чтобы были видны соседние слайды */
}

.pride_slide {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: auto; /* фикс ширина для slidesPerView: 'auto' */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.pride_slide img {
    display: block;
    width: 100%;
    height: 100%;
}
.pride_title  {
    text-align: center;
}
/*ACCA*/
.acca_wrap {
    display:flex;
    background: #144B58;
    border-radius: 30px;
    position:relative;
    overflow:hidden;
    z-index:2;
}
.acca_wrap:after {
    content:'';
    position: absolute;
    width: 50%;
    height: 100%;
    right:0;
    top:0;
    bottom:0;
    z-index:1;
    background: #039AA8;
    opacity: 0.8;
    filter: blur(200px);
}
.accaw_right {
    position:relative;
    z-index:2;
}
.accaw_left {
    position:relative;
    z-index:2;
}
.accawr_img {
    width:40vw;
    height:66vh;
}
.accawr_img img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.accaw_left {
    padding:9.4vh;
}
.accaw_left p {
    font-size:var(--fz18);
    color:var(--c-wBlue);
    line-height:1.3;
    margin-top:var(--fz30);
}
/*TEACHERS*/
.teacher_title {
    text-align:center;
}
.teacher_wrap {
    margin-top:var(--fz40);
    display:grid;
    grid-template-columns:repeat(5,1fr);
    grid-gap:var(--fz40) var(--fz20);
}
.twi_img {
    height:41vh;
    border-radius:var(--fz18);
    overflow:hidden;
}
.twi_img img {
    width:100%;
    height:100%;
    object-fit:cover;
}
h5 {
    font-size:var(--fz18);
    color:var(--c-white);
    font-weight:bold;
    line-height:1.3;
}
.twib_title {
    text-align:center;
    margin-top:1.6vh;
}
.twib_desc {
    font-size:var(--fz16);
    color:var(--c-wBlue);
    line-height:1.3;
    margin-top:1.2vh;
    text-align:center;
}
/*FAQ*/
.faq_body {
    display: none;
}
#news {
    position: relative;
    z-index: 2;
}

#faq {
    background-image: url('/wp-content/uploads/2025/07/faqss_bg.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 15.7vh 0 0;
}
.wpcf7-not-valid-tip {
    line-height: 1.2;
}
.faq_title {
    text-align:center;
}
.faq_wrap {
    margin-top:var(--fz60);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: var(--fz20);
}
.faq_item {
    background-color: #144B58;
    border-radius:var(--fz40);
    padding: var(--fz16) var(--fz16) var(--fz16) var(--fz50);
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: column;
}

.faq_question {
    font-size:var(--fz18);
    color:var(--c-white);
    font-weight:bold;
    cursor:pointer;
    width: 100%;
    gap: var(--fz30);
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.3;
}
.faq_answer {
    margin-top:var(--fz20);
    max-width: 85%;
    margin-bottom: var(--fz20);
}
.faq_vopobtn {
    margin: var(--fz30) auto 0;
}
.scourse_title {
    max-width: 40%;
}
.faq_answer p {
    font-size:var(--fz16);
    color:var(--c-wBlue);
    line-height:1.3;
}
.faq_plus {
    opacity: 0;
    height:100%;
    visibility: hidden;
    transition: .3s;
    position: absolute;
}
.faq_minus {
    transition: .3s;
    position: absolute;
    height: 100%;
}
.faq_btn {
    display: flex;
    align-items: center;
}
.faq_btn svg {
    border: 1px solid transparent;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: 1px solid transparent;
    outline-color: transparent;
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 100%;
}
.faq_btn svg g path {
    transition: .3s;
}

.faq_item.active .faq_plus {
    opacity: 1;
    height: 100%;
    visibility: visible;
}
.faq_item.active .faq_minus {
    opacity: 0;
    height: 0;
    visibility: hidden;
}
.faq_btns {
    position: relative;
    height: 7.8vh;
    width: 7.8vh;
    display: flex;
    justify-content: flex-end;
}
.btn_route svg path {
    fill: white;
}
.btn_route svg {
    width: var(--fz20);
    height: var(--fz20);
}
.btn_route {
    position: absolute;
    top: unset;
    z-index: 99999999;
    display: flex;
    gap: 1vh;
    padding: 2vh;
    border-radius: 8px;
    color: white;
    bottom: 0;
    left: unset;
    right: var(--fz30);
    font-size: var(--fz18);
}
/*NEWS*/
.news_grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: var(--gap);
    margin-top: var(--fz40);
    --gap: var(--fz20);
    flex-wrap: wrap;
}
.news_card  {
    display: flex;
    flex-direction: column;
}
.news_image {
    border-radius: 8px;
    overflow: hidden;
    min-height: 24vh;
    max-height: 24vh;
}
.news_card {
    padding:var(--fz16) var(--fz16) var(--fz20) var(--fz16);
    background-color:#144B58;
    border-radius:20px;
    height:55vh;
}
.news_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
    transform: scale(1);
}

.news_card_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.news_content {
    margin-top:1.9vh;
    height: 100%;
}
.news_card_excerpt {
    font-size:var(--fz16);
    color:var(--c-wBlue);
    margin-top:var(--fz20);
    line-height: 1.2;
}
.news_svg {
    max-width: var(--fz20);
    margin-left: .3vh;
}
.news_content {
    height:100%;
    display: flex;
    flex-direction: column;
}
.news_card_footer a {
    font-size:var(--fz16);
    line-height:1.2;
    color:var(--c-white);
    display: flex;
    align-items: center;
    gap: .3vh;
}
.news_date {
    font-size:2.2vh;
    color:var(--c-wBlue);
}
.news_card_footer a svg {
    width: var(--fz20);
    height: var(--fz20);
}
.news_image a {
    border-radius: 6px;
    overflow: hidden;
}
.news_title {
    text-align: center;
}
/*FORM*/
.form {
    background-image: url('/wp-content/uploads/2025/07/form_svg.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 30px;
    overflow: hidden;
}
.form_wrap {
    display: flex;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    justify-content: space-between;
}

.news_loadmore {
    font-size:var(--fz18);
    text-decoration: underline;
    color: var(--c-white);
    margin-top:var(--fz40);
    margin-left: auto;
    margin-right: auto;
    width: max-content;
    margin: var(--fz40) auto 0;
    cursor: pointer;
    transition: .3s;
}

.news_section  {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.formwr_img {
    height: 65vh;
    width: 100%;
}
.formw_right {
    width: 40vw;
}
.formwr_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.form_cf7 {
    padding: var(--fz60) 0 var(--fz60) var(--fz60);
    width: calc(100% - 40vw);
}

.custom-dropdown {
    position: relative;
    width: 100%;
}
.cf7-row p br {
    display: none;
}
.cf7-row p {
    display: flex;
    gap: var(--fz20);
}
.cf7-row input::placeholder {
    color: var(--c-grey);
}
.cf7-row input {
    border: none;
    border-radius: var(--fz50);
    height: var(--fz60);
    background-color: var(--c-white);
    color: var(--c-black);
    font-family: "Montserrat";
    padding: 0 var(--fz20);
    width: 100%;
    font-size: var(--fz18);
}

.custom-dropdown-selected {
    background: #fff;
    border-radius: 50px;
    height: var(--fz60);
    cursor: pointer;
    padding: 0 var(--fz20);
    font-size: var(--fz18);
}
.custom-dropdown-list {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-radius: 12px;
    max-height: 20vh;
    overflow-y: auto;
    z-index: 100;
}
.custom-dropdown-list.active {
    display: block;
}
.custom-dropdown-item {
    padding: 10px 20px;
    cursor: pointer;
    font-size: var(--fz18);
}

.cf7-drops br {
    display: none;
}
.custom-dropdown-selected svg {
    width: var(--fz16);
}
.custom-dropdown-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cf7-title p {
    font-size:var(--fz50);
    color:var(--c-white);
    font-weight:bold;
    line-height:1.2;
}
.form_wrap {
    align-items:flex-end;
}
.cf7-subtitle p {
    color:var(--c-wBlue);
    line-height:1.2;
    margin-top:1.2vh;
    font-size:var(--fz20);
}
.cf7-row {
    margin-top:1.8vh;
}
.cf7-drops {
    margin-top:var(--fz30);
    display:flex;
    gap:var(--fz20);
    flex-wrap: wrap;
}
.cf7-drops > p {
    display:none;
}
.custom-dropdown {
    width:100%;
}
.custom-dropdown-selected svg {
    width: var(--fz16);
    min-width: var(--fz16);
}
.cf7-row p > span {
    width:calc(100% / 2);
}
.cf7-submit input {
    border:none;
    font-family:"Montserrat";
    font-weight:400;
    font-size:var(--fz18);
    margin: 0;
}
span.wpcf7-list-item-label {
    font-size:var(--fz16);
    color:var(--c-wBlue);
    line-height:1.2;
}
.acceptance {
    display: flex;
    gap: var(--fz30);
    margin-top: var(--fz50);
    align-items: center;
}
#form {
    position: relative;
    overflow: visible;
}
#form:after {
    content: '';
    position: absolute;
    width: 80vh;
    height: 80vh;
    background: #039AA8;
    opacity: 0.4;
    filter: blur(200px);
    top: -50%;
    right: 0;
    z-index: -1;
}
.wpcf7-list-item input[type="checkbox"] {
    width: var(--fz20);
    height: var(--fz20);
    margin: 0;
}
.wpcf7-list-item label {
    display: flex;
    gap: 1vh;
}
.wpcf7-not-valid-tip {
    font-size: var(--fz20);
    margin-top: 1vh;
}
.wpcf7-list-item {
    margin: 0 !important;
}
.wpcf7-spinner {
    height: 0!important;
    position: absolute!important;
}
form.submitting .wpcf7-spinner {
    height: var(--fz20) !important;
    width: var(-fz20) !important;
    position: relative !important;
}
/*MAP*/
.contacts-section {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Растягиваем дочерние элементы по высоте */
    min-height: 500px; /* Минимальная высота секции */
    background-color: #004747; /* Темно-бирюзовый фон, как на картинке */
    color: #ffffff; /* Белый текст */
    padding: 40px 20px;
    box-sizing: border-box; /* Учитываем padding в общей ширине/высоте */
}

.details-container {
    flex: 1; /* Занимает доступное пространство */
    padding-right: 40px; /* Отступ справа от карты */
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px; /* Ограничиваем ширину контейнера с деталями */
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #ffffff;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #ffffff;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info p i {
    margin-right: 15px;
    font-size: 1.3em;
    color: #ffffff; /* Белые иконки */
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    color: #ffffff; /* Белый цвет иконок */
    font-size: 2em;
    margin-right: 20px;
    transition: color 0.3s ease;
}



.map-container {
    flex: 1; /* Занимает доступное пространство */
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 400px; /* Минимальная ширина для карты */
}

#yandex-map {
    width: 100%;
    height: 80vh;
    border-radius: 8px;
    overflow: hidden;
    filter: invert(100%) hue-rotate(180deg) brightness(80%) contrast(100%);
    invert(100%) - инвертирует цвета (белый становится черным и наоборот)
    hue-rotate(180deg) - меняет оттенок на противоположный, чтобы скорректировать цвета после инверсии
    brightness(80%) - уменьшает яркость для более темного вида
    contrast(100%) - сохраняет контраст
}
.footer {
    background-color: #003333; /* Еще более темный оттенок бирюзового для футера */
    color: #cccccc; /* Светло-серый текст */
    padding: 15px 20px;
    text-align: center;
    font-size: 0.9em;
}

.copyright {
    display: flex;
    justify-content: space-between;
}
.details-container-wrapper {
    width: calc(var(--cont) / 2);
    max-width: calc(var(--cont) / 2);
    padding: 0 var(--cont-p);
    box-sizing: border-box;
    flex-shrink: 0;
}
.fwr_map {
    width: 100%;
}

.footer_wrap {
    display: flex;
    min-height: 80vh;
    --right:93vw;
    --left:29.6vw;
}
.fw_left {
    min-width: var(--left);
}
.fw_right {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - var(--left));
    position: absolute;
    right: 0;
}
#footer {
    position: relative;
}
.fwr_map {
    position: relative;
}
.fwr_map:after  {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: radial-gradient(50% 50% at 50% 50%, rgba(0, 55, 68, 0) 0%, #003744 100%);
    pointer-events: none; /* ВОТ ЭТО КЛЮЧЕВОЕ СВОЙСТВО */
    z-index: 1;
}

.fw_left {
    padding-top:var(--fz50);
}
.fwl_tels {
    display: flex;
    flex-direction: column;
    gap:0.5vh;
    margin-top:var(--fz40);
}
.fwl_tels .in_tel {
    font-size:var(--fz20);
}
.footer_bot {
    border-top:2px solid #0D5464;
    margin-top: var(--fz50);
}

.fwl_mail,
.fwl_adress,
.fwl_rejim{
    font-size: var(--fz20);
    color: var(--c-wBlue);
    margin-top:var(--fz30);
    line-height: 1.2;
}
.fwl_tels .in_tel {
    font-size: var(--fz20);
    color: var(--c-wBlue);
}
.fwl_socials {
    display: flex;
    gap:var(--fz30);
    margin-top:var(--fz30);
}
.fwl_socials .in_tel {
    padding:var(--fz16);
    background-color: var(--c-white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    border: 0 solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: 1px solid;
    outline-color: rgba(255, 255, 255, .5);
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.fwl_socials .in_tel img {
    width:  4.2vh;
    height: 4.2vh;
    transition: .3s;
}
.fw_left {
    position: relative;
    z-index: 4;
}
.fwl_adress {
    max-width: 60%;
}

.fb_wrap {
    padding:var(--fz50) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color:var(--c-white);
}
.fb_left {
    font-size:var(--fz18);
    transition:.3s;
}
.fb_right {
    font-size:var(--fz16);
    transition:.3s;
}

/*PAGE COURSES*/
#courses {
    position: relative;
}
#courses:after {
    content: '';
    position: absolute;
    width: 40vh;
    height: 40vh;
    background: #039AA8;
    opacity: 0.4;
    filter: blur(200px);
    bottom: -53%;
}
.courses {
    position: relative;
    z-index: 2;
}
.phero {
    padding-top: calc(var(--headerHeight) + var(--fz50));
    display: flex;
    gap:3vw;
}
h1 {
    font-size:var(--fz60);
    color:var(--c-white);
    line-height: 1.2;
    font-weight: bold;
}
.phero_left {
    padding-top:var(--fz60);
}
.pl_desc p {
    padding-left: 13vh;
    max-width: 80%;
    padding-top: 6vh;
    color:var(--c-white);
    font-size:var(--fz20);
    line-height: 1.3;
}
.crs_wr {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 1.13vw;
    margin-top: var(--fz40);
}
.crsw_item {
    height: 57vh;
    position: relative;
    padding: var(--fz50);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    background-origin: border-box;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 0;
    cursor: pointer;
}
.crsw_item:after {
    content: '';
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0) 50%, #1C1C1C 100%);
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.crswi_btn {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}
.page-template-page-courses .crswi_btn {
    align-items: flex-start;
}
.page-template-page-courses #hero .phero {
    position: relative;
    z-index: 22;
}
.page-template-page-courses #hero {
    height: 100%;
}
.crswi_btn svg {
    width: var(--fz30);
    height: var(--fz30);
    margin-left: auto;
}
.crswi_btns {
    position: absolute;
    right: var(--fz20);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: max-content;
    top: var(--fz20);
    z-index: 10;
    width: var(--fz50);
    height: var(--fz50);
}
.crswi_btn.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.crswi_btn {
    cursor: pointer;
}

.crswi_desc {
    display: none;
    position: relative;
    z-index: 2;
    padding-bottom: var(--fz50);
}
.crswi_desc p {
    font-size: var(--fz20);
    color: var(--c-white);
    line-height: 1.3;
    margin-top: var(--fz20);
    text-align: center;
}
.page-template-page-courses .crswi_title {
    padding-bottom: var(--fz30);
}
.crswi_title {
    position: relative;
    z-index: 3;
}
.crsw_btneet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.crsw_close {
    display: none;
}
.crsw_item.active:before {
    height: 100%;
    bottom: 0;
}
.crsw_item:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
    background: rgba(28, 28, 28, 0.8);
    backdrop-filter: blur(5px);
    transition: all .2s;
}
/*TAXONOMY COURSES*/
.tax-format_courses #hero {
    height: 100%;
}
header .header__mobile {
    display: none;
}
.tax-format_courses .pr_img {
    width: 38vw;
}
.tax-format_courses .pl_desc p {
    max-width: 100%;
    color: #B3D8E0;
}
.dn {
    display: none;
}
.tax-format_courses .pr_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-group .courses-list > div {
    width: calc((100% - var(--gap) * (var(--elems) - 1)) / var(--elems));
}

.courses-list .crsw_item {
    padding:var(--fz30);
    height: 75vh;
    display: flex;
    flex-direction: column;
}
.course-group + .course-group {
    margin-top: 18vh;
}
.courses-list .crswi_title {
    text-align: left;
    height: 100%;
    display: flex;
    width: 100%;
    flex-direction: column;
}
.courses-list .btn {
    margin-top:50px;
}

/*.single-courses #hero {
    height: 100%;
}*/
.single-courses .inn_hero {
    padding-bottom: calc(var(--headerHeight) + 5vh);
}
.courses-list .crswi_desc p {
    text-align: left;
}
.crswitb_price{
    margin-top: auto;
    font-size: var(--fz20);
    font-weight: bold;
    color: var(--c-white);
    line-height: 1.2;
}
.crswit_bx p {
    color: #B9B9B9;
    font-size: var(--fz20);
    line-height: 1.2;
    margin-top: 1vh;
}

.courses-list .crsw_btneet {
    height:max-content;
    align-items: flex-start;
    padding-right: 1vh;
}
.courses-list .crsw_item::after {
    background: linear-gradient(180deg, rgba(5, 10, 11, 0.8) 0%, rgba(5, 10, 11, 0) 50%, rgba(5, 10, 11, 0.8) 100%);

}
.courses-list .crsw_item.active .crswi_desc {
    height: 100%;
    overflow-y: auto;
}
.courses-list .crswi_btns {
    top: unset;
    bottom: var(--fz20);
    z-index: 10;
    right: var(--fz40);
}
.courses-list .crsw_item.active {
    justify-content: space-between;
}
.courses-list .crsw_item.active .crswi_title {
    height: max-content;
}
.courses-list .crsw_item.active .crswitb_price {
    display: none;
}
.course-ekzameny-acca .crs_wr {
    grid-template-columns: repeat(2,1fr);
}
.course-ekzameny-cima .crs_wr {
    grid-template-columns: repeat(2,1fr);
}
/*SINGLE COURSE*/
.single-courses .pr_img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: calc(85% / 2);
}
.single-courses .phero {
    padding-top: unset;
    height: 100%;
}
.single-courses .ph_bx {
    height: 100%;
    position: relative;
    z-index: 3;
}

.single-courses .phero:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, #003744 60%, rgba(0, 55, 68, 0) 100%);
    z-index: 2;
}
.single-courses .phero_left {
    position: relative;
    height: 100%;
    width: calc(100% / 2 + 20vh);
}

.single-courses .pl_desc p {
    max-width: 85%;
}
.single-courses .pr_img:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: -30vh;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #004452 50%, rgba(0, 55, 69, 0.7) 50%);
    position: absolute;
    filter: blur(30vh);
}
.single-courses .pr_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*PRICES*/
#prices .crsw_item {
    height: 30vh;
}



.sw_item {
    padding:0 var(--fz40) var(--fz40);
    background: linear-gradient(180deg, #003744 0%, #0D5464 100%), #0D5464;
    border-radius: 30px;
}
.single-courses .sw_item .btn {
    width:100%;
}
.swi_body > p > strong {
    font-size:3.4vh;
    line-height:1.2;
    color:var(--c-white);
    font-weight: bold;
    margin-top:1vh;
    display: block;
}
.swi_body {
    margin-top:5.6vh;
}
.swi_body > p {
    font-size:var(--fz16);
    color:var(--c-wBlue);
    line-height: 1.2;
}
.swi_body > p + p:nth-child(odd) {
    margin-top:var(--fz30);
}
.swi_head .crsw_item{
    position: relative;
}
.swi_head .crsw_item .crswi_title {
    position: absolute;
    top:.6vh;
    left:.6vh;
    background: rgba(59, 59, 59, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: .7vh 1.7vh;
}
.swi_head .crsw_item .crswi_title .crswit_bx h3 {
    font-size: 2vh;
    font-weight: bold;
    line-height: 1.2;
    display: flex;
    gap: .7vh;
}
.swi_head .crsw_item .crswi_btns .crswi_btn {
    align-items: center;
}
.swi_head .crsw_item .crswi_btns .crswi_btn svg {
    height: 100%;
}
.swi_head .crsw_item .crswi_btns {
    top:0;
}
.swi_head .crsw_item .crswi_title .crswit_bx h3 svg {
    width: var(--fz20);
    height:var(--fz20);
}
.pride_swiperr .pride_slide {
    width: 110vh !important;
}

.page-template-page-reviews .pride_wrap {
    width: 100%;
}
.page-template-front-page #pride {
    padding-bottom: unset;
}
#pride {
    padding-bottom: 28vh;
}
.page-template-page-reviews .pride_slide {
    border-radius: 30px;
    background-color: #144B58;
}
.page-template-page-reviews .pride_bx::before {
    background: linear-gradient(270deg, #003744 20.67%, rgba(0, 55, 68, 0) 50%);
}
.page-template-page-reviews .pride_bx::after {
    background: linear-gradient(270deg, #003744 20.67%, rgba(0, 55, 68, 0) 50%);
}
.page-template-page-reviews .pride_bx {
    margin-top: var(--fz40);
}

.prs_wr {
    display: flex;
    align-items: flex-start;
    height: 100%;
    z-index: 35;
    position: relative;
}
.prsw_left {
    height: 100%;
    padding: var(--fz50);
    display: flex;
    flex-direction: column;
}
.prswl_top h5 {
    font-size: var(--fz30);
    line-height: 1.2;
    font-weight: 700;
}
.prswl_top p {
    margin-top:var(--fz30);
    font-size:var(--fz20);
    color: var(--c-white);
    line-height: 1.3;
}
.prswl_bot p {
    font-size:var(--fz18);
    line-height: 1.3;
    color: var(--c-white);
}
.prswl_bot p strong {
    font-weight: bold;
}
.prswl_bot {
    margin-top:auto;
}
.prsw_right {
    min-width: 22vw;
    height: 100%;
}
.prswr_img {
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
}
.prswr_img img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
/*NEWS*/
.hero_mini {
    padding-top: calc(var(--headerHeight) + 8vh);
    padding-bottom: 10vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.page-template-page-news .news_title {
    display: none;
}
.hidden {
    display: none;
}
.single-post .hero_mini {
    padding-bottom: 22vh;
}
/*SINGLE POST*/

.ng_right .formw_right {
    display: none;
}
.ng_right .form_cf7 {
    width: 100%;
    padding:var(--fz40);
}
.ng_right .cf7-row {
    flex-direction: column;
    display: flex;
}
.ng_right .cf7-row p {
    display: flex;
    flex-direction: column;
}
.ng_right .cf7-drops {
    display: flex;
    flex-direction: column;
}
.ng_right .cf7-row p > span {
    width:100%;
}
.ng_right .acceptance {
    flex-direction: column;
    align-items: flex-start;
}
.ng_right .acceptance .cf7-submit {
    width: 100%;
}
.ng_right .cf7-submit input {
    width: 100%;
}

.news_single {
    display: flex;
    gap: 10vw;
    align-items: flex-start;
}
.ng_right {
    width:32vw;
}
.ng_right #form {
    margin-top:unset;
}
.ng_left {
    width: calc(100% - 32vw - 10vw);
}
.ng_right .form {
    width: 100%;
    margin: unset;
}
#single_news {
    padding-top:var(--fz60);
}
.ng_right #form::after {
    display: none;
}
.ngl_img {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}
.ngl_img img {
    display: block;
    width: 100%;
    height: 50vh;
    object-fit: cover;
}
.ngl_content {
    margin-top:var(--fz40);
}
.ngl_content p {
    font-size:var(--fz20);
    line-height: 1.4;
    color: var(--c-wBlue);
}
.ngl_content p + p {
    margin-top:var(--fz20);

}

.ng_right .cf7-row p {
    gap: 1vh;
}
.ng_right .cf7-drops {
    gap: 1vh;
    margin-top:1vh;
}
.ng_right .acceptance {
    margin-top:var(--fz30);
}
.ng_right .cf7-title p {
    font-size: var(--fz40);
    max-width: 70%;
}
.ng_right .form {
    background-image: url('/wp-content/uploads/2025/07/forma.svg');
}
.course-group {
    position: relative;
    z-index: 2;
}
.iht_title {
    position: relative;
    min-height: 40vh; /* подбери под высоту блока */
    overflow: visible;
}

.ihtt_bx {
    display: none; /* будет управляться через fadeIn/fadeOut */
}

.ihtt_bx img {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.ihtt_bx.active img {
    transform: translateY(0);
    opacity: 1;
}
