/* Candidate13: restore the calm profile composition and the complete portrait. */
.candidate-home .hero h1{font-size:clamp(88px,6vw,96px);}
.candidate-home .hero h1 .profile-surname{display:block;white-space:nowrap;}
.candidate-home .hero-portrait{max-width:440px;}
.candidate-home .portrait-frame img{
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:1122 / 1402;
  object-fit:contain;
  object-position:center;
}

/* Home content and navigation share the original 1240px desktop axis. */
@media(min-width:1181px){
  .candidate-home .page-width,
  .candidate-home .header-inner{width:min(1240px,calc(100% - 96px));}
}

/* The profile breathes again; the column keeps its existing compact treatment. */
@media(min-width:1001px){
  .candidate-home .hero{
    grid-template-columns:minmax(0,1fr) minmax(0,.85fr);
    gap:96px;
    padding-top:44px;
    padding-bottom:44px;
    align-items:center;
  }
  .candidate-home .hero .eyebrow{
    max-width:none;
    margin-bottom:24px;
    line-height:1.6;
  }
  .candidate-home .hero h1{line-height:.98;margin-bottom:26px;}
  .candidate-home .hero-position{
    max-width:27ch;
    font-size:25px;
    line-height:1.45;
    margin-bottom:0;
  }
  .candidate-home .hero-actions{margin:26px 0 28px;}
  .candidate-home .hero-evidence{
    grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
    gap:26px;
    padding-top:24px;
  }
  .candidate-home .path-preview{gap:10px;}
  .candidate-home .hero-portrait{
    width:100%;
    max-width:clamp(480px,35vw,515px);
    justify-self:center;
  }
  .candidate-home .portrait-top{margin-bottom:16px;}
  .candidate-home .candidate-column{padding-top:32px;padding-bottom:44px;}
  .candidate-home .candidate-column .section-heading{
    gap:20px;
    margin-bottom:28px;
    align-items:center;
  }
  .candidate-home .candidate-column .section-heading>div{
    display:block;
  }
  .candidate-home .candidate-column .section-heading .eyebrow{
    margin-bottom:14px;
    font-size:14px;
    line-height:1.4;
  }
  .candidate-home .candidate-column .section-heading h2{font-size:38px;line-height:1.1;}
  .candidate-home .candidate-recent-grid{gap:12px;align-items:start;}
  .candidate-home .candidate-recent-grid>.editorial-prototype-notice{line-height:1.4;margin-bottom:12px;}
  .candidate-home .candidate-recent-grid>.editorial-card{
    min-height:0;
    height:auto;
    justify-content:flex-start;
    padding:18px 22px;
    gap:8px;
  }
  .candidate-home .candidate-recent-grid>.editorial-card .editorial-title{order:-1;}
  .candidate-home .candidate-recent-grid>.editorial-card:first-of-type .editorial-title{
    font-size:34px;
    line-height:1.15;
  }
}

@media(min-width:1001px) and (max-height:780px){
  .candidate-home .hero-portrait{max-width:370px;}
  .candidate-home .candidate-column{padding-top:32px;}
  .candidate-home .candidate-column .section-heading{margin-bottom:28px;}
  .candidate-home .candidate-recent-grid{gap:8px;}
  .candidate-home .candidate-recent-grid>.editorial-card{padding-top:14px;}
}

/* A short laptop viewport keeps the whole experience block in view. */
@media(min-width:1181px) and (max-width:1350px) and (max-height:780px){
  .candidate-home .hero{
    grid-template-columns:minmax(0,1fr) minmax(0,.7fr);
    gap:64px;
    padding-top:36px;
    padding-bottom:36px;
  }
  .candidate-home .hero .eyebrow{margin-bottom:20px;}
  .candidate-home .hero h1{font-size:86px;margin-bottom:22px;}
  .candidate-home .hero-actions{margin:22px 0;}
  .candidate-home .hero-evidence{padding-top:20px;}
}

/* Narrow screens keep a normal reading flow, rather than a forced first screen. */
@media(max-width:1000px){
  .candidate-home .candidate-column .section-heading{margin-bottom:28px;}
  .candidate-home .candidate-column .section-heading .eyebrow{margin-bottom:14px;}
  .candidate-home .candidate-column .editorial-prototype-notice{margin-bottom:8px;}
  .candidate-home .hero .eyebrow{margin-bottom:22px;}
  .candidate-home .hero h1{font-size:clamp(76px,10.8vw,96px);margin-bottom:24px;}
  .candidate-home .hero-position{margin-bottom:24px;}
  .candidate-home .hero-actions{margin-bottom:28px;}
  .candidate-home .hero-portrait{max-width:400px;}
}
@media(max-width:700px){
  .candidate-home .hero h1{font-size:clamp(64px,18.75vw,82px);}
  .candidate-home .hero-portrait{max-width:350px;}
}
@media(max-width:350px){
  .candidate-home .hero h1{font-size:clamp(60px,18.75vw,66px);}
}
