/* ============================================
   Sidebar Podcasts - Colonne gauche Feed
   ============================================ */

.podcast-sidebar {
    position: sticky;
    top: 120px;
    padding-right: 0.5rem;
    padding-top: 1rem;
}

/* Scrollbar fine */
.podcast-sidebar::-webkit-scrollbar {
    width: 4px;
}
.podcast-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.podcast-sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.podcast-sidebar::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ============================================
   Widget Podcasts - Design moderne
   ============================================ */

.pod-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* --- Header --- */
.pod-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(to right, #7c3aed 0%, #ffffff 100%);
    color: #fff;
}

.pod-widget-title {
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pod-widget-title i {
    font-size: 0.75rem;
    opacity: 0.85;
}

.pod-header-link {
    font-size: 0.68rem;
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.pod-header-link:hover {
    color: #5b21b6;
    text-decoration: none;
}

.pod-header-link i {
    font-size: 0.55rem;
    margin-left: 2px;
    transition: transform 0.2s;
}

.pod-header-link:hover i {
    transform: translateX(2px);
}

/* --- Episode en vedette --- */
.pod-featured-banner {
    position: relative;
    padding: 1.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    overflow: hidden;
}

.pod-featured-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.15);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pod-featured-badge {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pod-featured-badge i {
    font-size: 0.6rem;
}

.pod-featured-body {
    padding: 0.75rem 0.85rem 0.65rem;
}

.pod-featured-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pod-featured-desc {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pod-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.pod-meta-author,
.pod-meta-date {
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pod-meta-author i,
.pod-meta-date i {
    font-size: 0.6rem;
    color: #cbd5e1;
}

/* Bouton Écouter */
.pod-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.pod-play-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
    color: #fff;
    text-decoration: none;
}

.pod-play-btn:active {
    transform: scale(0.97);
}

.pod-play-btn i.fa-play {
    font-size: 0.65rem;
}

.pod-ext-icon {
    font-size: 0.55rem;
    opacity: 0.6;
    margin-left: 2px;
}

/* --- Liste compacte --- */
.pod-list {
    border-top: 1px solid #f1f5f9;
}

.pod-list-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.15s ease;
    position: relative;
}

.pod-list-item:last-child {
    border-bottom: none;
}

.pod-list-item:hover {
    background-color: #faf8ff;
}

/* Mini artwork gradient */
.pod-list-art {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.pod-list-art i {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Info texte */
.pod-list-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.pod-list-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
}

a.pod-list-title:hover {
    color: #7c3aed;
}

.pod-list-meta {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 2px;
    font-size: 0.68rem;
    color: #94a3b8;
}

.pod-list-platform {
    color: #7c3aed;
    font-weight: 500;
}

.pod-list-sep {
    margin: 0 5px;
    color: #cbd5e1;
}

/* Bouton play (apparaît au hover) */
.pod-list-play {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: none;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.55rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0;
}

.pod-list-item:hover .pod-list-play {
    opacity: 1;
    transform: scale(1);
}

.pod-list-play:hover {
    background: #6d28d9;
    transform: scale(1.1) !important;
    color: #fff;
    text-decoration: none;
}

/* --- Footer --- */
.pod-widget-footer {
    display: block;
    text-align: center;
    padding: 0.55rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    background: #faf8ff;
    transition: background 0.2s;
}

.pod-widget-footer:hover {
    background: #f3e8ff;
    color: #6d28d9;
    text-decoration: none;
}

.pod-widget-footer i {
    font-size: 0.6rem;
    margin-left: 3px;
    transition: transform 0.2s;
}

.pod-widget-footer:hover i {
    transform: translateX(3px);
}

/* --- État vide --- */
.pod-empty {
    padding: 2rem 1rem;
    text-align: center;
}

.pod-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pod-empty-icon i {
    font-size: 1.3rem;
    color: #a78bfa;
}

.pod-empty-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.pod-empty-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* ============================================
   Widget Événements - Slider moderne
   ============================================ */

.evt-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Header */
.evt-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(to right, #7c3aed 0%, #ffffff 100%);
    color: #fff;
}

.evt-widget-title {
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.evt-widget-title i {
    font-size: 0.75rem;
    opacity: 0.85;
}

.evt-header-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.evt-arrow {
    background: rgba(124,58,237,0.15);
    border: none;
    color: #7c3aed;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.55rem;
    transition: background 0.2s;
    padding: 0;
}

.evt-arrow:hover {
    background: rgba(124,58,237,0.3);
}

.evt-pager {
    font-size: 0.68rem;
    color: #7c3aed;
    min-width: 32px;
    text-align: center;
}

/* Slider */
.evt-slider {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.evt-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.evt-card {
    flex-shrink: 0;
}

/* Card top banner */
.evt-card-top {
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    min-height: 60px;
}

.evt-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    line-height: 1;
    min-width: 42px;
}

.evt-card-day {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.evt-card-month {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 2px;
}

.evt-card-cat {
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.evt-card-cat i {
    font-size: 0.6rem;
}

/* Card body */
.evt-card-body {
    padding: 0.75rem 0.85rem 0.65rem;
}

.evt-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evt-card-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    color: #64748b;
    margin-bottom: 0.45rem;
}

.evt-card-row i {
    font-size: 0.62rem;
    color: #94a3b8;
    width: 12px;
    text-align: center;
}

/* Tags */
.evt-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.evt-tag {
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.evt-tag i {
    font-size: 0.55rem;
    color: #94a3b8;
}

.evt-tag--free {
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
}

.evt-tag--online {
    background: #ede9fe;
    color: #7c3aed;
}

.evt-tag--registered {
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
}

.evt-tag--registered i {
    color: #059669;
}

/* Registered card highlight */
.evt-card--registered {
    position: relative;
}

.evt-card--registered .evt-card-body {
    background: rgba(16, 185, 129, 0.06);
    box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.35);
    border-radius: 0 0 12px 12px;
}

.evt-card--registered .evt-card-top {
    box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.35);
    border-radius: 12px 12px 0 0;
}

/* Dots */
.evt-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0.45rem 0;
}

.evt-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.evt-dot.active {
    background: #667eea;
    width: 20px;
}

.evt-dot:hover:not(.active) {
    background: #cbd5e1;
}

/* Footer */
.evt-widget-footer {
    display: block;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    background: #fafbfd;
    transition: background 0.2s;
}

.evt-widget-footer:hover {
    background: #f0f4ff;
    color: #5a6fd6;
    text-decoration: none;
}

.evt-widget-footer i {
    font-size: 0.6rem;
    margin-left: 3px;
    transition: transform 0.2s;
}

.evt-widget-footer:hover i {
    transform: translateX(3px);
}

/* Empty state */
.evt-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
}

.evt-empty i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    opacity: 0.5;
}

/* ============================================
   Modale Podcast - Player embed
   ============================================ */

.podcast-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.podcast-modal .modal-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-bottom: none;
    padding: 0.6rem 1rem;
}

.podcast-modal .modal-title {
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.podcast-modal .modal-title i {
    color: rgba(255,255,255,0.8);
}

.podcast-modal .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.podcast-modal .modal-header .btn-close:hover {
    opacity: 1;
}

/* Conteneur embed responsive */
.podcast-embed-container {
    min-height: 150px;
}

.podcast-embed-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none;
    border-radius: 8px;
    display: block;
}

.podcast-modal .modal-footer {
    background: #faf8ff;
    border-top: 1px solid #f1f5f9;
}
