.dam-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, var(--dam-width, 970px));
  min-height: 0;
  margin: .75rem auto;
  overflow: visible;
}

.dam-slot--empty {
  display: none;
}

.rivax-posts-wrapper.layout-grid > .dam-slot {
  grid-column: 1 / -1;
}

.dam-slot__status {
  color: #667085;
  font-size: .8rem;
}

.dam-slot__label {
  position: static;
  order: 2;
  align-self: flex-start;
  margin-top: 3px;
  margin-left: max(0px, calc((100% - var(--dam-banner-width, 100%)) / 2));
  padding: 0;
  color: #667085;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: transparent;
  pointer-events: none;
}

.dam-slot__creative,
.dam-slot__creative img,
.dam-slot__creative iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.dam-slot__creative {
  order: 1;
  height: var(--dam-height, 90px);
  min-height: var(--dam-height, 90px);
}

.dam-slot__creative img {
  object-fit: contain;
}

.dam-slot__creative iframe {
  border: 0;
  height: var(--dam-height, 250px);
  pointer-events: none;
}

.dam-slot__textlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-height: 0;
  padding: .8rem 1rem;
  font-weight: 800;
}

@media (max-width: 1023px) {
  .dam-slot[data-dam-placement="sidebar_banner"] {
    display: none;
  }
}
