a.brxe-max-random-image {
  display: inline-block; }

figure.brxe-max-random-image {
  margin: 0; }

:where(.brxe-max-random-image).tag {
  display: inline-block;
  height: fit-content;
  position: relative;
  width: auto; }

:where(.brxe-max-random-image).caption {
  position: relative; }

:where(.brxe-max-random-image).overlay {
  position: relative; }

:where(.brxe-max-random-image).overlay:before {
  bottom: 0;
  content: '';
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0; }

:where(.brxe-max-random-image) a {
  transition: inherit; }

:where(.brxe-max-random-image) img {
  border-radius: inherit;
  height: 100%;
  position: static !important;
  transition: inherit;
  width: 100%; }

:where(.brxe-max-random-image) img.bricks-lazy-hidden + figcaption {
  display: none; }

:where(.brxe-max-random-image) .icon {
  color: #fff;
  font-size: 60px;
  pointer-events: none;
  position: absolute;
  right: 50%;
  text-align: center;
  top: 50%;
  transform: translate(50%, -50%);
  z-index: 5; }

:where(.brxe-max-random-image) .bricks-image-caption {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.25) 70%, transparent);
  bottom: 0;
  color: #fff;
  font-size: inherit;
  margin: 0;
  padding: 10px 15px;
  pointer-events: none;
  position: absolute !important;
  text-align: center;
  width: 100%;
  z-index: 1; }
