/* ===== MAIN.CSS – единый файл стилей для BBB2 Hub ===== */

/* ----- СБРОС И БАЗА ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter Tight', sans-serif;
  background-color: #efeae2;
  color: #2e2925;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* ----- ОБЩИЙ КОНТЕЙНЕР ПРИЛОЖЕНИЯ ----- */
.app,
.post-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background-color: #efeae2;
}

/* ----- HEADER (переиспользуемый) ----- */
.header {
  width: 100%;
  background-color: #ffffff;
  border-radius: 0 0 16px 16px;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-weight: 700;
  font-size: 22px;
  color: #1e1b18;
}

/* Логотип SVG */
.logo-svg { display: inline-block; }

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-link:hover .logo-icon {
  opacity: 0.8;
}

.logo-link:hover .logo-svg {
  opacity: 0.8;
}

/* Иконки для навигации через CSS */
.nav-item[href="/"] .icon-em,
.nav-item[href="/index.php"] .icon-em {
  background-image: url('/assets/icons/lamp-on.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-indent: -9999px; /* Скрываем текстовую иконку */
}

.nav-item[href="/premium.php"] .icon-em {
  background-image: url('/assets/icons/flash.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-indent: -9999px;
}

.nav-item[href="/vat.php"] .icon-em {
  background-image: url('/assets/icons/info-circle.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-indent: -9999px;
}

.nav-item[href="/about.php"] .icon-em {
  background-image: url('/assets/icons/mouse-circle.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-indent: -9999px;
}

/* Иконки для статистики */
.stat-icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}











/* Иконки для карточек */
.card-icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}

.card-icon-premium {
  background-image: url('/assets/icons/coin-9.svg');
}

.card-icon-popular {
  background-image: url('/assets/icons/chart-up.svg');
}

.card-icon-new {
  background-image: url('/assets/icons/lamp-on.svg');
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  flex: 2 1 auto;
  justify-content: center;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #2e2925;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 40px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-item:hover {
  background: #f5f1eb;
}

.nav-item-active {
  background: #ffd900;
  color: #000;
  font-weight: 600;
}

.nav-item-active:hover {
  background: #e6c400;
}

.icon-em {
  display: inline-block;
  width: 1.2em;
  text-align: center;
}

.search-wrapper {
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 400px;
}

.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e4daca;
  border-radius: 40px;
  padding: 4px 4px 4px 16px;
  transition: border 0.2s;
}
.search-form:focus-within {
  border-color: #b9a690;
}

.search-form .placeholder {
  flex: 1;
  color: #969696;
  font-size: 0.95rem;
}

.search-btn {
  background: #efeae2;
  border: none;
  border-radius: 40px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #282828;
  font-size: 18px;
}

.btn-secondary {
  background-color: #efeae2;
  border-radius: 40px;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #282828;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background-color: #e0d6c8;
}

/* адаптив header */
@media (max-width: 780px) {
  .header {
    border-radius: 0;
    padding: 12px 16px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 12px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .search-wrapper {
    order: 2;
    flex: 2 1 180px;
  }
  .btn-secondary {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .logo-icon {
    font-size: 18px;
  }
  .nav-item {
    font-size: 0.85rem;
  }
  .search-form .placeholder {
    font-size: 0.85rem;
  }
}

/* ----- FOOTER ----- */
.footer {
  width: 100%;
  background: #282828;
  padding: 20px 24px 24px;
  color: #b7b7b7;
  border-radius: 24px 24px 0 0;
  margin-top: 16px;
}

.footer-line {
  height: 1px;
  background: #444;
  margin-bottom: 20px;
  width: 100%;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.copyright {
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.social-icon {
  font-size: 32px;
  opacity: 0.8;
}

/* ===== СТИЛИ ГЛАВНОЙ СТРАНИЦЫ (index) ===== */
.content-index {
  width: 100%;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Hero-блок */
.hero-card {
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

.hero-text {
  flex: 2;
  padding: 32px 28px;
}

.hero-text h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #1e1b18;
}

.hero-description {
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: #3e3a36;
  margin-bottom: 24px;
  max-width: 600px;
}

.btn-outline {
  background: #efeae2;
  border-radius: 40px;
  padding: 12px 24px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.btn-outline:hover {
  background: #e2d8cc;
}
.arrow {
  margin-left: 6px;
}

.hero-image {
    flex: 2 360px;
    min-height: 320px;
    background-image: url(/assets/images/img01.png);
}
.demo-img {
  background: #c7b9a8;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* Заголовки секций */
.section-title {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1e1b18;
  margin-bottom: 8px;
}

/* Сетка карточек */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.post-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  height: 100%;
}
.post-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.card-media {
  position: relative;
  height: 180px;
  background-color: #cbc1b4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.growth-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  backdrop-filter: blur(4px);
  background: rgba(40, 40, 40, 0.7);
  border-radius: 40px;
  padding: 6px 12px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.up-arrow {
  color: #ffd900;
  font-weight: 600;
}

.card-content {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.card-category {
  color: #3d93e3;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1e1b18;
  letter-spacing: 0.02em;
}

.stats-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.stat-icon {
  width: 32px;
  height: 32px;
  background: #efeae2;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d433b;
  font-size: 16px;
}

.stat-numbers {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: 0.75rem;
  color: #969696;
  letter-spacing: 0.02em;
}

/* Баннер "проверим идею" */
.idea-banner {
  background: #e4daca;
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  flex: 2 1 500px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.feature-icon {
  font-size: 26px;
  min-width: 32px;
}

.btn-white {
  background: #fff;
  border-radius: 40px;
  padding: 14px 28px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s;
}
.btn-white:hover {
  background: #f5f0ea;
}

/* ===== СТИЛИ СТРАНИЦЫ ПОСТА (post) ===== */
.content-post {
  width: 100%;
  padding: 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Левая колонка – форма поста */
.post-form {
  flex: 3 1 600px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

/* Правая колонка – карточка покупки */
.sidebar-card {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

/* Заголовок поста */
.post-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(40, 40, 40, 0.6);
  font-size: 0.9rem;
}

.post-title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.post-category {
  color: #3d93e3;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Статистика в посте (может переопределять общую .stats-row) */
.post-stats .stat-item {
  background: #f9f7f4;
  padding: 12px 16px;
  border-radius: 16px;
}

/* Изображение */
.post-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #d9d0c4;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5e554b;
  font-size: 1.2rem;
}

/* Текстовые блоки */
.text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.paragraph {
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #2e2925;
}

.list {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-item {
  line-height: 1.5;
}

/* Таблица */
.table-wrapper {
  overflow-x: auto;
  margin: 16px 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  border: 1px solid #e4daca;
  background: #fff;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e4daca;
}

.table th {
  background: #efeae2;
  font-weight: 600;
}

/* Цитата */
.blockquote {
  background: #efeae2;
  border-left: 4px solid #c9b9a8;
  padding: 20px 24px;
  border-radius: 0 16px 16px 0;
  margin: 16px 0;
  font-style: italic;
}

/* ===== СТИЛИ КОНТЕНТА ПОСТА ===== */

/* Контейнер контента поста */
.post-content {
  font-family: 'Inter Tight', sans-serif;
  line-height: 1.6;
  color: #2e2925;
  font-size: 1rem;
}

/* Заголовки в контенте */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.5em 0 0.8em 0;
  color: #1e1b18;
}

.post-content h1 {
  font-size: 2rem;
  border-bottom: 2px solid #ffd900;
  padding-bottom: 0.5rem;
}

.post-content h2 {
  font-size: 1.75rem;
  color: #2e2925;
  margin-top: 2em;
}

.post-content h3 {
  font-size: 1.5rem;
  color: #3a342e;
}

.post-content h4 {
  font-size: 1.25rem;
  color: #4a443c;
}

/* Специальные классы для заголовков поста */
.post-section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e1b18;
  margin: 2em 0 1em 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ffd900;
}

.post-subsection-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2e2925;
  margin: 1.5em 0 0.8em 0;
}

/* Параграфы */
.post-content p {
  margin: 1em 0;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* Выделение текста */
.post-content strong,
.post-content b {
  font-weight: 600;
  color: #1e1b18;
}

.post-content em,
.post-content i {
  font-style: italic;
}

/* Списки */
.post-content ul,
.post-content ol {
  margin: 1em 0 1em 1.5em;
  padding-left: 1em;
}

.post-content li {
  margin: 0.5em 0;
  line-height: 1.6;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

/* Вложенные списки */
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
  margin: 0.5em 0 0.5em 1.5em;
}

/* Таблицы */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.post-content th,
.post-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e4daca;
}

.post-content th {
  background: #efeae2;
  font-weight: 600;
  color: #2e2925;
}

.post-content tr:hover {
  background: #f9f7f3;
}

/* Цитаты */
.post-content blockquote {
  background: #f9f7f3;
  border-left: 4px solid #ffd900;
  padding: 1.5em 2em;
  margin: 1.5em 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #3a342e;
}

.post-content blockquote p {
  margin: 0;
}

/* Горизонтальная линия */
.post-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e4daca, transparent);
  margin: 2em 0;
}

/* Код */
.post-content code {
  background: #f5f1eb;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.post-content pre {
  background: #f5f1eb;
  padding: 1.5em;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5em 0;
  border: 1px solid #e4daca;
}

.post-content pre code {
  background: none;
  padding: 0;
}

/* Ссылки */
.post-content a {
  color: #2e7bbf;
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 123, 191, 0.3);
  transition: all 0.2s;
}

.post-content a:hover {
  color: #1e5a9f;
  border-bottom-color: #2e7bbf;
}

/* Изображения в контенте */
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5em 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Адаптивность для контента */
@media (max-width: 767px) {
  .post-content {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  
  .post-content h1 {
    font-size: 1.75rem;
  }
  
  .post-content h2 {
    font-size: 1.5rem;
  }
  
  .post-content h3 {
    font-size: 1.25rem;
  }
  
  .post-content h4 {
    font-size: 1.1rem;
  }
  
  .post-section-title {
    font-size: 1.5rem;
  }
  
  .post-subsection-title {
    font-size: 1.25rem;
  }
  
  .post-content th,
  .post-content td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 768px) and (max-width: 1169px) {
  .post-content {
    font-size: 1rem;
  }
  
  .post-content h1 {
    font-size: 1.875rem;
  }
  
  .post-content h2 {
    font-size: 1.625rem;
  }
}

/* Карточка покупки */
.purchase-card {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.purchase-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.purchase-subtitle {
  font-size: 0.9rem;
  color: #5e554b;
}

.btn-primary {
  background: #ffd900;
  border: none;
  border-radius: 40px;
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}

.btn-link {
  background: transparent;
  border: none;
  color: #3d93e3;
  padding: 10px;
  cursor: pointer;
  font-weight: 500;
}

/* Адаптивность страницы поста */
@media (max-width: 900px) {
  .content-post {
    flex-direction: column;
  }
  .post-form {
    padding: 24px 18px;
  }
}

@media (max-width: 600px) {
  .content-index,
  .content-post {
    padding: 16px 12px;
  }
  .hero-text {
    padding: 24px 18px;
  }
  .idea-banner {
    padding: 20px 16px;
  }
  .btn-white {
    width: 100%;
    text-align: center;
  }
  .features-row {
    width: 100%;
  }
  .stat-item {
    flex: 1 1 100%;
  }
  .table th,
  .table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}

/* Стили для динамических карточек */
.card-link {
  text-decoration: none;
  display: block;
  margin-top: auto;
}

.card-button {
  width: 100%;
  background: #ffd900;
  border: none;
  border-radius: 40px;
  padding: 12px 20px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card-button:hover {
  background: #e6c400;
}

.card-button.disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

.card-button.disabled:hover {
  background: #e0e0e0;
}

/* Пустые карточки */
.post-card-empty {
  opacity: 0.7;
}

.post-card-empty:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.empty-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.5;
}

/* Сетка для премиум карточек */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1170px) {
  .premium-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Премиум карточки */
.premium-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  height: 100%;
  border: 2px solid #ffd900;
}

.premium-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.premium-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ffd900;
  color: #000;
  border-radius: 40px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.premium-button {
  background: #000;
  color: #ffd900;
  font-weight: 600;
}

.premium-button:hover {
  background: #333;
}

.premium-card-empty {
  border: 2px dashed #e0e0e0;
  opacity: 0.6;
}

.premium-card-empty:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* Изображение поста на странице поста */
.post-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-image-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.post-image:hover .post-image-img {
  transform: scale(1.02);
}

@media (max-width: 767px) {
  .post-image {
    margin: 20px 0;
    border-radius: 12px;
  }
}

@media (min-width: 768px) and (max-width: 1169px) {
  .post-image {
    margin: 25px 0;
  }
}
/* ===== КАСТОМНЫЕ СПИСКИ С ЦВЕТНЫМИ ТИРЕ ===== */

.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  list-style-position: outside;
}

.post-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  position: relative;
}

.ul-dash {
  list-style-type: none;
  padding-left: 1.8rem;
  margin: 1.5rem 0;
}

.ul-dash li {
  position: relative;
  padding-left: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.ul-dash li::before {
  content: "—";
  position: absolute;
  left: -1.8rem;
  color: #ff6b35;
  font-weight: bold;
  font-size: 1.2em;
}

.ul-dash.primary li::before { color: #ff6b35; }
.ul-dash.secondary li::before { color: #4a90e2; }
.ul-dash.success li::before { color: #2ecc71; }
.ul-dash.warning li::before { color: #f39c12; }
.ul-dash.danger li::before { color: #e74c3c; }
.ul-dash.purple li::before { color: #9b59b6; }
.ul-dash.teal li::before { color: #1abc9c; }

.ol-number {
  list-style-type: none;
  padding-left: 2.2rem;
  margin: 1.5rem 0;
  counter-reset: custom-counter;
}

.ol-number li {
  position: relative;
  padding-left: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  counter-increment: custom-counter;
}

.ol-number li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: -2.2rem;
  color: #ff6b35;
  font-weight: bold;
  font-size: 1.1em;
  min-width: 1.8rem;
  text-align: right;
}

.ol-number.primary li::before { color: #ff6b35; }
.ol-number.secondary li::before { color: #4a90e2; }
.ol-number.success li::before { color: #2ecc71; }
.ol-number.warning li::before { color: #f39c12; }
.ol-number.danger li::before { color: #e74c3c; }
.ol-number.purple li::before { color: #9b59b6; }
.ol-number.teal li::before { color: #1abc9c; }

@media (max-width: 767px) {
  .ul-dash,
  .ol-number {
    padding-left: 1.5rem;
    margin: 1rem 0;
  }
  
  .ul-dash li::before {
    left: -1.5rem;
    font-size: 1.1em;
  }
  
  .ol-number li::before {
    left: -1.8rem;
    font-size: 1em;
    min-width: 1.5rem;
  }
}

.ul-dash li:hover::before,
.ol-number li:hover::before {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.ul-dash.important li::before,
.ol-number.important li::before {
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.ul-dash.important li,
.ol-number.important li {
  font-weight: 600;
}

.ul-dash.compact,
.ol-number.compact {
  margin: 0.75rem 0;
}

.ul-dash.compact li,
.ol-number.compact li {
  margin-bottom: 0.4rem;
  font-size: 0.95em;
}

.ul-dash.large li::before,
.ol-number.large li::before {
  font-size: 1.3em;
}

.ul-dash.large li,
.ol-number.large li {
  font-size: 1.1em;
  margin-bottom: 1rem;
}