/*
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 */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    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: "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.21;
    color: var(--color-white);
    background-color: #212121;
    width: 100%;
    margin: 0 auto;
    background-size: cover;
}

b {
    font-weight: 700 !important;
}

main {
    background-color: #339966;
    color: #fff;
}

ul {
    padding-left: 15px;
}

.code2m-xem-live .heading-watch,
#tab-overview h2,
#tab-overview h3 {
    color: #fff !important;
}

h1 {

    margin-bottom: 1.3rem;
    color: #FFFF00;

    font-size: 22px;
    font-weight: 700;
}

h2 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

h3 {
    font-weight: 700;
    margin: 0.7rem 0 0.5rem 0;
    color: #000;
}

#home-content h2,
#home-content h3 {
    color: #fff;
}

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

li {
    margin-bottom: 0.6rem;
}

.content a {
    color: #009B3A;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 15px;
    padding-bottom: 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;
}

.content-section-wrapper ul {
    list-style: circle;
    padding-left: 10px;
}

.content-section-wrapper ul li {
    color: #000;
}

/* 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, #00711b 7.37%, #00691a 57.22%, #005b16 66.05%, #2dbf1b 131.67%);
    box-shadow: inset 0 0 0 2px #3f9705;
}

.match-card__status {
    top: 7% !important;
}

.btn--secondary,
.match-card__status.streaming {
    width: 110px;
    height: 26px;
    margin: 0px auto 0;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(180deg, #0B540B 0%, #069B3C 169.23%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.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: #F5FFFA;

    position: sticky;
    top: 0;
    z-index: 10000;
}

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

}

.header__inner .logo {
    position: relative;
    padding: 10px 0;
    z-index: 2;
    isolation: isolate;
}

.header__inner .logo:before {
    content: "";
    position: absolute;
    inset: 0 -10px 0 -1000%;
    background-color: #F5FFFA;
    z-index: -1;
}

.header__inner>div {
    gap: 1rem;
}

.logo {
    max-width: 200px;
}

.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;
    color: #000;
    font-size: 16px;
}

.nav__item a:hover,
.nav__item a.active {
    font-weight: 700;
}

.nav__item a:hover::after,
.nav__item a.active::after {
    content: "";
    width: 0;
    height: 3px;
    display: block;
    position: absolute;
    background: #FFFF00;
    bottom: -18px;
    transition: width 0.3s ease;
    width: 80%;
}

.menu-top {
    width: 120px;
    height: 32px;
    color: #fff;
    font-family: Barlow, sans-serif !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    font-weight: 700;
}

.menu-top {
    border-radius: 4px;
    background: linear-gradient(102deg, #26ed8e -7.82%, #bee87a 110.99%) !important;
    box-shadow: 0 2px #0dac5b;
    color: #000;
    font-family: Barlow;
    font-style: normal;
    font-weight: 700;
    text-transform: capitalize;
}

.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;
}

#home-content p {
    color: #fff;
}

.custom-archive-content p,
.news p,
.content p {
    color: #000
}

.custom-archive-content a,
.content a,
#home-content .toc-content a {
    font-weight: 700;
    color: #FFFF00;
}

/* 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: 8px;
    background: linear-gradient(97deg, #32373800 61.58%, #FFFF000d), #292d2e;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 11px;
    display: block;
    height: auto;
    color: #fff;
    padding: 0;
}

.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;
    /*gap: 0.5rem;*/
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    display: inline-block;
}

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

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

.match-card__status {
    color: #fff;
    font-size: 12px;
    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 !important;
    object-position: center !important;
    margin-bottom: 4px;
    border-radius: 0 !important;
}

.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: 30px;
    font-weight: 700;
}

.match-card__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #fff;
    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 p {
    color: #fff;
}

.news-card h3 {
    font-weight: 700;
    color: #ffff23;
}

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

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

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

.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-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: #fff;
    padding: 20px 0 20px;
    color: #000;
}

