/* TMF V7.08 — deliberately minimal, shared mobile navigation refinement. */
@media (max-width: 920px) {
  body > header.site-head,
  body > header.site-head.tmf-site-header {
    box-sizing: border-box !important;
    width: calc(100% - 2 * clamp(20px, 4vw, 32px)) !important;
    max-width: 1420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-height: 76px !important;
    padding: 12px 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 14px !important;
  }
  body > header.site-head .brand,
  body > header.site-head .tmf-site-brand {
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }
  body > header.site-head .tmf7-menu-toggle {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    order: 4 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    background: #FFFFFF !important;
    border: 1px solid #B9D4C6 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: #17243A !important;
    -webkit-tap-highlight-color: transparent;
  }
  body > header.site-head .tmf7-menu-toggle span {
    display: block !important;
    width: 19px !important;
    height: 2px !important;
    background: currentColor !important;
    border-radius: 2px !important;
    transition: transform 160ms ease, opacity 130ms ease !important;
    transform-origin: center !important;
  }
  body > header.site-head .tmf7-menu-toggle:hover,
  body > header.site-head .tmf7-menu-toggle[aria-expanded="true"] {
    background: #EAF8F0 !important;
    border-color: #8BD8B3 !important;
  }
  body > header.site-head .tmf7-menu-toggle:focus-visible {
    outline: 3px solid #24885F !important;
    outline-offset: 3px !important;
  }
  body.tmf7-menu-open > header.site-head .tmf7-menu-toggle span:nth-child(1) {transform: translateY(7px) rotate(45deg) !important}
  body.tmf7-menu-open > header.site-head .tmf7-menu-toggle span:nth-child(2) {opacity: 0 !important}
  body.tmf7-menu-open > header.site-head .tmf7-menu-toggle span:nth-child(3) {transform: translateY(-7px) rotate(-45deg) !important}
  body > header.site-head .head-cta,
  body > header.site-head .tmf-site-cta {
    order: 3 !important;
    margin-left: auto !important;
  }
  body > nav.mobile-nav,
  body > nav.tmf-site-mobile {
    box-sizing: border-box !important;
    width: calc(100% - 2 * clamp(20px, 4vw, 32px)) !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* The Weekly Brief remains available in the opened menu on compact phones. */
@media (max-width: 600px) {
  body > header.site-head .head-cta,
  body > header.site-head .tmf-site-cta {display: none !important;}
  body > header.site-head,
  body > header.site-head.tmf-site-header {gap: 12px !important;}
  body > header.site-head .brand,
  body > header.site-head .tmf-site-brand {
    margin-right: auto !important;
    font-size: clamp(18px, 4.8vw, 23px) !important;
  }
  body > header.site-head .tmf7-menu-toggle {margin-left: auto !important;}
}
@media (prefers-reduced-motion: reduce) {
  body > header.site-head .tmf7-menu-toggle span {transition: none !important;}
}
