/* Страница «Кейсы» (memo-hub) */

.design-root--memo-hub .page-main--memo-hub {
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
  padding: 32px 20px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

/* ---------- Hero (как на press) ---------- */
.memo-hub-hero {
  width: 100%;
}

.memo-hub-hero__surface {
  position: relative;
  width: 100%;
  height: 356px;
  min-height: 356px;
  border-radius: 12px;
  background: linear-gradient(102.67deg, #22344d 0.17%, #294366 97.72%);
  overflow: hidden;
  box-sizing: border-box;
}

.memo-hub-hero__top-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  background-color: transparent;
  background-image: url("assets/press-hero-top-bar.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  pointer-events: none;
}

.memo-hub-hero__top-bar-img {
  display: none;
}

.memo-hub-hero__breadcrumbs {
  position: absolute;
  z-index: 2;
  left: 60px;
  top: 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.memo-hub-hero__crumb {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #fff;
  text-decoration: none;
}

.memo-hub-hero__crumb--muted {
  opacity: 0.4;
}


.memo-hub-hero__crumb--current {
  opacity: 1;
}

.memo-hub-hero__crumb-sep {
  pointer-events: none;
}

.memo-hub-hero__icon {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 54px;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.memo-hub-hero__icon-img {
  display: block;
  width: 32px;
  height: 32px;
}

.memo-hub-hero__title-row {
  position: absolute;
  z-index: 2;
  left: 81px;
  right: 81px;
  top: 142px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  box-sizing: border-box;
  min-height: 80px;
}

.memo-hub-hero__title-line {
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
  margin-top: 0;
}

.memo-hub-hero__title-line--left {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.memo-hub-hero__title-line--right {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
}

#design-root .memo-hub-hero__title {
  flex: none;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 80px;
  font-weight: 480;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
  color: #fff;
  font-variation-settings: "slnt" 0;
}

#design-root.design-root--memo-hub .memo-hub-hero__lead {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(142px + 80px * 0.9 + 32px);
  transform: translateX(-50%);
  max-width: 624px;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
  color: #fff;
}

.memo-hub-filters {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.memo-hub-filters__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 16px 12px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.memo-hub-filters__btn {
  box-sizing: border-box;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  background: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #44474f;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  z-index: 0;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-color 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-radius 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    background 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    color 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.memo-hub-filters__btn:hover:not(.memo-hub-filters__btn--active),
.memo-hub-filters__btn:focus-visible:not(.memo-hub-filters__btn--active) {
  z-index: 1;
  transform: scale(1.05);
  border-color: #7c9abf;
  border-radius: 10px;
  background: #fff;
  color: #44474f;
  box-shadow: 0 4px 14px rgba(55, 81, 114, 0.12);
}

.memo-hub-filters__btn--active,
.memo-hub-filters__btn[aria-selected="true"] {
  border-color: #7c9abf;
  background: #7c9abf;
  color: #fff;
}


/* ---------- Сетка памяток: те же карточки, что memos-section (.memo-card / page.css) ---------- */
.memo-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  align-items: stretch;
}

.memo-hub-grid .memo-card {
  text-decoration: none;
  color: inherit;
}

.memo-hub-grid .memo-card[hidden] {
  display: none;
}

.memo-hub-card__visual-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
}

.memo-hub-card__title-link {
  color: inherit;
  text-decoration: none;
}

.memo-hub-card__preview {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  width: 100%;
  height: 210px;
  padding: 6px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  flex: none;
  overflow: hidden;
}

.memo-hub-card__preview-bg {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 24px;
  width: 100%;
  height: 186px;
  border-radius: 6px;
  background: linear-gradient(90deg, #dadee6 0%, #e1e3eb 100%);
  pointer-events: none;
}

.memo-hub-card__visual {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 210px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.memo-hub-card__tags {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  align-self: stretch;
  gap: 4px;
  pointer-events: none;
}

.memo-hub-card__tag {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(47, 50, 59, 0.55);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.memo-hub-card__tag-icon {
  flex: none;
  display: block;
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
}

.memo-hub-card__tag-type-label,
.memo-hub-card__tag-hash,
.memo-hub-card__tag-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 16px;
  color: #fff;
}

.memo-hub-card__tag-type-label,
.memo-hub-card__tag-label {
  font-weight: 400;
}

.memo-hub-card__tag-hash {
  font-weight: 600;
}

.memo-hub-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  flex: 1 1 auto;
  gap: 32px;
  min-height: 0;
}

.memo-hub-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 16px;
  flex: 0 0 auto;
}

#design-root .memo-hub-card__title {
  margin: 0;
  align-self: stretch;
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.04em;
  color: #2f323b;
}

.memo-hub-card__excerpt {
  margin: 0;
  align-self: stretch;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #44474f;
}

.memo-hub-card__cta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  flex: 0 0 auto;
  gap: 6px;
  width: 100%;
  min-height: 64px;
  margin-top: auto;
  padding: 22px 26px;
  box-sizing: border-box;
  border-radius: 8px;
  background: linear-gradient(180deg, #4a658a 0%, #375172 100%);
}

.memo-hub-card__cta-label {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.memo-hub-card__cta-orb {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 5px;
  box-sizing: border-box;
  background: #e1871f;
  border-radius: 83.33px;
}

.memo-hub-card__cta-orb img {
  display: block;
  width: 5px;
  height: 8px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 1200px) {
  .memo-hub-hero__title-row {
    left: 40px;
    right: 40px;
  }

  .memo-hub-hero__breadcrumbs {
    left: 40px;
  }

  #design-root .memo-hub-hero__title {
    font-size: clamp(40px, 8vw, 80px);
  }
}
@media (max-width: 900px) {
  .design-root--memo-hub .page-main--memo-hub {
    width: 100%;
    max-width: 100%;
    padding: 20px 0 60px;
    gap: 0;
    align-items: stretch;
    box-sizing: border-box;
  }

  .design-root--memo-hub .page-main--memo-hub > .memo-hub-filters,
  .design-root--memo-hub .page-main--memo-hub > .memo-hub-grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .memo-hub-hero {
    width: calc(100vw - 10px);
    max-width: none;
    margin-left: calc(5px + 50% - 50vw);
    margin-right: 0;
    box-sizing: border-box;
  }

  /* Hero: min 212px, снизу всегда 20px после текста lead */
  .memo-hub-hero__surface {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 212px;
    max-height: none;
    padding: 0 0 20px;
    border-radius: 10px;
    background: linear-gradient(102.67deg, #22344d 0.17%, #294366 97.72%);
    -webkit-backdrop-filter: blur(85px);
    backdrop-filter: blur(85px);
    overflow: hidden;
    box-sizing: border-box;
  }

  /* Union — top: 0, 76px */
  .memo-hub-hero__top-bar {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 76px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: none;
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .memo-hub-hero__top-bar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  /* Breadcrumbs — top: 88px → 14px, left: 25px */
  .memo-hub-hero__breadcrumbs {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 25px;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 12px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .memo-hub-hero__crumb {
    font-size: 10px;
    line-height: 12px;
  }

  /* Icon — top: 112px → 38px, center (left 148px @ 310) */
  .memo-hub-hero__icon {
    position: absolute;
    z-index: 2;
    top: 38px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: 0;
    transform: translateX(-50%);
  }

  .memo-hub-hero__icon-img {
    width: 24px;
    height: 24px;
  }

  /* Title — top: 170px → 96px, 270px centered */
  .memo-hub-hero__title-row {
    position: absolute;
    z-index: 2;
    top: 96px;
    left: 50%;
    right: auto;
    width: min(270px, calc(100% - 40px));
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    gap: 12px;
    box-sizing: border-box;
    min-height: 0;
  }

  .memo-hub-hero__title-line {
    flex: 1 1 0;
    min-width: 0;
    height: 1px;
    max-height: 1px;
    margin-top: 6px;
    padding: 0;
    align-self: center;
    box-sizing: content-box;
    background-clip: content-box;
  }

  #design-root .memo-hub-hero__title {
    font-size: 30px;
    line-height: 105%;
    letter-spacing: -0.03em;
    font-variation-settings: "slnt" 0, "wght" 480;
  }

  .memo-hub-hero--has-lead .memo-hub-hero__surface {
    min-height: 257px;
  }

  /* Lead — в потоке: перебиваем desktop position:absolute (выше специфичность) */
  #design-root.design-root--memo-hub .memo-hub-hero__lead,
  #design-root .memo-hub-hero__lead {
    position: relative;
    z-index: 2;
    top: auto;
    left: auto;
    width: min(270px, calc(100% - 40px));
    max-width: none;
    height: auto;
    margin: calc(96px + 30px * 1.05 + 32px) auto 0;
    padding: 0;
    transform: none;
    font-size: 12px !important;
    line-height: 15px !important;
    text-align: center;
    box-sizing: border-box;
  }

  #design-root.design-root--memo-hub .memo-hub-hero__lead p,
  #design-root.design-root--memo-hub .memo-hub-hero__lead span,
  #design-root.design-root--memo-hub .memo-hub-hero__lead [style*="font-size"],
  #design-root .memo-hub-hero__lead p,
  #design-root .memo-hub-hero__lead span,
  #design-root .memo-hub-hero__lead [style*="font-size"] {
    font-size: 12px !important;
    line-height: 15px !important;
  }

  /* Фильтры — Frame 177626: wrap, center, gap 12px 8px */
  .memo-hub-filters {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: center;
    padding: 0 25px;
    overflow: visible;
    box-sizing: border-box;
  }

  .memo-hub-filters__list {
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
    gap: 12px 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .memo-hub-filters__btn {
    min-height: 28px;
    height: 28px;
    padding: 8px 12px;
    font-size: 10px;
    line-height: 12px;
    border-radius: 6px;
  }

  /* Сетка — одна колонка */
  .memo-hub-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 24px;
    padding: 0 25px;
    box-sizing: border-box;
  }

  .memo-hub-card {
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 8px 24px 24px;
    gap: 24px;
    border-radius: 6px;
  }

  .memo-hub-card__preview {
    height: 160px;
    padding: 6px;
  }

  .memo-hub-card__preview-bg {
    top: 18px;
    height: 142px;
  }

  .memo-hub-card__visual {
    width: 100%;
    height: 160px;
    top: 0;
    left: 0;
    transform: none;
  }

  .memo-hub-card__tag {
    padding: 6px 10px;
  }

  .memo-hub-card__tag-icon {
    width: 10px;
    height: 10px;
  }

  .memo-hub-card__tag-type-label,
  .memo-hub-card__tag-hash,
  .memo-hub-card__tag-label {
    font-size: 10px;
    line-height: 12px;
  }

  .memo-hub-card__body {
    gap: 24px;
  }

  .memo-hub-card__copy {
    gap: 12px;
  }

  #design-root .memo-hub-card__title {
    max-width: none;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.02em;
  }

  .memo-hub-card__excerpt {
    font-size: 12px;
    line-height: 15px;
  }

  .memo-hub-card__cta {
    min-height: 52px;
    padding: 18px 20px;
  }

  .memo-hub-card__cta-label {
    font-size: 13px;
    line-height: 18px;
  }

  .memo-hub-card__cta-orb {
    width: 16px;
    height: 16px;
    padding: 4px;
  }

  .memo-hub-card__cta-orb img {
    width: 4.4px;
    height: 5.72px;
  }
}

@media (min-width: 901px) {
  .memo-hub-filters {
    margin-top: 80px;
  }

  .memo-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 80px;
  }
}

