/* ==========================================================================
   KNOWLEDGE HUB - MASTER STYLESHEET (WTI CABS INTEGRATED)
   Refined for: B2B Buyer Enablement & WTI Cabs Brand Alignment
   ========================================================================== */

/* 1. CORE DEFAULTS - Matches WTI Cabs Typography and Professional Tone */
body {
  /* font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
  font-family: "Lato", sans-serif;
  /* max-width: 850px;
    margin: 40px auto;
    padding: 20px; */
  line-height: 1.6;
  color: #212f62; /* WTI Primary Navy (Cello) */
  background-color: #f8fafc;
}
.wti-global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
}
.hub-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
/* 2. BUYER ENABLEMENT HOME PAGE */
.hub-home-hero {
  text-align: left;
  padding: 60px 40px;
  background: var(--fa-header-blue);
  color: #ffffff;
  border-radius: 12px;
  margin-bottom: 40px;
}
.hub-home-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}
.hub-tagline {
  font-size: 1.1rem;
  color: #d1d5db;
  font-weight: 400;
}

.hub-enablement-note {
  font-size: 1rem;
  color: #4b5563;
  margin-top: 20px;
  font-weight: 500;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.hub-trunk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}
.hub-trunk-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 25px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.hub-trunk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #212f62;
}
.hub-card-cta {
  display: block;
  margin-top: 15px;
  font-weight: 700;
  color: #212f62;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* 3. NAVIGATION COMPONENTS */
.hub-breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: 25px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hub-breadcrumbs a {
  text-decoration: none;
  color: #212f62;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.hub-breadcrumbs a:hover {
  color: #1a1950; /* WTI Darker Accent (Bunting) */
  border-bottom: 1px solid #212f62;
}
.hub-breadcrumb-current {
  color: #475569;
  font-weight: 700;
  pointer-events: none;
}

.hub-sub-nav {
  margin: 30px 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.hub-sub-nav h2 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #212f62;
}

.hub-anchor-nav {
  background: #f1f5f9;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
}
.hub-anchor-nav a {
  color: #212f62;
  text-decoration: none;
  margin-right: 15px;
  font-weight: 600;
}

/* 4. CONTENT HIERARCHY */
.hub-headline {
  font-size: 2.2rem;
  color: #212f62;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hub-intro {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 20px;
}
.hub-scope {
  background: #f8fafc;
  padding: 15px 20px;
  border-left: 5px solid #212f62;
  margin: 25px 0;
  font-style: italic;
  color: #334155;
}

/* 5. DIAGNOSTIC RED FLAGS (Leaf Pages) */
.hub-signals {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}
.hub-signals li {
  padding: 10px 15px;
  background: #fff1f2;
  border-left: 4px solid #fecaca;
  margin-bottom: 8px;
  border-radius: 0 4px 4px 0;
  font-weight: 500;
  color: #be123c;
}

/* 6. ACCORDIONS & ANIMATIONS */
details {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  color: #212f62;
  background: #f8fafc;
  outline: none;
}
.hub-qa-id {
  font-weight: 400 !important;
  font-size: 0.8rem !important;
  color: #64748b;
  margin-right: 6px;
}

.hub-qa-content,
.hub-concept-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease-in-out,
    padding 0.3s ease;
}
details[open] > .hub-qa-content,
details[open] > .hub-concept-content {
  max-height: 5000px;
  padding: 20px;
  border-top: 1px solid #e2e8f0;
}

