/* =========================
   Global Reset & Safety
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f6f8;
  overflow-x: hidden;
}
.site-nav{

    background: rgba(39, 108, 121, 0.95); 

}

/* =========================
   Blog Section
========================= */
.blog-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 5% 60px;
}

.blog-list h1 {
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #111827;
  font-weight: 700;
}

/* =========================
   Blog Grid
========================= */
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* =========================
   Blog Card
========================= */
.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.blog-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* =========================
   Blog Image
========================= */
.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* =========================
   Blog Content
========================= */
.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: auto;
}

/* =========================
   Meta Info
========================= */
.blog-meta {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-author {
  font-weight: 600;
  color: #374151;
}

.blog-date {
  font-style: italic;
}

/* =========================
   Empty State
========================= */
.empty {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  grid-column: 1 / -1;
}

/* =========================
   Responsive Tweaks
========================= */
@media (max-width: 768px) {
  .blog-list {
    padding: 90px 6% 50px;
  }

  .blog-list h1 {
    font-size: 2.1rem;
  }

  .blog-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .blog-list h1 {
    font-size: 1.9rem;
  }

  .blog-image {
    height: 180px;
  }

  .blog-content {
    padding: 1.2rem;
  }
}