
.article ul {
    /* Стили для списка внутри статьи */
    list-style-type: none; /* Убираем стандартные маркеры */
    padding-left: 0;
    margin: 1.5rem 0;
}

.article li {
    /* Стили для каждого элемента списка */
    position: relative;
    padding: 1rem 1rem 1rem 2.5rem;
    margin-bottom: 24px;
    background-color: #ffffff;
    border-left: 4px solid #4a90e2;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    counter-increment: list-counter; /* Для нумерации, если используется ol */
}

.article li:before {
    /* Кастомный маркер для элементов списка */
    content: '✓';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.article li:hover {
    /* Эффект при наведении */
    background-color: #f0f7ff;
    border-left-color: #2c6cb0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.article li:last-child {
    /* Убираем отступ у последнего элемента */
    margin-bottom: 0;
}

.article ol {
    /* Стили для нумерованного списка (если нужно) */
    list-style-type: none;
    padding-left: 0;
    margin: 1.5rem 0;
    counter-reset: list-counter;
}

.article ol li:before {
    /* Кастомная нумерация для ol */
    content: counter(list-counter) '.';
    background-color: #34c759;
    font-size: 0.85rem;
}

.article ol li {
    border-left-color: #34c759;
}

.article ol li:hover {
    border-left-color: #2a9c4a;
}

/* Дополнительные стили для вложенных списков */
.article ul ul,
.article ol ol {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.article ul ul li,
.article ol ol li {
    padding-left: 2rem;
    border-left-width: 3px;
    border-left-color: #aaa;
    background-color: #fefefe;
}

.article ul ul li:before {
    content: '•';
    background-color: #aaa;
    font-size: 1.2rem;
}

  pre code.hljs {
    white-space: pre !important;
    display: block !important;
    overflow-x: auto !important;
    padding: 1em !important;
    tab-size: 4 !important;
}

/* Для inline-кода */
code:not(pre code) {
    white-space: normal !important;
}

pre i, pre span, pre a {
  display: unset !important;
}

.article blockquote {
  background-image: url("{{ $cdn }}/s/images/blog/quote-bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px;
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .article blockquote {
    padding: 30px;
  }
}

.article blockquote i {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .article blockquote i {
    margin-bottom: 15px;
  }
}

.article blockquote p {
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  line-height: 27px;
  text-align: center;
  color: var(--heading-color);
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .article blockquote p {
    font-size: 14px;
    line-height: 24px;
  }
}

.article blockquote h6 {
  color: var(--body-color);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.article p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 30px;
}

.article h1 {
  font-size: 32px;
  padding-bottom: 32px;
}

.article h2 {
  font-weight: 700;
  font-size: 26px;
  line-height: 35px;
  margin-bottom: 35px;
}

.article h3,h4,h5,h6 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .article h3,h4,h5,h6 {
    font-size: 22px;
    margin-bottom: 25px;
  }
}