/* Default styles for the card */
.post {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .post:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05); /* Adjust the scale factor to control the zoom level */
  }
  
  /* Responsive styles using media queries */
  @media only screen and (max-width: 768px) {
    .col-sm-6 {
      width: 100%;
    }
  }
  
  /* Image styles */
  .post-image {
    opacity: 100%;
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: transform 0.3s ease-in-out;
  }
  
  .post:hover .post-image {
    opacity: 50%;
    transform: scale(1.1); /* Adjust the scale factor to control the zoom level */
  }
  
  /* Content styles */
  .post-content {
    padding: 16px;
    opacity: 0.9; /* Initially set opacity to 0 for the fade-in effect */
    transition: opacity 0.3s ease-in-out;
  }
  
  .post:hover .post-content {
    opacity: 1; /* Fade in the content on hover */
  }


  
  .post-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 8px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
  }
  
  .post-title {
    font-size: 1.5rem;
    margin-top: 8px;
    margin-bottom: 16px;
  }
  
  .post-time {
    font-size: 0.9rem;
    color: #d2d2d2;
  }
  
  /* Transition effect for the post title */
  .post-title a {
    transition: color 0.3s ease-in-out;
  }
  
  .post-title a:hover {
    color: #b9b9b9; /* Change the color to your desired hover color */
  }
  
  .hover-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 250px;
    width: 100%;
    border-radius: 20px;
    border: none;
    outline: none;
    display: none;
    transition: 0.5s ease-in-out;
    text-decoration: none;
    color: black;
  }

  .post:hover .hover-button {
    display: block;
  }

  .hover-button:hover {
    background-color: rgb(228, 154, 68);
    color: #fff;
    cursor: pointer;
  }

  .hover-button a {
    padding: 10px;
    display: inline-block;
  }

  .hover-button:hover a {
    color: #fff;
  }