/* /compare hub (#21377) — кремовые vs-плитки, Customer.io 10-м слотом */
.mg-cmp-hub-native-wrap .mg2-hero::after { display: none; }

.mgcmp-hub__tiles {
  background: #fff;
}

.mg-page-compare-hub .mgcmp-hub__tiles .mg2-section-head {
  max-width: none;
  margin-bottom: 28px;
}

.mg-page-compare-hub .mgcmp-hub__tiles .mg2-section-head h2 {
  font-size: clamp(28px, 4.2vw, 48px);
}

.mgcmp-hub__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mgcmp-hub__grid li {
  margin: 0;
}

.mgcmp-hub__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 88px;
  padding: 18px 20px;
  background: var(--mg-cream, #f5f1e8);
  border-radius: 8px;
  text-decoration: none;
}

body.mg-site--v2b.mg-page-compare-hub a.mgcmp-hub__card {
  color: inherit;
  text-decoration: none;
}

body.mg-site--v2b.mg-page-compare-hub a.mgcmp-hub__card:hover {
  filter: brightness(0.98);
}

.mgcmp-hub__logo {
  display: block;
  width: auto;
  max-width: 42%;
  height: 28px;
  object-fit: contain;
  object-position: left center;
}

.mgcmp-hub__logo--mg {
  height: 22px;
  max-width: 38%;
  object-position: center;
}

.mgcmp-hub__logo--cio {
  height: 36px;
  max-width: 48%;
  border-radius: 4px;
}

.mgcmp-hub__vs {
  flex: 0 0 auto;
  font-family: "Dewi", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #b3b3b3;
}

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

.mgcmp-hub__migrate {
  margin: 28px 0 0;
  font-family: "Dewi", Arial, sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}

body.mg-site--v2b.mg-page-compare-hub .mgcmp-hub__migrate a.mg2-textlink::after {
  content: " ›";
}

body.mg-site--v2b.mg-page-compare-hub a.mgig-btn--primary,
body.mg-site--v2b.mg-page-compare-hub button.mgig-btn--primary { color: #fff; }

@media (max-width: 820px) {
  .mgcmp-hub__grid {
    grid-template-columns: 1fr;
  }

  .mgcmp-hub__card {
    min-height: 72px;
  }
}
