/*
Theme Name: Cakhia Theme
Theme URI: https://cakhia.example.com
Author: Cakhia TV
Author URI: https://cakhia.example.com
Description: Cakhia TV Custom Theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: cakhia
*/
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
:root {
  --color-primary: #0dbd49;
  --color-lime: #83b43f;
  --color-lime-lighter: rgba(131, 180, 63, 0.15);
  --color-lime-light: rgba(131, 180, 63, 0.25);
  --color-lime-dark: rgb(26, 35, 26);
  --color-secondary: #f2152d;
  --color-tertiary: #ffd608;
  --color-warning: #e5a000;
  --color-danger: #f2152d;
  --color-dark: #1a1d23;
  --color-darker: #15171c;
  --color-gray-2: #686b71;
  --color-gray-3: #8f9196;
  --color-gray-4: #515e5a;
  --color-gray: #727782;
  --color-gray-dark: #4a4d54;
  --color-gray-darker: #36363d;
  --color-gray-5: #2d3034;
  --color-white: #ffffff;
  --color-telegram: #0088cc;
  --gradient-primary: linear-gradient(90deg, #f4af61 0%, #ec376e 100%);
  --gradient-gray: linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

body {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.21;
  color: var(--color-white);
  background-color: #141516;
  max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    background-size: cover;
}

main {
    background-color: #111;
    padding-top: 0.1rem;
}

h1 {
    margin-top: 1.7rem;
  margin-bottom: 1.3rem;
  color: #f7c700;
  text-transform: uppercase !important;
}

h2 {
  color: #f7c700;
  margin: 0.9rem 0 0.4rem 0;
}
h3 {
  color: #f7c700;
  margin: 0.7rem 0 0.5rem 0;
}

p {
    margin-bottom: 1rem;
    line-height: 1.3rem;
}

li {
    margin-bottom: 0.6rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-warning {
  color: #e5a000 !important;
  padding: 4px !important;
  border-radius: 6px !important;
}


.text-danger {
  color: var(--color-danger) !important;
}

.text-secondary {
  color: #9a9a9a;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.section-title {
  position: relative;
  text-transform: uppercase;
  padding-left: 0.5rem;
  border-left: 2px solid var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.9;
}

.btn img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.btn--telegram {
  background-color: white;
  color: var(--color-telegram);
}

.btn--readmore {
  background-color: #272b32;
  border-radius: 20px;
  min-width: 120px;
  justify-content: center;
  color: white;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.btn--bet {
  background-color: var(--color-warning);
}

.btn--user {
  background-color: var(--color-gray-dark);
}

.btn--user img {
  margin-right: 0;
}

.btn--primary {
  padding: 0.5rem !important;
      background: linear-gradient(220deg, #f76700 7.37%, #f57c00 57.22%, #ef6c00 66.05%, #ffca28 131.67%);
    box-shadow: inset 0 0 0 2px #ff9800;
}

.btn--secondary {
    padding: 0.5rem !important;
    background: linear-gradient(220deg, #f76700 7.37%, #f57c00 57.22%, #ef6c00 66.05%, #ffca28 131.67%);
    box-shadow: inset 0 0 0 2px #ff9800;
}

.btn--watch {
  background-color: var(--color-primary);
}

.btn--more {
  background-color: var(--color-gray-dark);
  padding: 12px 24px;
}

/* Top Contact */
.top-contact {
  background: var(--gradient-primary);
  padding: 10px 0;
  text-align: center;
}

.top-contact p {
  font-size: 20px;
  font-weight: 700;
}

/* Header */
.header {
  background-color: #111;
  padding: 9px 0;
  position: sticky;
  top: 0;
  z-index: 10000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__inner > div {
  gap: 1rem;
}

.logo {
  max-width: 250px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
}

.nav__toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  gap: 1rem;
}

.nav__item {
  position: relative;
  margin-bottom: 0px !important;
}

.nav__item a {
  font-weight: 700;
  transition: color 0.3s;
}

.nav__item a:hover,
.nav__item a.active {
  color: #f7c700;
}

.nav__close {
  display: none;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-darker);
  min-width: 200px;
  border-radius: 10px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  list-style: none;
}

.dropdown a {
  color: var(--color-white);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.header__buttons {
  display: flex;
  gap: 8px;
}

.header__buttons .btn {
  font-weight: 700;
}

/* Ads */

.ads {
    padding-top: 1rem;
  margin-bottom: 1rem;
}

.ads img {
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
}

/* Featured Matches */
.featured-matches {
  /* padding: 1rem 0; */
}

.featured-matches h2 {
  color: var(--color-white);
  font-size: 24px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.featured-matches h2::before {
  content: " ";
  margin-right: 1rem;
  border: 2px solid var(--color-primary);
}

.matches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.match-card {
  border-radius: 10px;
  overflow: hidden;
  background: #0c0c0c url(/wp-content/uploads/2025/04/bg-match-2.webp) no-repeat;
  border: solid 2px #FF7E07;
  background-position: center;
}

.match-card__body {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
  gap: 1rem;
  position: relative;
}

.match-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.match-card__league {
  align-items: center;
  font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: inline-block;
     flex: 1;
}

.match-card__league img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.streaming {
  padding: 6px;
  border-radius: 6px;
    background: linear-gradient(179deg, #00db02, #102b0e52);
    border: 1px solid #09db2a85;
}

.match-card__status {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.match-card__time {
  text-align: right;
  min-width: 140px;
}

.match-card__time span {
  color: #acacac;
  font-size: 14px;
  font-weight: 500;
}

.match-card__teams {
  display: flex;
  align-items: center;
  text-align: center;
  /* margin-top: 1rem; */
}

.match-card__teams > div {
  flex: 1;
  min-width: 0; /* NGĂN team dài đẩy layout lệch */
}

.team {
    justify-content: center;
    padding: 5px;
    word-break: break-word;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
}

.team.home {
    flex-direction: row-reverse !important; /* Đảo lại: text trước, logo sau */
}

.team__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 4px;
}

.team__name {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
      white-space: nowrap;        /* Không xuống dòng */
    overflow: hidden;           /* Ẩn phần vượt quá khung */
    text-overflow: ellipsis;    /* Thêm dấu "..." nếu bị cắt */
    max-width: 100px;           /* Chiều rộng tối đa, chỉnh theo giao diện */
    display: inline-block;      /* Đảm bảo áp dụng được */
}

.match-card__score {
  color: #ffffff;
  font-size: 35px;
  font-weight: 700;
}

.match-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #ff7e07;
  padding-top: 1rem;
  position: relative;
}

.match-card__stats {
  display: flex;
}

.match-card__stats-content {
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
    background: linear-gradient(220deg, #00711b 7.37%, #00691a 57.22%, #005b16 66.05%, #2dbf1b 131.67%);
    box-shadow: inset 0 0 0 2px #3f9705;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
    display: inline-block;
}

.match-card__mic {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  padding: 0.5rem;
}

.match-card__mic img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.match-card__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.match-card__stat span {
  color: #acacac;
  font-size: 12px;
  font-weight: 500;
}

.match-card__stat img {
  width: 16px;
  height: 16px;
}

.match-card__odds {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.match-card__odds-logo {
  height: 30px;
  object-fit: contain;
  /* margin-left: 0.5rem; */
}

.match-card__odd {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  position: relative;
}

.match-card__odd:not(:last-of-type)::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80%;
  background-color: #acacac;
}

.match-card__odd span {
  color: #acacac;
  font-size: 11px;
  font-weight: 500;
}

/* News */
/*.news {
  padding: 1.5rem 0;
}*/

.news__title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #eeeeee;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

.news__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 3px;
  background-color: #2fb925;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  margin-top: 2rem;
}

.news-card {
  background-color: #2d3034;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__play {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-card__play img {
  width: 2.5rem;
  height: 2.5rem;
}

.news-card__link h3 {
  padding: 0.75rem 1rem;
  font-weight: 400;
  font-size: 14px;
}

.news-card__content {
  padding: 15px;
}

.news-card__title {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
}

.news-card__description {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.news-card--featured .news-card__title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #2f3137;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  transition: background-color 0.3s;
}

.pagination__item:hover,
.pagination__item.active {
  background-color: #2fb925;
}

.news__divider {
  width: 100%;
  height: 1px;
  background-color: #616161;
  margin: 40px 0;
}

.footer {
  background-color: #000000;
  padding: 40px 0 20px;
  color: #ffffff;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer__content {
  text-align: center;
  margin-bottom: 30px;
}

.footer__description {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.footer__address {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 30px;
}

.footer__nav {
  margin-bottom: 30px;
  border-top: 1px dashed #676161;
  border-bottom: 1px dashed #676161;
  padding: 20px 0;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer__nav a {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #acacac;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__nav a:hover {
  color: #ffffff;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.footer__social img {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
}

.footer__social img:hover {
  opacity: 0.8;
}

.footer__copyright {
  text-align: center;
}

.footer__copyright p {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #acacac;
  margin: 0;
}

.footer__description,
.footer__address {
  font-size: 12px;
}

.footer__nav a {
  font-size: 13px;
}

.footer__social {
  gap: 10px;
}

.footer__social img {
  width: 28px;
  height: 28px;
}

.sports-filter {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.sports-filter__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  max-width: 100%;
  border-radius: 10px;
    background: #0c0c0c;
    border: solid 2px #2b2b2b;
}

.sports-filter__group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.sports-filter__button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #20242c;
  border: none;
  border-radius: 5px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.sports-filter__button_child {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #20242c;
  border: none;
  border-radius: 5px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.sports-filter__group.sports-categories .sports-filter__button {
  background-color: transparent;
}

.sports-filter__group.sports-categories
  .sports-filter__button
  .sports-filter__button-text {
  font-weight: 700;
}

.sports-filter__button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.sports-filter__button-icon img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.sports-filter__button_child.active .sports-filter__button-icon {
  transform: rotate(180deg);
}

.sports-filter__button.active .sports-filter__button-icon {
  transform: rotate(180deg);
}

.sports-filter__button-text {
  font-weight: 400;
  flex: 1;
  text-align: left;
}

.sports-filter__button-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  /* padding: 0 6px; */
  /* background-color: rgba(255, 255, 255, 0.1); */
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.sports-filter__button-count:empty {
  display: none;
}

.sports-filter__button:hover {
  background-color: #2a2f38;
}

.sports-filter__button.active {
  background-color: transparent;
  color: #00fffd;
}

.sports-filter__button.live {
  background-color: #f2152d;
}

.sports-filter__button.live .sports-filter__button-count {
  background-color: #f2152d;
  color: #ffffff;
}

.sports-filter__divider {
  width: 100%;
  height: 1px;
  background-color: #676161;
  margin: 8px 0;
}

.sports-filter__dropdown-wrapper {
  position: relative;
}

.sports-filter__button.has-dropdown {
  position: relative;
}

.sports-filter__button.has-dropdown.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.sports-filter__button.has-dropdown.active .sports-filter__button-icon {
  transform: rotate(180deg);
}

.sports-filter__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 240px;
  background-color: #20242c;
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sports-filter__dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sports-filter__dropdown-content {
  max-height: 300px;
  overflow-y: auto;
}

.sports-filter__dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  color: var(--color-white);
  transition: background-color 0.3s;
}

.sports-filter__dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sports-filter__dropdown-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sports-filter__dropdown-item span {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .sports-filter__dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 320px;
    max-height: calc(100vh - 32px);
    background-color: #2d3034;
  }

  .sports-filter__dropdown.active {
    transform: translate(-50%, -50%);
  }

  .sports-filter__dropdown::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
}

@media (max-width: 480px) {
    h1 {
        margin: 1rem 0;
    }
    
  .sports-filter__button {
    padding: 4px 10px;
    font-size: 14px;
  }

  .sports-filter__button-icon img {
    width: 16px;
    height: 16px;
  }

  .sports-filter__button-count {
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    padding: 0 4px;
  }
  .sports-filter__button_child {
      padding: 6px 14px;
      font-size: 13px;
  }
}

@media (max-width: 1200px) {
  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news__grid {
    grid-template-columns: 1fr;
  }

  .news-card--featured {
    grid-column: auto;
    grid-row: auto;
  }

  .news-card--featured .news-card__title {
    font-size: 16px;
  }

  .match-card__teams .team:first-of-type {
    flex-direction: column;
  }

  .team {
    flex-direction: column;
    text-align: center;
  }

  .team__name {
    font-size: 15px;
  }

  .match-card__score {
    font-size: 30px;
  }

  .match-card__info {
display: flex !important;
    flex-direction: column;
    align-items: center;
  }

  .match-card__stats {
    display: flex;
  justify-content: center;
  gap: 0.5rem;
  }

  .match-card__mic {
    position: relative;
    left: auto;
    transform: none;
    margin: 0;
  }

  .match-card__odds {
    display: flex;
  justify-content: center;
  gap: 0.5rem;
  }

  .match-card__odds-logo {
    height: 26px;
  }

  .match-card__league {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    display: inline-block;
  }

  .match-card__time {
    min-width: 100px;
  }

  .match-card__status {
    min-width: 60px;
  }
}

@media (max-width: 576px) {
  .match-card__time-info img {
    display: none;
  }

  .match-card__time-info .match-card__time {
    display: none;
  }

  .match-card__time-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    margin-top: 0.25rem;
  }

  .match-card__info {
  display: flex;
  flex-direction: column;
  align-items: center; /* căn giữa theo chiều ngang */
  gap: 0.5rem;
  padding: 1rem;
  }

  .match-card__stats-content {
    font-size: 15px;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    margin: 0.35rem 0;
    font-weight: 400;
  }

  .match-card__stat {
    gap: 0.25rem;
  }

  .match-card__stat span {
    font-size: 8px;
  }

  .match-card__stat img {
    width: 8px;
    height: 8px;
  }

  /* .match-card__mic {
    width: 20px;
    height: 20px;
  } */

  .match-card__mic img {
    width: 12px;
    height: 12px;
  }

  .match-card__odds {
    gap: 0.375rem;
  }

  .match-card__odd span {
    font-size: 8px;
  }

  .match-card__odd:not(:last-of-type)::after {
    display: none;
  }

  .match-card__odds-logo {
    height: 14px;
  }

  .match-card__league {
      white-space: nowrap;        /* Không xuống dòng */
    overflow: hidden;           /* Ẩn phần vượt quá khung */
    text-overflow: ellipsis;    /* Thêm dấu "..." nếu bị cắt */
    max-width: 200px;           /* Chiều rộng tối đa, chỉnh theo giao diện */
    display: inline-block;      /* Đảm bảo áp dụng được */
    font-size: 14px;
    text-align: center;
    justify-content: center;
    text-align: left;
  }

  .match-card__time {
    min-width: auto;
    width: 100%;
    flex: 1;
    text-align: center;
    font-size: 15px;
  }

  .match-card__time span {
    font-size: 12px;
  }

  .match-card__status {
    font-size: 13px;
    min-width: auto;
    width: 100%;
    flex: 1;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .match-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .header__buttons .btn span {
    /* display: none; */
  }

  .hero h1 {
    font-size: 18px;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .match__buttons {
    flex-direction: column;
  }

  .match-card__info .match-card__time-info .btn {
    min-width: 97px;
    justify-content: center;
  }

.match-card__body {
    gap: 0.5rem !important;
}

  .match-card__header {
    display: flex;
    flex-direction: row !important;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .match-card__league {
    white-space: nowrap;        /* Không xuống dòng */
    overflow: hidden;           /* Ẩn phần vượt quá khung */
    text-overflow: ellipsis;    /* Thêm dấu "..." nếu bị cắt */
    max-width: 200px;           /* Chiều rộng tối đa, chỉnh theo giao diện */
    display: inline-block;      /* Đảm bảo áp dụng được */
    font-size: 13px;
    order: 1;
    justify-content: center;
    flex: initial !important;
    text-align: left;
  }

  .match-card__time {
    min-width: auto;
    width: 100%;
    text-align: right;
    order: 1;
    font-size: 13px !important;
  }

  .match-card__time span {
    font-size: 12px;
  }

  .match-card__status {
    font-size: 13px;
    min-width: auto;
    width: 100%;
    text-align: center;
    order: 3;
    justify-content: center;
    flex-basis: 100%;
  }
  
  .match-card__info {
        padding: 0.5rem;
  }
  
  .match-card__stats-content {
      font-size: 13px !important;
      margin: 0.25rem 0;
  }
  
 .team__name {
     font-size: 13px;
 }
 
 .team__logo {
     width: 40px;
     height: 40px;
 }
 
 
  .pagination {
    gap: 5px;
  }

  .pagination__item {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .news-detail {
    padding: 30px 0;
  }

  .news-detail__content {
    padding: 15px;
    margin-bottom: 30px;
  }

  .footer__description,
  .footer__address {
    font-size: 12px;
  }

  .footer__nav a {
    font-size: 13px;
  }

  .footer__social {
    gap: 10px;
  }

  .footer__social img {
    width: 28px;
    height: 28px;
  }

  .news__title {
    font-size: 18px;
  }

  .news-card__title {
    font-size: 13px;
  }
}

#scrollTopBtn {
  display: none;
  position: fixed;
  width: 48px;
  height: 48px;
  bottom: 160px;
  right: 24px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 100%;
  background-color: var(--color-primary);
  backdrop-filter: blur(70px);
  box-shadow: 4px 8px 8px hsl(0deg 0% 0% / 0.38);
}

#scrollTopBtn svg {
  fill: white;
}

.custom-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  border-radius: 8px;
  background-color: rgba(255, 126, 7, 10%);
}

.custom-scroll::-webkit-scrollbar-thumb {
  width: 8px;
  border-radius: 8px;
  background-color: var(--color-primary);
}

.divider {
  height: 1px;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: var(--color-gray-darker);
}

@media (max-width: 1200px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    display: block;
    position: fixed;
    top: 0;
    left: -280px; /* Start off-screen */
    width: 280px;
    height: 100vh;
    background-color: var(--color-darker);
    padding: 2rem;
    z-index: 100;
    overflow-y: auto;
    transition: left 0.3s ease;
  }

  .nav__menu.active {
    left: 0; /* Slide in */
  }

  /* Overlay when menu is open */
  .nav__menu::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
  }

  .nav__menu.active::before {
    opacity: 1;
    visibility: visible;
  }

  /* Close button */
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .nav__close::before,
  .nav__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transform-origin: center;
  }

  .nav__close::before {
    transform: rotate(45deg);
  }

  .nav__close::after {
    transform: rotate(-45deg);
  }

  .nav__menu .nav__item {
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__menu .dropdown {
    position: static;
    background: none;
    padding-left: 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
  }

  .nav__menu .nav__item.active .dropdown {
    display: block;
  }

  .nav__menu .dropdown li {
    padding: 0;
  }

  .nav__menu .dropdown a {
    color: var(--color-white);
    opacity: 0.8;
  }

  .nav__menu .dropdown a:hover {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 24px;
  }

  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-detail__content {
    padding: 20px;
  }

  .matches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .news__grid-featured {
    grid-template-columns: 1fr;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .footer__nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer__nav ul li {
    width: calc(50% - 10px);
    text-align: left;
  }

  .footer__description,
  .footer__address {
    font-size: 13px;
  }

  .footer {
    padding: 30px 0 15px;
  }

  .news-detail__content h1 {
    font-size: 18px;
  }

  .news-detail__meta {
    font-size: 14px;
  }

  .news-detail__text {
    font-size: 14px;
  }

  .matches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .featured-matches h2,
  .news h2 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
    .matches {
        grid-template-columns: 1fr;
    }
    
  .match-card__time-info img {
    display: none;
  }

  .match-card__time-info .match-card__time {
    display: none;
  }

  .match-card__time-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    margin-top: 0.25rem;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 110px;
  }

  .header__buttons .btn span {
    /* display: none; */
  }

  .hero h1 {
    font-size: 18px;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .match__buttons {
    flex-direction: column;
  }

  .match-card__info .match-card__time-info .btn {
    min-width: 97px;
    justify-content: center;
  }

  .pagination {
    gap: 5px;
  }

  .pagination__item {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .news-detail {
    padding: 30px 0;
  }

  .news-detail__content {
    padding: 15px;
    margin-bottom: 30px;
  }

  .footer__description,
  .footer__address {
    font-size: 12px;
  }

  .footer__nav a {
    font-size: 13px;
  }

  .footer__social {
    gap: 10px;
  }

  .footer__social img {
    width: 28px;
    height: 28px;
  }

  .match-card__odds-logo {
    height: 18px;
  }

  .news__title {
    font-size: 18px;
  }

  .news-card__title {
    font-size: 13px;
  }
  
  .ads {
    padding-top: 0rem !important;
  margin-bottom: 0rem !important;
}
    .ads-mobile {
        padding: 0px !important;
    }

}

/* Content Navigation Section */
.content-nav {
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.content-nav__container {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px 30px 0px 30px;
    margin-top: 2rem;
    max-height: 800px !important;
    overflow-y: auto;
    border: solid 2px #2b2b2b;
}

.content-nav__lists {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.content-nav__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.content-nav__item {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.21;
  transition: color 0.3s;
}

.content-nav__item:hover {
  color: var(--color-primary);
}

.content-nav__text {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
}

.content-nav__divider {
  width: 100%;
  height: 1px;
  border-top: 1px dashed #676161;
  margin: 10px 0;
}

.content-nav__container::-webkit-scrollbar {
  width: 6px;
}

.content-nav__container::-webkit-scrollbar-track {
  border-radius: 8px;
  background-color: rgba(255, 126, 7, 10%);
}

.content-nav__container::-webkit-scrollbar-thumb {
  width: 8px;
  border-radius: 8px;
  background-color: var(--color-primary);
}

@media (max-width: 992px) {
  .content-nav__lists {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .content-nav__container {
    padding: 20px;
  }

  .content-nav__lists {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .content-nav__container {
    padding: 15px;
  }

  .content-nav__item,
  .content-nav__text {
    font-size: 13px;
  }
}

/* Livescore Switch */
@media (min-width: 876px) {
  .sports-filter__group .livescore-switch {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
    .ads {
        margin: 0 10rem;
    }
}

.livescore-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-left: 1rem;
}

.livescore-label {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .livescore-label {
    font-size: 0.75rem;
  }
}

.switch {
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 1.125rem;
  cursor: pointer;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3e3e3e;
  border-radius: 100px;
  transition: 0.4s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 1.125rem;
  width: 1.125rem;
  left: 0px;
  bottom: 0px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #3e3e3e;
}

input:checked + .slider:before {
  transform: translateX(0.875rem);
}

.hashtag {
  color: var(--color-gray);
}

.news-detail {
  padding-top: 1rem;
}

.news-detail .news-content {
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  background-color: var(--color-gray-5);
}

.news-content .meta {
  margin-top: 1rem;
}

.news-content .divider {
  background-color: #616161;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.news-content .content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-news-section {
  margin-top: 2rem;
}

/* Sports Filter Buttons */
.sports-filter__button {
  cursor: pointer;
  transition: all 0.3s ease;
}

.sports-filter__button.active {
  background-color: var(--primary-color);
  color: #48e3ff;
}

.sports-filter__button_child.active{
    color: white;
    background: linear-gradient(220deg, #f76700 7.37%, #f57c00 57.22%, #ef6c00 66.05%, #ffca28 131.67%);
    box-shadow: inset 0 0 0 2px #ff9800;
}

.match-card.d-none{
  display: none;
}

.header-watch {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.2rem 0 0 0;
    text-transform: uppercase;
}

.footer-logo{
    margin: 1rem 0;
}

.footer-descript {
    line-height: 1.3rem;
}

.footer-text {
    margin-bottom: 0.8rem !important;
}

li .nav__item {
    margin-bottom: 0px !important;
}

#custom-popup img {
    display: block !important;
}

@media (max-width: 425px) {
  #custom-popup img {
    max-width: 220px;
    height: auto;
  }
  
  #custom-popup {
      max-width: 230px;
  }
}

@media (max-width: 385px) {
    .header-text {
    font-size: 11px;
}
    
    .header-button {
    padding: 0.7rem 0.4rem !important;
}
}

.breadcrumb {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 330px) {
    .header-text {
    font-size: 9.6px;
}
    #catfish-ad img {
    max-height: 32px  !important;
}
    .logo {
        max-width: 90px;
    }
    
    .header-button {
        padding: 0.7rem 0.3rem !important;
    }
}

.link-match {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
}

.news-detail__title {
    margin-top: 0px !important;
    font-size: 1.3rem !important;
}

.news-hero {
    padding-top: 1.5rem;
}

.news-hero__title {
    margin-top: 0.5rem;
}

.news-card__excerpt {
    padding: 0rem 1rem;
}

.child_all {
    display: none !important;
}

.blv-name {
        white-space: nowrap;        /* Không xuống dòng */
    overflow: hidden;           /* Ẩn phần vượt quá khung */
    text-overflow: ellipsis;    /* Thêm dấu "..." nếu bị cắt */
    max-width: 320px;           /* Chiều rộng tối đa, chỉnh theo giao diện */
    display: inline-block;      /* Đảm bảo áp dụng được */
}

.sports-filter__group.sports-categories {
    display: none !important;
}

.sports-filter__divider {
    display: none !important;
}

@media (max-width: 780px) {
    .match-card__header {
        display: flex; 
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    }
    .match-card__status {
        order: 2;
        width: 100%;
        text-align:center;
    }
}

@media (max-width: 480px) {
    .match-card__stats {
        display: none;
    }
    
    button#scrollTopBtn {
        display: none !important;
    }
    
    .header {
        position: relative;
    }
    
    .match-card {
        margin-bottom: 0.5rem;
    }
    
}

div#wpadminbar {
    display:none !important;
}