/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.main-container {
    min-width: 1400px;
    margin: 0 auto;
    width: 100%;
    background: #FFFFFF;
    position: relative;
    left: 0;
    top: 0;
    padding-top: 40px;
}

/* 头部导航栏样式 */
.header {
    width: 100%;
    height: 189px;
    background: #9E0D30;
    border-radius: 0px 0px 0px 0px;
    opacity: 0.9;
    position: absolute;
    top: 0;
    z-index: 10;
    background-size: 100% 100%;
}

.header-container {
    max-width: 1400px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 11px;
    margin: 0 auto;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo a {
    height: 100%;
}

.logo img {
    padding: 35px 0 0 0;
    width: 862px;
}

.search-form {
    display: flex;
    flex-direction: row;
    width: 332px;
    height: 37px;
    background: #ffffff;
    border: 1px dashed rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    overflow: hidden;
}

.search-form input {
    width: 224px;
    height: 37px;
    font-family: 'Times New Roman', serif;
    line-height: 37px;
    color: rgba(0, 0, 0, 0.6);
    background-color: #ffffff;
    border: none;
    outline: none;
    padding-left: 17px;
}

.search-form .search-btn {
    width: 37px;
    height: 37px;
    margin-left: 53px;
    overflow: hidden;
    background: url(/publish/waxyEN/images/search.png) no-repeat center center;
    background-size: 100% 100%;
    border: none;
    outline: none;
    cursor: pointer;
}

.sign-em img {
    width: 45px;
    height: 45px;
    margin-top: 35px;
}

/* 中心边框线样式 */
.center-border {
    width: 977px;
    height: 0px;
    border-bottom: 2px solid rgba(221, 221, 221, 0.5);
    margin-left: auto;
}

/* 主导航菜单样式 */
.main-nav {
    flex: 1;

}

.main-nav ul {
    width: 975px;
    margin-left: 422px;
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.main-nav ul li {
    font-family: Inter, Inter;
    font-weight: bold;
    font-size: 19px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    position: relative;
}

.main-nav ul li a {
    color: #FFFFFF;
}

.subnav {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: max-content;
    min-width: 171px;
    white-space: nowrap;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    z-index: 999;
}

.main-nav ul li:hover .subnav {
    max-height: 600px;
}

.main-nav ul li .subnav dl {
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr;
}

.main-nav ul li .subnav dl dd {
    list-style: none;
}

.main-nav ul li .subnav dl dd a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    text-align: center;
    color: #222;
    transition: background .2s;
}

.main-nav ul li .subnav dl dd a:hover {
    background: #FFFFFF;
}


/* 页脚样式 */
.footer {
    clear: both;
    width: 100%;
    position: relative;
    background: #9E0D30;
    padding-top: 0px;
}

.footer-content {
    max-width: 1400px;
    height: 276px;
    background-color: #9E0D30;
    background-blend-mode: overlay;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 0px 0px 0px 0px;
    display: flex;
    gap: 20px;
}

.footer-content::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 41px;
    background: #850C2F;
}

.footer-content::after {
    content: "All copyright©北京交通大学 网络空间安全学院 国家保密学院 备案号：BIT-ICP备241112701";
    position: absolute;
    bottom: 0;
    width: auto;
    height: 41px;
    line-height: 41px;
    font-family: DM Sans, DM Sans;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    z-index: 2;
    pointer-events: none;
}

.footer-left {
    flex: 1;
}

.university-info {
    width: 492px;
    padding: 35px 0;
}

.university-info a {
    color: #FFFFFF;
}

.university-info img {
    max-width: 100%;
    height: auto;
    max-height: 58px;
}

.footer-separator {
    width: 456px;
    height: 0px;
    margin-left: 17px;
    border: 2px solid rgba(221, 221, 221, 0.5);
}

.contact-info {
    width: 373px;
    height: 58px;
    margin-top: 30px;
    font-family: DM Sans, DM Sans;
    font-weight: bold;
    font-size: 19px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
.contact-info p {
    padding: 5px 16px;
}
.footer-center {
    flex: 1;
}

.footer-center h4 {
    width: 185px;
    height: 36px;
    font-family: DM Sans, DM Sans;
    font-weight: bold;
    font-size: 23px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 43px;
}

.quick-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    gap: 20px;
}

.col1,
.col2 {
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.link-item {
    width: 303px;
    height: 57px;
    line-height: 57px;
    text-align: center;
    border-radius: 0px 0px 0px 0px;
    border: 1px solid #E6E6E6;
    padding: 0 0 5px 9px;
}

.link-item a {
    font-family: DM Sans, DM Sans;
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
}

.link-item span {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 10px;
    border-style: solid;
    border-width: 4px 0 4px 8px;
    border-color: transparent transparent transparent #F47998;
}

.qrcodes {
    margin-top: 73px;
    margin-right: 23px;
    display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.qrcode-item {
    width: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
}

.qrcodes img {
    width: 100%;
    height: auto;

}

.qrcodes p {
    font-family: DM Sans, DM Sans;
    font-weight: bold;
    font-size: 12px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.footer-bottom {
    width: 720px;
    height: 21px;
    background: #850C2F;
    border-radius: 0px 0px 0px 0px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-bottom p {
    font-family: DM Sans, DM Sans;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}