/* Compostable Litter Liners - Eco & Sustainability Guide */
:root {
  --primary: #2D6A4F;
  --secondary: #52B788;
  --accent: #B7E4C7;
  --bg: #F4FBF7;
  --text: #1B3A2D;
  --card-bg: #ffffff;
  --border: #B7E4C7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header {
  background: var(--primary);
  color: #fff;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.site-header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
}

.site-tagline {
  font-size: 0.9rem;
  opacity: 0.85;
}

nav a {
  color: #fff;
  margin-left: 1.2rem;
  font-family: sans-serif;
  font-size: 0.9rem;
  opacity: 0.9;
}

nav a:hover { opacity: 1; text-decoration: none; border-bottom: 2px solid #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Main layout */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Article grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.article-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.article-card p {
  font-size: 0.88rem;
  color: #555;
  font-family: sans-serif;
}

.article-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-family: sans-serif;
  color: var(--primary);
  font-weight: bold;
}

/* Article pages */
.article-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 2.5rem 2rem;
}

.article-header h1 {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.9rem;
  line-height: 1.35;
}

.article-meta {
  max-width: 800px;
  margin: 0.75rem auto 0;
  font-size: 0.88rem;
  opacity: 0.85;
  font-family: sans-serif;
}

article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

article p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

article h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
  border-left: 4px solid var(--secondary);
  padding-left: 0.75rem;
}

article ul, article ol {
  margin: 0.75rem 0 1.2rem 1.5rem;
}

article li {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

/* Product card */
.product-card {
  display: flex;
  gap: 1.5rem;
  background: #f8fff9;
  border: 2px solid var(--secondary);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  align-items: center;
  flex-wrap: wrap;
}

.product-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.product-card-content h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.product-card-content p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #444;
}

.product-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-family: sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none !important;
  transition: background 0.2s;
}

.product-cta:hover {
  background: var(--secondary);
}

/* FAQ */
.faq {
  background: var(--accent);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.faq h2 {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
}

.faq-item {
  margin-top: 1.25rem;
}

.faq-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.3rem;
}

/* Footer */
footer {
  background: var(--text);
  color: #ccc;
  padding: 2.5rem 2rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-inner h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.sister-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sister-sites a {
  color: var(--accent);
  font-size: 0.88rem;
  font-family: sans-serif;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #999;
  font-family: sans-serif;
}

/* Author box */
.author-box {
  background: var(--accent);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: #fff;
}

.author-info strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.88rem;
  margin: 0;
  color: #555;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.6rem; }
  .article-header h1 { font-size: 1.4rem; }
  .product-card { flex-direction: column; }
  .product-card img { width: 100%; height: 200px; }
  .site-header-inner { flex-direction: column; align-items: flex-start; }
}
