.elementor-kit-9{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-image:url("https://weblabo.ru/wp-content/uploads/2026/01/background.jpg");color:#000000;font-family:"Georgia", Sans-serif;font-size:16px;font-weight:400;line-height:1.6em;background-position:center left;background-repeat:repeat;background-size:auto;}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-kit-9 h1{color:#4C638B;font-family:"Georgia", Sans-serif;font-size:1.2em;font-weight:700;text-transform:uppercase;line-height:1.4em;}.elementor-kit-9 h2{color:#354765;font-family:"Georgia", Sans-serif;font-size:1.2em;font-weight:600;}.elementor-kit-9 h3{color:#354765;font-family:"Georgia", Sans-serif;font-size:1.1em;font-weight:600;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-9{font-size:16px;line-height:1.6em;letter-spacing:0.02em;}.elementor-kit-9 h1{font-size:1em;}.elementor-kit-9 h3{line-height:1.5em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}@media(min-width:1025px){.elementor-kit-9{background-attachment:fixed;}}/* Start custom CSS */table {
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
ol {
  margin: 0rem 0rem 1rem;
}

li:not(.jet-menu-item) {
  margin: 0 0 1rem;
}


@media (max-width: 758px) {
  table {
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
}

/* Сброс отступов по умолчанию для предсказуемости */
h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  color: #333; /* Темный нейтральный цвет */
}

/* ========== H1 ========== */
h1 {
  font-size: 2.5rem; /* 40px при базовом 16px */
  margin-top: 1rem; /* 40px - большой отступ сверху */
  margin-bottom: 1.5rem; /* 24px */
  padding-bottom: 0.75rem; /* 12px */
  border-bottom: 3px solid #4a6ee0; /* Акцентная линия снизу */
  letter-spacing: -0.02em; /* Слегка сжатые буквы для h1 */
}

/* ========== H2 ========== */
h2 {
  font-size: 2rem; /* 32px */
  margin-top: 2.25rem; /* 36px - отступ чуть меньше, чем у h1 */
  margin-bottom: 1.25rem; /* 20px */
  padding-bottom: 0.5rem; /* 8px */
  border-bottom: 2px solid #eaeaea; /* Более легкая разделительная линия */
  letter-spacing: -0.01em;
}

/* ========== H3 ========== */
h3 {
  font-size: 1.5rem; /* 24px */
  margin-top: 2rem; /* 32px */
  margin-bottom: 1rem; /* 16px */
  padding-left: 0.75rem; /* 12px */
  border-left: 4px solid #4a6ee0; /* Акцентная полоса слева */
}

/* Для мобильных устройств - адаптация */
@media (max-width: 768px) {
  h1 {
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
  }
  
  h2 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
  }
  
  h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.875rem;
  }
}

/* Дополнительные эффекты при наведении (опционально) */
h1:hover, h2:hover, h3:hover {
  transition: color 0.2s ease;
}

h1:hover { color: #4a6ee0; }
h2:hover { color: #666; }
h3:hover { color: #4a6ee0; }

/* Альтернативный вариант для светлого текста на темном фоне */
.dark-theme h1,
.dark-theme h2,
.dark-theme h3 {
  color: #f0f0f0;
}

.dark-theme h1 {
  border-bottom-color: #6d8aff;
}

.dark-theme h2 {
  border-bottom-color: #444;
}

.dark-theme h3 {
  border-left-color: #6d8aff;
}

blockquote {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  border-radius: 12px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
  position: relative;
  overflow: hidden;
}

blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, #4a6ee0, #6d8aff);
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #666;
  font-style: normal;
  font-weight: 500;
}

/* Иконка кавычек сверху */
blockquote::after {
  content: '" "';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(74, 110, 224, 0.1);
  line-height: 1;
}


/* Добавляем прокрутку для MathJax 3 */
mjx-container[display="true"] {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding: 10px 0; /* Небольшой отступ, чтобы символы не прилипали к краям */
}

/* Настройка внешнего вида скроллбара (опционально, для красоты) */
mjx-container[display="true"]::-webkit-scrollbar {
  height: 5px;
}
mjx-container[display="true"]::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}/* End custom CSS */