/*
 * 共青团首页 —— 结构对齐 jsfzzx；Hero 轮播；四栏均为通知公告列表样式
 */
body.gqt-home-page{
  --gqt-red:#d81716;
  --gqt-wrap:980px;
  background:#fff;
  color:#242424;
}

body.gqt-home-page .container{
  width:min(var(--gqt-wrap),calc(100% - 48px));
  margin:0 auto;
}

body.gqt-home-page .hero{
  position:relative !important;
  width:100%;
  height:407px !important;
  min-height:0 !important;
  max-height:none !important;
  display:block !important;
  align-items:normal !important;
  background:#920000;
  overflow:hidden;
}

body.gqt-home-page .hero-track{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

body.gqt-home-page .hero-slide{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  color:inherit;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .35s ease;
}

body.gqt-home-page .hero-slide.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:1;
}

body.gqt-home-page .hero-slide img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

body.gqt-home-page .hero-arrow{
  position:absolute !important;
  top:0 !important;
  bottom:0 !important;
  margin-top:auto !important;
  margin-bottom:auto !important;
  transform:none !important;
  width:44px;
  height:60px;
  border:0;
  background:rgba(180,0,10,.75);
  color:#fff;
  cursor:pointer;
  z-index:2;
  padding:0;
  display:flex !important;
  align-items:center;
  justify-content:center;
  line-height:0;
  font-size:0;
}

body.gqt-home-page .hero-arrow svg{
  display:block;
  width:18px;
  height:30px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.5;
  stroke-linecap:square;
}

body.gqt-home-page .hero-arrow.prev{left:0}
body.gqt-home-page .hero-arrow.next{right:0}

body.gqt-home-page .hero-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:18px;
  text-align:center;
  z-index:2;
}

body.gqt-home-page .hero-dots span{
  display:inline-block;
  width:10px;
  height:10px;
  margin:0 6px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.2);
  opacity:.7;
  cursor:pointer;
}

body.gqt-home-page .hero-dots span.is-active{opacity:1}

body.gqt-home-page .panel-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  margin-top:35px;
}

body.gqt-home-page .home-panels{
  margin-bottom:24px;
  align-items:stretch;
}

body.gqt-home-page .panel{min-width:0}

body.gqt-home-page .notice-panel{
  display:flex;
  flex-direction:column;
  height:100%;
}

body.gqt-home-page .section-title{
  height:32px;
  display:flex;
  align-items:center;
  border-bottom:1px solid #d8d8d8;
  margin-bottom:18px;
  position:relative;
}

body.gqt-home-page .section-title i{
  display:block;
  width:4px;
  height:18px;
  background:var(--gqt-red);
  margin-right:10px;
}

body.gqt-home-page .section-title h2{
  margin:0;
  font-size:18px;
  font-weight:800;
  line-height:1;
}

body.gqt-home-page .section-title a{
  margin-left:auto;
  color:#777;
  font-size:13px;
}

body.gqt-home-page .section-title a:hover{color:var(--gqt-red)}

body.gqt-home-page .news-list{
  list-style:none;
  padding:0;
  margin:0;
  flex:1 1 auto;
}

body.gqt-home-page .news-list li{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:center;
  height:34px;
  border-bottom:1px solid #eee;
  font-size:13px;
  position:relative;
  padding-left:14px;
}

body.gqt-home-page .news-list li:before{
  content:"";
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--gqt-red);
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
}

body.gqt-home-page .news-list a{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#333;
  min-width:0;
}

body.gqt-home-page .news-list time{
  color:#444;
  font-weight:600;
  flex:0 0 auto;
}

body.gqt-home-page .friend-links-wrap{
  margin-bottom:40px;
}

body.gqt-home-page .friend-links{
  list-style:none;
  margin:0;
  padding:14px 0 0;
  border-top:1px solid #eee;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
  font-size:13px;
  color:#555;
}

body.gqt-home-page .friend-links .current{
  font-weight:700;
  color:#333;
}

body.gqt-home-page .friend-links a{
  color:#555;
}

body.gqt-home-page .friend-links a:hover{
  color:var(--gqt-red);
}

@media (max-width:1020px){
  body.gqt-home-page .container{width:min(92vw,980px)}
  body.gqt-home-page .hero{height:auto !important;aspect-ratio:16 / 7}
  body.gqt-home-page .panel-grid{grid-template-columns:1fr}
  body.gqt-home-page .hero-arrow{width:36px;height:52px}
  body.gqt-home-page .hero-arrow svg{width:16px;height:28px}
}
