/*
 * Keeps the site looking the way it was designed (Elementor 3.23) on Elementor 4.x.
 * Every rule here has low specificity, so per-widget settings saved in Elementor still win.
 */

/* Elementor 4 core always sets .elementor-heading-title{line-height:1;margin:0}.
   Elementor 3.23 only printed that rule on pages whose own content has a Heading widget;
   on the other pages headings used the theme spacing. functions.php adds the body class
   "skc-legacy-headings" on exactly those other pages. */
body.skc-legacy-headings .elementor-widget-heading p.elementor-heading-title { margin: 0 0 1.41575em; line-height: inherit; }
body.skc-legacy-headings .elementor-widget-heading div.elementor-heading-title,
body.skc-legacy-headings .elementor-widget-heading span.elementor-heading-title { line-height: inherit; }
body.skc-legacy-headings .elementor-widget-heading h1.elementor-heading-title { margin: 0 0 .6180469716em; line-height: 1.1891891892; }
body.skc-legacy-headings .elementor-widget-heading h2.elementor-heading-title { margin: 0 0 .6180469716em; line-height: 1.2; }
body.skc-legacy-headings .elementor-widget-heading h3.elementor-heading-title { margin: 0 0 .6180469716em; line-height: 1.1666666667; }
body.skc-legacy-headings .elementor-widget-heading h4.elementor-heading-title { margin: 0 0 .6180469716em; line-height: 1.2105263158; }
body.skc-legacy-headings .elementor-widget-heading h5.elementor-heading-title { margin: 0 0 .6180469716em; line-height: 1.2857142857; }
body.skc-legacy-headings .elementor-widget-heading h6.elementor-heading-title { margin: 0 0 .6180469716em; line-height: 1.4; }

/* The Easto theme widgets still print the old icon-position classes, which Elementor 4 dropped. */
.elementor-button .elementor-align-icon-right { order: 15; }
.elementor-button .elementor-align-icon-left { order: 5; }

/* ElementsKit 3.x set these on the icon element itself; 4.x only sets them on ::before,
   so icon boxes grew taller (the icon box used the body font and line-height). */
.fasicon, .icon { font-family: elementskit !important; font-style: normal; font-weight: 400; font-variant: normal; text-transform: none; line-height: 1; }
