/* Article-local styles for blog/merge-pdf-online/ ONLY */
body.article-detail-page .article-merge-pdf .article-hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.10);
}
body.article-detail-page .article-merge-pdf .article-hero-media::before,
body.article-detail-page .article-merge-pdf .article-hero-media::after {
  content: none !important;
  display: none !important;
}
body.article-detail-page .article-merge-pdf .article-hero-media picture,
body.article-detail-page .article-merge-pdf .article-hero-media img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
}
@media (max-width: 1024px) {
  body.article-detail-page .article-merge-pdf .article-hero {
    grid-template-columns: 1fr !important;
  }
}

/* Fix verified root cause: shared .btn span (0,1,1) overrides .button-ripple (0,1,0)
   to position:relative, pushing the injected ripple span into normal flow and enlarging the CTA. */
body.article-detail-page .article-merge-pdf .btn {
  position: relative !important;
  overflow: hidden !important;
}
body.article-detail-page .article-merge-pdf .btn > span.button-ripple {
  position: absolute !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
body.article-detail-page .article-merge-pdf .article-tool-cta .btn:hover {
  animation: none !important;
}
body.article-detail-page .article-merge-pdf .copy-link-button {
  box-sizing: border-box;
  min-height: 40px;
  height: 40px;
  white-space: nowrap;
}

/* Button stability: zero transform/enlargement on hover, focus, active, click */
body.article-detail-page .article-merge-pdf .copy-link-button,
body.article-detail-page .article-merge-pdf .article-tool-cta a.btn,
body.article-detail-page .article-merge-pdf .article-inline-cta a.btn,
body.article-detail-page .article-merge-pdf .related-posts a.text-link,
body.article-detail-page .article-merge-pdf .article-share-card a,
body.article-detail-page .article-merge-pdf .article-link-cards a,
body.article-detail-page .article-merge-pdf .article-faq summary,
body.article-detail-page .article-merge-pdf .mobile-share-bar button,
body.article-detail-page .article-merge-pdf .mobile-share-bar a {
  transform: none !important;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease !important;
}
body.article-detail-page .article-merge-pdf .copy-link-button:hover,
body.article-detail-page .article-merge-pdf .copy-link-button:focus,
body.article-detail-page .article-merge-pdf .copy-link-button:focus-visible,
body.article-detail-page .article-merge-pdf .copy-link-button:active,
body.article-detail-page .article-merge-pdf .article-tool-cta a.btn:hover,
body.article-detail-page .article-merge-pdf .article-tool-cta a.btn:focus,
body.article-detail-page .article-merge-pdf .article-tool-cta a.btn:focus-visible,
body.article-detail-page .article-merge-pdf .article-tool-cta a.btn:active,
body.article-detail-page .article-merge-pdf .article-inline-cta a.btn:hover,
body.article-detail-page .article-merge-pdf .article-inline-cta a.btn:focus,
body.article-detail-page .article-merge-pdf .article-inline-cta a.btn:focus-visible,
body.article-detail-page .article-merge-pdf .article-inline-cta a.btn:active,
body.article-detail-page .article-merge-pdf .related-posts a.text-link:hover,
body.article-detail-page .article-merge-pdf .related-posts a.text-link:focus,
body.article-detail-page .article-merge-pdf .related-posts a.text-link:focus-visible,
body.article-detail-page .article-merge-pdf .related-posts a.text-link:active,
body.article-detail-page .article-merge-pdf .article-share-card a:hover,
body.article-detail-page .article-merge-pdf .article-share-card a:focus,
body.article-detail-page .article-merge-pdf .article-share-card a:focus-visible,
body.article-detail-page .article-merge-pdf .article-share-card a:active,
body.article-detail-page .article-merge-pdf .article-link-cards a:hover,
body.article-detail-page .article-merge-pdf .article-link-cards a:focus,
body.article-detail-page .article-merge-pdf .article-link-cards a:active,
body.article-detail-page .article-merge-pdf .article-faq summary:hover,
body.article-detail-page .article-merge-pdf .article-faq summary:focus,
body.article-detail-page .article-merge-pdf .article-faq summary:active {
  transform: none !important;
}

/* Tutorial walkthrough steps & genuine Chrome screenshots */
body.article-detail-page .article-merge-pdf .mpo-step-card {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
body.article-detail-page .article-merge-pdf .mpo-step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
body.article-detail-page .article-merge-pdf .mpo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
}
body.article-detail-page .article-merge-pdf .mpo-step-head h3 {
  margin: 0;
  font-size: 1.12rem;
  color: #0f172a;
}
body.article-detail-page .article-merge-pdf .mpo-shot-fig {
  margin: 0.9rem 0 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}
body.article-detail-page .article-merge-pdf .mpo-shot-fig img {
  display: block;
  width: 100%;
  height: auto;
}
body.article-detail-page .article-merge-pdf .mpo-shot-fig.mpo-shot-mobile {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
body.article-detail-page .article-merge-pdf .mpo-shot-fig figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: #475569;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

/* Inline SVG diagram & technical tables */
body.article-detail-page .article-merge-pdf .mpo-diagram-card {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #f8fbff;
}
body.article-detail-page .article-merge-pdf .mpo-diagram-card svg {
  display: block;
  width: 100%;
  height: auto;
}
body.article-detail-page .article-merge-pdf .mpo-diagram-card figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: #475569;
  text-align: center;
}
body.article-detail-page .article-merge-pdf .mpo-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
}
body.article-detail-page .article-merge-pdf .mpo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
body.article-detail-page .article-merge-pdf .mpo-table th,
body.article-detail-page .article-merge-pdf .mpo-table td {
  padding: 0.8rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}
body.article-detail-page .article-merge-pdf .mpo-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}
body.article-detail-page .article-merge-pdf .mpo-table tr:last-child td {
  border-bottom: 0;
}
body.article-detail-page .article-merge-pdf .mpo-callout {
  margin: 1.15rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e293b;
}
body.article-detail-page .article-merge-pdf .mpo-callout.is-warn {
  border-left-color: #d97706;
  background: #fffbeb;
}
body.article-detail-page .article-merge-pdf .mpo-callout strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #0f172a;
}

/* Related article cards with real article thumbnails */
body.article-detail-page .article-merge-pdf .related-posts .article-thumb-img {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  margin-bottom: 0.85rem;
}
body.article-detail-page .article-merge-pdf .related-posts .article-thumb-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
