.home-hero {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.home-hero .item {
    position: relative;
    flex: 1 1 calc(33.3333% - 10px);
    height: 100%;
    box-sizing: border-box;
}

.home-hero .item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.home-hero .overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    transition: opacity 0.3s ease;
}

.home-hero .item:hover .overlay-content {
    opacity: 1;
}

.home-hero .post-title {
    font-size: 40px;
    margin: 0;
    color: white;
    padding: 0 10px;
    margin-bottom: 10px;
}

.home-hero .post-category {
    font-size: 1em;
    color: white;
    margin-top: 4px;
}


/*++++++++++ Media query ++++++++++*/
@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {
    .home-hero .item img {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .home-hero .item img {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .home-hero .item img {
        height: 175px;
    }
}