*{
	margin:0;
	padding:0;
}
body {
	color: #666;
	font-family:arial;
	font-size:14px;
	line-height:1.5; 
}
ul,li{
	list-style-type:none;
}
a, a:link, a:visited {
	color: #000; 
	text-decoration:none;
}

a:hover {
	 color: #CC0000; 
}
/* header */
#header{
	width: 100%;
	height: 108px;
    background: url(../images/header.jpg) repeat-x;
}

#header .cont {
	width:1000px;
	margin: 0 auto;
}

#header .logo {
	float: left;
	width: 300px;
	line-height:108px;
}
#header .logo a {
	font-size:26px;
	color: #ffffff;
}
#header .header_right {
	float: right;
	width: 700px;
}

.search_box {
	float: right;
	margin-top:15px;
}
.search_box .text {
	display:block;
	height: 20px;
	width: 150px;
	color: #fff;
	font-size: 12px;
	border: 1px solid #1b0d03;
	background: #261305;
	float:left;
	outline:none;
}

.search_box .btn {
	display:block;
	float:left;
 	height: 22px;
	width:50px;
	cursor: pointer;
	font-size: 12px;
	outline: none;
	color:#885f40;
	border: 1px solid #1b0d03;
	background: #261305;
	margin-left:5px;
}

#header .nav{
	clear: both;
	float: right;
	height: 53px;
	margin-top: 15px;
}

#header .nav li {
	float:left;
}

#header .nav li a {
	float: left;
	display: block;
	height: 28px;
	margin-left: 10px;
	padding:10px; 
	padding-top:15px;
	text-align: center;
	font-size: 14px;
	color: #cdaf96;	
}

#header .nav a:hover{
	color: #b78864;
	background: url(../images/menu_hover.png) no-repeat;
}


/* 简介 */

#jianjie {
	clear: both;
	width: 100%;
	height: 230px;
	background: url(../images/jianjie_bg.jpg) repeat-x;
}

#jianjie .cont {
	width: 1000px;
	height: 200px;
	margin: 0 auto;
	padding: 15px 0; 
}

#jianjie .pic {
	float: left;
	position: relative;
	width: 298px;
	height: 147px;
	padding: 25px;
}
#jianjie .pic  img{
	width: 298px;
	height: 147px;
}

#jianjie .pic span {
	position: absolute;
	top: 0;
	left: 0;
	width: 338px;
	height: 197px;
	background:url(../images/jianjie_biankuang.png) no-repeat;
}

#jianjie .text {
	float: right;
	width: 600px;
	padding-top: 20px;
}
/* 中间内容 */

#content{
	width: 100%;
	background: #e9dab9;
	padding:30px 0;
	overflow:hidden;
}

#content .cont{
	width: 1000px;
	margin: 0 auto;
	
}

#content .cont_left {
	float: left;
	width: 600px;
}

#content .cont_left h2 {
	line-height:40px;
}
#content .cont_left p {
	text-indent:28px;
}

#content .cont_right {
	position: relative;
	float: right;
	width: 240px;
	margin: 13px 0;
	padding: 10px 20px;
	background:#d8c9a3;
}
#content .cont_right img{
	width:240px;
	display:block;
	margin-top:10px;
}
								
/* footer */

#footer {
	width: 100%;
	text-align:center;
	padding:20px 0;
	background:#723e16;
}

#footer p {
	line-height:2;
	color: #fff;
}

/* 评论区域样式 */
#comments-section {
    width: 100%;
    background: #f8f4e9;
    padding: 40px 0;
    border-top: 3px solid #d8c9a3;
}

#comments-section .cont {
    width: 1000px;
    margin: 0 auto;
}

#comments-section h2 {
    font-size: 28px;
    color: #723e16;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid #d8c9a3;
    padding-bottom: 15px;
}

#comments-section .comments-intro {
    text-align: center;
    color: #885f40;
    margin-bottom: 30px;
    font-style: italic;
}

/* 评论统计 */
.comment-stats {
    display: flex;
    justify-content: space-between;
    background: #e9dab9;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #723e16;
}

.comment-stats span {
    font-weight: bold;
}

/* 评论表单 */
.comment-form {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comment-form h3 {
    color: #723e16;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #b78864;
    box-shadow: 0 0 0 2px rgba(183, 136, 100, 0.2);
}

/* 评分样式 */
.rating {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.star {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    margin-right: 5px;
    transition: color 0.2s;
}

.star:hover,
.star.active {
    color: #ffcc00;
}

#rating-value {
    margin-left: 15px;
    color: #666;
    font-size: 14px;
}

/* 表单按钮 */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

.submit-btn, .reset-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn {
    background-color: #723e16;
    color: white;
}

.submit-btn:hover {
    background-color: #8b4f20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(114, 62, 22, 0.3);
}

.reset-btn {
    background-color: #f0f0f0;
    color: #333;
}

.reset-btn:hover {
    background-color: #e0e0e0;
}

/* 评论列表 */
.comments-list {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comments-list h3 {
    color: #723e16;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.no-comments {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 40px 0;
}

/* 单条评论样式 */
.comment-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    display: flex;
    align-items: flex-start;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e9dab9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #723e16;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: #333;
    font-size: 18px;
}

.comment-time {
    color: #999;
    font-size: 14px;
}

.comment-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-rating {
    color: #ffcc00;
    font-size: 16px;
    letter-spacing: 2px;
}

.comment-actions {
    margin-top: 10px;
}

.reply-btn, .like-btn {
    background: none;
    border: none;
    color: #885f40;
    cursor: pointer;
    font-size: 14px;
    margin-right: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.reply-btn:hover, .like-btn:hover {
    background-color: #f5f0e1;
}

.like-count {
    color: #666;
    font-size: 14px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.pagination button {
    padding: 8px 20px;
    background-color: #e9dab9;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination button:hover {
    background-color: #d8c9a3;
}

.pagination button:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

#page-info {
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1000px) {
    #header .cont,
    #jianjie .cont,
    #content .cont,
    #comments-section .cont {
        width: 95%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    #jianjie .pic,
    #jianjie .text {
        float: none;
        width: 100%;
        text-align: center;
    }
    
    #jianjie .pic {
        margin-bottom: 20px;
    }
    
    #content .cont_left,
    #content .cont_right {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    #header {
        height: auto;
        padding: 10px 0;
    }
    
    #header .logo,
    #header .header_right {
        float: none;
        width: 100%;
        text-align: center;
    }
    
    #header .logo {
        line-height: 50px;
        margin-bottom: 10px;
    }
    
    .search_box {
        float: none;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    #header .nav {
        float: none;
        height: auto;
    }
    
    #header .nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #header .nav li {
        margin-bottom: 5px;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-time {
        margin-top: 5px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .submit-btn, .reset-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .comment-stats {
        flex-direction: column;
        gap: 10px;
    }
}