/*  #74c5b6   */
/*  #335596  */

/* Style for the blog header */
.blog-header {
    background-color: #335596;
    background-image: url('/assets/img/esg_pictures/blog1.png'); /* Replace 'your-image-url.jpg' with the path to your image */
    background-size: contain;
    background-position: center;
    background-blend-mode: overlay;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  /* Style for the content container within the header */
  .blog-header-content {
    background-color: rgba(255, 255, 255, 0.8); /* Background color with opacity */
    padding: 20px;
    margin: 20px;
    margin-right: 20px; /* Adjust as needed */
    border-radius: 8px;
    max-width: 50%; /* Adjust as needed */
  }

  .blog-header-content button {
    border-radius: 13px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
  }

  .blog-header-content button:hover {
background-color: #ddd;
  }
  
  .blog-header-content img {
    width: 25px;
  }

  /* Styles for text content within the content container */
  .blog-header-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .blog-header-content p {
    font-size: 18px;
  }

/* csrd part : begin */

.csrdpart {
    width: 90%; /* Adjust width as needed */
    margin: 0 auto; /* Center horizontally */
    text-align: left; /* Align text to the left */
    animation: slideIn 0.5s ease forwards; /* Slide in animation */
  }

  .greybox {
   background-color: #f0f0f0; /* Example background */
  margin: 0 auto; /* Center align */
  padding: 20px; /* Spacing */
  max-width: 1200px; /* Max width and responsive */
  }

  .greybox:hover {
    background-color: #ddd;
    padding: 20px ;
    border-radius: 13px;
  }

  #showContentButton {
    
    background-color: #335596;
    color: #ddd;
  }

  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(-50px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* csrd part : end */

/* Blogcards : Start */
.blogcards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* Add space between cards */
  padding: 20px;
  width: 99%;
}

@media (max-width: 1200px) {
.blogcards-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Two columns */
  gap: 20px; /* Gap between cards */
}

.blog-card {
  width: 100%; /* Auto width to fit the grid */
}
}

.blog-card {
  width: 100%; /* Three cards in a row with some spacing */
  margin-bottom: 20px;
  padding-bottom: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Add a slight shadow */
}

.blog-card img {
  width: 100%;
  height: 350px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-bottom: 10px;
}

.blog-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  padding: 10px;
}

.blog-card p {
  margin-bottom: 10px;
  padding: 10px;
  max-height: 200px;
  overflow: hidden;
}

.read-more-btn {
  display: inline-block;
  padding: 8px 16px;
  margin-left: 10px;
  background-color: #74c5b6;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  margin-bottom: 5px;
}
.published-date {
  display: inline-block;
  padding: 8px 16px;
  margin-left: 10px;
  background-color: #74c5b6;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
}

.hidden {
  display: none;
}

.read-more-btn:hover {
  background-color: #ddd;
  color: #74c5b6;
}
/* Blogcards : End */
/* under part : Begin */

.leftsidetext {
    display: flex;
    align-items: center;
  }

  .rightsidetext {
    display: flex;
    align-items: center;
  }
  
  .text {
    flex: 1; /* Text takes up remaining space */
  }
  
  .under-image img {
    height: 400px;
    border: 2px solid #335596;
    border-radius: 7px;
    cursor: zoom-in;
  }

.under-text {
    width: 100%;
    height: 400px;
    background-image: url(/assets/img/bg1.png);
}

.under-text h1 {
margin-left: 20px;
margin-top: 20px;
}

.under-text p {
    margin-left: 20px;
    margin-top: 20px;
    }

    /* Fullscreen image display */
.fullscreen-image {
  position: fixed;
  padding: 50px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
  z-index: 9999;
  cursor: zoom-out;
}

.fullscreen-image img {
  width: 70%;
  height: 70%;
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  padding: 20px;
}
  
/* under part : End */

/* csddd-summary */

.text-and-image {
 display: flex;
  flex-wrap: wrap;
  align-items: center; /* Align vertically */
}

.text-and-image img {
   max-width: 100%;
  height: auto;
  padding: 10px; /* Spacing around image */
  margin: auto;
}
.pdf button {
  border: none;
  padding: 20px;
  border-radius: 13px;
  cursor: pointer;
}
.pdf button img {
  width: 50px;
}

.centered-image {
  /* Ensure the images inside this div are centered horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto;
}

.centered-image img {
  max-width: 100%;
}

.centered-text {
  text-align: center;
}
