/* Inherit the existing video-card grid/typography without impersonating a video. */
.javhd-native-ad { min-width: 0; }
.javhd-native-ad.is-inactive { visibility: hidden; }
@media (min-width: 768px) {
    .javhd-native-ad[data-desktop="0"] { display: none; }
    .home-last-added .video-grid > #javhd-native-ad-1[data-desktop="1"] ~ .video-card:last-child { display: none; }
}
@media (max-width: 767px) {
    .javhd-native-ad[data-mobile="0"] { display: none; }
    .home-last-added .video-grid > #javhd-native-ad-1[data-mobile="1"] ~ .video-card:last-child { display: none; }
}
.javhd-native-ad .video-thumbnail iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.javhd-native-ad-label {
    position: absolute;
    z-index: 1;
    bottom: 0.5rem;
    right: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.75rem;
    pointer-events: none;
}
