/* Articles Page Styles */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* Article container */
.article-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Article header */
.article-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.article-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.article-meta {
  color: #666;
  font-size: 0.7rem;
  margin-bottom: 1rem;
}

.article-author {
  color: #666;
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

/* Article content */
.article-content {
  font-size: 0.7rem;
  line-height: 1.7;
  color: #333;
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
}

.article-content p {
  margin: 1.5rem 0;
  line-height: 1.7;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin: 0.5rem 0;
}

.article-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #007BFF;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: #555;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Back to resources link */
.back-link {
font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #007BFF;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

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

.back-link::before {
  content: '←';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.back-link:hover::before {
  transform: translateX(-3px);
}



/* Mobile styles */
@media (max-width: 768px) {
  .article-container {
    padding: 1rem;
  }
  
  .article-title {
    font-size: 2rem;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-content h3 {
    font-size: 1.2rem;
  }
  
  .article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
}

/* Calculator styles */
.calculator-input {
  margin-bottom: 1.5rem;
}

.calculator-input label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.calculator-input input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.calculator-input input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
}

.calculator-input input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  border: none;
}

.formula {
  font-style: italic;
  color: #666;
  font-size: 0.85em;
  margin-top: 1rem;
}

/* Tension score color styles */
.tension-very-tight {
  color: #dc3545;
  font-weight: bold;
}

.tension-tight {
  color: #fd7e14;
  font-weight: bold;
}

.tension-typical {
  color: #ffc107;
  font-weight: bold;
}

.tension-loose {
  color: #28a745;
  font-weight: bold;
}

.tension-very-loose {
  color: #20c997;
  font-weight: bold;
}