/* ============================================
   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-color);
}

.page-container {
    padding-top: 90px;
    min-height: 80vh;
}

/* ── Page Hero ── */
.page-hero {
    padding: 3rem 0 5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(59,130,246,0.1) 0%, transparent 65%);
    pointer-events: none;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    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.3; }

/* Category / article hero image (show.html, news.html) — prefer {栏目图片webp} / {文章图片webp} */
.show-hero-media {
    margin: 0 auto 1.5rem;
    max-width: 960px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    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.5rem;
}

.page-title,
.landing-title,
.article-title {
    font-family: 'Syne', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.hero-badge {
    background: rgba(59,130,246,0.1);
    color: var(--primary-color);
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(59,130,246,0.25);
}
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
}
.hero-meta-item i { color: var(--primary-color); }

/* ── Article Layout ── */
.article-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem 8rem;
}
.article-main-visual {
    width: 100%;
    margin-bottom: 4rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
    border: 1px solid var(--border-subtle);
}
.article-main-visual img { width: 100%; display: block; }

.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #cbd5e1;
}
.article-body p { margin-bottom: 1.75rem; text-align: justify; }
.article-body h2,
.article-body h3 {
    color: #fff;
    margin: 3.5rem 0 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.75rem 2.5rem;
    background: rgba(59,130,246,0.05);
    border-left: 3px solid var(--primary-color);
    font-style: italic;
    font-size: 1.2rem;
    border-radius: 0 12px 12px 0;
    color: var(--text-light);
}

/* ── News Grid ── */
.news-grid-glow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.news-card-glow {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card-glow:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 30px rgba(59,130,246,0.1);
}

.news-glow-img {
    height: 210px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    position: relative;
}
.news-glow-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card-glow:hover .news-glow-img img { transform: scale(1.05); }

.news-badge-glow {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(59,130,246,0.85);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.news-glow-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
}
.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.88rem;
    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: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}
.read-more-glow {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}
.read-more-glow:hover { gap: 12px; color: var(--secondary-color); }

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.page-btn {
    padding: 0.85rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.page-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* ── List Section ── */
.list-section { padding-bottom: 6rem; }

/* ── Section Header ── */
.section-header { text-align: center; }
.section-prefix {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .news-grid-glow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .page-hero { padding: 2rem 1rem 3.5rem; }
    .news-grid-glow { grid-template-columns: 1fr; }
    .article-body { font-size: 1rem; }
    .article-body p { text-align: left; }
    .article-container { padding: 0 1rem 5rem; }
    .article-body blockquote { padding: 1.25rem 1.5rem; font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
}
