/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* DESIGN SYSTEM VARIABLES */

:root {
    --color-bg: #0a1929;
    --color-bg-secondary: #0d2137;
    --color-bg-card: #0f2744;
    --color-bg-hover: #163356;

    --color-primary: #00e676;
    --color-primary-dark: #00b85c;
    --color-accent: #ff6f00;
    --color-accent2: #ffd600;

    --color-text: #e8f0fe;
    --color-text-muted: #7a9abf;
    --color-border: #1e3a5f;

    --color-header: #061220;
    --color-live: #f44336;

    --color-win: #00e676;
    --color-draw: #ffd600;
    --color-loss: #f44336;

    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(0, 230, 118, 0.2);

    --header-height: 60px;
    --ticker-height: 36px;

    --transition: 0.2s ease;
}

/* RESET (FLATSOME SAFE) */

body {
    font-family: var(--font-body) !important;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* override Flatsome fonts */
button,
input,
select,
textarea,
.nav,
.menu,
.button {
    font-family: var(--font-body) !important;
}



@media (max-width: 850px) {
    .post{
        padding: 0 15px !important;
    }
    .post-sidebar{
        padding: 0 15px !important;
    }
}

/* headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* links */
a {
    color: var(--color-primary);
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent2);
}

/* images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* lists */
ul, ol {
    list-style: none;
}

.col-divided {
    border-right: none;
    padding-right: 10px;
}

.section-title-container {
    margin-bottom: 0;
}

/* MAIN MENU */
.header, .header-wrapper {
    border-bottom: 2px solid var(--color-border);
}

.header-nav.header-nav-main {
    flex: 1;
    overflow: hidden;
}

