
/* ==========================================
   LINTEK KNOWLEDGE CENTER HERO
   ========================================== */

.lt-kb-hero,
.lt-kb-hero * {
  box-sizing: border-box;
}

.lt-kb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  background: #102235;
  color: #fff;
}

/* ==========================================
   BACKGROUND DECORATION
   ========================================== */

.lt-kb-hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 83% 37%,
      rgba(65, 111, 151, .23),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 12% 90%,
      rgba(80, 110, 143, .09),
      transparent 48%
    );
}

.lt-kb-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, .12) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .12) 1px,
      transparent 1px
    );
  background-size: 85px 85px;

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 52%,
    #000 100%
  );

  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 52%,
    #000 100%
  );
}

/* ==========================================
   HERO CONTAINER
   ========================================== */

.lt-kb-hero-container {
  position: relative;
  padding-top: 29px;
  padding-bottom: 62px;
}

/* ==========================================
   BREADCRUMB NAVIGATION
   ========================================== */

.lt-kb-breadcrumb {
  display: block;
  margin-bottom: 58px;
}

.lt-kb-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lt-kb-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.lt-kb-breadcrumb li a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color .2s ease;
}

.lt-kb-breadcrumb li a:hover {
  color: var(--zb-color-accent);
}

.lt-kb-breadcrumb li[aria-current="page"] {
  color: #fff;
}

.lt-kb-breadcrumb li svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, .44);
}

/* ==========================================
   TWO COLUMN LAYOUT
   ========================================== */

.lt-kb-hero-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, .85fr);
  align-items: center;
  gap: clamp(34px, 4.5vw, 76px);
}

/* ==========================================
   LEFT HERO CONTENT
   ========================================== */

.lt-kb-hero-content {
  min-width: 0;
}

/* Kicker */

.lt-kb-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .88);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.1px;
}

.lt-kb-kicker-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zb-color-accent);
  box-shadow: 0 0 12px var(--zb-color-accent);
}

/* H1 */

.lt-kb-hero-title {
  max-width: 790px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 3.25vw, 50px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -1.5px;
}

.lt-kb-hero-title span {
  display: block;
  margin-top: 8px;
  color: var(--zb-color-accent);
  font-size: clamp(38px, 3.25vw, 50px);
  font-weight: 800;
  line-height: 1.15;
}

/* Lead Text */

.lt-kb-hero-lead {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 650;
  line-height: 1.55;
}

/* Description */

.lt-kb-hero-description {
  max-width: 640px;
  margin: 13px 0 0;
  color: rgba(230, 238, 246, .76);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

/* ==========================================
   HERO BUTTONS
   ========================================== */

.lt-kb-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.lt-kb-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 47px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.lt-kb-hero-btn svg {
  width: 17px;
  height: 17px;
}

.lt-kb-hero-btn-primary {
  background: var(--zb-color-accent);
  color: #fff;
}

.lt-kb-hero-btn-primary:hover {
  background: var(--zb-color-accent);
  color: #fff;
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.lt-kb-hero-btn-secondary {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .055);
  color: #fff;
}

.lt-kb-hero-btn-secondary:hover {
  border-color: var(--zb-color-accent);
  background: rgba(255, 255, 255, .11);
  color: #fff;
}

/* ==========================================
   RIGHT WORKFLOW VISUAL
   ========================================== */

.lt-kb-hero-visual {
  position: relative;
  min-width: 0;
}

.lt-kb-hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  bottom: 20px;
  left: 20px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 17px;
  pointer-events: none;
}

/* Workflow Card */

.lt-kb-workflow-card {
  position: relative;
  overflow: hidden;
  padding: clamp(23px, 2.5vw, 36px);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 16px;

  background:
    linear-gradient(
      150deg,
      rgba(48, 71, 94, .96),
      rgba(22, 42, 62, .97)
    );

  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.lt-kb-workflow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 35px;
  right: 35px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--zb-color-accent),
    transparent
  );
}

/* Card Header */

.lt-kb-workflow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lt-kb-workflow-eyebrow {
  color: var(--zb-color-accent);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 1.4px;
}

.lt-kb-workflow-mark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 19px;
}

.lt-kb-workflow-mark span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--zb-color-accent);
}

.lt-kb-workflow-mark span:nth-child(1) {
  height: 9px;
}

.lt-kb-workflow-mark span:nth-child(2) {
  height: 15px;
}

.lt-kb-workflow-mark span:nth-child(3) {
  height: 19px;
}

/* Card Title */

.lt-kb-workflow-title {
  margin: 23px 0 0;
  color: #fff;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -.5px;
}

.lt-kb-workflow-title span {
  display: block;
  color: #fff;
}

.lt-kb-workflow-desc {
  max-width: 370px;
  margin: 10px 0 0;
  color: rgba(235, 241, 248, .69);
  font-size: 12px;
  line-height: 1.75;
}

/* ==========================================
   WORKFLOW STEPS
   ========================================== */

.lt-kb-workflow-list {
  position: relative;
  display: grid;
  margin-top: 23px;
}

.lt-kb-workflow-list::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  bottom: 23px;
  width: 1px;
  background: rgba(255, 255, 255, .18);
}

.lt-kb-workflow-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
}

.lt-kb-workflow-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 10px;
  background: #31475e;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.lt-kb-workflow-item:first-child
.lt-kb-workflow-number {
  border-color: var(--zb-color-accent);
  background: var(--zb-color-accent);
}

.lt-kb-workflow-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.lt-kb-workflow-info strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.lt-kb-workflow-info span {
  color: rgba(226, 236, 246, .68);
  font-size: 11px;
  line-height: 1.5;
}

.lt-kb-workflow-arrow {
  color: var(--zb-color-accent);
  font-size: 19px;
  line-height: 1;
}

/* Workflow Footer */

.lt-kb-workflow-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(235, 241, 248, .72);
  font-size: 11px;
  line-height: 1.6;
}

.lt-kb-workflow-footer-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zb-color-accent);
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 1100px) {

  .lt-kb-hero-layout {
    gap: 30px;
  }

  .lt-kb-hero-title {
    font-size: 43px;
  }

  .lt-kb-hero-title span {
    font-size: 40px;
  }

}

@media (max-width: 991px) {

  .lt-kb-hero-container {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .lt-kb-breadcrumb {
    margin-bottom: 43px;
  }

  .lt-kb-hero-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .lt-kb-hero-title {
    max-width: 800px;
    font-size: clamp(37px, 5vw, 52px);
  }

  .lt-kb-hero-title span {
    font-size: clamp(35px, 4.7vw, 48px);
  }

  .lt-kb-hero-description {
    max-width: 670px;
  }

  .lt-kb-hero-visual {
    max-width: 650px;
  }

}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 767px) {

  .lt-kb-hero-container {
    padding-top: 20px;
    padding-bottom: 42px;
  }

  .lt-kb-breadcrumb {
    margin-bottom: 35px;
  }

  .lt-kb-breadcrumb ol {
    gap: 7px;
  }

  .lt-kb-breadcrumb li {
    font-size: 11px;
  }

  .lt-kb-hero-layout {
    gap: 32px;
  }

  .lt-kb-hero-kicker {
    margin-bottom: 20px;
    padding: 8px 12px;
    font-size: 9px;
    letter-spacing: .8px;
  }

  .lt-kb-hero-title {
    font-size: clamp(26px, 6vw, 26px);
    line-height: 1.16;
    letter-spacing: -.8px;
  }

  .lt-kb-hero-title span {
    margin-top: 9px;
    font-size: clamp(26px, 6vw, 26px);
  }

  .lt-kb-hero-lead {
    margin-top: 21px;
    font-size: 16px;
  }

  .lt-kb-hero-description {
    font-size: 13px;
    line-height: 1.8;
  }

  .lt-kb-hero-actions {
    gap: 10px;
    margin-top: 25px;
  }

  .lt-kb-hero-btn {
    min-height: 44px;
    padding: 11px 15px;
    font-size: 11px;
  }

  .lt-kb-hero-visual::before {
    display: none;
  }

  .lt-kb-workflow-card {
    padding: 23px 19px;
    border-radius: 13px;
  }

  .lt-kb-workflow-title {
    font-size: 25px;
  }

  .lt-kb-workflow-item {
    gap: 12px;
  }

  .lt-kb-workflow-info strong {
    font-size: 13px;
  }

}

/* ==========================================
   SMALL MOBILE
   ========================================== */

@media (max-width: 380px) {

  .lt-kb-hero-title {
    font-size: 29px;
  }

  .lt-kb-hero-title span {
    font-size: 28px;
  }

  .lt-kb-hero-btn {
    width: 100%;
  }

  .lt-kb-workflow-info span {
    font-size: 10px;
  }

}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.lt-kb-hero a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  .lt-kb-hero a {
    transition: none;
  }

}

/* ==========================================
   LINTEK KNOWLEDGE CENTER
   SECTION 02 - KNOWLEDGE CATEGORIES
   ========================================== */

.lt-kb-categories {
  position: relative;
  background: #f8fafc;
  scroll-margin-top: 90px;
}

.lt-kb-categories,
.lt-kb-categories * {
  box-sizing: border-box;
}

/* ==========================================
   CATEGORY GRID
   ========================================== */

.lt-kb-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

/* ==========================================
   CATEGORY CARD
   ========================================== */

.lt-kb-category-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e5eaf0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 37, 56, .035);
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.lt-kb-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--zb-color-accent);
  box-shadow: 0 16px 36px rgba(20, 37, 56, .085);
}

/* Subtle top accent */

.lt-kb-category-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--zb-color-accent);
  transition: width .3s ease;
}

.lt-kb-category-card:hover::before,
.lt-kb-category-card:focus-within::before {
  width: 100%;
}

/* Entire card is clickable */

.lt-kb-category-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 275px;
  padding: 27px 25px 23px;
  color: inherit;
  text-decoration: none;
}

