/* A translated review: the translation, the original behind a button (inc/review-translations.php). */
.dpl-review-tr [hidden] { display: none; }
.dpl-review-tr__text > :first-child { margin-top: 0; }
.dpl-review-tr .dpl-review-tr__note {
  margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: #6B6B6B;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
}
.dpl-review-tr .dpl-review-tr__toggle {
  margin: 0; padding: 0; border: 0; background: none; font: inherit; color: #0D0D0D;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-transform: none; letter-spacing: normal;
  height: auto; min-height: 0; border-radius: 0;
}
.dpl-review-tr .dpl-review-tr__toggle:hover { color: #6B6B6B; }
.dpl-review-tr .dpl-review-tr__toggle:focus-visible { outline: 2px solid #0D0D0D; outline-offset: 2px; }

/* In the floating panel the texts are clamped one by one (assets/dpl-review-panel.js), so the note stays visible. */
.dpl-review-tr__text.is-clamped {
  max-height: 6.2em; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
