﻿/* 现代高级感旅游博客样式 - 台湾繁体中文版 - 完整优化版 */
/* 设计原则：现代简约、响应式优先、性能优化、SEO友好 */

/* ========== 重置与基础样式 ========== */
:root {
    --primary-color: #2a6b5c;
    --primary-light: #3c8d7a;
    --secondary-color: #d4a574;
    --accent-color: #e76f51;
    --dark-color: #1e3a2f;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --max-width: 1280px;
    --header-height: 70px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "Noto Sans TC", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

ul,
ol {
    list-style: none;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}


/* ========== 工具类与布局 ========== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 50px;
    max-width: 700px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 107, 92, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ========== 头部导航 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: var(--header-height);
    will-change: transform, background-color;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    gap: 10px;
}

.logo svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-cta {
    margin-left: 25px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    padding: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

/* ========== 首页特定样式 ========== */
.home-top {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}


.home-top-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.home-top-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.home-top-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gray-color);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* 卡片网格布局 */
.destinations-grid,
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.destination-card,
.featured-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.destination-card:hover,
.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.destination-image img,
.featured-image img,
.article-card-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.destination-card:hover .destination-image,
.featured-card:hover .featured-image {
    transform: scale(1.05);
}

.destination-content,
.featured-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.destination-tag,
.featured-badge {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.featured-badge {
    background-color: var(--accent-color);
    color: white;
}

.destination-title a,
.featured-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
    flex: 1;
}

.destination-description,
.featured-excerpt {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.destination-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: auto;
}

/* 最新文章与侧边栏布局 */
.content-with-sidebar {
    display: flex;
    gap: 40px;
}

.main-content {
    flex: 0 0 70%;
    max-width: 70%;
}

.sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

.article-card {
    display: flex;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.article-image {
    flex: 0 0 40%;
    overflow: hidden;
    min-height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    flex: 0 0 60%;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
    gap: 20px;
    flex-wrap: wrap;
}

.article-category {
    color: var(--primary-color);
    font-weight: 600;
}

.article-title a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.article-excerpt {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    align-self: flex-start;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

/* 标签云 */
.tag-cloud {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.tag-cloud-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

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

.tag {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--light-gray);
    color: var(--dark-color);
    border-radius: 30px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* 旅行贴士区块 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tip-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.tip-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background-color: rgba(42, 107, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.tip-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.tip-description {
    color: var(--gray-color);
    line-height: 1.6;
}

/* 地区分类区块 */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 25px;
    margin-top: 40px;
}

.region-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.region-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.region-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: rgba(42, 107, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.region-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.region-count {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* 旅行统计区块 */
.travel-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 订阅区块 */
.newsletter {
    background-color: #f8f9fa;
    text-align: center;
    padding: 80px 0;
}

.newsletter-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    min-width: 0;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========== 详情页特定样式 ========== */
.article-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}



.article-header-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}



.article-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.article-meta-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    font-size: 0.95rem;
    gap: 8px;
}

.article-meta-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* 面包屑导航 */
.article-breadcrumb,
.list-breadcrumb {
    margin-bottom: 40px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
}

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

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--gray-color);
}

.breadcrumb-link {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-current {
    color: var(--dark-color);
    font-weight: 600;
}

/* 文章内容布局 */
.article-content-container {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.article-main {
    flex: 0 0 70%;
    max-width: 70%;
}

.article-sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 50px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.article-body h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 40px 0 15px;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 30px 0;
    box-shadow: var(--box-shadow);
    display: block;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 40px 0;
    background-color: #f8f9fa;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    color: var(--dark-color);
}

.article-body ul,
.article-body ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

/* 亮点卡片 */
.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 25px;
    margin: 50px 0;
}

.highlight-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px 25px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: rgba(42, 107, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.highlight-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.highlight-description {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* 文章标签 */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 50px 0 30px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    align-items: center;
}

.article-tags span {
    color: var(--gray-color);
    margin-right: 10px;
}

.article-tag {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--light-gray);
    color: var(--dark-color);
    border-radius: 30px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.article-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 分享区块 */
.article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.share-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--dark-color);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.share-button.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.share-button.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.share-button.line:hover {
    background-color: #00c300;
    color: white;
}

.share-button.link:hover {
    background-color: var(--primary-color);
    color: white;
}

.share-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gray-color);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.share-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 作者卡片 */
.author-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.author-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--light-gray);
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.author-title {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.author-bio {
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.author-links {
    display: flex;
    gap: 15px;
}

.author-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--light-gray);
    color: var(--dark-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.author-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 相关文章 */
.related-articles {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 25px;
}

.related-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.related-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.related-content {
    padding: 20px;
}

.related-card-title a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

/* ========== 列表页特定样式 ========== */
.list-header {
    padding: 150px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.list-header-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.list-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

.list-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gray-color);
    line-height: 1.7;
}

/* 列表控制 */
.list-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 25px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex-wrap: wrap;
    gap: 20px;
}

