/* Oznaczenia treści AI — bazowe style z motywu Reme (motyw może nadpisać).
   Klasy modyfikatorów na kontenerze (.usp-center-aibadge, -gen, -mod) nadaje
   filtr render_block_core/image; poniżej style widocznej etykiety. */

figure.usp-center-aibadge,
figure.usp-center-aibadge-gen,
figure.usp-center-aibadge-mod {
  position: relative;
}

.usp-center-aibadge__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.usp-center-aibadge__label {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 4px 10px;
  color: #000;
  font-size: 12px;
  line-height: 1.4;
  /* Półprzezroczysta podkładka — czarny tekst wprost na zdjęciu bywa
     nieczytelny na ciemnych kadrach. */
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.usp-center-aibadge__label--hero {
  bottom: 20px;
  left: 20px;
}

.usp-center-aibadge__label--section {
  bottom: 16px;
  left: 16px;
}

/* Wideo: prawy górny róg — dół zajmuje pasek sterowania odtwarzacza. */
.usp-center-aibadge__label--video {
  top: 24px;
  right: 24px;
  bottom: auto;
  left: auto;
}

@media (min-width: 1200px) {
  .usp-center-aibadge__label--video {
    top: 36px;
    right: 36px;
  }
}

/* Bloki core/image — overlay nie ma sensu, napis idzie pod obrazem. */
.usp-center-aibadge__label--block {
  position: static;
  max-width: none;
  margin-top: 8px;
  padding: 0;
  background: none;
  backdrop-filter: none;
}
