/* =================================================
   BASIC BLOG POST STYLES
================================================= */

.blog-post {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-post img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
  border-radius: 4px;
}

/* FORCE BLOG POST TITLES TO ALWAYS SHOW */
.blog-post h2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-post p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.blog-post a {
  color: #007bbd;
  font-weight: 600;
  text-decoration: none;
}

.blog-post a:hover {
  text-decoration: underline;
}

/* =================================================
   PAGINATION
================================================= */

.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination button {
  padding: 8px 14px;
  margin: 0 6px;
  border: none;
  background: #0a4db8;
  color: #ffffff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.pagination button:hover {
  background: #083a8f;
}

/* =================================================
   HEADER & NAVIGATION (BLOG ONLY)
================================================= */

/* Hide unwanted site navigation */
nav,
.menu,
.nav-links {
  display: none !important;
}

/* Blog branding */
header h1,
.site-title,
.logo-text {
  font-size: 36px;
  font-weight: 800;
  color: #0a4db8;
  margin: 25px 0;
  text-align: center;
  letter-spacing: 0.5px;
}

/* =================================================
   FOOTER – BOLD, CENTERED, READABLE
================================================= */

footer,
.footer,
.site-footer {
  background-color: #111111;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

/* Footer navigation links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  text-align: center;
}

.footer-links li {
  display: inline-block;
  margin: 10px 18px;
}

.footer-links a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* Footer text */
footer p,
.footer p,
.site-footer p {
  font-size: 15px;
  line-height: 1.8;
  color: #f2f2f2;
  margin: 6px auto;
  max-width: 1000px;
  font-weight: 500;
}

/* Mobile footer layout */
@media (max-width: 768px) {
  .footer-links li {
    display: block;
    margin: 12px 0;
  }

  footer p {
    font-size: 14px;
  }
}

.blog-container {
  position: relative; /* ensure proper stacking */
  z-index: 1;         /* above default stacking context */
  margin-top: 40px;   /* space below hero, adjust if needed */
}

.blog-hero {
  position: relative;  /* ensure hero is in normal flow */
  z-index: 0;          /* below main content */
}


