/* ============================================================
   URBAN SHIPS LOGISTIC — Font Stack
   All @font-face paths are relative to assets/css/fonts.css
   i.e. ../fonts/lato/
   ============================================================ */

/* --- Lato (local, replaces theme's broken Lato references) --- */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato/S6uyw4BMUTPHjx4wWw.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato/S6u9w4BMUTPHh50XSwiPHA.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato/S6u9w4BMUTPHh6UVSwiPHA.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato/S6u9w4BMUTPHh7USSwiPHA.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato/S6u8w4BMUTPHh30AXC-v.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato/S6u8w4BMUTPHjxsAXC-v.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* --- Open Sans (Google Fonts CDN, all weights) --- */
/* Loaded via <link> in each HTML <head> — declared here for completeness */

/* ============================================================
   GLOBAL FONT APPLICATION
   Overrides theme defaults with consistent Open Sans + Lato
   ============================================================ */

/* Body / paragraph text → Open Sans */
body,
p,
.main_font,
.stm-navigation ul li a,
.menu-item a,
input, textarea, select, button,
.widget,
.stm-icontext,
.stm_slide__content span {
  font-family: 'Open Sans', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings → Lato (loaded locally) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading_font,
.vc_custom_heading {
  font-family: 'Lato', 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation → Open Sans semi-bold */
.stm-navigation ul li a,
.stm-navigation__default > ul > li > a {
  font-family: 'Open Sans', 'Lato', sans-serif;
  font-weight: 600;
}

/* Slider title */
.stm_slider .stm_slide__title span {
  font-family: 'Lato', 'Open Sans', sans-serif;
  font-weight: 900;
}

/* Buttons */
.btn, .btn__text, .btn__label {
  font-family: 'Open Sans', 'Lato', sans-serif;
  font-weight: 600;
}

/* Footer */
.stm-footer, .stm-footer p, .stm-footer a, .stm-footer li {
  font-family: 'Open Sans', 'Lato', sans-serif;
}

/* Service card titles */
.servicetitle, .servicetitle a {
  font-family: 'Lato', 'Open Sans', sans-serif;
  font-weight: 700;
}
