/*
  prop-feature.css
  Large "Feature Your Property!" band above the newsletter band (listing and property pages).
  Needs css/base.css and a stylesheet that defines .fm-btn (prop-filters.css on the listing, prop-main.css on the property page).
*/

.fm-feature { padding-block: clamp(2.75rem, 1.8rem + 4vw, 5rem); background: var(--fm-wash); }
.fm-feature__inner { display: grid; gap: 1.75rem 3rem; align-items: center; }
.fm-feature h2 { font-size: var(--fm-t-display); line-height: 1.05; color: var(--fm-blue); }
.fm-feature__lead { margin-top: 1rem; font-family: var(--fm-serif); font-size: var(--fm-t-lg); line-height: 1.3; }
.fm-feature__text p:not(.fm-feature__lead) { margin-top: 0.8rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.6; color: var(--fm-muted); }
.fm-feature__action { display: grid; justify-items: start; }
.fm-feature__action .fm-btn { min-height: 3.25rem; padding-inline: 2rem; font-size: 1.0625rem; }
@media (min-width: 52rem) {
  .fm-feature__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .fm-feature__action { justify-items: end; }
}
