/* ==================================================
   Lazesoft DocFrame v1.0
   Shared article / documentation style
   ================================================== */

.wrap {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  color: #111;
  background: #fff;
  max-width: none; /* important max-width: 960px;*/
  margin-left: auto;
  margin-right: auto;
  padding: 24px;
}

.wrap ul,
.wrap ol {
  padding-left: 22px;
}

.wrap header h1 {
  line-height: 1.2;
  margin: 0 0 10px;
}

.wrap h1 {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
}

.wrap h2 {
  font-size: 26px;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

.wrap hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 32px 0;
}

.meta {
  color: #555;
  font-size: 14px;
  margin: 0 0 20px;
}

/* Callout box */
.callout {
  border: 1px solid #e6e6e6;
  border-left: 6px solid #2563eb;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 10px;
  margin: 18px 0;
}

/* Grid cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

/* Headings */
.wrap h2 { margin-top: 28px; }
.wrap h3 { margin-top: 18px; }

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.table th,
.table td {
  border: 1px solid #e6e6e6;
  padding: 10px;
  vertical-align: top;
}

.table th {
  background: #f3f4f6;
  text-align: left;
}

/* FAQ */
.faq details {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

/* CTA */
.cta {
  margin: 26px 0;
  padding: 16px;
  border-radius: 14px;
  background: #0b1220;
  color: #fff;
}

.cta a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
}

.note {
  font-size: 13px;
  color: #555;
}

/* ================= Lazesoft Intro Strip ================= */

.intro {
  width: 100%;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  padding: 14px 0;
  overflow: hidden;
}

.intro .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.intro .left {
  float: left;
  max-width: 72%;
}

.intro .right {
  float: right;
  white-space: nowrap;
}

.intro a {
  color: #9cff00;
  text-decoration: none;
  font-weight: 600;
}

.intro a:hover {
  text-decoration: underline;
}

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

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  padding-bottom: 56.25%;
  height: 0;
  margin: 18px auto;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================= Step Images ================= */

.step-img {
  text-align: center;
  margin: 18px 0 26px;
}

.step-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.step-img .caption {
  font-size: 13px;
  color: #555;
  margin-top: 6px;
}


/* ==================================================
   Navigation helpers (moved from inline styles)
   ================================================== */
.breadcrumb {
  font-size: 13px;
  color: #555;
  margin: 0 0 10px;
}
.breadcrumb a {
  color: #555;
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

.toplinks {
  font-size: 14px;
  margin: 0 0 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.toplinks a { text-decoration: none; }
.toplinks a:hover { text-decoration: underline; }

/* Status pills */
.pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid #e6e6e6;
  background: #fff;
  color: #555;
  margin-right: 8px;
  vertical-align: middle;
}
.pill.ok {
  border-color: #cfe9cf;
  background: #f1fbf1;
  color: #0f7b0f;
}
.pill.warn {
  border-color: #ffe0b8;
  background: #fff7ea;
  color: #a15c00;
}

/* ==================================================
   figure helpers (moved from inline styles)
   ================================================== */
figure.guide-image {
  margin: 30px 0;
  text-align: center;
}

figure.guide-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

figure.guide-image figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.recovery-infographic {
  margin: 36px 0;
  padding: 0;
}

.ri-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.ri-head {
  text-align: center;
  margin-bottom: 24px;
}

.ri-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.ri-head h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
  color: #111827;
}

.ri-sub {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.ri-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 30px;
  padding: 16px 18px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 14px;
}

.ri-alert-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 34px;
  text-align: center;
  flex: 0 0 34px;
}

.ri-alert-text {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

.ri-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 30px;
  flex-wrap: wrap;
}

.ri-step {
  flex: 1 1 220px;
  min-width: 220px;
  padding: 20px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}

.ri-num {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
}

.ri-step h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #111827;
}

.ri-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
}

.ri-arrow {
  align-self: center;
  font-size: 28px;
  color: #93c5fd;
  padding: 0 4px;
}

.ri-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.ri-card {
  position: relative;
  padding: 24px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #fff;
}

.ri-card-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ri-card-badge.ri-alt {
  color: #065f46;
  background: #d1fae5;
}

.ri-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #111827;
}

.ri-card-desc {
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.7;
}

.ri-card ul {
  margin: 0;
  padding-left: 18px;
}

.ri-card li {
  margin: 8px 0;
  color: #374151;
  line-height: 1.6;
}

