/* Logo and anniversary trophy share one height, centered fully inside the bar. */
.spac27 .spac27-header { --logo-width: 168px; }
.spac27 .spac27-application-top { --logo-width: 185px; }
.spac27 .spac27-header-inner { gap: 24px; }
.spac27 .spac27-header-branding {
  --logo-height: calc(var(--logo-width) * 212.0115 / 721.2);
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
  height: 100%;
}
.spac27 .spac27-header-branding .spac27-brand {
  flex: 0 0 auto;
  width: var(--logo-width);
  height: var(--logo-height);
}
.spac27 .spac27-header-branding .spac27-brand img {
  width: 100%;
  height: 100%;
}
.spac27 .spac27-header-trophy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  height: var(--logo-height);
  pointer-events: none;
}
.spac27 .spac27-header-trophy img {
  position: static;
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  border-radius: 0;
  filter: drop-shadow(0 3px 5px rgb(0 0 0 / 20%));
}
.spac27 .spac27-menu-toggle { flex: 0 0 auto; }
/* The application keeps its simpler logo/back-link header. */
.spac27 .spac27-application-top > div { height: 100px; }
@media (max-width: 1200px) {
  .spac27 .spac27-header { --logo-width: 150px; }
}
@media (max-width: 1023px) {
  .spac27 .spac27-header { --logo-width: 157px; }
  .spac27 .spac27-nav.is-open { z-index: 1; }
}
@media (max-width: 700px) {
  .spac27 .spac27-header-inner { gap: 12px; }
  .spac27 .spac27-header-branding { gap: 8px; }
  .spac27 .spac27-header,
  .spac27 .spac27-application-top { --logo-width: 145px; }
  .spac27 .spac27-application-top > div { height: 84px; gap: 12px; }
}
@media (max-width: 380px) {
  .spac27 .spac27-header-inner { gap: 10px; }
  .spac27 .spac27-header,
  .spac27 .spac27-application-top {
    --logo-width: clamp(108px, calc(100vw - 212px), 130px);
  }
  .spac27 .spac27-menu-toggle { gap: 10px; padding-inline: 10px; }
  .spac27 .spac27-application-top > div > a:last-child {
    max-width: 72px;
    font-size: 10px;
  }
}
