/* host-grotesk-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Host Grotesk';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-regular.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-regular.woff2') format('woff2');
}

/* host-grotesk-italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Host Grotesk';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-italic.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-italic.woff2') format('woff2');
}

/* host-grotesk-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Host Grotesk';
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-500.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-500.woff2') format('woff2');
}

/* host-grotesk-500italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Host Grotesk';
    font-style: italic;
    font-weight: 500;
    src: url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-500italic.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* host-grotesk-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Host Grotesk';
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-600.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-600.woff2') format('woff2');
}

/* host-grotesk-600italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Host Grotesk';
    font-style: italic;
    font-weight: 600;
    src: url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-600italic.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-600italic.woff2') format('woff2');
}

/* host-grotesk-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Host Grotesk';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-700.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-700.woff2') format('woff2');
}

/* host-grotesk-700italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Host Grotesk';
    font-style: italic;
    font-weight: 700;
    src: url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-700italic.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/host-grotesk/host-grotesk-v4-latin-700italic.woff2') format('woff2');
}

/*-------------------------------------------------------------------------------------------------------------------------------------------*/

/* geist-mono-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/teamwire/assets/fonts/geist-mono/geist-mono-v3-latin-regular.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/geist-mono/geist-mono-v3-latin-regular.woff2') format('woff2');
}

/* geist-mono-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/teamwire/assets/fonts/geist-mono/geist-mono-v3-latin-500.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/geist-mono/geist-mono-v3-latin-500.woff2') format('woff2');
}

/* geist-mono-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/teamwire/assets/fonts/geist-mono/geist-mono-v3-latin-600.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/geist-mono/geist-mono-v3-latin-600.woff2') format('woff2');
}

/* geist-mono-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/teamwire/assets/fonts/geist-mono/geist-mono-v3-latin-700.ttf') format('truetype'),
    url('/wp-content/themes/teamwire/assets/fonts/geist-mono/geist-mono-v3-latin-700.woff2') format('woff2');
}


body {
    * {
        &.text--medium {
            font-size: var(--font-weight--medium);
        }

        &.text--semi-bold {
            font-weight: var(--font-weight--semibold);
        }

        &.text--bold {
            font-weight: var(--font-weight--bold);
        }
    }

    a {
        color: var(--color-brand--kind_blue_raw);

        &:link {
            &.tw--link {
                font-weight: var(--font-weight--regular);
                text-decoration: underline;
                color: var(--color-brand--kind_blue_medium);
            }
        }
    }

    .dark {
        a {
            color: var(--color-neutral-white--neutral_0);

            &:link {
                &.tw--link {
                    color: var(--color-neutral-white--neutral_0);
                }
            }
        }
    }

    em, .emphasis {
        font-size: var(--font-size--emphasis);
    }

    h1, .h1 {
        font-size: var(--font-size--h1);
        line-height: 100%;
    }

    h2, .h2 {
        font-size: var(--font-size--h2);
        line-height: 1.1em;
    }

    h3, .h3 {
        font-size: var(--font-size--h3);
        line-height: 1.1em;
    }

    h4, .h4 {
        font-size: var(--font-size--h4);
        line-height: 1.1em;
    }

    h5, .h5 {
        font-size: var(--font-size--h5);
        line-height: 1.1em;
    }

    h6, .h6 {
        font-size: var(--font-size--h6);
        line-height: 1.1em;
    }

    h1, .h1,
    h2, .h2,
    h3, .h3,
    h4, .h4,
    h5, .h5,
    h6, .h6,
    p {
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
    }

    .font-xl {
        font-size: var(--font-size--body-xl);
        line-height: 29px;
    }

    .body-lg {
        font-size: var(--font-size--body-l);
        line-height: 27px;
    }

    .body-md {
        font-size: var(--font-size--body-m);
        line-height: 24px;
    }

    .body-sm {
        font-size: var(--font-size--body-s);
        line-height: 20px;
    }

    .body-xs {
        font-size: var(--font-size--body-xs);
        line-height: 17px;
    }

    .font-italic {
        font-style: italic;
    }

    .font-mono {
        font-family: var(--font-family--default_mono);
    }

    /* letter spacing */

    .letter-spacing-positive-xs {
        letter-spacing: var(--letter-spacing-positive--2);
    }

    .letter-spacing-positive-s {
        letter-spacing: var(--letter-spacing-positive--1);
    }

    .letter-spacing-negative-xs {
        letter-spacing: var(--letter-spacing-negative--1);
    }

    .letter-spacing-negative-s {
        letter-spacing: var(--letter-spacing-negative--2);
    }

    /* font weight */

    .font-weight--regular {
        font-weight: var(--font-weight--regular);
    }

    .font-weight--medium {
        font-weight: var(--font-weight--medium);
    }

    .font-weight--semibold {
        font-weight: var(--font-weight--semibold);
    }

    .font-weight--bold {
        font-weight: var(--font-weight--bold);
    }

    /* custom text color */
    .subheadline-custom-color {
        color: var(--color-alpha--black_alpha_80);
    }

    .dark {
        .subheadline-custom-color {
            color: var(--color-neutral-white--neutral_bright_white);
        }
    }
}
