/**
 * Email page — why section cards (mobile only).
 * Single source of truth; loaded after mobile-product.css.
 */
@media (max-width: 1024px) {
  /* Card shell — SMS styles.css applies border globally; email why rules are desktop-only */
  .email-page .why-card {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box;
  }

  /* Colored inner bands — desktop why rules are scoped to min-width 1025px */
  .email-page .why-card--peach .why-card__media {
    background-color: var(--peach-card, #faebe6) !important;
  }

  .email-page .why-card--green .why-card__media {
    background-color: var(--green-card, #e8fae6) !important;
  }

  .email-page .why-card--blue .why-card__media {
    background-color: var(--blue-card, #e6f0fa) !important;
  }

  .email-page.sms-page .why-card:nth-child(1) .why-card__media,
  .email-page.sms-page .why-card:nth-child(2) .why-card__media,
  .email-page.sms-page .why-card:nth-child(3) .why-card__media,
  .email-page.sms-page .why-card__media--email-4 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: calc(100% - 20px) !important;
    height: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;
    padding: 0 !important;
    margin: 8px auto 0 !important;
    overflow: hidden !important;
    box-sizing: border-box;
    line-height: 0;
    border-radius: 12px;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .email-page.sms-page .why-card:nth-child(1) .why-card__media img,
  .email-page.sms-page .why-card:nth-child(2) .why-card__media img,
  .email-page.sms-page .why-card:nth-child(3) .why-card__media img {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    display: block !important;
    transform: translateX(-50%) !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  .email-page.sms-page .why-card:nth-child(1) .why-card__media img {
    width: 136% !important;
    max-width: none !important;
    max-height: 172px !important;
    height: auto !important;
  }

  .email-page.sms-page .why-card:nth-child(3) .why-card__media img {
    max-width: 112% !important;
    max-height: 148px !important;
  }

  .email-page.sms-page .why-card:nth-child(2) .why-card__media img {
    max-width: 118% !important;
    max-height: 148px !important;
  }

  /* Card 4 only — fill media band (contain + width:auto kept art tiny on wide PNG) */
  .email-page.sms-page .why-card--email-4 .why-card__media img.why-card__img--email-4,
  .email-page.sms-page img.why-card__img--email-4 {
    position: absolute !important;
    left: 50% !important;
    bottom: -50px !important;
    top: auto !important;
    width: 128% !important;
    max-width: none !important;
    height: 185px !important;
    min-height: 148px !important;
    max-height: none !important;
    margin: 0 !important;
    display: block !important;
    transform: translateX(-50%) !important;
    object-fit: cover !important;
    object-position: center 68% !important;
  }
}
