@import "tailwindcss";

:root {
  --site-max-width: 1400px;
  --color-light: #ffffff;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--color-white); /* Цвет фона страницы */
}

/* 2. Исправленный контейнер */
.site-container {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .site-container {
    padding: 0 2rem;
  }
}

/* НУМЕРАЦИЯ ЗАГОЛОВКОВ */
.post-content { counter-reset: post-h2; }
.post-content h2 { counter-reset: post-h3; }
.post-content h2::before { counter-increment: post-h2; content: counter(post-h2) "."; margin-right: 0.5rem; color: #1e3050; font-weight: 700; }
.post-content h3::before { counter-increment: post-h3; content: counter(post-h2) "." counter(post-h3) "."; margin-right: 0.4rem; color: #1e3050; font-weight: 600; font-size: 0.9em; }