/* ======= SIDEBAR ======= */
.sb {
    width: var(--sidebar-w);
    flex-shrink: 0;
    overflow: hidden;
}

.sb ul {
    list-style: none;
}

.sb ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    color: #3E3A39;
    font-size: 13px;
    background: #fff;
    transition: background .15s, color .15s;
}

.sb ul li a:hover {
    background: #f0f0ff;
    color: var(--primary);
}

.sb ul li.on a {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.sb ul li a img.sb-arrow {
    width: 6px;
    height: auto;
    filter: invert(20%) saturate(5%) brightness(0.9);
}

.sb ul li.on a img.sb-arrow {
    filter: brightness(10);
}

/* ======= CONTENT ======= */
.ct {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ======= CARD / SECTION ======= */
.card {
    background: #fff;
    overflow: hidden;
}

/* Section header bar */
.sh {
    background: rgba(94, 71, 187, 0.06);
    color: var(--primary);
    padding: 0 22px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 右侧两个小平行四边形：左边更高更宽更深，右边更矮更窄更浅 */
.sh::before {
    content: '';
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) skewX(-12deg);
    background: var(--primary);
    width: 8px;
    height: 36px;
    border-radius: 1px;
}

.sh::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 54%;
    transform: translateY(-50%) skewX(-12deg);
    background: rgba(94, 71, 187, 0.45);
    width: 6px;
    height: 28px;
    border-radius: 1px;
}

.sh-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary);
    position: relative;
    padding: 6px 16px 6px 12px;
    line-height: 1.4;
}

.sh-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(94, 71, 187, 0.15);
    transform: skewX(-12deg);
    border-radius: 2px;
    z-index: -1;
}

.sh-feature {
    height: 36px;
    padding: 0 24px 0 56px;
    background: transparent;
    overflow: visible;
}

.sh-feature::marker {
    content: none;
}

.sh-feature-bar {
    position: absolute;
    left: 0;
    right: 56px;
    top: 0;
    height: 100%;
    background: #DEDBEA;
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    overflow: visible;
}

.sh-feature-bar::before,
.sh-feature-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    background: var(--primary);
    transform: skewX(-24deg);
    transform-origin: bottom left;
    border-radius: 0;
    z-index: 2;
}

.sh-feature-bar::before {
    left: calc(100% + 2px);
    width: 6px;
    height: 28px;
}

.sh-feature-bar::after {
    left: calc(100% + 12px);
    width: 5px;
    height: 22px;
    opacity: 0.95;
}

.sh-feature .sh-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    padding: 0;
    letter-spacing: 0.8px;
    transform: scale(0.5);
    transform-origin: left center;
    z-index: 1;
}

.sh-feature .sh-title::before {
    content: none;
}

.sh-feature-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 58% 100%, 0 100%);
    z-index: 1;
}

.cb {
    padding: 18px 22px;
}

/* ======= 办学特色 ======= */
.feat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 20px 10px 0;
    border-bottom: none;
}

.feat-item:last-child {
    border-bottom: none;
}

.feat-key {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
    font-size: 13px;
}

.feat-key::after {
    content: '：'
}

.feat-val {
    font-size: 13px;
    color: var(--text);
}

/* ======= 师资团队 ======= */
.team-box {
    border: 1.5px dashed #bbbde8;
    border-radius: 6px;
    padding: 20px 16px 16px;
    margin-bottom: 16px;
    position: relative;
}

.team-box-label {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.team-img {
    width: 500px;
    margin: 0 auto;
    padding: 30px 0;
    display: block;
    border-radius: 4px;
}

.core-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    align-items: center;
}

.core-text {
    flex: 1;
    font-size: 13px;
    line-height: 2;
    color: var(--text);
}

.core-diag {
    flex-shrink: 0;
    width: 320px;
}

.five-ring {
    position: relative;
    width: 340px;
    height: 200px;
    margin: 0 auto;
}

.five-ring-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 160px;
    background: rgba(94, 71, 187, 0.12);
    border-radius: 160px 160px 0 0;
}

.five-ring-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 80px;
    background: #fff;
    border-radius: 80px 80px 0 0;
}

.five-ring-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    white-space: nowrap;
    z-index: 2;
}

.five-dot {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    z-index: 3;
}

/* ======= 校园环境 ======= */
.env-desc {
    font-size: 13px;
    line-height: 2;
    margin-bottom: 16px;
}

.env-desc p {
    margin-bottom: 4px;
}

.env-img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

/* ======= 课程设置 ======= */
.courses-wrap {
    display: flex;
    gap: 24px;
    align-items: center;
}

.courses-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 0;
}

.course-row {
    display: flex;
    align-items: center;
}

.course-bar {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.cb1 {
    margin-left: 20px;
}

.cb2 {
    margin-left: 50px;
}

.cb3 {
    margin-left: 80px;
}

.courses-arrow {
    width: 86px;
    flex-shrink: 0;
}

.courses-arrow img {
    width: 100%;
    display: block;
}

/* ======= 校园食住 ======= */
.dorm-wrap {
    display: flex;
    gap: 42px;
    align-items: center;
}

.dorm-intro {
    font-size: 13px;
    line-height: 2;
    flex: 0 0 280px;
}

.dorm-icons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex: 1;
    align-items: center;
}

.dorm-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 80px;
    position: relative;
}

.dorm-icon-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    margin-bottom: -16px;
}

.dorm-icon-bg {
    background: rgba(94, 71, 187, 0.12);
    border-radius: 8px;
    width: 100%;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.dorm-icon-label {
    font-size: 13px;
    color: var(--primary);
    text-align: center;
    line-height: 1.5;
}

/* ======= 招生信息 ======= */
.admit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
    padding: 6px 0;
}

.admit-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    line-height: 2;
}

.admit-item::before {
    content: '●';
    color: var(--primary);
    flex-shrink: 0;
    font-size: 10px;
}

.admit-item .ak {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.admit-item .ak::after {
    content: '：'
}

.admit-note {
    font-size: 12px;
    color: var(--text-light);
    line-height: 2;
    margin-top: 8px;
}