/* UL menu */
.header-nav.header-nav-main {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* items container */
.header-nav.header-nav-main > li {
    display: flex;
    margin: 0 4px;
}

/* links */
.header-nav.header-nav-main > li > a {
    display: flex;
    align-items: center;
    gap: 6px;

    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    padding: 8px 12px;
    border-radius: var(--radius-sm);

    white-space: nowrap;
    transition: all var(--transition);

    border-bottom: 2px solid transparent;
}

/* hover + active */
.header-nav.header-nav-main > li > a:hover,
.header-nav.header-nav-main > li.current-menu-item > a {
    color: var(--color-primary);
    background: rgba(0, 230, 118, 0.08);
    border-bottom-color: var(--color-primary);
}

/* LIVE item special */
.header-nav.header-nav-main > li > a.live-link {
    color: var(--color-live);
    animation: pulse-red 2s infinite;
}

/* LIVE icon + text align fix */
.header-nav.header-nav-main > li > a img {
    width: 14px;
    height: 14px;
    display: inline-block;
}


/* pulse animation */
@keyframes pulse-red {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* TOPBAR FIX FLATSOME */
#top-bar {
    width: 100%;
}

#top-bar .container,
#top-bar .row,
#top-bar .flex-row {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* TICKER */
.ticker-bar {
    background: linear-gradient(90deg, #061220 0%, #0a1929 100%);
    border-bottom: 1px solid var(--color-border);
    height: var(--ticker-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LIVE LABEL */
.ticker-label {
    color: #ff2d2d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 45, 45, 0.4);
}

/* LIVE DOT */
.ticker-label::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #ff2d2d;
    border-radius: 50%;
    margin-right: 8px;
    animation: blinkDot 1s infinite;
}

@keyframes blinkDot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
}

/* CONTENT */
.ticker-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

/* FADE EFFECT */
.ticker-content::before,
.ticker-content::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-content::before {
    left: 0;
    background: linear-gradient(to right, #061220, transparent);
}

.ticker-content::after {
    right: 0;
    background: linear-gradient(to left, #0a1929, transparent);
}

/* TRACK */
.ticker-track {
    display: flex;
    align-items: center;
    gap: 30px;

    white-space: nowrap;
    width: max-content;

    animation: tickerScroll 50s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ITEM */
.ticker-track a {
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    padding: 3px 10px;
    border-radius: 999px;
    transition: var(--transition);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-track a:hover {
    color: #fff;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
}

/* SIDE LAYOUT */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;

    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 16px;

    align-items: start;
}

/* SIDEBAR STICKY (FLATSOME) */
.post-sidebar.large-3.col {
    position: relative;
    top: 10px;

    max-height: fit-content;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

/* scrollbar */
.post-sidebar.large-3.col::-webkit-scrollbar {
    width: 4px;
}

.post-sidebar.large-3.col::-webkit-scrollbar-track {
    background: transparent;
}

.post-sidebar.large-3.col::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.view-more-wrap {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 12px;
}

.view-more-btn {
  display: inline-block;
  padding: 6px 16px;
  background: #ff0000;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s;
}

.view-more-btn:hover {
  background: #cc0000;
}

.article-inner .nav-previous a, .article-inner .nav-next a {
    display: flex;
    font-size: 13px;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.article-inner .bt, .article-inner .bb{
    border-bottom: 0px;
    border-top: 0px;
}

.row-dashed .col-inner, .row-solid .col-inner{
	padding: 0px;
}


/* WIDGET CARD STYLE */
.widget {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

/* widget title */
.widget-title {
    background: var(--color-bg-hover);
    padding: 10px 14px;

    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--color-text-muted);

    display: flex;
    align-items: center;
    gap: 8px;

    border-bottom: 1px solid var(--color-border);
}

/* Flatsome divider remove */
.is-divider {
    display: block;
}

/* LEAGUE MENU CORE */
.league-menu {
    margin: 0;
    padding: 6px 0;
}

.league-menu li {
    list-style: none;
}

/* link */
.league-menu li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 8px 14px !important;

    color: var(--color-text-muted);
    font-size: 12.5px;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

/* hover */
.league-menu li a:hover {
    color: var(--color-text);
    background: var(--color-bg-hover);
    border-left-color: var(--color-primary);
}

/* active */
.league-menu li.current-menu-item a,
.league-menu li.current_page_item a {
    color: var(--color-text);
    background: var(--color-bg-hover);
    border-left-color: var(--color-primary);
}

/* FLAG */
.league-menu .flag {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    flex-shrink: 0;
}

/* WordPress emoji image */
.league-menu .flag img {
    width: 16px;
    height: 16px;

    display: inline-block !important;
    vertical-align: middle;
}

/* text */
.league-menu .name {
    flex: 1;
    white-space: nowrap;
}

/* SCROLL MENU (OPTIONAL) */
.league-menu {
    max-height: 420px;
    overflow-y: auto;
}

#wp-sport-app .tab-button.active{
	color: white !important;
}

.league-menu::-webkit-scrollbar {
    width: 4px;
}

.league-menu::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
}

.league-menu::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* FOOTER */
.footer-wrapper {
    background: var(--color-header);
    border-top: 2px solid var(--color-border);
    margin-top: 40px;
    padding-top: 25px;
}
.footer-wrapper .widget {
    background: transparent !important;
    border: none !important;
    color: var(--color-text) !important;
}

.footer-wrapper .sidebar-wrapper .col {
    padding: 0;
}

.footer-wrapper .widget_nav_menu .menu li + li,
.footer-wrapper .widget_nav_menu .league-menu li + li {
    border-top: none !important;
}

.footer-wrapper .widget_nav_menu .menu {
    overflow: hidden;
    border-radius: 0;
}

.footer-wrapper .widget_nav_menu {
    overflow: visible;
}

.footer-wrapper .menu li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 8px !important;

    color: var(--color-text-muted);
    font-size: 0.75rem;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

/* hover */
.footer-wrapper .menu li a:hover {
    color: var(--color-text);
    background: var(--color-bg-hover);
    border-left-color: var(--color-primary);
}

/* FOOTER TAG */
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0;
}

.footer-tag {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all var(--transition);
}

.footer-tag:hover {
    background: rgba(0, 200, 83, 0.1) !important;
    border-color: #00c853 !important;
    color: #00c853 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav.header-nav-main {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .header-nav.header-nav-main::-webkit-scrollbar {
        display: none;
    }

    .ticker-bar {
        height: 32px;
    }

    .ticker-track {
        gap: 18px;
        animation-duration: 45s;
    }

    .ticker-track a {
        font-size: 11px;
        padding: 2px 8px;
    }

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

    .post-sidebar.large-3.col {
        position: relative;
        max-height: none;
        overflow: visible;
    }
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/******** CUSTOM CSS *********/
/* =========================
   WRAP (scope theo content)
========================= */
.home_content {
    background: none;
    border: 0px solid var(--color-border);
    border-radius: 0px;
    overflow: inherit;
}

/* TITLE WRAP */
.home_content .section-title-main {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 🔴 DOT */
.home_content .section-title-main::before {
    content: "";
    width: 0px;
    height: 0px;
    background: #ff3b3b;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.2s infinite;
}

.home_content .is_live .section-title-main::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.2s infinite;
}

/* 🔴 LIVE BADGE */
.home_content .section-title-main::after {
    content: "";
    margin-left: 0px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0px;
    border-radius: 4px;
    background: #ff3b3b;
    color: #fff;
    animation: livePulse 1.2s infinite;
}

.home_content .is_live .section-title-main::after {
    content: "LIVE";
    margin-left: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 4px;
    background: #ff3b3b;
    color: #fff;
    animation: livePulse 1.2s infinite;
}

/* ANIMATION */
@keyframes livePulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.15);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/************ CUSTOM WP-SPORT-APP ************/
.wp-sport-app .sport-live-container[data-v-d7dad846] {
    background: transparent !important;
    font-family: inherit !important;
}

#wp-sport-app .tab-button[data-v-127b06da] {
    background: var(--color-bg-hover);
}

.widget #wp-sport-app .sport-live-container[data-v-d7dad846] {
    border: none !important;
}

.home_content .wp-sport-app .filters,
.home_content .wp-sport-app .tabs {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-hover);
    overflow-x: auto;
    scrollbar-width: none;
}

