
.contacts-info.wp-block-group.alignmiddle {
    margin: 58px auto 62px;
    gap: 30px;
}

.contacts-info_item .subtitle {
    color: #F55B41;
    font-size: 12px;
    line-height: 24px;
    font-family: 'Century Gothic Bold';
    text-transform: uppercase;
    letter-spacing: 2.4px;
    margin-bottom: 8px;
}

.contacts-info_item .text {
    max-width: 86%;
}

.contacts-info_item .text p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 17px;
}

.contacts-info_item .text p a {
    width:100%;
    display: inline-block;
}

.contacts-info_item .text p span {
    width:100%;
}

.contacts-map_outer {
    height: 600px;
    margin-bottom: 110px;
}

.contacts-map_left.wp-block-column {
    flex-basis: 38% !important;
    flex-grow: unset !important;
    padding: 50px 90px 50px 100px;
    background: url(../../img/contacts-pattern.png) left center  no-repeat, #24226A;
    border-radius: 5px 0 0 5px;
    position:relative;
}

.contacts-map_right.wp-block-column {
    width: 62% !important;
    flex-grow: unset !important;
    height: 100%;
    flex-basis: 62% !important;
}

.contacts-page .h2 {
    font-size:40px;
    color:#fff;
    line-height: 49px;
    margin-bottom: 72px;
    max-width: 95%;
    letter-spacing: 0.8px;
}

.contacts-page .h2 .tab-li {
    margin: 20px 0 0 0;
}

.contacts-page .h2 .tab-li li {
    position: relative;
    display:inline-block;
    color:#fff;
    padding: 0 0 10px 0;
    margin: 0 0 11px 0;
    cursor:pointer;
    letter-spacing: 0.8px;
}

.contacts-page .h2 .tab-li li:before {
    content:'';
    width: 100%;
    position: absolute;
    bottom: 2px;
    left: 0;
    height: 4px;
    background: url(../../img/k-line.svg) 0 0 repeat;
    border-radius: 0 0 12px 12px;
}

.contacts-page .h2 .tab-li li.active {
    color:#F55B41;
}
.contacts-page .h2 .tab-li li.active:before,
.contacts-page .h2 .tab-li li:hover:before {
    content:'';
    background: #F55B41;
}

.contacts-map_outer .wp-block-button__link {
    margin:0;
    background:#fff;
    color:#24226A;
}

.contacts-map_outer .wp-block-button__link:after {
    content: url(../../img/arrow-blue.svg);
}

.transport-ul {
    width: 100%;
    margin: 50px 0 0 0;
    gap: 10px;
}

.transport-ul li {
    color:#fff;
    position:relative;
    font-size: 18px;
    line-height: 28px;
    font-family: 'Century Gothic Bold';
    cursor: pointer;
}

.transport-ul li:after {
    content:url(../../img/quest-white.svg);
    position: relative;
    top: 3px;
    margin-left: 9px;
}

.transport-ul li.active:after,
.transport-ul li:hover:after{
    content:url(../../img/quest-red.svg);
}

.contacts-map_tab {
    display:none;
    position: relative;
    height: 100%;
    width: 100%;
}

.contacts-map_tab.active {
    display:block;
}

.contacts-map_tab .map {
    border-radius: 0 5px 5px 0;
    overflow:hidden;
    height: 100%;
    width: 100%;
}

.transport-tab_wrapper {
    position:absolute;
    width: 430px;
    padding: 32px 0;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
}

.transport-tab_wrapper.active {
    z-index:1;
}

.transport_tab {
    display:none;
    background: #fff;
    border-radius: 5px;
    position: relative;
    padding: 30px 40px 10px 40px;
}

.transport_tab.active {
    display:block;
}

.transport_tab .subtitle {
    color: #24226A;
    font-size: 18px;
    line-height: 28px;
    font-family: 'Century Gothic Bold';
    margin: 0 0 25px 0;
}

.transport_tab .subtitle.metro:before {
    content:url(../../img/metro.svg);
    margin: 0 7px 0 0;
}

