.section-content-callout-cards {
    background-color: var(--color-primary-white);
    margin-block: 8rem;
}

.section-content-callout-cards > .region {
    margin-block: 5rem;
    text-align: center;
    display: grid;
    max-width: var(--content-width-wide-2);
    padding-left: 8rem;
}

.section-content-callout-cards .callout-title {
    display: inline-block !important;
    color: var(--color-brand-navy);
    font-size: 3.6rem;
    text-align: left;
}

.section-content-callout-cards .content-before {
    color: var(--color-gray-dark);
    order: 3;
}

@supports selector(:has(+ *)) {
    .card-dock:has(.card.image) .content-before {
        margin-bottom: 9.5rem;
    }
}

.card-dock :where(.card.image) .card.image .content-before {
    margin-bottom: 9.5rem;
}

.section-content-callout-cards .content-before h3 {
    font-weight: 700;
    color: var(--color-gray-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-dock.card-type-callout-grid .content-before a {
    font-weight: 400;
    color: var(--color-brand-navy);
    text-decoration: underline;
}

.section-content-callout-cards .content-before:empty {
    display: none;
}

.section-content-callout-cards .cards {
    align-items: center;
    justify-content: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.section-content-callout-cards .card-callout > * {
    text-align: left;
    color: var(--color-brand-navy);
}

.callout-text p {
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.callout-text h4 {
    color: var(--color-brand-navy);
}

.section-content-callout-cards .card-callout {
    border: solid var(--color-gray-light) 0.1rem;
    border-radius: 0.5rem;
    padding-block: 4rem;
    display: grid;
    grid-template-columns: 5.5fr 1fr;
    height: 100%;
    max-height: 24.5rem;
    text-overflow: hidden;
}

.section-content-callout-cards .card-callout:hover {
    background: var(--color-brand-navy);
    color: var(--color-primary-white);
    transition: 0.25s ease-in;
}

.section-content-callout-cards .content-before a {
    color: var(--color-brand-navy);
    text-decoration: underline;
}

.section-content-callout-cards .content-before a:visited {
    color: var(--color-brand-teal);
}

.section-content-callout-cards .card-callout:hover,
.section-content-callout-cards .card-callout:hover .callout-text p,
.section-content-callout-cards .card-callout:hover .callout-text h4 {
    color: var(--color-primary-white);
    cursor: pointer;
    transition: all 0.25s ease-in;
    text-decoration: none;
}

.section-content-callout-cards .callout-text {
    display: flex;
    flex-flow: column wrap;
    margin-left: 3rem;
    color: var(--color-brand-navy);
    transition: all 0.25s ease-in;
}

.section-content-callout-cards .card-callout h4 {
    transition: all 0.25s ease-in;
}

.section-content-callout-cards .card-callout .button.white-on-blue {
    width: 4.4rem;
    height: 4.4rem;
    padding: 0 !important;
    justify-self: flex-end;
    align-self: center;
    margin-right: -2rem;
    justify-content: center;
    display: flex;
}

.section-content-callout-cards .card-callout .button.white-on-blue svg {
    margin-top: 1.25rem;
}

.section-content-callout-cards .card-callout:hover .button.white-on-blue,
.section-content-callout-cards .card-callout:hover svg path {
    background: var(--color-brand-pale-blue);
    border: solid 0.1rem var(--color-brand-pale-blue);
    fill: var(--color-brand-navy);
    transition: all 0.25s ease-in;
}

.section-content-callout-cards .card-callout > * {
    transition: all 250ms ease-in;
}

@media screen and (max-width: 86em) {
    .section-content-callout-cards > .region {
        padding-inline: var(--mobile-padding) 5vw;
    }
}

@media screen and (max-width: 70em) {
    .section-content-callout-cards .cards {
        grid-template-columns: 1fr;
        max-width: 90vw;
    }
}

@media screen and (max-width: 33em) {
    .callout-text p {
        -webkit-line-clamp: 50;
        overflow: visible;
        text-overflow: unset;
    }

    .section-content-callout-cards .card-callout {
        max-height: unset;
    }
}
