.hbc-1dbaf813-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.hbc-1dbaf813-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: inherit; /* Inherits the card's border radius perfectly */
    transition: backdrop-filter 0.4s ease, background-color 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

.hbc-1dbaf813-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    width: 100%;
}

.hbc-1dbaf813-card:hover .hbc-1dbaf813-content {
    opacity: 1;
    transform: translateY(0);
}

.hbc-1dbaf813-title {
    margin: 0 0 10px 0;
}

.hbc-1dbaf813-description {
    margin: 0;
}

/* Tablet & Mobile responsive fallback */
@media (max-width: 1024px) {
    .hbc-mobile-show-yes .hbc-1dbaf813-overlay {
        background-color: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
    
    .hbc-mobile-show-yes .hbc-1dbaf813-content {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
