/* Offers stay separate from artwork so their complete terms can expire safely. */
.apr-customer-offer,
.adv-customer-offer-preview {
  box-sizing: border-box;
  min-width: 0;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(240, 180, 36, .34);
  border-radius: 10px;
  background: rgba(240, 180, 36, .08);
  text-align: left;
}
.apr-customer-offer .apr-customer-offer-label,
.adv-customer-offer-preview .adv-customer-offer-label {
  display: block;
  color: #f0b424;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.4;
  text-transform: uppercase;
  -webkit-line-clamp: unset;
}
.apr-customer-offer .apr-customer-offer-text,
.adv-customer-offer-preview [data-offer-preview-text] {
  display: block;
  margin: 4px 0 0;
  color: #f7f9fc;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
  max-height: none;
  -webkit-line-clamp: unset;
}
.apr-web-sponsor-card.has-customer-offer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
}
.apr-web-sponsor-card.has-customer-offer > .apr-customer-offer {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}
.apr-web-sponsor-card.has-customer-offer:not(:has(> img)) > .apr-web-sponsor-copy {
  grid-column: 1 / -1;
}
.apr-customer-offer.is-expired { visibility: hidden; pointer-events: none; }
.apr-weekly-copy > .apr-customer-offer { width: 100%; }
.apr-weekly-copy .apr-customer-offer-label { color: #76520c; }
.apr-weekly-copy .apr-customer-offer-text { color: #12335d; margin-top: 4px !important; }
.adv-customer-offer {
  min-width: 0;
  margin: 4px 0;
  padding: 18px;
  border: 1px solid rgba(240, 180, 36, .4);
  border-radius: 14px;
  background: rgba(240, 180, 36, .04);
}
.adv-customer-offer legend { padding: 0 8px; font-weight: 750; color: #76520c; }
.adv-customer-offer legend span { font-weight: 400; font-size: 13px; color: #485569; }
.adv-customer-offer > .adv-check { display: flex; gap: 10px; align-items: center; }
.adv-customer-offer > .adv-check input { flex: 0 0 auto; width: 20px; height: 20px; }
.adv-customer-offer-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.adv-customer-offer-fields .full { grid-column: 1 / -1; }
.adv-customer-offer-fields label { min-width: 0; }
.adv-customer-offer small { display: block; color: #485569; font-size: 12px; line-height: 1.55; }
.adv-customer-offer p { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #485569; }
.adv-customer-offer .adv-customer-offer-pos { margin: 0; padding: 12px; background: #edf2f8; border-radius: 9px; }
.adv-customer-offer-pos strong { display: block; color: #071832; }
.adv-customer-offer .adv-customer-offer-status { color: #76520c; }
.adv-customer-offer-preview .adv-customer-offer-label { color: #f0b424; }
.adv-customer-offer-preview [data-offer-preview-text] { color: #f7f9fc; }
.mock-card.has-customer-offer-preview:has([data-offer-preview]:not([hidden])) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}
.mock-card.has-customer-offer-preview > .adv-customer-offer-preview {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}
.mock-card.has-customer-offer-preview:has([data-offer-preview]:not([hidden])) .mock-copy::after {
  top: 48px;
}
.adv-customer-offer-status:empty { display: none; }
.adv-customer-offer-preview[hidden],
.adv-customer-offer-fields[hidden] { display: none !important; }
@media (max-width: 600px) {
  /* Permit the existing portal grid to shrink on narrow phone screens. */
  .adv-grid:has([data-offer-editor]) { grid-template-columns: minmax(0, 1fr); }
  .adv-customer-offer { padding: 14px; }
  .adv-customer-offer-fields { grid-template-columns: minmax(0, 1fr); }
}
