.elementor-406 .elementor-element.elementor-element-649e0c8{--display:flex;}/* Start custom CSS for html, class: .elementor-element-16edc2e */.expert-article {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #1a1a1a;
  line-height: 1.8;
}

/* Hero статьи */
.article-hero {
  background: linear-gradient(135deg, #0971B8 0%, #055a8c 100%);
  color: white;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.article-hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: white;
  transform: skewY(-3deg);
}

.article-container {
  max-width: 1400px;
  margin: 0 auto;
}

.article-category {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

h1.article-title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  gap: 30px;
  font-size: 16px;
  opacity: 0.9;
}

/* Навигация по статье */
.article-nav {
  background: #f8f9fa;
  border-left: 4px solid #0971B8;
  padding: 30px;
  margin: 40px auto;
  max-width: 1200px;
}

.nav-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}

.nav-list {
  list-style: none;
  padding: 0;
}

.nav-list li {
  margin-bottom: 10px;
}

.nav-list a {
  color: #0971B8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.nav-list a:hover {
  transform: translateX(5px);
}

/* Основной контент */
.article-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #1a1a1a;
  position: relative;
  padding-left: 20px;
}

.content-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 30px;
  background: #0971B8;
}

.content-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 30px 0 20px;
  color: #2c3e50;
}

/* Важный блок */
.important-box {
  background: #E8F4FD;
  border: 2px solid #0971B8;
  border-radius: 10px;
  padding: 30px;
  margin: 30px 0;
  position: relative;
}

.important-box::before {
  content: '💸';
  position: absolute;
  top: -15px;
  left: 30px;
  background: #E8F4FD;
  padding: 0 10px;
  font-size: 24px;
}

/* Кейсы */
.case-study {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  margin: 30px 0;
  border-left: 5px solid #0971B8;
}

.case-study h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #0971B8;
}

/* Сравнительная таблица */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th {
  background: #0971B8;
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px;
}

.comparison-table tr:nth-child(even) {
  background: #f8f9fa;
}

/* CTA блок */
.cta-section {
  background: linear-gradient(135deg, #0971B8, #055a8c);
  color: white;
  padding: 50px 30px;
  border-radius: 15px;
  text-align: center;
  margin: 60px 0;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #0971B8;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Калькулятор маржи */
.margin-calculator {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  border: 2px solid #0971B8;
}

.margin-calculator h3 {
  margin-top: 0;
  color: #0971B8;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.calc-inputs label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.calc-inputs input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.calc-result {
  background: #E8F4FD;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.calc-result span {
  font-size: 24px;
  color: #0971B8;
  font-weight: 700;
}

/* Прогресс-бар чтения */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #e0e0e0;
}

.progress-fill {
  height: 100%;
  background: #0971B8;
  width: 0%;
  transition: width 0.3s ease;
}

/* Параграфы и списки */
.article-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #333;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #333;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
  .article-container {
    max-width: 95%;
  }
  
  .calc-inputs {
    grid-template-columns: 1fr 1fr;
  }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .article-hero { 
    padding: 40px 15px; 
  }
  
  h1.article-title { 
    font-size: 1.75rem; 
  }
  
  .article-meta { 
    flex-wrap: wrap; 
    gap: 10px; 
    font-size: 14px; 
  }
  
  .article-nav {
    padding: 20px;
    margin: 20px 10px;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
  
  .content-section h3 {
    font-size: 1.25rem;
  }
  
  .comparison-table { 
    font-size: 14px;
    display: block;
    overflow-x: auto;
  }
  
  .comparison-table th, 
  .comparison-table td { 
    padding: 10px;
    white-space: nowrap;
  }
  
  .calc-inputs {
    grid-template-columns: 1fr;
  }
  
  .important-box,
  .case-study {
    padding: 20px;
  }
  
  .cta-section {
    padding: 30px 20px;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  h1.article-title { 
    font-size: 1.5rem; 
  }
  
  .article-hero {
    padding: 30px 10px;
  }
  
  .content-section {
    margin-bottom: 40px;
  }
  
  .article-content p,
  .article-content ul li,
  .article-content ol li {
    font-size: 1rem;
  }
}

/* Печать */
@media print {
  .article-hero {
    background: none;
    color: black;
    padding: 20px 0;
  }
  
  .article-hero::after {
    display: none;
  }
  
  .article-nav,
  .cta-section,
  .margin-calculator,
  .reading-progress {
    display: none;
  }
  
  .important-box,
  .case-study {
    border: 1px solid #333;
    background: none;
  }
  
  .comparison-table {
    box-shadow: none;
  }
}/* End custom CSS */