/* Einheitlicher Hinweis unter allen fotografischen bzw. bildhaften Inhaltsmotiven. */
.ai-image-notice {
  box-sizing: border-box;
  color: #526974;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(.68rem, .85vw, .78rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

/* Der Hinweis auf das Gruppenbild steht direkt unter dem Titelbereich. */
.ai-image-notice--hero {
  width: 100%;
  margin: 0;
  padding: 10px max(24px, calc((100% - 1320px) / 2));
  background: #f7f9fa;
  border-bottom: 1px solid var(--line);
}

/*
 * Bildbereich und Hinweis sind zwei echte, aufeinanderfolgende Zeilen.
 * Dadurch kann der Hinweis weder vom Bildtext noch von einem anderen
 * absolut positionierten Element überlagert oder nach unten verschoben werden.
 */
.topic-grid .topic-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 275px auto;
  min-height: 0;
  padding: 0;
}

.topic-grid .topic-card > img {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
}

.topic-grid .topic-card > .topic-copy {
  grid-area: 1 / 1;
  align-self: stretch;
  height: auto;
  padding: 30px;
}

.ai-image-notice--topic {
  position: relative;
  z-index: 4;
  grid-area: 2 / 1;
  display: flex;
  min-height: 66px;
  align-items: center;
  margin: 0;
  padding: 9px 14px;
  background: #f7f9fa;
  border-top: 1px solid var(--line);
}

.topic-card:hover .ai-image-notice--topic,
.topic-card:focus-visible .ai-image-notice--topic {
  color: #526974;
  background: #f7f9fa;
}

@media (max-width: 720px) {
  .ai-image-notice--hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .topic-grid .topic-card,
  .topic-grid .topic-card:nth-child(2) {
    grid-template-rows: 220px auto;
    min-height: 0;
    padding: 0;
  }
}
