.bpt-image-wrap {
  position: relative !important;
  display: inline-block !important;
  max-width: 100%;
  line-height: 0;
  vertical-align: middle;
}

.bpt-image-wrap > img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bpt-download-button {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 5;
  display: inline-block;
  padding: 8px 12px;
  border: 0;
  border-radius: 5px;
  background: #222;
  color: #fff !important;
  font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none !important;
  opacity: .92;
  cursor: pointer;
  line-height: 1.2;
}

.bpt-download-button:hover,
.bpt-download-button:focus-visible {
  background: #b23a55;
  color: #fff !important;
  opacity: 1;
}

.bpt-share-wrap {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 6;
  display: inline-block;
  font: 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bpt-share-button {
  padding: 8px 12px;
  border: 0;
  border-radius: 5px;
  background: #b23a55;
  color: #fff;
  font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.bpt-share-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  display: flex;
  min-width: 130px;
  flex-direction: column;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
  line-height: 1.3;
}

.bpt-share-menu[hidden] {
  display: none;
}

.bpt-share-menu a,
.bpt-share-menu button {
  display: block;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #222 !important;
  font: 500 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
}

.bpt-share-menu a:hover,
.bpt-share-menu button:hover,
.bpt-share-menu a:focus-visible,
.bpt-share-menu button:focus-visible {
  border-radius: 4px;
  background: #f5e9ec;
  color: #b23a55 !important;
}

.bpt-copy-button {
  display: inline-block;
  margin: 0 0 0 8px;
  padding: 4px 9px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #f7f7f7;
  color: #333;
  font: 600 12px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  vertical-align: middle;
  cursor: pointer;
}

.bpt-copy-button:hover,
.bpt-copy-button:focus-visible {
  border-color: #b23a55;
  background: #fff;
  color: #b23a55;
}

@media (max-width: 600px) {
  .bpt-download-button {
    left: 7px;
    bottom: 7px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .bpt-share-wrap {
    right: 7px;
    bottom: 7px;
  }
}
