/* Any resource cards
   ========================================================================== */
  
.resource-card {
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    color: white;
    
    display: flex;
    flex-flow: column nowrap;
    transition: transform 400ms ease-in-out;
    transform: scale(1);
}
.resource-card:hover {
    transform: scale(0.95);
}

.resource-card__anchor {
    display: block;
    text-decoration: none;
    color: inherit;
    
    max-width: min(84vw, 374px);
    
}
.resource-card__anchor.swiper-slide {
    height: auto;
}

.resource-card__img {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .resource-card .tags-container {
        margin-bottom: 7px;
    }
    .resource-card__img {
        height: 168px;
    }
}
@media screen and (min-width: 768px) {
    .resource-card .tags-container {
        margin-bottom: 12px;
    }
    .resource-card__img {
        height: 200px;
    }
}

.resource-card__attr {
    font-size: 14px;
    line-height: 26px;
    color: var(--pmn--black);
}

.ftc-feed__title {
    color: var(--pmn--pink);
}

.ftc-feed__title,
.ftc-feed__text {
    padding: 0px var(--global-block-padding);
}
@media screen and (max-width: 767px) {
    .ftc-feed {
        padding: 45px 0px 74px;
    }
    .ftc-feed__title {
        font-size: 36px;
        line-height: 36px;
    }
    .ftc-feed__text {
        font-size: 14px;
        line-height: 22px;
        margin-top: 28px;
        
    }
}
@media screen and (min-width: 768px) {
    .ftc-feed {
        padding: 70px 0px;
    }
    .ftc-feed__title {
        font-size: 48px;
        line-height: 52px;
        text-align: center;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .ftc-feed__text {
        font-size: 18px;
        line-height: 28px;
        text-align: center;
        margin-top: 22px;
        margin-bottom: 25px;
        max-width: 770px;
        margin-left: auto;
        margin-right: auto;
    }
    .ftc-feed__title,
    .ftc-feed__text {
        padding: 0px;
    }
}

@media screen and (min-width: 1340px) {
    .has-3 .ftc-feed__swiper__pagination {
        opacity: 0;
    }
     .has-3 {
        pointer-events: none;
    }
    
     .has-3 .swiper-slide {
        pointer-events: all;
    }
}

.ftc-feed__swiper {
    --swiper-wrapper-transition-timing-function: initial;
    
    --swiper-pagination-bullet-size: 6px;
    --swiper-pagination-bullet-horizontal-gap: 7px; /* margin on both bullet sides*/
    /* active bullets */
    --swiper-pagination-color: var(--pmn--blue-light);
    --swiper-pagination-bullet-opacity: 1;
    /* inactive bullets */
    --swiper-pagination-bullet-inactive-color: #000;
    --swiper-pagination-bullet-inactive-opacity: .2;
    
    
    padding: 35px 0; /* allow cards shadow to be visible */ 
}
.ftc-feed__swiper__pagination {
    position: relative;
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
    margin: 23px 0px 0px;
}

/*@media screen and (min-width: 1366px) {*/
/*    .ftc-feed__swiper {*/
/*        padding-bottom: 50px;*/
/*    }*/
/*    .ftc-feed__swiper > .swiper-wrapper {*/
/*        justify-content: center;*/
/*        column-gap: 20px;*/
/*    }*/
/*    .ftc-feed__swiper__pagination {*/
/*        display: none;*/
/*    }*/
/*}*/

/* Formation cards
   ========================================================================== */
.formation-card > .tags-container {
    margin-top: 15px;
}
@media screen and (max-width: 767px) {
    .formation-card {
        padding: 35px 27px 24px;
    }
    .formation-card > .blue-link {
        margin-top: 47px;
    }
    .ftc-feed__swiper {
        padding-left: 30px;
    }
}
@media screen and (min-width: 768px) {
    .formation-card {
        padding: 45px 30px 37px;
    }
    .formation-card > .resource-card__anchor {
        padding: 34px 30px 24px;
    }
    .formation-card__level {
        margin-bottom: 35px;
    }
    .formation-card > .blue-link {
        margin-top: auto;
    }
}

.formation-card__title {
    font-size: 1.5em;
    line-height: 1.15;
    font-weight: 700;
    color:var(--pmn--black);
}

.ftc-feed[style="background-color: var(--pmn--pink);"] .formation-card__title {
    color:black;
}

/* Testimony cards
   ========================================================================== */
.v-only-testimony-card {
    background-color: white;
    color: var(--pmn--pink);
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
.video-only-testimony-card {
    min-height: 310px;
    min-aspect-ratio: 9 / 16;
}
.video-testimony-card,
.video-only-testimony-card {
    overflow: hidden;
}
.video-testimony-card__video-container,
.video-only-testimony-card {
    position: relative;
}
.video-testimony-card__video-container > iframe,
.video-only-testimony-card > iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}
.video-testimony-card__text-container {
    margin: 15px 18px 31px 40px;
}
.video-testimony-card__title {
    margin-bottom: 45px;
    color: var(--pmn--pink);
}

.written-testimony-card {
    padding: 30px 40px 31px;
    row-gap: 25px
}
.written-testimony-card__verbatim {
    font-weight: 700;
}
.written-testimony-card__author {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    column-gap: 20px;
    
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    
    color: black;
}
.testimony-card__photo {
    width: 50px;
    line-height: 50px;
    border-radius: 25px;
}
.v-only-testimony-card .testimony-card__photo {
    margin-top: 50px;
}
.written-testimony-card__details {
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
}
.written-testimony-card__formation {
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
    color:black;
}
.written-testimony-card__position {
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
    color:black;
}
.written-testimony-card .blue-link {
    margin-top: auto;
}
.v-only-testimony-card__verbatim {
    margin-bottom: auto;
}
.v-only-testimony-card__verbatim,
.v-only-testimony-card__author,
.v-only-testimony-card__formation {
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .v-only-testimony-card {
        padding: 44px 27px 31px;
    }
    .v-only-testimony-card__verbatim {
        font-size: 24px;
        line-height: 28px;
    }
    .video-testimony-card__video-container {
        height: 168px;
    }
    .written-testimony-card__verbatim {
        font-size: 18px;
        line-height: 22px;
        color:var(--pmn--pink);
    }
    
    .v-only-testimony-card__author {
        font-size: 18px;
        line-height: 22px;
    }
    .v-only-testimony-card__formation,
    .v-only-testimony-card__position {
        font-size: 14px;
        line-height: 22px;
    }
}
@media screen and (min-width: 768px) {
    .v-only-testimony-card {
        padding: 66px 30px 42px;
        text-align: center;
    }
    .v-only-testimony-card__verbatim {
        font-size: 24px;
        line-height: 28px;
    }
    .video-testimony-card__video-container {
        height: 200px;
    }
    .written-testimony-card__verbatim {
        font-size: 32px;
        line-height: 32px;
        color:var(--pmn--pink);
    }
    
    .v-only-testimony-card__author {
        font-size: 24px;
        line-height: 28px;
    }
    .v-only-testimony-card__formation,
    .v-only-testimony-card__position {
        font-size: 14px;
        line-height: 22px;
    }
}
/* Post cards
   ========================================================================== */
.post-card__text-container {
    flex: 1;
    
    display: flex;
    flex-flow: column nowrap;
}
.post-card__title {
    font-weight: 700;
    color:var(--pmn--pink);
}
.post-card__excerpt {
    color:var(--pmn--black);
    margin-top: 6px;
    margin-bottom: auto;
}
.post-card__title,
.post-card__excerpt { /*line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__text-container > .blue-link {
    margin-top: 20px;
}

@media screen and (max-width: 767px) {
    .post-card__text-container {
        padding: 12px 27px 27px;
    }
    .post-card__date {
        margin-top: 12px;
    }
    .post-card__title {
        font-size: 18px;
        line-height: 20px;
        margin-top: 15px;
    }
    .post-card__excerpt {
        font-size: 14px;
        line-height: 22px;
    }
    .ftc-feed__cta {
        margin-left: var(--global-block-padding);
        width: calc(100% - var(--global-block-padding) * 2);
    }
}
@media screen and (min-width: 768px) {
    .post-card__text-container {
        padding: 15px 40px 31px;
    }
    .post-card__date {
        margin-top: 15px;
    }
    .post-card__title {
        font-size: 22px;
        line-height: 26px;
        margin-top: 25px;
    }
    .post-card__excerpt {
        font-size: 18px;
        line-height: 28px;
    }
}

/* Jobsheets cards
   ========================================================================== */

.jobsheet-card__title {
    font-weight: 700;
}
.jobsheet-card__excerpt {
    
    line-height: 22px;
    margin-bottom: auto;
}
.jobsheet-card__title { /*line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jobsheet-card__excerpt { /*line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media screen and (max-width: 767px) {
    .jobsheet-card__title {
        font-size: 18px;
        line-height: 20px;
    }
    .jobsheet-card__excerpt {
        margin-top: 10px;
    }
}
@media screen and (min-width: 768px) {
    .jobsheet-card__title {
        font-size: 22px;
        line-height: 26px;
    }
    .jobsheet-card__excerpt {
        margin-top: 14px;
    }
}

/* Podcast cards
   ========================================================================== */

.wpgb-grid-fitec_podcast_grid_template .podcast-card {
    flex-flow: column nowrap;
    /*height: 300px;*/
}
.podcast-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.podcast-card  {
    
}

@media screen and (min-width: 1230px) {
    .wpgb-grid-fitec_podcast_grid_template .podcast-card {
        flex-flow: row nowrap;
        min-height: 300px;
    }
    .wpgb-grid-fitec_podcast_grid_template .podcast-card__img {
        width: 265px;
        height: 100%;
        object-fit: cover;
    }
}