/**
 * Кнопки и контент лонгрида — те же стили, что на главной (.nero-ai-home).
 */

/* Single scroll: overflow-x:hidden on #primary forces overflow-y:auto (double scrollbar). */
html {
  overflow-x: clip;
}

body.nero-ai-landing-shell {
  overflow-x: clip;
  overflow-y: auto;
}

body.nero-ai-landing-shell #inner-wrap,
body.nero-ai-landing-shell #wrapper,
body.nero-ai-landing-shell .content-area,
body.nero-ai-landing-shell #primary.nero-ai-home-page,
body.nero-ai-landing-shell .site-main.nero-ai-home-page {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

.nero-ai-home-page .nero-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
  min-height: 48px;
}

.nero-ai-home-page .nero-ai-btn:hover,
.nero-ai-home-page .nero-ai-btn:focus-visible {
  transform: translateY(-2px);
}

.nero-ai-home-page .nero-ai-btn-primary,
.nero-ai-home-page .nero-ai-btn.nero-ai-btn-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
}

.nero-ai-home-page .nero-ai-btn-secondary,
.nero-ai-home-page .nero-ai-btn.nero-ai-btn-secondary {
  background: transparent;
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.14);
}

.nero-ai-home-page .nero-ai-btn-secondary:hover {
  border-color: rgba(59, 130, 246, 0.35);
}

/* Ст стыковка hero-обёртки с тёмным лонгридом */
.nero-ai-home-page > .nero-ai-home {
  margin: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nero-ai-home-page > .nero-ai-home .nero-ai-hero {
  padding-bottom: clamp(48px, 6vw, 72px);
}
