.list h2 {
  margin-bottom: 20px;
}

.deputy {
  --content-spacing: 10px;
}

.deputy__people {
  --image-offset: 10px;
  padding: var(--content-spacing) 0;
  display: grid;
  gap: 10px 20px;
  grid-template-columns: max-content 1fr;
  grid-template-rows: max-content 1fr;
  flex-wrap: nowrap;
}

.deputy__people-photo {
  margin-top: calc(0px - var(--image-offset));
  width: 91px;
  grid-row: 1 / -1;
  display: block;
}

.deputy__people-photo-image {
  width: 100%;
  border-radius: 4px;
}

.deputy__people-name {
  font-weight: normal;
  grid-column: -2;
}

.deputy__people-post {
  color: var(--text-color-light-gray);
  grid-column: -2;
}

.deputy .admin-area {
  margin-top: var(--content-spacing);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
}

.deputy .admin-area__badges {
  margin-left: 10px;
}

.deputy .admin-area__buttons {
  margin-left: 0;
}

.deputy__contacts {
  line-height: 1.7;
}

.list {
  overflow-x: auto;
  overflow-y: visible;
}

.meta.deputy__meta {
  display: grid;
  gap: 5px;
}

:root.root--special .deputy__people-post {
  color: var(--special-text-color);
}

@media (hover: hover) {
  .deputy__people-name a:hover {
    text-decoration: underline;
    text-decoration-color: var(--primary-color-25);
  }

  :root.root--special .deputy__people:hover .deputy__people-name {
    color: var(--special-text-color);
  }
}

.body.iframe #panel,
.body.iframe .top-panel,
.body.iframe .js-special-panel,
.body.iframe .js-digital-gov-warning,
.body.iframe .js-top-warning,
.body.iframe .main-header,
.body.iframe .top-menu,
.body.iframe .section-menu-wrapper,
.body.iframe .breadcrumb,
.body.iframe .main-footer,
.body.iframe .js-cookie-warning,
.body.iframe .js-yandex-metric-warning
{
  display: none !important;
}

.body.iframe .title-wrapper {
  padding-top: 30px;
}
