/* Network pilot only: a third purchase purpose without changing DIVA's live popup. */
#offer-dialog .offer-purposes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#offer-dialog .offer-purpose:nth-of-type(3) { grid-column: 1 / -1; }
#offer-dialog .offer-purpose small { white-space: normal; line-height: 1.15; }
#offer-dialog .offer-eyebrow,
#offer-dialog .offer-subtitle { max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 701px) {
  #offer-dialog .offer-shell { height: min(760px, calc(100dvh - 32px)); }
  #offer-dialog .offer-content { overflow-y: auto; }
  #offer-dialog h2 { width: auto; max-width: 100%; white-space: pre-line; overflow-wrap: anywhere; transform: none; font-size: clamp(42px, 5vw, 56px); }
}
@media (max-width: 700px) {
  #offer-dialog {
    left: 0;
    right: auto;
    top: 12px;
    bottom: auto;
    margin: 0 0 0 12px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  #offer-dialog .offer-shell { max-height: calc(100dvh - 24px); overflow-y: auto; }
  #offer-dialog h2 { max-width: 100%; white-space: normal; overflow-wrap: anywhere; transform: none; font-size: clamp(29px, 8vw, 53px); }
  #offer-dialog .offer-subtitle { overflow-wrap: anywhere; }
}
