BẢNG CSS TỐI ƯU
Phiên bản rút gọn, có chú thích đầy đủ

/* ===== 1. KHUNG BẢNG CHUNG CHO LỊCH THI ĐẤU ===== */
.keo247-lichthidau {
  font-family: 'Arial', sans-serif;
  max-width: 100%;
  overflow-x: auto;
  margin: 20px auto;
  background: #fff;
  padding: 0 15px;
  box-sizing: border-box;
}

.keo247-lichthidau table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.keo247-lichthidau th,
.keo247-lichthidau td {
  border: 1px solid #ddd;
  padding: 8px 6px;
  text-align: center;
  vertical-align: middle;
}

.keo247-lichthidau tr:nth-child(even) {
  background-color: #f9f9f9; /* Dòng kẻ zebra */
}

/* ===== 2. HEADER CỦA BẢNG ===== */
.keo247-lichthidau th {
  background: #ffffff; /* Mặc định màu EPL */
  color: #000000;
  font-weight: bold;
}

/* ===== 3. CỘT LOGO + TÊN ĐỘI ===== */
.keo247-logo {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

.keo247-team span {
  display: inline-block;
  max-width: 80px;
  white-space: normal;
  word-break: break-word;
  font-size: 14px;
}

/* ===== 4. VS &amp; SÂN THI ĐẤU ===== */
.keo247-vs {
  font-weight: bold;
  color: #333;
}

.keo247-stadium {
  font-size: 13px;
  color: #666;
}

/* ===== 5. HIGHLIGHT TRẬN HOT (CÓ ĐỘI LỚN) ===== */
.keo247-lichthidau .highlight-big-match td.team {
  font-weight: normal !important;
  color: #c30000 !important; /* Tên đội màu đỏ */
}
.highlight-big-match td {
  color: red !important;
  font-weight: normal;
}

/* ===== 6. HEADER VÒNG ĐẤU &amp; NGÀY THI ĐẤU ===== */
.keo247-vong-header {
  background: #454545;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  margin: 20px 0 10px;
  font-size: 17px;
}

.keo247-subdate {
  background: #f1f1f1;
  font-weight: bold;
  color: #333;
  margin: 10px 0 5px;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 14px;
}

/* ===== 7. MÀU HEADER THEO GIẢI ĐẤU ===== */
.keo247-epl th, .keo247-epl .keo247-vong-header {
  background: #a4ae2d;
}
.keo247-laliga th, .keo247-laliga .keo247-vong-header {
  background: #9a1b1b;
}
.keo247-seriea th, .keo247-seriea .keo247-vong-header, .seriea-bg {
  background: #014d88;
  color: #fff;
}
.keo247-vleague th, .keo247-vleague .keo247-vong-header, .vleague-bg {
  background: #128c7e;
  color: #fff;
}

/* ===== 8. RESPONSIVE CHO MOBILE ===== */
@media (max-width: 600px) {
  .keo247-team span {
    max-width: 60px;
    font-size: 13px;
  }
  .keo247-logo {
    width: 18px;
    height: 18px;
  }
  .keo247-time,
  .keo247-vs,
  .keo247-stadium {
    font-size: 13px;
  }
  .keo247-subdate,
  .keo247-vong-header {
    font-size: 14px;
    padding: 8px 10px;
  }
}

/* ===== 9. KHUNG TRANG PAGE LỊCH ===== */
.keo247-lich-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

/* ===== 10. PHẦN HÌNH ẢNH + NỘI DUNG NGÀY HÔM NAY ===== */
.keo247-lich-today {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}
.keo247-lich-today-left {
  flex: 1 1 40%;
}
.keo247-lich-today-left img {
  width: 100%;
  border-radius: 10px;
}
.keo247-lich-today-right {
  flex: 1 1 50%;
}
.keo247-lich-today-right h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.keo247-lich-today-right p {
  font-size: 16px;
  margin-bottom: 15px;
}
.keo247-btn {
  display: inline-block;
  background: #27ae60;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.keo247-btn:hover {
  opacity: 0.9;
}

/* ===== 11. GRID CÁC GIẢI ĐẤU KHÁC ===== */
.keo247-title {
  font-size: 20px;
  margin: 30px 0 15px;
  font-weight: bold;
  color: #333;
}
.keo247-giaidau-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.keo247-giaidau-grid a {
  flex: 1 1 180px;
  text-align: center;
  padding: 14px 10px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}


/* ===== 12. DANH SÁCH TIN CLB (PHẦN CUỐI TRANG) ===== */
.keo247-tinclb {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.clb-box {
  display: flex;
  gap: 15px;
}
.clb-box img {
  width: 140px;
  height: auto;
  border-radius: 6px;
}
.clb-content h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.clb-content h3 a {
  color: #2c3e50;
  text-decoration: none;
}
.clb-content h3 a:hover {
  color: #27ae60;
}
.clb-content p {
  font-size: 14px;
  color: #666;
}

/* ===== 13. LOGO HEADER ===== */
.keo247-header img.keo247-logo {
  height: 40px;
  max-height: 50px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}
/* ========== KEO247 • TABLE STYLE ========== */
.keo247-lichthidau table{width:100%;border-collapse:collapse;font-size:15px;background:#fff}
.keo247-lichthidau th,.keo247-lichthidau td{border:1px solid #eee;padding:8px 6px;text-align:center}
.keo247-lichthidau tbody tr:nth-child(even){background:#fafafa}
.keo247-league-header{background:#f2f4f6;padding:8px 10px;border-radius:6px}
@media (max-width:600px){
  .keo247-lichthidau table{font-size:14px}
  .keo247-lichthidau td:nth-child(5){display:none} /* ẩn cột sân trên mobile */
}
.keo247-news-hot .item{border-bottom:1px dashed #e5e7eb;padding-bottom:10px}
