/* Group title (tiêu đề chủ đề) */
.lnw-group-title {
  padding: 2px 4px;
  background: #f0f5ff;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid #d9e5ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lnw-group-title:hover {
  background: #e2edff;
}

/* Mũi tên */
.lnw-arrow {
  transition: transform 0.25s ease;
}

/* Quay mũi tên khi mở */
.lnw-group.open .lnw-arrow {
  transform: rotate(90deg);
}

/* Nội dung nhóm */
.lnw-group-body {
  display: none;
  padding: 6px 10px 10px;
  
}

/* Khi nhóm mở */
.lnw-group.open .lnw-group-body {
  display: block;
}

#left-news-widget {
  position: fixed;
  left: 10px;          /* đẩy vào chút cho đẹp */
  top: 160px;          /* độ cao so với top */
  width: 14vw;     /* ~ 1/6 chiều rộng màn hình */
  max-width: 300px;    /* tránh quá rộng trên màn hình to */
  min-width: 200px;
  bottom: 20px;
  z-index: 9999;

  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

/* Header */
#left-news-widget .lnw-header {
  background: #005bac;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 10px;
  font-size: 12px;
}

/* Nội dung cuộn nếu dài */
#left-news-widget .lnw-content {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 8px 10px 10px;
}

/* Từng nhóm chủ đề */
#left-news-widget .lnw-category + .lnw-category {
  margin-top: 4px;
  border-top: 1px solid #eee;
  padding-top: 2px;
}

#left-news-widget .lnw-cat-title {
  font-weight: bold;
  color: #c0392b;
  margin-bottom: 4px;
}

/* Danh sách tin */
#left-news-widget .lnw-list {
  list-style: none;
  font-size: 11px;
  margin: 0;
  padding: 0;
}



#left-news-widget .lnw-item {
  margin-bottom: 6px;
}
/* Màu của tiêu đề tin (có gắn link) */
#left-news-widget .lnw-link {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;  
  font-size: 13px;
  color: #005bac;
  font-weight: 500;
  text-decoration: none;
}
#left-news-widget .lnw-source {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;  
  font-size: 9px;
  color: #567;
  font-weight: 300;
  font-style: italic; 
}
#left-news-widget .lnw-time {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;  
  font-size: 10px;
  color: #567;
  font-weight: 300;
}

#left-news-widget .lnw-link:hover {
  color: #0033ff;
  text-decoration: none;
}

#left-news-widget .lnw-meta {
  font-size: 11px;
  color: #777;
  display: flex;
  justify-content: space-between;
}

#left-news-widget .lnw-desc {
  font-size: 11px;
  color: #555;
}

/* Ẩn widget trên màn nhỏ (mobile) nếu muốn */
@media (max-width: 992px) {
  #left-news-widget {
    display: none;
  }
}
