/*
Theme Name: AmmWeb Instance
Theme URI: https://appstrax.com/ammweb
Author: Appstrax
Author URI: https://appstrax.com
Description: Baseline multi-tenant runtime theme for AmmWeb Instance deployments.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 8.1
Version: 0.2.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ammweb-instance
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root,
.editor-styles-wrapper {
  /* Spacing & Typography */
  --wp--style--global--content-size: 1440px;
  --wp--style--global--wide-size: 1440px;
  --amm-site-max-width: var(--wp--style--global--content-size, 1440px);
  --amm-site-padding-x: clamp(20px, 5vw, 100px);
  --amm-spacing-unit: 1rem;
  --amm-font-sans: "Cera Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --amm-heading-font: "Cera Pro", var(--amm-font-sans);
  --amm-content-font: "Cera Pro", var(--amm-font-sans);
  --amm-body-font: var(--amm-content-font);
  --amm-type-scale-mobile: 1;
  --amm-type-scale-tablet: 1;
  --amm-type-scale-desktop: 1;

  /* Primary Palette */
  --amm-palette-primary-1: #005762;
  --amm-palette-primary-1-rgb: 0 87 98;
  --amm-palette-primary-2: #000000;
  --amm-palette-primary-2-rgb: 0 0 0;
  --amm-palette-primary-3: #ffffff;
  --amm-palette-primary-3-rgb: 255 255 255;

  /* Secondary Palette */
  --amm-palette-secondary-1: #808285;
  --amm-palette-secondary-1-rgb: 128 130 133;
  --amm-palette-secondary-2: #e6edaa;
  --amm-palette-secondary-2-rgb: 230 237 170;
  --amm-palette-secondary-3: #ffdeab;
  --amm-palette-secondary-3-rgb: 255 222 171;
  --amm-palette-secondary-4: #bf1556;
  --amm-palette-secondary-4-rgb: 191 21 86;
  --amm-palette-secondary-5: #ffb199;
  --amm-palette-secondary-5-rgb: 255 177 153;

  /* Background */
  --amm-palette-background: #f7f9fc;
  --amm-palette-background-rgb: 247 249 252;
  --amm-palette-background-secondary: #f2f2f7;
  --amm-palette-background-secondary-rgb: 242 242 247;

  /* Text */
  --amm-text-primary-color: #1e1e1e;
  --amm-text-primary-color-rgb: 30 30 30;
  --amm-text-secondary-color: #757575;
  --amm-text-secondary-color-rgb: 117 117 117;
  --amm-text-tertiary-color: #f3f3f3;
  --amm-text-tertiary-color-rgb: 243 243 243;
}

/* ==========================================================================
   Base & Layout
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--amm-header-offset, var(--amm-header-base-offset));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  /* background-color: var(--amm-palette-background, #f7f9fc); */
  background-color: #fff;
  font-family: var(--amm-content-font, var(--amm-font-sans));
  font-weight: 400;
  color: var(--amm-text-primary-color, #1e1e1e);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading,
.wp-block-heading,
.wp-heading,
[class*="heading"] h1,
[class*="heading"] h2,
[class*="heading"] h3,
[class*="heading"] h4,
[class*="heading"] h5,
[class*="heading"] h6 {
  font-family: var(--amm-heading-font, var(--amm-content-font, var(--amm-font-sans)));
  font-weight: 600;
}

body.has-mobile-menu.mobile-menu-open {
  overflow: hidden;
}

:root {
  --amm-header-height: 76px;
  --amm-admin-bar-offset: 0px;
  --amm-announcement-banner-height: 0px;
  --amm-header-base-offset: calc(var(--amm-admin-bar-offset, 0px) + var(--amm-announcement-banner-height, 0px) + var(--amm-header-height, 68px));
}

html.has-announcement-banner {
  --amm-announcement-banner-height: 40px;
}

body.admin-bar {
  --amm-admin-bar-offset: 32px;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.site-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--amm-site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--amm-site-padding-x);
  padding-right: var(--amm-site-padding-x);
}

.site-main > *:not(.alignfull) {
  max-width: var(--amm-site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--amm-site-padding-x);
  padding-right: var(--amm-site-padding-x);
  padding-top: clamp(5px, 5vh, 20px);
  padding-bottom: clamp(5px, 5vh, 20px);
}

/* These blocks render their own configurable margin/padding inline, so the default
   vertical padding above would stack on top of it and double the intended spacing. */
.site-main > .wp-block-ammweb-instance-industries:not(.alignfull),
.site-main > .wp-block-ammweb-instance-product-category-showcase:not(.alignfull) {
  padding-top: 0;
  padding-bottom: 0;
}

.resources-page__intro {
  width: 100%;
  padding-top: clamp(5px, 5vh, 20px);
  padding-bottom: clamp(5px, 5vh, 20px);
}

.resources-page__intro-inner > :first-child {
  margin-top: 0;
}

.resources-page__intro-inner > :last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header-sticky {
  position: sticky;
  top: var(--amm-admin-bar-offset, 0px);
  z-index: 140;
}

.ax-announcement-banner {
  position: relative;
  z-index: 1;
}

.ax-announcement-banner__inner {
  min-height: var(--amm-announcement-banner-height, 40px);
}

