/* 主题页面样式 */
.theme-container {
    display: flex;
    flex-direction: column;
}

/* 主题头部 */
.theme-header {
    height: 160px;
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
}

.theme-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}

.theme-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.theme-description {
    font-size: 14px;
    opacity: 0.9;
}

/* 主题选择器 */
.theme-selector {
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.theme-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 0 8px;
}

.theme-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.theme-tab {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--light-text);
    position: relative;
}

.theme-tab.active {
    color: var(--primary-color);
    font-weight: bold;
}

.theme-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--primary-color);
}

/* 播客列表容器 */
.podcasts-container {
    flex: 1;
    padding: 8px 0;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .theme-header {
        height: 140px;
    }

    .theme-title {
        font-size: 20px;
    }

    .theme-description {
        font-size: 12px;
    }
}
