/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ==========================================
   DESIGN SYSTEM TYPOGRAPHY — AVADA + CLAMP
   Compatibile con Title Element Avada
========================================== */

/* H1 */
html body #wrapper #main .post-content .fusion-title h1.fusion-title-heading,
html body #wrapper #main .post-content h1.fusion-title-heading,
html body #wrapper #main .post-content h1.fusion-responsive-typography-calculated,
html body #wrapper #main .post-content .fusion-title-heading.fusion-responsive-typography-calculated {
  --fontSize: 72 !important;
  --minFontSize: 40 !important;
  --lineHeight: 1.08 !important;

  font-size: 72px !important;
  font-size: clamp(40px, 4.8vw, 72px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
}

/* H2 */
html body #wrapper #main .post-content .fusion-title h2.fusion-title-heading,
html body #wrapper #main .post-content h2.fusion-title-heading,
html body #wrapper #main .post-content h2.fusion-responsive-typography-calculated,
html body #wrapper #main .post-content .fusion-title-heading.fusion-responsive-typography-calculated:is(h2) {
  --fontSize: 56 !important;
  --minFontSize: 34 !important;
  --lineHeight: 1.12 !important;

  font-size: 56px !important;
  font-size: clamp(34px, 3.5vw, 56px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  font-weight: 700 !important;
}

/* H3 */
html body #wrapper #main .post-content .fusion-title h3.fusion-title-heading,
html body #wrapper #main .post-content h3.fusion-title-heading,
html body #wrapper #main .post-content h3.fusion-responsive-typography-calculated,
html body #wrapper #main .post-content .fusion-title-heading.fusion-responsive-typography-calculated:is(h3) {
  --fontSize: 40 !important;
  --minFontSize: 28 !important;
  --lineHeight: 1.14 !important;

  font-size: 40px !important;
  font-size: clamp(28px, 2.4vw, 40px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}

/* H4 */
html body #wrapper #main .post-content .fusion-title h4.fusion-title-heading,
html body #wrapper #main .post-content h4.fusion-title-heading,
html body #wrapper #main .post-content h4.fusion-responsive-typography-calculated,
html body #wrapper #main .post-content .fusion-title-heading.fusion-responsive-typography-calculated:is(h4) {
  --fontSize: 30 !important;
  --minFontSize: 22 !important;
  --lineHeight: 1.18 !important;

  font-size: 30px !important;
  font-size: clamp(22px, 1.7vw, 30px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.015em !important;
  font-weight: 600 !important;
}

/* H5 */
html body #wrapper #main .post-content .fusion-title h5.fusion-title-heading,
html body #wrapper #main .post-content h5.fusion-title-heading,
html body #wrapper #main .post-content h5.fusion-responsive-typography-calculated,
html body #wrapper #main .post-content .fusion-title-heading.fusion-responsive-typography-calculated:is(h5) {
  --fontSize: 22 !important;
  --minFontSize: 18 !important;
  --lineHeight: 1.25 !important;

  font-size: 22px !important;
  font-size: clamp(18px, 1.25vw, 22px) !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

/* H6 */
html body #wrapper #main .post-content .fusion-title h6.fusion-title-heading,
html body #wrapper #main .post-content h6.fusion-title-heading,
html body #wrapper #main .post-content h6.fusion-responsive-typography-calculated,
html body #wrapper #main .post-content .fusion-title-heading.fusion-responsive-typography-calculated:is(h6) {
  --fontSize: 18 !important;
  --minFontSize: 16 !important;
  --lineHeight: 1.3 !important;

  font-size: 18px !important;
  font-size: clamp(16px, 1vw, 18px) !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

/* BODY / PARAGRAFI */
html body #wrapper #main .post-content p,
html body #wrapper #main .post-content li,
html body #wrapper #main .post-content .fusion-text p,
html body #wrapper #main .post-content .content-container {
  font-size: 18px !important;
  font-size: clamp(16px, 1.05vw, 18px) !important;
  line-height: 1.6 !important;
}

/* TESTI PICCOLI */
html body #wrapper #main .post-content small,
html body #wrapper #main .post-content .small,
html body #wrapper #main .post-content .small p {
  font-size: 15px !important;
  font-size: clamp(14px, 0.9vw, 15px) !important;
  line-height: 1.45 !important;
}

/* BOTTONI */
html body #wrapper #main .post-content .fusion-button,
html body #wrapper #main .post-content .fusion-button .fusion-button-text {
  font-size: 16px !important;
  font-size: clamp(14px, 0.95vw, 16px) !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}