.top { 
    padding:16px; 
    margin-bottom:12px; 
}

.panel{
    margin-top:16px;
    background:#fff; 
    border-radius:16px;  
}

.major-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.major-info .meta{
    display: flex;
    gap:16px;
    margin:10px 0px;
    font-size:16px;
    color:#222;
}

.major-info .title{
    font-size:28px;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: flex-end;
}

.major-info .hot-value{
    color:#FF7016;
    font-size:16px;
    line-height: 1;
    margin-left:10px;
}

.major-info .fav{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.major-info .fav .icon{
    width:31px;
    height: 31px;
    display: block;
    background: url('../../../images/major/icon_fav.png') no-repeat center center;
    background-size: 80%;
}
.major-info .fav .icon-shou{
    width:31px;
    height: 31px;
    display: block;
    background: url('../../../images/major/icon_fav-active.png') no-repeat center center;
    background-size: 80%;
}

.title { font-size:20px; font-weight:800; color:#333; }
.sub { color:#999; font-size:12px; margin-top:6px; }
.stats { margin-top:12px; display:grid; grid-template-columns: repeat(5, 1fr); gap:12px; }
.stat {
    border:1px solid #EDEDED; 
    border-radius:10px; 
    padding:10px; 
    display:flex; 
    align-items:center; 
    gap:10px;
}
.stat .k { color:#999; font-size:12px; }
.stat .v { color:#333; font-weight:700; }

.sub-nav{
    
    display: flex;
    gap:16px;
}

.sub-nav .nav-item{
    background-color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font-size:18px; 
    font-weight: 500;
    margin-bottom: 18px;
    color:#222;
}

.sub-nav .nav-item.active{
    background: linear-gradient(90deg, #FF8D1A 0%, #ED0000 100%);
    color:#fff;
}

.cols { 
    display:grid; 
    grid-template-columns: 2fr 1fr; 
    gap:16px; 
}

.cols>div{
    background: #fff;
    border-radius: 16px;
    padding: 20px;
}

.cols>div:nth-child(2){ 
    background: transparent;
    padding: 0px;
}

.cols>div:nth-child(2)>div{
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.cols>div:nth-child(2)>div:last-child{ 
    margin-bottom: 0px;
}

.card{
    margin-bottom: 30px;
}

.card-title { 
    font-size:22px;
    font-weight:600; 
    color:#222; 
    margin-bottom:12px; 
    position:relative; 
    padding-left:12px; 
    line-height: 1;
}
.card-title:before { 
    content:""; 
    position:absolute; 
    left:0; 
    top:50%;
    transform: translateY(-50%); 
    width:4px; 
    height:80%; 
    background:#ff6b35; 
    border-radius:2px; 
}

.text { 
    font-size:15px;
    color:#333;
    line-height: 1.5;
 }

.right-item { 
    display:flex; 
    align-items:center; 
    gap:8px; 
    padding:16px 0; 
    border-bottom:1px dashed #f0f0f0; 
    font-size:16px;
}

.right-item .major-name{
    flex-grow: 1;
}

.right-item .hot-value{
    font-size:12px;
    color:#FF7016;
    align-self: center;
}
/* .right-item:first-child { border-top:none; } */
.badge {
    width:24px;
    height:29px;
    line-height: 29px;
    display:block; 
    text-align: center; 
    background: transparent;
    font-size:16px;
    color:#999;
    padding: 0px;
}

.badge img{
    width:100%;
}

.new-info .right-item{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.new-info .time{
    font-size:12px;
    color:#999;
    line-height: 1;
}

/* 开设院校列表样式 */
.schools-list {
    display: flex;
    flex-direction: column;
}

.school-item {
    display: flex;
    align-items: center;
    padding:20px 0px;
    background: #fff;
    border-bottom: dashed 1px #E0E0E0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* 排名数字样式 */
.rank-number {
    width: 30px;
    height: 30px;
    /* background: #FF7016; */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* .rank-number.top3 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    font-size: 16px;
    width: 35px;
    height: 35px;
} */

.school-logo {
    width: 62px;
    height: 62px;
    margin-right: 15px;
    flex-shrink: 0;
}

.school-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
}

.school-info {
    flex: 1;
}

.school-name {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.school-location {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.school-location::before{
    content: "";
    width:12px;
    height: 14px;
    display: block;
    background:url('../../../images/common/icon_location.png') no-repeat center center;
    background-size: 100%;
    margin:0px 10px;
}

.school-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 3px 6px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 500;
    border:solid 1px #FF7016;
    color:#FF7016;
}



.school-favorite {
    width:22px;
    height: 19px;
    background: url('../../../images/major/icon_fav.png') no-repeat center center;
    background-size: 100%;
    display: block;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}
.school-favorite-shou {
    width:22px;
    height: 19px;
    background: url('../../../images/common/yishoucang.png') no-repeat center center;
    background-size: 100%;
    display: block;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .school-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .school-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .school-tags {
        justify-content: center;
    }
    
    .school-favorite {
        margin-top: 10px;
    }
}