:root {
	--bg:#f8fafb;
	--gray-300:#dee2e6;
	--gray-500:#adb5bd;
	--b-radius:0.5rem
}
* {
	scrollbar-width:thin;
	letter-spacing:0.5px
}
body {
	line-height:1.5;
	font-size:14px;
	font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
	color:var(--gray);
	background:var(--bg)
}
a {
	color:var(--gray);
	text-decoration:none
}
a:hover {
	color:var(--blue);
	text-decoration:none
}
img {
	max-width:100%;
	border-radius:var(--b-radius)
}
ul,ol,li {
	margin:0;
	padding:0;
	list-style:none
}
h1,h2,h3,h4,h5,h6 {
	margin:0;
	line-height:1.2;
	font-weight:700;
	color:var(--gray-dark)
}
h1 {
	font-size:36px
}
h2 {
	font-size:24px
}
h3,h4 {
	font-size:18px
}
h5,h6 {
	font-size:16px
}
form.search {
	display:flex;
	width:100%
}
input[type=file] {
	padding:0;
	height:auto;
	border:0
}
input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus {
	width:14px;
	height:14px;
	outline:none;
	box-shadow:none;
	vertical-align:middle
}
.body-bg {
	background:var(--bg)
}
.logo img {
	height:36px
}
#carouselDede .carousel-caption h2 {
	color:var(--white)
}
#carouselDede .carousel-caption h2,.item-article h2,.item-admin h2,.item-vote h2,.item-tag h2,.list-info-search h2 {
	font-size:18px
}
.item-article li {
	margin-bottom:10px;
	line-height:18px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap
}
.item-article li:last-child {
	margin-bottom:0
}
.item-admin {
	padding:75px 1rem
}
.item-theme {
	margin-bottom:2rem
}
.item-theme-box {
	padding:1.5rem
}
.item-theme-box .text-left i,.item-theme-box .text-right span,.item-news .author,.item-news .author a,.item-news .date,.item-info a,.list-article-body i,.list-article-body span,.article-hot-box i,.article-hot-box span,.article-meta span {
	color:var(--gray-500)
}
.item-theme .title a,.item-news .title a {
	color:var(--gray-dark)
}
.item-theme-img img {
	width:100%;
	height:250px
}
.item-theme p,.item-news p {
	color:var(--gray-500);
	overflow:hidden;
	text-overflow:ellipsis;
	display:-webkit-box;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical
}
.item-news {
	margin-bottom:2rem;
	padding:1.5rem
}
.item-theme:hover,.item-news:hover {
	box-shadow:0 14px 30px -16px rgba(0,36,100,0.25);
	transform:translateY(-5px)
}
.item-news .title {
	margin:20px 0;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap
}
.item-news-img img {
	width:100%;
	height:200px
}
.item-vote .table,.article-theme-body p:last-child,.article-hot:last-child {
	margin-bottom:0
}
.list-article-img img {
	width:100%;
	height:260px
}
.list-article-body h2 {
	font-size:18px;
	overflow:hidden;
	display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
}
.list-article-body h2 a:hover,
.list-article-body h2 a:hover strong{
   color: #0064fa !important;
}
.list-article-body h2 a {
  transition: all 0.3s ease-in-out;
	color:var(--gray-dark);
}
.list-article-body p{
  margin-bottom: 0;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
}
.list-article-body .meta{
  display: flex;
  align-items: center;
}
.list-article-body .meta span {
	margin-right: 10px;
  font-size: 12px;
  color: #999;
}
.zy{
  margin-top: 3px;
  background: #F3F4F7;
  padding: 2px 10px;
  border-radius: 10px;
}
.article-theme-title h1 {
	margin-bottom:1rem;
	font-size:24px
}
.article-theme-img,.article-hot-img img {
	width:100%
}
.article-theme-info .item {
	display:inline-block;
	width:100px
}
.article-theme-info .price {
	font-size:18px;
	font-weight:700
}
.article-theme-body h2,.article-right h2 {
	margin-bottom:1rem;
	font-size:18px
}
.article-hot {
	margin-bottom:1.5rem
}
.article-hot-box {
	padding:1rem 1.5rem;
	background:var(--white)
}
.article-hot-box h4 {
	font-size:14px;
	font-weight:300;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap
}
.article-main .title h1 {
	font-size: 24px;
  word-break: break-all;
  text-align: center;
  padding-top: 10px;
  line-height: 30px;
}
.article-main .body h1,.article-main .body h2,.article-main .body h3,.article-main .body h4,.article-main .body h5,.article-main .body h6 {
	margin:20px 0;
	padding:0 10px;
	font-size:18px!important;
	border-left:3px solid var(--success)
}
.article-main .meta span {
	margin-right: 1rem;
}
.likes .comment-container {
	width:200px;
	padding:10px 20px;
	border:1px solid var(--bg);
	border-radius:30px;
	margin:0 6px;
	cursor:pointer
}
.likes .comment-container:hover {
	background:var(--white)
}
.likes .comment-top {
	display:flex;
	flex-direction:row;
	align-items:center;
	margin-bottom:10px
}
.likes .comment-top-text {
	margin-left:10px;
	color:var(--blue)
}
.likes .comment-top-text-danger {
	margin-left:10px;
	color:var(--danger)
}
.likes .text-like {
	color:var(--blue)
}
.likes .text-unlike {
	color:var(--danger)
}
.likes .comment-top p {
	margin-bottom:unset
}
.prenext .pagination-previous,.pagination-next {
	padding:10px 20px;
	font-size:14px;
	color:var(--gray);
	border-radius:30px;
	border:1px solid var(--light);
	cursor:pointer
}
.actbox {
	float:right;
	padding:10px
}
.actbox ul {
	list-style:none
}
.actbox ul li {
	float:left;
	margin-left:10px
}
.feedbacks .face {
	width:40px;
	height:40px;
	border-radius:50%;
	border:solid 1px var(--gray-300)
}
.feedbacks .media {
	border-bottom:solid 1px var(--gray-300)
}
.feedbacks .feedback_replies .media {
	border-top:solid 1px var(--gray-300);
	border-bottom:0
}
.feedbacks .media-body span {
	color:var(--gray-500)
}
.feedbacks .feedback-basic {
	display:inline-block
}
.feedbacks .feedback-action {
	float:right
}
.feedbacks ._feedback_reply .alert {
	margin-bottom:0
}
.login-from {
	margin:5rem auto;
	width:500px
}
.login-box {
	padding:1.25rem;
	background:var(--white)
}
.user-login,.user-actions {
	line-height:40px
}
.user-actions {
	text-align:right
}
.copyright {
	padding: 1.5rem 1.5rem 2.5rem;
	/* background:var(--gray-dark) */
  border-top: 1px solid #f0f0f0;
}
.flink,.flink a,.copyright,.copyright a {
	color:var(--white)
}
.user-meter i {
	font-size:24px!important;
	color:var(--green)
}
.userspace .info {
	font-size:14px;
	font-weight:300;
	color:var(--gray)
}
.pannel-main-container {
	padding:1.5rem;
	background:var(--white)
}
#returntop {
	display:none;
	position:fixed;
	padding:10px 15px;
	right:1rem;
	bottom:1rem;
	color:var(--white);
	cursor:pointer;
	background:var(--orange);
	border-radius:var(--b-radius);
	border:0;
	z-index:9998
}
#returntop:hover {
	background:var(--orange)
}
.biz-mb {
	margin-bottom:-2rem
}
.bannr-img {
	width:100%;
	height:340px
}
.user-img-md {
	width:60px;
	height:60px;
	border-radius:50%;
	border:1px solid var(--gray-300)
}
.user-img-sm {
	width:36px;
	height:36px;
	border-radius:50%;
	border:1px solid var(--gray-300)
}
.user-img-xs {
	width:30px;
	height:30px;
	border-radius:50%;
	border:1px solid var(--gray-300)
}
.nav-item .active {
	color:var(--warning)
}
.nav-link {
	padding:0 10px;
	height:36px;
	line-height:36px
}
.navbar-dark .navbar-nav .nav-link {
	color:var(--gray-300)
}
.list-group-item.active a {
	color:var(--white)
}
.list-group-flush>.list-group-item {
	border:0;
	cursor:pointer
}
.input-group-append .btn-sm {
	line-height:1.8
}
.input-text {
	height:36px;
	line-height:36px
}
.thumbnail-md {
	max-width:280px;
	max-height:168px
}
.admin-textarea-xl {
	width:100%;
	height:90px
}
.admin-textarea-sm {
	width:350px;
	height:60px
}
.admin-input-lg {
	width:350px
}
.admin-input-md {
	width:230px
}
.admin-input-sm {
	width:180px
}
.admin-input-xs {
	width:70px
}
.table td,.table th {
	padding:0.5rem;
	vertical-align:middle
}
.form-control {
	display:inline-block;
	height:36px
}
.form-control,.fa,.btn,.dropdown-menu {
	font-size:14px!important
}
a:hover,.item-theme:hover,.item-news:hover,.table-hover tbody tr:hover {
	transition:all 0.5s
}
.navbar-toggler,.dropdown-menu,.breadcrumb,.cke_chrome,.cke_inner,.form-control,.btn,.alert,.rounded {
	border-radius:var(--b-radius)!important
}
.cke_top,.item-theme-img img,.list-article-img img,.article-hot-img img {
	border-radius:var(--b-radius) var(--b-radius) 0 0!important
}
.cke_bottom,.list-article-radius {
	border-radius:0 0 var(--b-radius) var(--b-radius)!important
}
.rounded-circle {
	border-radius:50%!important
}
.input-group>.input-group-append>.btn {
	border-top-left-radius:0!important;
	border-bottom-left-radius:0!important
}
.input-group:not(.has-validation)>.form-control:not(:last-child) {
	border-top-right-radius:0!important;
	border-bottom-right-radius:0!important
}
.btn+.btn {
	margin-left:0.5rem
}
.shadow-sm {
	box-shadow:0 0.125rem 0.25rem rgba(0,0,0,0.015)!important
}
.btn-send,#validateimg {
	border-radius:0 var(--b-radius) var(--b-radius) 0;
	cursor:pointer
}
@media screen and (max-width:767px) {
	.pb-m-3 {
		padding-bottom:1rem
	}
	.login-from {
		width:100%
	}
	.bannr-img,.item-theme-img img,.list-article-img img {
		height:250px
	}
	.item-news-img img {
		height:210px
	}
	.feedbacks .feedback-action {
		float:none
	}
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #f7f8fc;
    color: #333;
}
.page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 头部 */
.header {
    text-align: center;
    margin-bottom: 32px;
}
.header .logo {
    font-size: 36px;
    font-weight: 700;
    
    margin-bottom: 10px;
}
.header .logo a{
  color: #667eea;
}
.header .desc {
    font-size: 16px;
    color: #666;
}

