:root {
  --markpost-ink: #08164f;
  --markpost-blue: #005df3;
  --markpost-white: #ffffff;
  --markpost-footer: #111111;
  --markpost-muted: #a9afbd;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

#nav702709207,
#nav720599554 {
  z-index: 50;
}

.t228__maincontainer {
  display: grid !important;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.t228__padding40px {
  display: none !important;
}

.t228__leftside,
.t228__centerside,
.t228__rightside {
  display: flex !important;
  align-items: center;
  float: none !important;
  width: auto !important;
  min-width: 0;
}

.t228__centerside {
  justify-content: flex-end;
}

.markpost-brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--markpost-white) !important;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.markpost-brand:focus-visible,
.markpost-nav a:focus-visible,
.t228__right_buttons_but .t-btn:focus-visible,
.t981 a:focus-visible {
  outline: 3px solid #ffd54a;
  outline-offset: 4px;
}

.markpost-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.markpost-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--markpost-white) !important;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.markpost-nav a:hover {
  opacity: 0.78;
}

.t228__rightcontainer,
.t228__right_buttons,
.t228__right_buttons_wrap {
  margin: 0 !important;
  padding: 0 !important;
}

.t228__right_buttons_but .t-btn {
  display: inline-flex;
  min-width: 112px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}

.t228__right_buttons_but .t-btn:hover {
  background: var(--markpost-white) !important;
  color: var(--markpost-blue) !important;
}

.t981 {
  background: var(--markpost-footer);
}

.t981__wrapper {
  display: grid !important;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.8fr);
  gap: 56px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 52px 40px !important;
  box-sizing: border-box;
}

.t981__col,
.t981__col_left,
.t981__col_right {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.t981__col_left {
  grid-column: 1;
  grid-row: 1;
}

.t981__col_right {
  grid-column: 2;
  grid-row: 1;
}

.t981__logo {
  color: var(--markpost-white) !important;
  font-family: Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.55;
}

.t981__main-menu {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 !important;
}

.t981__menu-item {
  margin: 0 !important;
}

.t981__menu-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--markpost-white) !important;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.t981__menu-link:hover,
.t981__secondary-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.t981__secondary-menu {
  margin-top: 12px;
  color: var(--markpost-muted) !important;
}

.t981__secondary-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.t981__secondary-menu li {
  margin: 0;
}

.t981__secondary-menu a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--markpost-muted) !important;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

@media (max-width: 980px) {
  .tmenu-mobile {
    display: none !important;
  }

  .t228,
  .t228.t228__positionabsolute {
    display: block !important;
    position: absolute !important;
  }

  .t228__maincontainer {
    grid-template-columns: 1fr auto;
    min-height: 76px;
    gap: 16px;
    padding: 0 20px;
  }

  .t228__centerside {
    display: none !important;
  }

  .markpost-brand {
    font-size: 21px;
  }

  .t228__right_buttons_but .t-btn {
    min-width: 96px;
    min-height: 44px;
    padding: 0 18px !important;
  }

  .t981__wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 24px !important;
  }

  .t981__col_left {
    grid-column: 1;
    grid-row: 1;
  }

  .t981__col_right {
    grid-column: 1;
    grid-row: 2;
  }

  .t981__main-menu,
  .t981__secondary-menu ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
  }
}

@media (max-width: 560px) {
  .t981__main-menu,
  .t981__secondary-menu ul {
    grid-template-columns: 1fr;
  }

  .t981__menu-link,
  .t981__secondary-menu a {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .markpost-nav a,
  .t228__right_buttons_but .t-btn {
    transition: none;
  }
}
