/* 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;
}

/* Subject specific styles */
.banner {
    width: 100%;
    height: 570px;
 /* 993/1920 = 51.72% 根据原始图片比例计算 */
    background: url(../images/banner.png?v=202) top center no-repeat #FFE5E5;
    background-size: cover;
    position: relative;
    position: relative;
}

.subject-nav {
    text-align: center;
    height: 100px;
    line-height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF5900;
}

.subject-nav .nav-detail {
    display: inline-block;
    width: 240px;
    height: 70px;
    background: #FF5900;
    border: 2px solid #f9884b;
    border-radius: 15px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.subject-nav .nav-detail.cur {
    background: #FFFFFF;
    color: #FF5900;
}

.subject-nav .nav-upload {
    display: inline-block;
    width: 240px;
    height: 70px;
    background: #FF5900;
    border: 2px solid #f9884b;
    border-radius: 15px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.subject-nav .nav-upload.cur {
    background: #FFFFFF;
    color: #FF5900;
}

.subject-nav .nav-challenge {
    display: inline-block;
    width: 240px;
    height: 70px;
    background: #FF5900;
    border: 2px solid #f9884b;
    border-radius: 15px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.subject-nav .nav-challenge.cur {
    background: #FFFFFF;
    color: #FF5900;
}

.subject-nav .nav-detail .nav-text-cn,
.subject-nav .nav-upload .nav-text-cn,
.subject-nav .nav-challenge .nav-text-cn {
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 4px;
}

.subject-nav .nav-detail .nav-text-en,
.subject-nav .nav-upload .nav-text-en,
.subject-nav .nav-challenge .nav-text-en {
    font-size: 13px;
    line-height: 1;
    opacity: 0.8;
}

/* Hover 样式 */
.subject-nav .nav-detail:hover,
.subject-nav .nav-upload:hover,
.subject-nav .nav-challenge:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(255, 89, 0, 0.3);
}

/* 常规状态 hover 效果 */
.subject-nav .nav-detail:not(.cur):hover {
    background: #E04F00;
    border-color: #E04F00;
}

.subject-nav .nav-upload:not(.cur):hover {
    background: #E04F00;
    border-color: #E04F00;
}

.subject-nav .nav-challenge:not(.cur):hover {
    background: #E04F00;
    border-color: #E04F00;
}

/* 激活状态 hover 效果 */
.subject-nav .nav-detail.cur:hover {
    background: #F5F5F5;
}

.subject-nav .nav-upload.cur:hover {
    background: #F5F5F5;
}

.subject-nav .nav-challenge.cur:hover {
    background: #F5F5F5;
}

.footer {
    margin-top: 0
}