

/* Start:/local/templates/RadioVos/components/dev/radio.broadcast.list.found/search_programm/style.css?177926918514815*/
.archive-background_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.archive-background_container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #b7ff9f 0%, #6be3c4 50%, #35b9ff 100%);
    pointer-events: none;
    z-index: 0;
}

.archive-background_container::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
    z-index: 0;
}
#main-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 1rem;
}

/* Ссылка для пропуска навигации (skip link) для скринридеров */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    background: #ffd966;
    color: #0a2a24;
    text-decoration: none;
    font-weight: bold;
    z-index: 100;
}

.skip-link:focus {
    width: auto;
    height: auto;
    padding: 8px 16px;
    margin: 0;
    clip: auto;
    white-space: normal;
    top: 0;
    left: 0;
    position: fixed;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* заголовок страницы */
#main-content .archive-header {
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

#main-content .archive-header h1 {
    font-weight: 700;
	color: #224858;
    letter-spacing: -0.3px;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

#main-content .archive-header p {
    color: #1a2a2a;
    margin-top: 0.5rem;
    font-size: clamp(0.85rem, 3vw, 1rem);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255,255,255,0.2);
}

/* flex-контейнер для карточек — одна колонка на всех экранах */
#main-content .podcast-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* карточка подкаста */
#main-content .podcast-card {
    background: rgba(20, 45, 56, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px solid rgba(255, 217, 102, 0.3);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
}

#main-content .podcast-card:hover {
    transform: translateY(-4px);
    border-color: #b7ff9f;
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.7);
    background: rgba(20, 45, 56, 0.95);
}

#main-content .podcast-card:focus-within {
    outline: 3px solid #b7ff9f;
    outline-offset: 4px;
    transform: translateY(-2px);
}

/* верхняя строка: изображение + заголовок */
#main-content .podcast-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

/* изображение 100x100 */
#main-content .podcast-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a3a33, #1e2a26);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #6be3c4;
    transition: transform 0.3s ease;
}

#main-content .podcast-card:hover .podcast-image {
    transform: scale(1.02);
}

#main-content .podcast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#main-content .podcast-title-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 100px;
}

#main-content .podcast-title {
    font-weight: 700;
    background: linear-gradient(135deg, #ffd966, #6be3c4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}

#main-content .podcast-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    border-top: 1px dashed rgba(255, 217, 102, 0.3);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

#main-content .air-time,
#main-content .frequency {
    padding: 0.3rem 0.9rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
}

#main-content .air-time {
    background: rgba(107, 227, 196, 0.2);
    color: #6be3c4;
}

#main-content .frequency {
    background: rgba(255, 217, 102, 0.18);
    color: #ffd966;
}

#main-content .podcast-description {
    color: #D7FFF5;
    line-height: 1.6;
    font-size: clamp(0.85rem, 2.8vw, 1rem);
    margin: 0.75rem 0;
}

#main-content .podcast-footer {
    margin-top: auto;
}

#main-content .btn-archive {
    background: transparent;
    border: 2px solid #6be3c4;
    border-radius: 60px;
    color: #6be3c4;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

#main-content .btn-archive:hover,
#main-content .btn-archive:focus {
    background: rgba(183, 255, 159, 0.25);
    border-color: #b7ff9f;
    color: #b7ff9f;
    transform: translateX(4px);
    outline: none;
}

#main-content .btn-archive:focus-visible {
    outline: 2px solid #6be3c4;
    outline-offset: 3px;
}

#main-content .archive-footer-note {
    text-align: center;
    border-top: 1px solid rgba(255, 217, 102, 0.2);
    font-size: clamp(0.7rem, 2.5vw, 0.85rem);
    color: #1a2a2a;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-weight: 500;
}

/* анимация */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#main-content .podcast-card {
    animation: fadeSlideUp 0.4s ease forwards;
    opacity: 0;
}

#main-content .podcast-card:nth-child(1) {
    animation-delay: 0.02s;
}

#main-content .podcast-card:nth-child(2) {
    animation-delay: 0.05s;
}

#main-content .podcast-card:nth-child(3) {
    animation-delay: 0.08s;
}

#main-content .podcast-card:nth-child(4) {
    animation-delay: 0.11s;
}

#main-content .podcast-card:nth-child(5) {
    animation-delay: 0.14s;
}

#main-content .podcast-card:nth-child(6) {
    animation-delay: 0.17s;
}

#main-content .podcast-card:nth-child(7) {
    animation-delay: 0.2s;
}

#main-content .podcast-card:nth-child(8) {
    animation-delay: 0.23s;
}

#main-content .podcast-card:nth-child(9) {
    animation-delay: 0.26s;
}

#main-content .podcast-card:nth-child(10) {
    animation-delay: 0.29s;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 575px) {
    #main-content {
        padding: 0.75rem;
    }

    #main-content .podcast-grid {
        gap: 1.2rem;
    }

    #main-content .podcast-card {
        padding: 1rem;
        border-radius: 24px;
    }

    #main-content .podcast-row {
        gap: 0.85rem;
    }

    #main-content .podcast-image {
        width: 75px;
        height: 75px;
        border-radius: 16px;
    }

    #main-content .podcast-title-wrap {
        min-height: 75px;
    }

    #main-content .podcast-meta {
        padding-top: 0.65rem;
        gap: 0.6rem;
    }

    #main-content .btn-archive {
        padding: 0.45rem 1.1rem;
        font-size: 0.8rem;
    }
}

