:root {
    --card-img-height: 320px;
}

.angie-hover-card-d313788b {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    width: 100%;
    height: 100%; /* Changed from fixed height to 100% */
    min-height: var(--card-img-height); /* Ensure minimum height */
}
.angie-hover-card-img-d313788b {
    position: absolute; /* Changed to absolute to fill container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.angie-hover-card-default-label-d313788b {
    position: absolute;
    left: 20px;
    right: 20px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 5;
    opacity: 1;
    transition: opacity 0.4s ease;
}
.angie-hover-card-default-label-d313788b.angie-pos-top {
    top: 20px;
}
.angie-hover-card-default-label-d313788b.angie-pos-middle {
    top: 50%;
    transform: translateY(-50%);
}
.angie-hover-card-default-label-d313788b.angie-pos-bottom {
    bottom: 20px;
}

.angie-hover-card-d313788b:hover .angie-hover-card-default-label-d313788b {
    opacity: 0;
}
.angie-hover-card-overlay-d313788b {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}
.angie-hover-card-d313788b:hover .angie-hover-card-overlay-d313788b {
    opacity: 1;
}
.angie-hover-card-content-d313788b {
    transform: translateY(20px);
    transition: transform 0.4s ease;
    width: 100%;
}
.angie-hover-card-d313788b:hover .angie-hover-card-content-d313788b {
    transform: translateY(0);
}
.angie-hover-card-title-d313788b {
    color: #fff;
    margin-bottom: 10px;
    margin-top: 0;
}
.angie-hover-card-desc-d313788b {
    color: #ddd;
    margin-bottom: 20px;
}
.angie-hover-card-btn-d313788b {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 0; /* Sharp square edges */
    transition: background-color 0.2s ease;
}
.angie-hover-card-btn-d313788b:hover {
    background-color: #005177;
    color: #fff;
}