/* 2026-10-01 18:51 CEST - Shares Partner navigation and places the organizer preview beside the application.
   Phones drop the program label so the header links stay on one row. */

.program-name {
  color: var(--ink-muted);
  font-size: var(--small);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.program-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 24px;
  min-width: 0;
}

.program-links .program-name {
  color: var(--ink);
}

.program-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-muted);
  font-size: var(--small);
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

.program-links a:hover,
.program-links a:focus-visible {
  color: var(--ink);
}

@media (max-width: 480px) {
  .program-links .program-name {
    display: none;
  }
}

.program-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.program-intro > .support {
  max-width: 34em;
  margin-top: clamp(20px, 3.4vh, 32px);
}

.program-application {
  width: min(100%, 560px);
  min-width: 0;
}

.program-preview {
  width: min(100%, 288px);
  margin: 0 0 32px;
}

.program-preview video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 16px;
}

@media (min-width: 960px) {
  .application .program-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(48px, 5vw, 80px);
    width: min(100%, 1280px);
    margin-inline: auto;
  }

  .program-preview {
    width: min(100%, 256px);
  }

  .program-intro .voice {
    font-size: clamp(40px, 4.4vw, 64px);
  }

  .program-layout .application-form {
    margin-top: 0;
  }
}