.ax-announcement-banner__item--dropdown {
  position: relative;
}

.ax-announcement-banner__dropdown {
  position: relative;
}

.ax-announcement-banner__trigger {
  list-style: none;
  cursor: pointer;
}

.ax-announcement-banner__trigger::-webkit-details-marker {
  display: none;
}

.ax-announcement-banner__chevron {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.ax-announcement-banner__dropdown[open] > .ax-announcement-banner__trigger .ax-announcement-banner__chevron {
  transform: rotate(180deg);
}

.ax-announcement-banner__panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 150;
  min-width: 12rem;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background-color: #262626;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ax-announcement-banner__panel-link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.ax-announcement-banner__panel-link:hover,
.ax-announcement-banner__panel-link:focus-visible {
  opacity: 0.8;
}

.ax-announcement-banner__panel-link:focus {
  outline: none;
}

.ax-announcement-banner__panel-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
}

.header {
  height: var(--amm-header-height, 76px);
  padding: 10px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-height: 56px;
}

.header__inner img {
  max-height: 56px;
  width: auto;
}

mark {
  background: none;
}


.header__logo,
.header__nav,
.header__utility {
  display: flex;
  align-items: center;
}

.header__cta.rounded-full {
  border-radius: 4px;
}

.header__logo {
  flex: 0 0 auto;
}

.header__logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header__nav {
  flex: 1 1 auto;
  justify-content: left;
}

.header__nav.is-open {
  display: block;
}

.header__utility {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 0.75rem;
}

.header__utility-link {
  color: var(--amm-nav-text, var(--amm-palette-primary-3, #ffffff));
  font-weight: 500;
  text-decoration: none;
}

.header__utility-link:hover,
.header__utility-link:focus-visible {
  text-decoration: underline;
}

.header__search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-left: 8px;
  line-height: 1;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.15s ease;
}

.header__search-link:hover,
.header__search-link:focus-visible {
  opacity: 0.75;
  text-decoration: none;
}

.header__search-link .material-icons {
  font-size: 22px;
}

/* `display: inline-flex` above outranks the UA rule for [hidden], so both the
   no-JS fallback link and the pre-JS dialog trigger would stay visible. */
.header__search-link[hidden] {
  display: none;
}

/* Dialog trigger reuses the search link styling, minus the button chrome. */
.header__search-trigger {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--amm-nav-text, var(--amm-palette-primary-3, #ffffff));
}

body.header-search-open {
  overflow: hidden;
}

.header-search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 8vh, 120px) var(--amm-site-padding-x, 24px) 24px;
}

.header-search-modal[hidden] {
  display: none;
}