.lt-kb-category-link:hover {
  text-decoration: none;
}

/* ==========================================
   TOP ROW: ICON + NUMBER
   ========================================== */

.lt-kb-category-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.lt-kb-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border: 1px solid #e8edf3;
  border-radius: 13px;
  background: #f3f6fa;
  color: var(--zb-color-accent);
  transition:
    background .25s ease,
    border-color .25s ease;
}

.lt-kb-category-icon svg {
  display: block;
  width: 27px;
  height: 27px;
}

.lt-kb-category-card:hover .lt-kb-category-icon {
  border-color: var(--zb-color-accent);
  background: #fff;
}

.lt-kb-category-number {
  padding-top: 4px;
  color: #a0aab8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

/* ==========================================
   CARD CONTENT
   ========================================== */

.lt-kb-category-content {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 23px;
}

.lt-kb-category-content h3 {
  margin: 0 0 12px;
  color: #17283b;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.3px;
}

.lt-kb-category-content p {
  margin: 0;
  color: #6b7788;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

/* ==========================================
   CARD FOOTER
   ========================================== */

.lt-kb-category-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid #ebeff4;
}

.lt-kb-category-tags {
  min-width: 0;
  color: #84909f;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.lt-kb-category-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  border: 1px solid #e7ebf0;
  border-radius: 50%;
  background: #f5f7fa;
  color: #617084;
  font-size: 17px;
  line-height: 1;
  transition:
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease;
}

.lt-kb-category-card:hover .lt-kb-category-arrow {
  border-color: var(--zb-color-accent);
  background: var(--zb-color-accent);
  color: #fff;
  transform: translate(2px, -2px);
}

/* ==========================================
   KEYBOARD ACCESSIBILITY
   ========================================== */

.lt-kb-category-link:focus-visible {
  outline: 3px solid var(--zb-color-accent);
  outline-offset: -4px;
  border-radius: 15px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {

  .lt-kb-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }

  .lt-kb-category-link {
    min-height: 260px;
    padding: 24px 22px;
  }

  .lt-kb-category-content h3 {
    font-size: 19px;
  }

}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

  .lt-kb-categories {
    scroll-margin-top: 70px;
  }

  .lt-kb-category-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 25px;
  }

  .lt-kb-category-card {
    border-radius: 12px;
  }

  .lt-kb-category-link {
    min-height: 0;
    padding: 21px 19px 18px;
  }

  .lt-kb-category-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 11px;
  }

  .lt-kb-category-icon svg {
    width: 24px;
    height: 24px;
  }

  .lt-kb-category-content {
    padding-top: 18px;
  }

  .lt-kb-category-content h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .lt-kb-category-content p {
    font-size: 12px;
    line-height: 1.75;
  }

  .lt-kb-category-bottom {
    margin-top: 18px;
    padding-top: 13px;
  }

  .lt-kb-category-tags {
    font-size: 10px;
  }

}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  .lt-kb-category-card,
  .lt-kb-category-card::before,
  .lt-kb-category-icon,
  .lt-kb-category-arrow {
    transition: none;
  }

  .lt-kb-category-card:hover,
  .lt-kb-category-card:hover .lt-kb-category-arrow {
    transform: none;
  }

}

/* ==========================================
   LINTEK KNOWLEDGE CENTER
   SECTION 03 - FEATURED TECHNICAL GUIDES
   ========================================== */

.lt-kb-featured,
.lt-kb-featured * {
  box-sizing: border-box;
}

.lt-kb-featured {
  position: relative;
  background: #fff;
}

/* ==========================================
   ARTICLE GRID
   ========================================== */

.lt-kb-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  margin-top: 34px;
}

/* ==========================================
   ARTICLE CARD
   ========================================== */

.lt-kb-featured-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;

  border: 1px solid #e5eaf0;
  border-radius: 15px;
  background: #fff;

  box-shadow: 0 6px 24px rgba(18, 35, 54, .045);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.lt-kb-featured-card:hover {
  transform: translateY(-5px);
  border-color: #d5dee8;
  box-shadow: 0 18px 40px rgba(18, 35, 54, .11);
}

/* ==========================================
   FEATURED IMAGE
   ========================================== */

.lt-kb-featured-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9eef3;
  text-decoration: none;
}

.lt-kb-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.lt-kb-featured-card:hover
.lt-kb-featured-image img {
  transform: scale(1.045);
}

/* Image Badge */

.lt-kb-featured-badge {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  max-width: calc(100% - 34px);
  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;

  background: rgba(16, 34, 53, .88);
  color: #fff;

  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .25px;

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lt-kb-featured-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--zb-color-accent);
}

/* ==========================================
   CARD BODY
   ========================================== */

.lt-kb-featured-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 25px 24px 22px;
}

/* Category & Index */

.lt-kb-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.lt-kb-featured-category {
  color: var(--zb-color-accent);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .35px;
}

.lt-kb-featured-index {
  color: #a1acb8;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* ==========================================
   ARTICLE TITLE
   ========================================== */

.lt-kb-featured-title {
  margin: 0;

  color: #17283b;
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -.35px;
}

.lt-kb-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.lt-kb-featured-title a:hover {
  color: var(--zb-color-accent);
}

/* ==========================================
   ARTICLE DESCRIPTION
   ========================================== */

.lt-kb-featured-desc {
  margin: 13px 0 0;
  color: #687688;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

/* ==========================================
   CARD FOOTER
   ========================================== */

.lt-kb-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-top: auto;
  padding-top: 24px;
}

.lt-kb-featured-read {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--zb-color-accent);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
}

.lt-kb-featured-read svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.lt-kb-featured-read:hover {
  color: var(--zb-color-accent);
  text-decoration: none;
}

.lt-kb-featured-read:hover svg {
  transform: translateX(4px);
}

/* Right Arrow Decoration */

.lt-kb-featured-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 36px;
  width: 36px;
  height: 36px;

  border: 1px solid #e5eaf0;
  border-radius: 50%;
  background: #f5f7fa;
  color: #617185;

  font-size: 19px;
  line-height: 1;

  transition:
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease;
}

.lt-kb-featured-card:hover .lt-kb-featured-arrow {
  border-color: var(--zb-color-accent);
  background: var(--zb-color-accent);
  color: #fff;
  transform: translate(2px, -2px);
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {

  .lt-kb-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .lt-kb-featured-body {
    padding: 23px 21px 21px;
  }

  .lt-kb-featured-title {
    font-size: 19px;
  }

}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

  .lt-kb-featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 25px;
  }

  .lt-kb-featured-card {
    border-radius: 12px;
  }

  .lt-kb-featured-image {
    aspect-ratio: 16 / 10;
  }

  .lt-kb-featured-badge {
    top: 13px;
    left: 13px;
    padding: 7px 10px;
  }

  .lt-kb-featured-body {
    padding: 20px 19px;
  }

  .lt-kb-featured-meta {
    margin-bottom: 12px;
  }

  .lt-kb-featured-title {
    font-size: 19px;
  }

  .lt-kb-featured-desc {
    margin-top: 11px;
    font-size: 12px;
    line-height: 1.75;
  }

  .lt-kb-featured-footer {
    padding-top: 19px;
  }

}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.lt-kb-featured-image:focus-visible,
.lt-kb-featured-title a:focus-visible,
.lt-kb-featured-read:focus-visible {
  outline: 3px solid var(--zb-color-accent);
  outline-offset: 3px;
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  .lt-kb-featured-card,
  .lt-kb-featured-image img,
  .lt-kb-featured-title a,
  .lt-kb-featured-read svg,
  .lt-kb-featured-arrow {
    transition: none;
  }

  .lt-kb-featured-card:hover,
  .lt-kb-featured-card:hover
  .lt-kb-featured-image img,
  .lt-kb-featured-card:hover
  .lt-kb-featured-arrow {
    transform: none;
  }

}

/* ==========================================
   LINTEK KNOWLEDGE CENTER
   LATEST KNOWLEDGE ARTICLES
   ========================================== */

.lt-kb-latest,
.lt-kb-latest * {
  box-sizing: border-box;
}

.lt-kb-latest {
  position: relative;
  background: #f8fafc;
}

/* ==========================================
   MAIN LAYOUT
   ========================================== */

.lt-kb-latest-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 1.9fr);
  align-items: start;
  gap: clamp(35px, 4.5vw, 75px);
}

/* ==========================================
   LEFT SECTION INTRO
   ========================================== */

.lt-kb-latest-intro {
  position: relative;
  min-width: 0;
  padding-top: 12px;
}

.lt-kb-latest-heading {
  margin: 18px 0 0;

  color: #17283b;
  font-size: clamp(29px, 2.65vw, 43px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.lt-kb-latest-heading span {
  display: block;
  margin-top: 5px;
  color: var(--zb-color-accent);
}

.lt-kb-latest-description {
  max-width: 375px;
  margin: 23px 0 0;

  color: #687789;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

/* Subtle decorative line */

.lt-kb-latest-intro-bottom {
  margin-top: 36px;
}

.lt-kb-latest-intro-line {
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: var(--zb-color-accent);
}

.lt-kb-latest-intro-bottom p {
  max-width: 300px;
  margin: 17px 0 0;

  color: #98a3b0;
  font-size: 12px;
  line-height: 1.7;
}

/* ==========================================
   RIGHT ARTICLE GRID
   ========================================== */

.lt-kb-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  min-width: 0;
}

/* ==========================================
   ARTICLE CARD
   ========================================== */

.lt-kb-latest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 235px;
  margin: 0;
  padding: 24px 23px 19px;

  border: 1px solid #e5eaf0;
  border-radius: 13px;
  background: #fff;

  box-shadow: 0 4px 16px rgba(19, 37, 58, .025);

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.lt-kb-latest-card:hover {
  transform: translateY(-3px);
  border-color: #cdd7e2;
  box-shadow: 0 12px 28px rgba(19, 37, 58, .075);
}

/* ==========================================
   CATEGORY & DATE
   ========================================== */

.lt-kb-latest-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 16px;
}

.lt-kb-latest-category {
  color: var(--zb-color-accent);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .3px;
}

.lt-kb-latest-date {
  color: #9ba7b5;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

/* ==========================================
   ARTICLE TITLE
   ========================================== */

.lt-kb-latest-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  margin: 0;
  color: #182a3e;
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 750;
  line-height: 1.42;
  letter-spacing: -.3px;
}

.lt-kb-latest-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.lt-kb-latest-title a:hover {
  color: var(--zb-color-accent);
}

/* ==========================================
   ARTICLE DESCRIPTION
   ========================================== */

.lt-kb-latest-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  margin: 13px 0 0;
  color: #768394;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
}

