.resource-slider {
    position: relative;
    padding-bottom: 80px;
}

.resource-card {
    background: #fff;
    position: relative;
}

.resource-image {
    position: relative;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    display: block;
    max-height: 280px;
    height: 100%;
    object-fit: cover;
}

.play-btn-video-resource {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    /* border: 4px solid #ffd400; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd400;
    font-size: 34px;
    text-decoration: none;
}

.resource-content {
    background: #b7121b;
    color: #fff;
    padding: 24px;
    clip-path: polygon( 0 0, 90% 0, 100% 40%, 100% 100%, 0 100%);
    position: relative;
    bottom: 35px;
}

.resource-content h3 {
    margin: 0;
    font-size: 30px;
}

.resource-footer {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resource-pagination {
    font-size: 24px;
}

.resource-navigation {
    position: absolute;
    right: 0;
    display: flex;
    gap: 20px;
}

.swiper-vid-button-prev,
.swiper-vid-button-next {
    position: static;
    width: 40px;
    height: 40px;
    margin: 0;
    color: #b7121b;
}

.swiper-vid-button-prev::after,
.swiper-vid-button-next::after {
    font-size: 32px;
}

.resource-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: 30px;
}

.resource-pagination {
    grid-column: 2;
    justify-self: center;
}

.resource-navigation {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 20px;
}


/* pop-up video  */

.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-popup.active {
    display: flex;
}

.video-popup-inner {
    position: fixed;
    width: 80%;
    max-width: 900px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

.video-popup video {
    width: 100%;
}

.video-close {
    position: absolute;
    top: -25px;
    right: -15px;
    color: #f15b29;
    font-size: 30px;
    font-weight: 900;
    cursor: pointer;
    background: white;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    text-align: center;
    z-index: 9;
}