.resource-detail {
    background-color: #EFEFEF
}

.resource-detail .resource-header {
    position: relative;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    background-color: #2E5FFF
}

.resource-detail .resource-header.has-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(48, 75, 108, 0.8);
    z-index: 1
}

.resource-detail .resource-header.has-image .bg-image {
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.resource-detail .resource-header .content {
    position: relative;
    z-index: 2
}

.resource-detail .resource-header .content .resource-categories {
    margin-bottom: 1rem
}

.resource-detail .resource-header .content .resource-categories span.tags {
    color: #FFF;
    font-size: 0.875rem;
    line-height: 1.375rem;
    display: inline-block
}

.resource-detail .resource-header .content h1,
.resource-detail .resource-header .content .h1 {
    color: #FFF;
    margin-bottom: 0;
    max-width: 659px
}

.resource-detail .resource-header .content span.date {
    display: block;
    color: #FFF;
    font-size: 0.875rem;
    line-height: 1.375rem;
    margin-top: 0.75rem
}

.resource-detail .container.resource-body {
    padding-top: 4rem;
    padding-bottom: 4rem
}

.resource-detail .container.resource-body .h2 {
    position: relative;
    display: block;
    padding-bottom: 1rem;
    margin-bottom: 1rem
}

.resource-detail .container.resource-body .h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 48px;
    background-color: #03CFFF
}

.resource-detail .container.resource-body .body-content strong {
    font-family: "Euclid Circular A Bold", sans-serif
}

.resource-detail .container.resource-body .body-content p {
    color: #2D2F3B;
    font-size: 1rem;
    line-height: 1.5rem
}

.resource-detail .container.resource-body .body-content img {
    max-width: 100%
}

.resource-detail .container.resource-body .body-content a {
    text-decoration: underline;
    font-size: inherit;
}

.resource-detail .container.resource-body .body-content a:hover,
.resource-detail .container.resource-body .body-content a:focus {
    text-decoration: none
}

.resource-detail .container.resource-body .body-content ul,
.resource-detail .container.resource-body .body-content ol {
    max-width: 100%;
    padding-bottom: 1.25rem;
    margin-bottom: 0
}

.resource-detail .container.resource-body .body-content ul li,
.resource-detail .container.resource-body .body-content ol li {
    color: #2D2F3B;
    font-size: 1rem;
    line-height: 1.5rem;
    padding-top: 0rem;
    padding-right: 0rem;
    padding-bottom: 0.625rem;
    padding-left: 0rem
}

.resource-detail .container.resource-body .body-content ul {
    list-style-type: none
}

.resource-detail .container.resource-body .body-content ul li {
    position: relative
}

.resource-detail .container.resource-body .body-content ul li::before {
    position: absolute;
    content: url("/themes/custom/qsci/frontend/www/assets/icon/check-solid.svg");
    margin-top: 0.1875rem;
    margin-right: 0rem;
    margin-bottom: 0rem;
    margin-left: -1.125rem;
    width: 14px
}

.resource-detail .container.resource-body .detail-card {
    background-color: #FFF;
    padding-top: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
    border: 1px solid #EFEFEF;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.5rem;
    max-width: 436px;
    margin-left: auto
}

.resource-detail .container.resource-body .detail-card:last-of-type {
    margin-bottom: 0
}

.resource-detail .container.resource-body .detail-card h5,
.resource-detail .container.resource-body .detail-card .h5 {
    margin-bottom: 0
}

.resource-detail .container.resource-body .detail-card.cta h5,
.resource-detail .container.resource-body .detail-card.cta .h5 {
    margin-right: 3.875rem
}

.resource-detail .container.resource-body .detail-card.date h5,
.resource-detail .container.resource-body .detail-card.date .h5 {
    margin-right: 4.875rem
}

.resource-detail .container.resource-body .detail-card.date span {
    font-size: 1rem;
    line-height: 1.5rem
}

.resource-detail .container.resource-body .detail-card.social-links h5,
.resource-detail .container.resource-body .detail-card.social-links .h5 {
    margin-right: 4.3125rem
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2D2F3B;
    width: 44px;
    height: 44px;
    border: 2px solid #03CFFF;
    border-radius: 50%;
    text-align: center;
    z-index: 1;
    margin-right: 1rem
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:last-of-type {
    margin-right: 0
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper svg {
    width: 100%;
    min-width: 14px;
    max-width: 14px;
    max-height: 16px;
    fill: #FFF
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    padding-top: 0;
    z-index: -1;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    background: #03CFFF;
    transition: all 0.15s ease-in-out
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:hover,
.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:focus {
    border-color: transparent
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:hover::before,
.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:focus::before {
    background: #0A66C2;
    width: 105%;
    padding-top: 105%
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:hover.share-twitter::before,
.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:focus.share-twitter::before {
    background: #1DA1F2
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:hover.share-facebook::before,
.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:focus.share-facebook::before {
    background: #1877F2
}

.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:hover svg,
.resource-detail .container.resource-body .detail-card.social-links .icon-wrapper:focus svg {
    width: 100%;
    min-width: 14px;
    max-width: 14px;
    max-height: 16px;
    fill: #FFF
}

@media (max-width: 1199.98px) {
    .resource-detail .resource-header {
        padding-top: 3rem;
        padding-bottom: 3rem
    }

    .resource-detail .resource-header .content {
        position: relative;
        z-index: 2
    }

    .resource-detail .resource-header .content .resource-categories {
        text-align: center
    }

    .resource-detail .resource-header .content h1,
    .resource-detail .resource-header .content .h1 {
        text-align: center
    }

    .resource-detail .resource-header .content span.date {
        text-align: center
    }

    .resource-detail .container.resource-body {
        padding-top: 1.875rem;
        padding-bottom: 3rem
    }

    .resource-detail .container.resource-body .row {
        flex-direction: column-reverse
    }

    .resource-detail .container.resource-body .body-content p {
        font-size: 0.875rem;
        line-height: 1.375rem
    }

    .resource-detail .container.resource-body .body-content ul li,
    .resource-detail .container.resource-body .body-content ol li {
        font-size: 0.875rem;
        line-height: 1.375rem;
        padding-top: 0rem;
        padding-right: 0rem;
        padding-bottom: 0.625rem;
        padding-left: 0rem
    }

    .resource-detail .container.resource-body .detail-card {
        max-width: none
    }

    .resource-detail .container.resource-body .detail-card:last-of-type {
        margin-bottom: 3rem
    }

    .resource-detail .container.resource-body .detail-card h5,
    .resource-detail .container.resource-body .detail-card .h5 {
        font-size: 1rem;
        line-height: 1.5rem
    }

    .resource-detail .container.resource-body .detail-card.cta h5,
    .resource-detail .container.resource-body .detail-card.cta .h5 {
        margin-right: 2.9375rem
    }

    .resource-detail .container.resource-body .detail-card.date h5,
    .resource-detail .container.resource-body .detail-card.date .h5 {
        margin-right: 3.6875rem
    }

    .resource-detail .container.resource-body .detail-card.date span {
        font-size: 0.875rem;
        line-height: 1.375rem
    }

    .resource-detail .container.resource-body .detail-card.social-links h5,
    .resource-detail .container.resource-body .detail-card.social-links .h5 {
        margin-right: 3.5625rem
    }
}