/* === EcoLife CO2 Blog Style === */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('https://source.unsplash.com/1600x900/?nature,green,forest') no-repeat center center fixed;
  background-size: cover;
  color: #2c3e50;
}

header {
  background-color: rgba(34, 85, 51, 0.9);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
}

main {
  background: rgba(255, 255, 255, 0.96);
  max-width: 860px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

article p {
  line-height: 1.7;
  margin: 1.2em 0;
  font-size: 1.05rem;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
}

a {
  color: #1e5e3f;
  text-decoration: none;
  border-bottom: 1px dotted #1e5e3f;
}

a:hover {
  color: #388e3c;
  border-bottom: 1px solid #388e3c;
}

footer {
  background: rgba(42, 95, 60, 0.9);
  text-align: center;
  color: #fff;
  padding: 20px;
  font-size: 0.95rem;
  margin-top: 40px;
}

@media screen and (max-width: 600px) {
  main {
    margin: 20px;
    padding: 20px;
  }

  header h1 {
    font-size: 1.8rem;
  }
}
