/* Common Technical Guide Styles */

/* Technical guide specific styles */

/* Properties table styling */
.properties-table {
  margin: 20px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.properties-table h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.properties-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.properties-table li {
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
}

.properties-table li:last-child {
  border-bottom: none;
}

.properties-table strong {
  min-width: 180px;
  color: #495057;
  font-weight: 600;
}

/* Section styling improvements */
.article-content section {
  margin-bottom: 40px;
}

.article-content h2 {
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.article-content h3 {
  color: #34495e;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.article-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Citation styling */
mcreference {
  font-size: 0.8em;
  color: #007bff;
  text-decoration: none;
  vertical-align: super;
  margin-left: 2px;
}

mcreference:hover {
  color: #0056b3;
  text-decoration: underline;
}

.article-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 30px;
}

.article-nav {
  flex: 0 0 250px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.article-nav h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.1em;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
}

.article-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-nav li {
  margin-bottom: 8px;
}

.article-nav a {
  color: #666;
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.article-nav a:hover {
  background: #007bff;
  color: white;
}

.article-content-wrapper {
  flex: 1;
  min-width: 0;
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.article-header h1 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.8em;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: #666;
  font-size: 0.9em;
}

.article-meta .author {
  font-weight: 600;
}

.article-content {
  line-height: 1.7;
  color: #333;
}

.article-content p {
  margin-bottom: 16px;
}

.article-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.back-to-guides {
  display: inline-flex;
  align-items: center;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-to-guides:hover {
  color: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
  .article-container {
    flex-direction: column;
    padding: 15px;
    gap: 20px;
  }
  
  .article-nav {
    flex: none;
    position: static;
    order: 2;
  }
  
  .article-header h1 {
    font-size: 1.5em;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 5px;
  }
  
  .properties-table {
    padding: 15px;
  }
  
  .properties-table li {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .properties-table strong {
    min-width: auto;
    margin-bottom: 5px;
  }
}