.home_content .wp-sport-app .filters::-webkit-scrollbar,
.home_content .wp-sport-app .tabs::-webkit-scrollbar {
    display: none;
}

/* BUTTON */
.home_content .wp-sport-app button,
.home_content .wp-sport-app .tab-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.home_content .wp-sport-app button:hover,
.home_content .wp-sport-app .active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
}

/* =========================
   LEAGUE HEADER
========================= */
.home_content .wp-sport-app .league,
.home_content .wp-sport-app .competition {
    border-bottom: 1px solid var(--color-border);
}

.home_content .wp-sport-app .league-header {
    background: var(--color-bg-secondary);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* =========================
   MATCH ROW
========================= */
.home_content .wp-sport-app .match,
.home_content .wp-sport-app .fixture,
.home_content .wp-sport-app .game {
    display: grid;
    grid-template-columns: 60px 1fr 90px 1fr 60px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(30, 58, 95, 0.5);
    gap: 8px;
    transition: background var(--transition);
    cursor: pointer;
}

.home_content .wp-sport-app .match:last-child {
    border-bottom: none;
}

.home_content .wp-sport-app .match:hover {
    background: var(--color-bg-hover);
}

/* =========================
   TIME
========================= */
.home_content .wp-sport-app .time,
.home_content .wp-sport-app .match-time {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-mono);
}

.home_content .wp-sport-app .live {
    color: var(--color-live);
    animation: pulse-red 1.5s infinite;
}

/* =========================
   TEAM
========================= */
.home_content .wp-sport-app .team {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.home_content .wp-sport-app .team.home {
    justify-content: flex-end;
}

.home_content .wp-sport-app .team-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* LOGO */
.home_content .wp-sport-app img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* =========================
   SCORE
========================= */
.home_content .wp-sport-app .score,
.home_content .wp-sport-app .score-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
}

.home_content .wp-sport-app .live .score {
    border-color: var(--color-live);
}

.home_content .section {
    align-items: center;
    display: block;
    min-height: auto;
    padding: 10px 0;
}

.home_content #wp-sport-app .section {
    margin-bottom: 0px;
}

.home_content .wp-sport-app .loading {
    padding: 40px;
    text-align: center;
    color: var(--color-text-muted);
}

.announcement-wrapper {
    display: none !important;
}
.d-none{
    display: none !important;
}
.footer {
    padding: 10px 0 0;
}
.top-notification .announcement-wrapper {
    display: flex !important;
}

#wp-sport-app .league-matches {
    background: #ffffff00 !important;
}

#wp-sport-app .match-item:hover {
    background-color: #ffffff00 !important;
}

#wp-sport-app .round-btn {
    background: #ffffff00 !important;
}

#wp-sport-app .nav-btn {
    background: #ffffff00 !important;
}

#wp-sport-app .row-table {
    background-color: #ffffff00 !important;
}

#wp-sport-app .td-cell {
    background: #ffffff00 !important;
}

#wp-sport-app .odd-group-locked {
    background-color: #ffffff00 !important;
}

#wp-sport-app .odd-1x2-locked {
    background-color: #ffffff00 !important;
}

#wp-sport-app .th-cell {
    background: #091929;
}

