.page-ANIMAL_SHELTER.mainSpan_wrapper_home .tier1_highlights .buttons-list {
    /* Equal height: Set the container to flex and align items to stretch */
    display: flex;
    align-items: stretch;
    justify-content: flex-start; /* Ensure left alignment (not centered) */
    height: auto !important; /* CRITICAL: Force override of fixed height on container */
}

.page-ANIMAL_SHELTER.mainSpan_wrapper_home .tier1_highlights .buttons-list .buttons-list-item {
    /* Equal height item: Force override of fixed height */
    flex-grow: 1;
    height: auto !important; /* CRITICAL: Force override of fixed height on list item */
}

.page-ANIMAL_SHELTER.mainSpan_wrapper_home .tier1_highlights .buttons-list .buttons-list-item a.button-link {
    /* Equal height card: Make the link fill 100% of the li's height and enable column flex */
    display: flex;
    flex-direction: column;
    height: 100% !important; /* CRITICAL: Force 100% height to fill the list item */
}

.page-ANIMAL_SHELTER.mainSpan_wrapper_home .tier1_highlights .buttons-list .buttons-list-item a.button-link .image_frame {
    /* Image Frame: Keep the frame fixed height and override positioning */
    position: relative;
    height: 260px !important; /* Ensure a consistent height for the frame */
    top: 0 !important;
    bottom: auto !important;
    flex-shrink: 0;
}

.page-ANIMAL_SHELTER.mainSpan_wrapper_home .tier1_highlights .buttons-list .buttons-list-item a.button-link .image_frame img.button-img {
    /* Image Fix: Force image to fill frame, revert to cover to hide background */
    height: 100% !important;
    width: 100% !important;
    max-width: 100%;
    /* Use 'cover' to fill the frame and eliminate the background border */
    object-fit: cover !important;
}

.page-ANIMAL_SHELTER.mainSpan_wrapper_home .tier1_highlights .buttons-list .buttons-list-item a.button-link .button_content {
    /* Content Equal Height: Make the content area grow and clear fixed positioning/height */
    position: relative;
    height: auto !important;
    flex-grow: 1;
    top: auto !important;
    bottom: auto !important;
}

.page-ANIMAL_SHELTER.mainSpan_wrapper_home .tier1_highlights .buttons-list .buttons-list-item a.button-link .button_content small {
    /* Push the "Learn More" link to the bottom of the content area */
    margin-top: auto;
    display: block;
}