.flash-card {
    height: 75vh;
    margin: 0;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Video container */
.flash-card-body {
    flex-grow: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Horizontally center the video */
    align-items: center;
    /* Vertically center the video */
    overflow: hidden;
    /* Hide overflow, but allow the video to scale */
    object-fit: contain;
    max-height: calc(100vh - 80px);
}

/* Video styles to fill the card */
.flash-video-container {
    width: 100%;
    height: 100%;
    /* Restrict the height of the video */
    flex-shrink: 0;
    /* Prevent shrinking */
    object-fit: contain;
    /* Maintain aspect ratio */
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flash-video-container video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    overflow: hidden;
    border: none;
    background-color: #000000;
}

.flash-video-container img,
.flash-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000000;
}

/* Style for images */
.flash-video-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Maintain aspect ratio */
    border: none;
    /* Remove any border */
    background-color: #000000;
    /* Background color to fill the empty space */
}

/* Footer styles */
.flash-card-footer {
    padding: 10px;
    background-color: #ffffff;
    flex-shrink: 0;
    z-index: 1;
    /* Ensure it stays above other content */
    position: relative;
    /* Allow for position adjustments */
    margin-top: 0;
    /* Move footer to the bottom */
    min-height: 80px;
    /* Ensures footer has a minimum height */
    box-sizing: border-box;
    /* Prevents padding from expanding size */
    border: 1px solid #f9f6f6;
    /* Add border to all sides */
    border-top: 2px solid #000;
}

.ads-card {
    height: 75vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Video container */
.ads-card-body {
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    height: 100%;
}

/* Video styles to fill the card */
.ads-video-container {
    width: 100%;
    max-height: 75%;
    display: flex;
    flex-shrink: 0;
    object-fit: contain;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.ads-video-container video,
.ads-video-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    overflow: hidden;
}

.text-container {
    flex-grow: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 1rem;
    object-fit: contain;
    background-color: #ffffff;
    flex-shrink: 0;
    z-index: 1;
    overflow: hidden;
    margin-top: 0;
}

.spotlight-card {
    height: 75vh;
    margin: 0;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Video container */
.spotlight-card-body {
    flex-grow: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Horizontally center the video */
    align-items: center;
    /* Vertically center the video */
    overflow: hidden;
    /* Hide overflow, but allow the video to scale */
    object-fit: contain;
    max-height: calc(100vh - 80px);
}

/* Video styles to fill the card */
.spotlight-container {
    width: 100%;
    height: 100%;
    /* Restrict the height of the video */
    flex-shrink: 0;
    /* Prevent shrinking */
    object-fit: contain;
    /* Maintain aspect ratio */
    background-color: #08244e;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spotlight-container video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    overflow: hidden;
    border: none;
    background-color: #08244e;
}

.spotlight-container img,
.spotlight-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #08244e;
}

/* Style for images */
.spotlight-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Maintain aspect ratio */
    border: none;
    /* Remove any border */
    background-color: #08244e;
    /* Background color to fill the empty space */
}

/* Footer styles */
.spotlight-card-footer {
    padding: 10px;
    background-color: #ffffff;
    flex-shrink: 0;
    z-index: 1;
    /* Ensure it stays above other content */
    position: relative;
    /* Allow for position adjustments */
    margin-top: 0;
    /* Move footer to the bottom */
    min-height: 80px;
    /* Ensures footer has a minimum height */
    box-sizing: border-box;
    /* Prevents padding from expanding size */
    border: 1px solid #f9f6f6;
    /* Add border to all sides */
    border-top: 2px solid #000;
}


@media only screen and (max-width: 768px) {

    .flash-video-container img,
    .flash-video-container video {
        object-fit: contain;
        height: auto;
    }

    .ads-video-container img,
    .ads-video-container video {
        object-fit: contain;
    }

    .spotlight-container img,
    .spotlight-container video {
        object-fit: contain;
    }

    .flash-card-footer {
        margin-top: 0;
        min-height: 80px;
    }

    .spotlight-card-footer {
        margin-top: 0;
        min-height: 80px;
    }
}