/* 全局样式 */
html, body {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 导航栏 */
.hd {
    width: 100%;
    height: 50px;
    background-color: #0e90d2;
    position: relative;
}

.hd .link-list {
    padding: 0 16px;
    height: 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    align-content: center;
}

.hd .link-list a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.hd .link-list a:hover {
    font-weight: bold;
}

.hd .link-list a.active {
    font-weight: bold;
    border-bottom: 2px solid #fff;
}

/* 语言切换 */
.lang-switch {
    margin-left: auto;
    position: relative;
}

.lang-switch select {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.lang-switch select:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lang-switch select option {
    background-color: #0e90d2;
    color: #fff;
}

/* 底部 */
.footer {
    padding: 24px 16px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.footer a {
    color: #0e90d2;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .hd .link-list {
        gap: 12px;
        font-size: 14px;
    }

    .hd .link-list a {
        font-size: 14px;
    }

    .lang-switch select {
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media screen and (max-width: 480px) {
    .hd .link-list {
        gap: 8px;
        padding: 0 8px;
    }

    .hd .link-list a {
        font-size: 12px;
    }
}
