.yd_map_simple {
--ydm-block-bg: transparent;
--ydm-h: 360px;
--ydm-radius: 12px;
--ydm-pad-t: 0px;
--ydm-pad-b: 40px;
--ydm-card-bg: rgba(255, 255, 255, 0.78);
--ydm-card-blur: 12px;
--ydm-card-text: #111111;
--ydm-card-muted: rgba(17, 17, 17, 0.72);
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
margin-top: var(--ydm-pad-t);
margin-bottom: var(--ydm-pad-b);
padding-top: 0;
padding-bottom: 0;
}
.yd_map_simple.has-block-bg {
background-color: var(--ydm-block-bg);
}
.yd_map_simple.is-full-bleed {
width: 100vw;
max-width: 100vw;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
box-sizing: border-box;
}
.yd_map_simple__inner {
max-width: 1120px;
margin: 0 auto;
width: 100%;
padding-left: 20px;
padding-right: 20px;
box-sizing: border-box;
min-width: 0;
}
.yd_map_simple.is-full-bleed .yd_map_simple__inner {
max-width: none;
padding-left: 0;
padding-right: 0;
}
.yd_map_simple__viewport {
position: relative;
width: 100%;
max-width: var(--ydm-w, 100%);
margin-left: auto;
margin-right: auto;
height: var(--ydm-h);
border-radius: var(--ydm-radius);
overflow: hidden;
background: #e8eaed;
box-shadow: none;
}
.yd_map_simple.has-shadow .yd_map_simple__viewport {
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.yd_map_simple__canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.yd_map_simple__canvas iframe,
.yd_map_simple__canvas > div,
.yd_map_simple__canvas > ymaps {
display: block;
width: 100% !important;
height: 100% !important;
border: 0;
max-width: none;
}
.yd_map_simple__cover {
position: absolute;
inset: 0;
z-index: 2;
margin: 0;
padding: 0;
background: #dfe3e8;
color: inherit;
text-align: center;
pointer-events: none;
}
.yd_map_simple.is-loaded .yd_map_simple__cover {
display: none;
}
.yd_map_simple.is-cover-only .yd_map_simple__cover,
.yd_map_simple.is-cover-only.is-loaded .yd_map_simple__cover {
display: flex;
}
.yd_map_simple__coverHit {
position: absolute;
inset: 0;
z-index: 2;
margin: 0;
padding: 0;
border: 0;
cursor: pointer;
background: transparent;
appearance: none;
-webkit-appearance: none;
display: block;
text-decoration: none;
color: inherit;
pointer-events: auto;
}
.yd_map_simple__coverHit:focus-visible {
outline: none;
box-shadow: inset 0 0 0 3px rgba(37, 99, 235, 0.35);
}
.yd_map_simple__coverActions {
position: absolute;
z-index: 3;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
pointer-events: none;
width: max-content;
max-width: calc(100% - 32px);
}
.yd_map_simple__coverImg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
display: block;
}
.yd_map_simple__coverTint {
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
background: var(--ydm-tint-color, #000);
opacity: var(--ydm-tint-o, 0.1);
}
.yd_map_simple__coverFallback {
position: absolute;
inset: 0;
background:
linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.08)),
repeating-linear-gradient(
-12deg,
transparent,
transparent 10px,
rgba(15, 23, 42, 0.03) 10px,
rgba(15, 23, 42, 0.03) 20px
);
}
.yd_map_simple__coverBtn {
position: relative;
z-index: 2;
display: inline-flex;
align-items: center;
gap: 10px;
padding: 12px 18px;
border-radius: 999px;
border: 0;
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
font-size: 15px;
font-weight: 700;
line-height: 1.2;
color: #111;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
pointer-events: auto;
cursor: pointer;
font-family: inherit;
transition: transform 160ms ease, box-shadow 160ms ease;
}
.yd_map_simple__coverBtn:hover,
.yd_map_simple__coverBtn:focus-visible {
transform: translateY(-1px);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.yd_map_simple__coverBtn:focus-visible {
outline: none;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35), 0 10px 28px rgba(0, 0, 0, 0.2);
}
.yd_map_simple__coverLink {
position: relative;
z-index: 2;
display: inline-flex;
align-items: center;
gap: 8px;
max-width: min(280px, 100%);
padding: 10px 16px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.86);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
font-size: 14px;
font-weight: 600;
line-height: 1.2;
color: #111;
text-decoration: none;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
pointer-events: auto;
transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.yd_map_simple.is-cover-only:not(.has-card) .yd_map_simple__coverHit:hover ~ .yd_map_simple__coverActions .yd_map_simple__coverLink,
.yd_map_simple.is-cover-only:not(.has-card) .yd_map_simple__coverHit:focus-visible ~ .yd_map_simple__coverActions .yd_map_simple__coverLink,
.yd_map_simple__coverLink:hover,
.yd_map_simple__coverLink:focus-visible {
transform: translateY(-1px);
background: rgba(255, 255, 255, 0.96);
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}
.yd_map_simple__coverLink:focus-visible {
outline: none;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35), 0 8px 22px rgba(0, 0, 0, 0.16);
}
.yd_map_simple__coverLinkLabel {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.yd_map_simple__coverLinkIco {
width: 14px;
height: 14px;
flex: 0 0 auto;
display: inline-flex;
}
.yd_map_simple__coverLinkIco svg {
display: block;
}
.yd_map_simple__coverIco {
width: 18px;
height: 18px;
flex: 0 0 auto;
border-radius: 50%;
background: #2563eb;
position: relative;
}
.yd_map_simple__coverIco::after {
content: "";
position: absolute;
top: 50%;
left: 52%;
width: 0;
height: 0;
border-style: solid;
border-width: 5px 0 5px 8px;
border-color: transparent transparent transparent #fff;
transform: translate(-40%, -50%);
}
.yd_map_simple__card {
position: absolute;
z-index: 3;
left: 12px;
right: 12px;
top: 12px;
bottom: auto;
max-width: none;
padding: 14px 16px;
border-radius: 12px;
background: var(--ydm-card-bg);
color: var(--ydm-card-text);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
backdrop-filter: blur(var(--ydm-card-blur, 0px));
-webkit-backdrop-filter: blur(var(--ydm-card-blur, 0px));
box-sizing: border-box;
pointer-events: auto;
max-height: calc(100% - 24px);
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.yd_map_simple__cardTitle {
font-size: 16px;
font-weight: 700;
line-height: 1.3;
margin: 0 0 6px;
}
.yd_map_simple__cardText {
font-size: 14px;
line-height: 1.45;
color: var(--ydm-card-muted);
overflow-wrap: anywhere;
word-break: break-word;
}
.yd_map_simple__cardText picture,
.yd_map_simple__cardText img {
display: block;
max-width: 100%;
height: auto;
margin: 0 0 10px;
}
.yd_map_simple__cardText .logo-container {
margin: 0 0 12px;
}
.yd_map_simple__cardText .logo-container img {
max-height: 48px;
width: auto;
margin: 0;
}
.yd_map_simple__cardText .company-name {
margin: 0 0 4px;
font-size: 16px;
font-weight: 700;
line-height: 1.25;
color: var(--ydm-card-text);
}
.yd_map_simple__cardText .company-subtitle {
margin: 0 0 12px;
font-size: 13px;
line-height: 1.35;
}
.yd_map_simple__cardText .address {
margin: 0 0 12px;
font-style: normal;
font-size: 14px;
line-height: 1.45;
}
.yd_map_simple__cardText .schedule-section,
.yd_map_simple__cardText .contacts-section {
margin: 0 0 12px;
}
.yd_map_simple__cardText .schedule-section:last-child,
.yd_map_simple__cardText .contacts-section:last-child {
margin-bottom: 0;
}
.yd_map_simple__cardText .schedule-title {
margin: 10px 0 2px;
font-size: 13px;
font-weight: 700;
line-height: 1.35;
color: var(--ydm-card-text);
}
.yd_map_simple__cardText .schedule-title:first-child {
margin-top: 0;
}
.yd_map_simple__cardText .phone-link {
display: block;
margin: 4px 0 0;
font-weight: 600;
}
.yd_map_simple__cardText a {
color: inherit;
text-decoration: underline;
text-underline-offset: 2px;
}
.yd_map_simple__cardText p {
margin: 0 0 0.4em;
}
.yd_map_simple__cardText p:last-child {
margin-bottom: 0;
} .yd_map_simple.has-card .yd_map_simple__viewport {
display: flex;
flex-direction: column;
align-items: stretch;
}
.yd_map_simple.has-card .yd_map_simple__canvas,
.yd_map_simple.has-card .yd_map_simple__cover {
position: absolute;
inset: 0;
}
.yd_map_simple.has-card .yd_map_simple__card {
position: relative;
z-index: 4;
flex: 0 1 auto;
left: auto;
right: auto;
width: auto;
margin: 12px 12px 0;
max-height: min(calc(var(--ydm-h) - 96px), 72vh);
}
.yd_map_simple.has-card .yd_map_simple__coverActions {
position: relative;
z-index: 4;
left: auto;
top: auto;
transform: none;
margin: 18px 12px 14px;
align-self: center;
}
@media (min-width: 768px) {
.yd_map_simple {
--ydm-h: 420px;
}
.yd_map_simple__inner {
padding-left: 24px;
padding-right: 24px;
}
.yd_map_simple.is-full-bleed .yd_map_simple__inner {
padding-left: 0;
padding-right: 0;
}
.yd_map_simple.has-card .yd_map_simple__viewport {
display: block;
}
.yd_map_simple.has-card .yd_map_simple__coverActions {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
margin: 0;
}
.yd_map_simple.has-card .yd_map_simple__card {
position: absolute;
top: 20px;
bottom: auto;
margin: 0;
width: min(320px, calc(100% - 40px));
max-width: 320px;
max-height: calc(100% - 40px);
padding: 18px 20px;
}
.yd_map_simple.is-card-left .yd_map_simple__card {
left: 20px;
right: auto;
}
.yd_map_simple.is-card-right .yd_map_simple__card {
right: 20px;
left: auto;
}
.yd_map_simple__cardTitle {
font-size: 18px;
}
.yd_map_simple__cardText {
font-size: 15px;
}
}