@media (min-width: 576px) {
    #main-content {
        padding: 1rem;
        max-width: 540px;
        margin: 0 auto;
    }

    #main-content .podcast-grid {
        gap: 1.4rem;
    }

    #main-content .podcast-card {
        padding: 1.2rem;
        border-radius: 28px;
    }

    #main-content .podcast-image {
        width: 90px;
        height: 90px;
        border-radius: 18px;
    }

    #main-content .podcast-title-wrap {
        min-height: 90px;
    }
}

@media (min-width: 768px) {
    #main-content {
        padding: 1.5rem;
        max-width: 720px;
    }

    #main-content .podcast-grid {
        gap: 1.6rem;
    }

    #main-content .podcast-card {
        padding: 1.5rem;
        border-radius: 32px;
    }

    #main-content .podcast-image {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

    #main-content .podcast-title-wrap {
        min-height: 100px;
    }
}

@media (min-width: 992px) {
    #main-content {
        max-width: 960px;
        padding: 2rem;
    }

    #main-content .podcast-grid {
        gap: 1.8rem;
    }

    #main-content .podcast-card {
        padding: 1.8rem;
        border-radius: 40px;
    }

    #main-content .podcast-image {
        width: 110px;
        height: 110px;
        border-radius: 24px;
    }

    #main-content .podcast-title-wrap {
        min-height: 110px;
    }

    #main-content .podcast-title {
        font-size: 1.6rem;
    }

    #main-content .air-time,
    #main-content .frequency {
        font-size: 0.9rem;
        padding: 0.45rem 1.2rem;
    }

    #main-content .podcast-description {
        font-size: 1rem;
    }

    #main-content .btn-archive {
        padding: 0.7rem 1.6rem;
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    #main-content {
        max-width: 1140px;
    }

    #main-content .podcast-grid {
        gap: 2rem;
    }

    #main-content .podcast-card {
        padding: 2rem;
        border-radius: 44px;
    }

    #main-content .podcast-image {
        width: 120px;
        height: 120px;
        border-radius: 28px;
    }

    #main-content .podcast-title-wrap {
        min-height: 120px;
    }

    #main-content .podcast-title {
        font-size: 1.8rem;
    }
}

@media (min-width: 1400px) {
    #main-content {
        max-width: 1320px;
        padding: 2.5rem;
    }

    #main-content .podcast-card {
        padding: 2.2rem;
        border-radius: 48px;
    }

    #main-content .podcast-image {
        width: 130px;
        height: 130px;
        border-radius: 32px;
    }

    #main-content .podcast-title-wrap {
        min-height: 130px;
    }

    #main-content .podcast-title {
        font-size: 2rem;
    }
}



/* ===== СТИЛИ ДЛЯ АДМИН-ПАНЕЛИ (только для авторизованных) ===== */
#main-content .admin-controls {
    margin-bottom: 24px; 
    display: flex; 
    justify-content: center;
}
#main-content .podcast-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

#main-content .admin-actions {
    position: absolute;
    top: -16px;
    right: 20px;
}

#main-content .btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
}

#main-content .btn-add {
    background: rgba(20, 45, 56, 0.85);
    border-color: #6be3c4;
    color: #6be3c4;
    padding: 30px 100px;
	font-size: 20px;
}

#main-content .btn-add:hover,
#main-content .btn-add:focus {
    background-color: rgba(30, 60, 75, 0.85);
    border-color: #ffd966;
    color: #ffd966;
    transform: translateY(-2px);
}

#main-content .btn-edit {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                      linear-gradient(135deg, #b7ff9f, #6be3c4, #35b9ff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #D7FFF5;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#main-content .btn-edit:hover,
#main-content .btn-edit:focus {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                      linear-gradient(135deg, #d4ffc4, #a8f5e0, #8ad4ff);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(107, 227, 196, 0.35);
}

#main-content .btn-delete {
    background: rgba(220, 53, 69, 0.15);
    border-color: #dc3545;
    color: #ff6b7c;
}

#main-content .btn-delete:hover,
#main-content .btn-delete:focus {
    background: rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    color: #ff8f9e;
}








/* ===== СТИЛИ ДЛЯ ПОИСКА ===== */
.search-container {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    width: 100%;
}

.search-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(20, 45, 56, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    padding: 5px;
    border: 1px solid rgba(255, 217, 102, 0.3);
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: #6be3c4;
    box-shadow: 0 0 0 3px rgba(107, 227, 196, 0.2);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: #D7FFF5;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(215, 255, 245, 0.5);
}

.search-input:focus {
    outline: none;
}

.btn-search {
    background: rgba(107, 227, 196, 0.2);
    border: 1px solid #6be3c4;
    color: #6be3c4;
    padding: 8px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-search:hover {
    background: rgba(107, 227, 196, 0.4);
    transform: translateY(-2px);
}

.btn-reset {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b7c;
    padding: 8px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
	box-sizing: border-box;
}

.btn-reset:hover {
    background: rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
    color: #ff8f9e;
}






/* Адаптив для поиска и формы */
@media (max-width: 575px) {
    .search-wrapper {
        flex-direction: column;
        border-radius: 20px;
        background: rgba(20, 45, 56, 0.8);
    }
    
    .btn-search, .btn-reset {
        width: 100%;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Анимация для результатов поиска */
.podcast-card {
    transition: all 0.3s ease;
}

.podcast-card.search-highlight {
    animation: searchPulse 0.5s ease;
}

@keyframes searchPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(107, 227, 196, 0.5);
    }
}
/* End */
/* /local/templates/RadioVos/components/dev/radio.broadcast.list.found/search_programm/style.css?177926918514815 */
