/* Ping Font Definitions */

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-Hairline.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-Thin.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-ExtraLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-Light.otf') format('opentype');
    /* Using 300 as Light, or it could be defined as 400. ExtraLight can be 200 if Thin is 100, but let's map roughly */
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingAR LT';
    src: url('../fonts/PingAR+LT-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Apply the fonts exclusively to the entire site */
:root {
    --e-global-typography-primary-font-family: 'PingAR LT', sans-serif !important;
    --e-global-typography-secondary-font-family: 'PingAR LT', sans-serif !important;
    --e-global-typography-text-font-family: 'PingAR LT', sans-serif !important;
    --e-global-typography-accent-font-family: 'PingAR LT', sans-serif !important;
}

body:not(.wp-admin) {
    font-family: 'PingAR LT', sans-serif !important;
}

body:not(.wp-admin) p,
body:not(.wp-admin) a,
body:not(.wp-admin) div,
body:not(.wp-admin) span,
body:not(.wp-admin) li,
body:not(.wp-admin) td,
body:not(.wp-admin) th,
body:not(.wp-admin) label,
body:not(.wp-admin) input,
body:not(.wp-admin) button,
body:not(.wp-admin) select,
body:not(.wp-admin) textarea,
body:not(.wp-admin) h1,
body:not(.wp-admin) h2,
body:not(.wp-admin) h3,
body:not(.wp-admin) h4,
body:not(.wp-admin) h5,
body:not(.wp-admin) h6,
.elementor-heading-title,
.elementor-widget-heading,
.elementor-widget-text-editor,
.elementor-button {
    font-family: 'PingAR LT', sans-serif !important;
}

/* Ensure the font doesn't try to override admin bars or the elementor editor panels */
#wpadminbar,
#wpadminbar *,
#elementor-panel,
#elementor-panel *,
.wp-admin,
.wp-admin * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}