#wp-sport-app .odd-hdp, #wp-sport-app .odd-ou, #wp-sport-app .odd_box {
    background-color: #ffffff00 !important;
}

.col, .columns, .gallery-item {
    padding: 0px;
}

.container .row-large:not(.row-collapse), .row .row-large:not(.row-collapse) {
    margin-left: 0px;
    margin-right: 0px;
}

#wp-sport-app .right-side {
    overflow-x: auto;
}

.mb-0 blockquote, .mb-0 dl, .mb-0 figure, .mb-0 form, .mb-0 ol, .mb-0 p, .mb-0 pre, .mb-0 ul {
    margin-bottom: 0px;
}

.text-8rem p, .text-8rem dl, .text-8rem figure, .text-8rem form, .text-8rem ol, .text-8rem p, .text-8rem pre, .text-8rem ul {
    font-size: 8rem;
}

#wp-sport-app .score-display{
    display: flex;
}

#wp-sport-app .score{
	line-height: normal;
}
#wp-sport-app .vs{
	display: flex;
    justify-content: center;
    align-items: center;
}
#wp-sport-app .match-time{
    color: white !important;
}

#wp-sport-app .team-section .team-rank{
    color: white !important;
}
#wp-sport-app .center-top{
    top: 6px !important;
}
#wp-sport-app .center-bottom{
    bottom: 7px !important;
}
.page-wrapper {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

.header-main li.menu-item:nth-child(1) > a,.sidebar-menu li.menu-item:nth-child(1) > a {
    position: relative;
    padding-left: 10px;
    margin-left: 0px;
    font-weight: 600;
}
.blog-wrapper.blog-archive .box-image .image-cover{
	padding-top: 50% !important;
}
@media only screen and (max-width: 850px) {
    .header-main li.menu-item:nth-child(1) > a,.sidebar-menu li.menu-item:nth-child(1) > a {
        margin-left: 10px;
    }
	.page-wrapper {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
}

.header-main li.menu-item:nth-child(1) > a::before,.sidebar-menu li.menu-item:nth-child(1) > a::before{
    content: "";
    width: 10px;
    height: 10px;
    background: #ff2d2d;
    border-radius: 50%;
    margin-right: 2px;
    animation: blinkDot 1s infinite;
}

.fl-btn-commentators {
    height: 38px;
    padding: 0 20px;
    margin-right: 0px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: rgba(0,0,0,0);
    color: var(--fl-text);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgb(229, 57, 53, 0.2);
    margin-bottom: 0;
}

.fl-back-btn-commentators{
    padding: 0 10px;
    margin-bottom: 16px !important;
    border: none;
    border-radius: 6px;
    background: rgba(0,0,0,0);
    color: var(--color-primary) !important;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.fl-header-date{
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.mr-0{
    margin-right: 0px !important;
}

.button, button, input[type=button], input[type=reset], input[type=submit]{
    line-height: inherit;
    margin-right: 0px;
}

.team-item{
    background: rgba(0, 0, 0, 0) !important;
}

.dark #wp-sport-app .odd-custom {
    background-color: #362121 !important;
}

.button, button, fieldset, input, select, textarea{
    margin-bottom: 0px;
    margin-right: 0px;
}

@media only screen and (max-width: 600px) {
    .fl-header{
        flex-direction: column;
    }
}

.fl-card-footer{
    justify-content: center !important;
}

.px-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.fl-blv-group {
	display: flex;
    flex: 1;
    overflow: auto;
    justify-content: left;
    flex-wrap: nowrap;
	gap: 4px;
}

.fl-blv-group::-webkit-scrollbar {
    height: 4px;
}



/* ================= GRID ================= */
.news-grid-dark, .archive .large-columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px 0;
}

/* ================= CARD ================= */
.archive .large-columns-3 .col{
	padding: 5px;
}
.news-link-dark,.large-columns-3 .col .col-inner {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    color: var(--color-text);
    height: 100%;
    text-decoration: none;
    animation: fl-fadeIn .4s ease forwards;
}

.news-link-dark:hover, .large-columns-3 .col .col-inner:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
}

.news-link-dark img, .large-columns-3 .col .col-inner img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-link-dark:hover img, .large-columns-3 .col .col-inner:hover img {
    transform: scale(1.05);
}

/* ================= IMAGE ================= */
.news-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

/* ================= CONTENT ================= */
.news-content {
    padding: 12px 14px;
}

.news-title-dark {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--color-text);
    font-family: var(--font-heading);
    line-height: 1.4;
}

