/*
 * 督导处首页样式（设计稿 lncu-supervision-site）
 * 仅 front page 加载，全部置于 body.ddc-home-page 作用域
 */
body.ddc-home-page{
  --ddc-red:#df0f22;
  --ddc-ink:#202733;
  --ddc-muted:#69727e;
  --ddc-line:#e9edf3;
  --ddc-shadow:0 16px 40px rgba(22,34,56,.06);
  color:var(--ddc-ink);
  background:#fff;
  line-height:1.65;
}

body.ddc-home-page a{text-decoration:none;color:inherit}
body.ddc-home-page img{display:block;max-width:100%}
body.ddc-home-page .container{width:min(1180px,calc(100% - 86px));margin:0 auto}

/*
 * Hero：严格按设计稿 min-height:515px
 * 必须覆盖父主题 .hero{height:100vh;min-height:760px}
 */
body.ddc-home-page .site-header .hero,
body.ddc-home-page .hero{
  height:auto !important;
  min-height:515px !important;
  max-height:none !important;
  display:block !important;
  align-items:initial !important;
  overflow:hidden !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  position:relative !important;
  color:#fff !important;
  padding:0 !important;
  margin:0 !important;
}
body.ddc-home-page .hero::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(90deg,rgba(20,50,86,.16),rgba(20,50,86,.04) 48%,rgba(255,118,66,.05)) !important;
  display:block !important;
  z-index:0 !important;
  pointer-events:none !important;
  height:auto !important;
  width:auto !important;
}
body.ddc-home-page .hero::after{
  display:none !important;
  content:none !important;
}
body.ddc-home-page .hero-mask{
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(180deg,rgba(9,31,66,.20),rgba(9,31,66,.02)) !important;
  z-index:1 !important;
  pointer-events:none !important;
}
body.ddc-home-page .hero-inner{
  height:auto !important;
  min-height:515px !important;
  position:relative !important;
  z-index:2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  width:min(1180px,calc(100% - 86px)) !important;
  margin:0 auto !important;
  max-width:none !important;
  box-sizing:border-box !important;
}
body.ddc-home-page .hero-copy{
  max-width:760px !important;
  text-shadow:0 8px 24px rgba(0,0,0,.24) !important;
  position:relative !important;
  z-index:2 !important;
  padding:0 !important;
}
body.ddc-home-page .hero h1{
  font-size:44px !important;
  line-height:1.36 !important;
  letter-spacing:.055em !important;
  margin:0 0 12px !important;
  font-weight:900 !important;
  color:#fff !important;
  font-family:inherit !important;
  max-width:none !important;
}
body.ddc-home-page .hero p{
  font-size:24px !important;
  margin:0 !important;
  font-weight:750 !important;
  letter-spacing:.16em !important;
  color:rgba(255,255,255,.93) !important;
  max-width:none !important;
}

/* 区块标题 */
body.ddc-home-page .section{padding:46px 0 0;background:#fff}
body.ddc-home-page .section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--ddc-line);
  padding-bottom:17px;
  margin-bottom:26px;
}
body.ddc-home-page .section-head h2{
  position:relative;
  margin:0;
  padding-left:25px;
  font-size:26px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.03em;
  color:var(--ddc-ink);
}
body.ddc-home-page .section-head h2::before{
  content:"";
  position:absolute;
  left:0;
  top:2px;
  bottom:2px;
  width:5px;
  background:var(--ddc-red);
  border-radius:3px;
}
body.ddc-home-page .section-head a{
  font-size:14px;
  color:#8a929c;
  font-weight:900;
}
body.ddc-home-page .section-head.large{margin-bottom:28px}

/* 工作动态 */
body.ddc-home-page .work-layout{
  display:grid;
  grid-template-columns:540px 1fr;
  gap:46px;
  align-items:start;
}
body.ddc-home-page .feature-card{
  display:block;
  overflow:hidden;
}
body.ddc-home-page .feature-card img{
  width:100%;
  height:360px;
  object-fit:cover;
  object-position:center;
  transition:.35s;
}
body.ddc-home-page a.feature-card:hover img{
  transform:scale(1.02);
}

body.ddc-home-page .news-list{
  list-style:none;
  margin:0;
  padding:0;
}
body.ddc-home-page .news-list li{
  display:grid;
  grid-template-columns:minmax(0,1fr) 128px;
  gap:24px;
  align-items:center;
  min-height:46px;
  border-bottom:1px solid var(--ddc-line);
}
body.ddc-home-page .work-list li{min-height:47px}
body.ddc-home-page .news-list li:last-child{border-bottom:0}
body.ddc-home-page .news-list a{
  position:relative;
  padding-left:18px;
  font-size:16px;
  font-weight:780;
  color:#333b48;
  line-height:1.58;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  min-width:0;
}
body.ddc-home-page .news-list a::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  width:4px;
  height:4px;
  background:var(--ddc-red);
  border-radius:50%;
}
body.ddc-home-page .news-list a:hover{color:var(--ddc-red)}
body.ddc-home-page .news-list time{
  text-align:right;
  font-size:17px;
  color:#444c57;
  font-weight:700;
  white-space:nowrap;
}
body.ddc-home-page .work-list time{font-size:18px}