footer ul {
    display: flex;
    gap: 20px;
    justify-content: center;
}

footer ul li a {
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    text-transform: uppercase;
    color: #009B3A;
}

.footer .container {
    max-width: 1360px;
    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: 1.5rem;
    margin-bottom: 1.5rem;
}

.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%;
    margin-bottom: 20px;
}

.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 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    height: 34px;
    padding: 0 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
    color: #fff;
    background: #323738;
    border: none;
}

.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_child.active {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(270deg, #323839, #2f5a49);
    background-size: cover;
    width: 110px;
    color: #00ff5d;
    font-family: Barlow;
    font-size: 13px;
}

.sports-filter__button-text {
    font-weight: 700;
    flex: 1;
    text-align: left;
    font-size: 13px;
}

.sports-filter__button_child.active .sports-filter__button-text {
    color: #00ff5d
}

.sports-filter__button-count {
    background: #464f50;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 38px;
    width: 22px;
    height: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 11px;
    line-height: 14px;
    padding: 2px 6px;

}

.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 {
        margin-bottom: 0.5rem;
    }

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

    .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: 100px;
        /* 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;
        flex: 1;
    }

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

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

    .match-card__status {
        font-size: 12px;
        min-width: auto;
        width: 100%;
        text-align: center;
        order: 3;
        justify-content: center;
        flex-basis: 100%;
        max-width: 110px;
        position: absolute;
        top: 5%;
        left: 50%;
        transform: translate(-50%);
    }

    .match-card__info {
        padding: 0.5rem;
    }

    .match-card__stats-content {
        font-size: 13px !important;
        margin: 0.25rem 0;
    }

    .team__name {
        font-size: 12px;
    }

    img.team__logo {
        width: 40px !important;
        height: 40px !important;
        object-fit: contain !important;
        border-radius: 0 !important;
    }


    .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 {}

.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;
    text-align: center;
}

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

.news-hero__title {
    margin-top: 0.5rem;
    text-align: center;
    padding-top: 15px;
}

.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;
}

.section-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.section-h .title a {
    color: #000;
    font-size: 24px;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-viewmore {
    border-radius: 4px;
    background: #464F50;
    box-shadow: 0 2px 0 0 #2D3334;
    color: #FFF;
    text-align: center;
    font-family: Barlow;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;

    padding: 3px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.post-item-video {
    width: 100%;
    float: left;
    position: relative;
    border-radius: 12px;
    background: #323738;
    color: #000;
    margin-bottom: 26px;
    overflow: hidden
}

.post-item-video .post-item-image {
    overflow: hidden;
}

.post-item-video .caption {
    padding: 12px;
    display: flex;
    align-items: center
}

.post-item-video .post-item-image>a {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 1;
    height: 100%
}

.post-item-video .post-item-image-big {
    overflow: hidden
}

.post-item-video svg {
    position: absolute;
    right: 10px;
    bottom: 11px;
    z-index: 9
}

.post-item-video .overlay {
    background: linear-gradient(90deg, #14141480, #14141400);
    bottom: 0;
    content: "";
    height: 100%;
    position: absolute;
    transition: all .3s ease-in 0s;
    width: 100%;
    will-change: opacity
}

.post-item-video:hover .overlay {
    opacity: 0
}

.post-item-video h3.title_name {
    color: #f2f3f3;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin: 0
}

section.live-box {
    border-radius: 12px;
    background: #292D2E;
    padding: 19px;
}

.news-home {
    margin-top: 20px;
}

.toc_list li:first-child a {
    background: linear-gradient(270deg, #323839, #2f5a49) !important;
    color: #00ff5d;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
}

.toc-content .content {
    color: #f2f3f3;
    font-size: .9375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5625rem;
    height: 100%;
    background-color: #292d2e;
    border-radius: 0 6px 6px;
    padding: 20px;
    text-align: justify;
    max-height: 700px;
    overflow: scroll;

}

.toc-content {
    color: #f2f3f3;
    font-size: .9375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5625rem;
    height: 100%;
    background-color: #292d2e;
    border-radius: 0 6px 6px;
    padding: 15px 0 15px 15px;
    text-align: justify;
}

.toc_list li a {
    display: block;
    font-family: Barlow;
    font-size: 13px;
    font-style: normal;
    line-height: 18px;
    color: #fff;
    font-weight: 400;
    min-height: unset !important;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    padding: 12px 20px;
}

.news-home .container {
    border-radius: 12px;
    background: #292D2E;
    padding: 19px;
}

.box_content_home a {
    font-weight: 700;
    color: #0dbd49;
}

.box_content_home {
    padding: 16px;

    margin-top: 12px;
    border-radius: 12px;
    background: #323738;
    margin-inline: 0px !important;
    display: block;
    height: 400px;
    overflow: scroll;

}

.sk-league-item__info {
    display: none;
}

.post-home2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.xltv-title_box {
    background: linear-gradient(139deg, #068E38 0%, #045622 100%);
    width: auto;
    display: inline-block;
    margin-bottom: 15px;
}

.xltv-title_box h4 {
    color: white;
    font-size: 20px;
    font-family: Barlow;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 30px;
    word-wrap: break-word;
    margin: 0;
    padding: 4px 8px;
    border-radius: 2px;
}

.post-item-video a h3 {
    color: #fff;
    line-height: 0;
    font-size: 1rem
}

.post-home {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.post-item-video .caption .league-item {
    display: none;
}

.post-item-video .title_name {
    color: #FFFF00;
    font-family: Barlow;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

/* ===== LEAGUE LIST AUTO-SCROLL MARQUEE ===== */
.sk-league-list__items {
    display: flex;
    gap: 30px;
    position: relative;
    overflow: hidden;
    margin-top: 14px !important;
    align-items: center;
    /* Mask fade edges for polished look */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.sk-league-list__items .sk-league-scroll-track {
    display: flex;
    gap: 30px;
    align-items: center;
    animation: sk-league-marquee 20s linear infinite;
    will-change: transform;
}

/* Pause on hover (desktop) */
.sk-league-list__items:hover .sk-league-scroll-track {
    animation-play-state: paused;
}

/* Pause on touch (mobile) */
.sk-league-list__items.is-touching .sk-league-scroll-track {
    animation-play-state: paused;
}

@keyframes sk-league-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.sk-league-item {
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.sk-league-item:hover {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .sk-league-list__items {
        gap: 16px;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    }

    .sk-league-list__items .sk-league-scroll-track {
        gap: 16px;
        animation-duration: 15s;
    }

    .sk-league-list__items::-webkit-scrollbar {
        display: none;
    }
}

@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;
    }

    .post-home,
    .post-home2,
    .box_content_home {
        grid-template-columns: 1fr;
    }

    .nav__item a:hover::after,
    .nav__item a.active::after {
        display: none;
    }

    .toc-content {
        padding: 10px;
    }

    .toc-content .content {
        padding: 0;
    }

}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 8px 12px;
    /* padding nhẹ */
    border: 1px solid #fff;
    /* dòng kẻ màu trắng */
    text-align: left;
}