/* 搜索框 */
.search-box {
    position: relative;
    display: flex;
    max-width: 700px;
    margin: 0 auto 30px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 15px rgba(102, 126, 234, 0.15);
    overflow: hidden;
}
.search-box input {
    flex: 1;
    border: none;
    padding: 16px 50px 16px 24px;
    font-size: 16px;
    outline: none;
}
.search-box button {
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 0 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.search-box .clear-btn {
    display: none; /* 默认隐藏 */
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}
.search-box .clear-btn.show {
    display: block; /* 有内容时显示 */
}

/* 手机端 Tab 切换 */
.mobile-tab {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}
.mobile-tab .tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 24px;
    background: #fff;
    border-radius: 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}
.mobile-tab .tab-item.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

/* 内容区布局 */
.content-wrap {
    display: flex;
    gap: 24px;
}
.card-wrap-page,
.card-wrap {
    flex: 1;
}
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}
.card-title {
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
}
.card-title svg{
  margin: 2px 10px 0 0;
}
#hot-list .card-title{
  background: linear-gradient(90deg,#ef44440a,#0000);
}
#new-list .card-title{
  background: linear-gradient(90deg,#3b82f60a,#0000);
}

/* 列表样式 */
.list li {
  display: flex;
}
.list li a{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;   
}
.list li:last-child {
  border-bottom: none;
}

