/* Header */
.blog-header {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }
  
  .logo a {
    font-weight: bold;
    font-size: 1.4rem;
    text-decoration: none;
    color: #000;
  }

  .site-logo {
    height: 100px; /* You can adjust this */
    width: auto;
    display: block;
}

  
  .nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .nav-links a:hover {
    color: #0077cc;
  }
  

/* Font Reset & Base Style */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.journal-wrapper {
  flex: 1; /* Take remaining space between header and footer */
  max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    overflow: auto;
}

body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #222;
    margin: 0;
    padding: 0;
}



.journal-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2.5rem;
  color: #1e1e1e;
  letter-spacing: -0.5px;
}



/* Headings */
h1, h2, h3 {
    font-weight: 600;
    margin-top: 0;
    color: #111;
}

.journal-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.journal-title {
    font-family: 'Poppins', sans-serif;
}

.title-line {
    line-height: 1.1;
}

.title.line.bottom {
    margin-top: - 0.3rem;
}

/* Links */
a {
    text-decoration: none;
    color: #139ddb;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
    color: #fdb719;
}



.journal-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem; /* spacing *after* the h1 */
}

.blog-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.blog-card .thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.blog-card .date {
    color: #777;
    font-size: 0.85rem;
}

.blog-card .title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1b449c;
    line-height: 1.4;
}

.blog-card .excerpt {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
}

.blog-card .read-more {
    margin-top: auto;
    font-weight: 600;
    text-decoration: underline;
    color: #0077cc;
}

.blog-card .read-more:hover {
    color: #fdb719;
}

.badge {
    display: inline-block;
    background-color: #fdb719;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 2px;
    border-radius: 20px;
    margin-bottom: 05rem;
}

/* footer css */
.site-footer {
  background: #fafafa;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.site-footer a {
  color: #0077cc;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
  
  /* Post Page styling */
  .post-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .post-content {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
  }

  .post-date {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .post-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
  }

  