@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ── Global font ── */
body, input, textarea, select, button, a {
  font-family: 'Montserrat', sans-serif !important;
}

/* ── Header / nav bar ── */
#lhn-kb-header,
.lhn-header,
.sp-header,
header {
  background-color: #091c94 !important;
  border-bottom: none !important;
}

/* Force white logo */
#lhn-kb-header img,
.lhn-header img.logo-img,
header img {
  content: url('https://www.gnmi.ca/uloaghoo/2024/09/gnmi_logo_white.webp') !important;
  height: 44px !important;
  width: auto !important;
}

/* ── Nav links ── */
#lhn-kb-header nav,
#lhn-kb-header .nav,
header nav,
header .nav,
.lhn-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
}

#lhn-kb-header nav a,
#lhn-kb-header .nav a,
header nav a,
header .nav a,
.lhn-nav a {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 6px 10px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

#lhn-kb-header nav a:hover,
header nav a:hover,
.lhn-nav a:hover {
  color: #ffffff !important;
  opacity: 0.75 !important;
}

/* ── KILL the teal hero — every selector LiveHelpNow might use ── */
.lhn-kb-hero,
.lhn-hero,
.sp-hero,
.kb-header-section,
.kb-hero,
.portal-hero,
.support-hero,
.lhn-portal-header,
.lhn-kb-header-section,
.lhn-search-section,
.lhn-search-header,
.search-header,
.search-banner,
.hero-section,
.hero-wrapper,
.hero-container,
.kb-banner,
.kb-search-banner,
.kb-search-section,
.kb-search-wrapper,
.support-banner,
[class*="hero"],
[class*="banner"],
[class*="kb-search"],
[class*="search-section"],
[class*="portal-header"],
[id*="hero"],
[id*="banner"],
[id*="kb-search"],
[id*="search-section"] {
  background-color: #091c94 !important;
  background-image: none !important;
}

/* Hero heading */
.lhn-kb-hero h1,
.lhn-hero h1,
.sp-hero h1,
.kb-header-section h1,
[class*="hero"] h1,
[class*="banner"] h1,
[class*="kb-search"] h1,
[id*="hero"] h1 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  font-size: 2.2rem !important;
  line-height: 1.2 !important;
}

/* Hero subtitle */
.lhn-kb-hero h2,
.lhn-kb-hero p,
.lhn-hero h2,
.lhn-hero p,
.sp-hero h2,
.sp-hero p,
.kb-header-section h2,
.kb-header-section p,
[class*="hero"] h2,
[class*="hero"] p,
[class*="banner"] p,
[class*="kb-search"] p {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  font-size: 1rem !important;
}

/* ── Search bar ── */
input[type="text"],
input[type="search"],
.kb-search input,
.lhn-search input {
  border: 2px solid #ffffff !important;
  border-radius: 4px !important;
  font-family: 'Montserrat', sans-serif !important;
}

button[type="submit"],
.kb-search button,
.lhn-search button {
  background-color: #ffffff !important;
  color: #091c94 !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
}

button[type="submit"]:hover,
.kb-search button:hover,
.lhn-search button:hover {
  opacity: 0.8 !important;
}

/* ── Body headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  color: #091c94 !important;
}

/* ── Links — teal only where appropriate ── */
a {
  color: #091c94 !important;
  text-decoration: none !important;
}

/* Article links in KB lists get teal — these are the ones users click */
.kb-article-list a,
.lhn-kb-articles a,
.kb-articles a,
.popular-articles a,
.top-articles a,
.latest-articles a,
[class*="article-list"] a,
[class*="kb-list"] a {
  color: #4cc3cd !important;
}

.kb-article-list a:hover,
.lhn-kb-articles a:hover,
[class*="article-list"] a:hover,
[class*="kb-list"] a:hover {
  color: #091c94 !important;
}

/* ── Buttons / CTAs ── */
a.btn, .btn, .button, a[class*="btn"], input[type="submit"], .lhn-btn {
  background-color: #091c94 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

a.btn:hover, .btn:hover, .button:hover, input[type="submit"]:hover {
  opacity: 0.85 !important;
}

/* ── KB article accent ── */
.lhn-kb-category,
.kb-category-card,
.kb-article-item {
  border-left: 4px solid #091c94 !important;
}

/* ── Footer ── */
footer, #lhn-footer, .lhn-footer, .sp-footer {
  background-color: #091c94 !important;
  color: #ffffff !important;
}

footer a, #lhn-footer a, .lhn-footer a {
  color: #ffffff !important;
}

footer a:hover, #lhn-footer a:hover {
  opacity: 0.75 !important;
}