/* 7. Q&A DEMARCATION (Aesthetic Upgrade) */
.hub-id-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.geo-question {
  font-size: 0.95rem;
  color: #1e293b;
  background: #f9fafb;
  padding: 18px;
  border-radius: 8px;
  border-left: 5px solid #212f62;
  margin-bottom: 20px;
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.geo-question::before {
  content: "BUYER CONCERN";
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #212f62;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

/* Scoped Content (DB Answers) */
.answer p {
  margin-bottom: 1.2rem;
  color: #475569;
}
.answer p:first-of-type {
  font-weight: 600;
  color: #212f62;
}
.answer img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
  border: 1px solid #e2e8f0;
}

/* 8. GLOSSARY & PILLS (WTI Navy Accents) */
.hub-page-glossary {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
}
.hub-glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.hub-glossary-card-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.hub-glossary-mini-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.hub-glossary-card-link:hover .hub-glossary-mini-card {
  border-color: #212f62;
  background-color: #f0f7ff;
  transform: translateY(-2px);
}

.hub-glossary-term {
  font-weight: 700;
  color: #212f62;
  font-size: 0.95rem;
  margin-bottom: 5px;
  text-decoration: none;
}

.hub-glossary-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.3;
}

.hub-term {
  color: #212f62;
  border-bottom: 1.5px dotted #212f62;
  cursor: help;
  font-weight: 600;
}
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pill-synonym {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #dbeafe;
}
.pill-vernacular {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-style: italic;
}
.pill-neutral {
  background: #f1f5f9;
  color: #212f62;
  border: 1px solid #cbd5e0;
}

/* 9. MASTER GLOSSARY PAGE */
.glossary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 12px;
}
.glossary-variants {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.glossary-variants strong {
  font-size: 0.85rem;
  color: #475569;
  min-width: 150px;
  font-weight: 700;
}

/* Sitemap top-nav indicator */
.hub-breadcrumbs a[href*="sitemap.html"] {
  color: #2c5282;
  font-weight: 800;
  border-right: 1px solid #cbd5e0;
  padding-right: 10px;
  margin-right: 5px;
}

/* Second: Reduce vertical gap while maintaining aesthetics */
.hub-sitemap-tree .hub-concept-accordion {
  margin-bottom: 4px !important; /* Tightens the vertical stack */
}

.hub-sitemap-tree .hub-concept-content {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Third: Branch link styling to distinguish from expander */
.sitemap-branch-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  margin-right: 10px;
}

.sitemap-branch-link:hover {
  color: #2c5282; /* WTI/StoryProcess Brand Blue */
  text-decoration: underline;
}

/* Prevent the summary click from triggering the link if the text is clicked */
summary a {
  position: relative;
  z-index: 10;
}


/* ==========================================================================
   FIELDASSIST HEADER & FOOTER STYLES START
   Added by ChatGPT
   ========================================================================== */

:root {
  --fa-header-blue: #082c73;
  --fa-header-button: #2d6cff;
  --fa-header-button-end: #1f5eff;
  --fa-footer-blue: #020f3a;
  --fa-footer-divider: rgba(255, 255, 255, 0.16);
  --fa-footer-link: rgba(255, 255, 255, 0.96);
  --fa-footer-link-muted: rgba(255, 255, 255, 0.88);
  --fa-footer-copy: rgba(255, 255, 255, 0.88);
}

.fa-shell {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.fa-global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--fa-header-blue);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fa-header-shell {
  min-height: 98px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.fa-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.fa-logo svg {
  display: block;
  height: 32px;
  width: auto;
}

.fa-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.fa-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.fa-nav-link:hover {
  opacity: 0.82;
}

.fa-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fa-pricing-btn,
.fa-demo-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.fa-pricing-btn:hover,
.fa-demo-btn:hover {
  transform: translateY(-1px);
}

.fa-pricing-btn {
  background: #eef2fb;
  color: #2d6cff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.fa-demo-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--fa-header-button) 0%, var(--fa-header-button-end) 100%);
  box-shadow: 0 10px 24px rgba(29, 90, 255, 0.22);
}

.fa-footer {
  background: linear-gradient(180deg, #03154a 0%, var(--fa-footer-blue) 100%);
  color: #ffffff;
  margin-top: 80px;
  padding: 82px 0 36px;
}

.fa-footer-shell {
  width: min(1320px, calc(100% - 64px));
}

.fa-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 0.82fr 0.82fr;
  gap: 52px;
  align-items: start;
}

.fa-footer-brand {
  max-width: 404px;
}

.fa-footer-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 12px;
  color: #ffffff;
}

.fa-footer-copy {
  font-size: 16px;
  line-height: 1.5;
  color: var(--fa-footer-copy);
  margin-bottom: 28px;
}

.fa-footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fa-footer-subscribe input {
  height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  font-size: 16px;
  padding: 0 18px;
  outline: none;
}

.fa-footer-subscribe input::placeholder {
  color: #8c8c8c;
}

.fa-footer-subscribe button {
  height: 52px;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #6b95ff 0%, #1c5cff 100%);
  cursor: pointer;
}

.fa-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.fa-social-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.92;
}

