/* ============================================
   RESOURCES.CSS — List / News / Show Pages
   ============================================ */

header {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.page-container {
    padding-top: 95px;
    min-height: 80vh;
}

/* ── Page Hero ── */
.page-hero {
    padding: 2.5rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255,0,64,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}
.breadcrumb-nav a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb-nav a:hover { color: var(--primary-color); }
.breadcrumb-nav span { opacity: 0.25; }

/* Category / article hero image (show.html, news.html) — prefer {栏目图片webp} / {文章图片webp} */
.show-hero-media {
    margin: 0 auto 1.25rem;
    max-width: 900px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.show-hero-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.show-hero-media + .landing-title,
.show-hero-media + .article-title {
    margin-top: 0.25rem;
}

.page-title,
.landing-title,
.article-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.7rem, 5vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.15;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.hero-badge {
    background: rgba(255,0,64,0.1);
    color: var(--primary-color);
    padding: 5px 14px;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255,0,64,0.3);
}
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-meta-item i { color: var(--secondary-color); }

/* ── Article Layout ── */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 7rem;
}
.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #e2e8f0;
}
.article-body p { margin-bottom: 1.75rem; }
.article-body h2,
.article-body h3 {
    color: #fff;
    margin: 2.5rem 0 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    font-family: 'Inter', sans-serif;
    text-transform: none;
}
.article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(255,0,64,0.04);
    border-left: 3px solid var(--primary-color);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-light);
}

/* ── News Grid ── */
.news-grid-glow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.news-card-glow {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.news-card-glow:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255,0,64,0.08);
}

.news-glow-img {
    height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}
.news-glow-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card-glow:hover .news-glow-img img { transform: scale(1.06); }

.news-badge-glow {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--primary-color);
    padding: 4px 10px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-glow-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    font-weight: 800;
}
.news-glow-content h3 a { color: #fff; transition: var(--transition); }
.news-glow-content h3 a:hover { color: var(--primary-color); }
.news-glow-content p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-glow-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}
.read-more-glow {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}
.read-more-glow:hover { gap: 10px; color: var(--primary-color); }

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.page-btn {
    padding: 0.8rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 800;
    font-size: 0.8rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}
.page-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* ── List Section ── */
.list-section { padding-bottom: 5rem; }

/* ── Section Header ── */
.section-header { text-align: center; }
.section-prefix {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.6rem;
}
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .news-grid-glow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .page-hero { padding: 1.5rem 1rem 3rem; }
    .news-grid-glow { grid-template-columns: 1fr; }
    .article-body { font-size: 0.95rem; }
    .article-container { padding: 0 1rem 5rem; }
    .article-body blockquote { padding: 1.25rem 1.5rem; font-size: 1rem; }
    .section-title { font-size: 1.7rem; }
}
