/* Resource Block Css Start  */
.resource .articles-cards .featured-image {
    height: 264px;
}

.play-icon-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-icon-btn::before {
    content: url('../../includes/assets/images/play-button.svg');
    position: absolute;
}

.featured-image {
    height: 264px;
}

.resource .articles-cards .featured-image img {
    object-fit: cover;
    object-position: center;
}

.resource .card-heading {
    font-size: 28px;
    font-weight: 300;
}

.resource .card-text {
    font-weight: 300;
    line-height: 20px;
}

.resource .card-btn {
    padding: 8px 32px;
    border: 1px solid #05202E;
    font-weight: 300;

    &:hover {
        background-color: #E9A23E;
        border-color: #E9A23E;
    }
}

.resource .card-btn .btn-icon,
.resource .card-link .btn-icon {
    width: 14px;
    height: 14px;
}

.resource .card-link {
    border-bottom: 1px solid #05202E !important;

    &:hover {
        color: #E9A23E;
        border-bottom: 1px solid #E9A23E !important;
        fill: #E9A23E;
        stroke: #E9A23E !important;
    }

    &:hover svg path {
        fill: #E9A23E;
        stroke: #E9A23E !important;
    }
}

.responsive-layout .card-item {
    flex: 1 1 30%;
}

/* video popup animation start */

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;

    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/* video popup animation end */



@media (min-width: 1440px) {
    .modal-dialog {
        max-width: 1000px;
        margin: 1.75rem auto;
    }
}

@media (min-width: 1024px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

@media (max-width: 769px) {
    .responsive-layout .card-item {
        flex: 1 1 50%;
    }
}

@media (max-width: 575px) {
    .responsive-layout .card-item {
        flex: 1 1 100%;
    }
}


/* Resource Block Css End  */