.fa-social-links a:hover,
.fa-footer-col a:hover,
.fa-footer-bottom a:hover {
  opacity: 0.8;
}

.fa-footer-col h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 18px;
  color: #ffffff;
}

.fa-footer-subhead {
  margin-top: 34px !important;
}

.fa-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fa-footer-col li {
  margin-bottom: 14px;
}

.fa-footer-col a {
  color: var(--fa-footer-link-muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.fa-footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--fa-footer-divider);
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 22px;
  align-items: start;
}

.fa-footer-bottom div {
  color: var(--fa-footer-link);
  font-size: 13px;
  line-height: 1.45;
}

.fa-footer-bottom strong {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
  color: #ffffff;
}

.fa-footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   FIELDASSIST HEADER & FOOTER STYLES END
   ========================================================================== */


/* ==========================================================================
   FIELDASSIST HTML/CSS CLASS ALIGNMENT FIX
   Added by ChatGPT
   ========================================================================== */
.fa-site-container {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.fa-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--fa-header-blue);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fa-header-inner {
  min-height: 98px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.fa-site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.fa-site-logo svg {
  display: block;
  height: 32px;
  width: auto;
}

.fa-main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.fa-main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.fa-main-nav a:hover { opacity: 0.82; }

.fa-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fa-btn-pricing,
.fa-btn-demo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.fa-btn-pricing:hover,
.fa-btn-demo:hover { transform: translateY(-1px); }

.fa-btn-pricing {
  background: #eef2fb;
  color: #2d6cff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.fa-btn-demo {
  color: #ffffff;
  background: linear-gradient(90deg, var(--fa-header-button) 0%, var(--fa-header-button-end) 100%);
  box-shadow: 0 10px 24px rgba(29, 90, 255, 0.22);
}

.fa-site-footer {
  background: linear-gradient(180deg, #03154a 0%, var(--fa-footer-blue) 100%);
  color: #ffffff;
  margin-top: 80px;
  padding: 82px 0 36px;
}

.fa-site-footer a { color: inherit; }

.fa-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 0.82fr 0.82fr;
  gap: 52px;
  align-items: start;
}

.fa-footer-social-col { max-width: 404px; }
.fa-footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}
.fa-footer-social-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.92;
}
.fa-footer-social-links a:hover,
.fa-footer-col a:hover,
.fa-footer-bottom a:hover { opacity: 0.8; }

.fa-footer-col h4 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 18px;
  color: #ffffff;
}
.fa-footer-subheading { margin-top: 34px !important; }
.fa-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fa-footer-col li { margin-bottom: 14px; }
.fa-footer-col a {
  color: var(--fa-footer-link-muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}
.fa-footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--fa-footer-divider);
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 22px;
  align-items: start;
}
.fa-footer-bottom div {
  color: var(--fa-footer-link);
  font-size: 13px;
  line-height: 1.45;
}
.fa-footer-bottom strong {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
  color: #ffffff;
}
.fa-footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.fa-site-footer ul,
.fa-site-footer li { list-style: none !important; padding-left: 0 !important; }
.fa-site-footer a,
.fa-site-footer a:visited,
.fa-site-footer a:hover,
.fa-site-footer a:active { text-decoration: none !important; }
