/* Talent Tree – PRR / NextGenerationEU funding strip
   Uses the site's existing tokens (--tt-*). Load after the main stylesheet. */

.funding-strip {
  background: var(--tt-paper, #FFFFFF);
  border-top: 1px solid var(--tt-line, #E0E8E2);
  padding: 72px 0 80px;
}

/* .wrap already gives max-width: var(--maxw) (1180px) and 0 24px padding */
.funding-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px 64px;
}

.funding-strip__text {
  flex: 1 1 340px;
  max-width: 420px;
  min-width: 0;
}

.funding-strip__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.625rem;          /* 26px */
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--tt-ink, #0B1A13);
}

.funding-strip__lead {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tt-body, #2A3A33);
}

.funding-strip__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;              /* touch target */
  font-size: .9375rem;
  font-weight: 600;
  color: var(--tt-forest-deep, #0A2A1D);   /* 15.4:1 on white */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--tt-green, #12C67C);
  text-underline-offset: 4px;
}
.funding-strip__link:hover { text-decoration-thickness: 3px; }
.funding-strip__link:focus-visible {
  outline: 3px solid var(--tt-green-600, #0FA868);
  outline-offset: 3px;
  border-radius: 6px;
}

.funding-strip__logos {
  flex: 0 1 660px;
  min-width: 0;
}

/* Official horizontal bar: never stretched, never cropped */
.funding-strip__bar {
  display: block;
  width: 660px;
  max-width: 100%;
  height: auto;
}

/* The bar is a link to the project information (/prr) */
.funding-strip__logolink { display: block; }
.funding-strip__logolink:focus-visible {
  outline: 3px solid var(--tt-green-600, #0FA868);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Narrow screens: the same official bar, full width (no separate logo files) */
@media (max-width: 720px) {
  .funding-strip { padding: 56px 0 64px; }
  .funding-strip__title { font-size: 1.5rem; }
}

@media print {
  .funding-strip { padding: 24px 0; }
}
