/* Hover Info Card Styles */
.hic-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    box-sizing: border-box;
    transition: all 400ms ease-in-out;
}

.hic-hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 400ms ease-in-out;
    z-index: 1;
}

.hic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 400ms ease-in-out;
    z-index: 2;
}

.hic-card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
    box-sizing: border-box;
}

.hic-image-wrapper {
    display: inline-block;
    opacity: 1;
    transition: opacity 400ms ease-in-out;
}

.hic-image-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

.hic-text-wrapper {
    width: 100%;
    margin-top: auto;
}

.hic-title {
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 400ms ease-in-out;
}

.hic-description {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 400ms ease-in-out;
}

/* Hover States */
.hic-card:hover .hic-hover-bg {
    opacity: 1;
}

.hic-card:hover .hic-image-wrapper {
    opacity: 0;
}