/* ---------- «Давайте разберём вашу ситуацию…» ---------- */
@media (min-width: 901px) {
  .design-root--memo-hub .page-main--memo-hub > .memo-hub-grid + .memo-hub-invite {
    margin-top: 100px;
  }
}

.memo-hub-invite {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.memo-hub-invite__surface {
  position: relative;
  width: 100%;
  min-height: 282px;
  border-radius: 12px;
  background: var(--grad-invite-surface);
  overflow: hidden;
}

.memo-hub-invite__deco {
  position: absolute;
  width: 488px;
  height: 316px;
  right: 99px;
  bottom: 0;
  display: block;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.memo-hub-invite__content {
  position: relative;
  z-index: 1;
  width: 1160px;
  max-width: calc(100% - 120px);
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  box-sizing: border-box;
}

.memo-hub-invite__title {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: Inter, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 480;
  line-height: 108%;
  letter-spacing: -0.02em;
  color: #2f323b;
  font-variation-settings: "slnt" 0;
}

.memo-hub-invite__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.memo-hub-invite__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.memo-hub-invite__fields {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.memo-hub-invite__field {
  flex: 1 1 0;
  min-width: 0;
}

.memo-hub-invite__field input {
  width: 100%;
  height: 64px;
  padding: 22px;
  border: 1px solid #96adcb;
  border-radius: 8px;
  background: #839fc2;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #fff;
}

.memo-hub-invite__field input::placeholder {
  color: #fff;
  opacity: 1;
}

.memo-hub-invite__field input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 0;
}

.memo-hub-invite__submit {
  flex: none;
  width: 260px;
  height: 64px;
  margin: 0;
  padding: 22px 26px;
  border: 0;
  border-radius: 8px;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: linear-gradient(90deg, #e6e9ed 0%, #edeef2 100%);
}

.memo-hub-invite__submit-label {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: #2f323b;
}

.memo-hub-invite__submit-orb {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 5px;
  box-sizing: border-box;
  background: #e1871f;
  border-radius: 83.33px;
}

.memo-hub-invite__submit-orb img {
  display: block;
  width: 5px;
  height: 8px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.memo-hub-invite__consent {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.memo-hub-invite__consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.memo-hub-invite__consent input:checked {
  border-color: #fff;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.2L4.4 8.6L11 1.9' stroke='%237C9ABF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 10px;
}

.memo-hub-invite__consent input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.memo-hub-invite__consent span {
  flex: none;
  display: inline;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: #fff;
}

.memo-hub-invite__consent span a {
  margin-left: 0.25em;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.memo-hub-invite__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Вводный текст ---------- */
/* SEO-отступы: page.css */

.memo-hub-intro {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#design-root .memo-hub-intro__text {
  margin: 80px auto 0;
  max-width: 1062px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  color: #44474f;
}

#design-root .memo-hub-intro__text p {
  margin: 0 0 12px;
}

#design-root .memo-hub-intro__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .design-root--memo-hub .page-main--memo-hub {
    padding: 20px 0 0;
    gap: 0;
  }

  .memo-hub-filters {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 25px;
  }

  .design-root--memo-hub .memo-hub-grid {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 25px;
  }

  .design-root--memo-hub .page-main--memo-hub > .memo-hub-grid + .memo-hub-invite {
    margin-top: 0;
  }

  .memo-hub-intro {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 25px;
    box-sizing: border-box;
  }

  .design-root--memo-hub .page-main--memo-hub > .memo-hub-invite + .expert-hub-intro,
  #design-root.design-root--memo-hub .page-main--memo-hub > .expert-hub-intro {
    margin-top: 0;
    margin-bottom: 60px;
  }

  #design-root.design-root--memo-hub .expert-hub-intro__text,
  #design-root .memo-hub-intro__text {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    text-align: center;
    color: #44474f;
  }

  .memo-hub-invite {
    width: calc(100vw - 10px);
    max-width: none;
    margin-left: calc(5px + 50% - 50vw);
    margin-right: 0;
  }

  .memo-hub-invite__surface {
    min-height: 0;
    padding: 20px;
  }

  .memo-hub-invite__deco {
    display: none;
  }

  .memo-hub-invite__content {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 16px;
    align-items: stretch;
  }

  .memo-hub-invite__title {
    max-width: none;
    white-space: normal;
    font-size: 18px;
    text-align: center;
  }

  .memo-hub-invite__row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .memo-hub-invite__fields {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .memo-hub-invite__field {
    flex: none;
    width: 100%;
  }

  .memo-hub-invite__field input,
  .memo-hub-invite__submit {
    width: 100%;
    height: 52px;
  }

  .memo-hub-invite__field input {
    padding: 22px 20px;
    font-size: 12px;
    line-height: 15px;
  }

  .memo-hub-invite__submit {
    padding: 14px 20px;
  }

  .memo-hub-invite__submit-label {
    font-size: 13px;
    line-height: 18px;
    color: #4a5b73;
  }

  .memo-hub-invite__consent span {
    font-size: 10px;
    line-height: 12px;
  }
}

/* Табы-фильтры: padding на мобилке (отступы — gap у main) */
@media (max-width: 900px) {
  .memo-hub-filters {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 25px;
  }

  .memo-hub-grid {
    padding: 0 25px;
  }

  .memo-hub-intro {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 25px;
  }

  #design-root .memo-hub-intro__text {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}