.ri-compare {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.ri-compare h3 {
  margin: 0 0 16px;
  font-size: 24px;
  color: #111827;
}

.ri-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ri-compare-item {
  padding: 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dbeafe;
}

.ri-compare-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.ri-compare-item p {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
}

/* ================= Layout with Left Navigation ================= */

.layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  box-sizing: border-box;
}

/* Left navigation */
.sidebar {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding-right: 10px;
}

.sidebar h3 {
  font-size: 14px;
  margin: 0 0 10px;
  color: #111;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin: 6px 0;
}

.sidebar a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
}

.sidebar a:hover {
  color: #2563eb;
}

/* Active section */
.sidebar a.active {
  font-weight: 600;
  color: #2563eb;
}

/* Content */
.content {
  min-width: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    max-height: none;
  }
}


/* ================= Sidebar Share ================= */

.doc-share {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5eaf3;
}

.share-title {
  display: block;
  font-size: 13px;
  color: #6b7a90;
  margin-bottom: 10px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f3f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.share-btn svg {
  width: 18px;
  height: 18px;
  fill: #2a5bd7;
}

.share-btn:hover {
  background: #2a5bd7;
}

.share-btn:hover svg {
  fill: #fff;
}

/* brand hint (optional subtle colors) */
.share-btn.fb:hover { background: #1877f2; }
.share-btn.x:hover { background: #000; }
.share-btn.reddit:hover { background: #ff4500; }
.share-btn.linkedin:hover { background: #0a66c2; }
.share-btn.copy:hover { background: #444; color: #fff; }


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

.related {
  margin: 40px 0 10px;
  padding-top: 10px;
}

.related h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.related-sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 18px;
}

/* Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

/* Card */
.related-card {
  display: block;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  transition: all 0.2s ease;
  position: relative;
}

.related-card:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

/* Tag */
.rc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Title */
.related-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: #111827;
}

/* Description */
.related-card p {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
}

/* ================= Manual / Related Link Hub ================= */

.manual-links {
  margin: 36px 0;
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.manual-links-group + .manual-links-group {
  margin-top: 28px;
}

.manual-links h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.3;
  color: #111827;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

.manual-links-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 14px;
}

.manual-links-list p {
  margin: 0;
}

.manual-links-list a {
  display: block;
  text-decoration: none;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.manual-links-list a:hover {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.manual-links-list a:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .manual-links {
    padding: 16px;
    border-radius: 14px;
  }

  .manual-links-list {
    grid-template-columns: 1fr;
  }

  .manual-links-list a {
    padding: 11px 12px;
    font-size: 14px;
  }
}

.lz-intro-card {
  max-width: 900px;
  margin: 24px auto;
  padding: 0;
}

.lz-intro-card .greybox {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  border: 1px solid #d6e7fb;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 22px rgba(35, 93, 170, 0.08);
}

.lz-intro-card .greybox p {
  margin: 0;
  color: #2d3e50;
  line-height: 1.75;
  font-size: 16px;
}

.lz-intro-card .greybox p:first-child {
  display: none;
}

.lz-intro-card .STYLE8 {
  color: #0d5cab;
  font-weight: 700;
  font-size: 1.1em;
}

.lz-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.lz-btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}

.lz-btn-primary {
  background: #0d6efd;
  color: #fff;
  border: 1px solid #0d6efd;
}

.lz-btn-primary:hover {
  background: #0b5ed7;
  border-color: #0b5ed7;
  color: #fff;
}

.lz-btn-secondary {
  background: #ffffff;
  color: #0d5cab;
  border: 1px solid #bfd8f5;
}

.lz-btn-secondary:hover {
  background: #f3f8fe;
  color: #084a8c;
  border-color: #9fc5ee;
}


/* =========================
   10) Shared pricing blocks
========================= */
.lz-price-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none !important;
}

.lz-price-card img {
  display: block;
  margin-bottom: 6px;
}

.lz-price-original {
  font-size: 14px;
  line-height: 1.2;
  color: var(--lz-text-muted);
  text-decoration: line-through;
  font-weight: 600;
}

.lz-price-sale {
  font-size: 22px;
  line-height: 1.1;
  color: var(--lz-danger);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lz-price-regular {
  font-size: 20px;
  line-height: 1.1;
  color: var(--lz-blue-900);
  font-weight: 800;
}