/* Full-width tablet layout for the Russian site's legacy product pages. */
html.ru-tablet-layout,
html.ru-tablet-layout body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

html.ru-tablet-layout.ru-tablet-products body .page {
  display: block !important;
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin: 16px !important;
}

html.ru-tablet-layout.ru-tablet-products body .left,
html.ru-tablet-layout.ru-tablet-products body .center,
html.ru-tablet-layout.ru-tablet-products body .right,
html.ru-tablet-layout.ru-tablet-products body .hero,
html.ru-tablet-layout.ru-tablet-products body .workspace,
html.ru-tablet-layout.ru-tablet-products body .visual-board,
html.ru-tablet-layout.ru-tablet-products body .response-panel,
html.ru-tablet-layout.ru-tablet-products body .support-panel {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html.ru-tablet-layout.ru-tablet-products body .left,
html.ru-tablet-layout.ru-tablet-products body .center {
  margin-bottom: 18px !important;
}

html.ru-tablet-layout.ru-tablet-products body .hero,
html.ru-tablet-layout.ru-tablet-child body .hero,
html.ru-tablet-layout.ru-tablet-numerology body .hero-banner {
  width: calc(100% + 32px) !important;
  max-width: none !important;
  margin-left: -16px !important;
  margin-right: -16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.ru-tablet-layout.ru-tablet-products body.route-prashna .hero,
html.ru-tablet-layout.ru-tablet-interaction body .hero,
html.ru-tablet-layout.ru-tablet-products body.route-compatibility .hero,
html.ru-tablet-layout.ru-tablet-numerology body .hero-banner {
  aspect-ratio: auto !important;
  min-height: clamp(520px, 72vw, 640px) !important;
}

html.ru-tablet-layout.ru-tablet-products body.route-prashna .hero,
html.ru-tablet-layout.ru-tablet-interaction body .hero {
  background-size: auto, auto, cover !important;
  background-position: right bottom, right bottom, center center !important;
}

html.ru-tablet-layout.ru-tablet-products body.route-prashna .hero {
  background-position: right bottom, right bottom, right center !important;
}

html.ru-tablet-layout.ru-tablet-interaction body .hero {
  background-position: right bottom, right bottom, right center !important;
}

html.ru-tablet-layout.ru-tablet-products body.route-prashna .hero > h1,
html.ru-tablet-layout.ru-tablet-products body.route-prashna .hero > .lead {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}

html.ru-tablet-layout.ru-tablet-products body.route-prashna .hero > .lead {
  max-width: 76ch !important;
}

html.ru-tablet-layout.ru-tablet-products body.route-compatibility .hero {
  background-size: cover !important;
  background-position: center center !important;
}

html.ru-tablet-layout.ru-tablet-numerology body .hero-banner {
  background-size: auto, cover, auto !important;
  background-position: center, center center, center !important;
}

html.ru-tablet-layout.ru-tablet-products body.route-prashna .hero,
html.ru-tablet-layout.ru-tablet-products body.route-compatibility .hero {
  grid-template-columns: minmax(0, 1fr) !important;
}

html.ru-tablet-layout.ru-tablet-products body .workspace,
html.ru-tablet-layout.ru-tablet-child body .content-grid,
html.ru-tablet-layout.ru-tablet-numerology body .info-grid {
  position: relative !important;
  z-index: 3 !important;
  margin-top: -22px !important;
  border-top-color: rgba(255, 255, 255, 0.34) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.82) 82px, rgba(255, 255, 255, 0.92)) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

html.ru-tablet-layout.ru-tablet-products .hero-quick-nav,
html.ru-tablet-layout.ru-tablet-child .quick-nav {
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 11px !important;
  width: 100% !important;
}

html.ru-tablet-layout.ru-tablet-products .hero-quick-link,
html.ru-tablet-layout.ru-tablet-child .quick-link {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding-left: 9px !important;
  padding-right: 9px !important;
  font-size: 11px !important;
}

html.ru-tablet-layout.ru-tablet-products .hero-quick-nav > .hero-quick-link[href="/child-astrology"],
html.ru-tablet-layout.ru-tablet-child .quick-nav > .quick-link[href="/child-astrology"] {
  flex-grow: 1.48 !important;
}

html.ru-tablet-layout.ru-tablet-products .hero-topbar-actions {
  position: relative !important;
  grid-template-columns: minmax(0, 1fr) minmax(138px, 0.2fr) !important;
  gap: 14px !important;
  padding-top: 27px !important;
}

html.ru-tablet-layout.ru-tablet-products .hero-topbar-actions > .hero-meta {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 2 !important;
}

html.ru-tablet-layout.ru-tablet-products .hero-topbar-actions > .hero-quick-nav {
  grid-column: 1 !important;
  justify-self: stretch !important;
}

html.ru-tablet-layout.ru-tablet-products .hero-topbar-actions > .hero-profile-group {
  grid-column: 2 !important;
  justify-self: stretch !important;
}

html.ru-tablet-layout.ru-tablet-ask .app-shell {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

html.ru-tablet-layout.ru-tablet-ask .sidebar,
html.ru-tablet-layout.ru-tablet-ask .history {
  display: none !important;
}

html.ru-tablet-layout.ru-tablet-ask .main-area {
  order: 1;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 100svh;
  padding: 22px 24px 20px;
}

html.ru-tablet-layout.ru-tablet-ask .mobile-brand,
html.ru-tablet-layout.ru-tablet-ask .mobile-menu-wrap {
  display: block !important;
}

html.ru-tablet-layout.ru-tablet-ask .top-greeting {
  display: none !important;
}

html.ru-tablet-layout.ru-tablet-child .page {
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin: 16px !important;
  padding: 20px 24px 44px !important;
}

html.ru-tablet-layout.ru-tablet-child .hero,
html.ru-tablet-layout.ru-tablet-child .content-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

html.ru-tablet-layout.ru-tablet-child .content-grid {
  grid-template-areas: "data" "chart" "answer" "followup" "support" !important;
  width: calc(100% + 32px) !important;
  max-width: none !important;
  margin-left: -16px !important;
  margin-right: -16px !important;
}

html.ru-tablet-layout.ru-tablet-child .hero {
  min-height: clamp(430px, 52vw, 570px) !important;
  padding: 34px 30px 42px !important;
}

html.ru-tablet-layout.ru-tablet-child .topbar {
  position: relative !important;
  grid-template-columns: minmax(0, 1fr) 170px !important;
  gap: 14px !important;
  padding-top: 27px !important;
}

html.ru-tablet-layout.ru-tablet-child .topbar > .meta {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

html.ru-tablet-layout.ru-tablet-child .topbar > .quick-nav {
  grid-column: 1 !important;
  justify-self: stretch !important;
}

html.ru-tablet-layout.ru-tablet-child .topbar > .actions {
  grid-column: 2 !important;
  justify-self: stretch !important;
}

html.ru-tablet-layout.ru-tablet-numerology .shell {
  position: relative !important;
  width: calc(100% - 32px) !important;
  max-width: none !important;
  padding-top: 0 !important;
}

html.ru-tablet-layout.ru-tablet-numerology .topbar {
  position: absolute !important;
  top: 18px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 8 !important;
  margin: 0 !important;
}

html.ru-tablet-layout.ru-tablet-numerology .quick-nav {
  flex: 1 1 auto !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 11px !important;
  min-width: 0 !important;
  margin-left: 14px !important;
}

html.ru-tablet-layout.ru-tablet-numerology .quick-link {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

html.ru-tablet-layout.ru-tablet-rectification .page {
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin: 16px !important;
}

html.ru-tablet-layout.ru-tablet-rectification .workspace,
html.ru-tablet-layout.ru-tablet-rectification .content-grid,
html.ru-tablet-layout.ru-tablet-rectification .main-grid,
html.ru-tablet-layout.ru-tablet-rectification .layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

html.ru-tablet-layout.ru-tablet-interaction body .product-nav {
  position: absolute !important;
  top: 70px !important;
  left: 24px !important;
  right: 24px !important;
  z-index: 29 !important;
  gap: 11px !important;
  margin: 0 !important;
  overflow: visible !important;
}

html.ru-tablet-layout.ru-tablet-interaction body .product-link {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 9px 7px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

html.ru-tablet-layout.ru-tablet-interaction body .page {
  position: relative !important;
  padding-top: 0 !important;
}

html.ru-tablet-layout.ru-tablet-interaction body .topbar {
  position: absolute !important;
  top: 18px !important;
  left: 28px !important;
  right: 28px !important;
  z-index: 30 !important;
  margin: 0 !important;
}

html.ru-tablet-layout.ru-tablet-interaction body .hero {
  width: calc(100% + 56px) !important;
  max-width: none !important;
  margin-left: -28px !important;
  margin-right: -28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.ru-tablet-layout.ru-tablet-interaction body .toplinks #balance {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 116px !important;
  min-height: 38px !important;
  padding: 8px 12px !important;
  white-space: nowrap !important;
}

.atlas-field {
  position: relative !important;
}

.atlas-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  gap: 3px;
  max-height: 260px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(125, 99, 216, 0.22);
  border-radius: 15px;
  background: rgba(255, 253, 255, 0.98);
  box-shadow: 0 18px 38px rgba(66, 44, 116, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.atlas-suggestions.hidden {
  display: none !important;
}

.atlas-suggestion {
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  color: #2a2640;
  background: transparent;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.atlas-suggestion:hover,
.atlas-suggestion:focus-visible {
  outline: none;
  background: linear-gradient(135deg, rgba(238, 229, 255, 0.96), rgba(251, 239, 245, 0.94));
}
