* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fc;
    color: #1e1a29;
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    border-bottom: 1px solid #e3e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-content {
    width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 180px;
}

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

.nav-links a {
    font-size: 20px;
    font-weight: 300;
    color: #64748d;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1772FE;
}

.search-box {
    width: 220px;
    height: 36px;
    background-color: #f0f2f5;
    border: 1px solid #e5e8ec;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
}

.search-box img {
    width: 16px;
    height: 16px;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #64748d;
}

.search-box input::placeholder {
    color: #9ca3af;
}

/* 面包屑 */
.breadcrumb {
    width: 100%;
    height: 44px;
    background-color: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-content {
    width: 1000px;
    font-size: 13px;
    color: #64748d;
}

.breadcrumb-content a {
    color: #64748d;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-content a:hover {
    color: #1772FE;
}

/* 主容器 */
.container {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* ========== 首页 ========== */
.page-wrapper {
    width: 1000px;
    margin: 0 auto;
}

/* 焦点图 */
.hero-section {
    margin: 20px 0 15px;
}

.hero-inner {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.hero-slider {
    flex: 0 0 calc(75% - 7.5px);
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #d0d7e3;
}

.hero-slider:hover .slide img {
    transform: scale(1.03);
}

.hero-slider a {
    text-decoration: none;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.22) 60%, transparent 100%);
    padding: 40px 20px 16px;
}

.slide-caption h2 {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    line-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.dot {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background-color 0.3s, width 0.3s;
}

.dot.active {
    background-color: #ffffff;
    width: 36px;
}

/* 焦点图右侧小图 */
.hero-aside {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-aside-item {
    flex: 1;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    display: block;
    background: #d0d7e3;
}

.hero-aside-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-aside-item:hover img {
    transform: scale(1.06);
}

.hero-aside-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.15) 65%, transparent 100%);
    padding: 22px 10px 8px;
}

.hero-aside-caption span {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* 作者信息卡片 */
.author-profile {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 28px 32px;
    margin-bottom: 15px;
    display: flex;
    gap: 28px;
    align-items: center;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: #1772FE;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.profile-bio {
    font-size: 14px;
    color: #64748d;
    line-height: 22px;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-num {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
}

.stat-label {
    font-size: 13px;
    color: #94a3b8;
}

/* 首页主体布局 */
.main-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.home-section {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 20px 24px;
    margin-bottom: 15px;
}

.home-section {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 20px 24px;
}

.home-section:last-child {
    margin-bottom: 0;
}

.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8edf3;
    padding-bottom: 14px;
    margin-bottom: 4px;
}

.home-section-header .list-header {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.home-section-more {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    flex-shrink: 0;
}

.home-section-more:hover {
    color: #1772FE;
}

/* 推荐作者 */
.author-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.author-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.sidebar .author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.sidebar .author-info {
    flex: 1;
    min-width: 0;
}

.sidebar .author-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
    transition: color 0.2s;
    text-align: left;
}

.author-item:hover .author-name {
    color: #1772FE;
}

.sidebar .author-bio {
    font-size: 12px;
    color: #94a3b8;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

/* 主内容区 */
.main-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.main-content.has-bg {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 24px 28px;
}
}

/* 列表页标题 */
.list-header {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8edf3;
    display: flex;
    align-items: center;
}

.list-header::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: #1772FE;
    border-radius: 2px;
    margin-right: 10px;
    flex-shrink: 0;
}

.category-intro {
    font-size: 14px;
    line-height: 1.8;
    color: #64748b;
    margin: 16px 0;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

/* 文章详情 */
.article-title {
    font-size: 28px;
    font-weight: 400;
    color: #0f172a;
    line-height: 40px;
    margin-bottom: 4px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #64748d;
}

.article-meta .divider {
    color: #cbd5e1;
}

.article-meta .author {
    color: #1772FE;
}

.article-meta .author a {
    color: #1772FE;
    text-decoration: none;
}

.article-meta .author a:hover {
    text-decoration: underline;
}

.author-link {
    color: #94a3b8;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.author-link:hover {
    color: #1772FE;
}

.article-meta .author .author-link {
    color: #1772FE;
}

.article-meta .author .author-link:hover {
    text-decoration: underline;
}

.summary-box {
    background-color: #f1f5f9;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 14px;
}

.summary-text {
    font-size: 14px;
    color: #334155;
    line-height: 24px;
}

.article-content {
    font-size: 16px;
    color: #1f2937;
    line-height: 30px;
    font-weight: 200;
}

.article-content p {
    margin-bottom: 14px;
}

.article-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.tag-inline-link {
    color: #1772FE;
    text-decoration: none;
}

/* 相关文章 */
.related-articles {
    margin-top: 32px;
}

.related-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

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

.related-list li {
    margin-bottom: 6px;
}

.related-list a {
    font-size: 15px;
    color: #334155;
    text-decoration: none;
    transition: color 0.3s;
}

.related-list a:hover {
    color: #1772FE;
}

/* 文章列表项 */
.article-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f4f8;
}

