/* استایل‌های نمایش عمومی پادکست */

.pmp-podcast-container {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pmp-podcast-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #4ECDC4;
}

.pmp-podcast-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pmp-podcast-title:before {
    content: "🎙️";
    font-size: 32px;
}

.pmp-podcast-content {
    margin-top: 30px;
}

/* دسته‌بندی پادکست */
.pmp-podcast-category {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pmp-category-header {
    padding: 20px 25px;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 5px solid #4ECDC4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pmp-category-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.pmp-category-count {
    font-size: 14px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 20px;
}

.pmp-podcast-items {
    padding: 20px;
}

/* آیتم پادکست */
.pmp-podcast-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

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

.pmp-podcast-item:last-child {
    margin-bottom: 0;
}

/* تصویر پادکست */
.pmp-podcast-thumbnail {
    float: left;
    margin-left: 20px;
    margin-bottom: 15px;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pmp-podcast-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pmp-podcast-item:hover .pmp-podcast-thumbnail img {
    transform: scale(1.05);
}

/* اطلاعات پادکست */
.pmp-podcast-info {
    overflow: hidden;
}

.pmp-podcast-episode-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.pmp-podcast-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.pmp-speaker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
}

.pmp-podcast-description {
    margin: 15px 0;
    line-height: 1.7;
    color: #495057;
    font-size: 15px;
}

/* پلیر صوتی */
.pmp-audio-player {
    margin: 20px 0;
    clear: both;
}

.pmp-audio-player audio {
    width: 100%;
    outline: none;
    border-radius: 8px;
    height: 45px;
}

.pmp-audio-player audio::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border-radius: 8px;
}

/* جزئیات پادکست */
.pmp-podcast-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
    font-size: 14px;
    color: #6c757d;
}

.pmp-duration,
.pmp-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 6px 14px;
    border-radius: 20px;
}

/* پلتفرم‌های پخش */
.pmp-podcast-platforms {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pmp-podcast-platforms span {
    font-weight: 600;
    color: #495057;
}

.pmp-platform-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pmp-platform-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pmp-spotify {
    background: #1DB954;
    color: #fff;
}

.pmp-spotify:hover {
    background: #1ed760;
    color: #fff;
}

.pmp-apple {
    background: #FA243C;
    color: #fff;
}

.pmp-apple:hover {
    background: #ff2d47;
    color: #fff;
}

/* پیام خالی */
.pmp-no-podcasts {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 10px;
}

/* صفحه آرشیو */
.pmp-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pmp-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.pmp-archive-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.pmp-archive-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pmp-filter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pmp-category-filter,
.pmp-search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

.pmp-search-btn {
    padding: 10px 25px;
    background: #4ECDC4;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pmp-search-btn:hover {
    background: #3db8b0;
}

.pmp-podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pmp-archive-podcast-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pmp-archive-podcast-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pmp-archive-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.pmp-archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* لینک تصویر */
.pmp-archive-thumbnail-link {
    display: block;
    position: relative;
}

.pmp-archive-thumbnail-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.pmp-archive-thumbnail-link:hover::after {
    background: rgba(78, 205, 196, 0.1);
}

.pmp-archive-thumbnail-link:hover img {
    transform: scale(1.05);
}

.pmp-archive-info {
    padding: 20px;
}

.pmp-archive-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

/* لینک عنوان */
.pmp-archive-title-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.pmp-archive-title-link:hover {
    color: #4ECDC4;
    text-decoration: none;
}

.pmp-archive-speaker {
    font-size: 14px;
    color: #6c757d;
    margin: 8px 0;
}

.pmp-archive-description {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
    margin: 12px 0;
}

.pmp-archive-duration {
    display: inline-block;
    font-size: 13px;
    color: #6c757d;
    margin-top: 10px;
}

.pmp-archive-category {
    display: inline-block;
    padding: 4px 12px;
    margin-top: 10px;
    margin-right: 8px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}
/* پلیر صوتی در آرشیو */
.pmp-archive-audio-player {
    margin: 15px 0;
    clear: both;
}

.pmp-archive-audio-player audio {
    width: 100%;
    outline: none;
    border-radius: 6px;
    height: 40px;
}

.pmp-archive-audio-player audio::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border-radius: 6px;
}

/* متا اطلاعات در آرشیو */
.pmp-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
    font-size: 13px;
}

.pmp-archive-duration,
.pmp-archive-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 15px;
    color: #6c757d;
}

/* استایل‌های قدیمی دکمه حذف شد - حالا عنوان و تصویر قابل کلیک هستند */

.pmp-archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
}

.pmp-page-link {
    padding: 10px 20px;
    background: #4ECDC4;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.pmp-page-link:hover {
    background: #3db8b0;
}

.pmp-page-info {
    font-size: 16px;
    color: #495057;
    font-weight: 500;
}

.pmp-no-results {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .pmp-podcast-container {
        padding: 20px;
    }
    
    .pmp-podcast-title {
        font-size: 24px;
    }
    
    .pmp-podcast-thumbnail {
        float: none;
        margin: 0 auto 15px;
        display: block;
    }
    
    .pmp-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pmp-podcast-platforms {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pmp-podcast-grid {
        grid-template-columns: 1fr;
    }
    
    .pmp-archive-filters {
        flex-direction: column;
    }
    
    .pmp-filter-form {
        width: 100%;
    }
    
    .pmp-category-filter,
    .pmp-search-input,
    .pmp-search-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pmp-podcast-item {
        padding: 15px;
    }
    
    .pmp-podcast-episode-title {
        font-size: 18px;
    }
    
    .pmp-archive-title {
        font-size: 28px;
    }
}
