/* Video Card Styles */
.videos-container .video-item>a {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.videos-container .video-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.videos-container .card.card-first {
    width: 100%;
    height: auto;
}

.videos-container .card.card-first .card-image {
    height: 500px;
}

.videos-container .video-item .card-image {
    position: relative;
    overflow: hidden;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 250px;
}

.videos-container .card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.videos-container .play-button {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    margin: auto;
}

.videos-container .play-button:hover {
    opacity: 1;
}

.videos-container .play-button svg {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    color: #c4302b;
    opacity: 1;
}

.videos-container .card-footer {
    padding: 10px;
}

.videos-container .video-title {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

button.mfp-close,
button.mfp-arrow {
    overflow: visible !important;
    background: #CC3366;
    -webkit-appearance: none;
    z-index: 1046 !important;
}

.mfp-close-btn-in .mfp-close {
    top: -30px;
    right: 0;
}

.mfp-close {
    width: 30px !important;
    height: 30px !important;
    line-height: 0px !important;
    position: absolute !important;
    font-size: 42px !important;
    border-radius: 0 !important;
    display: inline-block;
    padding: 12px 0 12px 0 !important;
}