/* Desktop navigation collapses before the new Client Portal link reaches the CTA. */
@media (min-width:1121px) and (max-width:2740px){
  .site-header{grid-template-columns:minmax(0,1fr) auto;column-gap:20px}
  .site-header .brand{min-width:0}
  .site-header .brand-text strong{white-space:nowrap}
  .site-header .primary-nav{display:none}
  .site-header .menu-toggle{display:inline-flex}
  .site-header .mobile-navigation{z-index:49;background:#050a06fb;border-bottom:1px solid #e2c66d4d;max-height:calc(100svh - 132px);padding:22px 4vw 28px;position:fixed;top:132px;left:0;right:0;overflow-y:auto;box-shadow:0 24px 60px #00000073}
  .site-header.menu-open .mobile-navigation{display:grid}
  .site-header .mobile-navigation a{min-height:64px;color:var(--white);letter-spacing:-.025em;border-bottom:1px solid #ffffff21;grid-template-columns:50px 1fr;align-items:center;gap:18px;font-size:clamp(1.15rem,3vw,1.7rem);font-weight:520;display:grid}
  .site-header .mobile-navigation a span{color:var(--gold-bright);font-family:var(--font-geist-mono),monospace;letter-spacing:.1em;font-size:.68rem}
  .site-header .mobile-navigation a:hover,.site-header .mobile-navigation a:focus-visible{color:var(--gold-bright);outline:none}
  .site-header .mobile-navigation-cta{border-bottom-color:var(--gold)!important;color:var(--gold-bright)!important}
}
@media (min-width:821px) and (max-width:1120px){
  .site-header .mobile-navigation{top:132px;max-height:calc(100svh - 132px)}
}

/* v272: a compact remembrance poppy beside the public header brand. */
.site-header .header-poppy{display:block;flex:0 0 auto;width:40px;height:48px;object-fit:contain;margin-left:4px;filter:drop-shadow(0 2px 3px #0005)}
@media(max-width:820px){.site-header .header-poppy{width:30px;height:36px;margin-left:0}}
@media(max-width:380px){.site-header .brand{gap:6px}.site-header .brand-text strong{max-width:100px}.site-header .header-poppy{width:26px;height:32px}}

/* v274: full TT programme name and visible keyboard focus in the numbered menu. */
.site-header .mobile-navigation a{min-width:0;white-space:normal;overflow-wrap:break-word;line-height:1.4}
.site-header .mobile-navigation a:focus-visible,.site-header .primary-nav a:focus-visible{outline:2px solid var(--gold-bright,#e2c66d);outline-offset:-3px;color:var(--gold-bright,#e2c66d)}
