.erm-map {
    width: 100%;
    height: var(--erm-map-height, 500px);
    min-height: var(--erm-map-height, 500px);
    border-radius: var(--erm-border-radius, 12px);
    overflow: hidden;
}

.erm-map__notice {
    margin: 0;
}

.erm-marker {
    background: transparent;
    border: 0;
}

.erm-marker__pin {
    position: relative;
    width: 34px;
    height: 34px;
    background: var(--erm-marker-color, #3d874d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    transform: translateX(var(--erm-marker-offset-x, 0)) rotate(-45deg);
    transform-origin: 50% 50%;
}

.erm-marker__pin--left {
    transform: translateX(var(--erm-marker-offset-x, 0)) translateY(-2px) rotate(-57deg);
}

.erm-marker__pin--right {
    transform: translateX(var(--erm-marker-offset-x, 0)) translateY(2px) rotate(-33deg);
}

.erm-marker__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transform: rotate(45deg);
}

.erm-marker__pin--left .erm-marker__number {
    transform: rotate(57deg);
}

.erm-marker__pin--right .erm-marker__number {
    transform: rotate(33deg);
}

.erm-map .leaflet-popup-content-wrapper {
    border-radius: 0;
}

.erm-map .leaflet-popup-content {
    margin: 14px 16px;
}

.erm-popup strong {
    display: block;
    margin-bottom: 6px;
}

.erm-popup__description > *:first-child {
    margin-top: 0;
}

.erm-popup__description > *:last-child {
    margin-bottom: 0;
}

.erm-map__notice {
    padding: 14px 16px;
    border: 1px solid #dcdcde;
    background: #fff;
}

.erm-map__notice ul {
    margin: 8px 0 0 18px;
}

.erm-map__notice--info {
    margin-bottom: 12px;
}
