.fmm-nav{position:relative;z-index:50;color:var(--fmm-text);font-family:inherit;font-size:var(--fmm-font-size)}.fmm-nav *{box-sizing:border-box}.fmm-nav ul{list-style:none!important;padding:0!important;margin:0!important}.fmm-top{display:flex;align-items:center;gap:var(--fmm-gap);background:var(--fmm-background)}.fmm-entry{position:relative}.fmm-entry-line,.fmm-category-line{display:flex;align-items:center}.fmm-top-link{display:block;padding:16px 0;color:var(--fmm-text)!important;text-decoration:none!important;font-weight:600;font-size:inherit}.fmm-nav a:hover{color:var(--fmm-accent)!important}.fmm-expand,.fmm-sub-toggle{background:none!important;border:0!important;color:var(--fmm-text)!important;padding:8px!important;cursor:pointer;line-height:1;box-shadow:none!important}.fmm-arrow span{display:block;width:7px;height:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg);transition:transform .15s}.fmm-sub-toggle span{transform:rotate(-45deg)}.fmm-arrow-triangle .fmm-arrow span{width:0;height:0;border:5px solid transparent;border-top:6px solid currentColor;transform:translateY(3px)}.fmm-arrow-plus .fmm-arrow span{border:0;width:12px;height:12px;transform:none;position:relative}.fmm-arrow-plus .fmm-arrow span:before,.fmm-arrow-plus .fmm-arrow span:after{content:'';position:absolute;background:currentColor;left:0;top:5px;width:12px;height:1.7px}.fmm-arrow-plus .fmm-arrow span:after{transform:rotate(90deg)}.fmm-arrow-none .fmm-arrow{display:none!important}.fmm-panel{position:absolute;top:100%;left:0;width:min(var(--fmm-panel-width),90vw);background:var(--fmm-background);color:var(--fmm-text);border:1px solid var(--fmm-border-color);box-shadow:var(--fmm-shadow);border-radius:var(--fmm-radius);padding:var(--fmm-panel-padding);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(7px);transition:opacity .16s,transform .16s,visibility .16s;z-index:100}.fmm-entry:last-child .fmm-panel{left:auto;right:0}.fmm-entry:hover>.fmm-panel,.fmm-entry:focus-within>.fmm-panel,.fmm-entry.fmm-open>.fmm-panel{opacity:1;visibility:visible;pointer-events:auto;transform:none}.fmm-category-list{position:relative;display:flex;flex-direction:column;width:var(--fmm-submenu-width);max-width:100%}.fmm-category{position:static}.fmm-category-line{min-height:38px;justify-content:space-between;border-radius:calc(var(--fmm-radius) / 2)}.fmm-category-line>a{display:block;flex:1;padding:var(--fmm-item-padding);color:var(--fmm-text)!important;font-size:inherit;text-decoration:none!important}.fmm-category:hover>.fmm-category-line,.fmm-category:focus-within>.fmm-category-line,.fmm-category.fmm-sub-open>.fmm-category-line{background:var(--fmm-hover-background)}.fmm-category .fmm-submenu{position:absolute;left:100%;top:0;width:max(180px,calc(var(--fmm-panel-width) - var(--fmm-submenu-width) - 2 * var(--fmm-panel-padding)));min-width:180px;min-height:100%;padding:var(--fmm-panel-padding)!important;background:var(--fmm-submenu-background);color:var(--fmm-submenu-text);border-radius:var(--fmm-radius);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s;z-index:3;box-sizing:border-box}.fmm-category:hover>.fmm-submenu,.fmm-category:focus-within>.fmm-submenu,.fmm-category.fmm-sub-open>.fmm-submenu{opacity:1;visibility:visible;pointer-events:auto}.fmm-submenu a{display:block;padding:var(--fmm-item-padding);font-size:inherit;color:var(--fmm-submenu-text)!important;text-decoration:none!important;border-radius:calc(var(--fmm-radius) / 2)}.fmm-submenu a:hover{background:var(--fmm-hover-background)}.fmm-nested{padding-left:16px!important}.fmm-mode-inside .fmm-panel{min-height:180px}.fmm-mode-flyout .fmm-panel{width:var(--fmm-submenu-width);max-width:90vw}.fmm-mode-flyout .fmm-category .fmm-submenu{top:calc(-1 * var(--fmm-panel-padding));left:calc(100% + var(--fmm-panel-padding));width:var(--fmm-submenu-width);min-height:calc(100% + 2 * var(--fmm-panel-padding));border:1px solid var(--fmm-border-color);box-shadow:var(--fmm-shadow)}.fmm-mode-flyout .fmm-panel{overflow:visible}.fmm-image{width:100%;max-height:175px;object-fit:cover;border-radius:var(--fmm-radius);margin-bottom:12px}.fmm-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px}.fmm-column h3{font-size:15px!important;line-height:1.4;margin:0 0 12px!important;color:var(--fmm-text)!important}.fmm-column li{margin:0 0 9px!important}.fmm-column a{font-size:inherit;color:var(--fmm-text)!important;text-decoration:none!important}.fmm-mobile-toggle{display:none!important}
@media(max-width:767px){.fmm-mobile-toggle{display:flex!important;gap:10px;align-items:center;background:var(--fmm-background)!important;color:var(--fmm-text)!important;border:1px solid var(--fmm-border-color)!important;border-radius:var(--fmm-radius);padding:12px 16px!important;cursor:pointer}.fmm-top{display:none;flex-direction:column;align-items:stretch;gap:0;width:100%;border:1px solid var(--fmm-border-color);border-radius:var(--fmm-radius);margin-top:5px!important}.fmm-nav.fmm-mobile-open>.fmm-top{display:flex}.fmm-entry{border-bottom:1px solid var(--fmm-border-color)}.fmm-entry-line{justify-content:space-between}.fmm-top-link{padding:14px 16px;flex:1}.fmm-expand{padding:14px 18px!important}.fmm-panel,.fmm-mode-flyout .fmm-panel{display:none;position:static!important;width:100%;max-width:100%;min-height:0;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-top:1px solid var(--fmm-border-color);border-radius:0;padding:12px;pointer-events:auto}.fmm-entry:hover>.fmm-panel,.fmm-entry:focus-within>.fmm-panel{display:none}.fmm-entry.fmm-open>.fmm-panel{display:block}.fmm-category-list{width:100%}.fmm-category .fmm-submenu,.fmm-mode-flyout .fmm-category .fmm-submenu{display:none;position:static;opacity:1;visibility:visible;pointer-events:auto;width:100%;min-width:0;min-height:0;border:0;box-shadow:none;padding:0 0 8px 14px!important}.fmm-category:hover>.fmm-submenu,.fmm-category:focus-within>.fmm-submenu{display:none}.fmm-category.fmm-sub-open>.fmm-submenu{display:block}.fmm-category-line>a{padding:12px}.fmm-sub-toggle{padding:14px!important}}

