:root {
  --accent: #1a7f5a;
  --accent-light: #3fb98c;
  --accent-dark: #0d4a37;
  --bg: #fafafa;
  --text: #222;
  --text-light: #666;
  --border: #e0e0e0;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, system-ui, "Segoe UI", sans-serif;
  line-height: 1.7;
}

header {
  background: linear-gradient(135deg, #0d4a37 0%, #244724 50%, #104704 100%);
  color: white;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid rgb(215, 212, 16);
  box-shadow: 0 4px 12px rgba(13, 74, 55, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.header-text {
  flex: 1;
  text-align: center;
}

.header-image {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-visual {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  opacity: 0.95;
}

header img.logo {
  width: 70px;
  height: 70px;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

header h1 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: "Poppins", sans-serif;
}

header p {
  margin: 0.3rem 0 0 0;
  font-size: 0.85rem;
  opacity: 0.95;
}

header p.tagline {
  margin: 0.2rem 0 0.8rem 0;
  font-size: 0.8rem;
  opacity: 0.85;
  font-style: italic;
  letter-spacing: 0.5px;
  font-weight: 400;
}

nav {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  padding: 0.75rem 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav li {
  display: inline-block;
}

nav a {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border-radius: 3px;
  font-family: "Montserrat", sans-serif;
  position: relative;
}

nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.main-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.main-content > h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
  color: var(--accent-dark);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 20px rgba(0, 0, 0, 0.12);
  border-left: 5px solid var(--accent);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.12), 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.article-card h2,
.article-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
  font-size: 1.1rem;
  line-height: 1.4;
}

.article-card h2 a,
.article-card h3 a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.article-card h2 a:hover,
.article-card h3 a:hover {
  text-decoration: underline;
}

.article-card a {
  color: var(--accent);
  text-decoration: none;
}

.article-card a:hover {
  text-decoration: underline;
}

.article-card p {
  margin: 0.5rem 0;
  flex-grow: 1;
  font-size: 0.85rem;
  line-height: 1.4;
}

.article-card .meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0.3rem 0 0.5rem 0;
}

.meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0.5rem 0;
}

article {
  background: #fff;
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 780px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

article h1 {
  color: #0d5239;
  font-size: 1.6rem;
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

article h2 {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

article p {
  margin: 1rem 0;
  color: var(--text);
  font-size: 0.95rem;
  font-family: -apple-system, system-ui, "Segoe UI", sans-serif;
}

article ul, article ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

article li {
  margin-bottom: 0.5rem;
}

figure {
  margin: 2rem 0;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 8px;
  border-left: 4px solid var(--accent-light);
}

figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

figcaption {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  font-style: italic;
}

.back-link {
  margin-top: 2rem;
}

.back-link a {
  color: var(--accent);
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

.tag {
  display: inline-block;
  background: var(--accent-light);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

footer {
  background: linear-gradient(135deg, #0d4a37 0%, #244724 50%, #104704 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 1.5rem 1rem;
  margin-top: 4rem;
  text-align: left;
  border-top: 3px solid rgb(215, 212, 16);
  box-shadow: 0 -4px 12px rgba(13, 74, 55, 0.3);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 1);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-section p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .header-visual {
    max-width: 150px;
  }

  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  header {
    padding: 1.5rem 1rem;
  }
  
  header h1 {
    font-size: 1.5rem;
  }
  
  .header-content {
    gap: 0.5rem;
  }
  
  .header-visual {
    max-width: 120px;
  }
  
  .main-content {
    padding: 0 1rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  article {
    padding: 1.5rem 1rem;
  }
}

/* Print styles */
@media print {
  header, footer, nav {
    display: none;
  }
}


