/* Shared Goofee HOME header, footer and mobile actions.
 * The deliberately strong :is() specificity replaces page-specific legacy
 * overrides without changing the content of individual pages.
 */

:is(html body, html body#top-1#top-1) .gh-site-header {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #e5edf1 !important;
  box-shadow: 0 6px 24px rgba(23, 76, 118, 0.055) !important;
  color: #333 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, sans-serif !important;
}

/* The top page applies its Mincho body font to every descendant. Lock shared
 * navigation controls to the same Gothic stack used on internal pages. */
:is(html body, html body#top-1#top-1#top-1#top-1) .gh-site-header :is(a, b, span, small, summary, button),
:is(html body, html body#top-1#top-1#top-1#top-1) .gh-site-footer :is(a, b, span, small, p, h2, strong, address, li, em),
:is(html body, html body#top-1#top-1#top-1#top-1) .gh-mobile-actions :is(a, b, span, small) {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, sans-serif !important;
}

:is(html body, html body#top-1#top-1#top-1#top-1) .gh-site-header .gh-site-brand strong {
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif !important;
  font-weight: 700 !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header__inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 92px !important;
  margin: 0 !important;
  padding: 0 64px !important;
  display: flex !important;
  align-items: center !important;
  gap: 25px !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  color: #174c76 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand img {
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand strong {
  display: block !important;
  color: #174c76 !important;
  font: 700 29px/1.03 Georgia, "Times New Roman", "Yu Mincho", serif !important;
  letter-spacing: 0.01em !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand small {
  display: block !important;
  margin-top: 6px !important;
  color: #61798c !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: 0.17em !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-nav {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 2px !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-nav a {
  position: relative !important;
  display: block !important;
  padding: 20px 13px !important;
  color: #204f70 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-nav a::after {
  content: "" !important;
  position: absolute !important;
  right: 13px !important;
  bottom: 12px !important;
  left: 13px !important;
  height: 3px !important;
  background: #ef7083 !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-nav a:not(:hover):not(.is-current)::after {
  transform: scaleX(0) !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-nav a:hover,
:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-nav a.is-current {
  color: #e96378 !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-cta {
  display: grid !important;
  place-items: center !important;
  min-width: 178px !important;
  min-height: 64px !important;
  padding: 9px 18px !important;
  border-radius: 10px !important;
  background: #ef7083 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(211, 77, 101, 0.2) !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-cta span {
  margin-bottom: 4px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
}

:is(html body, html body#top-1#top-1) .gh-site-header .gh-site-cta:hover {
  background: #dd6376 !important;
  transform: translateY(-2px) !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
  border-top: 0 !important;
  background: #fff !important;
  color: #183f5e !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, sans-serif !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer * {
  box-sizing: border-box !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero {
  padding: 0 !important;
  background: linear-gradient(118deg, #123d5c 0%, #174f75 67%, #1c638c 100%) !important;
  color: #fff !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero__inner {
  width: min(100%, 1400px) !important;
  max-width: 1400px !important;
  min-height: 338px !important;
  margin: 0 auto !important;
  padding: 60px 58px !important;
  display: grid !important;
  grid-template-columns: 1.3fr 0.74fr !important;
  gap: 76px !important;
  align-items: center !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-eyebrow {
  display: block !important;
  margin: 0 0 15px !important;
  color: #ff9cac !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.18em !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero h2,
:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero h2 em {
  margin: 0 !important;
  color: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, sans-serif !important;
  font-size: 38px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.03em !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero h2 em {
  color: #bdeafa !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-lead {
  display: block !important;
  max-width: 660px !important;
  margin: 19px 0 0 !important;
  color: #d8eaf2 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.9 !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-merits {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-merits li {
  padding: 7px 12px !important;
  border: 1px solid rgba(216, 239, 248, 0.35) !important;
  border-radius: 99px !important;
  background: transparent !important;
  color: #e8f8ff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-actions {
  width: auto !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-phone {
  min-height: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 23px 25px !important;
  display: block !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-phone span,
:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-phone small {
  display: block !important;
  color: #d7edf6 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: normal !important;
  letter-spacing: 0.04em !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-phone strong {
  display: block !important;
  margin: 8px 0 5px !important;
  color: #fff !important;
  font-size: 30px !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  white-space: normal !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-appointment {
  min-height: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 19px 24px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  border-radius: 12px !important;
  background: #f17186 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: normal !important;
  text-align: left !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(4, 34, 54, 0.15) !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__main {
  width: min(100%, 1400px) !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 58px !important;
  display: grid !important;
  grid-template-columns: 1.18fr 0.82fr 0.82fr !important;
  gap: 70px !important;
  align-items: start !important;
  background: transparent !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand {
  grid-column: auto !important;
  grid-row: auto !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand .gh-site-brand {
  gap: 13px !important;
  flex-wrap: nowrap !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand .gh-site-brand img {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
}

:is(html body, html body#top-1#top-1#top-1#top-1) .gh-site-footer .gh-site-footer__brand .gh-site-brand strong {
  color: #174c76 !important;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand > p {
  display: block !important;
  margin: 21px 0 0 !important;
  color: #476c82 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.9 !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__links,
:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access {
  grid-column: auto !important;
  grid-row: auto !important;
  min-width: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
  gap: 3px !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__links > p,
:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access > p {
  display: block !important;
  margin: 4px 0 15px !important;
  color: #e4677b !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.18em !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access > strong {
  display: block !important;
  color: #183f5e !important;
  font-size: 17px !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__links > a {
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 9px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 0 !important;
  border-bottom: 1px solid #e6eef2 !important;
  color: #244f70 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: normal !important;
  text-decoration: none !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__links a b,
:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access a b {
  color: #ef7083 !important;
  font-size: 16px !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access address {
  margin: 9px 0 !important;
  color: #496c80 !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
  overflow-wrap: normal !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access > a {
  min-height: 0 !important;
  margin-top: 6px !important;
  display: inline !important;
  color: #1d668e !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: normal !important;
  text-decoration: none !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__bottom {
  width: 100% !important;
  max-width: none !important;
  min-height: 70px !important;
  margin: 0 !important;
  padding: 0 max(44px, calc((100vw - 1284px) / 2)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  background: #102f47 !important;
  color: #d9e8f0 !important;
  text-align: left !important;
}

:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__bottom p,
:is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__bottom small {
  display: block !important;
  margin: 0 !important;
  color: #d9e8f0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: normal !important;
  letter-spacing: 0.04em !important;
}

#vk-mobile-nav-menu-btn,
#vk-mobile-nav {
  display: none !important;
}

@media (max-width: 1280px) {
  :is(html body, html body#top-1#top-1) .gh-site-header__inner {
    padding-right: 30px !important;
    padding-left: 30px !important;
    gap: 15px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand img {
    width: 49px !important;
    height: 49px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand strong {
    font-size: 26px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-nav a {
    padding: 18px 9px !important;
    font-size: 13px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-cta {
    min-width: 150px !important;
    min-height: 58px !important;
    font-size: 14px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero__inner,
  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__main {
    padding-right: 38px !important;
    padding-left: 38px !important;
  }
}

@media (max-width: 1050px) {
  :is(html body, html body#top-1#top-1) .gh-site-header__inner {
    min-height: 82px !important;
    padding: 0 22px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-nav,
  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-cta {
    display: none !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-mobile-nav {
    display: block !important;
    margin-left: auto !important;
    position: relative !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__main {
    grid-template-columns: 1fr 1fr !important;
    gap: 38px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767px) {
  html body {
    padding-bottom: 92px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions {
    position: fixed !important;
    z-index: 99999 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom)) !important;
    background: rgba(27, 65, 91, 0.62) !important;
    box-shadow: 0 -6px 20px rgba(19, 58, 84, 0.16) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__item {
    min-width: 0 !important;
    min-height: 68px !important;
    padding: 6px 2px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    border: 1px solid #d9e5eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #1f5478 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(22, 66, 94, 0.08) !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 27px !important;
    color: #20517a !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 27px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__icon::before {
    content: "" !important;
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__icon--phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320517a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__icon--contact::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320517a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__icon--visit::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320517a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18M8 15h2M14 15h2M8 18h2'/%3E%3C/svg%3E") !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__icon--line {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 25px !important;
    border-radius: 50% !important;
    background: #20517a !important;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: 8px !important;
    letter-spacing: 0 !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__icon--line::before {
    content: none !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__item > span:last-child {
    color: #1f5478 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
  }
}

@media (max-width: 620px) {
  :is(html body, html body#top-1#top-1) .gh-site-header__inner {
    min-height: 72px !important;
    padding: 0 16px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand {
    gap: 8px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand img {
    width: 38px !important;
    height: 38px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand strong {
    font-size: 20px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-header .gh-site-brand small {
    margin-top: 3px !important;
    font-size: 6px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero__inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 44px 22px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-eyebrow {
    font-size: 9px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero h2,
  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-hero h2 em {
    font-size: 27px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-lead {
    font-size: 13px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-merits {
    display: flex !important;
    gap: 6px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-merits li {
    padding: 6px 8px !important;
    font-size: 9px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-actions {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-phone {
    min-height: 0 !important;
    padding: 20px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-phone strong {
    font-size: 27px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-footer-appointment {
    min-height: 0 !important;
    padding: 17px 19px !important;
    font-size: 13px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__main {
    width: 100% !important;
    max-width: none !important;
    padding: 42px 22px !important;
    grid-template-columns: 1fr !important;
    gap: 33px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand {
    grid-column: auto !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand .gh-site-brand img {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand .gh-site-brand strong {
    font-size: 23px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__brand > p {
    display: block !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__links,
  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access {
    grid-column: auto !important;
    grid-row: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__links > p,
  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access > p,
  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access > strong {
    display: block !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__links > a {
    width: auto !important;
    min-height: 0 !important;
    padding: 9px 0 !important;
    border-bottom: 1px solid #e6eef2 !important;
    font-size: 14px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access address {
    margin: 9px 0 !important;
    font-size: 13px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__access > a {
    display: inline !important;
    margin-top: 6px !important;
    font-size: 13px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__bottom {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px 22px !important;
    display: block !important;
    background: #102f47 !important;
    text-align: left !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__bottom p {
    display: block !important;
  }

  :is(html body, html body#top-1#top-1) .gh-site-footer .gh-site-footer__bottom small {
    display: block !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 360px) {
  :is(html body, html body#top-1#top-1) .gh-mobile-actions__item {
    padding-right: 2px !important;
    padding-left: 2px !important;
  }

  :is(html body, html body#top-1#top-1) .gh-mobile-actions__item > span:last-child {
    font-size: 10px !important;
    letter-spacing: -0.04em !important;
    white-space: nowrap !important;
  }
}
