/* 全局设置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kingsoft_Cloud_Font', sans-serif;
}
ul,li{
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
}
a{
    color: #2C3E50;
    text-decoration: none;
    margin: 0;
    padding: 0;
}
/* 字体设置 */
@font-face {
    font-family: 'Kingsoft_Cloud_Font';
    src: url('../fonts/Kingsoft_Cloud_Font.woff2') format('woff2'),
        url('../fonts/Kingsoft_Cloud_Font.woff') format('woff'),
        url('../fonts/Kingsoft_Cloud_Font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 背景图 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/background.jpg) no-repeat center center;
    background-size: cover;
    z-index: -1000;
    filter: brightness(0.9);
}

/* 页眉样式 */
.header {
    height: 10vh;
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header_c {
    height: 100%;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: clamp(1.2rem, 2vw, 2.2rem);
    font-weight: bold;
}

.nav>a {
    height: 100%;
    line-height: 10vh;
    text-align: center;
    flex-basis: 18%;
    position: relative;
    transition: all 0.3s ease;
}

.nav>a::after {
    display: block;
    position: absolute;
    content: "";
    background-color: #B0C4DE;
    height: 100%;
    width: 0%;
    bottom: 0;
    transition: all 0.5s;
    z-index: -1;
}

.nav>a:hover::after {
    width: 100%;
}

.nav>a::before {
    display: block;
    position: absolute;
    content: "";
    background-color: #E0B8C5;
    height: 0.2em;
    width: 0%;
    right: 0;
    bottom: 0;
    transition: all 0.5s;
}

.nav>a:hover::before {
    width: 100%;
}

.nav>a.active::after {
    width: 100%;
}

.nav>a.active::before {
    width: 100%;
}

/* 主体内容 */
.main {
    padding-top: 12vh;
    width: 100%;
    min-height: calc(100vh - 20vh);
}

.main_c {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 内容区域 */
.swiper1 {
    margin: 2em auto;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2.5em;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    overflow-wrap: break-word;
}

.swiper1 h1 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 1.2rem;
    color: #2c3e50;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.swiper1 h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #B0C4DE, #E0B8C5);
    border-radius: 2px;
}

.swiper1 p {
    font-size: clamp(1.1rem, 1.3vw, 1.4rem);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #34495e;
}

.swiper1 ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.swiper1 li {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 20px;
}

.swiper1 li::before {
    content: "•";
    color: #E0B8C5;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -2px;
}

.swiper1 hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(176, 196, 222, 0.3), rgba(224, 184, 197, 0.7), rgba(176, 196, 222, 0.3));
    margin: 2rem 0;
}

.swiper1 span {
    display: block;
    text-align: right;
    font-size: 1.4rem;
    font-style: italic;
    color: #7f8c8d;
    margin-top: 2rem;
}

.image-credit {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.image-credit a {
    color: #ecf0f1;
    text-decoration: underline;
    transition: color 0.3s;
}

.image-credit a:hover {
    color: #B0C4DE;
}

/* 页脚样式 */
.footer {
    height: 10vh;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer_c {
    height: 100%;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.footer_c a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    transition: all 0.3s;
}

.footer_c a:hover {
    color: #E0B8C5;
    transform: translateY(-2px);
}

.footer_c img {
    height: 1.2em;
}

/* 响应式设计 */
@media (max-width: 768px) {

    .header_c,
    .main_c,
    .footer_c {
        width: 95%;
    }

    .nav {
        font-size: 1.1rem;
    }

    .swiper1 {
        padding: 1.5rem;
    }

    .main {
        padding-top: 11vh;
    }

    .footer_c {
        flex-direction: column;
        gap: 0.5rem;
        justify-content: center;
        padding: 0.5rem 0;
    }
}