/**
 * Font Swapper - Global Font Application
 * Author: Charlie K. Gackowski, CORMACK ADVERTISING
 *
 * This stylesheet applies the custom font stack globally to all text elements
 * Main: Hanken Grotesk
 * Fallback: Montserrat
 * Fallback 2: Poppins
 */

/* Apply to all elements */
*,
*::before,
*::after {
    font-family: 'Hanken Grotesk', 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

/* Ensure body and html have the font stack */
html,
body {
    font-family: 'Hanken Grotesk', 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

/* Apply to all heading elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Hanken Grotesk', 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

/* Apply to all text elements */
p, span, div, a, li, td, th, label, input, textarea, select, button {
    font-family: 'Hanken Grotesk', 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

/* Apply to WordPress specific elements */
.site-title,
.site-description,
.entry-title,
.entry-content,
.widget,
.menu,
.nav,
.comment-content,
.post-meta {
    font-family: 'Hanken Grotesk', 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

/* Apply to Gutenberg editor blocks */
.wp-block,
.editor-post-title,
.editor-post-title__input,
.block-editor-block-list__block {
    font-family: 'Hanken Grotesk', 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

/* Apply to admin area */
#wpadminbar,
#adminmenu,
.wrap,
#wpbody-content {
    font-family: 'Hanken Grotesk', 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

/* Ensure proper font smoothing for better rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
