.hc-card {
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    min-height: 380px;
    border-radius: 16px;
    background-color: #0d4f5c !important;
    transition: background-color 0.4s ease;
    box-sizing: border-box;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
}

.hc-card:hover {
    background-color: #3ab54a !important;
}

/* Icon */
.hc-card__icon {
    padding: 2rem 2rem 1rem;
    flex-shrink: 0;
    transition: opacity 0.35s ease;
}

.hc-card__icon img {
    width: 45%;
    height: auto;
    display: block;
}

.hc-card:hover .hc-card__icon {
    opacity: 0;
}

/* Default state: title + subheader at bottom */
.hc-card__default {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 1.75rem 2rem;
    transition: opacity 0.3s ease;
}

.hc-card:hover .hc-card__default {
    opacity: 0;
    pointer-events: none;
}

.hc-card__header {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.15;
}

.hc-card__subheader {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Hover state: detail text */
.hc-card__hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.hc-card:hover .hc-card__hover {
    opacity: 1;
    pointer-events: auto;
}

.hc-card__detail {
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.65;
    margin: 0;
}