* {
  box-sizing: border-box;
}

/* Явный сброс — гарантирует Inter вне зависимости от WordPress-нормализации */
html, body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-gradient {
  background: linear-gradient(135deg, #120730 0%, #281e46 100%);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.info-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.step-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100%;
  height: 1px;
  background: #cac4cf;
  z-index: -1;
}

.reveal {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) !important;
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-fade {
  transform: none;
}

/* Keep fixed nav visible for logged-in admins. */
.admin-bar nav.fixed {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar nav.fixed {
    top: 46px;
  }
}

/* Типография контента статей */
.prose-custom {
  color: #1b1b1b;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 72ch;
}
.prose-custom h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #120730;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.prose-custom h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #120730;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-custom p {
  margin-bottom: 1.25rem;
  color: #48454e;
}
.prose-custom strong {
  font-weight: 700;
  color: #120730;
}
.prose-custom a {
  color: #655495;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-custom a:hover {
  color: #120730;
}
.prose-custom ul, .prose-custom ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.prose-custom ul { list-style: disc; }
.prose-custom ol { list-style: decimal; }
.prose-custom li {
  margin-bottom: 0.4rem;
  color: #48454e;
}
.prose-custom blockquote {
  border-left: 4px solid #655495;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #f6f3f2;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #48454e;
}
.prose-custom img {
  width: 100%;
  border-radius: 1rem;
  margin: 2rem 0;
}
.prose-custom hr {
  border: none;
  border-top: 1px solid #eae7e7;
  margin: 2.5rem 0;
}

