/* Shared type and spacing for the staging site content. Interactive chrome has its own styles. */
main[data-site-typography] {
  --page-title-size: clamp(34px, 3.2vw, 40px);
  --section-title-size: clamp(26px, 2.4vw, 30px);
  --subsection-title-size: clamp(20px, 1.8vw, 22px);
  --breadcrumb-size: 14px;
  --breadcrumb-gap: 10px;
  --title-gap: 10px;
  --section-title-gap: 14px;
  --subsection-title-gap: 8px;
  --section-start: clamp(30px, 3.33vw, 48px);
  --catalog-tools-gap: 26px;
}

main[data-site-typography] [data-site-type="page-title"] {
  margin-block: 0 var(--title-gap);
  font-size: var(--page-title-size);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: normal;
}
main[data-site-typography] [data-site-type="section-title"],
main[data-site-typography] #request .lead-copy [data-site-type="section-title"] {
  margin-block-start: 0;
  font-size: var(--section-title-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
}
main[data-site-typography] [data-site-type="subsection-title"] {
  font-size: var(--subsection-title-size);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
}
main[data-site-typography] [data-site-type="section-title"]:not(:last-child),
main[data-site-typography] #request .lead-copy [data-site-type="section-title"]:not(:last-child) {
  margin-block-end: var(--section-title-gap);
}
main[data-site-typography] [data-site-type="subsection-title"]:not(:last-child) {
  margin-block-end: var(--subsection-title-gap);
}
main[data-site-typography] [data-site-type="breadcrumbs"] {
  margin-block-end: var(--breadcrumb-gap);
  font-size: var(--breadcrumb-size);
  line-height: 1.4;
}
main[data-site-typography] [data-site-type="intro"] { margin-block-start: 0; }
main[data-site-typography] > :is(.category-copy, .media-library, .catalog-machine-finder, .home-catalog).section {
  padding-block-start: var(--section-start);
}
main[data-site-typography] .catalog-page-heading + .stand-catalog-tools {
  margin-block-start: var(--catalog-tools-gap);
}

@media (max-width: 900px) {
  main[data-site-typography] {
    --page-title-size: 25px;
    --section-title-size: 22px;
    --subsection-title-size: 18px;
    --breadcrumb-size: 13px;
    --breadcrumb-gap: 8px;
    --section-title-gap: 12px;
    --section-start: 28px;
    --catalog-tools-gap: 20px;
  }
  main[data-site-typography] .catalog-page-heading [data-site-type="page-title"] {
    margin-block-end: 0;
  }
}
