/* /frontend/styles/news/articles.css */
.article-page { 
  max-width: 800px; 
  margin: 0 auto; 
  padding: 16px; 
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
  background: #f5f5f5; 
  line-height: 1.7; 
}

.article-page article { 
  background: #fff; 
  border-radius: 12px; 
  padding: 40px; 
  margin: 20px auto; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
  max-width: 800px; 
}

.article-page .article-header { 
  text-align: center; 
  margin-bottom: 30px; 
  padding-bottom: 20px; 
  border-bottom: 2px solid #e9ecef; 
}

.article-page .article-title { 
  font-size: 2.5rem; 
  color: #333; 
  margin-bottom: 10px; 
  font-weight: 700; 
}

.article-page .article-date { 
  color: #6c757d; 
  font-size: 1.1rem; 
  font-weight: 500; 
}

.article-page .summary { 
  background: #e8f5e8; 
  border: 1px solid #c3e6c3; 
  border-radius: 8px; 
  padding: 20px; 
  margin: 25px 0; 
  color: #155724; 
}

.article-page .summary h3 { 
  color: #155724; 
  margin: 0 0 15px; 
}

.article-page .update-section { 
  margin: 30px 0; 
  padding: 20px; 
  border-left: 4px solid #007bff; 
  background: #f8f9fa; 
  border-radius: 0 8px 8px 0; 
}

.article-page .update-section h3 { 
  color: #007bff; 
  margin: 0 0 15px; 
  font-size: 1.4rem; 
}

.article-page .feature-list { 
  list-style: none; 
  padding: 0; 
}

.article-page .feature-list li { 
  padding: 8px 0 8px 25px; 
  position: relative; 
}

.article-page .feature-list li:before { 
  content: "✅"; 
  position: absolute; 
  left: 0; 
  color: #28a745; 
}

.article-page .bug-fix { 
  background: #fff3cd; 
  border: 1px solid #ffeaa7; 
  border-radius: 8px; 
  padding: 15px; 
  margin: 15px 0; 
  color: #856404; 
}

.article-page .bug-fix h4 { 
  color: #856404; 
  margin: 0 0 10px; 
}

.article-page .tech-details { 
  background: #e3f2fd; 
  border: 1px solid #bbdefb; 
  border-radius: 8px; 
  padding: 20px; 
  margin: 20px 0; 
  color: #1976d2; 
}

.article-page .tech-details h4 { 
  color: #1976d2; 
  margin: 0 0 15px; 
}

.article-page .code-example { 
  background: #f8f9fa; 
  border: 1px solid #dee2e6; 
  border-radius: 6px; 
  padding: 15px; 
  margin: 15px 0; 
  font-family: 'Courier New', monospace; 
  font-size: 0.9rem; 
  overflow-x: auto; 
}

.article-page .stats-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 20px; 
  margin: 30px 0; 
}

.article-page .stat-card { 
  background: #fff; 
  border: 2px solid #e9ecef; 
  border-radius: 8px; 
  padding: 20px; 
  text-align: center; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.article-page .stat-number { 
  font-size: 2.5rem; 
  font-weight: bold; 
  color: #007bff; 
  margin-bottom: 10px; 
}

.article-page .stat-label { 
  color: #6c757d; 
  font-size: 0.9rem; 
}

.article-page .social-share { 
  text-align: center; 
  margin: 40px 0; 
  padding: 20px; 
  background: #f8f9fa; 
  border-radius: 8px; 
}

.article-page .share-btn { 
  display: inline-block; 
  margin: 0 10px; 
  padding: 12px 24px; 
  background: #007bff; 
  color: #fff; 
  text-decoration: none; 
  border-radius: 6px; 
  font-weight: 500; 
  transition: all 0.3s ease; 
}

.article-page .share-btn:hover { 
  background: #0056b3; 
  transform: translateY(-2px); 
}

.article-page .share-btn.vk { 
  background: #4C75A3; 
} 

.article-page .share-btn.vk:hover { 
  background: #3a5a7a; 
}

.article-page .share-btn.telegram { 
  background: #0088cc; 
} 

.article-page .share-btn.telegram:hover { 
  background: #006699; 
}

.article-page .breadcrumb { 
  margin-bottom: 16px; 
  padding: 8px 0; 
}

.article-page .ad-top-banner {
  text-align: center;
  margin: 16px 0;
  position: relative;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.article-page .ad-top-banner.hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
}

.article-page .ad-top-banner .mrg-tag {
  width: 100% !important;
  max-width: 970px;
  height: auto;
  aspect-ratio: 970 / 250;
  display: inline-block;
}

/* Медиа-запросы */
@media (max-width: 768px) { 
  .article-page .article-title { 
    font-size: 2rem; 
  } 
  .article-page .stats-grid { 
    grid-template-columns: 1fr; 
  } 
  .article-page .share-btn { 
    display: block; 
    margin: 10px auto; 
    max-width: 200px; 
  } 
}

@media (max-width: 1199px) { 
  .article-page .ad-top-banner .mrg-tag { 
    max-width: 728px; 
    aspect-ratio: 728 / 90; 
  } 
}

@media (max-width: 768px) { 
  .article-page .ad-top-banner .mrg-tag { 
    max-width: 320px; 
    aspect-ratio: 320 / 50; 
  } 
}