/* ==========================================
   ARTICLE FOOTER
   ========================================== */

.lt-kb-latest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-top: auto;
  padding-top: 23px;
}

.lt-kb-latest-read {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--zb-color-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.lt-kb-latest-read svg {
  display: block;
  width: 16px;
  height: 16px;

  transition: transform .2s ease;
}

.lt-kb-latest-read:hover {
  color: var(--zb-color-accent);
  text-decoration: none;
}

.lt-kb-latest-read:hover svg {
  transform: translateX(4px);
}

/* Decorative Corner Arrow */

.lt-kb-latest-corner {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 30px;
  width: 30px;
  height: 30px;

  border: 1px solid #e9edf2;
  border-radius: 50%;

  background: #f5f7fa;
  color: #68798a;

  font-size: 17px;
  line-height: 1;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.lt-kb-latest-card:hover .lt-kb-latest-corner {
  border-color: var(--zb-color-accent);
  background: var(--zb-color-accent);
  color: #fff;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1100px) {

  .lt-kb-latest-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lt-kb-latest-intro {
    padding-top: 0;
  }

  .lt-kb-latest-heading {
    max-width: 750px;
    font-size: 37px;
  }

  .lt-kb-latest-heading span {
    display: inline;
  }

  .lt-kb-latest-description {
    max-width: 700px;
    margin-top: 16px;
  }

  .lt-kb-latest-intro-bottom {
    display: none;
  }

}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

  .lt-kb-latest-layout {
    gap: 26px;
  }

  .lt-kb-latest-heading {
    margin-top: 14px;
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.25;
  }

  .lt-kb-latest-description {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.75;
  }

  .lt-kb-latest-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lt-kb-latest-card {
    min-height: 0;
    padding: 21px 19px 18px;
    border-radius: 11px;
  }

  .lt-kb-latest-meta {
    margin-bottom: 12px;
  }

  .lt-kb-latest-title {
    font-size: 18px;
  }

  .lt-kb-latest-desc {
    margin-top: 10px;
  }

  .lt-kb-latest-footer {
    padding-top: 18px;
  }

}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.lt-kb-latest a:focus-visible {
  outline: 3px solid var(--zb-color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  .lt-kb-latest-card,
  .lt-kb-latest-title a,
  .lt-kb-latest-read svg,
  .lt-kb-latest-corner {
    transition: none;
  }

  .lt-kb-latest-card:hover {
    transform: none;
  }

}

/* ==========================================
   LINTEK KNOWLEDGE CENTER
   SECTION 05 - RELATED EQUIPMENT
   ========================================== */

.lt-kb-equipment,
.lt-kb-equipment * {
  box-sizing: border-box;
}

.lt-kb-equipment {
  position: relative;
  background: #fff;
}

/* ==========================================
   SIX EQUIPMENT GRID
   ========================================== */

.lt-kb-equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 34px;
}

/* ==========================================
   EQUIPMENT CARD
   ========================================== */

.lt-kb-equipment-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;

  border: 1px solid #e5eaf0;
  border-radius: 13px;
  background: #fff;

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.lt-kb-equipment-card:hover {
  transform: translateY(-4px);
  border-color: var(--zb-color-accent);
  box-shadow: 0 13px 32px rgba(16, 34, 53, .075);
}

/* Top border hover */

.lt-kb-equipment-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--zb-color-accent);
  transition: width .3s ease;
}

.lt-kb-equipment-card:hover::before {
  width: 100%;
}

/* Whole card clickable */

.lt-kb-equipment-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 225px;
  padding: 23px;
  color: inherit;
  text-decoration: none;
}

.lt-kb-equipment-link:hover {
  text-decoration: none;
}

/* ==========================================
   CARD TOP
   ========================================== */

.lt-kb-equipment-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lt-kb-equipment-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 49px;
  width: 49px;
  height: 49px;

  border: 1px solid #e8edf3;
  border-radius: 11px;
  background: #f4f7fa;
  color: var(--zb-color-accent);

  transition:
    border-color .25s ease,
    background .25s ease;
}

.lt-kb-equipment-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.lt-kb-equipment-card:hover
.lt-kb-equipment-icon {
  border-color: var(--zb-color-accent);
  background: #fff;
}

.lt-kb-equipment-number {
  color: #a1acb8;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ==========================================
   CARD CONTENT
   ========================================== */

.lt-kb-equipment-content {
  flex: 1 1 auto;
  padding-top: 21px;
}

.lt-kb-equipment-content h3 {
  margin: 0;
  color: #17283b;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.3px;
}

.lt-kb-equipment-content p {
  margin: 10px 0 0;
  color: #6b7889;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.75;
}

/* ==========================================
   CARD FOOTER
   ========================================== */

.lt-kb-equipment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #ecf0f4;

  color: var(--zb-color-accent);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
}

.lt-kb-equipment-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 29px;
  width: 29px;
  height: 29px;

  border: 1px solid #e7ecf1;
  border-radius: 50%;
  background: #f5f7fa;
  color: #6b7c8d;

  font-size: 17px;
  line-height: 1;

  transition:
    border-color .2s ease,
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.lt-kb-equipment-card:hover
.lt-kb-equipment-arrow {
  border-color: var(--zb-color-accent);
  background: var(--zb-color-accent);
  color: #fff;
  transform: translate(2px, -2px);
}

/* ==========================================
   NON-STOP SERIES FEATURED CARD
   ========================================== */

.lt-kb-equipment-feature {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 14px;
  background: #102235;
}

.lt-kb-equipment-feature-link {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  min-height: 180px;
  padding: 34px 40px;

  color: #fff;
  text-decoration: none;
}

.lt-kb-equipment-feature-link:hover {
  text-decoration: none;
}

/* Background glow */

.lt-kb-equipment-feature-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 86% 50%,
      rgba(87, 133, 172, .30),
      transparent 52%
    );
}

.lt-kb-equipment-feature-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .14;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, .16) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .16) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000
  );

  mask-image: linear-gradient(
    90deg,
    transparent,
    #000
  );
}

/* Main Content */

.lt-kb-equipment-feature-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lt-kb-equipment-feature-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 1.3px;
}

.lt-kb-equipment-feature-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zb-color-accent);
}

.lt-kb-equipment-feature-main h3 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(24px, 2.25vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.5px;
}

.lt-kb-equipment-feature-main p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(235, 242, 249, .75);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

/* Feature Action */

.lt-kb-equipment-feature-action {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;

  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.lt-kb-equipment-feature-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;

  background: rgba(255, 255, 255, .08);
  color: #fff;

  font-size: 23px;
  line-height: 1;

  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.lt-kb-equipment-feature-link:hover
.lt-kb-equipment-feature-arrow {
  border-color: var(--zb-color-accent);
  background: var(--zb-color-accent);
  transform: translate(3px, -3px);
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {

  .lt-kb-equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .lt-kb-equipment-link {
    min-height: 220px;
    padding: 22px;
  }

  .lt-kb-equipment-feature-link {
    padding: 30px;
  }

}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

  .lt-kb-equipment-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 25px;
  }

  .lt-kb-equipment-card {
    border-radius: 11px;
  }

  .lt-kb-equipment-link {
    min-height: 0;
    padding: 20px;
  }

  .lt-kb-equipment-icon {
    flex-basis: 45px;
    width: 45px;
    height: 45px;
  }

  .lt-kb-equipment-icon svg {
    width: 24px;
    height: 24px;
  }

  .lt-kb-equipment-content {
    padding-top: 17px;
  }

  .lt-kb-equipment-content h3 {
    font-size: 18px;
  }

  .lt-kb-equipment-footer {
    margin-top: 18px;
  }

  .lt-kb-equipment-feature {
    margin-top: 14px;
    border-radius: 12px;
  }

  .lt-kb-equipment-feature-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    min-height: 0;
    padding: 27px 23px;
  }

  .lt-kb-equipment-feature-main h3 {
    font-size: 27px;
  }

  .lt-kb-equipment-feature-main p {
    font-size: 12px;
  }

  .lt-kb-equipment-feature-action {
    width: 100%;
    justify-content: space-between;
  }

  .lt-kb-equipment-feature-arrow {
    width: 42px;
    height: 42px;
  }

}

/* ==========================================
   KEYBOARD ACCESSIBILITY
   ========================================== */

.lt-kb-equipment-link:focus-visible,
.lt-kb-equipment-feature-link:focus-visible {
  outline: 3px solid var(--zb-color-accent);
  outline-offset: -4px;
  border-radius: 12px;
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  .lt-kb-equipment-card,
  .lt-kb-equipment-card::before,
  .lt-kb-equipment-icon,
  .lt-kb-equipment-arrow,
  .lt-kb-equipment-feature-arrow {
    transition: none;
  }

  .lt-kb-equipment-card:hover,
  .lt-kb-equipment-card:hover .lt-kb-equipment-arrow,
  .lt-kb-equipment-feature-link:hover
  .lt-kb-equipment-feature-arrow {
    transform: none;
  }

}


/* ==========================================
   LINTEK KNOWLEDGE CENTER
   SHARED CATEGORY HERO - TOPIC TAGS

   Used by all 6 knowledge categories
   ========================================== */

