/* Explicit size choices override block defaults, including the Lead style.
 * Variables follow ACT's existing type scale; fallbacks support the editor.
 * Font family, colour, weight and heading level remain block settings. */
:root .has-act-display-font-size { font-size: var(--text-display-2, 64.5px) !important; line-height: 1.36; }
:root .has-act-heading-xl-font-size { font-size: var(--text-xxxl, 44.79px) !important; line-height: 1.2; }
:root .has-act-heading-l-font-size { font-size: var(--text-xl, 31.1px) !important; line-height: 1.2; }
:root .has-act-heading-m-font-size { font-size: var(--text-lg, 25.92px) !important; line-height: 1.3; }
:root .has-act-heading-s-font-size,
:root .has-act-lead-font-size { font-size: var(--text-md, 21.6px) !important; line-height: 1.5; }
:root .has-act-body-font-size { font-size: var(--text-size, 18px) !important; line-height: 1.5; }
:root .has-act-small-font-size { font-size: var(--text-sm, 15px) !important; line-height: 1.5; }

@media (max-width: 1300px) {
  :root .has-act-display-font-size { font-size: 48px !important; line-height: 1.05; }
}
@media (max-width: 800px) {
  :root .has-act-lead-font-size { font-size: calc(var(--text-size, 18px) * 1.0556) !important; }
}
@media (max-width: 780px) {
  :root .has-act-display-font-size { font-size: 38px !important; }
  :root .has-act-heading-xl-font-size { font-size: 34px !important; }
}
@media (max-width: 600px) {
  :root .has-act-lead-font-size { font-size: var(--text-size, 18px) !important; }
}
@media (max-width: 580px) {
  :root .has-act-display-font-size { font-size: 34px !important; }
  :root .has-act-heading-xl-font-size { font-size: 30px !important; }
}

/* Complete the responsive scale for the remaining explicit size presets.
 * These selectors never target ordinary hero or page-header headings. */
@media (max-width: 800px) {
  :root .has-act-heading-l-font-size { font-size: 24px !important; }
  :root .has-act-heading-m-font-size { font-size: 21px !important; }
  :root .has-act-heading-s-font-size { font-size: 20px !important; }
}
@media (max-width: 600px) {
  :root .has-act-heading-l-font-size { font-size: 22px !important; }
  :root .has-act-heading-m-font-size { font-size: 20px !important; }
  :root .has-act-heading-s-font-size { font-size: 18px !important; }
}
@media (max-width: 479px) {
  :root .has-act-body-font-size,
  :root .has-act-lead-font-size { font-size: 16px !important; }
  :root .has-act-small-font-size { font-size: 14px !important; }
}


/* Hide PublishPress Blocks Pro Prompts */

.components-panel__body.advgb-pro-icon {display:none!Important}