/*that amazing design uses different colors foreach of the defined fonts..
so we define the basic font-set as defined int the figma typography sheet
and add font-color overrides to adapt to that crap.
*/

.f-clr-Neutral-White {
    color: var(--Neutral-White) !important;
}
.f-clr-Neutral-8 {
    color: var(--Neutral-8) !important;
}
.f-clr-Neutral-16 {
    color: var(--Neutral-16) !important;
}
.f-clr-Neutral-32 {
    color: var(--Neutral-32) !important;
}
.f-clr-Neutral-48 {
    color: var(--Neutral-48) !important;
}
.f-clr-Neutral-64 {
    color: var(--Neutral-64) !important;
}
.f-clr-Neutral-80 {
    color: var(--Neutral-80) !important;
}


/* Header/H1 - Desk */
[class*="elementor-kit-"] .h1,
.h1 {
    color: var(--Neutral-8);
    font-family: var(--ff-heading);
    font-size: 64px;
    font-style: normal;
    font-weight: 500;
    line-height: 71px; /* 110.938% */
    letter-spacing: 0.5px;

    /* Header/H1 - s - Desk */
    &.small {
        font-size: 44px;
        line-height: 48px; /* 109.091% */
    }
}

/* Header/H2 - Desk */
[class*="elementor-kit-"] .h2, /* the elemntor styles in a elementor-kit- might have more specificity than our class. */
.h2 {
    color: var(--Neutral-8);

    font-family: var(--ff-heading);
    font-size: 46px;
    font-style: normal;
    font-weight: 500;
    line-height: 54px; /* 117.391% */
    letter-spacing: 0.5px;

    /* Header/H2 - s - Desk */
    &.small {
        font-size: 18px;
        line-height: 28px; /* 155.556% */
    }
    /* Body 3/Medium - s - Desk */
    &.body-3-medium-small {
        font-size: 28px;
        line-height: 35px;
        letter-spacing: 0.25px;
    }
}

/* Header/H3 - Desk */
.h3 {
    color: var(--Neutral-8);

    font-family: var(--ff-heading);
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px; /* 118.75% */
    letter-spacing: 0.25px;
}

/* Header/H4 - Desk */
.h4 {
    color: var(--Neutral-8);

    font-family: var(--ff-heading);
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%; /* 35px */
    letter-spacing: 0.25px;
}

/* Header/Subtitle */
.heading-subtitle {
    color: var(--Neutral-16);

    font-family: var(--ff-heading);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 200% */
    letter-spacing: 2.8px;
    text-transform: uppercase;
}


/* Body 1/Medium */
.body-1-medium {
    color: var(--Neutral-64);

    font-family: var(--ff-heading);
    font-size: 18px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 28px !important;
}

/* Body 1/Book */
.body-1-book {
    color: var(--Neutral-64);

    font-family: var(--ff-heading);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

/* Body 2/Medium */
.body-2-medium {
    color: var(--Neutral-8);

    font-family: var(--ff-heading);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

/* Body 2/Book */
.body-2-book {
    color: var(--Neutral-64);

    font-family: var(--ff-heading);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; 
}

/* Body 3/Medium - Desk */
.body-3-medium {
    color: var(--Neutral-64);

    font-family: var(--ff-heading);
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: 0.5px;
}

/* Body 3/Medium - s - Desk */
.body-3-medium-small {
    color: var(--Neutral-64);

    font-family: var(--ff-heading);
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%;
    letter-spacing: 0.25px;
}

/* Caption/Medium */
.caption-medium {
    color: var(--Neutral-64);

    font-family: var(--ff-heading);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

/* Caption/Book (fw-400)*/
.caption-book {
    color: var(--Neutral-64);

    font-family: var(--ff-heading);
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

/* Mobile fonts */
@media screen and (max-width: 767px) {

    [class*="elementor-kit-"] .h1,
    .h1 {
        font-size: 36px;
        line-height: 48px;

        /* Header/H1 - Mobile */
        &.small {
            font-size: 36px;
            line-height: 48px;
        }        
    }

    [class*="elementor-kit-"] .h2, /* the elementor styles in a elementor-kit- might have more specificity than our class. */
    .h2 {
        font-size: 36px;
        line-height: 48px;
        letter-spacing: unset;
        
        /* Body 3/Medium - s - Mobile */
        &.body-3-medium-small {
            font-size: 24px;
            line-height: 28px;
            letter-spacing: 0.25px;
        }
    }

    [class*="elementor-kit-"] .h3,
    .h3 {
        font-size: 24px;
        line-height: 28px;
    }

    /* Body 3/Medium - s - Mobile */
    .body-3-medium-small {
        font-size: 24px;
        line-height: 28px;
        letter-spacing: 0.25px;
    }
}
