.mghNoSelect{
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -ms-user-select: none;
}

.mgh-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: transparent;
  isolation: isolate;
}

.mgh-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2rem;
  z-index: -1;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.mgh-header--glass::before {
  opacity: 1;
}

.mgh-header--home.mgh-header--top::before {
  opacity: 0;
}

.mgh-header__bar {
  max-width: 83rem;
  margin: 0.4rem auto 0;
  border-radius: 18px;
  background: var(--mgh-color-3, #6f3b56);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.mgh-header--home.mgh-header--top .mgh-header__bar {
  background: transparent;
  box-shadow: none;
}

.mgh-header--home.mgh-header--scrolled .mgh-header__bar {
  background: var(--mgh-color-3, #6f3b56);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.mgh-header__inner {
  padding: 0.6rem 0;
}

.mgh-header__inner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

.mgh-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.mgh-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.mgh-header__logo-img {
  display: block;
  height: 44px;
  width: auto;
}

.mgh-header__nav {
  flex: 1 1 auto;
  min-width: 0;
}

.mgh-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0 0;
}

.mgh-header__menu-item {
  margin: 0;
  padding: 0;
}

.mgh-header__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--mgh-color-7, #f2f2f2);
  font-weight: 600;
  line-height: 1.2;
  padding: 0 0.3rem;
  font-size: 0.95rem;
}

.mgh-header__link.is-current,
.mgh-header__link[aria-current="page"] {
  font-weight: 600;
}

.mgh-header__link:hover {
  opacity: .80;
}

.mgh-header__link:active {
  opacity: .85;
}

.mgh-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.mgh-header__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--mgh-color-7, #f2f2f2);
}

.mgh-header__search {
    transition: transform 0.65s ease;
}

.mgh-header__search:hover {
  color: var(--mgh-color-7, #f2f2f2);
  transform: rotate(359deg);
}

.mgh-header__search:active {
  background: rgba(255,255,255,.12);
}

.mgh-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  background: var(--mgh-color-7);
  color: var(--mgh-color-3, #6f3b56);
  font-weight: 550;
  white-space: nowrap;
  font-size: 0.95rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease, color 0.65s ease;
}

.mgh-header__cta:hover {
  box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.15);
  color: var(--mgh-color-3, #6f3b56);
  transform: translateY(-0.1rem);
}

.mgh-header__cta:active {
  filter: brightness(.95);
}

.mgh-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--mgh-color-7, #f2f2f2);
  padding: 0;
  cursor: pointer;
}

.mgh-header__burger:hover {
  background: rgba(255,255,255,.08);
}

.mgh-header__burger:active {
  background: rgba(255,255,255,.12);
}

.mgh-header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
}

.mgh-header__drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 92vw);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 9999;
  pointer-events: none;
}

