@media (max-width: 1260px) {
  #jwHeader .jw-header__inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: calc(100% - 32px) !important;
  }
  #jwHeader #jwMenuBtn {
    grid-column: -2 / -1;
    justify-self: end !important;
    position: relative;
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    place-items: center;
    border-radius: 12px !important;
    font-size: 0 !important;
  }
  #jwMenuBtn::before, #jwMenuBtn::after {
    content: "";
    position: absolute;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  #jwMenuBtn::before { transform: translateY(-6px); box-shadow: 0 6px currentColor; }
  #jwMenuBtn::after { transform: translateY(6px); }
  #jwMenuBtn[aria-expanded="true"]::before { transform: rotate(45deg); box-shadow: none; }
  #jwMenuBtn[aria-expanded="true"]::after { transform: rotate(-45deg); }
  #jwDrawerBackdrop:not([hidden]) {
    position: fixed; inset: var(--jw-header-h,78px) 0 0; z-index: 9997;
    background: rgba(3, 9, 16, .43); touch-action: none;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] {
    --drawer-pad: clamp(16px, 4vw, 24px);
    top: var(--jw-header-h,78px) !important;
    left: auto !important;
    right: 16px !important;
    width: min(420px, calc(100% - 32px)) !important;
    max-height: calc(100dvh - var(--jw-header-h,78px) - 8px) !important;
    padding: 7px var(--drawer-pad) max(12px, env(safe-area-inset-bottom)) !important;
    background: #0e1a29 !important;
    border: 1px solid rgba(206,222,241,.17) !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 16px 42px rgba(0,0,0,.34) !important;
    transform: translateX(18px) !important;
    overflow: auto !important;
    scrollbar-width: thin;
    overscroll-behavior: contain;
  }
  #jwDrawer.open[data-jw-drawer-layout="rows"] { transform: translateX(0) !important; }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__grid {
    gap: 0 !important; text-align: end;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__grid > .jw-drawer__link,
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__group {
    min-width: 0;
    margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-bottom: 1px solid rgba(191,209,231,.13) !important;
    background: none !important;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__grid > .jw-drawer__link,
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__group .jw-drawer__title {
    box-sizing: border-box; display: flex !important;
    align-items: center !important; justify-content: flex-end !important;
    min-height: 48px !important; width: auto !important; margin: 0;
    color: #f2f5f8 !important; font-size: 16px !important;
    line-height: 1.4 !important; font-weight: 680 !important;
    letter-spacing: -.015em !important; text-align: end !important;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__grid > .jw-drawer__link { gap: 22px !important; padding-inline-end: 16px !important; }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__grid > .jw-drawer__link::after {
    content: ""; width: 6px; height: 6px; flex: none;
    border: solid #9babbd; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__group[data-jw-drawer-group] {
    display: grid !important; grid-template-columns: minmax(0,1fr) 44px !important; gap: 0 !important; align-items: center;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__group .jw-drawer__title {
    grid-column: 1; justify-self: stretch; padding: 0 !important;
    background: transparent !important; border: 0 !important; border-radius: 0 !important; text-transform: none !important;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__title::after { content: none !important; }
  #jwDrawer .jw-drawer__toggle {
    display: grid; place-items: center; min-height: 48px; width: 44px;
    border: 0; border-radius: 8px; background: transparent; color: #b9c8d7; cursor: pointer;
  }
  #jwDrawer .jw-drawer__toggle::after {
    content: ""; display: block; width: 7px; height: 7px;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .16s;
  }
  #jwDrawer .jw-drawer__toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
  #jwDrawer .jw-drawer__choices {
    grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr);
    min-width: 0; margin: 0 0 8px; padding: 3px; gap: 2px; border-radius: 10px; background: #172738;
  }
  #jwDrawer .jw-drawer__choices[hidden] { display: none !important; }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__choices .jw-drawer__link {
    display: grid !important; place-items: center; min-height: 44px !important;
    margin: 0 !important; padding: 3px 2px !important; border: 0 !important;
    border-radius: 8px !important; background: transparent !important;
    color: #e1eaf3 !important; font-size: 14px !important; font-weight: 600 !important;
    line-height: 1.35 !important; white-space: normal !important; text-align: center;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__grid a[aria-current="page"] { color: #ff94a0 !important; }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__choices a[aria-current="page"] { background: #342836 !important; }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__utility {
    display: block; margin: 12px 0 0; text-align: end;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__utility-label { display: block; margin-bottom: 3px; color: #acbdcc; font-size: 11px; }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__languages {
    display: flex !important; justify-content: flex-end; flex-wrap: wrap; gap: 2px !important; margin: 0 !important;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__languages a {
    display: inline-grid !important; place-items: center; padding: 0 6px !important;
    min-height: 38px !important; font-size: 12px !important; border: 0 !important; border-radius: 6px !important;
    background: transparent !important; color: #c9d4df !important;
  }
  #jwDrawer[data-jw-drawer-layout="rows"] .jw-drawer__languages a[aria-current="page"] { background: #283849 !important; color: #fff !important; }
  #jwDrawer[data-jw-drawer-layout="rows"] :is(a,button):focus-visible, #jwHeader #jwMenuBtn:focus-visible {
    outline: 2px solid #ff94a0 !important; outline-offset: -2px !important;
  }
}
@media (max-width:640px) {
  #jwHeader .jw-header__inner { width: calc(100% - 24px) !important; }
  #jwDrawer[data-jw-drawer-layout="rows"] { right: 0 !important; width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  #jwDrawer[data-jw-drawer-layout="rows"], #jwMenuBtn::before, #jwMenuBtn::after, #jwDrawer .jw-drawer__toggle::after { transition: none !important; }
}
