/* Sunderland Home Grown redesign: header and menus.
   Generated by scripts/build-duda.mjs from the files in duda/. Edit those, not this file. */
/* ---------- 4. Header: shared by every device ---------- */
/* The header bar itself */
html #dm .dmInner div.dmHeader.u_hcontainer,
html #dm .dmInner div.u_hcontainer {
  background-color: rgba(246, 247, 242, 0.97) !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-width: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
html #dm .shg-header.shg-header { max-width: 88rem; margin: 0 auto; }
/* Duda gives header rows a fixed width; let ours use the full width instead */
html #dm .shg-header.shg-header .dmRespRow {
  width: auto !important;
  max-width: none !important;
}
html #dm .shg-header.shg-header .dmRespColsWrapper {
  display: flex !important;
  align-items: center;
  gap: 24px;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}
html #dm .shg-header.shg-header .dmRespCol {
  float: none !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}
html #dm .shg-header.shg-header .shg-header__brand { flex: 0 0 auto; }
html #dm .shg-header.shg-header .shg-header__nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Logo */
html #dm .shg-header.shg-header .shg-header__brand .imageWidget {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
html #dm .shg-header.shg-header .shg-header__brand .imageWidget a { display: inline-block; border-radius: 4px; }
html #dm .shg-header.shg-header .shg-header__brand img {
  display: block;
  width: auto !important;
  max-width: none !important;
  border-radius: 0 !important;
}

/* The dynamic menu */
html #dm .shg-header.shg-header nav.main-navigation.unifiednav {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: flex-end !important;
  font-family: var(--shg-font) !important;
}
/* Remove the old pipes and underline effects */
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap::before,
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap::after,
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .nav-item-text::before,
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .nav-item-text::after {
  display: none !important;
  content: none !important;
}
/* Top-level menu items */
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap > .unifiednav__item {
  min-height: 48px;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: var(--shg-leaf-corner);
  color: var(--shg-forest) !important;
  font-family: var(--shg-font) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background-color: transparent;
  transition: background-color .15s ease;
}
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap > .unifiednav__item:hover {
  background-color: var(--shg-stone) !important;
  color: var(--shg-forest) !important;
}
/* The page you are on */
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap > .unifiednav__item.dmNavItemSelected {
  background-color: var(--shg-leaf-pale) !important;
  color: var(--shg-forest) !important;
}
/* Day opportunities (the main business goal) gets a small leaf in front of it.
   Works on the page address, so keep the page URL as /day-opportunities. */
html #dm .shg-header.shg-header nav.main-navigation.unifiednav a.unifiednav__item[href*="day-opportunities"]::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: var(--shg-leaf);
  border-radius: 0 100% 0 100%;
}
/* Drop-down menus (sub-pages): hidden until you hover the parent or tab into it */
html #dm .shg-header.shg-header nav.main-navigation.unifiednav { min-width: 0; }
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap {
  position: relative;
}
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap > .unifiednav__container[data-depth] {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 60;
  display: none;
  flex-direction: column;
}
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap:is(:hover, :focus-within) > .unifiednav__container[data-depth] {
  display: flex;
}
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container[data-depth] {
  background-color: #fff !important;
  border-radius: var(--shg-leaf-corner);
  box-shadow: 0 14px 34px rgba(20, 35, 26, 0.16) !important;
  padding: 8px !important;
  min-width: 220px;
}
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container[data-depth] .unifiednav__item {
  min-height: 44px;
  border-radius: 0.75rem 0.25rem;
  color: var(--shg-forest) !important;
  background-color: transparent !important;
  font-family: var(--shg-font) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container[data-depth] .unifiednav__item:hover,
html #dm .shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container[data-depth] .unifiednav__item.dmNavItemSelected {
  background-color: var(--shg-leaf-pale) !important;
  color: var(--shg-forest) !important;
}

/* "Make an enquiry" button: a Duda text widget holding one link, so its words and address
   can be edited in the editor. Styled through the widget's class, so editing keeps the look. */
html #dm .shg-header.shg-header .dmNewParagraph.shg-enquire {
  --shg-enquire-pad: 24px;
  --shg-enquire-size: 17px;
  flex: none;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  text-align: center !important;
  line-height: 1 !important;
}
html #dm .shg-header.shg-header .dmNewParagraph.shg-enquire a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--shg-enquire-pad) !important;
  border-radius: var(--shg-leaf-corner) !important;
  background-color: var(--shg-gold) !important;
  color: var(--shg-forest) !important;
  font-family: var(--shg-font) !important;
  font-size: var(--shg-enquire-size) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease;
}
/* Anything the editor wraps inside the link follows the button's look */
html #dm .shg-header.shg-header .dmNewParagraph.shg-enquire a * {
  color: inherit !important;
  font: inherit !important;
  background: transparent !important;
  text-decoration: none !important;
}
html #dm .shg-header.shg-header .dmNewParagraph.shg-enquire a:hover { background-color: var(--shg-gold-hover) !important; transform: translateY(-2px); }
html #dm .shg-header.shg-header .dmNewParagraph.shg-enquire a:active { transform: scale(.98); }


