/* 30-Day Free Trial page: Media + Text block, text column beside a media column of at most 300px. */
@layer page {
  .media-text {
    display: flex;
    margin: 0 -17px;
    font-size: 17px;
    line-height: 1.5em;
  }

  .media-text-media,
  .media-text-body {
    padding: 0 17px;
  }

  .media-text-body {
    flex: 1;
  }

  .media-text-media {
    flex: 0 1 300px;
    text-align: center;
  }

  .media-text-media img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: top;
  }

  .media-text-body :is(h1, h2, h3) {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2em;
    color: var(--color-accent);
  }

  .media-text-body p {
    margin-top: 1em;
  }

  .media-text-body a {
    color: inherit;
  }

  .media-text-body strong {
    font-weight: 700;
  }

  /* The trial artwork carries ~44px of built-in whitespace above the icon;
     pull it up so the icon sits beside the heading. */
  .page-30-day-free-trial .media-text-media {
    margin-top: -24px;
  }

  /* Stack the text above the image on narrow screens. */
  @media (max-width: 769px) {
    .media-text {
      flex-direction: column;
    }

    .media-text-media,
    .page-30-day-free-trial .media-text-media {
      flex: none;
      margin-top: 1em;
    }
  }
}

/* Trim the section's bottom padding to match the original page. Lives in
   `overrides` because it adjusts the shared Content Section component. */
@layer overrides {
  .page-30-day-free-trial .content-section .interior {
    padding-bottom: 28px;
  }
}
