/* Build × Lawn/Garden Stylesheet
   Blends lane palette (forest #5C7A3E + oak #8B7355)
   with room palette (moss #3D5A3E + terra #C2612A)
*/

:root {
  --blg-forest: #5C7A3E;
  --blg-oak: #8B7355;
  --blg-moss: #3D5A3E;
  --blg-terra: #C2612A;
  --blg-light: #F5F3F0;
  --blg-dark: #2B2B2B;
}

.blg {
  color: var(--blg-dark);
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.blg-hero {
  background: linear-gradient(135deg, var(--blg-forest) 0%, var(--blg-moss) 100%);
  color: var(--blg-light);
  padding: 80px 48px;
  text-align: center;
  margin-bottom: 60px;
}

.blg-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.blg-hero-tagline {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blg-oak);
  margin: 0;
  font-style: italic;
}

/* Top 5 Projects */
.blg-top5 {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 40px 48px;
  background: var(--blg-light);
  border-left: 6px solid var(--blg-terra);
}

.blg-top5 h2 {
  font-size: 1.8rem;
  color: var(--blg-forest);
  margin-top: 0;
}

.blg-top5 ol {
  list-style: decimal;
  padding-left: 20px;
}

.blg-top5 li {
  margin-bottom: 16px;
  line-height: 1.7;
}

.blg-top5 li strong {
  color: var(--blg-moss);
  font-weight: 600;
}

/* Essay Section */
.blg-essay {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 0 48px;
}

.blg-essay h2 {
  font-size: 2rem;
  color: var(--blg-forest);
  margin-bottom: 24px;
}

.blg-essay p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Tools Section */
.blg-tools {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 0 48px;
}

.blg-tools h2 {
  font-size: 2rem;
  color: var(--blg-forest);
  margin-bottom: 24px;
}

.blg-tools ul {
  list-style: none;
  padding: 0;
}

.blg-tools li {
  padding: 16px 0 16px 20px;
  border-left: 4px solid var(--blg-moss);
  margin-bottom: 12px;
  background: var(--blg-light);
  font-size: 1rem;
}

/* Matrix (Category Table) */
.blg-matrix {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 0 48px;
}

.blg-matrix h2 {
  font-size: 2rem;
  color: var(--blg-forest);
  margin-bottom: 24px;
}

.blg-matrix table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blg-matrix thead {
  background-color: var(--blg-moss);
  color: var(--blg-light);
}

.blg-matrix th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.blg-matrix tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.blg-matrix td {
  padding: 16px;
  font-size: 1rem;
}

.blg-matrix tbody tr:nth-child(even) {
  background-color: var(--blg-light);
}

/* Tips Section */
.blg-tips {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 0 48px;
}

.blg-tips h2 {
  font-size: 2rem;
  color: var(--blg-forest);
  margin-bottom: 24px;
}

.blg-tips ul {
  list-style: none;
  padding: 0;
}

.blg-tips li {
  padding: 16px 0 16px 20px;
  border-top: 3px solid var(--blg-terra);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Mistakes Section */
.blg-mistakes {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 0 48px;
}

.blg-mistakes h2 {
  font-size: 2rem;
  color: var(--blg-forest);
  margin-bottom: 24px;
}

.blg-mistakes ul {
  list-style: none;
  padding: 0;
}

.blg-mistakes li {
  padding: 16px;
  margin-bottom: 12px;
  background: #fff5f1;
  border-left: 4px solid var(--blg-terra);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--blg-terra);
}

/* Buying Guide Section */
.blg-buy {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 40px 48px;
  background: var(--blg-light);
  border-radius: 8px;
}

.blg-buy h2 {
  font-size: 2rem;
  color: var(--blg-forest);
  margin-top: 0;
  margin-bottom: 24px;
}

.blg-buy p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.blg-buy strong {
  color: var(--blg-moss);
  font-weight: 600;
}

/* FAQ Section */
.blg-faq {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 0 48px;
}

.blg-faq h2 {
  font-size: 2rem;
  color: var(--blg-forest);
  margin-bottom: 24px;
}

.blg-faq-item {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.blg-faq-item:last-child {
  border-bottom: none;
}

.blg-faq-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.blg-faq-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* Related Guides Section */
.blg-related {
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 0 48px;
}

.blg-related h2 {
  font-size: 2rem;
  color: var(--blg-forest);
  margin-bottom: 32px;
}

.blg-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.blg-related-card {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: var(--blg-dark);
  background: var(--blg-light);
  border-left: 4px solid var(--blg-terra);
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
}

.blg-related-card:hover {
  background: #f0ede8;
  transform: translateX(4px);
}

/* Colophon Section (Footer) */
.blg-colophon {
  background-color: var(--blg-moss);
  color: var(--blg-light);
  padding: 60px 48px;
  margin-top: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blg-colophon h2 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 24px;
}

.blg-colophon p {
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 1rem;
}

/* Prerender Article (for SEO) */
.blg-prerender {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blg-hero {
    padding: 60px 24px;
  }

  .blg-hero-content h1 {
    font-size: 2.5rem;
  }

  .blg-hero-tagline {
    font-size: 1.2rem;
  }

  .blg-top5,
  .blg-essay,
  .blg-tools,
  .blg-matrix,
  .blg-tips,
  .blg-mistakes,
  .blg-buy,
  .blg-faq,
  .blg-related,
  .blg-colophon {
    padding-left: 24px;
    padding-right: 24px;
  }

  .blg-hero-content h1,
  .blg-top5 h2,
  .blg-essay h2,
  .blg-tools h2,
  .blg-matrix h2,
  .blg-tips h2,
  .blg-mistakes h2,
  .blg-buy h2,
  .blg-faq h2,
  .blg-related h2,
  .blg-colophon h2 {
    font-size: 1.5rem;
  }

  .blg-top5 ol,
  .blg-tools ul,
  .blg-tips ul,
  .blg-mistakes ul {
    padding-left: 16px;
  }

  .blg-related-grid {
    grid-template-columns: 1fr;
  }

  .blg-essay p,
  .blg-buy p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .blg-hero {
    padding: 40px 16px;
  }

  .blg-hero-content h1 {
    font-size: 2rem;
  }

  .blg-hero-tagline {
    font-size: 1rem;
  }

  .blg-top5,
  .blg-essay,
  .blg-tools,
  .blg-matrix,
  .blg-tips,
  .blg-mistakes,
  .blg-buy,
  .blg-faq,
  .blg-related,
  .blg-colophon {
    padding-left: 16px;
    padding-right: 16px;
  }

  .blg-hero-content h1,
  .blg-top5 h2,
  .blg-essay h2,
  .blg-tools h2,
  .blg-matrix h2,
  .blg-tips h2,
  .blg-mistakes h2,
  .blg-buy h2,
  .blg-faq h2,
  .blg-related h2,
  .blg-colophon h2 {
    font-size: 1.3rem;
  }
}
