/* Pasek informacyjny — fundusze europejskie (wzór: peramoredellavita / PerAmoreFundingBanner) */
:root {
  --fe-funding-banner-h: 61px;
}

@media (max-width: 720px) {
  :root {
    --fe-funding-banner-h: 104px;
  }
}

.fe-funding-banner {
  background: #fff;
  border-bottom: 1px solid rgba(13, 43, 69, 0.12);
}

.fe-funding-banner__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 60px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.fe-funding-banner__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.fe-funding-banner__text {
  margin: 0;
  color: #131b2e;
  font-size: 0.74rem;
  line-height: 1.45;
}

.fe-funding-banner__link {
  color: #131b2e;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  transition: opacity 0.2s ease;
}

.fe-funding-banner__link:hover,
.fe-funding-banner__link:focus-visible {
  opacity: 0.72;
}

.fe-funding-banner__logo-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.fe-funding-banner__logo {
  display: block;
  width: clamp(200px, 28vw, 320px);
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

@media (max-width: 720px) {
  .fe-funding-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .fe-funding-banner__logo-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .fe-funding-banner__logo {
    width: min(100%, 280px);
    max-height: none;
  }
}
