/* One main-heading scale for editorial inner pages. The homepage keeps its hero. */
.inner-page{--page-heading-size:64px;--inner-h2-max:48px;--inner-h3-max:32px}
:root .inner-page main h1{
  font-family:'Playfair Display',Georgia,serif;
  font-size:var(--page-heading-size);
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.035em;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
}
.inner-page main h1 em{font-size:inherit;line-height:inherit}
.inner-page .page-hero.split{height:auto;min-height:var(--hero-height);overflow:visible}
.inner-page .page-hero-copy{min-width:0}
.inner-page .page-hero-copy>p:last-child{margin-bottom:0}

/* FAQ height is driven by its introduction, not by a shared hero minimum. */
.inner-page .page-hero.split.faq-hero{height:auto;min-height:0}
.inner-page .page-hero.split.faq-hero .page-hero-copy{padding-block:24px;min-height:0}
.inner-page .faq-hero .page-hero-image{height:auto;min-height:0;aspect-ratio:auto}
.inner-page .faq-section.section-wrap{padding-top:24px;padding-bottom:48px}
.inner-page .faq-aside .faq-topics{margin:0 0 20px}
.inner-page .faq-aside{display:block}

/* Keep the split image, while bringing filters and articles into view sooner. */
.inner-page .page-hero.split.insights-hero{height:auto;min-height:clamp(360px,30vw,420px)}
.inner-page .page-hero.split.insights-hero .page-hero-copy{padding-block:28px;min-height:0}
.inner-page .insights-hero .page-hero-image{height:auto;min-height:0;aspect-ratio:auto}
.inner-page .insights-library.section-wrap{padding-top:28px}
.inner-page .insights-library .filter-count{margin:14px 0 22px}

/* Label-free closing sections keep a balanced headline/copy/action rhythm. */
.closing:not(:has(.eyebrow)) .closing-copy{padding-block:44px}
.closing:not(:has(.eyebrow)) h2{margin-top:0;margin-bottom:20px}
.closing:not(:has(.eyebrow)) .closing-copy>p{margin-bottom:24px}
.inner-page .property-guide-strip{align-items:center}

@media(min-width:681px) and (max-width:1024px){
  .inner-page{--page-heading-size:48px;--inner-h2-max:36px;--inner-h3-max:28px}
}
@media(max-width:680px){
  .inner-page{--page-heading-size:36px;--inner-h2-max:30px;--inner-h3-max:26px}
  .inner-page .page-hero.split{min-height:0}
  .inner-page .page-hero.split.faq-hero .page-hero-copy{padding:24px}
  .inner-page .faq-hero .page-hero-image{height:150px;min-height:0;aspect-ratio:auto}
  .inner-page .faq-section.section-wrap{padding-top:24px;padding-bottom:36px}
  .inner-page .page-hero.split.insights-hero{height:auto;min-height:0}
  .inner-page .page-hero.split.insights-hero .page-hero-copy{padding:28px 24px}
  .inner-page .insights-hero .page-hero-image{height:160px;min-height:0;aspect-ratio:auto}
  .inner-page .insights-library.section-wrap{padding-top:24px}
  .closing:not(:has(.eyebrow)) .closing-copy{padding-block:36px}
}

/* Approved two-line headings share the same H1 scale. */
.inner-page main h1 .hero-title-line{display:block}

@media(min-width:681px) and (max-width:900px){
 .inner-page .page-hero.split:is(.faq-hero,.insights-hero,.tools-hero){grid-template-columns:64% 36%}
}
@media(min-width:901px) and (max-width:1200px){
 .inner-page .page-hero.split:is(.faq-hero,.insights-hero,.tools-hero){grid-template-columns:60% 40%}
}
@media(max-width:360px){
 .inner-page .page-hero.split.tools-hero .page-hero-copy{padding-inline:16px}
}
