/* Text Formatter - Tool-specific styles */
.information-gain-section {
  margin-bottom: 48px;
}

.information-gain-section .section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--tool-primary);
}

.information-gain-section .card {
  background: #f9fafb;
  border-left: 4px solid var(--tool-primary);
}

.guide-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a202c;
  margin-top: 24px;
  margin-bottom: 12px;
}

.guide-content h3:first-child {
  margin-top: 0;
}

.guide-content p {
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 12px;
}

.code-example {
  background: #2d3748;
  color: #f0f0f0;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 16px 0;
}

.guide-list {
  margin-top: 12px;
  padding-left: 24px;
}

.guide-list li {
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 8px;
}

.guide-list strong {
  color: #1a202c;
  font-weight: 600;
}

.tool-meta {
  margin-bottom: 48px;
}

.tool-meta .card {
  background: #f0f4ff;
  border-left: 3px solid var(--tool-primary);
}

.tool-meta p {
  font-size: 0.875rem;
  color: #4a5568;
  margin: 0;
  line-height: 1.8;
}

.tool-meta a {
  color: #1A73E8;
  text-decoration: underline;
}

.tool-meta a:hover {
  color: #1557b0;
}

@media (max-width: 768px) {
  .answer-first {
    padding: 16px;
  }

  .answer-first p {
    font-size: 1rem;
  }

  .answer-first strong {
    font-size: 1.125rem;
  }

  .information-gain-section .section-heading {
    font-size: 1.5rem;
  }

  .guide-content h3 {
    font-size: 1rem;
  }
}