/* nếu nền tối thì sẽ đẹp hơn */
table {
    background-color: #111;
    color: #fff;
}

@media (max-width: 768px) {
    .nav__item a {
        color: #fff;
    }

    .match-card__stats {
        display: none;
    }

    button#scrollTopBtn {
        display: none !important;
    }


    .menu-top {
        width: 90px;
    }
}


@media (min-width: 780px) {
    .match-card__status {
        position: absolute !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }


}

.content p,
.content h2,
.content h3 {
    color: #fff !important;
}

.featured-matches,
.sports-filter,
.top-live-box {
    display: unset !important;
}

#catfish-ad {
    display: none !important;
}

.top-live-box.container {
    display: flex !important;
}

/* ========== WORDPRESS CONTENT STRUCTURE ========== */

/* --- WP Caption & Images --- */
.wp-caption {
    max-width: 100%;
    margin: 1.5rem auto;
    text-align: center;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.wp-caption-text {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.4;
}

/* --- Figcaption (Gutenberg) --- */
figcaption,
.wp-element-caption {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.4;
}

/* --- Images trong bài viết center --- */
.content-nav__text img,
.entry-content img,
.news-content img,
.content img,
.toc-content img {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Figure --- */
figure {
    margin: 1.5rem auto;
    text-align: center;
    max-width: 100%;
}

figure img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- WP Alignment Classes --- */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.alignnone {
    display: block;
    margin: 1rem 0;
}

.alignwide {
    max-width: 100%;
    width: 100%;
}

.alignfull {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* --- Heading Hierarchy (h1-h6) trong bài viết --- */
.content-nav__text h1,
.entry-content h1,
.content h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    line-height: 1.3;
    color: #FFFF00;
}

.content-nav__text h2,
.entry-content h2,
.content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 1.3rem 0 0.8rem;
    line-height: 1.3;
    color: #fff;
}

.content-nav__text h3,
.entry-content h3,
.content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 1.2rem 0 0.6rem;
    line-height: 1.3;
    color: #fff;
}