.transport_tab .close {
    background: url(../../img/close-modal.svg) center / 12px 12px no-repeat;
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    top: 1px;
    right: 1px;
    padding: 10px;
    cursor: pointer;
}

.transport_tab .text {
    font-size: 16px;
    line-height: 28px;
    padding: 0 0 0 25px;
}

.transport_tab .text ul {
    list-style:none;
}

.transport_tab .text p,
.transport_tab .text ul li{
    margin: 0 0 20px 0;
    position:relative;
}

.transport_tab .text p:before,
.transport_tab .text ul li:before{
    content: '—';
    position:absolute;
    left: -26px;
    top: 0;
}

.contacts-map_tab .map iframe {
    width: 100%;
    aspect-ratio: unset;
    height: 100%;
}

.contacts-map_outer .wp-block-button__link:before{
    background: #f55b41;
    content:'';
}

.contacts-map_outer .wp-block-button__link:hover {
    color:#fff;
}

.contacts-map_outer .wp-block-button__link:hover:after {
    content: url(../../img/arrow-right.svg);
}

.mobile.wp-block-button {
    display:none;
}

.mobile.transport-ul {
    display: none !important;
}

.region-map {
    padding: 80px 0 134px;
    background: url(../../img/map.png) center no-repeat;
}

.region-map .h2 {
    color: #24226A;
    font-size: 40px;
    line-height: 48px;
}

.region-wrapper {
    width: 100%;
    border-radius: 5px;
    flex-wrap: wrap;
    border: 1px solid #D6D6E3;
    position:relative;
    padding-bottom: 2px;
}

.region-wrapper:after {
    background: #f55b41;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    content: "";
    height: 5px;
    position: absolute;
    right: 0;
    width: 100%;
    bottom:0;
}

.region-wrapper .region {
    flex-basis: calc(100% /3) !important;
    height:142px;
    display:flex;
    align-items:flex-end;
    padding: 26px 26px 20px 26px;
    color: #24226A;
    font-family: 'Century Gothic Bold';
    font-size: 14px;
    line-height: 26px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

@media screen and (min-width: 767px) {
    .region-wrapper .region:nth-child(-n+6) {
        border-bottom: 1px solid #D6D6E3 !important;
    }

    .region-wrapper .region:nth-child(1),
    .region-wrapper .region:nth-child(2),
    .region-wrapper .region:nth-child(4),
    .region-wrapper .region:nth-child(5),
    .region-wrapper .region:nth-child(7),
    .region-wrapper .region:nth-child(8) {
        border-right: 1px solid #D6D6E3 !important;
    }
}

@media screen and (max-width: 767px) {
    .region-wrapper .region {
        flex-basis: 50% !important;
        display: flex;
        justify-content: center;
        padding: 23px 7px !important;
        height: 64px !important;
        text-align: center;
        align-items: center;
    }

    .region-wrapper .region:nth-child(odd) {
        border-right: 1px solid #D6D6E3 !important;
    }

    .region-wrapper .region:nth-last-child(n+2) {
        border-bottom: 1px solid #D6D6E3 !important;
    }

    .region-wrapper .region:last-child {
        flex-basis: 100% !important;
    }
}

.ymaps-2-1-79-controls__toolbar_left,
.ymaps-2-1-79-map-copyrights-promo {
    display:none;
}

.join-contacts {
    height: 421px;
    margin-bottom: -105px !important;
}

.join-contacts .wp-block-columns {
    margin:0 !important;
    height: 100%;
}

.join-contacts .wp-block-columns .wp-block-column {
    height:100%;
    background: #EBEBF8;
    display:flex;
    align-items:center;
    justify-content: center;
    flex-basis: 50%!important;
}

.join-contacts .wp-block-columns .wp-block-column img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.join-contacts .wp-block-columns .wp-block-column .h2 {
    max-width: 530px;
    margin-bottom: 75px;
	color: #24226a;
	letter-spacing: normal;
}