:root {
  --primary01: #5f87c1;
  --primary02: #fd735d;
  --secondary01: #eef5ff;
  --secondary02: #ffe2dd;
  --border: #d9d9d9;
  --neutral50: #f6f6f6;
}
.news-category-btn {
  padding: 0 35px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  background-color: #fff; 
  color: #212529;          
  border: 1px solid #ced4da; 
  border-radius: 8px;
  margin-right: 8px;       
  transition: all 0.1s ease;
  text-decoration: none;
  cursor: pointer;
}

.news-category-btn.active {
  background-color: var(--primary01); 
  color: #fff;               
  border-color: var(--primary01); 
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.news-category-btn:hover {
  background-color: var(--primary01);
  color: #fff;
}
.news-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-content {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pagination-wrapper {
  display: flex;
  justify-content: center; 
  margin-top: 20px;
}

.pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.pagination li a,
.pagination li span {
  display: block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease-in-out;
}

.pagination li a:hover {
  background-color: #f5f5f5;
  border-color: var(--primary01);
  border-color: var(--primary01);
}

.pagination li.active span {
  background-color: var(--primary01);
  border-color: var(--primary01);
  color: #fff;
}

.pagination li.disabled span {
  color: #aaa;
  pointer-events: none;
  background: #f9f9f9;
}

body {
  background: #f6f7fb;
}
.page-title {
  letter-spacing: 2px;
}
.section-card {
  border: 1px solid #e9ecef;
  border-radius: 12px;
}
.article-card {
  width: 350px;
  height: 450px;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card img {
  cursor: pointer;
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.article-title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
}
.article-desc {
  font-size: 0.9rem;
  color: #6c757d;
}
em.text-center {
    display: block;
    text-align: center;
    }
    .hr-dashed {
        border: 0; /* bỏ hr mặc định */
        border-top: 1px dashed #999; /* đường gạch đứt */
        margin: 2rem 0; /* khoảng cách trên dưới */
        opacity: .8; /* trong suốt nhẹ */
    }

    .feedback-box {
        background: #f5f9ff;
        border-radius: 8px;
        padding: 1.5rem;
        text-align: center;
        width: fit-content;
        margin: 0 auto; /* căn giữa */
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    .related-news {
    margin-top: 2rem;
}

.related-news h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ff5722; /* màu cam */
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.related-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-news li {
    margin-bottom: 0.75rem;
}

.related-news a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: color 0.2s;
}

.related-news a:hover {
    color: var(--primary01); /* hover thành cam */
}

.related-news li i {
    margin-right: 6px;
    color: #666;
}

.more-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #333;      /* viền đen */
    border-radius: 6px;          /* bo góc */
    background-color: #fff;      /* nền trắng */
    color: #333;                 /* chữ đen */
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;       /* bỏ gạch dưới */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* bóng mờ */
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: #f5f5f5;  /* hover nền xám nhạt */
    color: #000;                /* chữ đậm hơn */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* bóng đậm hơn */
}