.lt-kc-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
}

.lt-kc-hero-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 35px;
  padding: 8px 14px;

  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 100px;

  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .85);

  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 767px) {

  .lt-kc-hero-tags {
    gap: 8px;
    margin-top: 23px;
  }

  .lt-kc-hero-tags span {
    min-height: 0;
    padding: 7px 11px;
    font-size: 10px;
  }

}

/* ==========================================
   KNOWLEDGE ARTICLE FILTER
   ========================================== */

.lt-kf,
.lt-kf * {
  box-sizing: border-box;
}

.lt-kf {
  background: #fff;
  color: #102235;
}

/* SECTION HEADING */

.lt-kf-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.lt-kf-heading-title {
  margin: 10px 0 0;
  color: #102235;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.7px;
}

.lt-kf-heading-desc {
  margin: 10px 0 0;
  color: #718094;
  font-size: 13px;
  line-height: 1.7;
}

.lt-kf-page-size {
  padding-bottom: 5px;
  color: #98a5b4;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ==========================================
   FILTER TABS
   ========================================== */

.lt-kf-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 5px;
  padding: 6px;
  border-radius: 100px;
  background: #f0f3f7;
}

.lt-kf-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 45px;
  padding: 10px 12px;

  border: 1px solid transparent;
  border-radius: 100px;
  background: transparent;

  color: #607287;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

.lt-kf-tab:hover {
  color: #102235;
  background: rgba(255,255,255,.7);
}

.lt-kf-tab.is-active {
  border-color: #e2e8ef;
  background: #fff;
  color: var(--zb-color-accent);
  box-shadow: 0 3px 10px rgba(16,34,53,.07);
}

/* ==========================================
   FILTER STATUS
   ========================================== */

.lt-kf-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.lt-kf-status-row p {
  margin: 0;
  color: #708095;
  font-size: 12px;
  line-height: 1.6;
}

.lt-kf-total {
  color: #91a0b0;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

/* ==========================================
   ARTICLE GRID
   ========================================== */

.lt-kf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

/* ARTICLE CARD */

.lt-kf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;

  border: 1px solid #e5eaf0;
  border-radius: 13px;
  background: #fff;

  box-shadow: 0 4px 18px rgba(16,34,53,.025);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.lt-kf-card:hover {
  transform: translateY(-4px);
  border-color: #ced9e5;
  box-shadow: 0 14px 30px rgba(16,34,53,.085);
}

/* ==========================================
   CSS-ONLY INDUSTRIAL COVER
   ========================================== */

.lt-kf-media {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #102235,
    #23445f
  );

  color: #fff;
}
/* ==========================================
   CARD BODY
   ========================================== */

.lt-kf-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 19px 18px 18px;
}

.lt-kf-card-category {
  margin-bottom: 10px;
  color: var(--zb-color-accent);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.5;
}

.lt-kf-card-title {
  margin: 0;
  color: #17283b;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 750;
  line-height: 1.43;
}

.lt-kf-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.lt-kf-card-title a:hover {
  color: var(--zb-color-accent);
}

.lt-kf-card-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  margin: 11px 0 0;
  color: #718094;
  font-size: 12px;
  line-height: 1.75;
}

.lt-kf-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;

  margin-top: auto;
  padding-top: 21px;

  color: var(--zb-color-accent);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
}

.lt-kf-card-link > span {
  font-size: 17px;
  line-height: 1;
  transition: transform .2s ease;
}

.lt-kf-card-link:hover {
  color: var(--zb-color-accent);
}

.lt-kf-card-link:hover > span {
  transform: translate(2px, -2px);
}

/* ==========================================
   EMPTY MESSAGE
   ========================================== */

.lt-kf-empty {
  padding: 50px 20px;
  text-align: center;
}

.lt-kf-empty h3 {
  margin: 0;
  color: #102235;
  font-size: 20px;
}

.lt-kf-empty p {
  margin: 10px 0 0;
  color: #748395;
  font-size: 13px;
}

.lt-kf-empty button {
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid var(--zb-color-accent);
  border-radius: 7px;
  background: var(--zb-color-accent);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================
   PAGINATION
   ========================================== */

.lt-kf-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 33px;
  padding-top: 19px;
  border-top: 1px solid #e6ebf1;
}

.lt-kf-pagination[hidden] {
  display: none !important;
}

#lt-kf-page-info {
  color: #7b8999;
  font-size: 12px;
  line-height: 1.6;
}

.lt-kf-page-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.lt-kf-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;

  border: 1px solid #e2e8ef;
  border-radius: 7px;
  background: #fff;

  color: #526477;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}

.lt-kf-page-btn:hover:not(:disabled) {
  border-color: var(--zb-color-accent);
  color: var(--zb-color-accent);
}

.lt-kf-page-btn.is-current {
  border-color: var(--zb-color-accent);
  background: var(--zb-color-accent);
  color: #fff;

}

.lt-kf-page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* IMPORTANT: HIDDEN ARTICLES */

.lt-kf [hidden] {
  display: none !important;
}

/* ==========================================
   SMALL DESKTOP
   ========================================== */

@media (max-width: 1199px) {

  .lt-kf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lt-kf-tab {
    font-size: 11px;
    padding: 10px 8px;
  }

}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {

  .lt-kf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .lt-kf-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 15px;
  }

  .lt-kf-tab {
    min-height: 43px;
    border-radius: 10px;
    font-size: 12px;
  }

  .lt-kf-tab:first-child {
    grid-column: 1 / -1;
  }

}

/* ==========================================
   MOBILE - ALL TOPICS VISIBLE
   ========================================== */

@media (max-width: 767px) {

  .lt-kf-heading {
    display: block;
    margin-bottom: 22px;
  }

  .lt-kf-heading-title {
    font-size: 28px;
  }

  .lt-kf-heading-desc {
    font-size: 12px;
  }

  .lt-kf-page-size {
    display: none;
  }

  .lt-kf-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
    border-radius: 13px;
    overflow: visible;
  }

  .lt-kf-tab {
    min-height: 44px;
    padding: 9px 8px;
    border-radius: 9px;
    font-size: 11px;
    white-space: normal;
  }

  .lt-kf-tab:first-child {
    grid-column: 1 / -1;
  }

  .lt-kf-status-row {
    margin: 17px 0;
  }

  .lt-kf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lt-kf-media {
    padding: 13px;
  }

  .lt-kf-card-content {
    padding: 15px 13px;
  }

  .lt-kf-card-title {
    font-size: 15px;
  }

  .lt-kf-card-desc {
    font-size: 11px;
    line-height: 1.65;
  }

  .lt-kf-card-link {
    font-size: 10px;
    padding-top: 15px;
  }

  .lt-kf-pagination {
    justify-content: center;
    text-align: center;
    margin-top: 24px;
  }

  .lt-kf-page-links {
    justify-content: center;
  }

}

/* ==========================================
   SMALL MOBILE
   ========================================== */

@media (max-width: 480px) {

  .lt-kf-grid {
    grid-template-columns: 1fr;
  }

  .lt-kf-media {
    aspect-ratio: 16 / 7;
  }

  .lt-kf-card-content {
    padding: 19px;
  }

  .lt-kf-card-title {
    font-size: 18px;
  }

  .lt-kf-card-desc {
    font-size: 12px;
  }

}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.lt-kf button:focus-visible,
.lt-kf a:focus-visible {
  outline: 3px solid var(--zb-color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  .lt-kf-tab,
  .lt-kf-card,
  .lt-kf-card-title a,
  .lt-kf-card-link > span,
  .lt-kf-page-btn {
    transition: none;
  }

  .lt-kf-card:hover {
    transform: none;
  }

}

/* ==========================================
   Knowledge Articles - Pagination UX
   ========================================== */

/* Leave room for sticky website header */
#lt-kf-grid {
  scroll-margin-top: 110px;
}

/* Prevent very short result areas */
.lt-kf-grid {
  min-height: 300px;
}

/* Mobile */
@media (max-width: 767px) {

  #lt-kf-grid {
    scroll-margin-top: 80px;
  }

  .lt-kf-grid {
    min-height: 260px;
  }

}



/* BLOG HERO START */

.rd-blog-hero{
  padding:clamp(70px,8vw,120px) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(196,147,47,.12), transparent 34%),
    linear-gradient(180deg,#fff 0%,#f8f9fb 100%);
}

.rd-blog-hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 520px;
  gap:clamp(40px,5vw,82px);
  align-items:center;
}

.rd-blog-title{
  max-width:900px;
  margin:18px 0 24px;
  color:var(--zb-color-primary);
  font-size:clamp(1.5rem,3vw,3rem);
  line-height:.98;
  font-weight:900;
  letter-spacing:-.045em;
}

.rd-blog-hero-copy .zb-section-desc{
  max-width:100%;
}

.rd-blog-topic-panel{
  display:grid;
  gap:16px;
}

.rd-blog-topic-card{
  display:block;
  padding:24px;
  border:1px solid var(--zb-color-border);
  border-radius:26px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px);
  transition:var(--zb-transition);
}

.rd-blog-topic-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--zb-shadow-sm);
}

.rd-blog-topic-card span{
  display:block;
  margin-bottom:10px;
  color:var(--zb-color-accent);
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.08em;
}

.rd-blog-topic-card h2{
  margin:0 0 8px;
  color:var(--zb-color-primary);
  font-size:1.15rem;
  line-height:1.25;
  font-weight:900;
}

.rd-blog-topic-card p{
  margin:0;
  color:var(--zb-color-muted);
  line-height:1.65;
  font-size:.95rem;
}

