/* Partner programmes: a navy editorial interlude, separate from the gallery. */
.community{background:var(--brand-navy);color:white}
.community .programme-inner{max-width:var(--content-width);margin:0 auto}
.community .programme-heading{margin-bottom:32px}
.community .programme-heading h2{color:white;font-size:clamp(40px,4.8vw,68px);line-height:1.1;margin:24px 0}
.community .programme-heading h2 span{color:var(--brand-green)}
.community .programme-heading p{color:#d3dbea;font-size:18px;line-height:1.65;max-width:64ch}
.programme-tabs{display:flex;gap:clamp(20px,4vw,48px);border-bottom:1px solid #ffffff30;margin-bottom:32px}
.programme-tabs button{position:relative;flex:0 1 auto;min-width:0;min-height:56px;border:0;border-bottom:3px solid transparent;background:transparent;color:#d3dbea;padding:12px 0 16px;text-align:left;font-size:17px;font-weight:600;line-height:1.45}
.programme-tabs button[aria-selected="true"]{color:white;border-bottom-color:var(--brand-green)}
.programme-tabs button:hover{color:white}
.programme-tabs button:focus-visible,.programme-copy a:focus-visible{outline:3px solid var(--brand-green);outline-offset:5px}
.programme-panels{display:grid;gap:40px}
.programme-panel{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:center;gap:clamp(28px,4vw,64px);min-width:0}
.programme-panel figure{align-self:center;min-width:0}
#programme-step-up figure{max-width:649px;width:100%;justify-self:center}
.programme-panel img{width:100%;aspect-ratio:3/2;object-fit:contain;background:var(--brand-navy)}
.programme-panel figcaption{padding-top:14px;color:#d3dbea;font-size:14px;line-height:1.6}
.programme-copy{min-width:0;padding:24px 0}
.programme-copy .programme-partner{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#d3dbea;margin-bottom:16px}
.programme-copy h3{font-size:clamp(28px,3vw,40px);line-height:1.15;letter-spacing:-.035em;color:white;max-width:16ch}
.programme-copy .programme-description{font-size:18px;line-height:1.65;color:#d3dbea;margin-top:20px}
.programme-copy .text-link{color:white;margin-top:24px;gap:24px;border-bottom:1px solid var(--brand-green)}
.programme-copy .text-link:after{display:none}
.programme-copy .text-link span{color:var(--brand-green);transition:transform .2s}
@media(hover:hover){.programme-copy .text-link:hover span{transform:translateX(4px)}}
/* Measure the tallest panel on resize, then hide inactive panels natively. */
.programme-panels.is-enhanced{gap:0}
.programme-panels.is-enhanced .programme-panel{grid-area:1/1}
@media(max-width:760px){
  .community .programme-heading{margin-bottom:24px}
  .community .programme-heading h2{font-size:clamp(32px,7vw,42px);margin:16px 0}
  .community .programme-heading p{font-size:17px}
  .programme-tabs{gap:16px;margin-bottom:28px;align-items:stretch}
  .programme-tabs button{flex:1 1 0;font-size:14px;padding:10px 0 14px}
  .programme-panel{grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:24px;align-items:start}
  .programme-copy{padding:0}
  .programme-copy h3{font-size:30px;max-width:none}
  .programme-copy .programme-partner{margin-bottom:12px}
  .programme-copy .programme-description{font-size:17px;margin-top:16px}
  .programme-copy .text-link{margin-top:18px}
}
@media(prefers-reduced-motion:reduce){.programme-copy .text-link span{transition:none}}
