/* ============================================================
   Westway — InterVariable everywhere (icons excluded).
   Self-hosted InterVariable forced on all text, while Font Awesome
   and other icon fonts keep their own family so glyphs still render.
   Loaded on every page AFTER home.css/site.css so it wins.
   ============================================================ */

@font-face {
    font-family: "InterVariable";
    src: url("../fonts/InterVariable.ttf") format("truetype-variations"),
         url("../fonts/InterVariable.ttf") format("truetype");
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
}

/* 1) Force InterVariable on all text. */
html, body,
body *,
.elementor *,
.qodef-m-title, .qodef-m-title *,
.qodef-m-title-inner,
.qodef-m-highlight-text, .qodef-m-highlight-text *,
.wpr-grid-item-title, .wpr-grid-item-title *,
.wpr-grid-item *,
.elementor-heading-title,
.elementor-button, .elementor-button *,
.wpr-table, .wpr-table *,
.cormack-swap-1, .cormack-swap-1 *,
.cormack-swap-2, .cormack-swap-2 *,
.cormack-swap-3, .cormack-swap-3 *,
.westway-header, .westway-header *,
.westway-footer, .westway-footer *,
.westway-news-page, .westway-news-page *,
.westway-single, .westway-single *,
input, button, select, textarea {
    font-family: "InterVariable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* 2) Restore icon fonts — the rule above is too broad and would render
   Font Awesome / eicons / ElegantIcons glyphs in InterVariable (broken
   boxes). Re-assert their families. Placed AFTER (1) so it wins. */
.fa, .fas, .far, .fal, .fab,
i.fa, i.fas, i.far, i.fal, i.fab,
.fa::before, .fas::before, .far::before, .fal::before, .fab::before,
i.fa::before, i.fas::before, i.far::before, i.fal::before, i.fab::before,
[class^="fa-"]::before, [class*=" fa-"]::before {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
}
.fab, i.fab, .fab::before, i.fab::before { font-family: "Font Awesome 5 Brands" !important; }
.far, i.far, .far::before, i.far::before { font-family: "Font Awesome 5 Free" !important; font-weight: 400 !important; }
.fas, i.fas, .fas::before, i.fas::before { font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important; }

/* Elementor / Qode icon fonts */
.eicon, [class^="eicon-"], [class*=" eicon-"],
.eicon::before, [class^="eicon-"]::before, [class*=" eicon-"]::before { font-family: "eicons" !important; }
[class^="icon_"], [class*=" icon_"],
[class^="icon_"]::before, [class*=" icon_"]::before,
.qodef-svg--menu, .ElegantIcons { font-family: "ElegantIcons" !important; }

/* 3) All H1 + H2 headings at weight 600 (site-wide). Covers plain
   <h1>/<h2>, Elementor headings, Qode titles, news card / footer titles. */
h1, h2,
h1 *, h2 *,
h1.elementor-heading-title, h2.elementor-heading-title,
h1.qodef-m-title, h2.qodef-m-title,
h1.qodef-m-title .qodef-m-title-inner, h2.qodef-m-title .qodef-m-title-inner,
.qodef-m-title, .qodef-m-title .qodef-m-title-inner, .qodef-m-title .qodef--char,
h2.wpr-grid-item-title, h2.wpr-grid-item-title a,
.westway-single__title,
.westway-card__title, .westway-card__title a,
.westway-footer__eyebrow, .westway-footer__group-title {
    font-weight: 600 !important;
}