@media(max-width:1199px){
  .rd-blog-hero-layout{
    grid-template-columns:1fr;
  }

  .rd-blog-topic-panel{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:767px){
  .rd-blog-topic-panel{
    grid-template-columns:1fr;
  }
}

/* BLOG HERO END */
/**博客页码**/
.blog-single-layout1 .pagination-layout1 {
	padding-top: 40px;
	padding-bottom: 40px;
}
.pagination-layout1 {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}
.pagination-layout1 ul .thisclass {
    border: 1px solid #cbdafc;
    color: #ffffff;
    font-weight: 700;
    background-color: var(--zb-color-primary);
    font-size: 16px;
    width: 50px;
    height: 50px;
    line-height: 50px;
}
.pagination-layout1 ul li a {
    display: inline-block;
    border: 1px solid #cbdafc;
    color: #01133c;
    font-weight: 700;
    background-color: #ffffff;
    font-size: 16px;
    width: 50px;
    height: 50px;
    line-height: 50px;
}
.pagination-layout1 ul li {
    display: inline-block;
    margin: 0 3px;
}
.pagination-layout1 ul li:first-child {
    margin-left: 0;
}
.pagination-layout1 ul .hp {
    width: 50px !important;
    height: 50px;
    line-height: 50px;
    background-color: #ffffff;
    border: 1px solid #cbdafc;
}
.pagination-layout1 ul li select {
    display: inline-block;
    border: 1px solid #cbdafc;
    color: #5b5657;
    font-weight: 700;
    background-color: #ffffff;
    font-size: 16px;
    width: 50px !important;
    height: 50px;
    line-height: 50px;
    text-align: center;
}
/**博客页码 End**/
/* KNOWLEDGE HUB Category */
.rd-global-wrap{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(320px,.8fr);
  gap:32px;
  align-items:start;
}

.rd-global-main{
  background:#fff;
  border:1px solid #e7ecef;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,.04);
}

.rd-global-image img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}

.rd-global-content{
  padding:32px;
}

.rd-global-label{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(8,129,120,.08);
  color:var(--zb-color-accent);
  font-size:13px;
  font-weight:600;
  margin-bottom:18px;
}

.rd-global-content h3{
  font-size:32px;
  line-height:1.25;
  margin:0 0 18px;
  color:#101828;
}

.rd-global-content p{
  margin:0 0 18px;
  color:#475467;
  line-height:1.8;
}

.rd-global-list{
  margin:26px 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
}

.rd-global-list li{
  position:relative;
  padding-left:26px;
  color:#344054;
}

.rd-global-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--zb-color-accent);
  font-weight:700;
}

.rd-global-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

.zb-btn-outline{
  background:#fff;
  border:1px solid #d0d5dd;
  color:var(--zb-color-primary);
}
.zb-btn-outline:hover{color:#fff;}
.rd-global-side{
  display:grid;
  gap:20px;
}

.rd-global-card{
  background:#fff;
  border:1px solid #e7ecef;
  border-radius:22px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.03);
  transition:.3s ease;
}

.rd-global-card:hover{
  transform:translateY(-4px);
}

.rd-global-card span{
  display:inline-flex;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--zb-color-primary);
  color:#fff;
  align-items:center;
  justify-content:center;
  font-weight:700;
  margin-bottom:18px;
}

.rd-global-card h3{
  margin:0 0 12px;
  font-size:22px;
  color:#101828;
}

.rd-global-card p{
  margin:0;
  color:#667085;
  line-height:1.7;
}
.wz-anniu a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding: 10px 18px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 6px;
	color: #222;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	background: #fff;
	transition: all .3s ease;
}


.wz-anniu a::after {
	content: "→";
	font-size: 16px;
	transition: transform .3s ease;
}


.wz-anniu a:hover {
	color: #fff;
	background: var(--zb-color-accent);
	border-color: var(--zb-color-accent);
}


.wz-anniu a:hover::after {
	transform: translateX(4px);
}
.wza-anniu{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding: 10px 18px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 6px;
	color: #222;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	background: #fff;
	transition: all .3s ease;
}


.wza-anniu::after {
	content: "→";
	font-size: 16px;
	transition: transform .3s ease;
}


.wza-anniu:hover {
	color: #fff;
	background: var(--zb-color-accent);
	border-color: var(--zb-color-accent);
}


.wza-anniu:hover::after {
	transform: translateX(4px);
}
@media (max-width:991px){

  .rd-global-wrap{
    grid-template-columns:1fr;
  }

  .rd-global-content{
    padding:24px;
  }

  .rd-global-content h3{
    font-size:26px;
  }

}
/* KNOWLEDGE HUB Category End*/
/**** Global Market ****/
.zb-market-full{
        position:relative;
        overflow:hidden;
        padding-bottom:50px;
        background-image: url(../image/pattern-bjt.webp);
      }

      .zb-market-full::before{
        content:"";
        position:absolute;
        inset:0;
        background:
          linear-gradient(35deg,transparent 0%,rgba(255,255,255,.65) 32%,transparent 34%),
          linear-gradient(35deg,transparent 0%,rgba(255,255,255,.45) 58%,transparent 60%);
        pointer-events:none;
      }

      .zb-market-full .zb-shell{
        position:relative;
        z-index:1;
      }

      .zb-market-layout{
        display:grid;
        grid-template-columns:1.15fr .85fr;
        gap:var(--zb-space-8);
        align-items:stretch;
      }
.rd-global-support-visual{
  width:100%;
  overflow:hidden;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.rd-global-support-visual img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}
      .zb-market-map{
        min-height:420px;
        border-radius:var(--zb-radius-lg);
        box-shadow:var(--zb-shadow-md);
        display:flex;
        align-items:flex-end;
        padding:var(--zb-space-8);
      }

      .zb-export-badge{
        max-width:340px;
        padding:var(--zb-space-7);
        border-radius:var(--zb-radius-md);
        background:rgba(15,23,42,.72);
        color:#fff;
        backdrop-filter:blur(10px);
      }

      .zb-export-badge span{
        display:block;
        margin-bottom:10px;
        font-size:.76rem;
        font-weight:900;
        letter-spacing:.12em;
        text-transform:uppercase;
        color:rgba(255,255,255,.72);
      }

      .zb-export-badge strong{
        display:block;
        margin-bottom:10px;
        font-size:1.6rem;
        line-height:1;
        font-weight:900;
      }

      .zb-export-badge p{
        margin:0;
        color:rgba(255,255,255,.82);
        font-size:.94rem;
        line-height:1.7;
      }

      .zb-region-box,
      .zb-trust-box{
        margin-top:var(--zb-space-6);
        padding:var(--zb-space-7);
        border-radius:var(--zb-radius-md);
        background:rgba(255,255,255,.78);
        box-shadow:var(--zb-shadow-sm);
      }

      .zb-region-box h3,
      .zb-trust-box h3{
        margin:0 0 var(--zb-space-5);
        color:var(--zb-color-primary);
        font-size:1.08rem;
        line-height:1.4;
        font-weight:900;
      }

      .zb-region-list{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px var(--zb-space-8);
      }

      .zb-region-list li,
      .zb-value-list li{
        position:relative;
        padding-left:22px;
        color:var(--zb-color-muted);
        font-size:.95rem;
        line-height:1.75;
      }

      .zb-region-list li::before,
      .zb-value-list li::before{
        content:"";
        position:absolute;
        left:0;
        top:.75em;
        width:8px;
        height:8px;
        border-radius:50%;
        background:var(--zb-color-accent);
      }

      .zb-market-actions{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
        margin-top:var(--zb-space-7);
      }

      .zb-market-note{
        margin:var(--zb-space-5) 0 0;
        color:var(--zb-color-muted);
        font-size:.92rem;
        line-height:1.7;
      }

      .zb-trust-panel{
        padding:var(--zb-space-9);
        border-radius:var(--zb-radius-lg);
        background:rgba(255,255,255,.86);
        box-shadow:var(--zb-shadow-md);
      }

      .zb-trust-panel h2{
        margin:0 0 var(--zb-space-4);
        color:var(--zb-color-primary);
        font-size:clamp(1.8rem,2.8vw,2.8rem);
        line-height:1.12;
        font-weight:900;
        letter-spacing:-.03em;
      }

      .zb-trust-panel-desc{
        margin:0;
        color:var(--zb-color-muted);
        font-size:1rem;
        line-height:1.9;
      }

      .zb-trust-steps{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:12px;
        margin-top:var(--zb-space-7);
      }

      .zb-trust-step{
        padding:var(--zb-space-5);
        border-radius:var(--zb-radius-md);
        background:rgba(178,135,52,.08);
      }

      .zb-trust-step strong{
        display:block;
        margin-bottom:8px;
        color:var(--zb-color-primary);
        font-size:.98rem;
        line-height:1.35;
        font-weight:900;
      }

      .zb-trust-step span{
        color:var(--zb-color-muted);
        font-size:.86rem;
        line-height:1.65;
      }

      .zb-value-list{
        display:grid;
        gap:12px;
      }

      .zb-proof-gallery{
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:var(--zb-space-5);
        margin-top:var(--zb-space-8);
      }

      .zb-proof-card{
        overflow:hidden;
        border-radius:var(--zb-radius-md);
        background:#fff;
        box-shadow:var(--zb-shadow-sm);
      }

      .zb-proof-card img{
        width:100%;
        aspect-ratio:16/9;
        object-fit:cover;
      }

      .zb-proof-card div{
        padding:var(--zb-space-5);
      }

      .zb-proof-card h3{
        margin:0 0 8px;
        color:var(--zb-color-primary);
        font-size:.98rem;
        line-height:1.4;
        font-weight:900;
      }

      .zb-proof-card p{
        margin:0;
        color:var(--zb-color-muted);
        font-size:.88rem;
        line-height:1.65;
      }

      @media(max-width:1199px){
        .zb-market-layout{
          grid-template-columns:1fr;
        }

        .zb-proof-gallery{
          grid-template-columns:repeat(2,minmax(0,1fr));
        }
      }

      @media(max-width:767px){
        .zb-market-full{
          padding-bottom:40px;
        }

        .zb-market-map{
          min-height:320px;
          padding:var(--zb-space-6);
        }

        .zb-region-list,
        .zb-market-actions,
        .zb-trust-steps,
        .zb-proof-gallery{
          grid-template-columns:1fr;
        }

        .zb-trust-panel{
          padding:var(--zb-space-7);
        }
      }

      @media(max-width:480px){
        .zb-market-map{
          min-height:280px;
          padding:var(--zb-space-5);
        }
      }
