.wrapper__map{position: relative; height: 690px; overflow: hidden}
.map__content .widget__title{margin: 0; align-items: start;}
.map__content{position: absolute; top: 0; left: 50%; transform: translateX(-50%); max-width: 1290px; width: 100%; background: #fff; border-radius: 6px; padding: 60px; z-index: 1000; transition: all 0.3s ease;}
.map__contacts{display: flex; align-items: end; font-weight: 300; font-size: 15px; line-height: 1.6; color: #5B5C6C; gap: 30px; max-width: 635px; justify-content: space-between}
.map__contacts-list{display: flex; align-items: center; gap: 8px}
.map__contacts-phone{font-weight: 500; font-size: 18px; line-height: 23px; color: #1B2338; white-space: nowrap}
.map__content-top{display: flex; justify-content: space-between}
.map__image{border-radius: 6px; overflow: hidden}
.map__image img, .map__image picture{height:100%; object-fit:cover}
.map__caption{padding: 6px; background: #F4F6FA; border-radius: 6px; gap: 8px; display: flex; align-items: center; margin-top: auto;}
.map__caption li a{padding: 8px 16px; background: #FFFFFF; border-radius: 3px; font-weight: 300; font-size: 16px; line-height: 1.6; color: #616B8A; display: block; cursor: pointer;}
.map__caption li a:hover, .map__caption li a.active-address{color: #fff; background: #006CB5; box-shadow: 0px 4px 4px rgba(57, 111, 155, 0.34);}
.map__addresses{display: none; padding-top: 60px;}
.map__addresses.active-address{display: flex;}
.map__address-block{width: 25%; font-weight: 300; font-size: 13px; line-height: 17px; color: #616B8A; display: block; cursor: pointer;}
.map__address-title{display: flex; align-items: center; font-weight: 300; font-size: 15px; line-height: 1.2; color: #616B8A; gap: 8px; padding-bottom: 16px}
.map__address-phone{display: flex; flex-direction: column; gap: 12px 0; padding-bottom: 8px}
.map__address-phone span{display: block; font-weight: 500; font-size: 15px; line-height: 1.2; color: #1B2338;}
.map_close{position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); width: 200px; height: 30px; cursor: pointer; background: #fff; border-radius: 0 0 10px 10px; display: flex; align-items: center; justify-content: center; z-index: 1001}
.map_close.closed{ box-shadow: 0 10px 10px -5px rgba(0,0,0,0.2);}
.map_close_icon{background: url(/templates/window/images/menu-top-folder.svg) no-repeat center center; width: 14px; height: 14px; filter: grayscale(1) brightness(0); transition: transform 0.3s ease; transform: rotate(180deg);}
.map_close.closed .map_close_icon{filter: grayscale(1) brightness(0); transform: rotate(0deg);}
.ymaps-balloon{font-family: inherit;  border-radius:6px; padding:24px}
.ymaps-balloon__header{font-weight: bold; font-size: 16px; margin-bottom: 10px; color: #1B2338;}
.ymaps-balloon__address, .ymaps-balloon__manager{margin-bottom: 5px}
.ymaps-balloon__manager{font-weight: 300;font-size: 15px;line-height: 19px;color: #616B8A;}
.ymaps-balloon__phones{margin-top:24px; display:flex; align-items:center; gap:16px;}
.ymaps-balloon__phones a{display:flex; gap:4px; align-items:center; color: #006CB5; text-decoration: none; white-space:nowrap; font-weight: 500;font-size: 18px;line-height: 1.2;color: #1B2338;}
.ymaps-balloon__phones a svg{width:18px; height:auto}
.ymaps-2-1-79-balloon, .ymaps-2-1-79-balloon__content{padding:0 !important; box-shadow:none !important}
.ymaps-2-1-79-balloon__layout{border-radius:6px}
.ymaps-2-1-79-balloon__close+.ymaps-2-1-79-balloon__content{margin:0 !important}
.ymaps-balloon__address{font-weight: 500;font-size: 16px;line-height: 1.2;color: #1B2338}
@media(min-width:768px){
	#yandex-map{position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
	.map__content.minimized{transform: translateX(-50%) translateY(-95%); box-shadow: 0 0 10px 0px rgba(0,0,0,0.2);}
}
@media(max-width:1359px){
	.wrapper__map{height:520px}
	.map__content{max-width:930px; padding:30px}
	.map__image{max-width:240px}
	.map__contacts{font-size: 14px; line-height: 1.5; gap:20px}
	.map__content-top{gap:20px}
	.map__caption{margin-top:15px; padding: 4px; gap: 4px}
	.map__caption li a{padding: 6px 14px; font-size: 15px; line-height: 1.5}
	.map__caption li a:hover, .map__caption li a.active-address{color: #fff; background: #006CB5; box-shadow: 0px 4px 4px rgba(57, 111, 155, 0.34);}
	.map__addresses{padding-top:30px}
	.map__contacts-phone {font-weight: 700}
}
@media(max-width:1359px) and (min-width:992px){
	.map__address-title{font-size:14px; padding-bottom:12px}
	.map__address-phone {gap: 8px 0; padding-bottom: 5px}
}
@media(max-width:1359px) and (min-width:576px){
	.map__contacts-list .contact__soc{gap:8px}
	.map__contacts-list .contact__soc a{width:32px; height:32px}
	.map__contacts-phone {font-size: 16px;line-height: 22px}
}
@media(max-width:991px){
	.wrapper__map{height:580px}
	.map__content{max-width:690px; padding:30px}
	.map__addresses.active-address {flex-wrap: wrap; gap: 30px}
	.map__address-block {width: calc((100% - 30px) / 2);}
	.map__image{display:none}
}
@media(max-width:767px){
	.wrapper__map {height: auto;display: flex;flex-direction: column;background: #fff;}
	.map__content{position:relative;left:auto;right:auto;transform: translateX(0);order: 1;}
	#yandex-map{order:2; width:100%; height:400px}
	.map_close{display:none}
	.map__content{max-width:540px; padding:20px 15px; margin:0 auto}
}
@media(max-width:575px){
	.map__content{max-width:100%}
	.map__contacts{flex-wrap:wrap}
	.map__contacts-list{gap:20px}
	.map__contacts{gap:5px}
	.map__caption {margin-top: 5px;}
	.map__address-title {font-size: 12px;padding-bottom: 10px;}
	.map__address-phone {gap: 3px 0;padding-bottom: 3px;}
	.map__addresses.active-address {gap: 20px 15px;}
	.map__caption{width:100%}
	.map__caption li{flex:1 1 auto}
	.map__caption li a{text-align:center;padding: 5px 10px;font-size: 14px}
	.map__address-block {width: calc((100% - 15px) / 2);}
	.map__address-title svg{display:none}
	.map__address-phone span{font-size:14px}
	.ymaps-balloon{padding: 16px;}
    .ymaps-balloon__phones {flex-direction: column;align-items: flex-start;gap: 8px;}
    .ymaps-balloon__phones a {font-size: 16px;}
}