/* Contenitore principale */
.podcast-archive-container {
    font-family: sans-serif;
    max-width: 800px;
    margin: 20px auto;
}

/* Filtri */
.podcast-filters {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.podcast-filters .filter-btn {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
}
.podcast-filters .filter-btn:hover {
    background-color: #e0e0e0;
}

/* Lista dei podcast */
#podcast-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.podcast-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
}

.podcast-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.podcast-placeholder {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.podcast-info .podcast-title {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: #333;
}

.podcast-info .podcast-date {
    margin: 0;
    font-size: 0.9em;
    color: #777;
}

/* Stile del Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}

#popup-title {
    margin-top: 0;
    margin-bottom: 20px;
}

#popup-audio-player {
    width: 100%;
}