/**** Global Market End ****/
/* KNOWLEDGE HUB START */

.rd-knowledge-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  margin-top:clamp(36px,4vw,56px);
}

.rd-knowledge-card{
  overflow:hidden;
  border:1px solid var(--zb-color-border);
  border-radius:28px;
  background:#fff;
  transition:var(--zb-transition);
}

.rd-knowledge-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--zb-shadow-sm);
}

.rd-knowledge-image{
  display:block;
  overflow:hidden;
}

.rd-knowledge-image img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
  transition:transform .7s ease;
}

.rd-knowledge-card:hover .rd-knowledge-image img{
  transform:scale(1.04);
}

.rd-knowledge-body{
  padding:24px;
}

.rd-knowledge-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
  color:var(--zb-color-muted);
  font-size:.82rem;
}

.rd-knowledge-meta span{
  color:var(--zb-color-accent);
  font-weight:800;
}

.rd-knowledge-body h3{
  margin:0 0 14px;
  font-size:1.08rem;
  line-height:1.42;
}

.rd-knowledge-body h3 a{
  color:var(--zb-color-primary);
}

.rd-knowledge-body p{
  margin:0 0 18px;
  color:var(--zb-color-muted);
  font-size:.95rem;
  line-height:1.75;
}

.rd-knowledge-link{
  color:var(--zb-color-primary);
  font-weight:800;
}

@media(max-width:1199px){
  .rd-knowledge-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:767px){
  .rd-knowledge-grid{
    grid-template-columns:1fr;
  }
}

/* KNOWLEDGE HUB END */
/* POPULAR BUYER QUESTIONS START */

.rd-question-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:clamp(36px,4vw,56px);
}

.rd-question-card{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:28px;
  border:1px solid var(--zb-color-border);
  border-radius:28px;
  background:#fff;
  transition:var(--zb-transition);
}

.rd-question-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--zb-shadow-sm);
}

.rd-question-card span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  margin-bottom:22px;
  border-radius:50%;
  border:1px solid var(--zb-color-border);
  color:var(--zb-color-accent);
  font-size:.85rem;
  font-weight:900;
}

.rd-question-card h3{
  margin:0 0 14px;
  color:var(--zb-color-primary);
  font-size:1.08rem;
  line-height:1.45;
}

.rd-question-card p{
  margin:0;
  color:var(--zb-color-muted);
  line-height:1.75;
  font-size:.95rem;
}

@media(max-width:1199px){

  .rd-question-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}

@media(max-width:767px){

  .rd-question-grid{
    grid-template-columns:1fr;
  }

}
/* POPULAR BUYER QUESTIONS END */
/* BLOG SEARCH & TAGS START */

.rd-blog-search-box{
  padding:clamp(32px,4vw,56px);
  border:1px solid var(--zb-color-border);
  border-radius:34px;
  background:
    radial-gradient(circle at 92% 10%, rgba(196,147,47,.1), transparent 28%),
    #fff;
}

.rd-blog-search-head{
  max-width:900px;
  margin-bottom:32px;
}

.rd-blog-search-form{
  max-width:980px;
  margin-bottom:28px;
}

.rd-blog-search-input{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:8px;
  padding:8px;
  border:1px solid var(--zb-color-border);
  border-radius:999px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.04);
}

.rd-blog-search-input input{
  width:100%;
  height:54px;
  border:0;
  outline:0;
  padding:0 20px;
  background:transparent;
  color:var(--zb-color-primary);
  font:inherit;
}

.rd-blog-search-input button{
  height:54px;
  min-width:148px;
  border:0;
  border-radius:999px;
  background:var(--zb-color-primary);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  transition:var(--zb-transition);
}

.rd-blog-search-input button:hover{
  transform:translateY(-1px);
  background:var(--zb-color-accent);
}

.rd-blog-tags{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.rd-blog-tags a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 18px;
  border:1px solid var(--zb-color-border);
  border-radius:999px;
  background:#fff;
  color:var(--zb-color-primary);
  font-size:.94rem;
  font-weight:700;
  transition:var(--zb-transition);
}

.rd-blog-tags a:hover{
  background:var(--zb-color-primary);
  border-color:var(--zb-color-primary);
  color:#fff;
}

@media(max-width:767px){
  .rd-blog-search-input{
    grid-template-columns:1fr;
    border-radius:24px;
    padding:12px;
  }

  .rd-blog-search-input input{
    height:50px;
    padding:0 12px;
  }

  .rd-blog-search-input button{
    width:100%;
    min-width:0;
  }
}

/* BLOG SEARCH & TAGS END */
/* shaixuan kapian */
.rd-knowledge-filter-horizontal{
  display:flex;
  overflow-x:auto;
  gap:12px;
  padding-bottom:8px;
  margin-bottom:32px;
}
.rd-knowledge-filter-horizontal button{
  flex:0 0 auto;
  border:1px solid #e4e7ec;
  background:#fff;
  color:#475467;
  padding:10px 16px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  transition:.25s ease;
}
.rd-knowledge-filter-horizontal button.active,
.rd-knowledge-filter-horizontal button:hover{
  background:var(--zb-color-primary);
  color:#fff;
  border-color:var(--zb-color-primary);
}
.rd-knowledge-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.rd-knowledge-card{
  background:#fff;
  border:1px solid #e7ecef;
  border-radius:22px;
  padding:26px;
  transition:.25s ease;
}
.rd-knowledge-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 45px rgba(16,24,40,.08);
}
.rd-knowledge-card h2{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.3;
}
.rd-knowledge-card h2 a{
  color:var(--zb-color-primary);
  text-decoration:none;
}
.rd-knowledge-card h2 a:hover{
  color:var(--zb-color-accent);
}
.rd-knowledge-card p{
  margin:0 0 18px;
  color:#667085;
  line-height:1.65;
}
.rd-knowledge-load-wrap{
  display:flex;
  justify-content:center;
  margin-top:36px;
}
.rd-knowledge-card.is-hidden{display:none;}
#rd-knowledge-load-more.is-hidden{display:none;}

@media(max-width:991px){
  .rd-knowledge-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:680px){
  .rd-knowledge-grid{grid-template-columns:1fr;}
}
/* shaixuan kapian END*/
/* BLOG CATEGORY PAGE START */

.rd-blog-cat-hero{
  padding:clamp(70px,8vw,110px) 0;
  background:linear-gradient(180deg,#fff 0%,#f8f9fb 100%);
}

.rd-blog-cat-head{
  max-width:920px;
}

.rd-blog-cat-title{
  margin:18px 0 24px;
  color:var(--zb-color-primary);
  font-size:clamp(2rem,3vw,3rem);
  line-height:1;
  font-weight:900;
  letter-spacing:-.045em;
}

/* FEATURED ARTICLES */

.rd-blog-featured-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  margin-top:clamp(36px,4vw,56px);
}

.rd-blog-featured-card{
  overflow:hidden;
  border:1px solid var(--zb-color-border);
  border-radius:34px;
  background:#fff;
  transition:var(--zb-transition);
}

.rd-blog-featured-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--zb-shadow-sm);
}

.rd-blog-featured-image{
  display:block;
  overflow:hidden;
}

.rd-blog-featured-image img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  display:block;
  transition:transform .8s ease;
}

.rd-blog-featured-card:hover .rd-blog-featured-image img{
  transform:scale(1.04);
}

.rd-blog-featured-body{
  padding:30px;
}

.rd-blog-featured-body h2{
  margin:16px 0;
  font-size:clamp(1.35rem,2vw,2rem);
  line-height:1.2;
}

.rd-blog-featured-body h2 a{
  color:var(--zb-color-primary);
}

.rd-blog-featured-body .zb-btn{
  margin-top:22px;
}
.rd-blog-cta-box{
  padding:clamp(34px,5vw,60px);
  border-radius:34px;
  background:linear-gradient(180deg,#fff 0%,#f7f8fa 100%);
  border:1px solid var(--zb-color-border);
  text-align:center;
}

.rd-blog-cta-box h2{
  margin:18px 0;
  color:var(--zb-color-primary);
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:1.15;
  font-weight:900;
}

.rd-blog-cta-box .zb-section-desc{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}

.rd-blog-cta-box .zb-btn{
  margin-top:26px;
}

@media(max-width:991px){
.rd-blog-featured-grid{grid-template-columns:1fr;}
}

/* BLOG CATEGORY PAGE END */
/* ARTICLE HERO START */

.rd-article-hero{
  padding:clamp(50px,6vw,90px) 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(196,147,47,.08), transparent 30%),
    linear-gradient(180deg,#fff 0%,#f8f9fb 100%);
}

.rd-article-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 46%;
  gap:clamp(40px,5vw,72px);
  align-items:center;
}

.rd-article-category{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 18px;
  border-radius:999px;
  background:rgba(196,147,47,.08);
  color:var(--zb-color-accent);
  font-size:.85rem;
  font-weight:800;
}

.rd-article-title{
  margin:20px 0;
  color:var(--zb-color-primary);
  font-size:clamp(1.3rem,3vw,3rem);
  font-weight:900;
  letter-spacing:-.045em;
}

.rd-article-desc{
  max-width:760px;
  color:var(--zb-color-muted);
  font-size:1.06rem;
  line-height:1.9;
}

.rd-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:34px;
}

.rd-article-meta-item{
  min-width:140px;
  padding:18px 22px;
  border:1px solid var(--zb-color-border);
  border-radius:20px;
  background:#fff;
}

.rd-article-meta-item strong{
  display:block;
  margin-bottom:6px;
  color:var(--zb-color-primary);
  font-size:.84rem;
}

