body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4fff6;
  color: #333;
}

a { text-decoration: none; color: #2e7d32; }
a:hover { text-decoration: underline; }

.container {
  width: 95%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.site-header {
  background: #2e7d32;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.site-header h1 a { color: #fff; font-weight: 700; }
.site-header nav a { margin: 0 10px; color: #fff; font-weight: 500; }

.site-footer {
  background: #1b5e20;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

.home {
  display: flex;
  gap: 20px;
}

.main-content {
  flex: 3;
}

.sidebar {
  flex: 1;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.post-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.post-card:hover { transform: translateY(-5px); }
.post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.post-card h3 {
  margin: 10px;
  color: #2e7d32;
}
.post-card p {
  margin: 10px;
  color: #555;
}
.readmore {
  display: inline-block;
  margin: 10px;
  color: #1b5e20;
  font-weight: bold;
}

.widget {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.widget h3 { margin-bottom: 10px; color: #2e7d32; }
.widget ul { list-style: none; padding: 0; }
.widget li { margin: 8px 0; }
.widget a { color: #1b5e20; }

.ad-header, .ad-middle, .ad-footer {
  text-align: center;
  margin: 10px 0;
}

.single-post {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.single-post article {
  flex: 3;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-meta {
  color: #777;
  font-size: 0.9em;
  margin-bottom: 10px;
}
.featured-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.post-content {
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}
.location-widgets {
  background: #f9fff9;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}

.comments {
  margin-top: 30px;
}
.comment {
  background: #f7fff7;
  padding: 10px;
  border-radius: 8px;
  margin: 10px 0;
}
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.comment-form button {
  background: #2e7d32;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
}
.comment-form button:hover {
  background: #1b5e20;
}
.msg {
  margin-top: 10px;
  padding: 8px;
  background: #e6ffe6;
  border-left: 4px solid #2e7d32;
}
.msg.error {
  background: #ffe6e6;
  border-left: 4px solid #c62828;
}
/* ===== PERFECT FOOTER LINK VISIBILITY FIX ===== */
.site-footer {
    background: #0a4a17; /* Dark Green */
    text-align: center;
    padding: 25px 10px;
    color: #ffffff;
}

.footer-links a {
    color: #ffffff !important;     /* PURE WHITE LINKS */
    margin: 0 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #f26622 !important;     /* ORANGE HOVER */
    text-decoration: underline;
}

.site-footer p {
    color: #dfffe3;
    margin-top: 12px;
    font-size: 14px;
}
/* STOP LEFT-RIGHT SCREEN SHAKING */
body, html {
  overflow-x: hidden;
}
