/*****************************/
/*  START :: Featured Cards  */
/*****************************/

/****************************************/
/*  START :: Resource Cards - 3 column  */
/****************************************/
.row-resource-card {
    --arrow-right-diagonal: url('/wp-content/uploads/arrow-right-diagonal.svg');
}
.row-resource-card.col-3 .fl-col-group{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 19px;
}
.row-resource-card.col-2 .fl-col-group{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
}
.row-resource-card .fl-col-group:before, 
.row-resource-card .fl-col-group:after{
    display: none;
}
.row-resource-card .fl-col{
    width:100%!important;
}
.tag-resource-card p,
.tag-hero p {
    font-size: 14px;
    font-size: 0.88rem;
    line-height: 14px;
    line-height: 0.88rem;
    font-weight: 500;
    min-width: max-content;
}
.tag-resource-card .fl-rich-text,
.tag-hero .fl-rich-text{
    background-color: var(--blood-red);
    color: var(--white);
    padding: 10px 16px 12px;
    border-radius: 20px;
}
.tag-resource-card > div,
.tag-hero > div,
.cat-resource-card > div {
    margin-top: 0;
}
.tag-resource-card p,
.tag-hero p,{
    margin-bottom:0;
}
.title-resource-card{
    clear:both;
}
.title-resource-card .fl-heading-text {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0% 1px;
    display:inline;
    transition: background-size 250ms ease-in-out;
    text-decoration: none;
}
.col-resource-card:hover .title-resource-card .fl-heading-text {
    background-size: 100% 1px;
    animation: 0.25s underline;
}

.col-resource-card>.fl-col-content{
    background-size: 100%;
    background-position: top;
}
.col-resource-card .info-resource-card {
    background-image: var(--arrow-right-diagonal);
    background-position-x: calc(100% - 26px);
    background-position-y: 26px;
    background-repeat: no-repeat;
    background-size: 22px;
    border-radius: 30px;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
    height: 100%;
}
.col-resource-card .info-resource-card .cat-resource-card {
    padding-right: 23px;
}
.col-resource-card .info-resource-card > .fl-module-box{
    align-items: flex-start;
}
.row-resource-card>.fl-col, 
.col-resource-card>.fl-col-content, 
.col-resource-card>.fl-col-content>.fl-col-group, 
.row-resource-card .fl-col{
    /* height: auto; */
    height: 100%;
}
.title-resource-card + .fl-module-rich-text p{
    margin-bottom:0px;
}

.row-resource-card .fl-col{
    position: relative;
}

/* =================================================
                BB "LARGE" DESKTOP, only
================================================= */
@media only screen and (min-width: 992px) and (max-width: 1366px) {
   .row-resource-card.col-3 .fl-col-group:not(.fl-col-group-nested) {
        grid-template-columns: 1fr 1fr;
    }
}

/* =================================================
                TABLET, and down
================================================= */
@media only screen and (max-width: 992px) {
    .row-resource-card.col-3 .fl-col-group:not(.fl-col-group-nested) {
        grid-template-columns: 1fr 1fr;
    }
    .col-resource-card .info-resource-card > .fl-module-box{
        flex-direction: column;
        gap: 8px;
    }
}
@media only screen and (min-width: 560px) and (max-width: 768px) {
    /* custom breakpoint, so we don't see source text break onto 3rd line */
    .col-resource-card .info-resource-card > .fl-module-box{
        flex-direction: row;
        gap: 16px;
    }
}

/* =================================================
                MOBILE, only
================================================= */
@media only screen and (max-width: 768px) {
    .row-resource-card.col-3 .fl-col-group:not(.fl-col-group-nested),
    .row-resource-card.col-2 .fl-col-group:not(.fl-col-group-nested){
        gap: 26px;
        grid-template-columns: 1fr;
    }
    .col-resource-card .info-resource-card {
        height:unset!important;
    }
    .col-resource-card>.fl-col-content {
        border-radius: 24px;
    }
    .col-resource-card .info-resource-card {
        background-position-x: calc(100% - 16px);
        border-radius: 24px;
    }
}

/****************************************/
/*  END   :: Resource Cards - 3 column  */
/****************************************/

/*****************************/
/*  END   :: Featured Cards  */
/*****************************/