/* Превью-видео VK внутри плитки подкаста */
.podcasts-tile__img {
    position: relative;
}

.podcasts-tile__img.js-podcast-video {
    cursor: pointer;
}

.podcasts-tile__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 3;
}

/* ===== AJAX-фильтр: обёртка и лоадер ===== */
.podcasts-ajax {
    position: relative;
}

.podcasts-ajax__loader {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(1px);
}

.podcasts-ajax.is-loading .podcasts-ajax__loader {
    display: flex;
}

.podcasts-ajax.is-loading .podcasts-ajax__content {
    pointer-events: none;
    opacity: .5;
    transition: opacity .15s ease;
}

.podcasts-ajax__spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(253, 73, 79, .25);
    border-top-color: #FD494F;
    border-radius: 50%;
    animation: podcasts-spin .8s linear infinite;
}

@keyframes podcasts-spin {
    to { transform: rotate(360deg); }
}
