/* Candidate-page header only; the shared site stylesheet remains unchanged. */
.candidate-header {
  padding: 52px 0 48px;
}
.candidate-header-grid {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.candidate-heading {
  min-width: 0;
}
.candidate-heading .section-kicker {
  margin-bottom: 16px;
}
.candidate-heading h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.candidate-given-name,
.candidate-family-name {
  display: block;
}
.candidate-family-name {
  white-space: nowrap;
}
.candidate-subtitle {
  max-width: none;
  font-size: clamp(1.125rem, 1.7vw, 1.35rem);
  line-height: 1.4;
  margin: 18px 0 8px;
}
@media (max-width: 900px) {
  .candidate-header-grid {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 28px;
  }
  .candidate-portrait img {
    width: 160px;
    height: 198px;
  }
}
@media (max-width: 700px) {
  .candidate-header {
    padding: 32px 0 36px;
  }
  .candidate-header-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .candidate-portrait img {
    width: 150px;
    height: 186px;
  }
  .candidate-heading h1 {
    font-size: clamp(1.75rem, 7.5vw, 3rem);
    line-height: 1.12;
  }
  .candidate-family-name {
    /* Allow natural wrapping if text enlargement or a very narrow view needs it. */
    white-space: normal;
    overflow-wrap: break-word;
  }
  .candidate-subtitle {
    margin-top: 16px;
  }
}