.list-results {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.list-results strong {
    color: var(--primary-color);
}

.list-sort {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sort-label {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--dark-color);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.list-search {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    flex: 1;
    min-width: 0;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 列表内容布局 */
.list-content-container {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.list-main {
    flex: 0 0 70%;
    max-width: 70%;
}

.list-sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.article-card-list {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card-list:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.article-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.article-card-list:hover .article-card-image {
    transform: scale(1.05);
}

.article-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.article-card-category {
    display: inline-block;
    background-color: rgba(42, 107, 92, 0.1);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.article-card-date {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.article-card-title a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.article-card-excerpt {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.article-card-readtime {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 分页 */
.post-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 10px;
}

.pagination-item {
    display: flex;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.pagination-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.pagination-link.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination-link.prev,
.pagination-link.next {
    width: auto;
    padding: 0 20px;
    min-width: 100px;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--gray-color);
}

/* 筛选组件 */
.filter-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.filter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.filter-item {
    margin-bottom: 15px;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--dark-color);
    text-decoration: none;
    padding: 10px 0;
    transition: var(--transition);
}

.filter-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.filter-count {
    background-color: var(--light-gray);
    color: var(--gray-color);
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 20px;
    min-width: 35px;
    text-align: center;
    transition: var(--transition);
}

.filter-link:hover .filter-count {
    background-color: var(--primary-color);
    color: white;
}

.filter-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.filter-link.active .filter-count {
    background-color: var(--primary-color);
    color: white;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 12px;
}

.filter-checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-checkbox-label {
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-checkbox:hover .filter-checkbox-label {
    color: var(--primary-color);
}



/* 推荐阅读 */
.recommended-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.recommended-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

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

.recommended-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light-gray);
}

.recommended-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recommended-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.recommended-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    display: block;
}

.recommended-item-title a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: var(--transition);
}

.recommended-link:hover .recommended-item-title a {
    color: var(--primary-color);
}

.recommended-item-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 列表订阅区块 */
.list-newsletter {
    text-align: center;
    padding: 60px 0;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.list-newsletter-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.list-newsletter-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.list-newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

/* ========== 页脚 ========== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
    color: white;
    text-decoration: none;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 12px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-link a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-services {
    list-style: none;
}

.footer-service a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-input {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(42, 107, 92, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

/*author*/
.author-info {
    display: flex;
    gap: 10px;
    padding: 10px;
    margin: 10px 0;
    background: #dff0f8;
    border-radius: 20px;

}

.author-info img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    overflow: clip;
    margin: 0;
}

.author-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {

    .content-with-sidebar,
    .article-content-container,
    .list-content-container {
        flex-direction: column;
        gap: 30px;
    }

    .main-content,
    .sidebar,
    .article-main,
    .article-sidebar,
    .list-main,
    .list-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-card {
        flex-direction: column;
    }

    .article-image,
    .article-content {
        flex: 0 0 100%;
    }

    .article-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .header{
        position: relative;
        height: auto;
        padding: 5px 0;
    }
    .author-info {
        flex-direction: column;
        align-items: center;
    }

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

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .home-top {
        padding: 140px 0 80px;
    }

    .article-header,
    .list-header {
        padding: 20px 0 ;
    }

    .article-breadcrumb,
    .list-breadcrumb {
        margin-bottom: 10px;
    }

    /* 移动端导航 */
    .nav {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        margin: 0 0 15px 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        width: 100%;
    }

    .nav-cta {
        margin: 20px 0 0 0;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .menu-toggle span{
        width: 100%;
        height: 2px;
        background: var(--primary-color);
    }
    /* 移动端表单优化 */
    .newsletter-form,
    .list-newsletter-form {
        flex-direction: column;
    }

    .list-search {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    /* 移动端分享区块 */
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .share-stats {
        width: 100%;
        justify-content: space-between;
    }

    /* 移动端列表控制 */
    .list-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-sort {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

    /* 移动端分页 */
    .pagination {
        flex-direction: column;
    }

    .pagination-list {
        justify-content: center;
    }

    .pagination-link.prev,
    .pagination-link.next {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {

    .destinations-grid,
    .featured-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .highlight-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .region-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .author-header {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .author-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .highlight-cards {
        grid-template-columns: 1fr;
    }

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

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

    .article-meta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ========== 动画效果 ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ========== 性能优化 ========== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .btn:hover,
    .destination-card:hover,
    .article-card:hover,
    .tip-card:hover,
    .featured-card:hover,
    .region-card:hover,
    .highlight-card:hover,
    .article-card-list:hover,
    .related-card:hover,
    .share-button:hover,
    .back-to-top:hover {
        transform: none;
    }
}

/* ========== 打印样式 ========== */
@media print {

    .header,
    .nav,
    .back-to-top,
    .footer,
    .newsletter,
    .list-newsletter,
    .article-share,
    .author-card,
    .related-articles,
    .sidebar,
    .list-sidebar,
    .tag-cloud,
    .filter-widget,
    .recommended-widget,
    .menu-toggle {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        font-weight: normal;
    }

    .article-body img {
        max-width: 100%;
        height: auto;
    }
}