/* Keep primary navigation and imported content usable on narrow screens. */
.header #main-nav .mobile-centres-link{display:none}
@media(max-width:800px){.header #main-nav .mobile-centres-link{display:block}}
.header .menu-toggle,
.header .submenu-toggle { display: none; }
@media (max-width: 800px) {
  .header .nav { justify-content: space-between; }
  .header .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 11px 9px;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
    border: 1px solid #e5e5ee;
    border-radius: 4px;
    background: #fff;
    color: #20234b;
  }
  .header .menu-toggle span { display: block; height: 2px; background: currentColor; }
  .header #main-nav {
    display: none;
    width: 100%;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
    gap: 0;
    padding: 10px 0 16px;
    border-top: 1px solid #ececf2;
  }
  .header #main-nav.open { display: flex; }
  .header #main-nav > a,
  .header #main-nav .dropdown > a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 10px;
  }
  .header #main-nav .dropdown { display: flex; flex-wrap: wrap; align-items: center; }
  .header #main-nav .dropdown > a { flex: 1; }
  .header #main-nav .dropdown > a::after { display: none; }
  .header #main-nav .submenu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #20234b;
    font-size: 24px;
  }
  .header #main-nav .submenu-toggle span { display: none; }
  .header #main-nav .submenu-toggle::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform .2s ease;
  }
  .header #main-nav .dropdown.submenu-open .submenu-toggle::after { transform: rotate(180deg); }
  .header #main-nav .dropdown .drop-menu,
  .header #main-nav .dropdown:hover .drop-menu,
  .header #main-nav .dropdown:focus-within .drop-menu {
    display: none;
    position: static;
    width: 100%;
    padding: 0 0 8px 15px;
    box-shadow: none;
    background: #f7f7fb;
  }
  .header #main-nav .dropdown.submenu-open .drop-menu { display: block; }
  .header #main-nav .drop-menu a { min-height: 42px; display: flex; align-items: center; }
}
@media (max-width: 700px) {
  .content-page .content-copy { min-width: 0; overflow-wrap: anywhere; }
  .content-page .content-copy img,
  .content-page .content-copy iframe,
  .content-page .content-copy video { max-width: 100%; height: auto; }
  .content-page .content-copy table { display: block; max-width: 100%; overflow-x: auto; }
  .content-page .wpcf7-list-item,
  .content-page .wpcf7-list-item label { max-width: 100%; white-space: normal; }
  .content-page .wpcf7-list-item-label { white-space: normal !important; overflow-wrap: anywhere; }
  .leadership .founder-feature .about-story-media { width: min(320px, 100%); }
  .leadership .founder-feature .about-story-media img { width: 100%; height: auto; aspect-ratio: 1; }
}
@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  .motion-ready .motion-right { transform: none; }
  .header.sticky { animation: none; }
}
