/* PDFflash — shared layout & a11y (link from every HTML page) */
.logo img {
  display: block;
  height: 40px;
  width: auto;
}
.site-footer .footer-brand img.footer-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}
.site-footer .footer-brand a {
  display: inline-block;
  text-decoration: none;
}
.site-footer .footer-brand a:hover {
  opacity: 0.92;
}
html {
  overflow-x: clip;
  overflow-x: hidden; /* fallback */
}
body {
  overflow-x: clip;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Reduce accidental horizontal scroll on small screens (toolbars, grids) */
img, video {
  max-width: 100%;
  height: auto;
}
/* Touch: avoid 300ms tap delay on older mobile WebKit */
button, [role="button"], .drop-zone, .merge-workspace, .nav-toggle, .btn-tool-reset, .btn-add-pdf, .btn-merge-main, .btn-convert, .btn-dl, .btn-primary, .btn-secondary, .tool-card, input[type="file"] + label, label.btn-file {
  touch-action: manipulation;
}
/* Keyboard focus visibility */
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid #e63946;
  outline-offset: 2px;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ad slots: no visible placeholder text; hide until you paste ad markup inside */
.ad-slot:empty {
  display: none !important;
}
