.managed-home-ad .pick-photo,
.managed-home-ad .act-mini-photo {
  position: relative;
}

.book-cards.has-managed-home-ads > .act-mini:not([data-managed-ad]) {
  display: none !important;
}

.home-ad-empty-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed !important;
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: #8a95a7;
  cursor: default;
  box-shadow: none !important;
  transform: none !important;
}

.pick-card.home-ad-empty-card {
  min-height: 320px;
}

.how-section .book-cards .act-mini.home-ad-empty-card {
  min-height: 112px;
}

.pick-card.home-ad-empty-card:hover,
.how-section .book-cards .act-mini.home-ad-empty-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
  transform: none !important;
}

.home-ad-empty-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.4;
}

.home-ad-disclosure {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 4px;
  background: rgba(17, 24, 39, .78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}

.act-mini .home-ad-disclosure {
  top: 5px;
  left: 5px;
  min-height: 18px;
  padding: 2px 5px;
  font-size: 9px;
}

.home-ad-photo-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbe7ff, #eef3fb 55%, #d9e1ef);
  color: #5870a7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.managed-home-ad .act-mini-meta {
  justify-content: space-between;
  min-width: 0;
}

.managed-home-ad .act-mini-rating {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.managed-home-ad .act-mini-price {
  flex: 0 0 auto;
  font-size: 11px;
  white-space: nowrap;
}
