/* ==========================================================================
   List Page Styles
   ========================================================================== */

/* Hero Section Base */
.list-hero-section {
    min-height: 280px; /* 移动端默认高度 */
    display: flex;
    align-items: center;
    background-color: var(--bs-dark, #212529); /* 兼容多主题的基础背景色 */
}

/* Hero Background Image */
.list-hero-bg {
    background-size: cover;
    background-position: center;
    /* 增加轻微的模糊和放大效果，使背景更有质感且不喧宾夺主 */
    filter: blur(8px) brightness(0.8);
    transform: scale(1.05);
    z-index: 0;
}

/* Gradient Overlay - 确保文字可读性 */
.list-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Typography & Layout */
.list-hero-title {
    font-size: 2rem; /* 移动端默认字体大小 */
    letter-spacing: 1px;
}

.list-hero-desc {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.text-shadow-sm {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Utilities */
.hover-text-white:hover {
    color: #fff !important;
}

.transition-all {
    transition: all 0.3s ease;
}

/* ==========================================================================
   Filter Section Styles (Dark Mode Support)
   ========================================================================== */

/* 筛选卡片背景 */
.filter-card {
    background-color: var(--bs-body-bg, #fff); /* 跟随主题背景色 */
    color: var(--bs-body-color, #212529);     /* 跟随主题文字色 */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 筛选标签文字 */
.filter-label {
    color: var(--bs-secondary-color, #6c757d); /* 跟随主题次要文字色 */
}

/* 筛选按钮 */
.btn-filter {
    background-color: var(--bs-tertiary-bg, #f8f9fa); /* 跟随主题的三级背景色 */
    color: var(--bs-body-color, #212529);             /* 跟随主题文字色 */
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.btn-filter:hover {
    background-color: var(--bs-secondary-bg, #e9ecef); /* hover时加深一点 */
    color: var(--bs-primary, #0d6efd);                 /* hover时文字变主色 */
    transform: translateY(-1px);
}

/* 暗夜模式特定覆盖 (Bootstrap 5.3+ dark mode) */
[data-bs-theme="dark"] .btn-filter {
    background-color: rgba(255, 255, 255, 0.05); /* 半透明白 */
    color: #e9ecef;
}

[data-bs-theme="dark"] .btn-filter:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bs-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* 平板端 (md: >= 768px) */
@media (min-width: 768px) {
    .list-hero-section {
        min-height: 350px;
    }

    .list-hero-title {
        font-size: 3rem; /* 平板端字体大小 */
    }
}

/* 电脑端 (lg: >= 992px) */
@media (min-width: 992px) {
    .list-hero-section {
        min-height: 400px;
    }

    .list-hero-title {
        font-size: 4rem; /* 电脑端字体大小 */
    }
}
