/* Carrier retailer programs section (home + programs pages).
   Kept in its own file so the vendor theme CSS stays untouched. */

.carrier-programs .sec-title {
    margin-bottom: 45px;
}

.carrier-programs_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 38px 28px 32px;
    text-align: center;
}

/* Fixed-height box so logos of different aspect ratios sit on a shared
   baseline and read at the same optical weight across the row. */
.carrier-programs_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
    width: 100%;
    margin-bottom: 22px;
}

.carrier-programs_logo img {
    max-height: 92px;
    max-width: 78%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.carrier-programs .benefit-block_one-heading {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 26px;
    min-height: 50px;
    text-transform: none;
}

.carrier-programs_button {
    margin-top: auto;
}

@media only screen and (max-width: 767px) {
    .carrier-programs_card {
        padding: 30px 20px 26px;
    }
    .carrier-programs .benefit-block_one-heading {
        min-height: 0;
    }
}
