/*
Theme Name: Xscore808
Theme URI: https://xscore808.com/
Author: Thanos
Author URI: https://xscore808.com/
Description: Football live scores, match streaming, predictions and results theme. Child theme of Gridbox by ThemeZee.
Version: 1.0.1
Requires at least: 5.6
Tested up to: 6.9
Requires PHP: 7.4
Template: gridbox
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xscore808
Tags: two-columns, custom-background, custom-header, custom-logo, custom-menu, grid-layout, blog, news, featured-images, translation-ready
*/

/* ==========================================================================
   Layout: Content + Sidebar
   Values are overridden by Customizer via inline CSS (xs_layout_css).
   These are fallback defaults only.
   ========================================================================== */

/* Override Gridbox .content-single layout with Customizer variables */
/* Only apply custom widths on desktop; let parent handle mobile stacking */
@media only screen and (min-width: 60em) {
	.content-single {
		width: var(--xs-content-width, 70%);
	}
	.sidebar {
		width: var(--xs-sidebar-width, 30%);
	}
}

.container {
	max-width: var(--xs-container-width, 1280px);
}

/* Mobile: content and sidebar stack full width */
@media only screen and (max-width: 60em) {
	.content-single,
	.sidebar {
		width: 100%;
		float: none;
	}
}

/* No sidebar - extend parent .no-sidebar rules */
.no-sidebar .content-single {
	max-width: 860px;
}

.no-sidebar .sidebar {
	display: none;
}

/* Responsive: mobile - footer cols stack */
@media only screen and (max-width: 55em) {
	.footer-col {
		width: 100%;
		margin-right: 0;
		margin-bottom: 15px;
	}
}

/* ==========================================================================
   Custom CSS from xscore808.com (line 4017+ of original style.css)
   Exact replication of the production site's custom styles.
   ========================================================================== */

.home h1 {
	font-size: 18px;
}

/* ==========================================================================
   Sidebar Tournaments
   ========================================================================== */

.tournaments ul {
    margin: 0;
    padding: 0 0.3em;
    list-style: none;
}
.tournaments ul li {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.tournaments ul li a {
    width: 100%;
    min-height: 35px;
    transition: all .3s;
    display: flex;
    align-items: center;
    font-size: 15px;
    text-decoration: none;
    color: var(--xs-color-text, #17232c);
    border-bottom: 1px solid #E5E5E5;
    padding-right: 5px;
    padding-left: 5px;
}
.tournaments ul li a:hover {
    background-color: #f4f4f4;
}
.tournaments ul li a img.flag_img {
    margin-right: 8px;
    width: 20px;
    height: auto;
    min-width: auto;
    min-height: auto;
    border-radius: 0;
}
.tournaments .flag_img {
    height: 20px;
    width: 20px;
    box-shadow: none;
}
.flag_img {
    display: inline-block;
    align-items: center;
    justify-content: center;
    width: 1.3333333333rem;
    height: 1.3333333333rem;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==========================================================================
   Footer Navigation
   ========================================================================== */

#footer .footer-nav {
  float: right;
}

#footer .footer-nav li {
  border-right: 1px solid #ddd;
  display: inline-block;
  list-style: none;
  line-height: 1;
  margin-right: 5px;
  padding-right: 5px;
  font-size: 12px;
}

#footer .footer-nav li:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
#footer .footer-nav li a {
  color: var(--xs-color-footer_text, #949494);
}

#footer .footer-nav li a:hover {
  color: #fff;
}

#footer .footer-nav li li {
  display: none;
}

/* ==========================================================================
   Top Navigation
   ========================================================================== */

#top .top-nav {
  float: right;
}

#top .top-nav li {
  display: inline-block;
  list-style: none;
  line-height: 1;
  margin-right: 8px;
  padding-right: 8px;
}

#top .top-nav li:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
#top .top-nav li a {
  color: var(--xs-color-nav_text, #FFF);
}

#top .top-nav li a:hover {
  color: var(--xs-color-accent, #F90);
}

#top .top-nav li li {
  display: none;
}

/* ==========================================================================
   Prediction Buttons
   ========================================================================== */

.buttonpredicts {
    position: relative;
    border: 1px solid #666;
    font-size: 12px;
    padding: 3px 5px;
    margin: 5px 0;
    text-decoration: none !important;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
}

