.yd_map_simple {
--ydm-block-bg: transparent;
--ydm-h: 360px;
--ydm-radius: 12px;
--ydm-pad-t: 0px;
--ydm-pad-b: 28px;
--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;
padding-top: var(--ydm-pad-t);
padding-bottom: var(--ydm-pad-b);
margin-bottom: 40px;
}
.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;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
border: 0;
cursor: pointer;
background: #dfe3e8;
color: inherit;
text-align: center;
appearance: none;
-webkit-appearance: none;
}
.yd_map_simple.is-loaded .yd_map_simple__cover {
display: none;
}
.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;
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);
transition: transform 160ms ease, box-shadow 160ms ease;
}
.yd_map_simple__cover:hover .yd_map_simple__coverBtn,
.yd_map_simple__cover:focus-visible .yd_map_simple__coverBtn {
transform: translateY(-1px);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.yd_map_simple__cover:focus-visible {
outline: none;
}
.yd_map_simple__cover:focus-visible .yd_map_simple__coverBtn {
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35), 0 10px 28px rgba(0, 0, 0, 0.2);
}
.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;
bottom: 12px;
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;
}
.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);
}
.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;
}
@media (min-width: 768px) {
.yd_map_simple {
--ydm-h: 420px;
--ydm-pad-b: 36px;
}
.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__card {
top: 20px;
bottom: auto;
width: min(320px, calc(100% - 40px));
max-width: 320px;
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;
}
}