/* Keep funding visible below navigation; JavaScript reserves its measured height. */
.funding-acknowledgement {
  position: fixed;
  top: var(--codex-nav-height, 0px);
  left: 0;
  right: 0;
  z-index: 1190;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #ddd;
}

.funding-acknowledgement-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.funding-acknowledgement p {
  flex: 1 1 300px;
  margin: 0;
  font: 400 15px/1.5 Arial, sans-serif;
}

.funding-acknowledgement img {
  display: block;
  flex: 0 1 600px;
  width: 55%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .funding-acknowledgement-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
  }

  .funding-acknowledgement p,
  .funding-acknowledgement img {
    flex: none;
  }

  .funding-acknowledgement img {
    width: 100%;
    align-self: center;
  }
}
