.ehb-box-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ehb-box {
    position: relative;
    width: 400px;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.ehb-box img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Bottom black strip always visible */
.ehb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(62, 32, 10, 0.85);
    color: #fff;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.ehb-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    padding: 20px;
    text-align: center;
    font-size: 18px;
}

.ehb-box:hover .ehb-content {
    opacity: 1;
}

/* Heading inside bottom strip */
.ehb-overlay h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

/* Hidden until hover */
.ehb-content p,
.ehb-button {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.ehb-box:hover .ehb-content p,
.ehb-box:hover .ehb-button {
    opacity: 1;
    transform: translateY(0);
}

.ehb-button {
    margin-top: 10px;
    padding: 8px 20px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.ehb-button:hover {
    background: #fff;
    color: #000;
}