@charset "utf-8";
/* CSS Document */

/* ==========================================
   BONITRON LEARNING CENTER v1.1
   Technical article layout
========================================== */

:root {
  --bon-blue: #003A70;
  --bon-light-blue: #0A5EA8;
  --bon-red: #C8102E;

  --text: #333333;
  --heading: #1A1A1A;
  --muted: #666666;

  --light: #F7F9FB;
  --lighter: #FCFCFC;
  --border: #D9E2EC;

  --shadow-soft: 0 4px 14px rgba(0,0,0,.06);
  --shadow-hover: 0 8px 22px rgba(0,0,0,.08);
}

/* ==========================================
   Page Base
========================================== */

.learning-center {
  max-width: 1180px;
  margin: auto;
  padding: 28px 15px 70px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.68;
}

.learning-center p {
  margin: 0 0 18px;
}

.learning-center a {
  color: var(--bon-light-blue);
}

.learning-center a:hover {
  color: var(--bon-red);
  text-decoration: none;
}

.learning-center hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

/* ==========================================
   Hero
========================================== */

.article-hero {
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.article-category {
  display: inline-block;
  background: var(--bon-red);
  color: #ffffff;
  padding: 5px 11px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.article-hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 14px;
  line-height: 1.12;
}

.article-hero h1 small {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.25;
  color: #666666;
}

.article-hero .lead {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.55;
  color: #444444;
  margin-bottom: 0;
}

.article-meta {
  margin-top: 22px;
}

.article-meta span {
  display: inline-block;
  margin-right: 22px;
  color: #777777;
  font-size: 14px;
}

/* ==========================================
   Main Article Rhythm
========================================== */

main,
.learning-center .col-md-8,
.learning-center .col-md-12 {
  background: transparent;
}

main h2,
.learning-center h2 {
  font-size: 32px;
  line-height: 1.25;
  margin: 38px 0 16px;
  color: var(--bon-blue);
  border-bottom: 3px solid var(--bon-light-blue);
  padding-bottom: 10px;
  font-weight: 700;
}

main h3,
.learning-center h3 {
  font-size: 22px;
  line-height: 1.32;
  margin: 28px 0 10px;
  color: var(--heading);
  font-weight: 700;
}

.article-image {
  margin: 28px auto;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

/* ==========================================
   Article Guide / Related Solutions
========================================== */

.bonitron-intro-tools {
  max-width: 1120px;
  margin: 28px auto 38px;
}

.bonitron-intro-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 20px;
  align-items: stretch;
}

.bonitron-intro-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--bon-blue);
  border-radius: 6px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.bonitron-intro-card-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--bon-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.bonitron-intro-card h2 {
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  color: var(--bon-blue);
  font-size: 24px;
  line-height: 1.25;
}

.bonitron-intro-card p {
  margin: 0;
  color: #555555;
  font-size: 15.5px;
  line-height: 1.55;
}

.bonitron-guide-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.bonitron-guide-links a {
  display: block;
  padding: 10px 12px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: #333333;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.bonitron-guide-links a:hover {
  background: #ffffff;
  border-color: var(--bon-light-blue);
  color: var(--bon-blue);
}

.bonitron-product-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.bonitron-product-link {
  display: block;
  padding: 13px 14px;
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--bon-blue);
  border-radius: 5px;
  text-decoration: none;
}

.bonitron-product-link:hover {
  background: #ffffff;
  border-left-color: var(--bon-red);
}

.bonitron-product-link strong {
  display: block;
  margin-bottom: 3px;
  color: var(--bon-blue);
  font-size: 15.5px;
  line-height: 1.35;
}

.bonitron-product-link span {
  display: block;
  color: #555555;
  font-size: 14px;
  line-height: 1.45;
}

/* ==========================================
   Notes / Callouts
========================================== */

.engineering-note,
.bonitron-engineering-note {
  background: #EDF5FC;
  border-left: 5px solid var(--bon-light-blue);
  padding: 20px 22px;
  margin: 28px 0;
  border-radius: 5px;
}

.engineering-note strong {
  display: block;
  color: var(--bon-blue);
  margin-bottom: 8px;
  font-size: 17px;
}

.bonitron-engineering-note h3 {
  margin-top: 0;
  color: var(--bon-blue);
}

.warning-box {
  background: #FFF7E5;
  border-left: 5px solid #F0AD4E;
  padding: 20px 22px;
  margin: 28px 0;
  border-radius: 5px;
}

.success-box {
  background: #EEF8EE;
  border-left: 5px solid #4CAF50;
  padding: 20px 22px;
  margin: 28px 0;
  border-radius: 5px;
}

