@charset "utf-8";
/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: "微软雅黑", "PingFang SC", sans-serif;
    background: #fff7f2;
    color: #444;
    line-height: 1.6;
}

/* ===== 头部：改为通栏铺满，增加内边距 ===== */
header {
    width: 100%;
    margin: 0;
    padding: 28px 0 22px;
    background: #d88c74;
    color: #fff;
    text-align: center;
    font-size: 32px;
    letter-spacing: 3px;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(216, 140, 116, 0.25);
}

/* ===== 导航：通栏铺满，背景微灰 ===== */
nav {
    width: 100%;
    margin: 0;
    background: #fefaf8;
    border-bottom: 2px solid #d88c74;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    line-height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-size: 17px;
    padding: 8px 6px;
    position: relative;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #d88c74;
}

nav a:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: #d88c74;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

/* ===== 主体：宽版居中，加宽内边距 ===== */
main {
    max-width: 1200px;
    width: 92%;
    margin: 40px auto;
    padding: 48px 50px;
    background: #fff;
    border-top: 4px solid #d88c74;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* ===== 标题样式（保留颜色，位置微调） ===== */
h2 {
    color: #d88c74;
    margin-bottom: 28px;
    font-size: 28px;
    text-align: center;
    position: relative;
    font-weight: 600;
}

h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #d88c74;
    margin: 12px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 22px;
    color: #b36c55;
    margin: 28px 0 14px;
    padding-left: 14px;
    border-left: 3px solid #d88c74;
    font-weight: 600;
}

/* ===== 段落：取消缩进，增加舒适间距 ===== */
p {
    line-height: 1.9;
    font-size: 17px;
    margin: 12px 0;
    padding: 0 10px;
    text-indent: 0;
    color: #4a4a4a;
}

/* ===== 左图右文：改为上下结构（移动优先），大屏再横向 ===== */
.wrap-box {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 32px 0;
}

@media (min-width: 820px) {
    .wrap-box {
        flex-direction: row;
        gap: 44px;
        align-items: flex-start;
    }
}

.img-left {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 820px) {
    .img-left {
        width: 420px;
    }
}

.img-left img {
    width: 100%;
    border: 1px solid #d88c74;
    display: block;
    border-radius: 4px;
}

.text-right {
    flex: 1;
    background: #fff7f2;
    padding: 24px 26px;
    border-radius: 4px;
}

/* ===== 按钮：扁平线条风，保留原色 ===== */
.link-btn a {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #d88c74;
    color: #d88c74;
    text-decoration: none;
    margin: 8px 12px 8px 0;
    transition: 0.25s;
    border-radius: 2px;
    font-weight: 500;
}

.link-btn a:hover {
    background: #d88c74;
    color: #fff;
}

.back a {
    display: inline-block;
    margin-top: 30px;
    padding: 9px 22px;
    border: 2px solid #b36c55;
    color: #b36c55;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 500;
    transition: 0.25s;
}

.back a:hover {
    background: #b36c55;
    color: #fff;
}

/* ===== 页脚：通栏铺满，加深底色 ===== */
footer {
    width: 100%;
    margin: 0;
    padding: 28px 0;
    background: #333;
    color: #ddd;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    border-top: 3px solid #d88c74;
}

footer span {
    opacity: 0.7;
}