.andcode-office__layout {
  display: flex;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  /*padding: 0 24px 48px;*/
}

.andcode-page-sidebar-left .gdx-section .andcode-office__layout,
.andcode-page-sidebar-left .andcode-office__layout,
.andcode-office__layout--sidebar-left {
  margin-left: 0;
  margin-right: auto;
}

.andcode-page-sidebar-right .gdx-section .andcode-office__layout,
.andcode-page-sidebar-right .andcode-office__layout,
.andcode-office__layout--sidebar-right {
  margin-left: auto;
  margin-right: 0;
}

.gdx-page.office .wp-block-group.gdx-section {
  padding-left: 0;
  padding-right: 0;
}

.andcode-office__sidebar {
  flex: 0 0 260px;
}

.andcode-office__content {
  flex: 1 1 auto;
  min-width: 0;
}

.andcode-office__menu {
  /*border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;*/
  /*background: #fffdfb;*/

}

.andcode-office__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.andcode-office__menu-list a {
  text-decoration: none;
  color: #39393f;
  font-weight: 500;
  font-weight: 500;
  font-size: 18px;
  line-height: 160%;
}

.andcode-office__menu-list a:hover,
.andcode-office__menu-list a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .andcode-office__layout {
    flex-direction: column;
  }

  .andcode-office__content {
    order: 1;
  }

  .andcode-office__sidebar {
    flex: none;
    order: 2;
  }
}

.andcode-office__layout--sidebar-right .andcode-office__sidebar {
  order: 2;
}

.andcode-office__layout--sidebar-right .andcode-office__content {
  order: 1;
}

.andcode-office__layout--sidebar-right {
  justify-content: space-between;
}

.andcode-office__layout--sidebar-hidden .andcode-office__sidebar {
  display: none;
}