/* v0.4: independently adjustable top navigation */
.fmm-nav .fmm-top{width:max-content;max-width:100%;min-height:var(--fmm-nav-item-height);padding:var(--fmm-nav-padding-top) var(--fmm-nav-padding-right) var(--fmm-nav-padding-bottom) var(--fmm-nav-padding-left)!important;background:var(--fmm-nav-bg);border-radius:var(--fmm-nav-radius);align-items:stretch}
.fmm-nav .fmm-entry-line{min-height:var(--fmm-nav-item-height);height:100%;align-items:center;position:relative}
.fmm-nav .fmm-entry{display:flex;align-items:stretch}
.fmm-nav .fmm-top-link{padding:0 var(--fmm-nav-item-padding);display:flex;align-items:center;min-height:var(--fmm-nav-item-height);line-height:1.25}
.fmm-nav.fmm-align-start .fmm-entry-line{align-items:flex-start}.fmm-nav.fmm-align-end .fmm-entry-line{align-items:flex-end}
.fmm-nav.fmm-align-start .fmm-top-link{align-items:flex-start}.fmm-nav.fmm-align-end .fmm-top-link{align-items:flex-end}
.fmm-nav .fmm-entry.fmm-current>.fmm-entry-line .fmm-top-link{color:var(--fmm-active-color)!important}
.fmm-nav.fmm-active-background .fmm-entry.fmm-current>.fmm-entry-line{background:var(--fmm-active-background);border-radius:calc(var(--fmm-nav-radius) / 2)}
.fmm-nav.fmm-active-top .fmm-entry.fmm-current>.fmm-entry-line:before,.fmm-nav.fmm-active-bottom .fmm-entry.fmm-current>.fmm-entry-line:after{content:'';position:absolute;left:0;right:0;height:var(--fmm-active-line-thickness);background:var(--fmm-active-marker-color)}
.fmm-nav.fmm-active-top .fmm-entry.fmm-current>.fmm-entry-line:before{top:0}.fmm-nav.fmm-active-bottom .fmm-entry.fmm-current>.fmm-entry-line:after{bottom:0}
/* Content-based widths: no forced 950px panels or stretched secondary surfaces. */
@media(min-width:768px){
.fmm-nav .fmm-panel{width:max-content;max-width:min(var(--fmm-panel-width),calc(100vw - 24px));min-width:0}
.fmm-nav .fmm-category-list{width:max-content;max-width:100%}
.fmm-nav .fmm-category-line{width:max-content;min-width:100%}
.fmm-nav .fmm-category-line>a{white-space:normal;max-width:60vw}
.fmm-nav .fmm-category .fmm-submenu{width:max-content;min-width:var(--fmm-submenu-width);max-width:min(65vw,var(--fmm-panel-width));min-height:0}
.fmm-nav.fmm-mode-inside .fmm-panel{min-height:0}
.fmm-nav.fmm-mode-inside .fmm-category .fmm-submenu{top:0;left:calc(100% + var(--fmm-panel-padding));border:1px solid var(--fmm-border-color);box-shadow:var(--fmm-shadow)}
.fmm-nav.fmm-mode-flyout .fmm-panel{width:max-content;min-width:var(--fmm-submenu-width)}
.fmm-nav.fmm-mode-flyout .fmm-category .fmm-submenu{width:max-content;min-width:var(--fmm-submenu-width);max-width:min(65vw,var(--fmm-panel-width));top:calc(-1 * var(--fmm-panel-padding));left:calc(100% + var(--fmm-panel-padding))}
}
@media(max-width:767px){.fmm-nav .fmm-top{width:100%;max-width:100%;min-height:0}.fmm-nav .fmm-entry{display:block}.fmm-nav .fmm-top-link{flex:1;min-height:var(--fmm-nav-item-height)}.fmm-nav .fmm-entry-line{min-height:var(--fmm-nav-item-height)}}

