/* Approved November campaign: a dismissible square over a blurred site. */
html.bemco-promotion-open,
html.bemco-promotion-open body { overflow: hidden; }
.bemco-promotion {
  position: fixed;
  inset: 0;
  width: min(calc(100vw - 32px), calc(100vh - 32px), 820px);
  width: min(calc(100vw - 32px), calc(100dvh - 32px), 820px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #092c49;
  color: #fff;
  box-shadow: 0 16px 70px #0008;
  overflow: hidden;
  aspect-ratio: 1;
}
.bemco-promotion::backdrop {
  background: rgb(7 22 32 / 58%);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.bemco-promotion-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.bemco-promotion-close {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #092c49;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 12px #0005;
}
.bemco-promotion-close:hover { background: #b42332; }
.bemco-promotion-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bemco-promotion-close svg { width: 22px; height: 22px; pointer-events: none; }
.bemco-promotion-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media print {
  .bemco-promotion, .bemco-promotion::backdrop { display: none !important; }
  html.bemco-promotion-open, html.bemco-promotion-open body { overflow: visible; }
}
