/* LogicalDOC Knowledge Management page - UIkit 3.25 enhancements only */
.ldkm-article { --ldkm-orange: #f47721; --ldkm-ink: #172334; --ldkm-line: #e6eaf0; color: var(--ldkm-ink); }
.ldkm-article h2, .ldkm-article h3 { color: var(--ldkm-ink); }
.ldkm-article h2 { font-weight: 700; line-height: 1.2; }
.ldkm-article h3 { font-weight: 650; }
.ldkm-article p { line-height: 1.72; }
.ldkm-article a:not(.uk-button):not(.uk-accordion-title) { text-underline-offset: 3px; }
.ldkm-article .ldkm-section-head { max-width: 820px; margin-bottom: 30px; }
.ldkm-article .ldkm-section-head > p:last-child { font-size: 1.08rem; }
.ldkm-article .ldkm-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #152033; }
.ldkm-article .ldkm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ldkm-article .ldkm-jump { padding: 15px 18px; border-top: 1px solid var(--ldkm-line); border-bottom: 1px solid var(--ldkm-line); }
.ldkm-article .ldkm-jump a { font-size: .9rem; }
.ldkm-article .ldkm-feature-card { height: 100%; border: 1px solid var(--ldkm-line); box-shadow: none; border-radius: 9px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.ldkm-article .ldkm-feature-card:hover { transform: translateY(-2px); border-color: #f5c4a2; box-shadow: 0 8px 22px rgba(23,35,52,.07); }
.ldkm-article .ldkm-icon { color: var(--ldkm-orange); }
.ldkm-article .ldkm-feature-card h3 { margin-top: 14px; }
.ldkm-article .ldkm-feature-card p:last-child { margin-bottom: 0; }
.ldkm-article .ldkm-comparison th { white-space: normal; }
.ldkm-article .ldkm-comparison tbody tr:hover { background: #fff8f3; }
.ldkm-article .ldkm-steps .uk-card { height: 100%; position: relative; border: 1px solid var(--ldkm-line); border-radius: 9px; box-shadow: none; }
.ldkm-article .ldkm-step-number { display: block; color: #8490a0; font-size: .75rem; letter-spacing: .1em; font-weight: 700; margin-bottom: 12px; }
.ldkm-article .ldkm-steps h3 { margin-top: 12px; }
.ldkm-article .ldkm-benefit-band { border-radius: 10px; background: #243246; }
.ldkm-article .ldkm-benefit-band h3, .ldkm-article .ldkm-benefit-band p { color: #fff; }
.ldkm-article .ldkm-faq { border-top: 1px solid var(--ldkm-line); }
.ldkm-article .ldkm-faq > li { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--ldkm-line); }
.ldkm-article .ldkm-faq .uk-accordion-title { font-weight: 600; color: var(--ldkm-ink); }
.ldkm-article .ldkm-faq .uk-accordion-content { max-width: 880px; }
.ldkm-article .ldkm-final .uk-card { border-radius: 12px; background: #23344c; }
.ldkm-article .ldkm-final h2, .ldkm-article .ldkm-final p { color: #fff; }
.ldkm-article .ldkm-final .uk-button-default { background: var(--ldkm-orange); border-color: var(--ldkm-orange); color: #161616; font-weight: 700; }
.ldkm-article .ldkm-final .uk-button-text { color: #fff; }
@media (max-width: 639px) { .ldkm-article .uk-section { padding-top: 32px; padding-bottom: 32px; } .ldkm-article .ldkm-jump { padding: 12px 0; } .ldkm-article .ldkm-jump .uk-subnav { justify-content: flex-start; } .ldkm-article .ldkm-feature-card { padding: 22px; } .ldkm-article .ldkm-final .uk-button-text { display: inline-block; margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .ldkm-article .ldkm-feature-card { transition: none; } .ldkm-article .ldkm-feature-card:hover { transform: none; } }


/* Knowledge Management - Hero Screenshot */

.ldkm-hero-image {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #edf2f8;
  box-shadow: 0 12px 35px rgba(20, 35, 55, 0.10);
}

.ldkm-hero-image-link {
  width: 100%;
  cursor: zoom-in;
}

.ldkm-hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

.ldkm-hero-image:hover .ldkm-hero-screenshot {
  transform: scale(1.035);
}

/* Center zoom icon */

.ldkm-hero-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: rgba(25, 40, 62, 0.80);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.ldkm-hero-image:hover .ldkm-hero-zoom,
.ldkm-hero-image:focus-within .ldkm-hero-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Bottom-right hint */

.ldkm-hero-image-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  margin: 12px;
  border-radius: 6px;
  background: rgba(25, 40, 62, 0.85);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ldkm-hero-image:hover .ldkm-hero-image-label,
.ldkm-hero-image:focus-within .ldkm-hero-image-label {
  opacity: 1;
}

@media (hover: none) {
  .ldkm-hero-image-label {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ldkm-hero-screenshot,
  .ldkm-hero-zoom,
  .ldkm-hero-image-label {
    transition: none;
  }
}

/* Knowledge Management: targeted refinements, UIkit 3.25 remains primary */
.ldkm-article .ldkm-intro-grid { align-items: center; }
.ldkm-article .ldkm-video { width: 100%; aspect-ratio: 16 / 9; background: #17263c; }
.ldkm-article .ldkm-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.ldkm-article .ldkm-search-example { border-left: 3px solid #ff7900; background: #fff7ef; color: #26364b; padding: 14px 16px; }
.ldkm-article .ldkm-edition-note { background: #f3f6fa; color: #26364b; border-left: 3px solid #ff7900; padding: 16px 20px; }
.ldkm-article .ldkm-edition-note a { color: #b95000; text-decoration: underline; }
.ldkm-article .ldkm-steps .ldkm-step-card { padding: 24px 19px; }
.ldkm-article .ldkm-steps .ldkm-icon { display: inline-block; margin: 8px 0 12px; }
.ldkm-article .ldkm-steps .ldkm-step-card p { line-height: 1.55; }
.ldkm-article .ldkm-usecase-card { background: #fafbfd; border: 1px solid #edf0f4; border-radius: 8px; box-shadow: none; }
.ldkm-article .ldkm-usecase-card .ldkm-icon { margin-right: 7px; vertical-align: middle; }
.ldkm-article .ldkm-usecase-card h3 { margin-top: 0; }
.ldkm-article .ldkm-usecase-card p:last-child { margin-bottom: 0; }
@media (max-width: 959px) { .ldkm-article .ldkm-steps .ldkm-step-card { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .ldkm-article * { scroll-behavior: auto; } }