/* 序号：用伪元素 + nth-child 实现 */
.rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  margin-right: 12px;
  flex-shrink: 0;
  color: #666;
}
/* 前3条序号和颜色 */
.list li:nth-child(1) .rank::before,
.list li:nth-child(2) .rank::before,
.list li:nth-child(3) .rank::before{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.list li:nth-child(1) .rank::before {
    content: "1";
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
}
.list li:nth-child(2) .rank::before {
    content: "2";
    background: linear-gradient(135deg, #ffa726, #fb8c00);
    color: #fff;
}
.list li:nth-child(3) .rank::before {
    content: "3";
    background: linear-gradient(135deg,#fbbf24,#fde047);
    color: #fff;
}
/* 其他序号 */
.list li:nth-child(n+4) .rank::before{
    content: attr(data-index);
    color: #666;
}
/* 给其他序号赋值 */
.list li:nth-child(4) .rank::before { content: "4"; }
.list li:nth-child(5) .rank::before { content: "5"; }
.list li:nth-child(6) .rank::before { content: "6"; }
.list li:nth-child(7) .rank::before { content: "7"; }
.list li:nth-child(8) .rank::before { content: "8"; }
.list li:nth-child(9) .rank::before { content: "9"; }
.list li:nth-child(10) .rank::before { content: "10"; }
.list li:nth-child(11) .rank::before { content: "11"; }
.list li:nth-child(12) .rank::before { content: "12"; }
.list li:nth-child(13) .rank::before { content: "13"; }
.list li:nth-child(14) .rank::before { content: "14"; }
.list li:nth-child(15) .rank::before { content: "15"; }
.list li:nth-child(16) .rank::before { content: "16"; }
.list li:nth-child(17) .rank::before { content: "17"; }
.list li:nth-child(18) .rank::before { content: "18"; }
.list li:nth-child(19) .rank::before { content: "19"; }
.list li:nth-child(20) .rank::before { content: "20"; }

.list li .name {
    width: 0;
    flex: 1;
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}
.list li a:hover{
  transition: all 0.3s ease-in-out;
  transform: translateX(10px);
}
.list li a:hover .name{
  color: #0064fa;
}
.click-count {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}
/* .click-count::before {
    content: "🔥";
} */

.pagination{
  justify-content: center;
}
.page{
  width: 100%;
}
.list-article,
.no-result,
.article-main{
  box-shadow: 0 2px 15px rgba(102, 126, 234, 0.15) !important;
  border: 1px #94a3b833 solid;
  
}
.list-article{
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem !important;
}
.list-article .list-article-body{
  width: 0;
  flex: 1;
  margin-right: 10px;
}
.list-article .getZy a{
  color: #fff;
  font-size: 14px;
  border-radius: 12px;
  box-shadow: 0 4px 15px #6366f14d;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 12px;
}
.pt-0{
  padding-top: 0 !important;
}
.ptb-0{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.plr-0{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.breadcrumb{
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.breadcrumb li a{
  color: #fff;
}
.breadcrumb .breadcrumb-item{
  color: rgba(255, 255, 255, 0.8);
}
.breadcrumb-item+.breadcrumb-item::before{
  color: #ccc;
}
.center{
  text-align: center;
}
.copyright .text-center p{
  text-align: center;
  line-height: 18px;
  color: #999;
  font-size: 12px;
  margin-bottom: 0;
  padding: 0 20px;
}
#returntop{
  bottom: 3rem;
}
.‌pinned{
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 4px;
  font-size: 12px;
  padding: 1px 4px;
  color: #fff;
  margin-right: 8px;
}
.m0{
  margin: 0;
  gap: 15px;
}
.flex{
  flex: 1;
}
.article-image{
  padding: 10px 0;
  text-align: center;
}
.article-image img{
  max-width: 100%;
  height: auto;
}
.article-content p{
  font-size: 15px;
  line-height: 24px;
  color: #444;
}
.article-content p a{
  color: #FF3657 !important;
  font-size: 15px;
}
.article-content p a:hover{
  text-decoration: underline;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .content-wrap {
        display: block;
    }
    .mobile-tab {
        display: flex;
    }
    .card-wrap {
        display: none;
    }
    .card-wrap-page{
      margin-top: 20px;
    }
    .mt-0{
      margin-top: 0;
    }
    .card-wrap.active {
        display: block;
    }
    .page-wrap {
        padding: 20px 16px;
    }
    .header .logo {
        font-size: 28px;
    }
    .list-article .getZy a{
      display: none;
    }
    .list-article-body h2 {
      -webkit-line-clamp: 2;
    }
    .hidden{
      display: none;
    }
}
