/*
 * Phones only — linked with media="(max-width: 767px)".
 *
 * Duda served phones their own sheets and header markup, none of which the
 * export kept (it is desktop-only), and the Duda site is gone, so this is
 * the one part of mobile that is authored rather than imported. It is kept
 * to the header: the runtime, the site's own dmMobileBody rules and the
 * mobile text sizes (mobile-sizes.css) are all Duda's.
 *
 *  - The header is transparent and laid over the hero on desktop. Duda's
 *    mobile runtime does not lay it over, so on a phone it sat on the white
 *    page with a white logo and white nav: invisible. It gets the colour
 *    Duda's own header takes once it turns solid (scroll-responder, --color_2).
 *  - The 13-item nav becomes a hamburger menu (Scripts/mobile-nav.js adds
 *    the buttons), with the two long submenus collapsible.
 */

/* Theme heading sizes. The theme sets h1 50px / h2 35px with no mobile size;
   a 50px "Miura Boiler" alone is wider than a phone. Not !important, so
   Duda's own m-size-N classes still win wherever an editor set one. */
#dmRoot #dm div.dmContent h1,
#dmRoot #dm div.dm-title h1 {
  font-size: 34px;
}
#dmRoot #dm div.dmContent h2,
#dmRoot #dm div.dm-title h2 {
  font-size: 28px;
}
#dmRoot #dm div.dmContent :is(h1, h2, h3) {
  overflow-wrap: break-word;
}

#dm .dmInner div.dmHeader.u_hcontainer,
#dm .dmInner div.u_hcontainer {
  background-color: var(--color_2) !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  position: relative;
}

/* Logo: leave room for the menu button. */
#dm #hcontainer .imageWidget img {
  max-width: 200px !important;
  height: auto !important;
}
#dm #hcontainer .u_1655900237 {
  margin: 0 64px 0 16px !important;
  text-align: left !important;
}

/* The call bar: tighter, and drop the empty spacer paragraph. */
#dm #hcontainer .u_1883411180 {
  margin-top: 8px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
#dm #hcontainer .u_1883411180 p {
  margin: 0 !important;
}
#dm #hcontainer .socialHubWrapper {
  justify-content: center;
}

/* ---- Menu ---- */
.btu-menu-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.btu-menu-btn span,
.btu-menu-btn span::before,
.btu-menu-btn span::after {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btu-menu-btn span::before,
.btu-menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}
.btu-menu-btn span::before { top: -8px; }
.btu-menu-btn span::after { top: 8px; }
.btu-nav-open .btu-menu-btn span { background: transparent; }
.btu-nav-open .btu-menu-btn span::before { transform: translateY(8px) rotate(45deg); }
.btu-nav-open .btu-menu-btn span::after { transform: translateY(-8px) rotate(-45deg); }
.btu-menu-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Closed: the nav row is hidden. Open: a vertical list under the header. */
#dm #hcontainer .u_1576591963 {
  display: none !important;
}
.btu-nav-open #dm #hcontainer .u_1576591963 {
  display: block !important;
  margin: 12px 0 -12px !important;
  padding: 0 !important;
  background: #1f1f1f;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}
#dm #hcontainer nav.u_1521097509 {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
#dm #hcontainer nav.u_1521097509 ul {
  display: block !important;
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#dm #hcontainer nav.u_1521097509 li {
  display: block !important;
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
#dm #hcontainer nav.u_1521097509 a {
  display: block !important;
  padding: 14px 64px 14px 20px !important;
  margin: 0 !important;
  color: #fff !important;
  text-align: left !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}
#dm #hcontainer nav.u_1521097509 a::after,
#dm #hcontainer nav.u_1521097509 a::before {
  display: none !important;
}
#dm #hcontainer nav.u_1521097509 .icon-angle-down {
  display: none !important;
}
/* Submenus: collapsed until their toggle is tapped. */
#dm #hcontainer nav.u_1521097509 ul ul {
  display: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
#dm #hcontainer nav.u_1521097509 li.btu-sub-open > ul {
  display: block !important;
}
#dm #hcontainer nav.u_1521097509 ul ul a {
  padding-left: 36px !important;
  font-size: 14px !important;
  text-transform: none !important;
}
.btu-sub-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 48px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 48px;
  cursor: pointer;
}
.btu-sub-toggle::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.btu-sub-open > .btu-sub-toggle::before {
  transform: translateY(2px) rotate(-135deg);
}