/* 下部三栏 */
body.ddc-home-page .lower-section{
  padding-top:58px;
  padding-bottom:62px;
}
body.ddc-home-page .lower-grid{
  display:grid;
  grid-template-columns:1fr 1fr 180px;
  gap:46px;
  align-items:start;
}
body.ddc-home-page .panel{background:#fff}
body.ddc-home-page .list-panel .section-head{margin-bottom:12px}
body.ddc-home-page .list-panel .section-head h2{font-size:24px}
body.ddc-home-page .compact li{
  min-height:56px;
  grid-template-columns:minmax(0,1fr) 62px;
}
body.ddc-home-page .compact a{
  font-size:15px;
  font-weight:760;
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.ddc-home-page .compact a::before{top:10px}
body.ddc-home-page .compact time{
  font-size:15px;
  color:#4f5965;
}

body.ddc-home-page .side-links{
  display:flex;
  flex-direction:column;
  gap:28px;
  padding-top:56px;
}
body.ddc-home-page .side-links a{
  height:100px;
  background:#f8fafc;
  display:flex;
  align-items:center;
  gap:16px;
  padding:0 20px;
  box-shadow:0 8px 22px rgba(22,34,56,.025);
  transition:.25s;
  color:#68717b;
}
body.ddc-home-page .side-links a:hover{
  transform:translateX(-4px);
  box-shadow:0 12px 28px rgba(22,34,56,.08);
}
body.ddc-home-page .side-links span{
  width:42px;
  height:42px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:5px;
  flex:0 0 auto;
  position:relative;
}
body.ddc-home-page .side-links span::before{
  content:"";
  display:block;
  width:17px;
  height:17px;
  background:#6c7780;
  border-radius:4px;
  box-shadow:23px 0 0 #6c7780,0 23px 0 #6c7780,23px 23px 0 #6c7780;
}
body.ddc-home-page .side-links b{
  font-size:18px;
  line-height:1.4;
  font-weight:850;
  color:#69717a;
  font-style:normal;
}

@media (max-width:1180px){
  body.ddc-home-page .container{width:min(100% - 48px,1040px)}
  body.ddc-home-page .hero-inner{width:min(100% - 48px,1040px) !important}
  body.ddc-home-page .work-layout{
    grid-template-columns:1fr 1fr;
    gap:34px;
  }
  body.ddc-home-page .lower-grid{
    grid-template-columns:1fr 1fr;
    gap:34px;
  }
  body.ddc-home-page .side-links{
    grid-column:1/-1;
    flex-direction:row;
    padding-top:0;
  }
  body.ddc-home-page .side-links a{flex:1}
}

@media (max-width:860px){
  body.ddc-home-page .site-header .hero,
  body.ddc-home-page .hero,
  body.ddc-home-page .hero-inner{
    height:auto !important;
    min-height:420px !important;
  }
  body.ddc-home-page .hero-inner{
    align-items:center !important;
    padding-top:0 !important;
    width:min(100% - 48px,1040px) !important;
  }
  body.ddc-home-page .hero h1{font-size:36px !important}
  body.ddc-home-page .hero p{
    font-size:18px !important;
    letter-spacing:.08em !important;
  }
  body.ddc-home-page .work-layout,
  body.ddc-home-page .lower-grid{grid-template-columns:1fr}
  body.ddc-home-page .feature-card img{height:300px}
  body.ddc-home-page .side-links{flex-direction:column}
}

@media (max-width:540px){
  body.ddc-home-page .container{width:calc(100% - 24px)}
  body.ddc-home-page .hero-inner{width:calc(100% - 24px) !important}
  body.ddc-home-page .site-header .hero,
  body.ddc-home-page .hero,
  body.ddc-home-page .hero-inner{
    height:auto !important;
    min-height:360px !important;
  }
  body.ddc-home-page .hero-inner{
    align-items:center !important;
    padding-top:0 !important;
  }
  body.ddc-home-page .hero h1{font-size:29px !important}
  body.ddc-home-page .hero p{font-size:15px !important}
  body.ddc-home-page .section{padding-top:34px}
  body.ddc-home-page .section-head h2{font-size:22px}
  body.ddc-home-page .work-list time{font-size:14px}
  body.ddc-home-page .news-list li{
    grid-template-columns:1fr;
    gap:2px;
    padding:11px 0;
  }
  body.ddc-home-page .news-list time{
    text-align:left;
    padding-left:18px;
    font-size:13px;
  }
  body.ddc-home-page .feature-card img{height:230px}
  body.ddc-home-page .lower-section{padding-top:36px}
  body.ddc-home-page .side-links a{height:82px}
  body.ddc-home-page .side-links b{font-size:16px}
}
