html, body {width: auto!important; overflow-x: hidden!important} 
.hero-all-posts-image {
    position: relative;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Adjust height as needed */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-all-posts-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container */
}

/* Image Title */
.image-title {
    position: absolute;
    top: 320px; /* Adjust as needed */
    left: 80px; /* Adjust as needed */
    color: #fff;
    font-size: 3em;
    z-index: 10;
    margin-right: 973px;
    padding: 0;
    line-height: 50px;
}
/* Scroll Down Message */
.scroll-down-message {
    position: absolute; /* Positioning relative to the container */
    bottom: 20px; /* Place above the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center the text */
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    z-index: 100;
    padding: 10px 20px;
    border-radius: 5px;
}
.all-posts-items-wrapper {
    padding-top: 180px;
    padding-bottom: 180px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto; /* Center align */
}

.all-posts-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust as needed for spacing between items */
}

.all-posts-item {
    width: calc(33.333% - 20px); /* 3 items per row on larger screens */
    margin-bottom: 30px; /* Space between rows */
    box-sizing: border-box;
    padding: 1rem;
}

.all-posts-item:hover {
    transform: translateY(-10px);
}

.all-posts-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
}

.all-posts-date {
    padding-top: 20px;
    color: #322d29;
    font-size: 0.8em;
}

.all-posts-title {
    text-align: left;
    font-size: 1.4em;
}

.all-posts-categories {
    font-size: 0.8em;
    color: #322d29;
    border: 1px solid #322d29;
    padding: 5px;
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 2px;
    background-color: #efe9e1;
    font-weight: 600;
}

.all-posts-excerpt {
    line-height: 1.2rem;
    margin-top: 1rem;
}

/* Filters */
.post-filter-form {
    width: 1200px;
    margin: auto;
    padding-top: 120px;
    display: flex;
}

/* Responsive Design */

/* Tablet layout */
@media (max-width: 1024px) {
    .all-posts-item {
        width: calc(50% - 20px); /* 2 items per row on tablets */
    }

    .image-title {
        font-size: 2.5em;
        top: 200px;
        left: 50px;
    }

    .scroll-down-message {
        top: 650px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Mobile layout */
@media (max-width: 768px) {
    .hero-all-posts-image {
        height: 50vh; /* Reduce height on smaller screens */
    }

    .hero-all-posts-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .post-filter-form {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }

    .all-posts-item {
        width: calc(50% - 20px); /* 2 items per row on mobile */
        margin-bottom: 20px;
    }

    .all-posts-items-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .image-title {
        font-size: 2em;
        top: 150px;
        left: 30px;
        margin-right: 163px;
    }

    .scroll-down-message {
        top: 550px;
        font-size: 0.9em;
    }
}

/* Small mobile layout */
@media (max-width: 480px) {
    .all-posts-items-wrapper {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .image-title {
        font-size: 2em;
        top: 480px;
        left: 20px;
        margin-right:10px;

    }

    .scroll-down-message {
        top: 450px;
        font-size: 0.8em;
    }

    .all-posts-item {
        width: 100%; /* Ensure items take full width */
        margin-bottom: 15px; /* Adjust spacing between items */
    }

    .hero-all-posts-image {
        height: 100vh; /* Reduce height on smaller screens */
        margin-top:-6rem
    }

    .hero-all-posts-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}