/* ==========================================================================
   新疆农业大学官方网站 · 学校概况页样式（about.css）
   范围：学校概况侧栏 + 内容面板 + 校史时间线 + 历任/现任领导 + 名誉校长
   ========================================================================== */

/* 学校概况页：页面底色与页脚同色，短页面时下方不露白 */

/* 背景图与新闻详情页一致：相对视口固定，内容在其上滚动；
   第一层为底色蒙版，用来压低背景图的不透明度（改 alpha 即可调深浅） */
.sec-profile{
  padding:170px 0 80px;
  background:
    linear-gradient(rgba(245,242,235,.25),rgba(245,242,235,.95)) center bottom / cover no-repeat fixed,
    #f5f2eb url(../images/bg-news-data.png) center bottom / cover no-repeat fixed;
  min-height:calc(100vh - 280px);
}
.sec-profile .wp{max-width:1200px;margin:0 auto;padding:0 20px}
.profile-layout{display:flex;gap:40px;align-items:flex-start}
/* 左侧锚点导航（sticky） */
.profile-side{width:220px;flex-shrink:0;position:sticky;top:170px;align-self:flex-start;background:#fff;border-radius:8px;box-shadow:0 10px 30px rgba(14,51,42,.1);padding:4px 8px 8px 0}
.profile-side .side-title{display:flex;align-items:center;gap:4px;font-size:18px;font-weight:600;color:var(--green-dark);padding:12px 20px;border-bottom:1px solid #f3eee0;margin-bottom:8px}
.profile-side .side-title img{width:32px;height:32px}
.profile-side a{display:block;padding:12px 20px 12px 34px;font-size:15px;color:var(--text);border-left:3px solid transparent;cursor:pointer;transition:.3s;border-radius:0 8px 8px 0;margin-bottom:4px}
.profile-side a:hover{color:var(--green);background:#f4f8f4}
.profile-side a.on{color:var(--green);border-left-color:var(--green);background:#f4f8f4;font-weight:600}
/* 右侧内容区：白色纸面卡片，浮在背景图上 */
.profile-main{flex:1;min-width:0;background:#fff;border-radius:8px;box-shadow:0 10px 30px rgba(14,51,42,.08);padding:40px 48px 52px}
/* 学校概况页隐藏面包屑 */
.crumb{display:none}
.crumb span{color:var(--green)}
.profile-panel{display:none}
.profile-panel.on{display:block}
.profile-title{display:flex;align-items:center;gap:14px;margin-bottom:32px}
.profile-title h1{font-size:30px;font-weight:700;color:var(--green-dark);letter-spacing:2px}
.profile-body{font-size:16px;line-height:2.1;color:var(--text-strong)}
.profile-body p{margin:0 0 20px;text-indent:2em;text-align:justify}
/* 校史沿革时间线 */
.history-list{position:relative;padding-left:22px}
.history-list:before{content:'';position:absolute;left:6px;top:6px;bottom:6px;width:2px;background:linear-gradient(180deg,var(--green),var(--gold-light))}
.history-item{position:relative;margin-bottom:26px;padding-left:20px}
.history-item:before{content:'';position:absolute;left:-22px;top:8px;width:10px;height:10px;border-radius:50%;background:var(--green);border:2px solid var(--gold-light)}
.history-item .y{font-size:18px;font-weight:700;color:var(--green)}
.history-item .t{font-size:15px;color:var(--text-strong);margin-top:4px}
/* 历任领导表格 */
.leader-table{width:100%;border-collapse:collapse;font-size:15px}
.leader-table th{background:#f4f8f4;color:var(--green-dark);font-weight:700;padding:12px 16px;text-align:left;border-bottom:2px solid var(--green)}
.leader-table td{padding:11px 16px;border-bottom:1px dashed var(--line);color:var(--text-strong)}
/* 现任领导 / 名誉校长卡片 */
.leader-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.leader-grid.single{grid-template-columns:1fr}
.leader-card{display:block;padding:18px 20px;border:1px solid #eee7d8;border-radius:10px;transition:.3s;background:#fff;position:relative;overflow:hidden}
.leader-card:hover{border-color:var(--green);box-shadow:0 8px 20px rgba(0,107,63,.1);transform:translateY(-3px)}
/* 悬停背景：右对齐装饰图，淡入 */
.leader-card:after{content:'';position:absolute;right:0;bottom:0;width:88%;height:88%;background:url(../images/leader-card-bg.svg) no-repeat right bottom/contain;opacity:0;transition:opacity .35s;pointer-events:none;z-index:0}
.leader-card:hover:after{opacity:.15}
.leader-card .head,.leader-card .desc{position:relative;z-index:1}
.leader-card .head{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px dashed #eee7d8}
.leader-card .name{font-size:20px;font-weight:700;color:var(--green-dark);white-space:nowrap}
.leader-card .role{font-size:13px;color:var(--green);font-weight:600;padding:3px 12px;background:rgba(0,107,63,.08);border-radius:999px;white-space:nowrap}
.leader-card .desc{font-size:14px;color:var(--text-strong);line-height:1.9}

@media only screen and (max-width:959px){
  .sec-profile{padding-bottom:48px}
  .profile-main{padding:24px 24px 40px;border-radius:0;box-shadow:none}
}
