.apply-hero {
  background: #fff;
}
.apply-hero .container {
  padding-block: clamp(2.4rem, 5vw, 5rem);
}
.apply-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
  align-items: center;
  gap: clamp(1.7rem, 5vw, 6rem);
}
.apply-columns > div:first-child {
  min-width: 0;
  container: aanmeldtekst / inline-size;
}
.apply-hero h1 {
  max-width: 24ch;
  font-size: clamp(1.5rem, min(8.65cqi, 1.35rem + 3.45vw), 4.55rem);
  overflow-wrap: break-word;
  line-height: 1.1;
  margin: 0 0 1.1rem;
}
.apply-hero .compound-break {display: none;}
@container aanmeldtekst (max-width: 15rem) {
  .apply-hero .compound-break {display: inline;}
  .apply-hero h1 {hyphens: auto;}
}
.apply-lead {
  max-width: 51ch;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  margin: 0 0 1.3rem;
}
.apply-actions {
  display: flex;
  gap: 0.75rem 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}
.apply-actions a {
  max-width: 100%;
  white-space: normal;
}
.apply-where {
  font-size: 0.94rem;
  margin: 1rem 0 0;
  color: #464046;
}
.apply-where a {
  color: inherit;
}
.apply-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.apply-detail {
  padding-block: clamp(2.4rem, 5vw, 5rem);
}
.apply-hero + .apply-detail {
  padding-top: clamp(1.35rem, 2.5vw, 2rem);
}
.apply-detail h2 {
  line-height: 1.15;
  margin: 0 0 1.25rem;
}
.apply-rows {
  margin: 0;
}
.apply-rows > div {
  padding-block: 0.95rem;
}
.apply-rows > div + div {
  border-top: 1px solid var(--line);
}
.apply-rows dt {
  font-weight: 700;
}
.apply-rows dd {
  margin: 0.25rem 0 0;
  max-width: 65ch;
  line-height: 1.6;
}
.apply-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.apply-choice {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.55rem;
  max-width: 100%;
}
.apply-choices [hidden],
.apply-toggle[hidden] {
  display: none;
}
.apply-note {
  max-width: 63ch;
  margin: 0 0 1rem;
}
.apply-status {
  max-width: 48rem;
  margin-inline: auto;
}
@media (max-width: 760px) {
  .apply-hero h1 { max-width: none; }
  .apply-columns {
    grid-template-columns: minmax(0,1fr);
  }
  .apply-image {
    max-height: 330px;
  }
  .apply-actions .btn,
  .apply-choices .btn {
    justify-content: center;
  }
}
.apply-hero h1,
.apply-detail h1,
.apply-detail h2,
.apply-detail dt {
  font-family: var(
    --font-sans,
    "Mama Sans",
    "Source Sans 3",
    Arial,
    sans-serif
  );
  font-weight: 700;
  color: #171717;
  letter-spacing: normal;
}
.apply-hero .btn,
.apply-status .btn {
  border-radius: 7px;
}
.apply-status .btn-primary {
  background: var(--action, #ffc20e);
  color: #101010;
  border: 2px solid #bd8d00;
}
.apply-status .btn-primary:hover {
  background: #efb20d;
  color: #080808;
}
.apply-status .btn-secondary {
  background: #fff;
  color: #8f2345;
  border: 2px solid #c43061;
}
.apply-hero .btn-secondary,
.apply-hero .btn-secondary:hover {
  padding-inline: 0;
  border-color: transparent;
  color: var(--brand);
  background: transparent;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  font-weight: 600;
}
.apply-hero .link,
.apply-status .link,
.apply-detail .link {
  color: #97254b;
  text-decoration: underline;
}
.apply-hero a:focus-visible,
.apply-detail a:focus-visible {
  outline: 3px solid #171717;
  outline-offset: 3px;
}
.apply-status {
  padding: clamp(1.25rem, 4vw, 2.8rem);
  background: #fff;
  border: 1px solid #ebdce1;
  border-top: 4px solid #c43061;
  border-radius: 8px;
}

.apply-ellen {
  display: grid;
  grid-template-columns: minmax(80px, 160px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.4rem);
  margin: 0;
}
.apply-ellen img { display: block; width: 100%; height: auto; border-radius: 5px; }
.apply-ellen figcaption { font-size: 1rem; line-height: 1.35; }
.apply-ellen strong { display: block; margin-bottom: .2rem; font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
@media (max-width: 480px) {
  .apply-ellen { grid-template-columns: 5.75rem minmax(0, 1fr); }
}

.apply-profile { margin-block: 1rem; }
.apply-profile label { display: block; margin-bottom: .35rem; font-weight: 700; }
.apply-profile select { min-height: 44px; width: min(100%, 23rem); padding: .4rem .55rem; color: var(--ink); background: white; border: 1px solid var(--muted); border-radius: 6px; }
.apply-profile p { margin: .35rem 0 0; font-size: 1rem; line-height: 1.4; }