.mgh-header__drawer-panel {
  height: 100%;
  background: var(--mgh-color-3, #6f3b56);
  color: var(--mgh-color-7, #f2f2f2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

@supports (padding: max(0px)) {
  .mgh-header__drawer-panel {
    padding-bottom: max(16px, calc(16px + env(safe-area-inset-bottom)));
  }
}

.mgh-header__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mgh-header__drawer-title {
  font-weight: 700;
  color: var(--mgh-color-7, #f2f2f2);
}

.mgh-header__drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: var(--mgh-color-7, #f2f2f2);
  padding: 0;
  cursor: pointer;
}

.mgh-header__drawer-close:hover {
  background: rgba(255,255,255,.12);
}

.mgh-header__drawer-close:active {
  background: rgba(255,255,255,.16);
}

.mgh-header__drawer-nav {
  overflow: auto;
  flex: 1 1 auto;
}

.mgh-header__drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mgh-header__drawer-link {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--mgh-color-7, #f2f2f2);
  background: rgba(255,255,255,.06);
  font-weight: 600;
}

.mgh-header__drawer-link.is-current,
.mgh-header__drawer-link[aria-current="page"] {
  background: rgba(255,255,255,.12);
  font-weight: 800;
}

.mgh-header__drawer-link:hover {
  background: rgba(255,255,255,.10);
}

.mgh-header__drawer-link:active {
  background: rgba(255,255,255,.14);
}

.mgh-header__drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 14px;
  text-decoration: none;
  background: #ffffff;
  color: var(--mgh-color-3, #6f3b56);
  font-weight: 700;
  margin-bottom: 5rem;
}

.mgh-header-drawer-open {
  overflow: hidden;
}

.mgh-header-drawer-open .mgh-header__drawer {
  transform: translateX(0);
  pointer-events: auto;
}

.mgh-header__link:focus-visible,
.mgh-header__search:focus-visible,
.mgh-header__cta:focus-visible,
.mgh-header__burger:focus-visible,
.mgh-header__drawer-link:focus-visible,
.mgh-header__drawer-close:focus-visible,
.mgh-header__drawer-cta:focus-visible {
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 2px;
}

.mgh-header__menu-row,
.mgh-header__drawer-row{display: flex; align-items: flex-start; gap: 2px; margin-top: 0.21rem;}

.mgh-header__menu-item--has-children,
.mgh-header__drawer-item--has-children{position:relative}

.mgh-header__submenu-toggle,
.mgh-header__drawer-submenu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:transparent;
    color:#fff !important;
    padding:0;
    cursor:pointer;
    flex:0 0 auto
}

.mgh-header__submenu-toggle-icon{display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease}

.mgh-header__menu-item.is-open>.mgh-header__menu-row .mgh-header__submenu-toggle-icon,
.mgh-header__drawer-item.is-open>.mgh-header__drawer-row .mgh-header__submenu-toggle-icon{transform:rotate(180deg)}

.mgh-header__submenu{position:absolute;top:calc(100% + 10px);right:0;min-width:220px;list-style:none;margin:0;padding:10px;background:rgba(146,83,118,.96);border-radius:14px;display:grid;gap:6px;box-shadow:0 14px 32px rgba(0,0,0,.18);z-index:30}

.mgh-header__submenu[hidden],
.mgh-header__drawer-submenu[hidden]{display:none!important}

.mgh-header__submenu .mgh-header__menu-item{display:block;margin:0;padding:0}

.mgh-header__submenu .mgh-header__menu-row{display:flex;align-items:center;justify-content:space-between;gap:8px}

.mgh-header__submenu .mgh-header__link{display:block;width:100%;padding:10px 12px;border-radius:10px;font-size:.92rem;line-height:1.5;color:var(--mgh-color-7,#fcffff)}

.mgh-header__submenu .mgh-header__link:hover,
.mgh-header__submenu .mgh-header__link:active{background:rgba(255,255,255,.08);opacity:1}

.mgh-header__submenu .mgh-header__link::after{display:none!important}

.mgh-header__submenu .mgh-header__submenu{position:static;top:auto;right:auto;min-width:0;margin-top:6px;padding:8px;background:rgba(255,255,255,.06);box-shadow:none}

.mgh-header__drawer-row{display:flex;align-items:center;gap:8px}

.mgh-header__drawer-row .mgh-header__drawer-link{flex:1 1 auto}

.mgh-header__drawer-submenu{list-style:none;margin:8px 0 0;padding:0 12px 0 0;display:grid;gap:8px}

.mgh-header__drawer-submenu .mgh-header__drawer-link{padding:10px 12px;background:rgba(255,255,255,.05);font-weight:500}

.mgh-header__submenu-toggle:focus-visible,
.mgh-header__drawer-submenu-toggle:focus-visible{outline:2px solid rgba(255,255,255,.9);outline-offset:2px}

.mgh-header__menu-row{
    display:flex;
    align-items:center;
    gap:2px
}
.mgh-header__drawer-row{
    display:flex;
    align-items:center;
    gap:8px
}
.mgh-header__menu-item--has-children,
.mgh-header__drawer-item--has-children{
    position:relative
}
.mgh-header__submenu-toggle,
.mgh-header__drawer-submenu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:transparent;
    color:currentColor;
    padding:0;
    cursor:pointer;
    flex:0 0 auto
}
.mgh-header__submenu-toggle{
    width:20px;
    height:20px;
    position:relative;
    top:-2px;
    border-radius:0
}
.mgh-header__drawer-submenu-toggle{
    width:24px;
    height:24px;
    border-radius:0
}
.mgh-header__submenu-toggle:hover,
.mgh-header__submenu-toggle:active,
.mgh-header__drawer-submenu-toggle:hover,
.mgh-header__drawer-submenu-toggle:active{
    background:transparent!important
}
.mgh-header__submenu-toggle-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:transform .18s ease
}
.mgh-header__menu-item.is-open>.mgh-header__menu-row .mgh-header__submenu-toggle-icon,
.mgh-header__drawer-item.is-open>.mgh-header__drawer-row .mgh-header__submenu-toggle-icon{
    transform:rotate(180deg)
}
.mgh-header__submenu{
    position:absolute;
    top:calc(100% + 2px);
    right:0;
    min-width:220px;
    list-style:none;
    margin:0;
    padding:10px;
    background:rgb(120 63 94 / 96%);
    border-radius:14px;
    display:grid;
    gap:6px;
    box-shadow:0 14px 32px rgba(0,0,0,.18);
    z-index:30
}
.mgh-header__submenu[hidden],
.mgh-header__drawer-submenu[hidden]{
    display:none!important
}
.mgh-header__submenu .mgh-header__menu-item{
    display:block;
    margin:0;
    padding:0
}
.mgh-header__submenu .mgh-header__menu-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px
}
.mgh-header__submenu .mgh-header__link{
    display:block;
    width:100%;
    padding:10px 12px;
    border-radius:10px;
    font-size:.92rem;
    line-height:1.5;
    color:var(--mgh-color-7,#fcffff);
}
.mgh-header__submenu .mgh-header__link:hover,
.mgh-header__submenu .mgh-header__link:active{
    background:rgba(255,255,255,.08);
    opacity:1
}
.mgh-header__submenu .mgh-header__link::after{
    display:none!important
}
.mgh-header__submenu .mgh-header__submenu{
    position:static;
    top:auto;
    right:auto;
    min-width:0;
    margin-top:6px;
    padding:8px;
    background:rgba(255,255,255,.06);
    box-shadow:none
}
.mgh-header__drawer-row .mgh-header__drawer-link{
    flex:1 1 auto
}
.mgh-header__drawer-submenu{
    list-style:none;
    margin:8px 0 0;
    padding:0 12px 0 0;
    display:grid;
    gap:8px
}
.mgh-header__drawer-submenu .mgh-header__drawer-link{
    padding:10px 12px;
    background:rgba(255,255,255,.05);
    font-weight:500
}
.mgh-header__submenu-toggle:focus-visible,
.mgh-header__drawer-submenu-toggle:focus-visible{
    outline:2px solid rgba(255,255,255,.9);
    outline-offset:2px
}
ul.mgh-header__submenu a {
    padding-top: 0.4rem !important;
}

.mgh-header__drawer-search{flex:1 1 auto;min-width:0;position:relative;margin:0}
.mgh-header__drawer-search-input{width:100%;height:44px;box-sizing:border-box;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;padding:.65rem .9rem .65rem 3rem;outline:0}
.mgh-header__drawer-search-input::placeholder{color:rgba(255,255,255,.75)}
.mgh-header__drawer-search-input:focus{border-color:rgba(255,255,255,.38);box-shadow:0 0 0 3px rgba(255,255,255,.12)}
.mgh-header__drawer-search-submit{position:absolute;left:.55rem;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.mgh-header__drawer-search-submit:hover{background:rgba(255,255,255,.10)}
.mgh-header__drawer-search-submit:active{background:rgba(255,255,255,.16);transform:translateY(-50%) scale(.98)}
.mgh-header__drawer-search-submit:focus-visible{outline:2px solid rgba(255,255,255,.9);outline-offset:2px}
html[dir="rtl"] .mgh-header__drawer-search-input{padding:.65rem 3rem .65rem .9rem}
html[dir="rtl"] .mgh-header__drawer-search-submit{right:.55rem;left:auto}
.mgh-header__drawer-panel{
    min-height:100%;
    overflow:hidden
}

.mgh-header__drawer-nav{
    flex:1 1 auto;
    min-height:0;
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    scrollbar-width:none;
    -ms-overflow-style:none;
    touch-action:pan-y
}

.mgh-header__drawer-nav::-webkit-scrollbar{
    width:0;
    height:0;
    display:none
}

html.mgh-header-drawer-open,
body.mgh-header-drawer-open{
    overflow:hidden;
    overscroll-behavior:none
}

.mgh-header__drawer-search{
    flex:1 1 auto;
    min-width:0;
    position:relative;
    margin:0
}

.mgh-header__drawer-search-input{
    width:100%;
    height:44px;
    box-sizing:border-box;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.08);
    color:#fff;
    padding:.65rem .9rem .65rem 3rem;
    padding-inline:.9rem 3rem;
    text-align:start;
    outline:0
}

.mgh-header__drawer-search-submit{
    position:absolute;
    top:50%;
    left:auto;
    right:.55rem;
    inset-inline-start:auto;
    inset-inline-end:.55rem;
    transform:translateY(-50%);
    width:34px;
    height:34px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0
}

html[dir="rtl"] .mgh-header__drawer-search-submit{
    right:auto;
    left:.55rem;
    inset-inline-start:auto;
    inset-inline-end:.55rem
}

.mgh-header__drawer-row{
    position:relative;
    display:block;
    width:100%
}

.mgh-header__drawer-row .mgh-header__drawer-link{
    display:block;
    width:100%;
    padding:12px 12px 12px 3rem;
    padding-inline:12px 3rem;
    box-sizing:border-box
}

.mgh-header__drawer-submenu-toggle{
    position:absolute;
    top:50%;
    left:auto;
    right:.75rem;
    inset-inline-start:auto;
    inset-inline-end:.75rem;
    transform:translateY(-50%);
    width:24px;
    height:24px;
    border-radius:0;
    z-index:1
}

html[dir="rtl"] .mgh-header__drawer-submenu-toggle{
    right:auto;
    left:.75rem;
    inset-inline-start:auto;
    inset-inline-end:.75rem
}

.mgh-header__search-layer{
  position:fixed;
  inset:0;
  z-index:10001;
  display:grid;
  place-items:center;
  padding:24px;
}

.mgh-header__search-backdrop{
  position:absolute;
  inset:0;
  background:rgba(28,18,24,.34);
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}

.mgh-header__search-dialog{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:14px;
  width:min(92vw, 760px);
  padding:16px;
  border-radius:0.6rem !important;
  background:rgba(255,255,255,.88);
  box-shadow:0 20px 60px rgba(0,0,0,.16);
  -webkit-backdrop-filter:blur(24px);
  backdrop-filter:blur(24px);
}

.mgh-header__search-form{
  flex:1 1 auto;
  min-width:0;
  display:block;
}

.mgh-header__search-form-wrap{
    position: relative;
    display: block;
    width: 100%;
    padding: 0 !important;
    border: 1px solid rgba(111, 59, 86, .16);
    border-radius: 0.6rem !important;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

input#mgh-header-search-input {
    border-color: #ff000000 !important;
}

.mgh-header__search-form-wrap:hover{
  border-color:rgba(111,59,86,.26);
}

.mgh-header__search-form-wrap:focus-within{
  border-color:rgba(111,59,86,.4);
  box-shadow:0 0 0 4px rgba(111,59,86,.08), 0 10px 36px rgba(79,41,64,.08);
}

.mgh-header__search-input{
  display:block;
  width:100%;
  min-width:0;
  height:58px;
  border:0;
  outline:0;
  background:transparent;
  color:var(--mgh-color-4,#4f2940);
  font:inherit;
  font-size:1rem;
  padding-block:0;
  padding-inline:48px 56px;
}

input#mgh-header-search-input:not(:placeholder-shown){
  padding-right: 3.5rem !important;
}

.mgh-header__search-input::placeholder{
  color:rgba(79,41,64,.62);
}

.mgh-header__search-input:focus{
  outline:0;
}

.mgh-header__search-input::-webkit-search-cancel-button{
  -webkit-appearance:none;
  appearance:none;
  display:none;
}

.mgh-header__search-input::-ms-clear{
  display:none;
  width:0;
  height:0;
}

.mgh-header__search-clear,
.mgh-header__search-submit{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border:0;
  border-radius:0.6rem !important;;
  background:transparent;
  color:var(--mgh-color-4,#4f2940);
  cursor:pointer;
  transition:background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.mgh-header__search-clear{
  inset-inline-start:10px;
}

.mgh-header__search-submit{
  inset-inline-end:10px;
}

.mgh-header__search-clear:hover,
.mgh-header__search-submit:hover{
  background:rgba(111,59,86,.08);
  color:var(--mgh-color-3, #925376);
}

.mgh-header__search-clear:focus-visible,
.mgh-header__search-submit:focus-visible{
  outline:0;
  background:rgba(111,59,86,.1);
  box-shadow:0 0 0 3px rgba(111,59,86,.12);
}

.mgh-header__search-clear[hidden]{
  display:none;
}

.mgh-header__search-close{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border:0;
  border-radius:0.6rem !important;
  background:rgba(111,59,86,.08);
  color:var(--mgh-color-4,#4f2940);
  cursor:pointer;
  transition:background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.mgh-header__search-close:hover{
  background:rgba(111,59,86,.14);
}

.mgh-header__search-close:focus-visible{
  outline:0;
  box-shadow:0 0 0 3px rgba(111,59,86,.12);
}

button.mgh-header__search-close:hover {
    color: var(--mgh-color-3, #925376);
}

.mgh-header-search-open,
.mgh-header-search-open body{
  overflow:hidden;
}

.mgh-screen-reader-text{
  position:absolute !important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.mgh-header__search-layer[hidden]{
  display:none !important;
}

.mgh-header__search-form-wrap{
  padding:8px;
  border-radius:22px;
}

.mgh-header__search-input{
  height:50px;
  padding-block:0;
  padding-inline:60px 58px;
}

.mgh-header__search-clear,
.mgh-header__search-submit{
  width:44px;
  height:44px;
  border-radius:12px;
}

.mgh-header__search-submit-icon{
  display:block;
  width:24px;
  height:24px;
}

.mgh-header__search-clear svg{
  display:block;
  width:22px;
  height:22px;
}

.mgh-header__search-close{
  width:46px;
  height:46px;
  border-radius:14px;
}

@media (max-width: 860px){
  .mgh-header__search-form-wrap{
    padding:7px;
    border-radius:20px;
  }

  .mgh-header__search-input{
    height:48px;
    padding-inline:58px 56px;
  }

  .mgh-header__search-clear,
  .mgh-header__search-submit{
    width:42px;
    height:42px;
  }

  .mgh-header__search-submit-icon{
    width:22px;
    height:22px;
  }

  .mgh-header__search-clear svg{
    width:20px;
    height:20px;
  }
}

@media (max-width: 860px){
  .mgh-header__search-dialog{
    width:min(94vw, 640px);
    padding:14px;
    border-radius:24px;
  }

  .mgh-header__search-form-wrap{
    padding:8px;
    border-radius:20px;
  }

  .mgh-header__search-input{
    height:54px;
  }
}

@media (max-width: 640px){
  .mgh-header__search-layer{
    padding:16px;
  }

  .mgh-header__search-dialog{
    width:100%;
    gap:10px;
    padding:12px;
    border-radius:22px;
  }

  .mgh-header__search-input{
    height:52px;
  }

  .mgh-header__search-close{
    width:44px;
    height:44px;
    border-radius:14px;
  }
}

@media (max-width: 860px){
  .mgh-header__search-dialog{
    width:min(94vw, 640px);
    margin-top:10vh;
    padding:16px;
    border-radius:24px;
  }

  .mgh-header__search-form-wrap{
    padding:8px;
    border-radius:20px;
  }

  .mgh-header__search-input,
  .mgh-header__search-submit{
    height:54px;
  }
}

@media (max-width: 640px){
  .mgh-header__search-dialog{
    width:min(94vw, 520px);
    margin-top:8vh;
  }

  .mgh-header__search-form-wrap{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }

  .mgh-header__search-submit{
    width:100%;
    min-width:0;
  }
}

@media (max-width:860px){
    .mgh-header__submenu{
        display:none!important
    }
}

@media (max-width:860px){
  .mgh-header__submenu{display:none!important}
}

@media (min-width: 861px) {
  .mgh-header__nav .mgh-header__link {
    color: var(--mgh-color-7, #fcffff);
    font-weight: 400;
    position: relative;
    padding: 0 0.3rem calc(0.2rem + 6px);
  }

  .mgh-header__inner-item {
    padding: 0.6rem 2rem;
  }

  .mgh-header--scrolled .mgh-header__inner-item {
    border-radius: 0.4rem;
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.15);
  }


  .mgh-header__nav .mgh-header__link.is-current,
  .mgh-header__nav .mgh-header__link[aria-current="page"] {
    color: var(--mgh-color-7, #f2f2f2);
    font-weight: 600;
  }

  .mgh-header__nav .mgh-header__link.is-current::after,
  .mgh-header__nav .mgh-header__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 6px;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-size: 56px 6px;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2256%22%20height%3D%226%22%20viewBox%3D%220%200%2056%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M-3.43323e-05%202.88672L2.88672%205.77347L5.77347%202.88672L2.88672%20-3.26633e-05L-3.43323e-05%202.88672ZM55.8867%202.88672V2.38672L2.88672%202.38672V2.88672V3.38672L55.8867%203.38672V2.88672Z%22%20fill%3D%22%23CCCCCC%22%2F%3E%3C%2Fsvg%3E");
    pointer-events: none;
  }

  body.home .mgh-header__nav .mgh-header__link.is-current::after,
  body.home .mgh-header__nav .mgh-header__link[aria-current="page"]::after {
    display: none;
  }

  .mgh-header__content {
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding: 0.6rem 1rem;
  }

  .mgh-header--scrolled .mgh-header__content {
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border-radius: 0.38rem;
  }

  .mgh-header__bar {
    transform: translateY(0);
    transition: transform .18s ease;
  }

  .mgh-header--scrolled .mgh-header__bar {
    transform: translateY(1rem);
  }
}

@media (max-width: 860px) {
  .mgh-header__nav {
    display: none;
  }

  .mgh-header__cta {
    display: none;
  }

  .mgh-header__inner {
    justify-content: space-around;
    padding: 0.4rem 0.6rem;
    align-items: center;
  }

  .mgh-header__burger {
    order: 1;
    display: inline-flex;
  }

  .mgh-header__logo {
    order: 2;
   margin-right: 4rem;
  }

  .mgh-header__actions {
    order: 3;
    margin-right: auto;
    gap: 10px;
  }

  .mgh-header__search {
    order: 1;
  }

  .mgh-header__logo-img {
    height: 40px;
  }

  .mgh-header__bar,
  .mgh-header--scrolled .mgh-header__content {
    border-radius: 0;
  }

  .mgh-header--scrolled .mgh-header__bar {
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mgh-header__drawer {
    transition: none;
  }
}
