/* (Triston) - I think this is deprecated? Looks like css for content callout cards */


/* Bandaid - should automatically ONLY be loaded in the callout card */
/*.region:has(.callout) .callout-title{*/
/*    display: inline-block !important;*/
/*    color: var(--color-brand-navy);*/
/*    font-size: 3.6rem;*/
/*    text-align: left;*/
/*    margin-bottom: 5.5rem;*/
/*}*/

/*.callout-title{*/
/*    display: none;*/
/*}*/
/*end bandaid */


.card-dock.card-type-callout-grid {
    background: white;
}
.card-dock.card-type-callout-grid .region {
    display: grid;
    max-width: var(--content-width-wide);
}

/*.cards:has(.callout) {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 4rem;*/
/*}*/

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

.card-dock.card-type-callout-grid .content-before {
    color: var(--color-gray-dark);
    margin-top: 6.5rem;
    order: 3;
}
.card-dock.card-type-callout-grid .content-before a{
    font-weight: 400;
}


.card-dock.card-type-callout-grid .content-before h3{
    font-size: 1.8rem;
}



.callout {
    border: solid var(--color-gray-light) 0.1rem;
    border-radius: 0.5rem;
    padding-block: 4rem;
    display: grid;
    grid-template-columns: 5.5fr 1fr;

}

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

.callout:hover,
.callout:hover .callout-text p,
.callout:hover .callout-text h3 {
    color: var(--color-primary-white);
    cursor: pointer;
    transition: all 0.25s ease-in;

}

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

}

.callout h3 {
    font-size: 2.1rem;
    font-weight: 700;
    transition: all 0.25s ease-in;

}

.callout .button.white-on-blue {
    width: 4.4rem;
    height: 4.4rem;
    padding: 0 !important;
    justify-self: flex-end;
    align-self: center;
    margin-right: -2rem;
}
.callout .button.white-on-blue svg{
    margin-top: 1.25rem;
}

.callout:hover .button.white-on-blue,
.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;
}


.callout > *{
    transition: all 250ms ease-in;
}

/* Media breakpoints*/
@media screen and (max-width: 80rem) {
    .card-dock.card-type-callout-grid .region {
        margin-inline: 4rem;
    }
}
@media screen and (max-width: 35em){
    .callout{
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        max-width: 32rem;
        padding-bottom: 4rem;
    }

    .card-dock.card-type-callout-grid .region, .card-dock.card-type-callout-grid .cards {
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
    }
    .callout .button.white-on-blue {
        justify-self: baseline;
        margin-right: 0rem;
        margin-bottom: -4.5rem;
    }
    .callout-text{
        margin-inline: 2rem;
    }

    .callout .button.white-on-blue {
        justify-self: baseline;
        position: relative;
        bottom: -2rem;
    }

}


