/* EU basic AI icon, displayed softly until hovered, focused or opened. */
.ai-image-frame, .ai-image-wrap { position: relative; min-width: 0; }
.ai-image-wrap { display: block; }
.ai-image-wrap > img { display: block; }
button.ai-image-label {
  position: absolute; z-index: 4; top: 0; right: 0;
  display: grid; place-items: center; width: 28px; height: 28px;
  min-width: 0; min-height: 0; margin: 0; padding: 4px;
  border: 0; border-radius: 50%; background: transparent; color: #000;
  cursor: help; line-height: 1; box-shadow: none;
}
button.ai-image-label > svg { display: block; width: 100%; height: 100%; opacity: .45; }
button.ai-image-label:is(:hover, :focus-visible, [aria-expanded="true"]) > svg { opacity: .85; }
button.ai-image-label:focus-visible { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 4px #141515; }
.ai-image-tooltip {
  position: fixed; inset: auto; z-index: 10000; margin: 0;
  width: max-content; max-width: min(300px, calc(100vw - 24px));
  padding: 13px 16px; border: 1px solid #d8c9b3; border-radius: 8px;
  background: #faf7f2; color: #141515; box-shadow: 0 8px 28px #14151524;
  font: 500 .875rem/1.5 Urbanist, sans-serif; text-align: left;
  letter-spacing: normal; overflow-wrap: anywhere;
}
.ai-image-tooltip[hidden] { display: none; }
.hero-image > .ai-image-label, .cafe-hero-photo > .ai-image-label { top: auto; right: auto; bottom: 0; left: 0; }
.module-photo-frame { position: absolute; inset: 0; z-index: 1; display: block; }
.module-photo-frame > .ai-image-label { top: auto; right: auto; bottom: 0; left: 0; }
.visual-tickets > .module-photo-frame, .visual-bonleiste > .module-photo-frame { position: relative; inset: auto; width: 100%; flex: none; }
.museum-hero-photo > .ai-image-label { top: auto; right: auto; bottom: 35px; left: 0; }
.gastro-hero-photo > .ai-image-label { top: auto; right: auto; bottom: 55px; left: 0; }
.history-page .ai-image-label { right: auto; left: 0; }
.history-era-photo > .ai-image-label { top: 24px; }
.ai-image-wrap:has(> .mg-food-photo) > .ai-image-label { top: auto; right: auto; bottom: 0; left: 0; }
.gastro-stock-inventory .ai-image-wrap { order: -1; }
.gastro-venue-qr-row > .ai-image-wrap { align-self: stretch; }
.cafes-page .cafe-stock-card .ai-image-wrap > img { margin-bottom: 0; }
.cafes-page .cafe-stock-card .ai-image-wrap { margin-bottom: 27px; }
@media (max-width: 760px) {
  .gastro-hero-photo > .ai-image-label { bottom: 48px; }
}
@media (max-width: 700px) {
  .gastro-stock-inventory .ai-image-wrap { order: 0; }
}
@media (max-width: 640px) {
  .history-era-photo > .ai-image-label { top: 15px; }
  .cafes-page .cafe-stock-card .ai-image-wrap { margin-bottom: 22px; }
}
@media print {
  button.ai-image-label { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .ai-image-tooltip { display: none !important; }
}