/* ===== Desktop and tablet ===== */
/* =====================================================================
   SUNDERLAND HOME GROWN REDESIGN: DESKTOP AND TABLET
   Where: Developer Mode > CSS > "ADD CUSTOM CSS TO THE PAGE - THIS AFFECTS DESKTOP AND TABLET DEVICES"
   How:   1. DELETE this old line from that panel (the header is now much shorter):
             *.stickyHeaderSpacer { height:292.8999938964844px !important; }
          2. Paste everything below at the very END of the panel.
   ===================================================================== */

/* ---------- Desktop: one row, logo | menu | button ---------- */
html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .dmRespRow {
  padding: 12px 40px !important;
}
html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .shg-header__brand img {
  height: 56px !important;
}
html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) {
  flex-wrap: nowrap;
  gap: 2px;
}

/* ---------- Laptops (1280px to 1439px): slightly tighter so everything fits on one row ---------- */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .dmRespRow {
    padding: 12px 24px !important;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .shg-header__brand img {
    height: 48px !important;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap > .unifiednav__item {
    padding: 0 10px !important;
    font-size: 16px !important;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .shg-enquire {
    --shg-enquire-pad: 18px;
    --shg-enquire-size: 16px;
  }
}

/* ---------- Small laptops (1025px to 1279px) ----------
   Two rows: logo and button on top, the full menu underneath, so nothing gets squashed.
   Tablets (1024px and narrower) get the phone-style bar and full-screen menu from site.js
   (file 7) instead; these two-row rules stay as the fallback if that script doesn't run. */
@media screen and (max-width: 1279px) {
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .dmRespRow {
    padding: 12px 24px 8px !important;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .dmRespColsWrapper {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .shg-header__brand {
    flex: 1 1 auto;
  }
  /* Let the menu and the button sit directly in the header row so they can be re-ordered */
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .shg-header__nav {
    display: contents !important;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .shg-enquire {
    order: 2;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start !important;
    margin: 0 -10px !important;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) {
    flex-wrap: wrap;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap > .unifiednav__item {
    padding: 0 10px !important;
    font-size: 16px !important;
  }
  html body:not(.dmMobileBody) #dm .shg-header.shg-header.shg-header .shg-header__brand img {
    height: 48px !important;
  }
}

/* ===== Mobile (Duda mobile layout) ===== */
/* =====================================================================
   SUNDERLAND HOME GROWN REDESIGN: MOBILE
   Where: Developer Mode > CSS > "ADD CUSTOM CSS TO THE PAGE - THIS AFFECTS MOBILE DEVICES"
   How:   paste at the very END of that panel.

   Layout: logo and a short "Enquire" button on top; the menu underneath as one row
   you can swipe sideways. Every link stays a real, tappable link (44px or taller).
   ===================================================================== */

html body.dmMobileBody #dm .shg-header.shg-header.shg-header .dmRespRow {
  padding: 10px 16px 6px !important;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header .dmRespColsWrapper {
  flex-wrap: wrap;
  gap: 8px 12px;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header .shg-header__brand {
  flex: 1 1 auto;
  min-width: 0;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header .shg-header__brand img {
  height: 38px !important;
  max-width: 100% !important;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header .shg-header__nav {
  display: contents !important;
}

/* Enquiry button: a little smaller on phones */
html body.dmMobileBody #dm .shg-header.shg-header.shg-header .shg-enquire {
  order: 2;
  --shg-enquire-pad: 16px;
  --shg-enquire-size: 16px;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header .shg-enquire a { min-height: 44px; }

/* The menu: one swipeable row under the logo */
html body.dmMobileBody #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav {
  order: 3;
  flex: 1 1 100%;
  margin: 0 -16px !important;
  max-width: none !important;
  width: calc(100% + 32px) !important;
  justify-content: flex-start !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav::-webkit-scrollbar { display: none; }
html body.dmMobileBody #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) {
  flex-wrap: nowrap !important;
  gap: 4px;
  padding: 0 12px;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap {
  scroll-snap-align: start;
  flex: none;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap > .unifiednav__item {
  min-height: 44px;
  padding: 0 12px !important;
  font-size: 16px !important;
  white-space: nowrap;
}
/* Drop-downs don't work well in a swipe row; sub-pages are reached from their parent page */
html body.dmMobileBody #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .unifiednav__container[data-depth] {
  display: none !important;
}
html body.dmMobileBody #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav .icon { display: none !important; }

/* If Duda also shows its own hamburger menu on mobile, you'll have two menus.
   Keep the one you prefer. To hide this swipe row instead, uncomment the next line:
html body.dmMobileBody #dm .shg-header.shg-header.shg-header nav.main-navigation.unifiednav { display: none !important; }
*/

/* =====================================================================
   PHONES USE DUDA'S SEPARATE MOBILE LAYOUT
   On phones Duda doesn't show the header file at all. It shows its own header bar,
   a hamburger button (#toggleMenuTrigger) and a slide-out menu (#leftSidebar).
   The rules below restyle those in the new design.
   The menu ITEMS still come from the Pages panel: hide or reorder pages there.
   ===================================================================== */

/* Header bar */
html body.dmMobileBody #dm #slideRightNav.d-header-wrapper,
html body.dmMobileBody #dm #slideRightNav .dmHeader.u_hcontainer {
  background-color: var(--shg-ground) !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: 0 !important;
}

/* Logo in the mobile header bar (Duda's mobile layout has none) */
html body.dmMobileBody #dm #slideRightNav .dmHeader.u_hcontainer {
  min-height: 72px !important;
  background-image: url("https://irp-cdn.multiscreensite.com/0432dc74/dms3rep/multi/Sunderland_Homegrown_Lozenge_1000x285_RGB-dee94023-f0dd5d88-c6017153.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: auto 40px !important;
}
html body.dmMobileBody #dm #slideRightNav .dmHeader .dm-title { display: none !important; }

/* Hamburger button: big, high-contrast, leaf-shaped */
html body.dmMobileBody #dm #toggleMenuTrigger.dmNavTriggerButton {
  top: 12px !important;
  left: 12px !important;
  width: 48px !important;
  height: 48px !important;
  padding: 15px 13px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--shg-forest) !important;
  border-radius: var(--shg-leaf-corner) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
html body.dmMobileBody #dm #toggleMenuTrigger.dmNavTriggerButton .btnStripe {
  display: block !important;
  width: 22px !important;
  height: 3px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  background-color: #fff !important;
}

/* Slide-out menu panel */
html body.dmMobileBody #dm #dmSlideRightNavLeft,
html body.dmMobileBody #dm #dmSlideRightNavLeft .fixedPart {
  background-color: var(--shg-forest) !important;
}
html body.dmMobileBody #dm #dmSlideRightNavLeft .fixedPart { padding: 24px 12px 80px !important; }
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn { background: transparent !important; border: 0 !important; }
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi {
  background: transparent !important;
  border: 0 !important;
  margin: 0 0 4px !important;
}
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi > a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: var(--shg-leaf-corner) !important;
  background: transparent !important;
  text-decoration: none !important;
}
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi > a .navItemText {
  color: #fff !important;
  font-family: var(--shg-font) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  hyphens: auto;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
/* Small leaf in front of every item; gold for Day opportunities */
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi > a::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--shg-leaf);
  border-radius: 0 100% 0 100%;
}
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi > a[href*="day-opportunities"]::before { background: var(--shg-gold); }
/* The page you're on */
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi.dmNavItemSelected,
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi.dmNavItemSelected > a { background: var(--shg-forest-700) !important; }
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi.dmNavItemSelected > a .navItemText { color: #fff !important; }
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn > li.navListLi > a:focus-visible { outline: 3px solid var(--shg-gold) !important; outline-offset: 2px !important; }
/* Hide the old icons and arrows */
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn .navItemIconBg,
html body.dmMobileBody #dm #dmSlideRightNavLeft #leftSidebar.dmNavWrapper.dmn .navItemArrowBg { display: none !important; }

/* ===== Phone menu built by site.js ===== */

  html.shg-m-on #slideRightNav { display: none !important; }
  html.shg-m-on #dmSlideRightNavRight { padding-top: 72px !important; transform: none !important; }
  html.shg-m-on #dmSlideRightNavLeft { display: none !important; }
  html.shg-m-locked, html.shg-m-locked body { overflow: hidden !important; }

  /* Desktop page on a tablet-sized screen: hide the regular header (and the old sidebar layout,
     if still used); make room for the bar */
  html.shg-m-desk #dm .dmInner div.dmHeader,
  html.shg-m-desk .stickyHeaderSpacer,
  html.shg-m-desk #siteSidebar,
  html.shg-m-desk #siteSidebarSpacer { display: none !important; }
  html.shg-m-desk body { padding-top: 80px !important; }
  /* Duda's own tablet layout (built like the phone layout): room for the taller tablet bar */
  html.shg-m-on.shg-m-tablet:not(.shg-m-desk) #dmSlideRightNavRight { padding-top: 80px !important; }

  /* The bar and panel only exist on screen while the phone/tablet menu is switched on */
  .shg-m-bar, .shg-m-panel { display: none !important; }
  html.shg-m-on .shg-m-bar { display: flex !important; }
  html.shg-m-on .shg-m-panel { display: block !important; }

  .shg-m-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100000;
    height: 72px; padding: 0 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: rgba(246, 247, 242, 0.97);
    font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
  }
  .shg-m-logo { display: inline-flex; border-radius: 4px; }
  .shg-m-bar .shg-m-logo img { display: block; height: 40px !important; width: auto !important; max-width: 60vw !important; }
  .shg-m-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 48px; padding: 0 18px;
    border: 0; border-radius: 1.5rem 0.25rem; cursor: pointer;
    background: #173A22; color: #fff;
    font: 700 17px/1 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
    transition: transform .18s ease, background-color .18s ease;
  }
  .shg-m-toggle:active { transform: scale(.97); }
  .shg-m-toggle:focus-visible, .shg-m-panel a:focus-visible, .shg-m-logo:focus-visible {
    outline: 3px solid #E9B82B; outline-offset: 3px;
  }
  .shg-m-logo:focus-visible { outline-color: #173A22; }
  .shg-m-icon { position: relative; display: block; width: 20px; height: 16px; }
  .shg-m-icon span {
    position: absolute; left: 0; width: 20px; height: 3px; border-radius: 3px; background: currentColor;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, top .3s cubic-bezier(.22, 1, .36, 1);
  }
  .shg-m-icon span:nth-child(1) { top: 0; }
  .shg-m-icon span:nth-child(2) { top: 6.5px; }
  .shg-m-icon span:nth-child(3) { top: 13px; }
  .shg-m-toggle[aria-expanded="true"] .shg-m-icon span:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
  .shg-m-toggle[aria-expanded="true"] .shg-m-icon span:nth-child(2) { opacity: 0; }
  .shg-m-toggle[aria-expanded="true"] .shg-m-icon span:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }

  .shg-m-panel {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 99999;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 24px 16px 40px;
    background: #173A22; color: #fff;
    font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .35s;
  }
  .shg-m-panel.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility 0s;
  }
  .shg-m-panel ul { list-style: none; margin: 0; padding: 0; }
  .shg-m-panel li { margin: 0 0 4px; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1); }
  .shg-m-panel.is-open li { opacity: 1; transform: none; }
  .shg-m-panel nav a {
    display: flex; align-items: center; gap: 12px;
    min-height: 56px; padding: 0 12px;
    border-radius: 1.5rem 0.25rem;
    color: #fff !important; text-decoration: none !important;
    font-size: 26px; font-weight: 700; line-height: 1.15;
  }
  .shg-m-panel nav a::before {
    content: ""; flex: none; width: 14px; height: 14px; border-radius: 0 100% 0 100%; background: #3DB82A;
  }
  .shg-m-panel nav a[href*="day-opportunities"]::before { background: #E9B82B; }
  .shg-m-panel nav a[aria-current="page"] { background: #1F4D2E; }
  .shg-m-actions { display: grid; gap: 12px; margin-top: 32px; }
  .shg-m-btn {
    display: flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 20px; border-radius: 1.5rem 0.25rem;
    font-size: 18px; font-weight: 700; text-decoration: none !important;
  }
  .shg-m-btn--gold { background: #E9B82B; color: #173A22 !important; }
  .shg-m-btn--white { background: #fff; color: #173A22 !important; }

  /* Tablet sizing: a taller bar, bigger logo, and the menu contents kept to a readable width */
  html.shg-m-tablet .shg-m-bar { height: 80px; padding: 0 32px; }
  html.shg-m-tablet .shg-m-bar .shg-m-logo img { height: 48px !important; }
  html.shg-m-tablet .shg-m-toggle { min-height: 52px; padding: 0 22px; font-size: 18px; }
  html.shg-m-tablet .shg-m-panel { top: 80px; padding: 48px 32px 56px; }
  html.shg-m-tablet .shg-m-panel nav,
  html.shg-m-tablet .shg-m-actions { max-width: 640px; margin-left: auto; margin-right: auto; }
  html.shg-m-tablet .shg-m-panel nav a { min-height: 64px; font-size: 32px; }
  html.shg-m-tablet .shg-m-actions { grid-template-columns: 1fr 1fr; margin-top: 40px; }

  @media (prefers-reduced-motion: reduce) {
    .shg-m-panel, .shg-m-panel li, .shg-m-icon span, .shg-m-toggle { transition: none !important; }
  }
