.rh-auto-promoted-placement {
  box-sizing: border-box;
  width: min(1240px, calc(100% - 28px));
  margin: 16px auto 22px;
  padding: 12px;
  border: 1px solid #ddd6fe;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #faf5ff 48%, #eff6ff);
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.12);
}
.rh-auto-promoted-placement.is-single {
  width: 100%;
  margin: 0 0 18px;
}
.rh-auto-promoted-intro {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 5px 9px;
}
.rh-auto-promoted-intro span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rh-auto-promoted-intro strong {
  color: #111827;
  font-size: 1rem;
}
.rh-auto-promoted-placement .rh-article-placement {
  margin: 8px 0;
  border-radius: 12px;
  box-shadow: none;
}
.rh-auto-promoted-placement .rh-article-placement > header {
  min-height: 42px;
  padding: 7px 12px;
}
.rh-auto-promoted-placement .rh-article-placement > header span {
  display: none;
}
.rh-auto-promoted-placement .rh-article-placement > header h2 {
  margin: 0;
  font-size: 1rem;
}
.rh-auto-promoted-placement .rh-article-placement-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}
.rh-auto-promoted-placement .rh-article-card {
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 100px;
}
.rh-auto-promoted-placement .rh-article-card-image {
  min-height: 100px;
}
.rh-auto-promoted-placement .rh-article-card-copy {
  padding: 9px;
}
.rh-auto-promoted-placement .rh-article-card-copy h3 {
  font-size: 0.88rem;
}
.rh-auto-promoted-placement .rh-article-card-copy p,
.rh-auto-promoted-placement .rh-read-more,
.rh-auto-promoted-placement .rh-article-author i {
  display: none;
}
.rh-auto-promoted-placement .rh-article-card-copy footer {
  padding-top: 5px;
  font-size: 0.68rem;
}
.rh-receipt-email {
  display: block !important;
  margin: 7px 0;
  color: #172033 !important;
  font-size: 0.78rem;
}
.rh-receipt-email b {
  display: inline !important;
}
.rh-article-promotion-offer.is-compact .rh-receipt-email {
  display: block !important;
}
.rh-article-placement-vip > header {
  background: linear-gradient(90deg, #9a6700, #e4aa20);
  color: #fff;
}
.rh-promotion-price-grid article.is-vip {
  border-top-color: #d6a11c;
}
.rh-promotion-price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .rh-promotion-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .rh-auto-promoted-placement {
    width: calc(100% - 16px);
    padding: 8px;
  }
  .rh-auto-promoted-placement.is-single {
    width: 100%;
  }
  .rh-auto-promoted-intro {
    align-items: flex-start;
    flex-direction: column;
  }
  .rh-auto-promoted-placement .rh-article-placement-grid {
    grid-template-columns: 1fr;
  }
}

/* 1.12: shelves inherit the same full-width editorial rows used in directories. */
.rh-auto-promoted-placement .rh-article-placement-grid{display:grid!important;grid-template-columns:1fr!important}.rh-auto-promoted-placement .rh-article-card{grid-template-columns:minmax(150px,24%) minmax(0,1fr);width:100%;min-height:160px}.rh-auto-promoted-placement .rh-article-card-image{min-height:160px}.rh-auto-promoted-placement .rh-article-card-copy{display:flex;flex-direction:column;padding:16px}.rh-auto-promoted-placement .rh-article-card-copy h3{font-size:clamp(1rem,1.8vw,1.3rem)}.rh-auto-promoted-placement .rh-article-card-copy p{display:-webkit-box}.rh-auto-promoted-placement .rh-article-card-copy footer{margin-top:auto}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image{display:block;min-height:260px}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy{width:min(720px,78%);min-height:260px}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy p{display:-webkit-box}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-author i{display:inline}.rh-auto-promoted-placement .rh-article-placement-premium{border-color:#6d28d9}.rh-auto-promoted-placement .rh-article-placement-featured{border-color:#087b70}
@media(max-width:700px){.rh-auto-promoted-placement .rh-article-card{grid-template-columns:100px minmax(0,1fr);min-height:145px}.rh-auto-promoted-placement .rh-article-card-image{min-height:145px}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy{width:100%;min-height:240px}}

/* 1.12.1: compact promoted shelves use regular listing proportions. */
.rh-auto-promoted-placement .rh-article-card{grid-template-columns:150px minmax(0,1fr);min-height:150px}.rh-auto-promoted-placement .rh-article-card-image{min-height:150px}.rh-auto-promoted-placement .rh-article-card-copy{padding:13px 15px}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image,.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy{min-height:150px!important}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy{justify-content:flex-start;width:min(680px,76%);padding:15px 18px}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy h3{font-size:clamp(1rem,1.8vw,1.3rem)}
@media(max-width:700px){.rh-auto-promoted-placement .rh-article-card{grid-template-columns:100px minmax(0,1fr);min-height:138px}.rh-auto-promoted-placement .rh-article-card-image{min-height:138px}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image,.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy{min-height:155px!important}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy{width:100%;padding:14px}}

/* 1.12.2: single-article shelves inherit the compact horizontal promoted-row pattern. */
.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image{display:grid!important;grid-template-columns:150px minmax(0,1fr);min-height:150px!important;background-image:none!important}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-image{display:grid!important;min-height:150px}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy{width:auto;min-height:150px!important;padding:13px 54px 13px 15px}.rh-auto-promoted-placement .rh-article-placement-grid .rh-article-card:after{top:8px;right:-37px}
@media(max-width:700px){.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image{grid-template-columns:100px minmax(0,1fr);min-height:138px!important}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-image{min-height:138px}.rh-auto-promoted-placement .rh-article-placement-top .rh-article-card.has-featured-image .rh-article-card-copy{width:auto;min-height:138px!important;padding:12px 40px 12px 12px}}
