/*
 * assets/css/fonts.css
 *
 * Scoped Poppins for .jhn-new only.
 * Applies font to .jhn-new and common WPBakery selectors inside it.
 * font-display: swap retained.
 */

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

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

/* CSS variable for reuse (optional) */
:root {
    --font-poppins: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* ---------------------------
   Scope: only elements within .jhn-new
   --------------------------- */

/* Base application to the container and descendants */
.jhn-new,
.jhn-new * {
    font-family: var(--font-poppins) !important;

}

/* More targeted selectors (keeps specificity for WPBakery components inside .jhn-new) */
.jhn-new body,
.jhn-new p,
.jhn-new h1,
.jhn-new h2,
.jhn-new h3,
.jhn-new h4,
.jhn-new h5,
.jhn-new h6,
.jhn-new li,
.jhn-new input,
.jhn-new textarea,
.jhn-new select,
.jhn-new button {
    font-family: var(--font-poppins) !important;
}

/* WPBakery common selectors but only when inside .jhn-new */
.jhn-new .vc_row,
.jhn-new .vc_column_container,
.jhn-new .wpb_text_column .wpb_wrapper,
.jhn-new .vc_custom_heading,
.jhn-new .vc_btn3,
.jhn-new .vc_toggle_title,
.jhn-new .vc_message_box,
.jhn-new .vc_tta,
.jhn-new .vc_progress_bar,
.jhn-new .vc_pie_chart,
.jhn-new .vc_hoverbox {
    font-family: var(--font-poppins) !important;
}

.jhn-new p,
.jhn-new h4,
.jhn-new h2,
.jhn-new strong,
.jhn-new a
{
color: #082350;
}
.jhn-new a:hover
{
color: #f27d0e;
}
/* Fallback reinforcement inside WPBakery wrappers if theme is very opinionated */
.jhn-new .wpb_wrapper,
.jhn-new .wpb_wrapper * {
    font-family: var(--font-poppins) !important;
}

/* Weight defaults */
.jhn-new strong,
.jhn-new b,
.jhn-new h1,
.jhn-new h2,
.jhn-new h3 {
    font-weight: 700;
}
