/* Shared navigation and footer controls. CMS menu items remain untouched. */
.ym-chrome.ym-chrome.ym-chrome.ym-header-shell { position: sticky; top: 0; z-index: 100; overflow: visible; }
.ym-chrome.ym-chrome.ym-chrome .site-header { display: block !important; }
.ym-chrome.ym-chrome.ym-chrome .ym-menu-toggle,
.ym-chrome.ym-chrome.ym-chrome .ym-submenu-toggle { display: none; }
.ym-chrome.ym-chrome.ym-chrome .footer-bottom-bar { flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.ym-chrome.ym-chrome.ym-chrome .footer-bottom-bar > div:first-child { flex: 1 1 420px; min-width: 0; }
.ym-chrome.ym-chrome.ym-chrome .footer-bottom-links { display: flex; flex-wrap: wrap; gap: 10px 20px; max-width: 100%; }
.ym-chrome.ym-chrome.ym-chrome .footer-bottom-links a { white-space: nowrap; }
/* The old template's portrait-only overlay is obsolete with responsive menus. */
#preventTran { display: none !important; }
@media (max-width: 992px) {
  .ym-chrome.ym-chrome.ym-chrome .top-bar { font-size: 11px; line-height: 1.5; color: #b9c9dc; }
  .ym-chrome.ym-chrome.ym-chrome .top-bar .wrap { padding-block: 8px; flex-wrap: nowrap; gap: 0; }
  .ym-chrome.ym-chrome.ym-chrome .top-bar-left { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .ym-chrome.ym-chrome.ym-chrome .top-bar-item { gap: 5px; white-space: nowrap; }
  .ym-chrome.ym-chrome.ym-chrome .top-bar-item svg { width: 12px; height: 12px; }
  .ym-chrome.ym-chrome.ym-chrome .top-bar-left .top-bar-item:nth-child(3),
  .ym-chrome.ym-chrome.ym-chrome .top-bar-right { display: none; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .wrap {
    position: relative; height: auto; min-height: 76px; padding-block: 12px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0;
  }
  .ym-chrome.ym-chrome.ym-chrome .site-header .logo { display: inline-flex; align-items: center; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .logo img { width: 190px; height: auto; max-height: 44px; object-fit: contain; }
  .ym-chrome.ym-chrome.ym-chrome .ym-menu-ready .ym-menu-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    width: 44px; height: 44px; padding: 10px; margin: 0; border: 1px solid #DCE6F2;
    border-radius: 12px; background: #fff; color: #0A2540; cursor: pointer; flex-shrink: 0;
  }
  .ym-chrome.ym-chrome.ym-chrome .ym-menu-line { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s,opacity .2s; }
  .ym-chrome.ym-chrome.ym-chrome .ym-menu-toggle[aria-expanded="true"] .ym-menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .ym-chrome.ym-chrome.ym-chrome .ym-menu-toggle[aria-expanded="true"] .ym-menu-line:nth-child(2) { opacity: 0; }
  .ym-chrome.ym-chrome.ym-chrome .ym-menu-toggle[aria-expanded="true"] .ym-menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .ym-chrome.ym-chrome.ym-chrome :is(.ym-menu-toggle,.ym-submenu-toggle):focus-visible { outline: 3px solid #2B7AEF; outline-offset: 3px; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .nav-links {
    display: flex; flex-direction: column; align-items: stretch; flex-basis: 100%; width: 100%;
    gap: 0; margin-top: 12px; padding-top: 12px; border-top: 1px solid #DCE6F2;
    max-height: calc(100dvh - 132px); overflow-y: auto; overflow-x: hidden; white-space: normal;
  }
  .ym-chrome.ym-chrome.ym-chrome .site-header.ym-menu-ready .nav-links { display: none; }
  .ym-chrome.ym-chrome.ym-chrome .site-header.ym-menu-ready .nav-links.is-open { display: flex; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .nav-links a {
    display: flex; align-items: center; min-height: 46px; padding: 12px; width: 100%;
    font-size: 14px; font-weight: 600; line-height: 1.5; border-bottom: 0 !important; border-radius: 10px;
  }
  .ym-chrome.ym-chrome.ym-chrome .site-header .nav-links a.active { background: #EAF3FF; color: #0B5ED7; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .ym-nav-item { display: grid; grid-template-columns: minmax(0,1fr) auto; width: 100%; }
  .ym-chrome.ym-chrome.ym-chrome .ym-menu-ready .ym-submenu-toggle {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    padding: 12px; border: 0; border-radius: 10px; background: #f5f8fc; color: #0A2540; cursor: pointer;
  }
  .ym-chrome.ym-chrome.ym-chrome .ym-submenu-toggle svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .2s; }
  .ym-chrome.ym-chrome.ym-chrome .ym-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .ym-chrome.ym-chrome.ym-chrome .site-header .ym-nav-item > .ym-submenu,
  .ym-chrome.ym-chrome.ym-chrome .site-header .ym-nav-item:hover > .ym-submenu,
  .ym-chrome.ym-chrome.ym-chrome .site-header .ym-nav-item:focus-within > .ym-submenu { display: none; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .ym-nav-item.is-submenu-open > .ym-submenu {
    display: flex; flex-direction: column; grid-column: 1/-1; position: static; width: 100%; min-width: 0;
    margin: 4px 0 10px; padding: 6px 10px; border: 0; border-radius: 12px; background: #f5f8fc; box-shadow: none;
  }
  .ym-chrome.ym-chrome.ym-chrome .site-header .ym-submenu a { min-height: 42px; padding: 10px 12px; font-size: 13px; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .nav-links .nav-cta { justify-content: center; margin-block: 8px; border-radius: 999px; background: #0B5ED7; color: #fff; font-weight: 700; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .nav-links a.nav-cta.active { background: #0B5ED7; color: #fff !important; }
}
@media (max-width: 600px) {
  .ym-chrome.ym-chrome.ym-chrome .footer-bottom-links { display: none; }
  .ym-chrome.ym-chrome.ym-chrome .footer-bottom-bar { padding-block: 22px; gap: 0; }
  .ym-chrome.ym-chrome.ym-chrome .footer-bottom-bar > div:first-child { font-size: 11px; line-height: 1.8; }
}
@media (max-width: 768px) {
  .ym-chrome.ym-chrome.ym-chrome .site-footer { padding-top: 36px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; padding-bottom: 28px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-grid > .footer-brand,
  .ym-chrome.ym-chrome.ym-chrome .footer-grid > div:last-child { grid-column: 1/-1; }
  .ym-chrome.ym-chrome.ym-chrome .footer-logo { margin-bottom: 16px; padding: 9px 14px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-logo img { height: 32px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-bio { font-size: 12.5px; line-height: 1.7; margin-bottom: 16px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-cert-badges { gap: 6px; margin-bottom: 16px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-cert-pill { font-size: 10px; padding: 4px 8px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-title { font-size: 13px; margin-bottom: 18px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-nav-list { gap: 10px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-nav-list a { font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
  .ym-chrome.ym-chrome.ym-chrome .footer-contact-list { gap: 14px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-bottom-bar { gap: 12px; padding-block: 18px; }
  .ym-chrome.ym-chrome.ym-chrome .footer-bottom-bar > div:first-child { flex: none; width: 100%; height: auto; min-height: 0; }
}
@media (max-width: 360px) {
  .ym-chrome.ym-chrome.ym-chrome .top-bar { font-size: 10px; }
  .ym-chrome.ym-chrome.ym-chrome .site-header .logo img { width: 176px; }
}
@media (prefers-reduced-motion: reduce) {
  .ym-chrome.ym-chrome.ym-chrome .ym-menu-line,
  .ym-chrome.ym-chrome.ym-chrome .ym-submenu-toggle svg { transition: none; }
}
