.boglobe-site-header,
.boglobe-site-footer {
  box-sizing: border-box;
}

.boglobe-site-header *,
.boglobe-site-footer * {
  box-sizing: border-box;
}

.boglobe-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.06);
}

.boglobe-site-header__inner {
  width: min(1200px, calc(100vw - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.boglobe-site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
}

.boglobe-site-header__nav a {
  color: #333333;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.boglobe-site-header__nav a.is-active,
.boglobe-site-header__nav a:hover {
  color: #0057ff;
  border-bottom-color: #0057ff;
}

.boglobe-site-header__member {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.boglobe-site-header__member-menu {
  position: relative;
}

.boglobe-site-header__member-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.boglobe-site-header__member-link:hover {
  border-color: #0057ff;
  color: #0057ff;
}

.boglobe-site-header__member-link.is-primary {
  border-color: #0057ff;
  background: #0057ff;
  color: #ffffff;
}

.boglobe-site-header__member-link.is-primary:hover {
  background: #0047cf;
  color: #ffffff;
}

.boglobe-site-header__member-link.is-user {
  position: relative;
  max-width: 190px;
  padding-right: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boglobe-site-header__member-link.is-user:after {
  content: "";
  position: absolute;
  right: 14px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.boglobe-site-header__member-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 156px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.boglobe-site-header__member-dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.boglobe-site-header__member-dropdown a:hover {
  background: #f8fafc;
  color: #0057ff;
}

.boglobe-site-header__member-menu:hover .boglobe-site-header__member-dropdown,
.boglobe-site-header__member-menu:focus-within .boglobe-site-header__member-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.boglobe-site-header__lang {
  flex: none;
}

.boglobe-site-header__nav + .boglobe-site-header__lang {
  margin-left: auto;
}

.boglobe-site-header__lang .dt-i18n-switcher {
  position: relative;
  display: inline-block;
  line-height: 1.6;
}

.boglobe-site-header__lang .dt-i18n-switcher-toggle {
  display: inline-block;
  padding: 0;
  color: #333333;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.boglobe-site-header__lang .dt-i18n-switcher-menu {
  right: 0;
  top: calc(100% + 10px);
  min-width: 160px;
  padding: 8px 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.boglobe-site-header__lang .dt-i18n-switcher-menu a,
.boglobe-site-header__lang .dt-i18n-switcher-menu span {
  padding: 8px 14px;
  font-size: 13px;
  color: #334155;
}

.boglobe-site-header__lang .dt-i18n-switcher-menu a:hover {
  background: #f8fafc;
  color: #0057ff;
}

.boglobe-site-header__lang .dt-i18n-switcher-menu .is-active {
  color: #0057ff;
  font-weight: 700;
}

.boglobe-site-header__toggle,
.boglobe-site-header__overlay,
.boglobe-site-header__drawer {
  display: none;
}

.boglobe-site-header__toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  background: #ffffff;
  color: #181818;
  flex: none;
  cursor: pointer;
}

.boglobe-site-header__toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.2s ease, top 0.24s ease;
}

.boglobe-site-header__toggle span:nth-child(1) {
  top: 15px;
}

.boglobe-site-header__toggle span:nth-child(2) {
  top: 21px;
}

.boglobe-site-header__toggle span:nth-child(3) {
  top: 27px;
}

.boglobe-site-header.is-mobile-open .boglobe-site-header__toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.boglobe-site-header.is-mobile-open .boglobe-site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.boglobe-site-header.is-mobile-open .boglobe-site-header__toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.boglobe-site-header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 1000;
}

.boglobe-site-header__drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  padding: 18px 16px calc(140px + env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  box-shadow: 18px 0 40px rgba(15, 23, 42, 0.14);
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  z-index: 1001;
  overflow: auto;
}

.boglobe-site-header.is-mobile-open .boglobe-site-header__overlay {
  opacity: 1;
  visibility: visible;
}

.boglobe-site-header.is-mobile-open .boglobe-site-header__drawer {
  transform: translateX(0);
}

.boglobe-site-header__mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f7;
}

.boglobe-site-header__mobile-head strong {
  font-size: 16px;
  color: #0f172a;
}

.boglobe-site-header__mobile-close {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f8fafc;
  cursor: pointer;
  flex: none;
}

.boglobe-site-header__mobile-close:before,
.boglobe-site-header__mobile-close:after {
  content: "";
  position: absolute;
  left: 10px;
  top: 17px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.boglobe-site-header__mobile-close:before {
  transform: rotate(45deg);
}

.boglobe-site-header__mobile-close:after {
  transform: rotate(-45deg);
}

.boglobe-site-header__mobile-nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.boglobe-site-header__mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  font-size: 15px;
  line-height: 1.5;
  color: #111827;
  text-decoration: none;
}

.boglobe-site-header__mobile-nav a.is-active {
  background: #eef4ff;
  color: #0057ff;
  font-weight: 700;
}

.boglobe-site-header__mobile-member {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef2f7;
}

.boglobe-site-header__mobile-member-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.boglobe-site-header__mobile-member-link.is-primary {
  border-color: #0057ff;
  background: #0057ff;
  color: #ffffff;
}

.boglobe-site-header__mobile-member-link.is-user {
  justify-content: flex-start;
  background: #f8fafc;
}

.boglobe-site-header__mobile-lang {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef2f7;
}

.boglobe-site-header__mobile-lang .dt-i18n-switcher {
  display: block;
}

.boglobe-site-header__mobile-lang .dt-i18n-switcher-toggle {
  display: block;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: default;
}

.boglobe-site-header__mobile-lang .dt-i18n-switcher-menu {
  display: grid !important;
  position: static;
  min-width: 0;
  margin-top: 12px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  gap: 8px;
}

.boglobe-site-header__mobile-lang .dt-i18n-switcher-menu a,
.boglobe-site-header__mobile-lang .dt-i18n-switcher-menu span {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
}

.boglobe-site-header__mobile-lang .dt-i18n-switcher-menu .is-active {
  background: #eef4ff;
  color: #0057ff;
  font-weight: 700;
}

.boglobe-site-footer {
  clear: both;
  margin-top: 40px;
  background: #1c1609;
  color: #f7f0df;
  font-size: 16px;
  line-height: 1.7;
}

.boglobe-site-footer__inner {
  width: min(1400px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 0.9fr;
  gap: 52px;
  padding: 78px 0 66px;
}

.boglobe-site-footer__brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90px;
}

.boglobe-site-footer__brand p {
  margin: 18px 0 0;
  color: rgba(247, 240, 223, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.boglobe-site-footer__nav-title,
.boglobe-site-footer__social-title {
  display: block;
  max-width: 100%;
  margin: 0 0 26px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.boglobe-site-footer__social {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.boglobe-site-footer__nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 40px;
}

.boglobe-site-footer__nav-grid a {
  color: rgba(247, 240, 223, 0.72);
  font-size: 16px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.boglobe-site-footer__nav-grid a:hover {
  color: #ffffff;
}

.boglobe-site-footer__social-list {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.boglobe-site-footer__social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.boglobe-site-footer__social-list a:hover {
  opacity: 0.82;
}

.boglobe-site-footer__social-list img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.boglobe-site-footer__copyright {
  padding: 22px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 240, 223, 0.62);
  font-size: 14px;
  text-align: center;
}

.boglobe-site-footer__copyright a {
  color: inherit;
  text-decoration: none;
}

body.has-site-drawer {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .boglobe-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 52px 0 40px;
  }
}

@media (max-width: 991px) {
  .boglobe-site-header__inner {
    width: auto;
    min-height: 64px;
    padding: 0 16px 0 12px;
    gap: 10px;
    justify-content: space-between;
  }

  .boglobe-site-header__nav,
  .boglobe-site-header__member,
  .boglobe-site-header__lang {
    display: none !important;
  }

  .boglobe-site-header__toggle,
  .boglobe-site-header__overlay,
  .boglobe-site-header__drawer {
    display: block;
  }

  .boglobe-site-header__toggle {
    margin-left: auto;
    margin-right: 4px;
  }

  .top_v16,
  .menu_v16,
  .head_s {
    display: none;
  }
}

@media (max-width: 760px) {
  .boglobe-site-footer__inner {
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
  }
}
