
.featured-ebook-card,
.ebook-post__item {
    background: rgb(41,41,41);
    background: linear-gradient(127deg, rgba(41,41,41,1) 0%, rgba(52,52,52,1) 50%, rgba(41,41,41,1) 100%);
    padding: 25px 20px 25px 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    display: block;
    position: relative;
    overflow: hidden;
    color: #fff;
    height: 100%;
}

.ebook-post__item {
    padding-bottom: 25px;
}

.ebook-post__img-container {
    background: none;
    border: none;
    width: 100%;
}

.ebook-post__img-container:hover {
    background: none;
}

.ebook-card-image img {
    border-radius: 10px;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.ebook-card-image {
    margin-bottom: 25px;
    height: 240px;
}

.featured-ebook-card__wrapper .featured-ebook-card:hover {
    background: rgb(41,41,41);
    background: linear-gradient(127deg, rgba(41,41,41,1) 0%, rgba(52,52,52,1) 50%, rgba(41,41,41,1) 100%);
}

.ebook-post__tag:hover,
.ebook-post__tag,
.ebook-cat {
    font-size: 14px;
    padding: 4px 16px;
    background: #BABABA;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    font-family: "Oswald", sans-serif;
    width: max-content;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.featured-ebook-post__wrapper.section-padding {
    padding-bottom: 0;
    padding-top: 25px;
}

.ebook-listing__pagination {
    margin: 40px 0 25px;
    text-align: center;
}

.load-more.js-load-more {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.load-more__btn {
    text-align: center;
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
}

.ebook-post-item {
    margin-bottom: 35px;
}

.ebook-post__tags {
    margin-bottom: 15px;
    margin-top: 15px;
}

.widget_search form {
    position: relative;
}

.widget_search form > p:last-child {
    position: absolute;
    top: 5px;
    right: 10px;
}

.widget_search form > p:last-child button {
    font-size: 0px;
    font-family: 'calhoun-super-icon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: rgba( 255, 255, 255, .15);
    border: none;
    width: 40px;
    height: 40px;
}

.widget_search form > p:last-child button:after {
    content: "\e918";
    font-size: 25px;
}

.widget_search form input {
    outline: none;
    border: 1px solid #BABABA;
    border-left: 8px solid #BABABA;
    padding-left: 12px;
}

.ebook-post__img-container img {
    height: 150px;
}

.ebook-post__tag {
    display: inline-block;
}

.ebook-post__tag + .ebook-post__tag {
    margin-right: 8px;
}

.ebook-item a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.ebook-item {
    margin-bottom: 37px;
    position: relative;
    border-radius: 10px;
}

.ebook-item a {
    height: 100%;
    display: inline-block;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.ebook-excerpt {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 18px;
}

.ebook-excerpt p {
    font-weight: 500;
}

.ebook-innerpage .container-fluid + .section-padding {
    padding-top: 25px;
}

.resource-btn-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #E4212E;
}

.resource-btn-overlay button i {
    font-size: 14px;
    margin-left: 7px;
    font-weight: normal;
}

.resource-btn-overlay button {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-family: "Oswald", sans-serif;
    background-color: transparent;
    border: none;
    text-transform: uppercase;
    padding: 9px 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dflex-btn .btn {
    margin: 0;
}

@media( min-width:1200px ) {

    .featured-ebook-card {
        padding: 30px 35px 30px 35px;
    }

    .ebook-post__item {
        padding: 25px 20px 25px 20px;
    }

    .ebook-card-wrapper {
        display: flex;
        text-align: left;
        align-items: center;
    }

    .ebook-card-image {
        width: auto;
        height: 247px;
        margin: 0 auto 0;
    }

    .ebook-card-image img {
        object-fit: cover;
    }

    .ebook-post__meta,
    .ebook-card-content {
        width: 100%;
        padding: 0 0 0;
        text-align: left;
    }

    .featured-ebook-card__wrapper .ebook-card-content {
        padding:  0 0 0 32px;
    }

    .ebook-post-item {
        width: calc( 50% - 25px );
        margin-bottom: 0;
    }

    .ebook-post-item__detail {
        display: flex;
        text-align: left;
        flex-wrap: wrap;
    }

    .ebook-post__tags {
        margin-bottom: 5px;
    }

    .ebook-post__title {
        font-size: 30px;
        line-height: 45px;
    }

    .resource-btn-overlay {
        position: absolute;
        bottom: -100%;
        opacity: 0;
        transition: all ease 0.3s;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgb(85,2,6);
        background: linear-gradient(138deg, rgba(85,2,6,0.95) 0%, rgba(152,0,11,0.95) 50%, rgba(85,2,6,0.95) 100%);
    }

    .ebook-item a:hover .resource-btn-overlay {
        bottom: 0;
        opacity: 1;
    }

    .resource-btn-overlay button {
        font-size: 18px;
    }
}

@media( min-width:768px ) {
    .ebook-card-content h3 {
        font-size: 30px;
        margin-top: 10px;
    }
}

@media( min-width:600px ) {
    .ebook-post-item {
        width: calc( 50% - 25px );
        margin-bottom: 0;
    }

    .ebook-listing {
        margin-bottom: -25px;
        display: flex;
        width: calc(100% + 32px);
        margin: 0 -16px;
        flex-wrap: wrap;
        gap: 25px;
    }

    .ebook-post__img-container img {
        height: 200px;
        width: 100%;
    }
}

.page-template-template-fact-sheets .ebook-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.js-brochure-wrapper {
    display: none;
}

.js-brochure-wrapper.is-active {
    display: block;
}

.dflex-btn {
    margin: 60px 0 25px;
}

.brochure-filter-btn {
    padding-left: 15px;
    padding-right: 15px;
    min-width: 70px;
}

.brochure-filter-btn:not(.is-active) {
    background: #A89F9F;
}

.brochure-filter-btn:before {
    content: none;
}

.brochure-filter__wrapper + section {
    padding-top: 30px;
}

section#language-french {
    padding-bottom: 30px;
}