/* Figma's disclosure typeface; self-hosted, no visitor requests to Google Fonts. */
@font-face {
  font-family: "Inter Disclosure";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-regular.woff2") format("woff2");
}

/* Labels belong to the visible media box, not the cropped image pixels. */
.ui-ai-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.ui-ai-media__caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 4px 6px;
  color: #fff;
  background: transparent;
  text-shadow: none;
  font-family: "Inter Disclosure", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: normal;
  text-align: right;
  text-transform: none;
  overflow-wrap: anywhere;
  pointer-events: none;
}

/* Keep the disclosure clear of the card's title, copy and action. */
.ui-industry-card--ai .ui-industry-card__content {
  bottom: 40px;
}

/* A responsive source can be a different, unflagged photograph. */
.ui-ai-media__caption--tablet-only {
  display: none;
}

@media (min-width: 601px) and (max-width: 1023px) {
  .ui-ai-media__caption--default-only {
    display: none;
  }

  .ui-ai-media__caption--tablet-only {
    display: block;
  }
}
