/* v2.13: phone layout for the website header. The pages' own styles are inline (from the website
   prototype), so these rules use !important. Above 760px nothing changes. */
.tc-menu-btn { display: none; }
@media (max-width: 760px) {
  header > div { flex-wrap: nowrap !important; padding: 10px 16px !important; }
  .tc-menu-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    font: 600 16px/1 inherit; color: #0F2A52; background: #FFFFFF;
    border: 1px solid #C3D2E6; border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer;
  }
  .tc-menu-btn svg { width: 18px; height: 18px; }
  header { position: relative; }
  header nav[aria-label="Main"] {
    display: none !important; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    flex-direction: column !important; align-items: stretch !important; gap: 0 !important;
    background: #FFFFFF; border-bottom: 1px solid #DCE5F2; box-shadow: 0 12px 24px rgba(15, 42, 82, 0.12);
    padding: 8px 16px 16px !important;
  }
  header nav[aria-label="Main"].tc-open { display: flex !important; }
  header nav[aria-label="Main"] > div { flex-direction: column !important; align-items: stretch !important; gap: 0 !important; }
  /* the 1px dividers between groups */
  header nav[aria-label="Main"] > div[style*="width: 1px"] { width: auto !important; height: 1px !important; margin: 8px 0 !important; }
  header nav[aria-label="Main"] span { padding: 10px 0 4px; }
  header nav[aria-label="Main"] a { padding: 12px 0; font-size: 17px !important; }
  header nav[aria-label="Main"] > a:last-child { margin-top: 10px; justify-content: center; }
}
/* v2.19: on phones the home page headline shows on the first screen, without the large logo. */
@media (max-width: 760px) {
  .tc-hero-logo { display: none; }
  section h1 { font-size: 36px !important; }
}
