/* 尼泊尔风格主题 */
:root {
    --saffron: #FF9933;  /* 藏红花色 - 尼泊尔国旗色 */
    --crimson: #DC143C;  /* 深红色 - 尼泊尔传统色 */
    --himalayan-blue: #6A5ACD;  /* 喜马拉雅蓝 */
    --prayer-flag: #FFD700;  /* 经幡金 */
    --earth: #8B4513;  /* 大地色 */
    --text-color: #333;
    --light-bg: #FFF8DC;
    --shadow: 0 4px 8px rgba(139, 69, 19, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lantinghei SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,10 Q50,5 70,10 T90,30 Q95,50 90,70 T70,90 Q50,95 30,90 T10,70 Q5,50 10,30 T30,10" fill="none" stroke="%23FF9933" stroke-width="0.5" opacity="0.2"/></svg>');
}

a {
    text-decoration: none;
    color: var(--crimson);
    transition: all 0.3s;
}

a:hover {
    color: var(--saffron);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 尼泊尔风格头部 */
header {
    background: linear-gradient(to right, var(--saffron), var(--crimson));
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px var(--earth);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 尼泊尔风格内容区域 */
.main-content {
    background-color: white;
    padding: 30px;
    margin: 30px 0;
    border-radius: 5px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--saffron);
}

.section-title {
    font-size: 26px;
    margin-bottom: 25px;
    color: var(--crimson);
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--saffron), var(--crimson));
}

/* 尼泊尔风格文章列表 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.article-card {
    border: 1px solid rgba(139, 69, 19, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.2);
    border-color: var(--saffron);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--saffron);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--earth);
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--himalayan-blue);
    margin-top: 15px;
    border-top: 1px dashed var(--saffron);
    padding-top: 10px;
}

/* 尼泊尔风格分类标签 */
.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--crimson);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* 文章详情页样式 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--crimson);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--himalayan-blue);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 30px;
    border: 5px solid white;
    box-shadow: var(--shadow);
}

.article-content {
    line-height: 1.8;
    font-size: 17px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* 尼泊尔风格分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 20px;
    border-radius: 20px;
    background-color: var(--saffron);
    color: white;
    font-weight: bold;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: var(--crimson);
}

/* 尼泊尔风格友情链接 */
.friend-links {
    background-color: white;
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--crimson);
}

.friend-links h3 {
    margin-bottom: 20px;
    color: var(--crimson);
    font-size: 22px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links-container a {
    padding: 8px 15px;
    background-color: var(--himalayan-blue);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.friend-links-container a:hover {
    background-color: var(--saffron);
}

/* 尼泊尔风格页脚 */
footer {
    background: linear-gradient(to right, var(--saffron), var(--crimson));
    padding: 25px 0;
    text-align: center;
    margin-top: 50px;
    color: white;
}

.copyright {
    font-size: 14px;
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 26px;
    }
}