/* Style for the number overlay */
#post-no-1,
#post-no-2,
#post-no-3,
#post-no-4,
#post-no-5,
#post-no-6, 
#post-no-7,
#post-no-8,
#post-no-9,
#post-no-10 {
    position: absolute;
    top: 55%;
    left: 3%;
    transform: translate(-50%, -50%);
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 7px 0px 7px; /* Round border */
    font-size: 14px; /* Adjust font size */
    font-weight: bold;
    color: #fff; /* White text color */
    background-color: #f50277; /* Green background */
    z-index: 10; /* Ensure it is above the image */
     margin-left: 40%;
}

.post-list-side .post-no {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f50277;
    color: white;
    border-radius: 0 7px 0px 7px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.post-list-side .post-x {
    flex: 1;
}

.post-list-side .post-text {
    font-size: 12px;
    color: #333;
    margin-left: 5px;
    margin-top: 10px;
}

.post-text2 {
    font-size: 12px;
    color: #333;
    margin-left: 30px;
    margin-top: 10px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .main-content, .post-list-side {
        width: 100%;
        padding: 0;
        
    }

    /* Adjust the post list layout for mobile view */
    .post-list-side {
        display: flex;
        flex-direction: column; /* Stack items vertically */
    }

    .post-list-side .post-item {
        display: flex;
        align-items: flex-start; /* Align items to the top */
        margin-bottom: 20px; /* Space between items */
        
        border-bottom: 1px solid #ddd; /* Optional border for separation */
    }

    .post-list-side .post-image-wrapper {
        margin-right: 20px; /* Increase space between image and text */
    }

    .post-list-side .post-image {
        width: 120px; /* Adjust image size for mobile */
        height: 85px; /* Adjust image size for mobile */
        display: block; /* Ensure the image displays as a block */
    }

    .post-list-side .post-number {
       
    display: flex;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    text-decoration: none;
    color: inherit;
    transition: box-shadow .3s ease;
}
    

    .post-list-side .post-x {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center text vertically */
    }

    .post-list-side .post-text {
        font-size: 14px; /* Adjust font size for mobile */
        margin-bottom: 5px; /* Add space below the title */
    }
    
    .post-list-side2 .post-text2 {
        font-size: 14px; /* Adjust font size for mobile */
        margin-bottom: 5px; /* Add space below the title */
    }
}

@media (max-width: 991px) {
#post-no-1,
#post-no-2,
#post-no-3,
#post-no-4,
#post-no-5,
#post-no-6, 
#post-no-7,
#post-no-8,
#post-no-9,
#post-no-10 {
    position: absolute;
    top: 33%;
    left: 3%;
    transform: translate(-50%, -50%);
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 7px 0px 7px; /* Round border */
    font-size: 14px; /* Adjust font size */
    font-weight: bold;
    color: #fff; /* White text color */
    background-color: #f50277; /* Green background */
    z-index: 10; /* Ensure it is above the image */
     margin-left: 40%;
}

.post-list-side .post-text {
  font-size: 12px;
  color: #333;
  margin-left: -25px;
  margin-top: 10px;
}

}
/* end of post sidebar for single content*/