/* Refine the existing QUACERT certification mark and show authentic
   DE/EN headings of each 2026 certificate in the corresponding card.
   This CSS is scoped to the protected full preview; no live changes. */

/* The original 600x600 WebP has an OPAQUE white square. Circular clipping
   hides those square corners while keeping the graphic pixels untouched.
   Reduce the Home mark to exactly 85% of its former CSS size. */
.section[aria-labelledby="qualitaet-titel"] .mabo-home-quality-heading {
  grid-template-columns: minmax(0, 1fr) clamp(82px, 7.65vw, 107px);
}
.section[aria-labelledby="qualitaet-titel"] .mabo-home-quality-seal,
.mabo-quality-split .mabo-quality-seal img {
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
}
@media (max-width: 520px) {
  .section[aria-labelledby="qualitaet-titel"] .mabo-home-quality-heading {
    grid-template-columns: minmax(0, 1fr) 70px;
  }
}
@media (max-width: 370px) {
  .section[aria-labelledby="qualitaet-titel"] .mabo-home-quality-heading {
    grid-template-columns: minmax(0, 1fr) 58px;
  }
}

/* Real PDF heading crops (from the separately uploaded DE/EN original
   certificates); they are NOT two different QUACERT certification marks. */
.mabo-quality-docs .mabo-quality-document-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(105px, 11vw, 145px);
  align-items: center;
  column-gap: clamp(0.7rem, 1.9vw, 1.2rem);
  margin-bottom: 1.1rem;
}
.mabo-quality-docs .mabo-quality-document-heading > div {
  min-width: 0;
}
.mabo-quality-docs .mabo-quality-document-heading h3 {
  margin: 0;
}
.mabo-quality-docs .mabo-quality-document-miniature {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8e6ef;
  border-radius: 5px;
  object-fit: contain;
}
@media (max-width: 420px) {
  .mabo-quality-docs .mabo-quality-document-heading {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 0.65rem;
  }
}