.callout {
  background: #F7F9FB;
  border-left: 5px solid var(--bon-red);
  padding: 18px 20px;
  margin: 26px 0;
  border-radius: 5px;
}

/* ==========================================
   Symptoms / Applications Cards
========================================== */

.bonitron-card-list-section {
  margin: 38px 0;
}

.bonitron-card-list-section h2 {
  margin-top: 0;
}

.bonitron-card-list-section-intro {
  max-width: 880px;
  margin: 0 0 20px;
  color: #444444;
  font-size: 16.5px;
  line-height: 1.6;
}

.bonitron-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bonitron-small-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--bon-blue);
  border-radius: 6px;
  padding: 16px 17px;
  box-shadow: var(--shadow-soft);
}

.bonitron-small-card h3 {
  margin: 0 0 7px;
  color: var(--bon-blue);
  font-size: 17px;
  line-height: 1.3;
}

.bonitron-small-card p {
  margin: 0;
  color: #555555;
  font-size: 14.5px;
  line-height: 1.5;
}

.bonitron-small-card:hover {
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   Diagnostic Table
========================================== */

.bonitron-diagnosis-section {
  margin: 38px 0;
}

.bonitron-diagnosis-section h2 {
  margin-top: 0;
}

.bonitron-diagnosis-intro {
  max-width: 900px;
}

.bonitron-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
}

.bonitron-diagnostic-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 15.5px;
  line-height: 1.45;
  background: #ffffff;
  border: 1px solid var(--border);
}

.bonitron-diagnostic-table caption {
  caption-side: top;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--bon-blue);
}

.bonitron-diagnostic-table thead {
  background: var(--bon-blue);
}

.bonitron-diagnostic-table th,
.bonitron-diagnostic-table td {
  padding: 14px;
  border: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.bonitron-diagnostic-table th {
  font-weight: 700;
  color: #ffffff;
}

.bonitron-diagnostic-table td {
  color: #333333;
}

.bonitron-diagnostic-table tbody tr:nth-child(even) {
  background: #F7F9FB;
}

.bonitron-diagnostic-table strong {
  color: var(--bon-blue);
}

/* ==========================================
   FAQ
========================================== */

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
}

.faq-question {
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  background: var(--light);
}

.faq-answer {
  padding: 18px;
}

/* ==========================================
   CTA
========================================== */

.article-cta {
  background: linear-gradient(135deg, var(--bon-blue), var(--bon-light-blue));
  color: white;
  padding: 42px;
  border-radius: 8px;
  margin: 54px 0;
  text-align: center;
}

.article-cta h2 {
  color: white;
  border: none;
  margin-top: 0;
}

.article-cta .btn {
  margin-top: 22px;
}

/* ==========================================
   Related Articles
========================================== */

.bonitron-related-articles {
  margin: 40px 0 24px;
  font-family: inherit;
}

.bonitron-related-articles hr {
  margin: 0 0 28px;
  border: 0;
  border-top: 1px solid var(--border);
}

.bonitron-related-articles h2 {
  margin: 0 0 10px;
  color: var(--bon-blue);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  border-bottom: 3px solid var(--bon-light-blue);
  padding-bottom: 10px;
}

.bonitron-related-intro {
  max-width: 820px;
  margin: 0 0 20px;
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
}

.bonitron-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bonitron-related-card {
  display: block;
  min-height: 132px;
  padding: 17px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--bon-blue);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: .2s;
}

.bonitron-related-card:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.bonitron-related-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--bon-blue);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.bonitron-related-card span {
  display: block;
  color: #555555;
  font-size: 14.5px;
  line-height: 1.5;
}

/* ==========================================
   Legacy Related Card
========================================== */

.related-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px;
  margin-bottom: 26px;
  transition: .2s;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   Responsive
========================================== */

@media(max-width: 991px) {
  .learning-center {
    font-size: 16px;
    line-height: 1.65;
    padding-top: 22px;
  }

  .article-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 34px;
  }

  .article-hero h1 {
    font-size: 36px;
  }

  .article-hero h1 small {
    font-size: 23px;
  }

  main h2,
  .learning-center h2 {
    font-size: 28px;
  }

  .bonitron-intro-tools-grid,
  .bonitron-card-grid,
  .bonitron-related-grid {
    grid-template-columns: 1fr;
  }

  .bonitron-guide-links {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .bonitron-diagnostic-table {
    font-size: 15px;
    min-width: 760px;
  }

  .bonitron-diagnostic-table th,
  .bonitron-diagnostic-table td {
    padding: 13px;
  }
}