/* Shared dialogs follow the established MAJU desktop menu and Contact treatment. */
dialog :is(button.close-button,button.privacy-modal-close,button.icon-button)>svg,
dialog .modal-close-icon{stroke-width:1px}
#maju-global-menu {
  box-sizing: border-box;
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100vw - 36px));
  max-width: none;
  max-height: 85vh;
  margin: auto;
  padding: 32px;
  border: 0;
  color: #252824;
  font-family: 'tablet-gothic', Arial, sans-serif;
  font-style: normal;
  background: #fff;
  box-shadow: 0 12px 60px #0003;
  overflow: auto;
}
#maju-global-menu::backdrop { background: rgb(0 0 0 / 42%); }
#maju-global-menu .utility-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 25px;
}
#maju-global-menu .utility-head h2 {
  margin: 0;
  color: #252824;
  font-family: 'tablet-gothic', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 20px;
  text-transform: uppercase;
}
#maju-global-menu .utility-head button.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0 -12px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #252824;
  background: transparent;
  cursor: pointer;
}
#maju-global-menu .utility-head .modal-close-icon {
  display: block;
  width: 18px;
  height: 18px;
  color: #252824;
  background: currentColor;
  fill: none;
  stroke: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M1 1H17L1 17H17Z' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M1 1H17L1 17H17Z' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
#maju-global-menu .utility-head .modal-close-icon > * { display: none; }
#archive-search .dialog-heading { align-items: center; }
#archive-search .dialog-heading > h2,
#maju-open #mo-search h2#mo-search-title {
  margin: 0;
  color: #252824;
  font-family: 'tablet-gothic', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 20px;
  text-transform: uppercase;
}
#archive-search .dialog-heading > .close-button,
#maju-open #mo-search .utility-head > button.icon-button {
  margin: 0 -12px 0 0;
  align-self: center;
}
#archive-search.utility-dialog label,
#maju-open #mo-search.utility-dialog label {
  display: block;
  margin: 0 0 12px;
  color: #969c9c;
  font-family: 'tablet-gothic', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .1em;
}
#archive-search.utility-dialog input[type="search"],
#maju-open #mo-search.utility-dialog input[type="search"] {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: #edf1f3;
  color: #252824;
  font: 300 20px/1.5 'tablet-gothic', Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#archive-search.utility-dialog input[type="search"]::placeholder,
#maju-open #mo-search.utility-dialog input[type="search"]::placeholder {
  color: #a1a9ac;
  font-weight: 300;
  letter-spacing: .1em;
  opacity: 1;
}
#maju-global-menu nav { display: grid; gap: 6px; }
#maju-global-menu nav a {
  display: block;
  padding: 10px 0;
  color: #252824;
  font-family: 'tablet-gothic', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 24px;
  text-decoration: none;
  text-transform: uppercase;
}
#maju-global-menu nav a:hover,
#maju-global-menu nav a:focus-visible { opacity: .58; }
@media (max-width: 760px) {
  #maju-global-menu { padding: 24px; }
  #maju-global-menu nav a { font-size: 16px; font-weight: 600; }
}

/* Sitewide: search entry points and dialogs are intentionally hidden. */
#mo-open-search,
#open-search,
#mo-search,
#archive-search {
  display: none !important;
}


/* Sitewide header and dialog icons use the same 18px footprint and 1.5px strokes. */
#open-menu .shape,
#mo-open-menu .tool-square {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 18px !important;
  height: 18px !important;
  overflow: visible !important;
  border: 0 !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor) !important;
  background-position: center 2.25px, center 8.25px, center 14.25px !important;
  background-size: 100% 1.5px, 100% 1.5px, 100% 1.5px !important;
  background-repeat: no-repeat !important;
}
#open-menu .shape::before,
#open-menu .shape::after,
#mo-open-menu .tool-square::before,
#mo-open-menu .tool-square::after { content: none !important; }

/* Every modal and popup close control uses a plain 18px X with the same 1.5px stroke. */
button.close-button > svg,
button.privacy-modal-close > svg,
dialog .utility-head > button.icon-button > svg,
.modal-close-icon {
  display: block !important;
  box-sizing: border-box !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(45deg, transparent calc(50% - .75px), currentColor calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)),
    linear-gradient(-45deg, transparent calc(50% - .75px), currentColor calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)) !important;
  background-repeat: no-repeat !important;
  fill: none !important;
  stroke: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}
button.close-button > svg > *,
button.privacy-modal-close > svg > *,
dialog .utility-head > button.icon-button > svg > *,
.modal-close-icon > * { display: none !important; }
#maju-opening-benefit .benefit-close::before {
  box-sizing: border-box !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(45deg, transparent calc(50% - .75px), currentColor calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)),
    linear-gradient(-45deg, transparent calc(50% - .75px), currentColor calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)) !important;
  background-repeat: no-repeat !important;
  content: '' !important;
}
#maju-opening-benefit .benefit-close::after { content: none !important; }
/* Suppress the opening focus ring around modal close controls while retaining focus styles elsewhere. */
dialog :is(button.close-button, button.privacy-modal-close, .utility-head > button.icon-button, button[data-close-dialog]):focus,
#maju-opening-benefit .benefit-close:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
