/* CW typography skeleton v1 (29 Nov 2026, Sir approved Option 1): Inter only, sentence-case headings,
   three weights (400 text · 600 emphasis · 700 headings), one text colour, smooth rendering.
   Loaded last in layout/mainLayout so it wins over older page styles. Edit here only. */

/* 1) Every place that still asks for Oswald (old pages, blog kit, inline styles) gets Inter instead.
      Declared after the old faces, so these win; no Oswald file is downloaded any more. */
@font-face{font-family:Oswald;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Oswald;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Bebas Neue";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format("woff2")}

:root{--cw-text:#334155;--cw-ink:#0B1F4B}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--cw-text)}

/* 2) Headings: Inter bold, sentence case, slightly tight */
h1,h2,h3,h4,h5,h6,[style*="Oswald"],[style*="Bebas"]{text-transform:none!important;letter-spacing:-.01em!important}
h1,h2,h3,h4,h5,h6{font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;font-weight:700!important;line-height:1.25!important}
h1{color:inherit}
h2,h3,h4{color:var(--cw-ink)}

/* 3) Three weights only: 800/900 become 700, bold inside text becomes 600 */
[style*="font-weight:800"],[style*="font-weight: 800"],[style*="font-weight:900"],[style*="font-weight: 900"],[style*="font:800"],[style*="font:900"]{font-weight:700!important}
p b,p strong,li b,li strong,td b,td strong{font-weight:600}

/* 4) One text colour: tables no longer pure black */
table,.table{--bs-table-color:var(--cw-text);color:var(--cw-text)}
td{color:inherit}
th{font-weight:600}

/* 5) Shared components that still asked for 800/650 (menu, branch bar, chips, cards) */
.cwnav-lb,.side_field{font-weight:600!important}
.cwnav-gh span,.cwnav-gh em,.cwnav-badge,.cwnav-main span,.cwnav-cta a,.cwm-head a,.cwm-badge,.cwm-cta,.cwbm-n,.dropdown-item.all-batches,.ac a,
.cwt-ch small,.cwt-row>b,.cwt-slh,.cwt-path a,.cwt-team a,.cwx-offl-t,.cwx-next small,.cwx-next b,.cwfd-fab span,.cwth-btn,.cwts-pill{font-weight:700!important}
.cwx-next b,.cwt-slh{text-transform:none!important;letter-spacing:-.01em!important}

/* 6) Page styles that set headings with a class (e.g. .cwth-hero h1) still get the skeleton: the :not(#cw-x) part lifts these rules above them */
:is(h1,h2,h3,h4,h5,h6):not(#cw-x):not(#cw-y){font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;text-transform:none!important;letter-spacing:-.01em!important}
:is(h1,h2,h3,h4,h5,h6):not(#cw-x) small{letter-spacing:0!important}