.news-desc-dark {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0 0 8px;
    line-height: 1.5;
}

.news-meta-dark {
    font-size: 12px;
    color: var(--color-text-muted);
}

.news-layout-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

/* ================= ITEM 1: FEATURED ================= */
.news-featured {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.news-featured:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
}

.news-featured > img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-featured:hover > img {
    transform: scale(1.04);
}

.news-featured .news-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-featured .news-title-dark{
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--color-text);
    font-family: var(--font-heading);
    line-height: 1.35;
}
.box-text{
	padding:12px;
}
.box-text .is-divider{
	display: none;
}
.news-featured .news-desc-dark, .from_the_blog_excerpt  {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0 0 10px;
    line-height: 1.5;
    flex: 1;
}

.news-featured .news-meta-dark {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: auto;
}

.header-main{
    min-height: 50px;
    padding: 15px 0px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header.show-on-scroll, .stuck .header-main {
    min-height: 70px;
    height: fit-content !important;
}

.stuck .header-main .nav > li > a {
    line-height: 22px;
}

/* ================= ITEM 2 & 3: SIDE (layout dọc) ================= */
.news-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1024px) {
    .news-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.side-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.side-item:hover {
    box-shadow: 0 6px 18px rgba(0, 230, 118, 0.18);
    border-color: var(--color-primary);
}

.side-item > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.side-item:hover > img {
    transform: scale(1.04);
}

.side-item .news-content {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.side-item .news-title-dark {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--color-text);
    font-family: var(--font-heading);
    line-height: 1.35;
    flex: 1;
}

.side-item .news-meta-dark {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: auto;
}

.news-grid-dark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.news-card-dark {}

.news-link-dark {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    color: var(--color-text);
    height: 100%;
    text-decoration: none;
    animation: fl-fadeIn .4s ease forwards;
}

.news-link-dark:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
}

.news-link-dark > .news-thumb img {
    transition: transform 0.3s ease;
}

.news-link-dark:hover > .news-thumb img {
    transform: scale(1.05);
}

.news-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 12px 14px;
}
.blog-wrapper.blog-archive.page-wrapper .large-10.col{
	flex-basis: 100%;
        max-width: 100%;
}
.news-title-dark, .post-item .post-title  {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--color-text);
    font-family: var(--font-heading) !important;
    line-height: 1.4;
  	white-space: nowrap;      
  	overflow: hidden;         
  	text-overflow: ellipsis;   
	width: calc(100% - 1px);
}
.post-item .post-title .plain {
  	white-space: nowrap;      
  	overflow: hidden;         
  	text-overflow: ellipsis;   
	width: calc(100% - 4px);
}
.news-desc-dark {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0 0 8px;
    line-height: 1.5;
}

.news-meta-dark {
    font-size: 12px;
    color: var(--color-text-muted);
}

