/* ---
Theme: Nature Inspired
Font: Poppins (Sans-Serif)
Primary Colors: Forest Green, Beige, White, Dark Grey
--- */

/* CSS Variables */
:root {
  --bg-color: #f4f1e9; /* Light Eggshell/Beige */
  --surface-color: #ffffff; /* Clean White */
  --primary-accent: #2a7f62; /* Forest Green */
  --primary-accent-hover: #1f6049;
  --text-color: #3e3e3e; /* Dark Grey */
  --text-color-secondary: #6b6b6b; /* Medium Grey */
  --border-color: #ddd8c8; /* Light Brownish Grey */
  --font-family-sans: 'Poppins', sans-serif;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-sans);
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: 2.8rem; text-align: center; }
h2 { font-size: 2rem; margin-top: 2.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-color); }
h3 { font-size: 1.5rem; color: var(--primary-accent); font-weight: 600; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-color-secondary);
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.site-header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.site-title a {
  text-decoration: none;
  color: var(--text-color);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-color-secondary);
  padding-bottom: 5px;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-accent);
  border-bottom: 2px solid var(--primary-accent);
}

/* Intro Section */
.intro-section {
    padding: 3rem 0;
    text-align: center;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.intro-section h1 {
    font-weight: 700;
}

.intro-section p {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto;
}

/* Main Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .main-layout {
    grid-template-columns: 3fr 1fr;
  }
}

main, aside {
  padding: 0;
}

/* Article Cards */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.article-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: var(--text-color);
}

.article-card p {
    font-size: 0.95rem;
    flex-grow: 1;
}

.read-more-btn {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  align-self: flex-start;
}

/* Sidebar */
.sidebar-widget {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget ul li {
  margin-bottom: 0.75rem;
}

.sidebar-widget ul li a {
    font-size: 0.95rem;
}

.promo-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* Single Article Page */
.article-content {
  background: var(--surface-color);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-color-secondary);
  letter-spacing: 0.5px;
}

/* Simple Page Wrapper */
.content-wrapper {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Call to Action Section */
.cta-section {
  margin-top: 3rem;
  padding: 2.5rem;
  text-align: center;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.cta-section h2 {
    border: none;
    margin-top: 0;
}

.cta-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1rem;
  border: none;
}

.cta-btn:hover {
  background-color: var(--primary-accent-hover);
  text-decoration: none;
  transform: translateY(-2px);
}


/* Footer */
.site-footer {
  background-color: #3e3e3e;
  color: var(--bg-color);
  text-align: center;
  padding: 2.5rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
}

.site-footer p {
    color: #e0e0e0;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .main-nav a {
      font-size: 0.9rem;
  }

  .article-content, .content-wrapper {
      padding: 1.5rem;
  }
}