/*
Theme Name: Bian MB5
Theme URI: https://www.binance.com
Author: Binance Style
Author URI: https://www.binance.com
Description: 币安Binance官方风格WordPress主题 - 全球领先的区块链资产交易平台风格，支持移动端汉堡菜单和点击效果
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bian-mb5
Tags: cryptocurrency, binance, bitcoin, ethereum, trading, dark-theme, responsive
*/

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0B0E11;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #EAECEF;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* 币安核心色调：金 #F0B90B ，深色背景 #0B0E11，卡片背景 #1E2329 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 14, 17, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(240, 185, 11, 0.2);
    padding: 16px 0;
    transition: all 0.2s;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background: linear-gradient(135deg, #F0B90B, #F8D25C);
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: #0B0E11;
    box-shadow: 0 8px 16px rgba(240, 185, 11, 0.2);
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(120deg, #FFFFFF, #F0B90B);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links ul,
.nav-links .nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: #EAECEF;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links .current-menu-item a,
.nav-links .current-menu-ancestor a,
.nav-links .current-post-parent a {
    color: #F0B90B;
}

.btn-group {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* ===== 汉堡菜单按钮 ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    background: transparent;
    border: none;
}

.hamburger:hover {
    background: rgba(240, 185, 11, 0.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #F0B90B;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== 点击波纹效果 ===== */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(240, 185, 11, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
    transition: width 0s, height 0s;
}

/* ===== 按钮样式 ===== */
.btn-primary {
    background: #F0B90B;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 15px;
    color: #0B0E11;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(240, 185, 11, 0.3);
}

.btn-primary:hover {
    background: #f8c53d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 185, 11, 0.4);
}

.btn-outline-gold {
    background: transparent;
    border: 1.5px solid #F0B90B;
    padding: 9px 24px;
    border-radius: 40px;
    font-weight: 700;
    color: #F0B90B;
    transition: 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-gold:hover {
    background: rgba(240, 185, 11, 0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 36px;
    font-size: 18px;
}

/* ===== 首页 Hero 区块 ===== */
.hero {
    padding: 80px 0 70px;
    background: radial-gradient(ellipse at 80% 30%, rgba(240, 185, 11, 0.08), transparent);
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    background: rgba(240, 185, 11, 0.2);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #F0B90B;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #FFF, #F0B90B);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: #B7BDC6;
    max-width: 550px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-stats {
    flex: 0.8;
    background: rgba(30, 35, 41, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 32px;
    border: 1px solid rgba(240, 185, 11, 0.25);
}

.stat-item {
    margin-bottom: 28px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #F0B90B;
}

/* ===== 通用区块 ===== */
.section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-sub {
    text-align: center;
    color: #B7BDC6;
    max-width: 680px;
    margin: 0 auto 56px;
    font-size: 18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #1E2329;
    border-radius: 28px;
    padding: 32px 24px;
    transition: all 0.3s;
    border: 1px solid rgba(240, 185, 11, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 185, 11, 0.5);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
}

.card-icon {
    background: rgba(240, 185, 11, 0.15);
    width: 56px;
    height: 56px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #B7BDC6;
    line-height: 1.5;
}

/* ===== 安全区域 ===== */
.security-block {
    background: linear-gradient(145deg, #13181E, #0B0E11);
    border-radius: 48px;
    padding: 48px 40px;
    margin-top: 20px;
    border: 1px solid rgba(240, 185, 11, 0.2);
}

/* ===== 下载区域 ===== */
.download-area {
    text-align: center;
    background: radial-gradient(circle at center, #1E2329 0%, #0B0E11 100%);
    border-radius: 48px;
    padding: 60px 30px;
}

.download-buttons {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* ===== 页脚 ===== */
footer {
    background: #050708;
    padding: 48px 0 32px;
    border-top: 1px solid #1E2329;
    text-align: center;
    font-size: 14px;
    color: #848E9C;
}

/* ===== 文章列表页 ===== */
.page-header {
    padding: 60px 0 40px;
    background: radial-gradient(ellipse at 80% 30%, rgba(240, 185, 11, 0.06), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(to right, #FFF, #F0B90B);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.page-header p {
    font-size: 18px;
    color: #B7BDC6;
    max-width: 600px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-tag {
    background: #1E2329;
    border: 1px solid rgba(240, 185, 11, 0.15);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #B7BDC6;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.filter-tag:hover,
.filter-tag.active {
    background: rgba(240, 185, 11, 0.15);
    border-color: #F0B90B;
    color: #F0B90B;
}

.articles-section {
    padding: 48px 0 80px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.article-card {
    background: #1E2329;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(240, 185, 11, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 185, 11, 0.4);
    box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.5);
}

.article-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #1E2329, #0B0E11);
    display: block;
}

.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: #848E9C;
}

.article-category {
    background: rgba(240, 185, 11, 0.15);
    color: #F0B90B;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 12px;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card h3 a {
    color: #EAECEF;
    text-decoration: none;
    transition: color 0.2s;
}

.article-card h3 a:hover {
    color: #F0B90B;
}

.article-excerpt {
    font-size: 14px;
    color: #848E9C;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.read-more {
    color: #F0B90B;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a {
    background: #1E2329;
    color: #B7BDC6;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination a:hover {
    background: rgba(240, 185, 11, 0.15);
    color: #F0B90B;
    border-color: #F0B90B;
}

.pagination .current {
    background: #F0B90B;
    color: #0B0E11;
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 14, 17, 0.5);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-item a {
    color: #848E9C;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #F0B90B;
}

.breadcrumb-item.active {
    color: #EAECEF;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #848E9C;
    font-size: 12px;
}

/* ===== 文章详情页 ===== */
.article-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(11, 14, 17, 0) 0%, rgba(11, 14, 17, 0.95) 100%),
                url('images/photo_2024-05-27_18-16-53-850x485.webp') center/cover no-repeat;
    padding: 60px 0 48px;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(240, 185, 11, 0.12), transparent 60%);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-inner .article-category {
    display: inline-block;
    background: #F0B90B;
    color: #0B0E11;
    padding: 5px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-inner h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #FFFFFF;
    max-width: 800px;
}

.hero-inner .article-subtitle {
    font-size: 18px;
    color: #B7BDC6;
    max-width: 680px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-meta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0B90B, #F8D25C);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #0B0E11;
}

.hero-author-name {
    font-weight: 600;
    font-size: 14px;
}

.hero-author-role {
    font-size: 12px;
    color: #848E9C;
}

.hero-meta-info {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #848E9C;
}

.hero-meta-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.highlights-strip {
    background: #1E2329;
    border-top: 2px solid #F0B90B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.highlight-item {
    padding: 8px 0;
}

.highlight-value {
    font-size: 28px;
    font-weight: 800;
    color: #F0B90B;
    margin-bottom: 4px;
}

.highlight-label {
    font-size: 13px;
    color: #848E9C;
}

.article-body-section {
    padding: 56px 0 64px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 44px 0 18px;
    padding-left: 16px;
    border-left: 4px solid #F0B90B;
    color: #FFFFFF;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 14px;
    color: #EAECEF;
}

.article-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #C8CCD2;
    margin-bottom: 18px;
}

.article-content a {
    color: #F0B90B;
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 1px dashed rgba(240, 185, 11, 0.4);
}

.article-content a:hover {
    border-bottom-style: solid;
}

.article-content img {
    width: 100%;
    border-radius: 16px;
    margin: 24px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-content blockquote {
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.08), rgba(30, 35, 41, 0.8));
    border-left: 4px solid #F0B90B;
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #B7BDC6;
    font-size: 17px;
    line-height: 1.7;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 28px;
    color: #C8CCD2;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-content strong {
    color: #F0B90B;
    font-weight: 600;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #1E2329;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}

.sidebar-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #F0B90B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 0;
}

.toc-list a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: #848E9C;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    line-height: 1.4;
}

.toc-list a:hover,
.toc-list a.active {
    background: rgba(240, 185, 11, 0.1);
    color: #F0B90B;
}

.author-card {
    text-align: center;
}

.author-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #F0B90B, #F8D25C);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    color: #0B0E11;
}

.author-card-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-card-role {
    font-size: 13px;
    color: #848E9C;
    margin-bottom: 16px;
}

.author-card-desc {
    font-size: 13px;
    color: #B7BDC6;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(240, 185, 11, 0.12);
    color: #F0B90B;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.author-card-btn:hover {
    background: #F0B90B;
    color: #0B0E11;
}

.article-footer-bar {
    background: #13181E;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(240, 185, 11, 0.08);
    border: 1px solid rgba(240, 185, 11, 0.15);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #B7BDC6;
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    background: rgba(240, 185, 11, 0.2);
    color: #F0B90B;
    border-color: #F0B90B;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-row span {
    font-size: 13px;
    color: #848E9C;
    margin-right: 4px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(240, 185, 11, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.share-btn:hover {
    background: #F0B90B;
    transform: scale(1.08);
}

.post-nav {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.post-nav-card {
    background: #1E2329;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-nav-card:hover {
    border-color: rgba(240, 185, 11, 0.4);
    transform: translateY(-3px);
}

.post-nav-label {
    font-size: 12px;
    color: #F0B90B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #EAECEF;
    line-height: 1.5;
}

.post-nav-card:last-child {
    text-align: right;
}

.cta-banner {
    margin: 0;
    padding: 64px 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, rgba(11, 14, 17, 1) 50%, rgba(240, 185, 11, 0.06) 100%);
    text-align: center;
    border-top: 1px solid rgba(240, 185, 11, 0.15);
    border-bottom: 1px solid rgba(240, 185, 11, 0.15);
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #FFF;
}

.cta-banner p {
    font-size: 16px;
    color: #B7BDC6;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.related-section {
    padding: 56px 0 72px;
}

.related-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(240, 185, 11, 0.3), transparent);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    background: #1E2329;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s;
    align-items: center;
}

.related-item:hover {
    border-color: rgba(240, 185, 11, 0.35);
    transform: translateX(6px);
}

.related-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.related-item-body {
    padding: 20px 24px 20px 0;
}

.related-item-cat {
    font-size: 11px;
    color: #F0B90B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.related-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #EAECEF;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-item p {
    font-size: 13px;
    color: #848E9C;
    line-height: 1.5;
}

.related-item .meta {
    font-size: 12px;
    color: #555;
    margin-top: 8px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-top: 16px;
        padding: 16px 0;
        border-top: 1px solid rgba(240, 185, 11, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 20px;
        width: 100%;
        border-radius: 12px;
        transition: background 0.2s;
    }

    .nav-links a:hover {
        background: rgba(240, 185, 11, 0.1);
    }

    .btn-group {
        display: none;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .btn-group.active {
        display: flex;
    }

    .btn-group a {
        width: 100%;
        justify-content: center;
    }

    .hero-grid {
        flex-direction: column;
    }

    .section-title {
        font-size: 30px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-hero {
        min-height: 320px;
        padding: 40px 0 32px;
    }

    .hero-inner h1 {
        font-size: 28px;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .post-nav-grid {
        grid-template-columns: 1fr;
    }

    .related-item {
        grid-template-columns: 120px 1fr;
        gap: 16px;
    }

    .related-item-body {
        padding: 14px 14px 14px 0;
    }

    .related-item h3 {
        font-size: 14px;
    }

    .footer-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 平滑滚动锚点偏移 */
html {
    scroll-padding-top: 90px;
}

/* 内嵌简单图标 */
.inline-icon {
    font-size: 1.2em;
}
