/* Add this to your existing CSS file or create a new one */

/* Blog Section */
body {
    background-color: #111f24; /* Dark purple */
  }
#blog-index-title{
    text-align: center; /* Center align the title */
    padding: 2%; /* Padding around the content */
    color: #e8e8e8;
    margin-top: 7.5vw;
}  
.blog-section {
    padding: 4rem 0;
  }
  
  .blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 0 3vw; /* Margin left and right based on viewport width */
  }
  
  .blog-post {
    width: calc(33.33% - 20px); /* Adjust the width for three posts in a row */
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
  }
  
  .blog-header-img {
    width: 50px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center the image */
    margin: 0 auto; /* Center horizontally */
  }

  .download-img {
    width: 125px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center the image */
    margin: 0 auto; /* Center horizontally */
  }
  
  .blog-post > div {
    padding: 20px;
  }
  .l-header {
    background-color: #111f24;
  }
  .nav_logo {
    color: #fff;
  }
  .nav_item{
    color: #e8e8e8;
    margin-top: 10px;
  }
  .blog-post img {
    width: 100%;
    height: auto;
    display: block; /* Ensures the image is centered */
    margin: 0 auto; /* Centers the image horizontally */
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
  }
  
  .blog-post a {
    color: #333;
    font-weight: bold;
    text-decoration: none;
  }
  
  /* Ensure text is centered */
  .blog-post div {
    text-align: center;
  }
  
  #post-title {
    text-align: center; /* Center align the title */
    padding: 2%; /* Padding around the content */
    color: #e8e8e8;
    margin-top: 7.5vw;
   }

   /* Define styles for blog post content container */
   #post-content {
    font-size: small;
    text-align: left;
    background-color: #f2f2f2; /* Background color */
    border: 1px solid #ccc; /* Border */
    border-radius: 10px; /* Rounded edges */
    padding-left: 3vw; /* Padding around the content based on viewport width */
    padding-right: 3vw;
    padding-bottom: 3vw;
    padding-top: 1vw;
    margin: 0 5vw; /* Margin left and right based on viewport width */
    overflow: hidden; /* Ensure content doesn't overflow */
    }
   #post-content ul {
    padding-left: 20px; /* Add left padding to create space for bullet points */
    list-style: disc; /* Apply disc bullet points */
   }
   /* Define styles for images inside the blog post content */
   #post-content img {
    max-width: 100%; /* Ensure images don't exceed the container width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center the image */
    margin: 0 auto; /* Center horizontally */
    padding: 20px; /* Add padding around the image */
   }
   
  
  /* Responsive layout for smaller screens */
  @media screen and (max-width: 768px) {
    .blog-post {
      width: calc(50% - 20px); /* Adjust the width for two posts in a row */
    }
   
    #post-title {
        margin-top: 10px; /* Adjust margin top for smaller screens */
        margin-bottom: 10px; /* Adjust margin bottom for smaller screens */
    }
    #post-content {
        margin: 0 10px; /* Adjust margin left and right for smaller screens */
    }
    .download-img {
        width: 95px; /* Adjust the width as needed */
        height: auto; /* Maintain aspect ratio */
        display: block; /* Center the image */
        margin: 0 auto; /* Center horizontally */
      }
  }
  
  @media screen and (max-width: 480px) {
    body{
        margin-left: 20px;
        margin-right: 20px;
    }
    .blog-post {
      width: 100%; /* Adjust the width for one post per row on smaller screens */
    }
    #post-title {
        margin-top: 10px; /* Adjust margin top for smaller screens */
        margin-bottom: 10px; /* Adjust margin bottom for smaller screens */
    }
    #post-content {
        margin: 0; /* Adjust margin left and right for smaller screens */
        padding-left: 3vw; /* Adjusted padding for smaller screens */
        padding-right: 3vw;
    }
    .download-img {
        width: 95px; /* Adjust the width as needed */
        height: auto; /* Maintain aspect ratio */
        display: block; /* Center the image */
        margin: 0 auto; /* Center horizontally */
      }
  }
  