.hb-d0d57a9d-box {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.hb-d0d57a9d-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 350ms ease;
    z-index: 1;
}

.hb-d0d57a9d-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 24px;
    z-index: 2;
}

.hb-d0d57a9d-content-inner {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 350ms ease;
}

.hb-d0d57a9d-title {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
}

.hb-d0d57a9d-description {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 350ms ease, max-height 350ms ease;
}

/* Hover state: title slides up by revealing description below */
.hb-d0d57a9d-box:hover .hb-d0d57a9d-description {
    opacity: 1;
    max-height: 200px;
    margin-top: 12px;
}
