/* Scope everything to this widget instance */
.hover-box-slider-main-box .ehb-box-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hover-box-slider-main-box .ehb-box {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

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

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

.hover-box-slider-main-box .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;
}

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

/* Heading inside bottom strip */
.hover-box-slider-main-box .ehb-overlay h3 {
    margin: 0;
    font-size: 20px;
    color: #000;
}

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

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

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

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

.hover-box-slider-main-box .swiper {
    overflow: unset;
}

.hover-box-slider-main-box {
    overflow: hidden;
    padding-top: 95px;
}

.hover-box-slider-main-box .slider_arrows {
    position: absolute;
    top: -65px;
    right: 0;
    width: 162px;
}