/* CSS Reset and Initialization */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', 'SimSun', '宋体', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
    border: 0;
}

input,
button,
textarea,
select {
    font-family: inherit;
    font-size: 100%;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

*/

/* Clear fix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Banner 背景与占位（各子页面共用） */
body {
    background-color: #ECE3D8;
    background-image: url(https://pushthink-images.oss-cn-shanghai.aliyuncs.com/mjload/topseed/images/banner.png?x-oss-process=image/format,webp);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 1920px auto;
}

/* .banner 仅作高度占位，背景图在 body 上展示 */
.banner {
    height: 710px;
    background-image: none;
    background-color: transparent;
}

/* Subject specific styles */

/* 按钮组容器：半透明磨砂玻璃胶囊 */
.subject-nav {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    align-items: center;
    padding: 7px;
    gap: 4px;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
}

/* 所有菜单项公共样式：默认无背景，纯文字 */
.subject-nav .nav-detail,
.subject-nav .nav-upload,
.subject-nav .nav-challenge,
.subject-nav .nav-awards {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    height: 54px;
    width: 180px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    color: #003022;
    white-space: nowrap;
}

/* 英文副标题隐藏 */
.subject-nav .nav-detail .nav-text-en,
.subject-nav .nav-upload .nav-text-en,
.subject-nav .nav-challenge .nav-text-en,
.subject-nav .nav-awards .nav-text-en {
    display: none;
}

.subject-nav .nav-detail .nav-text-cn,
.subject-nav .nav-upload .nav-text-cn,
.subject-nav .nav-challenge .nav-text-cn,
.subject-nav .nav-awards .nav-text-cn {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

/* 选中状态：#003022 实底圆角按钮 */
.subject-nav .nav-detail.cur,
.subject-nav .nav-upload.cur,
.subject-nav .nav-challenge.cur,
.subject-nav .nav-awards.cur {
    background: #003022;
    color: #ffffff;
}

/* 非选中 hover：轻微深色背景提示 */
.subject-nav .nav-detail:not(.cur):hover,
.subject-nav .nav-upload:not(.cur):hover,
.subject-nav .nav-challenge:not(.cur):hover,
.subject-nav .nav-awards:not(.cur):hover {
    background: rgba(0, 48, 34, 0.08);
}

/* 选中状态 hover */
.subject-nav .nav-detail.cur:hover,
.subject-nav .nav-upload.cur:hover,
.subject-nav .nav-challenge.cur:hover,
.subject-nav .nav-awards.cur:hover {
    background: #004d35;
}

.footer {
    margin-top: 0
}