/* Стили для блока с аудио работами */
.audio-works-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.audio-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audio-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-height: auto;
}

.audio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.audio-title {
    font-family: 'Play', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.3;
}

.audio-player {
    margin-bottom: 12px;
}

.audio-element {
    width: 100%;
    height: 35px;
    border-radius: 18px;
}

/* Кастомизация аудио плеера */
.audio-element::-webkit-media-controls-panel {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 18px;
}

.audio-element::-webkit-media-controls-play-button,
.audio-element::-webkit-media-controls-mute-button {
    background-color: #ffffff;
    border-radius: 50%;
}

.audio-element::-webkit-media-controls-current-time-display,
.audio-element::-webkit-media-controls-time-remaining-display {
    color: #ffffff;
    font-family: 'Play', sans-serif;
    font-size: 0.9rem;
}

.audio-description {
    font-family: 'Play', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

/* Адаптивность для аудио работ */
@media (max-width: 1024px) {
    .audio-works-container {
        gap: 20px;
        max-width: 900px;
    }
    
    .audio-item {
        padding: 18px;
    }
    
    .audio-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .audio-works-container {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 450px;
    }
    
    .audio-column {
        gap: 18px;
    }
    
    .audio-item {
        padding: 20px 18px;
    }
    
    .audio-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .audio-works-container {
        gap: 15px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .audio-item {
        padding: 16px 14px;
        border-radius: 10px;
    }
    
    .audio-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .audio-description {
        font-size: 0.8rem;
    }
    
    .audio-element {
        height: 32px;
    }
}

/* Специфические стили для слайда 3 */
.slide3 .audio-works-container {
    margin-top: 0;
}
/* Адаптивность для аудио работ */
@media (max-width: 768px) {
    .audio-works-container {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
        margin-top: 0;
        max-height: 60vh;
        overflow: hidden;
    }
    
    .audio-column {
        gap: 12px;
    }
    
    .audio-item {
        padding: 15px;
        margin-bottom: 0;
    }
    
    .audio-title {
        font-size: 1rem;
    }
    
    .audio-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .audio-works-container {
        gap: 10px;
    }
    
    .audio-item {
        padding: 12px;
    }
}

/* Адаптивность для аудио работ */
@media (max-width: 768px) {
    .audio-works-container {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
        margin-top: 0;
        max-height: none; /* Убираем ограничение высоты */
        overflow: visible; /* Разрешаем контенту выходить за пределы */
    }
    
    .audio-column {
        gap: 12px;
    }
    
    .audio-item {
        padding: 15px;
        margin-bottom: 0;
    }
    
    .audio-title {
        font-size: 1rem;
    }
    
    .audio-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .audio-works-container {
        gap: 10px;
    }
    
    .audio-item {
        padding: 12px;
    }
}