.pagination-wrapper-dark ul, nav-pagination{
    display: flex;
    gap: 8px;
    justify-content: center;
    list-style: none;
    padding: 20px 0;
    margin: 0;
}
.nav-pagination>li>a, .nav-pagination>li>span{
	height:auto;
}
.pagination-wrapper-dark li a,
.pagination-wrapper-dark li span,
.nav-pagination li .page-number{
    display: block;
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    background: var(--color-bg-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.pagination-wrapper-dark li a:hover, .nav-pagination li a:hover{
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-wrapper-dark .current, .nav-pagination .page-number.current {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    font-weight: 700;
}

.col-inner ol li, .col-inner ul li, .entry-content ol li, .entry-content ul li, .entry-summary ol li, .entry-summary ul li {
    margin-left: 0.3em !important;
}

li {
    margin-bottom: 0.2rem;
}

.fl-matches-featured .fl-card--hero .fl-card {
    /* background-image: url('/wp-content/uploads/2026/04/BannerMatch1.avif'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 550px) {
    .bookmaker-class{
        width: 100%;
        margin-top: 0px;
        margin-bottom: 30px;
    }
}




@media (max-width: 1024px) {
    .news-layout-top {
        grid-template-columns: 1fr;
    }

    .news-grid-dark {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .news-featured > img {
        height: 220px;
    }

    .side-item > img {
        height: 160px;
    }
}
/* ================= home page ================= */


.container .row:not(.row-collapse), .lightbox-content .row:not(.row-collapse), .row .gallery, .row .row:not(.row-collapse){
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}

.home-page .home_content .section-title-normal{
    border-bottom: 0px;
    margin-bottom: 0px;
}

.home-post .col-inner{
    padding: 5px !important;
}

.home-tournament .announcement-wrapper{
    display: none !important;
}

.home-tournament .section:nth-child(3){
    display: none !important;
}

.row-dashed .col:after, .row-solid .col:after{
    border: 0px;
}

.row-dashed .col:before, .row-solid .col:before {
    border: 0px;
}

.home-page .home_content .section-title-main{
    border-bottom: 0px;
}
.dark .row-dashed .col:after, .dark .row-dashed .col:before, .dark .row-solid .col:after, .dark .row-solid .col:before{
    border: 0px;
}
.home_content .has-shadow>.col>.col-inner{
    background-color: var(--color-bg-card)
}

.home-page .fl-header{
    display: none;
}
.home-page .fl-matches-featured{
    margin-top: 0px;
    margin-bottom: 0px;
}
.home-page .fl-tabs{
    display: none;
    padding: 0px 0px 10px 0px;
    background: rgba(0, 0, 0, 0);
}

.home-page .fl-wrap{
    padding: 0px !important;
    margin: 0px !important;
    background: rgba(0, 0, 0, 0) !important;
}

.home-page .fl-empty-state{
    margin: 10px 0;
}

.home-page .fl-matches {
    margin-top: 10px;
}

/* ================= post page ================= */
.blog-share, .entry-meta, .entry-author, .author-box{
    display: none;
}

#comments{
    display: none;
}

.post-sidebar.large-3.col{
    top: 20px;
}

@media (max-width: 768px) {
    .post-sidebar.large-3.col{
        top: 0px;
    }
}

@media screen and (min-width: 850px) {
    .row-large>.col,.post .row-large>.flickity-viewport>.flickity-slider>.col {
        margin-bottom: 0;
        padding: 0;
    }
    .blog-single .row-large>.col,.blog-single .row-large>.flickity-viewport>.flickity-slider>.col {
        margin-bottom: 0;
        padding: 0 10px 10px;
    }
}

/* ================= post sidebar ================= */

.widget>ul>li>a, .widget>ul>li>span:first-child, ul.menu>li>a, ul.menu>li>span:first-child {
    font-size: 12px;
}

.widget>ul>li .post-date{
    font-size: 11px;
    color: #7a9abf;
}

.post-sidebar ul li{
    padding: 5px 10px;
    list-style: none;
    margin: 0;
    text-align: left;
}

.widget>ul>li>a, .widget>ul>li>span:first-child, ul.menu>li>a, ul.menu>li>span:first-child{
    padding: 6px 0 0 0;
}

.dark .is-divider {
    background: hsla(0, 0%, 100%, .08);
    width: 100%;
    height: 1px;
    min-width: 100%;
}

.widget .is-divider{
    display: none;
}

.custom-recent-posts {
  list-style: none;
  padding: 0;
}

.custom-recent-posts .recent-item {
    display: flex;
    gap: 10px;
    padding: 10px 7px 10px 7px;
    border-top: 1px solid hsla(0, 0%, 100%, .08);
}

.custom-recent-posts img {
  width: 100%;
  aspect-ratio: 3/1.4;
  object-fit: contain;
  border-radius: 6px;
}

.custom-recent-posts .recent-item a{
    width: 100%;
}

.custom-recent-posts .info {
  flex: 1;
}

.custom-recent-posts .title {
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    line-height: 1.2;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-recent-posts .time {
    font-size: 11px;
    color: #7a9abf;
    margin-bottom: 4px;
}

.custom-recent-posts .excerpt {
    font-size: 11px;
    color: var(--color-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-page .fl-more-wrapper{
    display: none;
}

.follow-footer .col-inner{
 display: flex;
 gap: 7px;
} 

.follow-footer .img{
 width: 35px !important;
} 

/* ================= ADS ================= */

.left-ads{
	overflow: auto;
    position: fixed;
    left: calc(50% - 640px - 250px);
    top: 119px;
    max-width: 250px;
    width: calc((100vw - 1280px)/2);
    max-height: calc(100vh - 75px);
    height: calc(100vh - 75px);
    z-index: 9999;
}

.right-ads{
	overflow: auto;
    position: fixed;
    right: calc(50% - 640px - 250px);
    top: 119px;
    max-width: 250px;
    width: calc((100vw - 1280px)/2);
    max-height: calc(100vh - 75px);
    height: calc(100vh - 75px);
    z-index: 9999;
   
}

.fixed-ads{
    position: fixed;
	display: flex;
	justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    width: 1250px;
    max-height: calc(100vh - 180px);
    max-width: 100%;
    z-index: 9999;
}

.mfp-close{
    left: 220px;
}

#wp-sport-app .league-selector-item.active{
    color: white !important;
}

#wp-sport-app .comp-logo{
    padding: 1px;
    background: white;
}

#wp-sport-app .tab-button.active.blink-animation{
    display: none !important;
}

@media (max-width: 1790px) {
    .left-ads{
        left: 5px;
    }

    .right-ads{
        right: 5px;
    }
}



@media (max-width: 1640px) {
    .left-ads{
        display: none;
    }

    .right-ads{
        display: none;
    }
}

.follow-ads{
    width: 100%;
}

.header-main li.menu-item:nth-child(2) > a::before, .sidebar-menu li.menu-item:nth-child(2) > a::before{
    display: none;
}

.fl-matches-featured .fl-card--hero .fl-card{
	background-image: none;
}

.adspot-wrap{
	justify-content: center !important; 
	display: flex !important; 
	height: fit-content !important;
}

.block-fixed-ads-1 .col-inner,.block-fixed-ads-2 .col-inner{
	width: fit-content;
}

.close-fixed-1,.close-fixed-2{
	position: absolute;
    width: fit-content;
    height: fit-content;
    min-height: fit-content;
    width: 15px;
    height: 15px;
    background: red !important;
    color: white !important;
    border-radius: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    top: 0px;
    line-height: 0 !important;
    font-size: 10px;
    font-weight: normal;
    border: 0px !important;
}

.close-fixed-1{
	right: 3px;
}

@media (max-width: 850px) {
    .close-fixed-1{
		right: 0px;
	}
}
.close-fixed-2{
	right: 0px;
}

.close-fixed-1 span,.close-fixed-2 span{
	line-height: 1;
	margin: 0;
	padding: 0;
}

.detail-live #wp-sport-app .tab-content{
	height: fit-content !important;
}

#wp-sport-app .live_icon_popup--item{
	background: white;
	color: black;
}

/* ================= CSS CHAT ================= */
.detail-match .col-inner{
	height: 100%;
}
.wfc-emoji-btn {
	min-height: 1rem;
}
.wfc-form{
	margin-bottom: 0px !important;
}
.wfc-scroll-bottom{
	bottom: 117px !important;
}
.wfc-input{
	border-radius: 8px !important;
}

.wfc-emoji-btn {
  font-size: 22px !important;
}

.wfc-name {
	flex: 0 0 auto;
}

.match-detail-page .tab-content{
	height: fit-content !important;
}

.no-posts-message {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 16px;
}

.live-top-ads, .top-ads, .center-ads, .bottom-ads{
	display: flex;
	flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    gap: 8px;
	width: 100%;
    grid-column: 1 / -1;
    flex-basis: 100%;
}

.live-ads-1,.live-ads-2,.live-ads-3{
	display: flex;
	flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
    gap: 8px;
	width: 100%;
    grid-column: 1 / -1;
    flex-basis: 100%;
}

@media (max-width: 850px) {
    .live-top-ads,.live-ads-1,.live-ads-2,.live-ads-3,.top-ads, .center-ads, .bottom-ads{
		flex-direction: column;
	}
}

.top-live-ads-temp, .live-ads-temp-1, .live-ads-temp-2, .live-ads-temp-3{
	display: none;
}

.wfc-emoji-wrap .wfc-emoji-btn img{
    height: 1em !important;
    width: 1em !important;
    max-width: 1em !important;
}

/* ================= TOP NHA CAI ================= */


.top-nha-cai-box, .top-nha-cai-home{
	margin-bottom: 10px !important;
	background-image: url('/wp-content/uploads/2026/05/BG.png');
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
}

.top-nha-cai-home .icon-box-left .icon-box-img+.icon-box-text{
	display: flex;
    align-items: center;
}

.top-nha-cai-box .gallery,.top-nha-cai-box .row,.top-nha-cai-home .gallery,.top-nha-cai-home .row{
	align-items: center;
	justify-content: start;
}

.detail-live-brand .gallery, .detail-live-brand .row{
	align-items: center;
	justify-content: start;
}

.detail-live-brand{
	overflow-x: auto;
    display: flex;
	align-items: center;
}

.detail-live-brand .detail-live-brand-logo > .col-inner{
	display: flex;
    justify-content: start;
    align-items: center;
}

.detail-live-brand.pc .detail-live-brand-logo > .col-inner{
	display: flex;
    align-items: start;
    height: fit-content;
    margin-top: 10px;
}

.detail-live-brand .detail-live-brand-logo .col-inner{
	width: fit-content;
	justify-content: center;
	gap: 15px;
}

.detail-live-brand.pc{
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #1e3a5f;
	border-right: 1px solid #1e3a5f;
	height: 109px;
	padding: 10px 10px 10px 10px !important;
}
.detail-live-brand.mb{
	display: none;
	padding: 20px 10px 10px 10px !important;
}

.detail-live-brand img{
	padding: 5px 20px;
    border: 1px solid;
    border-radius: 10px;

}

@media (max-width: 850px) {
	.detail-live-brand.pc{
		display: none
	}
	
	.detail-live-brand.mb {
        gap: 10px;
        flex-direction: column;
    }
	
	.detail-live-brand .detail-live-brand-logo .col-inner{
		justify-content: center;
	}

	.detail-live-brand.mb{
		display: flex;
		height: fit-content;
		margin-bottom: 10px !important;
		padding: 10px 8px 0 8px !important;
	}
}

#wp-sport-app .center-box{
	width: 100%;
}

