.main-color {
    color: #a52e60;
}

.main-box {
    height: calc(100vh - 3px);
    overflow: auto;
}

.content-wrap {
    max-width: 960px;
    padding: 32px 24px;
    margin: auto;
    min-width: 320px;
    transition: all .3s;
    position: relative;
}

.content-card {
    font-size: 14px;
    padding: 24px 30px;
}

.content-avatar {
    text-align: center;
}

.content-avatar img {
    width: 148px;
    border: 1px solid #fff3f8;
    border-radius: 8px;
}

.content-info {
    font-size: 18px;
    padding-left: 24px;
}

.content-info a {
    font-size: 18px;
}

.tea_name {
    font-size: 28px;
    font-weight: bold;
    color: #a52e60;
    margin-bottom: 8px;
}

.content-info-text {
    color: #666;
    padding-top: 4px;
}

.content-info-t-c {
    display: flex;
    align-items: center;
}

.content-info-t-c img {
    width: 20px;
    height: 20px;
}

.research-box {
    margin-top: 16px;
    color: #2a3244;
    font-size: 16px;
}

.research-box .research-item {
    padding-left: 24px;
    font-size: 16px;
    position: relative;
    margin-top: 4px;
    transition: all .3s;
}

.research-box .research-item::before {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a52e60;
    left: 4px;
    top: 8px;
    transition: all .3s;
}

.research-box .research-item:hover {
    padding-left: 30px;
}

.research-box .research-item:hover::before {
    border-radius: 20px;
    width: 16px;
}

.research-box .research-item-small {
    padding-left: 42px;
    font-size: 16px;
    position: relative;
    margin-top: 4px;
    transition: all .3s;
}

.research-box .research-item-small::before {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9f0646;
    left: 22px;
    top: 10px;
    transition: all .3s;
}

.research-box .research-item-small:hover {
    padding-left: 48px;
}

.research-box .research-item-small:hover::before {
    border-radius: 20px;
    width: 18px;
    background: linear-gradient(to right, #e17541, #db5b39, #ce224a, #a52e60);
}

.research-item-small p {
    word-break: normal;
    overflow-wrap: break-word;
}

.research-item-small a {
    color: #0d8eff;
}

.content-wrap-title {
    font-size: 20px;
    font-weight: bold;
    color: #2d3743;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 12px;
}

.content-wrap-title::before {
    position: absolute;
    content: "";
    width: 5px;
    height: 24px;
    background: linear-gradient(to right, #e17541, #db5b39, #ce224a, #a52e60);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
    transition: all .3s;
}

.content-wrap-title img {
    width: 28px;
    margin-right: 8px;
}

.user-basic {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 24px 0;
    box-sizing: border-box;
    background: #fff;
    width: auto;
    margin: auto;
    min-width: 320px;
    transition: all .3s;
    position: relative;
}

.user-basic::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #e17541, #db5b39, #ce224a, #a52e60);
}


.user-basic.user-basic-fixed {
    position: fixed;
    top: 85px;
    z-index: 1;
}

.user-basic-left {
    display: flex;
}

.user-basic-right {
    min-width: 200px;
    font-size: 16px;
    padding-left: 16px;
}

.user-basic-right i {
    color: #2a3244;
    font-size: 20px;
}

.header {
    width: 100%;
    height: 85px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    position: fixed;
    z-index: 99;
}

.header-main {
    max-width: 74%;
    min-width: 360px;
    margin: auto;
    height: 100%;
    background: url(/static/images/xgcs-header-img-corrugated-sm.png) no-repeat;
    background-size: contain;
}

@font-face {
    font-family: "LaguSans";
    src: url("/static/fonts/LaguSans-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

#sch-name a {
    font-size: clamp(16px, 2.5vw, 36px);
    color: #2a3244;
    font-family: "LaguSans", sans-serif;
    font-weight: bold;
}

#tips-text {
    font-size: 12px;
    font-style: italic;
    line-height: normal;
    margin-top: -6px;
}

.language {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: clamp(18px, 2vw, 22px);
    color: #2d3743;
}

.language-item {
    margin: 0 12px;
    cursor: pointer;
    transition: all .3s;
    font-weight: bold;
}

.language-item:hover {
    text-decoration: underline;
}

.logo img {
    height: 80px;
}

@media screen and (max-width: 688px) {
    .logo img {
        height: 60px;
    }

    .main-box {
        height: auto;
    }

    .user-basic, .user-basic-left {
        display: block;
        width: 100%;
    }

    .user-basic-left img {
        width: 100%;
    }

    .user-basic .content-info {
        padding-left: 0;
    }

    .user-basic-right {
        margin-top: 16px;
        padding-left: 0;
    }

    .content-card, .content-wrap {
        padding: 24px 12px;
    }

    #sch-name {
        display: none;
    }
}

.hidden-items {
    display: none;
    transition: all 0.3s ease;
}

.container-content {
    width: auto;
}

.sidebar {
    width: 160px;
    position: fixed;
    z-index: 999;
    overflow-y: auto;
    background: #efefef;
}

.sidebar ul {
    list-style: none;
}

.sidebar a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px 10px;
    border-left: 4px solid #98206d;
    transition: all 0.3s;
    font-size: 15px;
}

.sidebar a:hover {
    color: #fff;
    background: linear-gradient(to right, #e17541, #db5b39, #ce224a, #a52e60);
    border-left-color: #fff;
}

.sidebar a.active {
    color: #fff;
    background: linear-gradient(to right, #e17541, #db5b39, #ce224a, #a52e60);
    border-left-color: #fff;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 1244px) {
    .content-wrap {
        padding-left: 165px;
    }
}

@media (max-width: 678px) {
    .sidebar {
        width: 100%;
        position: static;
        height: auto;
        padding-right: 0;
    }

    .content-wrap {
        padding-left: 12px;
    }
}

/* 解决锚点定位被遮挡的问题 */
.section {
    scroll-margin-top: 80px; /* 根据导航栏高度调整 */
}

.sidebar {
    top: 14vh;
    height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar {
    display: none;
}