.header-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.header-search-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: 24px;
  border-radius: 8px;
  background: var(--amm-palette-primary-3, #ffffff);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.header-search-modal__title {
  margin: 0 0 12px;
  padding-right: 40px;
  color: var(--amm-text-primary-color, #1e1e1e);
  font-size: 20px;
  line-height: 1.3;
}

/* Visually hidden, still announced: the input has a visible placeholder only. */
.header-search-modal__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.header-search-modal__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Positioning context for the icon: the input's own box, not the whole row. */
.header-search-modal__control {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.header-search-modal__icon {
  position: absolute;
  left: 12px;
  display: inline-flex;
  font-size: 20px;
  line-height: 1;
  color: var(--amm-text-secondary-color, #757575);
  pointer-events: none;
}

.header-search-modal__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px 10px 40px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: var(--amm-palette-primary-3, #ffffff);
  color: var(--amm-text-primary-color, #1e1e1e);
  font-size: 16px;
  line-height: 1.4;
}

.header-search-modal__input:focus {
  outline: 2px solid var(--amm-palette-primary-1, #005762);
  outline-offset: 1px;
  border-color: var(--amm-palette-primary-1, #005762);
}

.header-search-modal__submit {
  flex: 0 0 auto;
  padding: 10px 28px;
  border: 1px solid var(--amm-palette-primary-1, #005762);
  /* Matching the header CTA's shared button radius. */
  border-radius: var(--amm-radius-button, 4px);
  font-weight: 600;
  background: var(--amm-palette-primary-1, #005762);
  color: var(--amm-palette-primary-3, #ffffff);
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}

.header-search-modal__submit:hover,
.header-search-modal__submit:focus-visible {
  opacity: 0.9;
}

.header-search-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--amm-text-secondary-color, #757575);
  cursor: pointer;
}

.header-search-modal__close:hover,
.header-search-modal__close:focus-visible {
  color: var(--amm-palette-primary-1, #005762);
}

.header-search-modal__close .material-icons {
  font-size: 20px;
}

@media (max-width: 640px) {
  .header-search-modal__field {
    flex-wrap: wrap;
  }

  .header-search-modal__control {
    flex-basis: 100%;
  }

  .header-search-modal__submit {
    width: 100%;
  }
}

.header__utility span {
  color: var(--amm-nav-text, var(--amm-palette-primary-3, #ffffff));
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
  cursor: pointer;
}

/* Language Selector Mega-Menu */
.header__language-selector {
  position: relative;
}

.header__language-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__languages {
  display: none;
  position: fixed;
  top: var(--amm-header-offset, var(--amm-header-base-offset));
  left: 0;
  width: 100vw;
  max-height: calc(100vh - var(--amm-header-offset, var(--amm-header-base-offset)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--amm-palette-primary-3, #ffffff);
  padding: 2rem 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header__languages.is-open {
  display: block;
}

.header__languages-inner {
  width: 100%;
}

body {
  top: 0 !important;
  transition: opacity 0.2s ease;
}

/* .header__language-column {
  display: flex;
  flex-direction: column;
} */

.header__language-column-heading {
  display: block;
  color: var(--amm-text-primary-color, #1e1e1e);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 0.75rem;
  min-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header__language-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__language-list li {
  margin-bottom: 5px;
}

.header__language-list li > button {
  padding: 0;
  margin: 0;
}

.header__language-list li > button:hover {
  opacity: 0.75;
}

.header__language-list a {
  color: var(--amm-text-primary-color, #000000);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.header__language-list a:hover,
.header__language-list a:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.header__mobile-toggle {
  display: none;
}

.header__overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}

body.mobile-menu-open .header__overlay {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Primary Menu (Desktop)
   ========================================================================== */

.primary-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li.menu-item-has-children {
  padding-right: 16px;
}

.primary-menu > li,
.primary-menu > li > a {
  color: var(--amm-nav-text, var(--amm-palette-primary-3, #ffffff));
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding-right: 0;
}

.primary-menu > li:hover > a,
.primary-menu > li:focus-visible > a {
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li.current-menu-parent > a,
.primary-menu > li.menu-item-products.current-menu-ancestor > a,
.primary-menu > li.menu-item-industries.current-menu-ancestor > a {
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.site-main > .wp-block-ammweb-instance-hero {
  padding: 0;
}

/* Dropdown Caret */
.primary-menu > li.menu-item-has-children::after {
  content: 'expand_more';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 15px;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  transition: transform 150ms ease, content 150ms ease;
}

.primary-menu > li.menu-item-has-children:hover::after,
.primary-menu > li.menu-item-has-children:focus-visible::after {
  content: 'expand_less';
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.primary-menu > li.current-menu-ancestor.menu-item-has-children::after,
.primary-menu > li.current-menu-parent.menu-item-has-children::after,
.primary-menu > li.menu-item-products.current-menu-ancestor::after,
.primary-menu > li.menu-item-industries.current-menu-ancestor::after {
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.primary-menu > li.menu-item--dropdown.is-submenu-open > a,
.primary-menu > li.menu-item--megamenu.is-submenu-open > a {
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.primary-menu > li.menu-item--dropdown.is-submenu-open::after,
.primary-menu > li.menu-item--megamenu.is-submenu-open::after {
  content: 'expand_less';
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

/* ==========================================================================
   Sub Menu (Desktop)
   ========================================================================== */

.primary-menu .sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  margin: 0;
  padding: 8px 0;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
  border: 1px solid #e5e5e5;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 120;
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu,
.primary-menu > li.menu-item--dropdown.is-submenu-open > .sub-menu {
  display: block;
}

.primary-menu > li.menu-item--megamenu > .sub-menu {
  display: none !important;
}

.primary-menu .sub-menu li {
  position: relative;
}

.primary-menu .sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 32px;
  color: var(--amm-nav-sub-link, var(--amm-text-primary-color, #1e1e1e));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.primary-menu .sub-menu li a:hover,
.primary-menu .sub-menu li a:focus-visible,
.primary-menu .sub-menu li.current-menu-item > a {
  color: var(--amm-palette-primary-1, #005762);
  background: var(--amm-palette-background, #f7f9fc);
}

.primary-menu .submenu-heading {
  padding: 0 32px 4px;
  pointer-events: none;
  position: relative;
}

.primary-menu .submenu-heading__label {
  font-size: 14px;
  line-height: 19px;
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--amm-nav-sub-title, var(--amm-text-secondary-color, #757575));
}

.primary-menu > li.menu-item--dropdown > .sub-menu > li.menu-item--has-flyout > a {
  justify-content: space-between;
}

.submenu-flyout-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  font-size: 18px;
  line-height: 1;
}

.primary-menu > li.menu-item--dropdown > .sub-menu > li.menu-item--has-flyout > .sub-menu {
  position: absolute;
  top: -8px;
  left: calc(100% + 1px);
  min-width: 280px;
  padding: 8px 0;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.primary-menu > li.menu-item--dropdown > .sub-menu > li.menu-item--has-flyout:hover > .sub-menu,
.primary-menu > li.menu-item--dropdown > .sub-menu > li.menu-item--has-flyout:focus-within > .sub-menu {
  display: block;
}

/* ==========================================================================
   Product Navigation Mega-Menu (Desktop)
   ========================================================================== */

.header__nav {
  position: relative;
}

.primary-menu > li.menu-item-products.is-products-open > a {
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.primary-menu > li.menu-item-products.is-products-open::after {
  content: 'expand_less';
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.primary-menu > li.menu-item-industries.is-industries-open > a {
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.primary-menu > li.menu-item-industries.is-industries-open::after {
  content: 'expand_less';
  color: var(--amm-nav-hover, var(--amm-palette-primary-3, #ffffff));
  opacity: var(--amm-nav-hover-opacity, 0.75);
}

.submenu-nav-shell {
  position: relative;
}

.submenu-nav-shell__desktop {
  position: fixed;
  top: var(--amm-header-offset, var(--amm-header-base-offset));
  left: var(--submenu-nav-left, 0px);
  width: var(--submenu-nav-width, auto);
  z-index: 130;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
  border: 1px solid #e5e5e5;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.submenu-nav-shell__desktop::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--amm-header-height, 68px));
  left: 0;
  right: 0;
  height: var(--amm-header-height, 68px);
  pointer-events: auto;
}

.submenu-nav-shell__columns {
  display: grid;
  grid-template-columns: repeat(var(--submenu-nav-column-count, 3), minmax(0, var(--submenu-nav-column-width, 360px)));
}

.submenu-nav-column {
  min-width: 0;
  padding: 8px 0;
  border-right: 1px solid #e5e5e5;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
}

.submenu-nav-column:last-child {
  border-right: none;
}

.submenu-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 32px;
  color: var(--amm-nav-sub-link, var(--amm-text-primary-color, #1e1e1e));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.submenu-nav-row:not(.submenu-nav-row--title):hover,
.submenu-nav-row:not(.submenu-nav-row--title):focus-visible,
.submenu-nav-row:not(.submenu-nav-row--title).is-active {
  background-color: var(--amm-palette-background, #f7f9fc);
  color: var(--amm-palette-primary-1, #005762);
}

.submenu-nav-row--title {
  justify-content: flex-start;
}

.submenu-nav-row--title:hover,
.submenu-nav-row--title:focus-visible {
  background-color: transparent;
  text-decoration: underline;
}

.submenu-nav-row__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.submenu-nav-shell__mobile {
  display: none;
}

.products-nav-shell {
  position: relative;
  --amm-mega-menu-max-height: 75vh;
}

.products-nav-shell__desktop-backdrop {
  position: fixed;
  top: var(--amm-header-offset, var(--amm-header-base-offset));
  left: 0;
  right: 0;
  max-height: min(var(--amm-mega-menu-max-height, 75vh), calc(100vh - var(--amm-header-offset, var(--amm-header-base-offset))));
  z-index: 130;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  pointer-events: none;
}

.products-nav-shell__desktop {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--amm-site-max-width);
  max-height: min(var(--amm-mega-menu-max-height, 75vh), calc(100vh - var(--amm-header-offset, var(--amm-header-base-offset))));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--amm-site-padding-x);
  padding-right: var(--amm-site-padding-x);
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: auto;
}

.products-nav-shell__desktop-backdrop::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--amm-header-height, 68px));
  left: 0;
  right: 0;
  height: var(--amm-header-height, 68px);
  pointer-events: none;
}

.products-nav-shell__columns {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: repeat(var(--products-nav-column-count, 4), minmax(0, var(--products-nav-column-width, 360px)));
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
}

.products-nav-column {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0;
  border-right: 1px solid #e5e5e5;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
}

.products-nav-column:last-child {
  border-right: none;
}

/* Columns are swapped in by JS as the hovered path changes. A short fade-in
   makes the swap read as deliberate motion rather than as the menu hanging.
   Opt-in via no-preference so reduced-motion users get the instant swap. */
@media (prefers-reduced-motion: no-preference) {
  .products-nav-column {
    animation: products-nav-column-in 120ms ease-out;
  }

  @keyframes products-nav-column-in {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
}

.products-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 32px;
  color: var(--amm-nav-sub-link, var(--amm-text-primary-color, #1e1e1e));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.products-nav-row:not(.products-nav-row--title):hover,
.products-nav-row:not(.products-nav-row--title):focus-visible,
.products-nav-row:not(.products-nav-row--title).is-active {
  background-color: var(--amm-palette-background, #f7f9fc);
  color: var(--amm-palette-primary-1, #005762);
}

.products-nav-row__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.products-nav-row--product {
  justify-content: flex-start;
}

.products-nav-row--title {
  justify-content: flex-start;
}

.products-nav-row--title:hover,
.products-nav-row--title:focus-visible,
.products-nav-row--title.is-active {
  background-color: transparent;
  text-decoration: underline;
  color: var(--amm-palette-primary-1, #005762);
}

/* This site's Additional CSS (Customizer) hides .products-nav-row--title on
   desktop with !important - a leftover from when the top-level "Products"
   word was itself the "all products" link, making this row a redundant
   duplicate. Now that the top-level word is a dropdown-only trigger (see
   header.php), this row is the only way to reach the products archive, so
   it must render. A higher-specificity !important rule is required to win
   against Additional CSS, which WordPress core prints late in wp_head
   specifically so it always wins ties. */
@media (min-width: 1024px) {
  .products-nav-shell .products-nav-row--title {
    display: flex !important;
  }
}

/* Same Additional CSS override as above, also matches
   .industries-nav-row--title/--spacer. Industries now uses the same
   dropdown-only top-level trigger as Products, so its "All industries" row
   and the spacers that keep sibling columns aligned with it must render. */
@media (min-width: 1024px) {
  .industries-nav-shell .industries-nav-row--title,
  .industries-nav-shell .industries-nav-row--spacer {
    display: flex !important;
  }
}

.products-nav-search {
  flex-shrink: 0;
  padding: 16px var(--amm-site-padding-x, 24px) 12px;
  border-bottom: 1px solid #e5e5e5;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
}

.products-nav-search__field {
  position: relative;
  display: flex;
  align-items: center;
}

.products-nav-search__icon {
  position: absolute;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--amm-text-secondary-color, #757575);
  pointer-events: none;
}

.products-nav-search__input {
  width: 100%;
  padding: 10px 40px 10px 40px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: var(--amm-palette-primary-3, #ffffff);
  color: var(--amm-text-primary-color, #1e1e1e);
  font-size: 14px;
  line-height: 1.4;
}

.products-nav-search__input:focus {
  outline: 2px solid var(--amm-palette-primary-1, #005762);
  outline-offset: 1px;
  border-color: var(--amm-palette-primary-1, #005762);
}

.products-nav-search__clear {
  position: absolute;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--amm-text-secondary-color, #757575);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.products-nav-search__clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.products-nav-search__clear:hover,
.products-nav-search__clear:focus-visible {
  color: var(--amm-palette-primary-1, #005762);
}

.products-nav-search__footer {
  flex-shrink: 0;
  padding: 12px var(--amm-site-padding-x, 24px) 16px;
  border-top: 1px solid #e5e5e5;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
}

.products-nav-search__footer--mobile {
  border-top: 0;
  padding: 12px 14px 16px;
}

.products-nav-search__empty {
  margin: 0;
  color: var(--amm-text-secondary-color, #757575);
  font-size: 14px;
  line-height: 1.4;
}

.products-nav-search__load-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--amm-palette-primary-1, #005762);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.products-nav-search__load-more:hover,
.products-nav-search__load-more:focus-visible {
  text-decoration: underline;
}

.products-nav-search__load-more-count {
  font-weight: 500;
  color: var(--amm-text-secondary-color, #757575);
}

.products-nav-shell__columns.is-search-mode {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  grid-template-columns: none;
  grid-template-rows: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.products-nav-search__row {
  display: grid;
  grid-template-columns: repeat(var(--products-nav-column-count, 4), minmax(0, 1fr));
  align-items: stretch;
  flex-shrink: 0;
}

.products-nav-shell__columns.is-search-mode .products-nav-row--search-result {
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  box-sizing: border-box;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.products-nav-search__cell--empty {
  display: block;
  align-self: stretch;
  min-height: 0;
  box-sizing: border-box;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.products-nav-search__row > :last-child {
  border-right: none;
}

.products-nav-column--search {
  border-right: 1px solid #e5e5e5;
}

.products-nav-column--search-empty {
  min-height: 1px;
}

.products-nav-row--search-result {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}

.products-nav-row__label {
  display: block;
  width: 100%;
}

.products-nav-row__path {
  display: block;
  width: 100%;
  color: var(--amm-text-secondary-color, #757575);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.products-nav-mobile__search-results {
  display: block;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  background: var(--amm-palette-background, #f7f9fc);
}

.products-nav-mobile__search-results-inner {
  padding: 8px 40px 16px;
}

.products-nav-shell__mobile .products-nav-search,
.products-nav-mobile__panel .products-nav-search {
  flex-shrink: 0;
  padding: 16px 40px 12px;
  border-bottom: 1px solid rgba(0, 87, 98, 0.25);
  background: var(--amm-palette-background, #f7f9fc);
}

.products-nav-mobile__search-slot {
  flex-shrink: 0;
}

.products-nav-mobile__panel .products-nav-mobile__search-results {
  flex: 1 1 auto;
  min-height: 0;
}

.products-nav-shell__mobile {
  display: none;
}

/* ==========================================================================
   Industries Navigation Mega-Menu (Desktop)
   ========================================================================== */

.industries-nav-shell {
  position: relative;
  --amm-mega-menu-max-height: 75vh;
}

.industries-nav-shell__desktop-backdrop {
  position: fixed;
  top: var(--amm-header-offset, var(--amm-header-base-offset));
  left: 0;
  right: 0;
  max-height: min(var(--amm-mega-menu-max-height, 75vh), calc(100vh - var(--amm-header-offset, var(--amm-header-base-offset))));
  z-index: 130;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  pointer-events: none;
}

.industries-nav-shell__desktop {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--amm-site-max-width);
  max-height: min(var(--amm-mega-menu-max-height, 75vh), calc(100vh - var(--amm-header-offset, var(--amm-header-base-offset))));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--amm-site-padding-x);
  padding-right: var(--amm-site-padding-x);
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: auto;
}

.industries-nav-shell__desktop-backdrop::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--amm-header-height, 68px));
  left: 0;
  right: 0;
  height: var(--amm-header-height, 68px);
  pointer-events: none;
}

.industries-nav-shell__columns {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: repeat(var(--industries-nav-column-count, 3), minmax(0, var(--industries-nav-column-width, 300px)));
}

.industries-nav-column {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0;
  border-right: 1px solid #e5e5e5;
  background: var(--amm-nav-sub-bg, var(--amm-palette-primary-3, #ffffff));
}

.industries-nav-column:last-child {
  border-right: none;
}

.industries-nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 32px;
  color: var(--amm-nav-sub-link, var(--amm-text-primary-color, #1e1e1e));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.industries-nav-row:not(.industries-nav-row--title):hover,
.industries-nav-row:not(.industries-nav-row--title):focus-visible,
.industries-nav-row:not(.industries-nav-row--title).is-active {
  background-color: var(--amm-palette-background, #f7f9fc);
  color: var(--amm-palette-primary-1, #005762);
}

.industries-nav-row--title:hover,
.industries-nav-row--title:focus-visible,
.industries-nav-row--title.is-active {
  background-color: transparent;
  text-decoration: underline;
  color: var(--amm-palette-primary-1, #005762);
}

.industries-nav-row--spacer {
  padding: 0 32px;
  margin: 0;
  pointer-events: none;
  box-sizing: border-box;
}

.industries-nav-row--spacer::before {
  content: '';
  display: block;
  height: 42px;
}

.industries-nav-shell__mobile {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--amm-palette-background-secondary);
  padding: 60px 0;
}

.site-footer__inner.site-container {
  padding-top: 0;
  padding-bottom: 0;
}

.site-footer__bottom {
  margin-top: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(30, 30, 30, 0.12);
}

@media (max-width: 767px) {
  .site-footer__bottom {
    padding-bottom: 64px;
  }
}

@media (max-width: 767px) {
  .site-footer__bottom {
    padding-bottom: 64px;
  }

  /*
   * WP Additional CSS (#wp-custom-css, .ax-track-footer-bottom) forces this
   * row to display:flex + justify-content:center below 1024px, which
   * overrides the template's grid-cols-2 layout and centers the link text.
   * Re-assert the 2-column, left-aligned layout on mobile with a more
   * specific selector so it wins regardless of stylesheet order.
   */
  .site-footer__bottom .site-footer__bottom-links.ax-track-footer-bottom {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: normal !important;
    justify-items: start !important;
    text-align: left !important;
    width: 100%;
    margin-left: 0;
  }
}

.site-footer__copyright {
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .site-footer .site-footer__bottom {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 30px;
    width: auto !important;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 30px;
    box-sizing: border-box;
  }

  .site-footer .site-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    flex: 0 1 auto;
    margin-left: auto;
    order: 0;
    gap: 0 20px;
  }

  .site-footer .site-footer__bottom-links > a {
    display: inline-block;
    margin: 0;
    white-space: nowrap;
  }

  .site-footer .site-footer__copyright {
    order: 0;
    flex: 0 0 auto;
    margin: 0;
    width: auto;
    text-align: left;
  }
}

/* Footer link groups. The heading is a button so js/footer-nav.js can collapse
   the group on mobile; from md up it reads and behaves as plain text. */
.footer-column__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: default;
}

.footer-column__toggle-icon {
  display: none;
}

[data-footer-accordion-panel][hidden] {
  display: none;
}

@media (max-width: 767px) {
  .footer-column__group[data-footer-accordion-ready] + .footer-column__group[data-footer-accordion-ready] {
    margin-top: 4px;
  }

  .footer-column__group[data-footer-accordion-ready] .footer-column__title {
    margin-bottom: 0;
  }

  .footer-column__group[data-footer-accordion-ready] .footer-column__list {
    margin-top: 12px;
    margin-bottom: 0;
  }

  .footer-column__group[data-footer-accordion-ready] .footer-column__toggle {
    cursor: pointer;
    padding: 4px 0;
  }

  .footer-column__group[data-footer-accordion-ready] .footer-column__toggle-icon {
    display: block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-left: 12px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    opacity: 0.55;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .footer-column__group[data-footer-accordion-ready] .footer-column__toggle[aria-expanded="true"] .footer-column__toggle-icon {
    transform: translateY(2px) rotate(-135deg);
  }
}

.featured-image-full-width > img {
  width: 100vw!important;
  max-height: min(760px, 100vh - var(--amm-header-offset, var(--amm-header-base-offset)))!important;
  height: auto!important;
  object-fit: cover!important;
  object-position: center!important;
  border-radius: 0!important;
  box-shadow: none!important;
  margin-left: 0!important;
  margin-right: 0!important;
}

/* ==========================================================================
   Header — Desktop (min-width: 1024px)
   ========================================================================== */

@media (min-width: 1024px) {
  .header__inner {
    align-items: stretch;
  }

  .header__logo,
  .header__utility {
    align-self: center;
    display: flex;
    align-items: center;
  }

  .header__nav {
    align-self: stretch;
    display: flex;
    align-items: center;
  }

  .header__nav nav,
  .header__nav .primary-menu {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .header__nav .primary-menu li:not(.menu-item-cta) {
    align-self: stretch;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .header__nav .primary-menu li.menu-item-cta {
    display: none;
  }

  .header__nav .primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 100%;
    box-sizing: border-box;
    line-height: 1;
    padding-right: 0;
    /* Optical: 15px caps sit high in the em box vs the 36px wordmark */
    transform: translateY(4px);
  }

  .header__nav .primary-menu > li.menu-item-has-children {
    padding-right: 0;
  }

  /* Caret sits in the label flex row so it shares the logo/text midline */
  .header__nav .primary-menu > li.menu-item-has-children::after {
    display: none;
  }

  .header__nav .primary-menu > li.menu-item-has-children > a::after {
    content: "expand_more";
    position: static;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-family: "Material Icons";
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    color: inherit;
    pointer-events: none;
  }

  .header__nav .primary-menu > li.menu-item-has-children:hover > a::after,
  .header__nav .primary-menu > li.menu-item-has-children:focus-visible > a::after,
  .header__nav .primary-menu > li.menu-item--dropdown.is-submenu-open > a::after,
  .header__nav .primary-menu > li.menu-item--megamenu.is-submenu-open > a::after,
  .header__nav .primary-menu > li.menu-item-products.is-products-open > a::after,
  .header__nav .primary-menu > li.menu-item-industries.is-industries-open > a::after {
    content: "expand_less";
  }

  .header__nav .primary-menu li.menu-item-has-children .sub-menu {
    top: 100%;
    margin-top: 0;
  }

  .products-nav-shell__desktop-backdrop:not([hidden]),
  .industries-nav-shell__desktop-backdrop:not([hidden]) {
    z-index: 150;
  }

  .primary-menu li.menu-item-products.is-products-open,
  .primary-menu li.menu-item-industries.is-industries-open {
    z-index: 141;
  }

  .primary-menu li.menu-item-products.is-products-open::before,
  .primary-menu li.menu-item-industries.is-industries-open::before {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 40px;
    pointer-events: auto;
  }

  .products-nav-shell__desktop-backdrop::before,
  .industries-nav-shell__desktop-backdrop::before {
    pointer-events: none;
  }
}

/* ==========================================================================
   Mobile Styles (max-width: 1023px)
   ========================================================================== */

@media (max-width: 1023px) {
  /* Header */
  .header {
    height: auto;
  }

  .header nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .header__mobile-toggle {
    display: block;
  }

  /* Mobile Nav Drawer */
  .header__nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: calc(100vh - var(--amm-header-offset, var(--amm-header-base-offset)));
    margin-top: var(--amm-header-offset, var(--amm-header-base-offset));
    background: var(--amm-palette-background, #f7f9fc);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    z-index: 100;
  }

  .header__nav nav {
    width: 100%;
  }

  .header__nav.is-open {
    display: flex;
  }

  /* Mobile Menu — match drill-down panel row styling */
  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 28px 40px 40px;
  }

  .primary-menu > li,
  .primary-menu > li.menu-item-has-children {
    width: 100%;
    padding-right: 0;
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
  }

  .primary-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 26px 0;
    color: var(--amm-palette-primary-2, #000);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
  }

  .primary-menu > li:hover > a,
  .primary-menu > li:focus-visible > a {
    color: var(--amm-palette-primary-1, #005762);
    opacity: 1;
  }

  .primary-menu > li.current-menu-item > a,
  .primary-menu > li.current-menu-ancestor > a,
  .primary-menu > li.current-menu-parent > a,
  .primary-menu > li.menu-item-products.current-menu-ancestor > a,
  .primary-menu > li.menu-item-industries.current-menu-ancestor > a {
    color: var(--amm-palette-primary-1, #005762);
    opacity: 1;
  }

  /* Hide Desktop Carets on Mobile */
  .primary-menu > li.menu-item-has-children::after,
  .primary-menu > li.menu-item-has-children:hover::after,
  .primary-menu > li.menu-item-has-children:focus-visible::after {
    display: none;
  }

  /* Mobile chevrons — forward arrow on link, same as drill-down panels */
  .primary-menu > li.menu-item-has-children > a {
    padding-right: 0;
  }

  .primary-menu > li > a::after {
    content: "chevron_right";
    position: static;
    flex-shrink: 0;
    font-size: 28px;
    font-family: 'Material Icons';
    line-height: 1;
    color: var(--amm-palette-primary-2, #000);
    transform: none;
  }

  .primary-menu > li:not(.menu-item-has-children) > a::after,
  .sub-menu > li:not(.submenu-heading) > a::after {
    content: "chevron_right";
  }

  .primary-menu > li.menu-item-has-children > a::after {
    content: "chevron_right";
  }

  .primary-menu > li:hover > a::after,
  .primary-menu > li:focus-visible > a::after {
    color: var(--amm-palette-primary-1, #005762);
  }

  .primary-menu > li.menu-item--dropdown > .sub-menu,
  .primary-menu > li.menu-item--megamenu > .sub-menu {
    display: none !important;
  }

  .primary-menu .submenu-heading__label,
  .submenu-flyout-chevron {
    display: none;
  }

  .submenu-nav-shell {
    position: absolute;
    inset: 0;
    z-index: 140;
  }

  .submenu-nav-shell__desktop {
    display: none !important;
  }

  .submenu-nav-shell__mobile {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--amm-palette-background, #f7f9fc);
  }

  .submenu-nav-shell__mobile-panels {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .submenu-nav-mobile__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--amm-palette-background, #f7f9fc);
    transition: transform 280ms ease;
    transform: translateX(100%);
  }

  .submenu-nav-mobile__header {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    padding: 28px 40px 20px;
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
  }

  .submenu-nav-mobile__title {
    justify-self: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--amm-palette-primary-2, #000000);
  }

  .submenu-nav-mobile__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--amm-palette-primary-2, #000000);
    cursor: pointer;
  }

  .submenu-nav-mobile__back.is-hidden {
    visibility: hidden;
  }

  .submenu-nav-mobile__content {
    overflow-y: auto;
    padding: 0 40px 40px;
  }

  .submenu-nav-mobile__view-all,
  .submenu-nav-mobile__row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    border: none;
    background: transparent;
    color: var(--amm-palette-primary-2, #000000);
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
  }

  .submenu-nav-mobile__row {
    padding: 26px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
  }

  .submenu-nav-mobile__view-all {
    padding: 22px 0;
    font-size: 18px;
    font-weight: 500;
  }

  .submenu-nav-mobile__chevron {
    font-size: 28px;
    line-height: 1;
  }

  /* Product Navigation Mega-Menu (Mobile) */
  .products-nav-shell {
    position: absolute;
    inset: 0;
    z-index: 140;
  }

  .products-nav-shell__desktop-backdrop,
  .products-nav-shell__desktop {
    display: none !important;
  }

  .products-nav-shell__mobile {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--amm-palette-background, #f7f9fc);
  }

  .products-nav-shell__mobile-panels {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;
  }

  .products-nav-mobile__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--amm-palette-background, #f7f9fc);
    transition: transform 280ms ease;
    transform: translateX(100%);
  }

  .products-nav-mobile__header {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    padding: 28px 40px 20px;
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
  }

  .products-nav-mobile__title {
    justify-self: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--amm-palette-primary-2, #000000);
  }

  .products-nav-mobile__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--amm-palette-primary-2, #000000);
    cursor: pointer;
  }

  .products-nav-mobile__back.is-hidden {
    visibility: hidden;
  }

  .products-nav-mobile__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0 40px 40px;
  }

  .products-nav-mobile__view-all,
  .products-nav-mobile__row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    border: none;
    background: transparent;
    color: var(--amm-palette-primary-2, #000000);
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
  }

  .products-nav-mobile__row {
    padding: 26px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
  }

  .products-nav-mobile__view-all {
    padding: 22px 0;
    font-size: 18px;
    font-weight: 500;
  }

  .products-nav-mobile__chevron {
    font-size: 28px;
    line-height: 1;
  }

  .products-nav-mobile__search-results .products-nav-row--search-result {
    padding: 26px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--amm-palette-primary-2, #000000);
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
  }

  .products-nav-mobile__search-results .products-nav-row__path {
    font-size: 14px;
  }

  .products-nav-mobile__search-results .products-nav-search__footer--mobile {
    padding: 0 0 16px;
    border-top: 0;
    background: var(--amm-palette-background, #f7f9fc);
  }

  .products-nav-mobile__search-results .products-nav-search__load-more {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 0;
    border: none;
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
    border-radius: 0;
    background: var(--amm-palette-background, #f7f9fc);
    color: var(--amm-palette-primary-2, #000000);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
  }

  .products-nav-mobile__search-results .products-nav-search__load-more:hover,
  .products-nav-mobile__search-results .products-nav-search__load-more:focus-visible {
    color: var(--amm-palette-primary-1, #005762);
    background: var(--amm-palette-background, #f7f9fc);
    text-decoration: none;
  }

  .products-nav-mobile__search-results .products-nav-search__load-more-count {
    font-size: 18px;
    font-weight: 500;
    color: var(--amm-text-secondary-color, #757575);
  }

  /* Industries Navigation Mega-Menu (Mobile) */
  .industries-nav-shell {
    position: absolute;
    inset: 0;
    z-index: 140;
  }

  .industries-nav-shell__desktop-backdrop,
  .industries-nav-shell__desktop {
    display: none !important;
  }

  .industries-nav-shell__mobile {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--amm-palette-background, #f7f9fc);
  }

  .industries-nav-shell__mobile-panels {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .industries-nav-mobile__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--amm-palette-background, #f7f9fc);
    transition: transform 280ms ease;
    transform: translateX(0);
  }

  .industries-nav-mobile__header {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    padding: 28px 40px 20px;
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
  }

  .industries-nav-mobile__title {
    justify-self: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--amm-palette-primary-2, #000000);
  }

  .industries-nav-mobile__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--amm-palette-primary-2, #000000);
    cursor: pointer;
  }

  .industries-nav-mobile__content {
    overflow-y: auto;
    padding: 0 40px 40px;
  }

  .industries-nav-mobile__row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-decoration: none;
    border: none;
    background: transparent;
    color: var(--amm-palette-primary-2, #000000);
    border-bottom: 1px solid rgba(0, 87, 98, 0.25);
    padding: 26px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
  }

  .industries-nav-mobile__row.is-active {
    color: var(--amm-palette-primary-1, #005762);
  }

}

@media (max-width: 782px) {
  body.admin-bar {
    --amm-admin-bar-offset: 46px;
  }
}

a.header__cta,
.header__cta.rounded-full,
.header__cta.rounded {
  border-radius: 4px !important;
}