.rd-article-meta-item span{
  color:var(--zb-color-muted);
  font-size:.95rem;
}

.rd-article-cover{
  overflow:hidden;
  border-radius:34px;
}

.rd-article-cover img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  display:block;
}

@media(max-width:991px){

  .rd-article-head{
    grid-template-columns:1fr;
  }

}

@media(max-width:767px){
  .rd-article-meta{
    display:grid;
    grid-template-columns:1fr;
  }

}

/* ARTICLE HERO END */
/* ARTICLE MAIN LAYOUT START */

.rd-article-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 450px;
  gap:clamp(20px,1.5vw,20px);
  align-items:start;
}

.rd-post-content{
  max-width:1000px;
}
.rd-article-body h2 {
  scroll-margin-top: 120px;
}
.rd-post-content.rd-article-body a{color: var(--zb-color-accent);font-weight: 900;text-decoration: underline;}
.rd-post-content.rd-article-body a:hover{color: var(--zb-color-primary)}
.rd-toc-layout {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.rd-toc-progress {
  width: 3px;
  background: #e8e8e8;
  border-radius: 99px;
  flex-shrink: 0;
  overflow: hidden;
}

.rd-toc-progress span {
  display: block;
  width: 100%;
  height: 0%;
  background: #b28734;
  border-radius: 99px;
  transition: height 0.15s ease;
}
.rd-post-content h2{
  position:relative;
  margin:56px 0 22px;
  padding-left:24px;
  color:var(--zb-color-primary);
  font-size:clamp(1.7rem,2.5vw,2.5rem);
  line-height:1.18;
  font-weight:900;
  letter-spacing:-.02em;
}

.rd-post-content h2::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:5px;
  height:80%;
  border-radius:999px;
  background:var(--zb-color-accent);
}

.rd-post-content h2::after{
  content:"";
  position:absolute;
  left:-4px;
  top:50%;
  transform:translateY(-50%);
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--zb-color-accent);
  box-shadow:0 0 0 5px rgba(196,147,47,.12);
}

.rd-post-content h2:not(:first-child){
  margin-top:56px;
}

.rd-post-content h3{
  margin:34px 0 14px;
  color:var(--zb-color-primary);
  font-size:1.3rem;
  line-height:1.35;
  font-weight:900;
}

.rd-post-content p,
.rd-post-content li{
  color:var(--zb-color-muted);
  font-size:1rem;
  line-height:1.9;
}

.rd-post-content p{
  margin:0 0 18px;
}

.rd-post-content ul,
.rd-post-content ol{
  display:grid;
  gap:10px;
  margin:18px 0 0;
  padding-left:22px;
}
.rd-post-content ul{list-style: unset;}

.rd-post-content figure{
  margin:42px 0;
}

.rd-post-content figure img{
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit:cover;
  border-radius:28px;
  display:block;
}

.rd-post-content figcaption{
  margin-top:12px;
  color:var(--zb-color-muted);
  font-size:.9rem;
  line-height:1.6;
  text-align:center;
}

.rd-post-table-wrap{
  overflow:auto;
}

.rd-post-content table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}

.rd-post-content th,
.rd-post-content td{
  padding:18px 20px;
  border-bottom:1px solid var(--zb-color-border);
  text-align:left;
  vertical-align:top;
  line-height:1.7;
}

.rd-post-content th{
  color:var(--zb-color-primary);
  background:#f7f8fa;
  font-weight:900;
}

.rd-post-content td{
  color:var(--zb-color-muted);
}

.rd-article-sidebar{
  position:sticky;
  top:110px;
  display:grid;
  gap:18px;
  align-self:start;
}
.rd-author-box p{
  margin:0 0 22px;
  color:var(--zb-color-muted);
  line-height:1.75;
  font-size:.95rem;
}
.rd-author-actions{
  display:grid;
  gap:12px;
}
.rd-author-actions .zb-btn{
  width:100%;
  justify-content:center;
}

.rd-sidebar-box{
  padding:24px;
  border:1px solid var(--zb-color-border);
  border-radius:26px;
  background:#fff;
}

.rd-sidebar-box h2{
  margin:0 0 16px;
  color:var(--zb-color-primary);
  font-size:1.08rem;
  line-height:1.35;
  font-weight:900;
}

.rd-toc,
.rd-sidebar-links{
  display:grid;
  gap:12px;
}

.rd-toc a,
.rd-sidebar-links a{
  color:var(--zb-color-muted);
  line-height:1.6;
  font-size:.95rem;
}

.rd-toc a:hover,
.rd-sidebar-links a:hover{
  color:var(--zb-color-primary);
}
.rd-sidebar-links a::after {
    content: "";
    position: absolute;
    left: 21px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--zb-color-accent);
    box-shadow: 0 0 0 5px rgba(196, 147, 47, .12);
}
/**** Related Products ****/
      .rd-mat-group{
        margin-bottom:var(--zb-space-11);
      }

      .rd-mat-group:last-child{
        margin-bottom:0;
      }

      .rd-mat-title{
        margin:0 0 var(--zb-space-8);
        color:var(--zb-color-primary);
        font-size:clamp(2rem,2vw,2rem);
        line-height:1.1;
        font-weight:900;
        letter-spacing:-.04em;
      }

      .rd-mat-scroll{
        overflow-x:auto;
        overflow-y:hidden;
        padding-bottom:14px;
        scrollbar-width:thin;
      }

      .rd-mat-track{
        display:flex;
        flex-wrap:nowrap;
        gap:var(--zb-space-6);
        width:max-content;
      }

      .rd-mat-card{
        width:340px;
        flex:0 0 340px;
        transition:var(--zb-transition);
      }

      .rd-mat-card:hover{
        transform:translateY(-4px);
      }

      .rd-mat-card img{
        width:100%;
        aspect-ratio:16/9;
        object-fit:contain;
        display:block;
      }

      .rd-mat-card h4{
        color:var(--zb-color-primary);
        font-size:1.05rem;
        line-height:1.35;
        font-weight:900;
      }

      .rd-mat-card p{
        margin:6px 0 0;
        color:var(--zb-color-text);
        font-size:.92rem;
        line-height:1.5;
        font-weight:700;
      }
.rd-mat-card a{
    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:8px 15px;
    border:1.5px solid var(--zb-color-primary);
    border-radius:999px;
    transition:all .3s ease;
}

/* 箭头 */
.rd-mat-card a::after{
    content:"→";
    font-size:20px;
    line-height:1;
    transition:transform .3s ease;
}

/* Hover */
.rd-mat-card a:hover{
    border: 1.5px solid var(--zb-color-accent);
    color:var(--zb-color-accent);
}

.rd-mat-card a:hover::after{
    transform:translateX(4px);
}
      .rd-workflow-wrap{
        padding:clamp(28px,4vw,48px);
        border-radius:var(--zb-radius-lg);
        background:linear-gradient(180deg,#fafafa 0%,#f4f5f7 100%);
      }

      .rd-workflow-grid{
        display:grid;
        grid-template-columns:repeat(5,minmax(0,1fr));
        gap:var(--zb-space-6);
        align-items:center;
      }

      .rd-workflow-item{
        position:relative;
        text-align:center;
      }

      .rd-workflow-item:not(:last-child)::after{
        content:"→";
        position:absolute;
        top:36px;
        right:-18px;
        color:var(--zb-color-accent);
        font-size:1.8rem;
        font-weight:900;
      }

      .rd-workflow-icon{
        width:72px;
        height:72px;
        margin:0 auto 18px;
        border-radius:50%;
        background:#fff;
        display:flex;
        align-items:center;
        justify-content:center;
        box-shadow:var(--zb-shadow-sm);
        font-size:1.6rem;
        font-weight:900;
        color:var(--zb-color-accent);
      }

      .rd-workflow-item h4{
        margin:0 0 8px;
        color:var(--zb-color-primary);
        font-size:1rem;
        font-weight:900;
      }

      .rd-workflow-item p{
        margin:0;
        color:var(--zb-color-muted);
        font-size:.9rem;
        line-height:1.6;
      }

      @media(max-width:991px){
        .rd-workflow-grid{
          grid-template-columns:1fr;
        }

        .rd-workflow-item:not(:last-child)::after{
          content:"↓";
          top:auto;
          right:auto;
          left:50%;
          bottom:-24px;
          transform:translateX(-50%);
        }
      }

      @media(max-width:575px){
        .rd-mat-card{
          width:280px;
          flex-basis:280px;
        }
      }
    
/**** Related Products End ****/
@media(max-width:1199px){
  .rd-article-layout{
    grid-template-columns:1fr;
  }

  .rd-post-content{
    max-width:none;
  }

  .rd-article-sidebar{
    position:static;
    grid-template-columns:1fr;
  }
}

@media(max-width:767px){
  .rd-article-sidebar{
    grid-template-columns:1fr;
  }
  .rd-post-content h2{
    padding-left:20px;
  }

  .rd-post-content h2::before{
    width:4px;
  }

  .rd-post-content h2::after{
    width:10px;
    height:10px;
  }
  .rd-post-content h2:not(:first-child){
    margin-top:42px;
  }
}

/* ARTICLE MAIN LAYOUT END */
@media(max-width:767px){

  .rd-article-layout,
  .rd-post-content,
  .rd-article-sidebar,
  .rd-sidebar-box{
    min-width:0;
    max-width:100%;
  }

  .rd-post-content img,
  .rd-post-content video,
  .rd-post-content iframe{
    max-width:100%;
  }

  .rd-post-content iframe{
    width:100%;
    aspect-ratio:16 / 9;
    height:auto;
  }

  .rd-post-content{
    overflow-wrap:anywhere;
  }

  .rd-post-table-wrap{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
}
/* RELATED ARTICLES START */

.rd-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:clamp(36px,4vw,56px);
}

@media(max-width:1199px){

  .rd-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}

@media(max-width:767px){

  .rd-related-grid{
    grid-template-columns:1fr;
  }

}

/* RELATED ARTICLES END */
.table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
	/* Firefox */
    scrollbar-width: auto;
    scrollbar-color: #888 #eeeeee;
}
/* Chrome / Edge / Safari */
.table-scroll::-webkit-scrollbar {
    height: 16px;
}

