@import url("owner-guide-draft.css");

/* Inherit the active How-to-Buy layout and its responsive process structure. */
.how-to-buy-redesign .non-resident-guide .stage-prose {
  min-width: 0;
  overflow-wrap: break-word;
}

/* The introduction shares the prose alignment, without a numbered marker. */
.how-to-buy-redesign .non-resident-guide .nr-introduction .stage-content {
  grid-column: 2;
}

.how-to-buy-redesign .non-resident-guide .context-route {
  margin-top: 0;
  padding-block: 0;
  border-top: 0;
  border-bottom: 0;
}

@media (max-width: 900px) and (orientation: portrait) {
  .how-to-buy-redesign .non-resident-guide .context-route {
    padding-block: 1.15rem;
    border-top: 1px solid var(--warm-soft);
    border-bottom: 1px solid var(--line);
  }
}

/* Keep a readable prose column plus a compact resource rail in landscape. */
@media (min-width: 640px) and (max-width: 1100px) and (orientation: landscape) {
  .how-to-buy-redesign .non-resident-guide {
    --gutter: 1.25rem;
  }

  .how-to-buy-redesign .non-resident-guide .process-stage__grid {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 1rem;
  }

  .how-to-buy-redesign .non-resident-guide .stage-content__layout {
    grid-template-columns: minmax(0, 1fr) 10rem;
    gap: 1.5rem;
  }

}
/* Investment/Financing's resource treatment, scoped to this draft only. */

.how-to-buy-redesign .non-resident-guide .page-opening__image::after {
  content: none;
}

@media (min-width: 1121px) {
  .how-to-buy-redesign .non-resident-guide .page-opening h1 {
    max-width: none;
  }

  .non-resident-guide .nr-title-line {
    display: block;
    white-space: nowrap;
  }
}

/* Batch 5I: the approved two-line title within the existing landscape hero. */
@media (min-width: 640px) and (max-width: 950px) and (max-height: 430px) and (orientation: landscape) {
  .how-to-buy-redesign .non-resident-guide .page-opening h1 {
    max-width: none;
    font-size: clamp(2rem, 4.3vw, 2.5rem);
  }

  .non-resident-guide .nr-title-line {
    display: block;
    white-space: nowrap;
  }
}
