/* Shared type scale, including responsive states. */
:root {
  --font-xs: 14px;
  --font-sm: 16px;
  --font-body: 16px;
  --font-lead: 18px;
  --font-subheading: 24px;
  --font-heading: 32px;
  --font-display: 48px;
  --font-page-title: var(--font-heading);
}

/* Compact hero and page titles throughout the site's subsections. */
.in-hero h1,
.in-title h1,
.hc-hero h1,
.bc-hero h1,
main .cp-hero h1,
main .rp-hero h1,
.catalog-hero .hero-copy h1,
.legacy-main h1 {
  font-size: var(--font-page-title);
}

@media (max-width: 1250px) {
  :root { --font-page-title: calc(var(--font-heading) - 4px); }
}

@media (max-width: 600px) {
  :root { --font-page-title: var(--font-subheading); }
}

/* Shared type scale, loaded after the footer on every page. */
.mebeles-footer,
.mf-tagline,
.mf-description,
.mf-column ul,
.mf-address,
.mf-hours,
.mf-appointment {
  font-size: var(--font-sm);
}

.mebeles-footer .mf-title,
.mf-phones {
  font-size: var(--font-body);
}

.mf-bottom-grid {
  font-size: var(--font-xs);
}

@media (min-width: 1101px) and (max-width: 1350px) {
  .mf-grid {
    grid-template-columns: 1.5fr 1.05fr 1.1fr 1fr minmax(255px, 1.75fr);
  }
  .mebeles-footer .mf-title {
    white-space: normal;
  }
}
