.news {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.news .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.item-news-top {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  padding: 0;
  max-width: calc(33% - 10px);
}

.item-news-top.hot {
  flex: 1 1 calc(66.666% - 20px);
  position: relative;
  max-width: 66%;
  max-height: 610px;
  min-height: 410px;
}

.item-news-top.hot a {
  height: 100%;
}

.item-news-top.hot .ct {
  position: absolute;
  bottom: 60px;
}

.item-news-top.hot .ct .title a {
  color: #ffffff;
}

.item-news-top:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.item-news-top .img {
  display: block;
  width: 100%;
  height: 333px;
  overflow: hidden;
}

.item-news-top .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item-news-top:hover .img img {
  transform: scale(1.08);
}

.item-news-top .ct {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-news-top.hot .time {
  color: #ffffff;
  opacity: 0.8;
}

.item-news-top .time {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.item-news-top .ct .time {
  display: none;
}

.item-news-top .ct .bottom .time {
  display: block;
}

.item-news-top.hot .ct .time {
  display: block;
}

.item-news-top .title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.item-news-top .title a {
  text-decoration: none;
  color: #111827;
  font-weight: 700;
  font-size: 16px;
}

.item-news-top .title a:hover {
  color: #2563eb;
}

.item-news-top .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}

.item-news-top.hot .bottom {
  display: none;
}

.item-news-top .control {
  display: flex;
  gap: 14px;
}

.item-news-top .control .item {
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Responsive */
@media (max-width: 991px) {
  .item-news-top,
  .item-news-top.hot {
    flex: 1 1 100%;
  }

  .news .row {
    margin: 0;
  }

  .item-news-top,
  .item-news-top.hot {
    max-width: 100%;
  }
}

/*---- Blog detail-----*/
.blog-detail-content {
  margin-top: 2rem;
}

.blog-article {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-title {
  color: #333;
  font-weight: 600;
  line-height: 1.3;
}

.blog-meta {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.blog-image img {
  width: 100%;
  height: 620px;
  border-radius: 8px;
}

.blog-content {
  line-height: 1.8;
  color: #555;
  font-size: 1.1rem;
}

.blog-sidebar .card {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

article.blog-article {
  max-width: 1078px;
  margin: 0 auto;
  padding: 24px;
}

@media (max-width: 991px) {
  .blog-image img {
    height: auto;
  }
}
