/* Main Container */
.lm35-guide-container {
  max-width: 1000px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 0 15px;
}

/* Header */
.lm35-header {
  background: linear-gradient(135deg, #1976D2, #0D47A1);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
}

.lm35-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.lm35-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Sections */
.lm35-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.lm35-section h2 {
  color: #1976D2;
  border-bottom: 2px solid #64B5F6;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.lm35-section h3 {
  color: #64B5F6;
  margin-top: 1.5rem;
}

/* Images */
.lm35-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Feature Cards */
.lm35-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.lm35-feature-card {
  background: #E3F2FD;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #64B5F6;
}

.lm35-feature-card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
}

.lm35-icon {
  margin-right: 0.5rem;
  font-size: 1.2em;
}

/* Tables */
.lm35-specs {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.lm35-specs th, .lm35-specs td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.lm35-specs th {
  background: #E3F2FD;
  color: #1976D2;
  width: 30%;
}

.lm35-pin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.lm35-pin-table th {
  background: #1976D2;
  color: white;
}

.lm35-pin-table th, .lm35-pin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

/* Code Blocks */
.lm35-code {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  line-height: 1.5;
  border-left: 4px solid #64B5F6;
  margin: 1rem 0;
}

/* Notes and Warnings */
.lm35-note {
  background: #E3F2FD;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #1976D2;
  margin: 1rem 0;
}

/* Wiring Diagram */
.lm35-wiring-diagram {
  text-align: center;
  margin: 1rem 0;
}

/* Feature Grid */
.lm35-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.lm35-feature-box {
  background: #E3F2FD;
  padding: 1rem;
  border-radius: 6px;
}

/* Troubleshooting */
.lm35-troubleshooting {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.lm35-issue {
  background: #FFF3E0;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #FFA000;
}

/* Footer */
.lm35-footer {
  margin-top: 2rem;
}

.lm35-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.lm35-project-card {
  background: #E3F2FD;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .lm35-header h1 {
    font-size: 1.5rem;
  }
  
  .lm35-features,
  .lm35-feature-grid,
  .lm35-troubleshooting,
  .lm35-projects {
    grid-template-columns: 1fr;
  }
}