/* Oxygène 2: same footprint for short and long definitions.
   qTip's title bar stays outside the independently scrolling body. */
body .qtip.ui-wordpress-tooltip-pro,
body .qtip[class*="qtip-"] {
  box-sizing: border-box !important;
  width: min(340px, calc(100vw - 24px)) !important;
  max-width: min(340px, calc(100vw - 24px)) !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
body .qtip.ui-wordpress-tooltip-pro .qtip-content,
body .qtip[class*="qtip-"] .qtip-content {
  box-sizing: border-box !important;
  width: 100% !important;
  height: min(190px, calc(100dvh - 110px)) !important;
  min-height: 0 !important;
  max-height: min(190px, calc(100dvh - 110px)) !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #8998a0 transparent;
  text-align: left;
}
body .qtip .qtip-titlebar { box-sizing: border-box; }
body .qtip .qtip-content img, body .qtip .qtip-content iframe {
  max-width: 100% !important;
}
body .qtip .qtip-content::-webkit-scrollbar { width: 7px; }
body .qtip .qtip-content::-webkit-scrollbar-thumb { background: #8998a0; border-radius: 7px; }
@media (max-width: 420px) {
  body .qtip.ui-wordpress-tooltip-pro,
  body .qtip[class*="qtip-"] {
    width: min(310px, calc(100vw - 20px)) !important;
    max-width: min(310px, calc(100vw - 20px)) !important;
  }
}

/* v1.0.1: paragraph spacing inside tooltip only */
body .qtip .qtip-content p {
  margin: 0 0 0.45em !important;
  padding: 0 !important;
  line-height: 1.45 !important;
}
body .qtip .qtip-content p:last-child { margin-bottom: 0 !important; }
body .qtip .qtip-content ul, body .qtip .qtip-content ol {
  margin-top: 0.3em !important; margin-bottom: 0.5em !important;
}

/* 1.0.2: one line break only between successive lines. */
body .qtip .qtip-content br + br { display: none !important; }
body .qtip .qtip-content p + br { display: none !important; }
