/* Case-only type scale. Layout spacing, illustrations and home remain independent. */
body.case-study {
  --case-type-hero: 48px;
  --case-type-section: 32px;
  --case-type-result: 20px;
  --case-type-body: 18px;
  --case-type-button: 18px;
  --case-type-tag: 14px;
  --case-type-subtitle: 20px;
}
#main-content :is(.atlas-hero h1, .b3-hero h1, .mp-title, .banner--yampi .hero-line) {
  font-size: var(--case-type-hero); line-height: 1.2;
}
#main-content :is(p, dd, .b3-context li, .solution-list, .solution-list li, .results-item-copy) {
  font-size: var(--case-type-body); line-height: 1.5;
}
#main-content :is(.atlas-context-copy p, .mp-overview-copy p, .b3-context-description, .case-context-copy p) { max-width: 70ch; }
#main-content :is(.atlas-results-heading h2, .b3-results-heading h2, .mp-results-heading h2, .context-title, .problem-title, .plan-title, .plan-subtitle, .process-title, .solution-title, .results-title-left, .results-title-right) {
  font-size: var(--case-type-section); line-height: 1.2;
}
#main-content :is(.atlas-result-card h3, .b3-result-card h3, .mp-result-copy h3, .results-item-title) {
  font-size: var(--case-type-result); line-height: 1.4;
}
#main-content :is(.atlas-label, .b3-label, .mp-label, .solution-pill, .process-box-bar, .results-pill) {
  font-size: var(--case-type-tag); line-height: 1.3;
}
#main-content :is(.atlas-hero-tag, .b3-hero-tag, .mp-hero-tag, .banner--yampi .case-pill-text) {
  font-size: var(--case-type-subtitle); line-height: 1.4;
}
#main-content .cb-label, body.case-study .footer-contacts .cb-label {
  font-size: var(--case-type-button); line-height: 1.4;
}
@media (max-width: 700px) {
  body.case-study {
    --case-type-hero: 32px;
    --case-type-section: 26px;
    --case-type-result: 18px;
    --case-type-body: 16px;
    --case-type-button: 16px;
    --case-type-subtitle: 18px;
  }
}