/* v0.4.2: remove the pointer dead-zone between category and nested flyout.
   Both modes share a continuous pointer path, while the submenu stays
   visually separate thanks to its own border/background. */
@media (min-width:768px){
 .fmm-nav.fmm-mode-inside .fmm-category>.fmm-submenu,
 .fmm-nav.fmm-mode-flyout .fmm-category>.fmm-submenu{
   left:100%;margin-left:0;
 }
 /* Keep open after the pointer momentarily leaves the parent category. */
 .fmm-nav .fmm-category.fmm-sub-open>.fmm-submenu{
   opacity:1;visibility:visible;pointer-events:auto;
 }
}

/* 0.4.3: active marker follows the visible link text, not the arrow/button. */
.fmm-nav .fmm-entry-line .fmm-top-link{position:relative}
.fmm-nav.fmm-active-top .fmm-entry.fmm-current>.fmm-entry-line:before,
.fmm-nav.fmm-active-bottom .fmm-entry.fmm-current>.fmm-entry-line:after{content:none!important}
.fmm-nav.fmm-active-top .fmm-entry.fmm-current>.fmm-entry-line>.fmm-top-link:before,
.fmm-nav.fmm-active-bottom .fmm-entry.fmm-current>.fmm-entry-line>.fmm-top-link:after{
 content:"";position:absolute;display:block;left:var(--fmm-nav-item-padding);right:var(--fmm-nav-item-padding);
 height:var(--fmm-active-line-thickness);background:var(--fmm-active-marker-color);pointer-events:none;
}
.fmm-nav.fmm-active-top .fmm-entry.fmm-current>.fmm-entry-line>.fmm-top-link:before{top:0}
.fmm-nav.fmm-active-bottom .fmm-entry.fmm-current>.fmm-entry-line>.fmm-top-link:after{bottom:0}
/* Prevent third-party theme styles from overwriting our active link color. */
.fmm-nav .fmm-entry.fmm-current>.fmm-entry-line>.fmm-top-link{color:var(--fmm-active-color)!important}
