/* EU AI Act transparency – visible AI media labels */


/* Discreet corner watermark — enough for image AI transparency */
.ai-watermark {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 5;
  padding: 0.1rem 0.35rem;
  border-radius: 0.2rem;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.75);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  pointer-events: none;
  user-select: none;
  opacity: 0.85;
}

.ai-media {
  position: relative;
  display: block;
  margin: 0;
}

.ai-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-media-label {
  /* legacy — prefer .ai-watermark */
  display: none;
}

/* Label sits on the image wrapper (not clipped by overflow:hidden) */
.ai-media-label-outside {
  bottom: 1.25rem;
  left: 1rem;
}

.ai-media-label::before {
  content: "AI";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.25rem;
  border-radius: 0.25rem;
  background: #1a1c1c;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ai-media-caption {
  margin-top: 0.5rem;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #646464;
}

.ai-media-caption strong {
  color: #1a1c1c;
  font-weight: 600;
}

/* Screen-reader-only helper if Tailwind sr-only is unavailable */
.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  border-radius: 0.5rem;
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