.detail-live-brand-title{
	max-width: fit-content;
    margin-right: 10px;
}

.detail-live-brand-logo{
	flex: 1;
	overflow-x: auto;
    max-width: 100%;
    justify-content: start;
    display: flex;
}

.detail-live-brand img, .detail-live-brand .img{
	height: 30px;
	width: max-content !important;
	margin: 0px !important;
}

.detail-live-brand h4{
	background: linear-gradient(270deg, #FF7729 23.29%, #FFAB7A 104.76%);
 	-webkit-background-clip: text;
 	-webkit-text-fill-color: transparent;
 	background-clip: text;
 	color: transparent;
	margin-bottom: 0px;
	font-size: 20px;
}

.top-nha-cai-home h3{
	background: linear-gradient(270deg, #FF7729 23.29%, #FFAB7A 104.76%);
 	-webkit-background-clip: text;
 	-webkit-text-fill-color: transparent;
 	background-clip: text;
 	color: transparent;
	margin-bottom: 3px;
	font-size: 20px;
}

.top-nha-cai-home p{
	margin-bottom: 3px;
	font-size: 13px;
}

.top-nha-cai-box h3{
	background: linear-gradient(270deg, #FF7729 23.29%, #FFAB7A 104.76%);
 	-webkit-background-clip: text;
 	-webkit-text-fill-color: transparent;
 	background-clip: text;
 	color: transparent;
	margin-bottom: 3px;
	font-size: 21px;
}
.top-nha-cai-box p{
	margin-bottom: 3px;
	font-size: 14px;
	
}

.ads-a{
	display: flex;
	overflow: hidden;
}

.ads-728-90{
	width: 728px;
	aspect-ratio: 728/90;
	max-width: 100%;
}

.entry-content{
	padding-top: 0px;
	padding-bottom: 0px;
}

.box-blog-post img, .news-layout-top img, .news-card-dark img{
	object-fit: contain; 
}

h6.entry-category{
	display: none;
}

.entry-title{
	margin-top: 20px;
}

.entry-header-text{
	padding-bottom: 0px;
}

.bookmaker-class{
    position: relative;
    border-radius: 16px;
    padding: 20px;
    overflow: hidden;

    background:
        radial-gradient(
            80.63% 107.61% at 51.04% 80.32%,
            rgba(255, 9, 9, 0.5) 34.62%,
            rgba(0, 0, 0, 0) 100%
        ),
        #660303;
}

.bookmaker-class::before{
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.39px;
    border-radius: inherit;

    background:
        linear-gradient(
            77.5deg,
            #FF0004 -1.41%,
            rgba(153, 55, 56, 0) 46.08%
        ),
        linear-gradient(
            289.12deg,
            #FF0004 0%,
            rgba(153, 55, 56, 0) 40.81%
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}


.back-to-top.active {
    z-index: 10000;
}

.home-post .post-item {
    padding: 6px;
}

h1{
	margin-top: 10px;
}

/* ================= ANIMATION ================= */
@keyframes fl-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-red {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}


