/* =========================================
 * Delight Font Family - All 9 Weights
 * ======================================= */

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================
 * Apply Delight Font Site-Wide
 * ======================================= */

html,
body,
body *:not([class*="icon"]):not(i):not(.fa):not([class*="dashicon"]) {
    font-family: 'Delight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-synthesis: none !important;
}

/* Default body weight */
body {
    font-weight: 400;
}

/* Heading weights */
h1 {
    font-weight: 700 !important;
}

h2 {
    font-weight: 600 !important;
}

h3 {
    font-weight: 600 !important;
}

h4 {
    font-weight: 500 !important;
}

h5 {
    font-weight: 500 !important;
}

h6 {
    font-weight: 400 !important;
}

/* Paragraphs */
p {
    font-weight: 400 !important;
}

/* Buttons - Astra specific selectors */
button, 
.button, 
.ast-button,
.wp-block-button__link,
input[type="submit"],
input[type="button"] {
    font-weight: 600 !important;
}

/* Bold text */
strong, b {
    font-weight: 700 !important;
}

/* Responsive line-height for headings */
@media (max-width: 767px) {
    h1, h2 {
        line-height: 1.2 !important;
    }
}

/* Utility classes */
.fw-light { font-weight: 300 !important; }
.fw-regular { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-extrabold { font-weight: 800 !important; }
.fw-black { font-weight: 900 !important; }