/* ============================================
   VIPCMS 辅助样式 - 灰色新闻风格
   ============================================ */

/* ---------- 滚动条美化 ---------- */
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: linear-gradient(180deg, #c0c0c0 0%, #a0a0a0 100%);
  border: 1px solid rgba(255,255,255,0.1);
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a0a0a0 0%, #808080 100%);
}

body::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #808080 0%, #606060 100%);
}

/* Firefox 滚动条 */
body {
  scrollbar-width: thin;
  scrollbar-color: #a0a0a0 transparent;
}

body hr {
  height: 1px;
  border: none;
  border-top: 1px solid #e8e9eb;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ---------- 分页样式 ---------- */
p { margin: 0; }

#page {
  height: 40px;
  padding: 20px 0px;
}

#page a {
  display: block;
  float: left;
  margin-right: 10px;
  padding: 2px 12px;
  height: 32px;
  border: 1px solid #e8e9eb;
  background: #fff;
  text-decoration: none;
  color: #888;
  font-size: 13px;
  line-height: 28px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#page a:hover {
  color: #c41e24;
  border-color: #c41e24;
  background: rgba(196, 30, 36, 0.03);
}

#page a.cur {
  border: none;
  background: #c41e24;
  color: #fff;
  border: 1px solid #c41e24;
  box-shadow: 0 2px 8px rgba(196, 30, 36, 0.25);
}

#page p {
  padding: 2px 12px;
  font-size: 12px;
  height: 32px;
  line-height: 28px;
  color: #bbb;
  border: 1px solid #e8e9eb;
  background: #fcfcfc;
  margin: auto 4px;
  border-radius: 4px;
}

#page p.pageRemark {
  background: none;
  margin-right: 0px;
  padding: 0px 0px;
  color: #666;
  border: #e8e9eb solid 1px;
  padding: 2px 10px 0px 10px;
  border-radius: 4px;
}

#page p.pageRemark b {
  color: #c41e24;
  font-weight: 500;
  font-size: 15px;
}

#page p.pageEllipsis {
  border-style: none;
  background: none;
  padding: 4px 0px;
  color: #888;
}

.pageRemark {
  display: none;
}

#page {
  width: 650px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.vc_class {
  font-size: 16px;
  font-weight: 600;
}

.vc_class a {
  color: #333;
}

.vc_class a:hover {
  color: #c41e24;
}

/* ---------- 标签 ---------- */
.tuijian {
  background: #666;
  color: #FFF;
  border-radius: 50px;
  padding: 1px 6px 2px 6px;
  font-size: 10px;
  margin-right: 5px;
  border: #FDFDFD solid 0px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.toutiao {
  background: #c41e24;
  color: #FFF;
  border-radius: 50px;
  padding: 1px 6px 2px 6px;
  font-size: 10px;
  margin-right: 5px;
  border: #FDFDFD solid 0px;
  font-weight: 500;
}

.zhiding {
  background: #888;
  color: #FFF;
  border-radius: 50px;
  padding: 1px 6px 2px 6px;
  font-size: 10px;
  margin-right: 5px;
  border: #FDFDFD solid 0px;
  font-weight: 500;
}

.vcweizhi {
  padding-bottom: 10px;
  margin-top: 10px;
  font-size: 13px;
  color: #888;
}

.vcweizhi a {
  color: #555;
  transition: all 0.3s ease;
}

.vcweizhi a:hover {
  color: #c41e24;
}

#content {
  height: 100px;
}

.titlez {
  padding: 2px 12px 3px 12px;
  border: #e0e0e0 solid 1px;
  border-radius: 30px;
  margin-left: 5px;
  margin-right: 5px;
  display: inline-block;
  color: #666;
  font-size: 13px;
  transition: all 0.3s ease;
}

.titlez:hover {
  border-color: #c41e24;
  color: #c41e24;
}

.tit span {
  color: white;
}

.anniu {
  padding: 4px 14px 4px 14px;
  background: #FFFFFF;
  border: #1a1a1a solid 1px;
  color: #1a1a1a;
  border-radius: 30px;
  margin-top: 10px;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.anniu:hover {
  background: #1a1a1a;
  color: #fff;
}

.nav-footer a {
  display: inline-block;
}

/* ---------- 留言表单 ---------- */
.book input {
  width: 100%;
  border: #e0e0e0 solid 1px;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 3px;
  line-height: 28px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  outline: none;
}

.book input:focus {
  border-color: #c41e24;
  box-shadow: 0 0 0 3px rgba(196, 30, 36, 0.08);
}

.book textarea {
  width: 100%;
  border: #e0e0e0 solid 1px;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 3px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
}

.book textarea:focus {
  border-color: #c41e24;
  box-shadow: 0 0 0 3px rgba(196, 30, 36, 0.08);
}

.book span {
  line-height: 30px;
  color: #555;
  font-weight: 500;
}

.book td {
  float: left;
  padding: 10px 10px 10px 0px;
}

.book button {
  padding: 8px 28px;
  border-radius: 4px;
  background: #1a1a1a;
  color: white;
  font-size: 15px;
  border: #1a1a1a solid 1px;
  line-height: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 1px;
}

.book button:hover {
  background: #c41e24;
  border-color: #c41e24;
  box-shadow: 0 4px 12px rgba(196, 30, 36, 0.25);
}

.copyright-footer {
  font-size: 14px;
}

.copyright-footer a {
  font-size: 14px;
}

/* ---------- 侧边栏列表项 ---------- */
.widget .list-group-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  list-style: none;
}

.widget .list-group-item:last-child {
  border-bottom: none;
}

.widget .list-group-item a {
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
  display: block;
}

.widget .list-group-item a:hover {
  color: #c41e24;
  padding-left: 4px;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 640px) {
  .pages {
    margin-top: -10px !important;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  #page {
    width: 100%;
    padding: 0 10px;
  }

  #page a {
    margin-right: 6px;
    padding: 2px 10px;
    font-size: 12px;
  }
}