.table-scroll::-webkit-scrollbar-track {
    background: #eeeeee;
    border-radius: 10px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: #888888;
    border-radius: 10px;
    border: 2px solid #eeeeee;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
    background: #666666;
}
.table-scroll table {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    .table-scroll table {
        min-width: 700px;
    }
}

/* ==========================================
   LINTEK KNOWLEDGE ARTICLE IMAGE
   Replace original numbered cover styles
   ========================================== */

.lt-kf-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf1f5;
  text-decoration: none;
}

/* Real article image */

.lt-kf-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  transition: transform .35s ease;
}

/* Subtle hover zoom */

.lt-kf-card:hover .lt-kf-media img {
  transform: scale(1.045);
}

/* Image category label */

.lt-kf-media-label {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 1;

  display: inline-flex;
  align-items: center;

  max-width: calc(100% - 26px);
  padding: 7px 11px;

  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 5px;

  background: rgba(255, 255, 255, .96);
  color: #102235;

  font-size: 10px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .35px;
}

/* Mobile */

@media (max-width: 767px) {

  .lt-kf-media-label {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 6px 9px;
    font-size: 9px;
  }

}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

  .lt-kf-media img {
    transition: none;
  }

  .lt-kf-card:hover .lt-kf-media img {
    transform: none;
  }

}

/* Article Author Contact Button Icons */
.rd-author-actions .zb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rd-author-actions .zb-btn img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}
/* Email Button */
.rd-author-actions .rd-author-email img {
    filter: brightness(0) invert(1);
}
/* WhatsApp Button */
.rd-author-actions .rd-author-whatsapp {
    background: #20c768;
    border-color: #20c768;
    color: #fff;
}

.rd-author-actions .rd-author-whatsapp img {
    filter: brightness(0) invert(1);
}

.rd-author-actions .rd-author-whatsapp:hover {
    background: #19ad58;
    border-color: #19ad58;
    color: #fff;
}
/* Article Technical References */

.hx-technical-references {
    margin: 20px 0;
    padding-left: 24px;
}

.hx-technical-references li {
    margin-bottom: 16px;
    line-height: 1.7;
}

.hx-technical-references li a {
    color: var(--zb-color-anniu);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hx-technical-references li span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

.hx-technical-reference-note {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--zb-color-accent);
    background: var(--zb-color-surface-soft);
    font-size: 13px;
    line-height: 1.7;
}
/* Article Inline Technical Source */

.rd-post-content .hx-technical-source {
    margin: 12px 0 24px;
    padding: 12px 16px;
    border-left: 3px solid var(--zb-color-accent);
    background: var(--zb-color-surface-soft);
    font-size: 13px;
    line-height: 1.7;
}

.rd-post-content .hx-technical-source cite {
    font-style: italic;
    font-weight: 500;
}
/* ==================================================
   HSENMACH FLH CALCULATOR & VARIATION ANALYZER
   ================================================== */

(function () {
    "use strict";

    function initFLHCalculator() {

        const calculator = document.getElementById("hx-flh-calculator");

        if (!calculator || calculator.dataset.initialized === "true") {
            return;
        }

        const get = function (id) {
            return calculator.querySelector("#" + id);
        };

        const controls = get("hx-flh-controls");
        const form = get("hx-flh-form");
        const mode = get("hx-flh-mode");

        const dieInput = get("hx-flh-die");
        const heightInput = get("hx-flh-height");
        const ratioInput = get("hx-flh-ratio");
        const maxInput = get("hx-flh-max");
        const minInput = get("hx-flh-min");

        const dieField = get("hx-flh-die-field");
        const heightField = get("hx-flh-height-field");
        const ratioField = get("hx-flh-ratio-field");
        const maxField = get("hx-flh-max-field");
        const minField = get("hx-flh-min-field");

        const resultLabel = get("hx-flh-result-label");
        const resultValue = get("hx-flh-result-value");
        const resultFormula = get("hx-flh-result-formula");
        const resultDescription = get("hx-flh-result-description");

        if (
            !controls || !form || !mode ||
            !dieInput || !heightInput || !ratioInput ||
            !maxInput || !minInput ||
            !dieField || !heightField || !ratioField ||
            !maxField || !minField ||
            !resultLabel || !resultValue ||
            !resultFormula || !resultDescription
        ) {
            return;
        }

        calculator.dataset.initialized = "true";

        function formatNumber(value, digits = 2) {

            if (value > 0 && value < Math.pow(10, -digits)) {
                return value.toExponential(3);
            }

            return value.toLocaleString("en-US", {
                maximumFractionDigits: digits
            });
        }

        function validPositiveNumber(value) {
            return Number.isFinite(value) && value > 0;
        }

        function setFieldState(container, input, active) {
            container.hidden = !active;
            input.disabled = !active;
            input.required = active;
        }

        function showError(message) {
            resultValue.textContent = "—";
            resultFormula.textContent = "";
            resultDescription.textContent = message ||
                "Please enter valid positive numbers in all required fields.";
        }

        function updateFields() {

            const selectedMode = mode.value;

            setFieldState(
                dieField,
                dieInput,
                selectedMode !== "variation"
            );

            setFieldState(
                heightField,
                heightInput,
                selectedMode === "ratio"
            );

            setFieldState(
                ratioField,
                ratioInput,
                selectedMode === "height"
            );

            setFieldState(
                maxField,
                maxInput,
                selectedMode === "variation"
            );

            setFieldState(
                minField,
                minInput,
                selectedMode === "variation"
            );
        }

        function calculate() {

            const selectedMode = mode.value;

            const die = dieInput.valueAsNumber;
            const height = heightInput.valueAsNumber;
            const ratio = ratioInput.valueAsNumber;
            const maximum = maxInput.valueAsNumber;
            const minimum = minInput.valueAsNumber;

            const labels = {
                ratio: "Normalized Frost Line Height",
                height: "Calculated Reference Frost Line Height",
                variation: "Measured Frost Line Height Difference"
            };

            resultLabel.textContent =
                labels[selectedMode] || "Calculation Result";

            if (!form.checkValidity()) {
                showError("Please enter valid values in all required fields.");
                return;
            }

            /* Calculate Normalized FLH */

            if (selectedMode === "ratio") {

                if (
                    !validPositiveNumber(die) ||
                    !validPositiveNumber(height)
                ) {
                    showError();
                    return;
                }

                const result = height / die;

                if (!validPositiveNumber(result)) {
                    showError("The values are outside the calculable range.");
                    return;
                }

                resultValue.textContent =
                    formatNumber(result) + " × D";

                resultFormula.textContent =
                    "R = " + formatNumber(height, 4) +
                    " / " + formatNumber(die, 4);

                resultDescription.textContent =
                    "The measured frost line height is " +
                    formatNumber(result) +
                    " times the die diameter.";

                return;
            }

            /* Calculate Reference Frost Line Height */

            if (selectedMode === "height") {

                if (
                    !validPositiveNumber(die) ||
                    !validPositiveNumber(ratio)
                ) {
                    showError();
                    return;
                }

                const result = die * ratio;

                if (!validPositiveNumber(result)) {
                    showError("The values are outside the calculable range.");
                    return;
                }

                resultValue.textContent =
                    formatNumber(result) + " mm";

                resultFormula.textContent =
                    "H = " + formatNumber(die, 4) +
                    " × " + formatNumber(ratio, 4);

                resultDescription.textContent =
                    "Calculated dimensional reference only. " +
                    "This is not a recommended machine operating setting.";

                return;
            }

            /* Analyze Frost Line Variation */

            if (selectedMode === "variation") {

                if (
                    !validPositiveNumber(maximum) ||
                    !validPositiveNumber(minimum)
                ) {
                    showError();
                    return;
                }

                if (maximum < minimum) {
                    showError(
                        "Maximum height must be greater than or equal to minimum height."
                    );
                    return;
                }

                const difference = maximum - minimum;
                const midpoint = maximum / 2 + minimum / 2;

                const relativeVariation =
                    (difference / midpoint) * 100;

                if (
                    !Number.isFinite(difference) ||
                    !validPositiveNumber(midpoint) ||
                    !Number.isFinite(relativeVariation)
                ) {
                    showError("The values are outside the calculable range.");
                    return;
                }

                resultValue.textContent =
                    formatNumber(difference) + " mm";

                resultFormula.textContent =
                    "ΔH = " + formatNumber(maximum, 4) +
                    " − " + formatNumber(minimum, 4);

                resultDescription.textContent =
                    "Midpoint height: " +
                    formatNumber(midpoint) +
                    " mm. Relative difference: " +
                    formatNumber(relativeVariation) +
                    "% of the midpoint. No acceptance threshold is implied.";

                return;
            }

            showError("Please select a calculation method.");
        }

        /* Calculation Mode */

        mode.addEventListener("change", function () {
            updateFields();
            calculate();
        });

        /* Live Calculation */

        form.addEventListener("input", function (event) {

            if (!event.target.matches('input[type="number"]')) {
                return;
            }

            calculate();
        });

        /* Calculate Button */

        form.addEventListener("submit", function (event) {

            event.preventDefault();

            calculate();
        });

        /* Reset Button */

        form.addEventListener("reset", function () {

            window.requestAnimationFrame(function () {
                updateFields();
                calculate();
            });

        });

        /* Initial Calculation */

        updateFields();
        calculate();

        controls.hidden = false;
    }

    if (document.readyState === "loading") {
        document.addEventListener("DOMContentLoaded", initFLHCalculator);
    } else {
        initFLHCalculator();
    }

})();