:root {
  --bg-color: #f4f7f5;
  --card-bg: #ffffff;
  --text-primary: #1b2e23; /* Deep warm slate/forest */
  --text-secondary: #4a5d52; /* Medium muted sage slate */
  --text-body: #233329;
  --link-color: #1b5e20; /* Deep rich green */
  --link-hover: #0d3b13; /* Dark green hover */
  --border-color: #e2e8f0;
  --accent-color: #2e7d32; /* Green accent */
  
  --font-serif: "Merriweather", "Georgia", "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.8;
  padding: 40px 20px;
}

/* Main Container - Centered Single Column */
.main-container {
  max-width: 840px;
  margin: 0 auto;
}

/* Article Styling */
article {
  background-color: var(--card-bg);
  padding: 50px 60px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 24px rgba(27, 46, 35, 0.06);
}

.article-category {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 14px;
}

h1.article-title {
  font-family: var(--font-sans);
  font-size: 34px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

/* Hero Image immediately below H1 */
.hero-image-wrapper {
  margin: 0 -60px 35px -60px;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Content Typography & Justified Alignment */
.article-content {
  font-family: var(--font-serif);
  color: var(--text-body);
  font-size: 19px;
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 25px;
  text-align: justify;
  text-justify: inter-word;
}

.article-content h2 {
  font-family: var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  margin: 45px 0 20px 0;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  border-left: 4px solid var(--accent-color);
  padding-left: 14px;
}

.article-content h3 {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  margin: 30px 0 15px 0;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

/* Styled Anchor Links */
.blog-redirect-link {
  color: var(--link-color);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.blog-redirect-link:hover {
  color: var(--link-hover);
}

/* Responsive Layout */
@media (max-width: 768px) {
  body {
    padding: 20px 12px;
  }

  article {
    padding: 30px 22px;
    border-radius: 8px;
  }
  
  h1.article-title {
    font-size: 26px;
  }
  
  .hero-image-wrapper {
    margin: 0 -22px 25px -22px;
  }

  .article-content {
    font-size: 17px;
  }

  .article-content h2 {
    font-size: 22px;
  }
}
