/* Scoped article styling: Joomla / UIkit 3 */
/* Full-width article area with a narrower reading measure. */
.ld-article-body {width:100%;max-width:100%;min-width:0;}
.ld-article-body > :not(.ld-comparison-wrapper) {max-width:940px;margin-left:auto;margin-right:auto;}
.ld-article-body > .ld-comparison-wrapper {width:100%;max-width:100%;}
@media (max-width:959px) {
  .ld-article-body > :not(.ld-comparison-wrapper) {max-width:100%;}
}

.ld-comparison-wrapper {overflow-x:auto;max-width:100%;margin:24px 0 12px;border:1px solid #dfe5eb;border-radius:12px;box-shadow:0 5px 20px rgba(23,42,66,.07);-webkit-overflow-scrolling:touch;}
.ld-comparison-wrapper:focus-visible {outline:3px solid #f28b42;outline-offset:3px;}
.ld-comparison-table {width:100%;min-width:1120px;margin:0;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:14px;line-height:1.55;}
.ld-comparison-table col.ld-product {width:13%;}
.ld-comparison-table col.ld-deployment {width:14%;}
.ld-comparison-table col.ld-versioning {width:16%;}
.ld-comparison-table col.ld-search {width:14%;}
.ld-comparison-table col.ld-permissions {width:14%;}
.ld-comparison-table col.ld-workflows {width:14%;}
.ld-comparison-table col.ld-limits {width:15%;}
.ld-comparison-table thead th {background:#183a57;color:#fff;font-weight:700;text-align:left;padding:15px 13px;vertical-align:top;border:0;}
.ld-comparison-table tbody th,.ld-comparison-table tbody td {padding:15px 13px;vertical-align:top;border-bottom:1px solid #e7ebf0;overflow-wrap:break-word;}
.ld-comparison-table tbody th {font-weight:700;color:#193a55;}
.ld-comparison-table tbody tr:nth-child(odd) {background:#fff;}
.ld-comparison-table tbody tr:nth-child(even) {background:#f4f7fa;}
.ld-comparison-table tbody tr.ld-featured {background:#fff1e5;}
.ld-comparison-table tbody tr.ld-featured th {border-left:4px solid #e77729;padding-left:9px;color:#ad4d12;}
.ld-comparison-table tbody tr:hover {background:#eaf3f9;}
.ld-comparison-table tbody tr.ld-featured:hover {background:#ffe7d2;}
.ld-comparison-table tbody tr:last-child th,.ld-comparison-table tbody tr:last-child td {border-bottom:0;}
.ld-comparison-table a {color:#146b9b;text-decoration:underline;text-underline-offset:2px;}
.ld-table-sources {font-size:13px;line-height:1.6;color:#65717c;margin-top:10px;}
@media(max-width:959px) {.ld-comparison-table {font-size:13px;min-width:1050px;} .ld-comparison-table thead th,.ld-comparison-table tbody td,.ld-comparison-table tbody th {padding-top:12px;padding-bottom:12px;}}

@media (max-width: 640px) {
    .ld-article-body > :not(.ld-comparison-wrapper) {
        max-width: 100%;
    }

    .ld-article-body {
        font-size: 15px;
        line-height: 1.65;
    }
}

@media (max-width: 640px) {
    .ld-article-body h3 {
        margin-top: 26px;
        margin-bottom: 12px;
    }
}

/* Mobile swipe indicator - hidden on desktop */
.ld-article-body .ld-mobile-swipe-hint {
    display: none;
}

/* Visible only on smartphones */
@media (max-width: 640px) {

    .ld-article-body .ld-mobile-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        margin: 12px 0;
        padding: 10px 12px;

        background-color: #f2f6fa;
        border-radius: 6px;

        color: #365675;
		font-size: 14px;
		font-weight: 500;
        line-height: 1.4;
        text-align: center;
    }

    /* Arrow added automatically via CSS */
    .ld-article-body .ld-mobile-swipe-hint::before {
        content: "\2192";
        display: inline-block;
        color: #ed7625;
        font-size: 20px;
        font-weight: 600;
        line-height: 1;
        flex-shrink: 0;
    }
}

/* Add to existing article CSS; no YOOtheme changes needed. */
.ld-article-body .ld-article-intro {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #435367;
  margin-bottom: 32px;
}
.ld-article-body .ld-comparison-methodology {
  max-width: 940px;
  margin: 22px auto 26px;
  padding: 18px 22px;
  background: #f6f8fa;
  border-left: 3px solid #d97b35;
  border-radius: 6px;
}
.ld-article-body .ld-comparison-methodology h3 {font-size: 1.12rem; margin: 0 0 10px;}
.ld-article-body .ld-comparison-methodology p {margin: 0;}
.ld-article-body .ld-mobile-swipe-hint {display: none;}
@media (max-width: 640px) {
  .ld-article-body .ld-article-intro {font-size: 1rem;line-height: 1.65;margin-bottom: 24px;}
  .ld-article-body .ld-comparison-methodology {padding: 15px 16px;}
  .ld-article-body .ld-mobile-swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 12px 0; padding: 12px;
    background: #f2f6fa; border-radius: 6px;
    color: #365675; font-size: 14px; font-weight: 500;
    line-height: 1.4; text-align: center;
  }
  .ld-article-body .ld-mobile-swipe-hint::before {
    content: "\2192"; color: #ed7625; font-size: 20px;
    font-weight: 600; line-height: 1; flex-shrink: 0;
  }
}

/* LogicalDOC FAQ accordion - scoped to this article */
.ld-article-body .ld-faq-accordion { margin-top: 22px; margin-bottom: 30px; }
.ld-article-body .ld-faq-accordion > li {
  margin-top: 0; padding: 0 18px; border: 1px solid #dce4eb;
  border-bottom: 0; background: #fff;
}
.ld-article-body .ld-faq-accordion > li:first-child { border-radius: 8px 8px 0 0; }
.ld-article-body .ld-faq-accordion > li:last-child { border-bottom: 1px solid #dce4eb; border-radius: 0 0 8px 8px; }
.ld-article-body .ld-faq-accordion .uk-accordion-title {
  padding: 18px 0; color: #193a55; font-size: 17px;
  line-height: 1.45; font-weight: 600; text-decoration: none;
}
.ld-article-body .ld-faq-accordion .uk-accordion-title:hover,
.ld-article-body .ld-faq-accordion .uk-open > .uk-accordion-title { color: #d66b23; }
.ld-article-body .ld-faq-accordion .uk-accordion-content { margin-top: 0; padding: 0 0 18px; }
.ld-article-body .ld-faq-accordion .uk-accordion-content p { margin: 0; line-height: 1.7; }
@media (max-width: 640px) {
  .ld-article-body .ld-faq-accordion > li { padding: 0 13px; }
  .ld-article-body .ld-faq-accordion .uk-accordion-title { font-size: 15px; padding: 15px 0; }
}