/* ==========================================================
 * Competenza Hausschrift
 * ITC Avant Garde Gothic Pro
 * ========================================================== */

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-XLt.woff2")
        format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-XLtObl.woff2")
        format("woff2");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-Bk.woff2")
        format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-BkObl.woff2")
        format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-Md.woff2")
        format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-MdObl.woff2")
        format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-Demi.woff2")
        format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-DemiObl.woff2")
        format("woff2");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-Bold.woff2")
        format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/itc-avant-garde/ITCAvantGardeStd-BoldObl.woff2")
        format("woff2");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --ca-font-family:
        "ITC Avant Garde Gothic Pro",
        "Avant Garde",
        Arial,
        sans-serif;

    --e-global-typography-primary-font-family:
        "ITC Avant Garde Gothic Pro";

    --e-global-typography-secondary-font-family:
        "ITC Avant Garde Gothic Pro";

    --e-global-typography-text-font-family:
        "ITC Avant Garde Gothic Pro";

    --e-global-typography-accent-font-family:
        "ITC Avant Garde Gothic Pro";
}

/* Grundtypografie */

html,
body,
button,
input,
select,
textarea {
    font-family: var(--ca-font-family) !important;
}

body {
    font-weight: 400;
}

/* Elementor und Masteriyo */

.elementor,
.elementor-widget,
.elementor-widget-container,
.masteriyo,
.masteriyo-container,
.masteriyo-course,
.masteriyo-account {
    font-family: var(--ca-font-family) !important;
}

/* Überschriften */

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.ca-course-card__title {
    font-family: var(--ca-font-family) !important;
    font-weight: 700;
}

/* Navigation und Metadaten */

nav,
.menu,
.ca-main-header,
.ca-main-footer,
.ca-course-card__meta,
.ca-course-card__author {
    font-family: var(--ca-font-family) !important;
    font-weight: 500;
}

/* Buttons, Labels und Eyebrows */

button,
input[type="button"],
input[type="submit"],
.ca-widget-button,
.ca-course-card__button,
.masteriyo-btn,
.ca-widget-eyebrow,
.ca-course-card__difficulty,
.ca-course-card__categories {
    font-family: var(--ca-font-family) !important;
    font-weight: 600;
}

/* Fließtext */

p,
li,
address,
label,
input,
select,
textarea {
    font-family: var(--ca-font-family) !important;
    font-weight: 400;
}

/* Icon-Fonts ausdrücklich nicht überschreiben */

.dashicons,
.eicon,
[class^="eicon-"],
[class*=" eicon-"],
[class^="fa-"],
[class*=" fa-"],
.fas,
.far,
.fab {
    font-family: inherit;
}