.content-nav__text h4,
.entry-content h4,
.content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    line-height: 1.3;
    color: #fff;
}

.content-nav__text h5,
.entry-content h5,
.content h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0.8rem 0 0.4rem;
    line-height: 1.3;
    color: #fff;
}

.content-nav__text h6,
.entry-content h6,
.content h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0.8rem 0 0.4rem;
    line-height: 1.3;
    color: #ccc;
}

/* --- Blockquote --- */
blockquote,
.wp-block-quote {
    border-left: 4px solid #0dbd49;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #ddd;
    line-height: 1.6;
}

blockquote p,
.wp-block-quote p {
    margin-bottom: 0.5rem;
}

blockquote cite,
.wp-block-quote cite {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 0.5rem;
    font-style: normal;
}

/* --- Lists trong bài viết --- */
.content-nav__text ul,
.entry-content ul,
.content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-nav__text ol,
.entry-content ol,
.content ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-nav__text li,
.entry-content li,
.content li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    color: #fff;
}

/* --- HR / Separator --- */
.content-nav__text hr,
.entry-content hr,
.content hr,
.wp-block-separator {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 2rem 0;
}

/* --- Preformatted / Code --- */
pre,
.wp-block-code,
.wp-block-preformatted {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #e2e8f0;
    margin: 1rem 0;
}

code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #0dbd49;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* --- WP Gallery --- */
.wp-block-gallery,
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 1.5rem 0;
}

.wp-block-gallery .wp-block-image,
.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.wp-block-gallery img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* --- WP Embed / Video --- */
.wp-block-embed,
.wp-block-video {
    margin: 1.5rem 0;
    text-align: center;
}

.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* --- WP Table (Gutenberg) --- */
.wp-block-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.wp-block-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 700;
    text-align: left;
}

.wp-block-table th,
.wp-block-table td {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
}

/* --- WP Buttons --- */
.wp-block-button__link {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(220deg, #00711b, #2dbf1b);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.wp-block-button__link:hover {
    opacity: 0.85;
}

/* --- WP Columns --- */
.wp-block-columns {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.wp-block-column {
    flex: 1;
}

@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
        gap: 1rem;
    }

    .alignleft,
    .alignright {
        float: none;
        margin: 1rem auto;
        display: block;
    }

    .wp-block-gallery,
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .wp-block-gallery,
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* --- Clearfix cho float alignment --- */
.entry-content::after,
.content::after,
.content-nav__text::after {
    content: "";
    display: table;
    clear: both;
}

.container.header-c {
    padding-bottom: 0 !important;
}

.container.header-c .logo {
    padding: 0 !important;
}

.related-news {
    padding-top: 15px;
}