.predicts a {
    text-decoration: none;
    color: #000;
}

.predicts:hover {
    background: #ccc;
}

/* ==========================================================================
   Match List (.macthline)
   Exact CSS from xscore808.com
   ========================================================================== */

img {
    height: auto;
    max-width: 100%;
}
.matchx .home-team a, .matchx .away-team a {
    color: var(--xs-color-text, #000);
}
.matchs1x {
    display: block;
}
.macthline:nth-child(2n+1) {
    background: var(--xs-color-match_alt, #F9F9F9);
    border-bottom: 2px solid var(--xs-color-match_bg, #FFF);
}
.macthline {
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    color: var(--xs-color-text, #000);
    text-decoration: none;
    font-size: 12px;
    width: 100%;
    background: var(--xs-color-match_bg, #FFF);
    height: 55px;
}
.macthline:hover {
    background: var(--xs-color-match_hover, #dcf5e8);
}
.macthline span.time {
    padding-left: 0.5rem;
    color: var(--xs-color-text, #000);
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}
.macthline span.date {
    padding-left: 0.5rem;
    color: var(--xs-color-text, #000);
    min-width: 40px;
}
.macthline span.league {
    padding-left: 0.5rem;
    color: #666;
    width: 60px;
    white-space: nowrap;
}
.macthline span.live {
    color: #000;
    min-width: 30px;
    margin-right: 5px;
}

/* Status Icons (exact from xscore808.com) */
.liveicon {
    height: 30px;
    background: url(assets/img/live-tv.svg) no-repeat center;
    background-size: contain;
    display: block;
    filter: invert(60%) sepia(78%) saturate(2476%) hue-rotate(10deg) brightness(100%) contrast(119%);
}
.liveicon:hover {
    filter: invert(30%) sepia(78%) saturate(2476%) hue-rotate(10deg) brightness(100%) contrast(119%);
}
.noliveicon {
    height: 30px;
    background: url(assets/img/football-vs.png) no-repeat center;
    background-size: contain;
    display: block;
    filter: invert(50%) sepia(0%) saturate(100%) hue-rotate(10deg) brightness(100%) contrast(119%);
}
.noliveicon:hover {
    filter: invert(0%) sepia(50%) saturate(100%) hue-rotate(10deg) brightness(100%) contrast(119%);
}
.liveiconplay {
    height: 25px;
    background: url(assets/img/play-circle.svg) no-repeat center;
    line-height: 25px;
    display: block;
    filter: invert(30%) sepia(45%) saturate(2476%) hue-rotate(10deg) brightness(100%) contrast(119%);
    background-size: 48%;
}
.liveiconplay:hover {
    filter: invert(60%) sepia(78%) saturate(2476%) hue-rotate(10deg) brightness(100%) contrast(119%);
}
.liveiconlive {
    height: 25px;
    background: url(assets/img/live2.svg) no-repeat center;
    line-height: 25px;
    display: block;
}
.macthline span.static {
    width: 32px;
    border-radius: 3px;
    margin-right: 5px;
}
.staticicon {
    height: 40px;
    background: url(assets/img/statistic-icon.svg) no-repeat center;
    display: block;
    background-size: 70%;
}
.staticicon:hover {
    filter: invert(50%) sepia(90%) saturate(100%) hue-rotate(90deg) brightness(50%) contrast(200%);
}
.detailsicon {
    width: 18px;
    height: 18px;
    background: url(assets/img/details-icon.svg) no-repeat center;
    line-height: 25px;
    display: block;
}
.noneicon {
    height: 25px;
    line-height: 25px;
    display: block;
}

/* Match line inner grid layout */
.macthline div {
    -webkit-box-flex: 1;
    flex-grow: 1;
    text-align: center;
    display: grid;
    grid-template-columns: 40% 20% 40%;
}
.macthline div span:nth-child(1) {
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}
.macthline div span:nth-child(2) {
    text-align: center;
    margin: 0px 0.5rem;
    font-size: 13px;
    font-weight: 500;
}
.macthline div span:nth-child(3) {
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}
.macthline div span {
    padding: 0.5rem 0px;
}
.macthline div a {
    color: var(--xs-color-text, #000);
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
}

/* lfunLeft - Horizontal scrollable tag links */
.lfunLeft {
    float: left;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    overflow-x: auto;
}
.lfunLeft::-webkit-scrollbar {
    display: none;
}
.lfunLeft a {
    display: inline-block;
    font-size: 13px;
    text-align: center;
    padding: 2px 8px;
    border-radius: 10px;
    color: #666 !important;
    background: #F6F6F6;
    margin: 0 2px 10px 0;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid #666;
}
.lfunLeft a:hover {
    background: #F3F3F3;
    color: #000 !important;
}

/* ==========================================================================
   Match line responsive breakpoints (exact from xscore808.com)
   ========================================================================== */

@media screen and (min-width: 991px) {
    .macthline div {
        text-align: center;
        display: grid;
        grid-template-columns: 47% 6% 47%;
    }
    .macthline div span {
        display: inline-block;
        padding: 0.5rem 0px;
    }
}
@media screen and (min-width: 480px) {
    .macthline div {
        text-align: center;
        display: grid;
        grid-template-columns: 46% 8% 46%;
    }
    .macthline div span {
        display: inline-block;
        padding: 0.5rem 0px;
    }
}
@media only screen and (max-width: 479px) {
    .macthline span.date { display: none; }
    .macthline span.league { display: none; }
    .macthline span.static { margin-right: 5px; }
    .liveicon { height: 25px; }
}
@media only screen and (min-width: 480px) and (max-width: 958px) {
    .macthline span.league { display: none; }
    .macthline span.static { margin-right: 5px; width: 25px; }
    .liveicon { height: 28px; }
}
@media only screen and (max-width: 959px) {
    .macthline span.league { display: none; }
    .macthline span.static { margin-right: 5px; width: 28px; }
}
@media only screen and (min-width: 960px) and (max-width: 1080px) {
    .macthline span.static { margin-right: 10px; }
}

/* ==========================================================================
   Standing Table (exact from xscore808.com)
   ========================================================================== */

.tab-content.active {
    display: block;
    font-size: 14px;
}
@media only screen and (max-width: 767px) {
    .tab-content.active { font-size: 12px; }
}

#standingsTabC .flex-table.row .flex-row:not(.first).colorOne { background: #00008B; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorOne { background: #00008B; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorTwo { background: #0000FF; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorTwo { background: #0000FF; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorThree { background: #1E90FF; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorThree { background: #1E90FF; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorFour { background: #00BFFF; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorFour { background: #00BFFF; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorFive { background: #ADD8E6; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorFive { background: #ADD8E6; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorSix { background: #8B0000; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorSix { background: #8B0000; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorSeven { background: #FF0000; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorSeven { background: #FF0000; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorEight { background: #CD5C5C; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorEight { background: #CD5C5C; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorNine { background: #E9967A; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorNine { background: #E9967A; color: white; transition: 500ms; }
#standingsTabC .flex-table.row .flex-row:not(.first).colorTen { background: #cc0000; color: white; }
#standingsTabC .flex-table.row:hover .flex-row:not(.first).colorTen { background: #cc0000; color: white; transition: 500ms; }

.flex-table:last-of-type { border-bottom: solid 0px #f1f1f1; }
.flex-table:first-of-type { border-top: solid 1px white; }
.flex-table.header { background: #CCC; color: #000; font-weight: bold; }
.flex-table.header.actives { border-top: none; }
.flex-table.header:hover { background: #DDD; }
.flex-table.row:nth-child(odd) .flex-row:not(.first) { background: #f4f2f1; }
.flex-table.row:nth-child(odd):hover .flex-row:not(.first) { background: #ffc107; transition: 500ms; }
.flex-table:hover { background: #ffc107; transition: 500ms; }

.tablele-container { overflow: auto; display: grid; }
.flex-table.header { display: flex; }
#standingsTabC .flex-table.header {
    display: flex;
    user-select: none;
    z-index: 2;
    top: 0;
    height: 28px;
    border-top: 0px solid #27282a;
}
.table__body { display: grid; grid-auto-rows: 29px; }
.flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    overflow: hidden;
}
.header .flex-row.first,
.table__body .flex-row.first {
    position: sticky;
    position: -webkit-sticky;
    z-index: 1;
    left: 0;
}
.header .flex-row.first-sticky,
.table__body .flex-row.first-sticky {
    position: sticky;
    position: -webkit-sticky;
    z-index: 1;
    left: 0;
}
.header .flex-row.teams {
    position: sticky;
    position: -webkit-sticky;
    width: 100px;
    z-index: 1;
    white-space: nowrap;
    justify-content: flex-start;
    left: 32px;
    flex: 1;
    padding: 0 10px;
}
.header .flex-row.goals { width: 48px; }
.flex-table.row {
    display: flex;
    border-bottom: 1px solid white;
}
.table__body .teams {
    position: sticky;
    position: -webkit-sticky;
    width: 100px;
    z-index: 1;
    box-shadow: 3px 0 2px -2px #888;
    white-space: nowrap;
    justify-content: flex-start;
    left: 32px;
    flex: 1;
    padding: 0 10px;
}
.table__body .teams a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.table__body .flex-row.goals { width: 48px; }

/* Results Tab */
#resultsTabC .table__body_results .flex-table:hover { cursor: pointer; }
#resultsTabC .table__body_results .flex-table { color: black; text-decoration: none; font-weight: lighter; }
#resultsTabC .event_time_text_align { text-align: center; }
#resultsTabC { font-size: 13px; font-weight: bold; width: 100% !important; }
#resultsTabC .table__body_results { display: grid; }
#resultsTabC .flex-row { padding-left: 0.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
#resultsTabC #resultsContentTable .tablele-container { padding-top: 0.25rem; margin-bottom: 0px; border-top: 3px solid #27282a; }
#resultsTabC .table__body_results .winningMatchStyle.flex-row { font-weight: bold; }
.table__body_results .flex-row.matchDetails { justify-content: space-around; width: 75px; }
.table__body_results .flex-row.matchHomeTeam { justify-content: flex-end; text-align: right; flex: 1; }
.table__body_results .flex-row.matchDelimiter { width: 50px; }
.table__body_results .flex-row.matchAwayTeam { justify-content: flex-start; flex: 1; }
#resultsTabC .resultslineThrough { text-decoration: line-through; }

/* ==========================================================================
   League/Competition List
   ========================================================================== */

.category-list__item { padding: 0 0 36px 0; }
.category-list__item:last-child { margin: 0; }
.category-list__sub-links {
    list-style: none;
    -moz-column-count: 3; -moz-column-gap: 14px;
    -webkit-column-count: 3; -webkit-column-gap: 14px;
    column-count: 3; column-gap: 14px;
    margin: 0; padding: 0; line-height: 40px;
}
.category-list__sub-links a { text-decoration: none; }
.category-list__sub-links a:hover { background-color: rgba(0, 0, 0, 0.08); }
.category-list__sub-link {
    font-weight: normal;
    font-size: 18px;
    color: inherit;
    display: inline-block;
    width: 100%;
    line-height: 1.2em;
    margin: 0 0 .25em 0;
    padding: .36em 0 .5em 3px;
}

@media all and (max-width: 800px) {
    .category-list__item { padding: 0 0 18px 0; }
    .category-list__sub-links { padding: 6px 12px; }
}

@media all and (max-width: 600px) {
    .category-list__item { padding: 0; }
    .category-list__sub-links {
        -moz-column-count: 2; -webkit-column-count: 2; column-count: 2;
        padding: 9px;
    }
    .category-list__sub-link { font-size: 16px; }
}

/* ==========================================================================
   Match Detail Page (.matchx)
   ========================================================================== */

.matchx {
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
    border-radius: 10px 10px 0 0;
    border: 1px solid #F1F1F1;
}
.matchx .home-team,
.matchx .away-team {
    float: left;
    width: 30%;
    text-align: center;
}
.matchx .home-img,
.matchx .away-img {
    margin-bottom: 5px;
}
.matchx .team-logo {
    max-width: 60px;
    height: auto;
}
.matchx .scorex {
    float: left;
    width: 40%;
    text-align: center;
    line-height: 1.7em;
}
.timex {
    font-size: 18px;
    margin-top: 2px;
}
.vs {
    color: #999;
    font-size: 13px;
}
.leaguex {
    float: left;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #999;
}
.leaguex a {
    color: #999;
    text-decoration: none;
}
.leaguex a:hover {
    color: #333;
}

/* ==========================================================================
   Match Detail Tabs
   ========================================================================== */

#tabdiv {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0;
}
ul.tab {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
    position: relative;
}
ul.tab li { float: left; }
ul.tab li a {
    font-family: "Lato", sans-serif;
    display: flex;
    color: #666;
    text-align: center;
    line-height: 1.25rem;
    padding: 0.5rem 0.6rem;
    text-decoration: none;
    transition: 0.3s;
    font-size: 110%;
    white-space: nowrap;
}
ul.tab li a:hover { color: #333; }
ul.tab li a:focus,
ul.tab li a.active {
    background-color: #DDD;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}
.tabcontent {
    display: none;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
    margin-bottom: 50px;
}
@keyframes fadeEffect { from { opacity: 0; } to { opacity: 1; } }

.icon-5 { height: 1rem; width: 1rem; }
.icon { background-size: cover; background-position: center; background-repeat: no-repeat; }
.ml-2 { margin-left: 0.5rem; }
.cursor-pointer { cursor: pointer; }
.overflow-x-scroll { overflow-x: auto; }
.tab::-webkit-scrollbar { display: none; }
.justify-between { justify-content: space-between; }
@media (min-width: 768px) {
    .justify-between { justify-content: center; }
}

/* ==========================================================================
   Match Carousel (Swiper) - from slider-match.css
   ========================================================================== */

.slider-content {
    margin-bottom: 20px;
}
.slide-container { width: 100%; }
.slide-content { overflow: hidden; }
.swiper-navBtn::before,
.swiper-navBtn::after { font-size: 35px; }
.swiper-button-next { right: 0; }
.swiper-button-prev { left: 0; }

@media screen and (max-width: 768px) {
    .swiper-navBtn { display: none; }
}

.match {
    background-color: var(--xs-color-card_bg, #F0F0F0);
    vertical-align: top;
    white-space: normal;
    border: 1px solid #DFDFDF;
    box-sizing: border-box;
    float: left;
}
.slide-container .slide-content {
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    white-space: nowrap;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
}
.slide-content .teams-info .team-section { float: left; width: 50%; text-align: center; }
.slide-content .team-logo {
    width: 40px; height: 40px;
    border: 1px solid white;
    margin: auto auto;
    border-radius: 25px;
    padding: 5px;
}
.slide-content .team-logo img { width: 100%; vertical-align: middle; }
.slide-content .team-name {
    font-weight: bold; font-size: 11px;
    margin: 5px 0; text-transform: uppercase;
    line-height: 13px; display: block; text-align: center;
    overflow: hidden; white-space: nowrap;
    float: left; width: 100%;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.slide-content .match-region { display: inline-block; text-align: center; color: #B3B3B3; }
.slide-content .match-date {
    text-align: center; width: 100%;
    display: block; font-style: italic;
    background-color: white; font-weight: bold;
}
.slide-content .match-header {
    text-align: center; padding-bottom: 5px;
    font-size: 10px; overflow: hidden; white-space: nowrap;
}
.slide-content::-webkit-scrollbar { display: none; }
.slide-content .team-score { font-size: 2em; font-weight: bold; }
.slide-content-container { position: relative; margin-top: 10px; }
.slide-content a { color: inherit; }
.slide-content .page-link.h2h { background-color: #999; font-size: 13px; }
.slide-content .page-link.preview { background-color: var(--xs-color-accent, #F90); font-size: 13px; }
.slide-content .page-link {
    color: white; font-weight: bold;
    display: inline-block; width: 100%;
    text-align: center; margin-top: 3px; padding: 2px 0;
}
.page-link a { width: 100%; display: block; }

/* ==========================================================================
   Data Tables
   ========================================================================== */

.data tr:nth-child(odd),
.xdata tr:nth-child(odd) { background-color: #e3e3e3; }
.data.aleft td,
.xdata.aleft td { text-align: left; }
.data td, .data th,
.xdata td, .xdata th { padding: 8px; border: none; }
.data th, .xdata th { font-size: 14px; text-align: center; font-weight: bold; }
.data a, .xdata a { margin-right: 3px; color: #000; }
.data a:after { content: ", "; white-space: pre; }
.data a:last-child:after, .xdata a:last-child:after { content: ""; }
.data table th, .data table td,
.xdata table th, .xdata table td { font-size: 15px; }
.data table, .xdata table { margin: 0 !important; }

/* ==========================================================================
   Live Match Container
   ========================================================================== */

.livematchX { width: 100%; margin: 0 auto; padding: 0; }
.livematchX a:hover { color: #F00; }
.tracker iframe { width: 100%; border: none; }

/* ==========================================================================
   Stream/TV Links
   ========================================================================== */

.hidden-link,
.revealed-link {
    margin-top: 1rem; margin-bottom: 1rem;
    display: flex; align-items: center;
    font-size: 1.25rem; line-height: 1.75rem; font-weight: 600;
}
.hidden-link a, .revealed-link a { color: #36C; text-decoration: none; }
.hidden-link:hover, .revealed-link:hover { background-color: #F5F5F5; }
.stations a { color: #47a; }
.stations a:before { content: " "; white-space: pre; }
.stations a:after { content: ","; white-space: pre; }
.stations a:last-child:after { content: " "; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btnbelow {
    background-color: var(--xs-color-accent, #F90);
    background-image: none !important;
    border: 1px solid #F69;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    color: #FFF;
    padding: 2px 5px;
    text-align: center;
    margin: 5px 0;
}
.btnbelow:hover {
    background-color: #000;
    border: 1px solid #666;
}

.btn-detail {
    display: inline-block;
    padding: 5px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}
.btn-detail:hover { background: #eee; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.entry-category-icon-on { font-size: 13px; color: #999; margin-bottom: 5px; }
.entry-category-icon-on a { color: #666; text-decoration: none; }
.entry-category-icon-on a:hover { color: #333; }

/* ==========================================================================
   Misc
   ========================================================================== */

.ltb1 { width: 100%; }
.statsh2h { width: 100%; }
.results { text-align: center; }
.loading { text-align: center; padding: 20px; color: #999; }

.boxdesc ul li {
    margin-bottom: 0 !important;
    border-bottom: 1px solid #e5e5e5;
    line-height: 30px;
}
#LiveOnTV ul { margin: 0 !important; }

.video-thumbnail {
    position: relative; height: 100%;
    background-repeat: no-repeat; background-position: center; background-size: cover;
}
.video-thumbnail .play {
    position: absolute; width: 120px; cursor: pointer;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: .85;
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    border-radius: 100%;
}
.play:hover {
    border-radius: 100%;
    border: 8px solid #fff;
    box-shadow: 0 0 20px 5px #fff inset;
    transition: all .3s;
}

/* ==========================================================================
   Catfish Ads (bottom sticky banner)
   ========================================================================== */

:root {
    /* Catfish */
    --catfish-height-desktop: 90px;
    --catfish-height-mobile: 100px;
    /* Color defaults (overridden by Customizer inline CSS) */
    --xs-color-bg: #ffffff;
    --xs-color-header_bg: #ffffff;
    --xs-color-nav_bg: #17232c;
    --xs-color-nav_text: #ffffff;
    --xs-color-footer_bg: #17232c;
    --xs-color-footer_text: #949494;
    --xs-color-accent: #ff9900;
    --xs-color-text: #000000;
    --xs-color-match_bg: #ffffff;
    --xs-color-match_alt: #f9f9f9;
    --xs-color-match_hover: #dcf5e8;
    --xs-color-card_bg: #f0f0f0;
}
/* Apply color variables to major sections (overrides Gridbox parent) */
body {
    background-color: var(--xs-color-bg, #ffffff);
    color: var(--xs-color-text, #000000);
}
.site-header {
    background-color: var(--xs-color-header_bg, #ffffff);
}
#main-navigation-wrap,
.primary-navigation-wrap {
    background-color: var(--xs-color-nav_bg, #17232c);
}
.main-navigation-menu > li > a,
.primary-navigation .main-navigation-menu > li > a {
    color: var(--xs-color-nav_text, #ffffff);
}
.site-footer {
    background-color: var(--xs-color-footer_bg, #17232c);
}
.site-footer,
.site-footer .site-info-text,
.site-footer .credit-link {
    color: var(--xs-color-footer_text, #949494);
}

#catfish-spacer { width: 100%; height: 0; }
#catfish-banner {
    position: fixed; left: 0; bottom: 0;
    width: 100%; background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,.18);
    z-index: 9999; display: none;
}
.catfish-inner {
    width: 100%; max-width: 100%;
    margin: auto; text-align: center; overflow: hidden;
}
#catfish-close {
    position: absolute; top: -12px; right: 8px;
    width: 26px; height: 26px; border-radius: 50%;
    border: none; background: rgba(0,0,0,.75);
    color: #fff; font-size: 15px; cursor: pointer; z-index: 10000;
}
@media (min-width: 768px) { #catfish-banner { height: var(--catfish-height-desktop); } }
@media (max-width: 767px) { #catfish-banner { height: var(--catfish-height-mobile); } }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 480px) {
    .tracker iframe { height: 350px; }
    .data, .xdata { font-size: 15px; }
    .data a, .xdata a { display: block; }
}
@media (min-width: 481px) and (max-width: 768px) {
    .tracker iframe { max-height: 350px; }
}

/* ==========================================================================
   TV Listing (Match Detail)
   ========================================================================== */

.tv_listing_head {
    background-color: #eee;
    color: #000;
    display: block;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    padding-left: 10px;
    margin: 1% 0;
    border-radius: 4px;
}

.tv_listing_item {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv_listing_item i {
    background-image: url(assets/img/television.svg);
    background-size: contain;
    background-repeat: no-repeat;
    height: 1.2rem;
    width: 1.2rem;
    display: inline-block;
}

/* News section */
.newsen {
    width: 100%;
    display: block;
}

/* Prediction result indicators */
.o_w { color: #dc3545; font-weight: bold; }
.o_d { color: #007bff; }
.o_l { color: #28a745; }
.o_t { color: #fd7e14; }

/* Prediction tables */
.d1 { font-size: 11px; }
.td_lea { font-size: 12px; color: #666; }
.qdwj1 { margin: 10px 0; }
.zrqt1 { width: 100%; border-collapse: collapse; font-size: 13px; }
.zrqt1 td, .zrqt1 th { padding: 5px 8px; border-bottom: 1px solid #eee; }

/* Prediction score display */
.prediction-score {
    font-size: 24px;
    color: var(--xs-color-accent, #F60);
}

/* Footer leagues and teams */
.footer-leagues-teams {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-leagues-teams h3 {
    color: var(--xs-color-footer_text, #fff);
    font-size: 16px;
    margin-bottom: 10px;
}
.footer-leagues-teams ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
}
.footer-leagues-teams ul li a {
    color: var(--xs-color-footer_text, #949494);
    font-size: 13px;
    text-decoration: none;
}
.footer-leagues-teams ul li a:hover {
    color: #fff;
}
.footer-col {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    margin-right: 2%;
}
.footer-col:last-child { margin-right: 0; }

/* Footer page links */
.footer-links {
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-links a {
    color: var(--xs-color-footer_text, #949494);
    font-size: 13px;
    text-decoration: none;
    margin: 0 10px;
}
.footer-links a:hover { color: #fff; }

/* Footer social links */
.footer-social {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.footer-social a {
    color: var(--xs-color-footer_text, #949494);
    font-size: 12px;
    text-decoration: none;
}
.footer-social a:hover {
    color: #fff;
}

/* ==========================================================================
   365scores Widget & Data Table Overflow
   ========================================================================== */

/* Allow 365scores widgets to scroll horizontally when content overflows */
.scores365,
[data-widget-type="entityStandings"],
[data-widget-type="game"],
[data-widget-type="h2h"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* Data tables within match/predictions pages */
.data {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}
.data table {
    width: 100%;
    border-collapse: collapse;
    min-width: 300px;
}
.data table th,
.data table td {
    padding: 6px 8px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}
.data table th {
    background: #f4f4f4;
    font-weight: 600;
}
.data table tr:hover {
    background: var(--xs-color-match_hover, #dcf5e8);
}

/* Sidebar tournament/team lists */
.tournaments ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tournaments ul li {
    padding: 4px 0;
}
.tournaments ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 13px;
    padding: 3px 5px;
    border-radius: 3px;
}
.tournaments ul li a:hover {
    background: rgba(0, 0, 0, 0.05);
}
.tournaments ul li a img {
    flex-shrink: 0;
}

/* Ensure standings widget in sidebar doesn't break layout */
.sidebar .scores365,
.sidebar [data-widget-type="entityStandings"] {
    font-size: 11px;
}

/* About / Editorial section */
.boxdesc {
    margin: 20px 0;
    padding: 15px;
    background: var(--xs-color-card_bg, #f0f0f0);
    border-radius: 5px;
}
.boxdesc h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
.boxdesc p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

