@media (max-width: 1024px) {
  header .hdr-wrp { gap: 12px; }
  header .hdr-col1 { min-width: 0; flex: 0 1 200px; }
  header .hdr-col2 { flex: 0 0 auto; margin-left: auto; }
  header .site_logo { display: block; max-width: 100%; }
  header .site_logo img { display: block; width: 100%; height: auto; }
  header .hamb-bars > summary {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 100px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #292930;
    border-radius: 6px;
    color: #292930;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
  }
  header .hamb-bars > summary::after {
    color: #292930;
    font-size: 25px;
    line-height: 1;
  }
  header .hamb-bars > summary:hover,
  header .hamb-bars[open] > summary { background: #ffdc60; }
  header .hamb-bars > summary:active { transform: translateY(1px); }
  header .hamb-bars > summary:focus-visible,
  header .hamb-menu a:focus-visible { outline: 3px solid #1259aa; outline-offset: 3px; }
  header .hamb-menu {
    box-sizing: border-box;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px max(5%, 18px) 22px;
    background: #fff;
    box-shadow: 0 12px 20px rgba(41, 41, 48, .18);
  }
  header .hamb-menu .menu { display: flex; gap: 0; margin: 0; padding: 0; }
  header .hamb-menu .menu > li {
    width: 100%;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #d5d5d8;
    border-radius: 0;
    text-align: left;
  }
  header .hamb-menu .menu > li > a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 12px 4px;
    color: #292930;
    font-size: 18px;
    line-height: 1.3;
  }
  header .hamb-menu .menu > li:not(.tp-btn-yellow-semilar) > a:hover,
  header .hamb-menu .menu > li:not(.tp-btn-yellow-semilar) > a[aria-current="page"] { text-decoration: underline; text-decoration-color: #168394; text-decoration-thickness: 3px; text-underline-offset: 5px; }
  header .hamb-menu .menu > li.tp-btn-yellow-semilar {
    margin-top: 16px;
    overflow: visible;
    background: #ffdc60;
    border: 0;
    border-radius: 6px;
  }
  header .hamb-menu .menu > li.tp-btn-yellow-semilar > a { justify-content: center; padding: 14px; color: #161616; text-align: center; }
  header .hamb-menu .menu > li.tp-btn-yellow-semilar:hover { background: #57c9da; }
  header .hamb-menu .menu > li.tp-btn-yellow-semilar::before,
  header .hamb-menu .menu > li.tp-btn-yellow-semilar::after { display: none; }
  header .hamb-menu .fd-language {
    justify-content: flex-start;
    gap: 18px;
    margin-top: 12px;
    padding: 0 4px;
  }
  header .hamb-menu .fd-language a,
  header .hamb-menu .fd-language a:visited {
    min-height: 44px;
    color: #292930;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  header .hamb-menu .fd-language a[aria-current] { text-decoration-thickness: 3px; }
}

@media (min-width: 1025px) {
  header .hamb-menu .fd-language {
    position: static;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid #fff;
    border-radius: 9px;
    background: #292930;
  }
  header .hamb-menu .fd-language a,
  header .hamb-menu .fd-language a:visited {
    display: inline-flex;
    justify-content: center;
    min-width: 34px;
    min-height: 44px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
  }
  header .hamb-menu .fd-language a[aria-current="page"],
  header .hamb-menu .fd-language a[aria-current="page"]:visited {
    background: #ffdc60;
    color: #292930;
  }
  header .hamb-menu .fd-language a:hover { text-decoration: underline; }
  header .hamb-menu .fd-language a:focus-visible { outline: 3px solid #ffdc60; outline-offset: 3px; }
}
