:root {
    --line: #e5e7eb;
    --muted: #667085;
    --title: #111827;
    --hover: #0ea5e9;
    --bg: #f9fafb;
  }
  
  /* Khung tổng thể */
  .tvn-news {
    background: var(--bg);
    padding: 40px 0 60px;
  }
  
  .tvn-news .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
  }
  
  /* Menu đầu trang */
  .tvn-news-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
  }
  
  .tvn-news-menu h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--title);
    margin-bottom: 12px;
  }
  
  .tvn-news-menu ul {
    list-style: none;
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
  }
  
  .tvn-news-menu a {
    text-decoration: none;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--muted);
    transition: all .2s ease;
  }
  
  .tvn-news-menu a.active,
  .tvn-news-menu a:hover {
    background: var(--hover);
    color: #fff;
  }
  
  /* Lưới tin tức */
  .tvn-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
  }
  
  /* Card tin */
  .tvn-news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(2,6,23,.08);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  
  .tvn-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(2,6,23,.12);
  }
  
  .tvn-news-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  
  .tvn-news-body {
    padding: 16px 18px 22px;
  }
  
  .tvn-news-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--title);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  
  .tvn-news-title:hover {
    color: var(--hover);
  }
  
  .tvn-news-desc {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 12px;
    line-height: 1.5;
  }
  
  .tvn-news-meta {
    font-size: 13px;
    color: var(--muted);
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .tvn-news-menu {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .tvn-news-menu ul {
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .tvn-news-thumb img {
      height: 180px;
    }
  }

  /* Chỉ dành cho trang tuyển thành viên */
.tvn-news .tvn-page-title {
    color: #0ea5e9;
  }
  
  .tvn-news .tvn-news-card:hover {
    border-color: #0ea5e9;
  }

  /* Khoảng cách giữa tiêu đề trang và lưới bài viết */
.tvn-news-top {
    margin-bottom: 32px; /* 📌 tạo khoảng cách rõ ràng */
    text-align: left;
  }
  
  .tvn-page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--title);
    margin-bottom: 8px;
  }
  
  .tvn-page-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 700px;
    line-height: 1.5;
  }
  
  /* Responsive cho mobile */
  @media (max-width: 600px) {
    .tvn-news-top {
      margin-bottom: 24px; /* thu nhỏ khoảng cách trên mobile */
      text-align: left;
    }
  
    .tvn-page-title {
      font-size: 24px;
    }
  
    .tvn-page-sub {
      font-size: 14px;
    }
  }

  .tvn-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
  }


  /* ===== Phân trang Laravel ===== */
.tvn-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
  }
  
  .tvn-pagination nav ul {
    display: flex;
    list-style: none;     /* bỏ dấu chấm đen */
    gap: 8px;             /* khoảng cách giữa các nút */
    padding: 0;
    margin: 0;
  }
  
  .tvn-pagination nav ul li a,
  .tvn-pagination nav ul li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
  }
  
  /* hover */
  .tvn-pagination nav ul li a:hover {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
  }
  
  /* trang hiện tại */
  .tvn-pagination nav ul li span[aria-current="page"] {
    background: #0ea5e9;
    color: #fff;
    font-weight: 600;
    border-color: #0ea5e9;
  }
  
  /* mũi tên trái/phải */
  .tvn-pagination nav ul li .page-link svg,
  .tvn-pagination nav ul li a[rel="prev"],
  .tvn-pagination nav ul li a[rel="next"] {
    font-size: 14px;
  }
  
  /* responsive */
  @media (max-width: 500px) {
    .tvn-pagination nav ul li a,
    .tvn-pagination nav ul li span {
      padding: 6px 10px;
      font-size: 14px;
    }
  }