/* 
 * 行者无疆 - 旅行探索网站样式表
 * 包含三个页面的所有样式
 * 个人主页
 */

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", "Microsoft YaHei", sans-serif;
}

body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    color: #333;
    background-color: #d5dbdb;
	
}

/* 链接样式 - 去除下划线 */
a {
    text-decoration: none;
    color: #1a6ea0;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d4e76;
}

/* 过大图片宽度自适应 */
img {
	max-width: 100%;
}

/* 段落字间距 */
p {
	letter-spacing: 2px;
}


/* 首页样式 */
header {
    margin-bottom: 30px;
    text-align: center;
    padding: 20px 0;
}

.site-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #0d4e76;
}

.site-subtitle {
    font-size: 18px;
    font-weight: normal;
    color: #888;
}

/* 内容框样式 */
.content-box {
    background-color: #e8f4f8;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	font-size: 18px;
}

.content-box-2 {
    background-color: #e8f4f8;
    padding: 20px;
    margin-top: 50px;
	margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	font-size: 18px;
}

.content-box-3 {
    background-color: #D6EAF8;
    padding: 5px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	font-size: 18px;
}

/* 分类容器 */
.category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* 分类链接样式 */
.category-link {
    background-color: #5499c7;
    padding: 15px 30px;
	display: inline-block;
	color: white;
	min-width: 120px;
	text-align: center;
	border-radius: 4px;
	transition: background-color 0.3s ease;
	font-size: 18px;
	}

.category-link:hover {
    background-color: #0d4e76;
    color: white;
}

.wide-link {
    width: 100%;
    text-align: left;
    padding-left: 20px;
}

/* 文字链接容器 */
.text-link-container {
    margin-bottom: 15px;
}

.full-width-link {
    background-color: #5499c7;
    display: block;
    padding: 15px;
    padding-left: 20px;
    color: white;
    text-align: left;
    border-radius: 4px;
    transition: background-color 0.3s ease;
	font-size: 18px;
}

.full-width-link:hover {
    background-color: #1d5f68;
    color: white;
}

/* 内容区域 */
.content-area {
    background-color: #f5fbfd;
    background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('placeholder-large.jpg');
    background-size: cover;
    background-position: center;
    padding: 10px 10px;
    margin: 30px 0;
    text-align: center;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.placeholder-text {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 底部样式 */
footer {
    margin-top: 50px;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    color: #888;
}

.footer-text {
    margin-bottom: 5px;
}

/* 文章页样式 */
.top-nav {
    display: flex;
    justify-content: space-between;
    background-color: #5dade2;
    padding: 15px;
    margin-bottom: 30px;
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-name {
    color: white;
    font-weight: bold;
	font-size: 20px;
}

.return-text {
    flex-grow: 1;
    text-align: center;
    color: rgba(255,255,255,0.8);
}

.return-home {
    color: white;
	font-weight: bold;
	font-size: 20px;
}

.article-title {
    background-color: #f5fbfd;
    padding: 20px;
    margin-bottom: 30px;
    color: #0d4e76;
    border-left: 4px solid #1a6ea0;
    border-radius: 0 8px 8px 0;
}

.article-title h1 {
    font-size: 22px;
}

.article-content {
    background-color: white;
    padding: 30px;
    color: #333;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 10px;
	font-size: 18px;
}

.p-bold-text {
	font-weight: bold;
}

/* 列表样式 */
.article-content ul, .article-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 8px;
}



/* 分类页样式 */
.category-info h2{
    background-color: #f5fbfd;
    padding: 20px;
    margin-bottom: 30px;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
	font-size: 20px;
}

.article-list {
    background-color: white;
    padding: 25px;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    transition: transform 0.2s ease;
}

.article-item:hover {
    transform: translateX(5px);
}

.article-item:last-child {
    border-bottom: none;
}

.article-item h3 {
    font-size: 18px;
    font-weight: normal;
    color: #1a6ea0;
}

.auto-wrap {
    margin-top: 25px;
    text-align: left;
    font-style: italic;
    color: #888;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-container {
        flex-direction: column;
    }
    
    .category-link {
        width: 100%;
    }
    
    .img-left {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    .article-title h1 {
        font-size: 22px;
    }
    
    .placeholder-text {
        font-size: 20px;
    }
}

/* 更小屏幕的适配 */
@media (max-width: 480px) {
    .top-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .return-text {
        order: 3;
        margin-top: 10px;
    }
    
    .site-title {
        font-size: 26px;
    }
    
    .article-content {
        padding: 20px;
    }
} 