.article-item:last-child {
    border-bottom: none;
}

.article-thumb-link {
    flex-shrink: 0;
}

.article-thumb {
    width: 192px;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 6px;
    background-color: #e8edf3;
    transition: opacity 0.2s;
}

.article-thumb-link:hover .article-thumb {
    opacity: 0.85;
}

.article-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
}

.article-item-title {
    font-size: 16px;
    font-weight: 500;
    color: #0f172a;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.article-item-title:hover {
    color: #1772FE;
}

.article-item-desc {
    font-size: 14px;
    color: #64748d;
    line-height: 22px;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: #94a3b8;
}

.article-item-meta .meta-divider {
    color: #cbd5e1;
}

/* 侧边栏 */
.sidebar {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-card {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 20px;
}

.today-update {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.3s;
}

.today-update:hover {
    color: #1772FE;
}
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.card-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    margin-right: 8px;
    height: 16px;
    background-color: #1772FE;
    vertical-align: -2px;
}

/* 车系卡片 */
.car-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.car-name {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    margin-bottom: 8px;
}

.car-price {
    font-size: 14px;
    color: #64748d;
    text-align: center;
    margin-bottom: 12px;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #1772FE;
    color: white;
}

.btn-primary:hover {
    background-color: #1565e6;
}

/* 标签 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background-color: #f1f5f9;
    border-radius: 4px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.tag:hover {
    background-color: #e2e8f0;
    color: #1772FE;
}

/* 作者卡片 */
.author-avatar {
    width: 56px;
    height: 56px;
    background-color: #1e293b;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.author-avatar:hover {
    opacity: 0.8;
}

.author-name {
    color: #1772FE;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

.author-name a {
    color: #1772FE;
    text-decoration: none;
}

.author-name a:hover {
    text-decoration: underline;
}

.author-bio {
    font-size: 13px;
    color: #64748d;
    line-height: 20px;
    text-align: center;
}

/* 热门文章列表 */
.hot-list {
    list-style: none;
}

.hot-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f4f8;
}

.hot-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hot-list li:first-child {
    padding-top: 0;
}

.hot-rank {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background-color: #e2e8f0;
    color: #64748d;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.hot-list li:nth-child(1) .hot-rank {
    background-color: #1772FE;
    color: #ffffff;
}

.hot-list li:nth-child(2) .hot-rank {
    background-color: #4a94ff;
    color: #ffffff;
}

.hot-list li:nth-child(3) .hot-rank {
    background-color: #85b8ff;
    color: #ffffff;
}

.hot-list a {
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    line-height: 20px;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-list a:hover {
    color: #1772FE;
}

/* 页脚 */
.footer {
    width: 100%;
    height: 200px;
    background-color: #1e293b;
    margin-top: 40px;
}

.footer-content {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 15px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 13px;
    color: #94a3b8;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 14px;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #334155;
    margin: 16px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748d;
}

.footer-bottom a {
    color: #64748d;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.footer-logo img {
    height: 100px;
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 0 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #e3e8f0;
    transition: all 0.2s;
}

.pagination a:hover {
    color: #1772FE;
    border-color: #1772FE;
}

.pagination .active {
    background-color: #1772FE;
    color: #ffffff;
    border-color: #1772FE;
}

.pagination .disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    pointer-events: none;
}

/* 加载更多 */
.load-more-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.load-more-line {
    flex: 1;
    height: 1px;
    background-color: #e3e8f0;
}

.load-more-text {
    font-size: 13px;
    color: #64748d;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
}

.load-more-text:hover {
    color: #1772FE;
}

.load-more-text.loading {
    color: #94a3b8;
    cursor: default;
}

/* 静态页内容 */
.static-content {
    padding-top: 20px;
    font-size: 15px;
    color: #334155;
    line-height: 28px;
}

.static-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 24px 0 10px;
}

.static-content p {
    margin-bottom: 12px;
}

.static-content ul {
    margin: 8px 0 16px 20px;
}

.static-content li {
    margin-bottom: 6px;
}

.static-content .update-date {
    font-size: 13px;
    color: #94a3b8;
}
