/* -------- BASE -------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Global links */
a {
  color: #1e88e5;
  text-decoration: none;
}

a:hover {
  color: #1565c0;
  text-decoration: underline;
}

/* Keep navbar white */
.navbar a {
  color: #fff;
}

body {
  background: #f7f9f7;
  color: #333;
  line-height: 1.8;
}

/* -------- HEADER -------- */
header {
  background: #2e7d32;
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
}

/* -------- NAVBAR -------- */
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.nav-logo {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-menu a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* -------- MOBILE NAV -------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background: #2e7d32;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }

  .nav-menu li {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .nav-menu.show {
    display: flex;
  }
}
/* -------- LAYOUT -------- */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
}

/* -------- ARTICLE -------- */
article {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

article h1 {
  font-size: 2.2rem;
  color: #2e7d32;
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1.5rem;
}

.featured-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

figcaption {
  font-size: 0.8rem;
  text-align: center;
  color: #666;
}


article h2 {
  margin-top: 2rem;
  color: #1b5e20;
}

article h3 {
  margin-top: 1.5rem;
  color: #2e7d32;
}

article p {
  margin-top: 1rem;
}

/* -------- SIDEBAR -------- */
aside {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  height: fit-content;
}

aside h3 {
  color: #2e7d32;
  margin-bottom: 1rem;
}

aside ul {
  list-style: none;
}

aside li {
  margin-bottom: 0.8rem;
}

aside a {
  text-decoration: none;
  color: #333;
}

aside a:hover {
  text-decoration: underline;
}

/* -------- FOOTER -------- */
footer {
  background: #1b5e20;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }

  article h1 {
    font-size: 1.8rem;
  }
}


/* -------- BODY LOCK -------- */
body.nav-open {
  overflow: hidden;
}


/* -------- FAQ -------- */
.faq-section {
  margin-top: 3rem;
}

.faq-section h2 {
  color: #1b5e20;
  margin-bottom: 1.5rem;
}

.faq-item {
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.1rem;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #2e7d32;
  border-radius: 6px;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1b5e20;
  margin-bottom: 0.4rem;
}

.faq-answer {
  font-size: 1rem;
  color: #444;
  line-height: 1.65;
}

/* -------- BREADCRUMB -------- */

.breadcrumb{
font-size:0.9rem;
margin-bottom:1.2rem;
color:#666;
line-height:1.4;
}

.breadcrumb a{
color:#2e7d32;
text-decoration:none;
font-weight:500;
}

.breadcrumb a:hover{
text-decoration:underline;
}

.breadcrumb span{
color:#333;
font-weight:500;
}

/* Mobile */
@media (max-width:768px){

.breadcrumb{
font-size:0.85rem;
margin-bottom:1rem;
}

}

/* -------- BREADCRUMB -------- */

.breadcrumb{
font-size:0.9rem;
margin-bottom:1.2rem;
color:#666;
line-height:1.4;
}

.breadcrumb a{
color:#2e7d32;
text-decoration:none;
font-weight:500;
}

.breadcrumb a:hover{
text-decoration:underline;
}

.breadcrumb span{
color:#333;
font-weight:500;
}

/* Mobile */
@media (max-width:768px){

.breadcrumb{
font-size:0.85rem;
margin-bottom:1rem;
}

}

/* -------- TABLE STYLING -------- */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
}

/* Base table */
table {
  width: auto;
  border-collapse: collapse;
  min-width: 300px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Header */
table th {
  background: #2e7d32;
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Cells */
table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

/* Zebra striping */
table tr:nth-child(even) {
  background: #f9fbf9;
}

/* Hover effect */
table tr:hover {
  background: #eef7ee;
  transition: background 0.2s ease;
}

/* First column highlight */
table td:first-child {
  font-weight: 600;
  color: #1b5e20;
}

/* Rounded corners fix */
table tr:last-child td {
  border-bottom: none;
}

/* -------- MOBILE OPTIMIZATION -------- */
@media (max-width: 600px) {
  table {
    font-size: 0.9rem;
  }

  table th,
  table td {
    padding: 10px;
  }
}

/* -------- SECTION BLOCK -------- */
.section {
  margin-top: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e6e6e6;
}

/* Remove border for last section */
.section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

/* Headings inside section */
.section h2 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  color: #1b5e20;
  position: relative;
}

/* Optional green accent line under headings */
.section h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #2e7d32;
  margin-top: 6px;
  border-radius: 2px;
}

/* Sub-headings */
.section h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  color: #2e7d32;
}

/* Paragraph spacing */
.section p {
  margin-top: 0.7rem;
  color: #444;
}

/* Lists inside sections */
.section ul {
  margin-top: 0.8rem;
  padding-left: 20px;
}

.section li {
  margin-bottom: 0.4rem;
}

/* Better readability spacing */
.section p + ul {
  margin-top: 0.6rem;
}

/* -------- MOBILE OPTIMIZATION -------- */
@media (max-width: 768px) {
  .section {
    margin-top: 1.5rem;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .section h3 {
    font-size: 1.1rem;
  }
}