/* Main layout */
.container {
  max-width: 980px;
  margin: 100px auto 60px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Section */
.background-section {
  position: relative;
  padding: 40px 40px;
  background: linear-gradient(180deg, rgba(255,250,240,0.95), rgba(255,245,230,0.82));
  border: 1px solid rgba(74,58,42,0.12);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.6);
  color: #3e2e1f;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  line-height: 1.75;
}
.background-section:hover {
  transform: translateY(-2px); 
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.background-section h1 {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 24px;
  color: #3b2e1f;
  letter-spacing: 1.2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.background-section h2 {
  font-size: 20px; 
  font-weight: 800;
  color: #e47b28;
  border-left: 5px solid rgba(255,140,97,0.45);
  padding-left: 10px;
  margin: 30px 0 12px; 
}

.background-section p {
  font-size: 16px; 
  line-height: 1.75;
  margin-bottom: 16px;
  color: #463626;
}

/* quote */
.background-section .quote {
  background: rgba(255,255,255,0.7);
  border-left: 4px solid var(--accent-pink); 
  padding: 14px 18px;
  margin: 18px 0 20px;
  border-radius: 8px;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.04);
  color: rgba(74,58,42,0.85);
}

.background-section .quote ul {
  list-style: disc inside;
  margin: 0;
  padding-left: 10px;
}
.background-section .quote ul li {
  margin-bottom: 6px;
  line-height: 1.6;
  font-size: 15px;
}

.background-section ul:not(.quote ul) { 
  list-style: none;
  padding-left: 0;
  margin: 12px 0 20px;
}
.background-section ul:not(.quote ul) li {
  margin-bottom: 6px;
  line-height: 1.6;
  font-size: 15px;
}
.background-section ul:not(.quote ul) li a {
  color: #e47b28;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
.background-section ul:not(.quote ul) li a:hover {
  color: #ff5c20;
}

@media (max-width: 720px) {
  .container {
    margin: 100px auto 40px; 
    gap: 24px;
  }
  .background-section {
    padding: 24px 20px;
    margin: 0 4px;
    border-radius: 12px;
  }
  .background-section h1 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .background-section h2 {
    font-size: 17px;
    margin-top: 24px;
    margin-bottom: 10px;
  }
  .background-section p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
  }
  .background-section .quote {
    padding: 12px 16px;
    margin: 16px 0 18px;
  }
  .background-section .quote ul li {
    font-size: 14px;
  }
  .background-section ul:not(.quote ul) li {
    font-size: 14px;
  }
}