  /* Card Bordered Top Title Description Image Button - Unique styling */
.selection-tools .grid-row-2-cols{
    display:flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px !important;
}
.card-bordered-top-container {
    border-top: 6px solid rgba(0, 85, 150, 1);
    padding: 32px 20px;
    background-color: rgb(var(--color-white));
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card-bordered-top-title {
    color: rgb(var(--color-near-black));
    font-family: var(--font-family-bold);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.text-left .card-bordered-top-title{
    width: 100% !important;
    text-align: left !important;
}
.card-bordered-top-description {
    color: rgb(var(--color-black));
    font-family: var(--font-family-medium);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 24px;
    min-height: 104px;
    max-height: 104px;
    overflow: hidden;
}

.card-bordered-top-image-container {
    width: 100%;
    margin-bottom: 24px;
    max-height: 177px;
    overflow: hidden;
}

.card-bordered-top-image {
    width: 100%;
    height: auto;
    max-height: 177px;
    object-fit: cover;
}

.card-bordered-top-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bordered-top-card-button {
    display: inline-block;
    width: auto;
    height: 52px;
    border-radius: 6px;
    background-color: rgb(var(--color-dark-blue));
    padding: 16px 20px;
    color: rgb(var(--color-white));
    font-family: var(--font-family-bold);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid rgb(var(--color-dark-blue));
    text-align: center;
    text-decoration: none;
    line-height: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.bordered-top-card-button:hover {
    color: rgb(var(--color-dark-blue));
    background-color: rgb(var(--color-white));
    border: 2px solid rgb(var(--color-dark-blue));
}

@media (min-width: 878px) and (max-width: 1023px) {
    .selection-tools .grid-row-3-cols {
        display: flex;
        flex-direction: column;
    }
 

    .card-bordered-top-container {
        display: grid;
        grid-template-columns: 1fr 288px;
        grid-template-rows: auto auto auto;
        width: 736px;
        column-gap: 30px;
        margin: auto;
    }

    .card-bordered-top-title,
    .card-bordered-top-description,
    .card-bordered-top-button-container {
        grid-column: 1;
    }

    .card-bordered-top-image-container {
        grid-column: 2;
        grid-row: 1 / 4; /* spans all 3 rows */
        width: 288px;
    }

    .card-bordered-top-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .card-bordered-top-button-container {
        justify-content: flex-start;
    }
    .card-bordered-top-description{
        margin-bottom: 0;
        line-height: 25px;
    }
}
@media (max-width: 877px) {
    .card-bordered-top-container {
        margin-left: auto;
        margin-right: auto;
    }

}
