/**
 * Shared front-end typography for Partner Hub shortcodes.
 * Section headings (block titles) share one size / weight / color / tracking.
 */

:root {
  --sc-hub-heading-size: clamp(22px, 2.4vw, 28px);
  --sc-hub-heading-weight: 800;
  --sc-hub-heading-color: var(--sc-hub-purple, var(--sm-purple, #45295c));
  --sc-hub-heading-line: 1.2;
  --sc-hub-heading-tracking: -0.02em;
  --sc-hub-heading-font: var(--sc-hub-font-head, var(--sm-font-head, 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif));
}

/* Section / block titles across shortcodes */
.sc-portfolio__title,
.sc-switcher__header .sc-switcher__title,
h3.sc-switcher__title,
.sc-next-actions__title,
.sc-partner-assets__title,
.sc-events__title,
.sc-broker-children__header h3,
.sc-update__header h2,
.portal-action-card__title,
.sc-hub-portal-shell .portal-brand__text h1,
.sc-hub-portal-shell .portal-partner-hero h2,
.sc-am-embedded-updates .sc-update__header h2 {
  margin: 0;
  font-family: var(--sc-hub-heading-font);
  font-size: var(--sc-hub-heading-size);
  font-weight: var(--sc-hub-heading-weight);
  line-height: var(--sc-hub-heading-line);
  letter-spacing: var(--sc-hub-heading-tracking);
  color: var(--sc-hub-heading-color);
  text-transform: none;
}

/* Keep form-label titles in compact pickers (not section headings) */
.sc-switcher--dropdown .sc-switcher__title,
.sc-switcher--workspace .sc-switcher__title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.3;
  color: var(--sc-hub-muted, var(--sm-muted, #6b5f78));
  text-transform: none;
}
