body {
  background: #f5f5f5;
}

.g-guide {
  height: 44px;
  line-height: 44px;
  font-size: 14px;
  font-weight: normal;
  color: #333;
  position: relative;
  zoom: 1
}

.g-guide a {
  color: #333
}

.g-guide a:hover {
  color: #ff4939
}

.g-guide .u-key-font {
  color: #F30;
  padding: 0 6px;
}

.g-guide .u-key-length {
  color: #F30;
  padding: 0 6px;
}

.container {
  width: 100%;
  max-width: 900px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.navbar {
  display: flex;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding-left: 20px;
  padding-top: 7px;
}

.navbar .nav-item {
  padding: 15px 20px;
  text-decoration: none;
  color: #555;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.navbar .nav-item:hover {
  color: #dc3545;
}

.navbar .nav-item.active {
  color: #dc3545;
  border-bottom: 3px solid #dc3545;
}

.content {
  padding: 20px;
}

.news-item {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 20px;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-image {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  height: 160px;
  margin-right: 20px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: normal;
}

.news-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-title {
  font-size: 18px;
  font-weight: bold;
  line-height: normal;
  color: #333;
  margin-top: 0;
  margin-bottom: 18px;
}

.news-summary {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
  display: -webkit-box;
  line-height: 22px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #999;
}
.news-meta .news-date{
  display: flex;
}
.news-meta .news-date::before{
  content:"";
  width: 18px;
  height: 18px;
  background: url(../images/icon-time.png) no-repeat;
  background-size: 100%;
  display: block;
  overflow: hidden;
  margin-right:6px;
}

.read-more {
  color: #dc3545 !important;
  text-decoration: none;
  white-space: nowrap;
}

.read-more:hover {
  text-decoration: underline;
}


.hot-info {
  margin-bottom: 30px;
  padding: 20px 20px 1px;
  box-sizing: border-box;
  border-radius: 12px;
}

.article-ranking:last-of-type {
  margin-bottom: 0;
}

.hot-info h2 {
  font-size: 18px;
  color: #333;
  margin-top: 0;
  padding: 10px 15px;
  background-color: #f0f0f0;
  border-left: 3px solid #dc3545;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  border-radius: 6px;
}

.hot-info h2 {
  border-left-color: #dc3545;
}


.hot-info ol,
.article-ranking ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rank-item-counter;
}

.hot-info li,
.article-ranking li {
  position: relative;
  padding: 12px 0 12px 30px;
  margin-bottom: 5px;
  font-size: 14px;
  border-bottom: 1px dashed #eee;
}

.hot-info li:last-child,
.article-ranking li:last-child {
  border-bottom: none;
}

.hot-info li::before,
.article-ranking li::before {
  counter-increment: rank-item-counter;
  content: counter(rank-item-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
  color: #fff;
}

.hot-info li::before {
  background-color: #dc3545;
}

.hot-info li:nth-child(n+4)::before {
  background-color: #f0f0f0;
  color: #555;
}

.hot-info li a,
.article-ranking li a {
  color: #333;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: normal;
}

.hot-info li a:hover,
.article-ranking li a:hover {
  color: #007bff;
  text-decoration: underline;
}

main {
  display: flex !important;
  gap: 20px;
}

.leftbox {
  flex: 1;
}

.rightbox {
  width: 300px;
}