/**
 * BongDa Theme - Custom Styles Part 1
 * Clone 1:1 tÃƒÂ¡Ã‚Â»Ã‚Â« bongda.com.vn
 */

/* 1. RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--bd-font-family);
    font-size: var(--bd-fs-body);
    color: var(--bd-text-primary);
    background: var(--bd-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--bd-text-primary); text-decoration: none; transition: var(--bd-transition); }
a:hover { color: var(--bd-link-hover); text-decoration: none; }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; color: var(--bd-text-dark); }

/* 2. HEADER & NAVIGATION */
.site-header { z-index: 9999; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
#main-navbar { background: var(--bd-red) !important; padding: 0; min-height: 48px; }
#main-navbar .container { max-width: var(--bd-container-width); }
.navbar-brand { padding: 8px 0; margin-right: 20px; }
.logo-text { font-size: 22px; color: var(--bd-text-white); letter-spacing: 1px; }
.logo-text strong { font-weight: 900; }
.logo-text small { font-size: 14px; opacity: 0.8; }

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: var(--bd-fs-menu);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 16px 12px !important;
    white-space: nowrap;
    position: relative;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}
.navbar-nav .nav-link:hover {
    background: #ffffff !important;
    color: var(--bd-red) !important;
    border-radius: 4px;
}
.navbar-nav .nav-link.active,
.navbar-nav .current-menu-item > a {
    color: #ffd71f !important;
    border-bottom-color: #ffd71f;
}

.navbar-nav .dropdown-menu {
    background: var(--bd-bg-white); border: none;
    border-radius: 0 0 4px 4px; box-shadow: var(--bd-shadow-hover);
    padding: 8px 0; min-width: 200px;
    opacity: 0; visibility: hidden; display: block;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
/* Hover trigger cho Desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        opacity: 1; visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}
.dropdown-item { font-size: 13px; padding: 8px 16px; transition: var(--bd-transition); }
.dropdown-item:hover { background: #ffffff; color: var(--bd-red); }
.dropdown-toggle::after { font-size: 10px; vertical-align: middle; }

/* --- MEGA MENU PREMIUM --- */
.mega-menu-wrapper {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) translateY(20px) !important;
    width: 100vw;
    max-width: 1100px;
    background: #ffffff !important; /* Premium White */
    border-top: 3px solid var(--bd-red) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    padding: 30px !important;
    color: #333;
    border-radius: 0 0 8px 8px !important;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover > .mega-menu-wrapper {
        transform: translateX(-50%) translateY(0) !important;
    }
}

.mega-section-title {
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}
.mega-section-title h6 {
    color: var(--bd-red) !important; /* Brand Red highlight */
    letter-spacing: 0.5px;
    font-size: 14px;
    font-weight: 800;
}

.mega-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mega-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }

.mega-grid-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
}
.mega-grid-item:hover {
    background: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: var(--bd-red);
}
.mega-icon { width: 28px; height: 28px; object-fit: contain; }
.mega-icon-sm { width: 20px; height: 20px; object-fit: contain; }
.mega-item-name { color: #222; font-size: 14px; font-weight: 700; }
.mega-item-name-sm { color: #555; font-size: 13px; font-weight: 600; }

.mega-grid-item:hover .mega-item-name, 
.mega-grid-item:hover .mega-item-name-sm { color: var(--bd-red) !important; }

/* Custom Scrollbar for Mega Menu list */
#megaLeagueList {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}
#megaLeagueList::-webkit-scrollbar { width: 4px; }
#megaLeagueList::-webkit-scrollbar-track { background: #f1f1f1; }
#megaLeagueList::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
#megaLeagueList::-webkit-scrollbar-thumb:hover { background: var(--bd-red); }

/* Mega Search Inside */
.mega-search-wrap .form-control {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}
.mega-search-wrap .form-control:focus {
    background: #fff;
    border-color: var(--bd-red);
    box-shadow: 0 0 0 0.25rem rgba(226, 26, 34, 0.15);
    color: #000;
}


/* 3. SEARCH */
#searchCollapse { background: var(--bd-red-dark); }
#searchCollapse .form-control { border: none; border-radius: 4px 0 0 4px; padding: 10px 16px; }
#searchCollapse .btn-light { border-radius: 0 4px 4px 0; border: none; }
.nav-search .btn-link:hover { opacity: 0.7; }

/* 4. MATCH BANNER */
.match-banner {
    background: #202020;
    color: var(--bd-text-white); padding: 10px 0 10px; position: relative; overflow: hidden;
}
.match-banner::before {
    content: none;
}
.match-banner .match-info { text-align: center; font-size: 11px; color: rgba(255,255,255,0.8); margin-bottom: 25px; line-height: 1.5; padding-top: 15px; }
.match-banner .match-info .league-name { font-weight: 400; color: #fff; }
.match-banner-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; position: relative; z-index: 2;
}
.match-banner .team { text-align: center; flex: 1; max-width: 200px; }
.match-banner .team-logo {
    width: 65px; height: 65px; object-fit: contain; margin-bottom: 5px;
}
.match-banner .team-name { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0px; }
.match-banner .score-area { display: flex; align-items: center; gap: 30px; }
.match-banner .score { font-size: 80px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.match-banner .minute-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: #11a91e; font-size: 11px; font-weight: 700;
    color: white; 
}
.match-banner .match-links { text-align: center; margin-top: 5px; position: relative; z-index: 2; }
.match-banner .match-links a {
    color: #fff; font-size: 11px; font-weight: 400;
    text-transform: uppercase; padding: 0 10px;
    border-right: 1px solid rgba(255,255,255,0.4); transition: color 0.2s;
}
.match-banner .match-links a:last-child { border-right: none; }
.match-banner .match-links a:hover { color: var(--bd-red); }
.match-banner .banner-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; color: #aaa;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    cursor: pointer; transition: color 0.2s; z-index: 5;
}
.match-banner .banner-nav:hover { color: #fff; }
.match-banner .banner-nav.prev { left: 40px; }
.match-banner .banner-nav.next { right: 40px; }

/* 5. MATCH TICKER */
.match-ticker {
    background: #262626; border-bottom: none; padding: 0; height: 75px; display: flex; align-items: center;
}
.match-ticker .container { padding: 0; max-width: 100%; height: 100%; gap: 0 !important; }
.match-ticker .ticker-filter {
    padding: 0 10px 0 20px; border-right: none; background: #262626; z-index: 2; display: flex; align-items: center; height: 100%;
}
.match-ticker .ticker-filter select {
    font-size: 13px; border: none; border-radius: 0; padding: 4px; width: 140px; outline: none; background: #333; color: white; cursor: pointer;
}
.match-ticker button.ticker-nav {
    background: #333; border: none; width: 22px; height: 65px; display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; color: #fff; border-radius: 0; padding: 0; transition: background 0.2s;
}
.match-ticker button.ticker-nav:hover { background: #444; }
.match-ticker button.ticker-nav.next { margin-right: 20px; }

.match-ticker .ticker-scroll {
    display: flex; gap: 0; overflow-x: auto; scroll-behavior: smooth;
    scrollbar-width: none; padding: 0; height: 100%; align-items: center;
}
.match-ticker .ticker-scroll::-webkit-scrollbar { display: none; }
.match-ticker .ticker-card {
    flex: 0 0 auto; min-width: 190px; padding: 0 15px; 
    border-right: 1px solid rgba(255,255,255,0.1); border-radius: 0;
    text-align: left; cursor: pointer; transition: background 0.2s;
    display: flex; flex-direction: column; justify-content: center; height: 100%; text-decoration: none;
}
.match-ticker .ticker-card:hover { background: #333; }
.match-ticker .ticker-card.is-live { border-bottom: 2px solid var(--bd-badge-live); background: rgba(40,167,69,0.05); }
.match-ticker .ticker-card .match-date { font-size: 10px; color: #999; margin-bottom: 6px; }
.match-ticker .ticker-card .team-row {
    color: #fff; font-size: 11px; font-weight: 400; margin: 3px 0; display: flex; align-items: center; justify-content: space-between;
}
.match-ticker .ticker-card .team-row img { width: 16px; height: 16px; object-fit: contain; margin-right: 6px; }
.match-ticker .ticker-card .team-row .score-val { font-weight: 700; width: 20px; text-align: right; }
/* BongDa Theme - Custom Styles Part 2 */

/* 6. BREAKING NEWS */
.breaking-news { background: #fff; box-shadow: 0 0 5px rgba(0,0,0,0.06); padding: 0; overflow: hidden; height: 44px; display: flex; align-items: center; }
.breaking-news .label { font-weight: 700; color: var(--bd-red); font-size: 14px; white-space: nowrap; padding: 0 10px; position: relative; z-index: 3; background: #fff; }
.breaking-news .marquee-wrapper { overflow: hidden; flex: 1; height: 100%; display: flex; align-items: center; }
.breaking-news .marquee-content { display: flex; gap: 0; animation: marqueeScroll 40s linear infinite; white-space: nowrap; align-items: center; }
.breaking-news .marquee-content:hover { animation-play-state: paused; }
.breaking-news .marquee-item { font-size: 13px; white-space: nowrap; flex-shrink: 0; color: var(--bd-red); padding: 0 15px; border-right: 1px solid #f0f0f0; }
.breaking-news .marquee-item:hover { text-decoration: underline; }
.breaking-news .marquee-item:last-child { border-right: none; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 7. SECTION CATEGORY */
.section-category { margin-bottom: 30px; }
.section-header {
    background: var(--bd-red); padding: 10px 16px; margin-bottom: 15px;
    display: flex; align-items: center; justify-content: space-between; border-radius: 2px;
}
.section-header h2 { color: var(--bd-text-white); font-size: var(--bd-fs-section-header); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0; }
.section-header .view-all { color: var(--bd-text-white); font-size: 12px; opacity: 0.8; }
.section-header .view-all:hover { opacity: 1; }
.section-content { background: var(--bd-bg-white); padding: 15px; border-radius: 0 0 4px 4px; }

/* 8. CARDS */
.card-bai-viet-lon { position: relative; overflow: hidden; border-radius: 4px; height: 100%; }
.card-bai-viet-lon .post-thumbnail-link { display: block; overflow: hidden; border-radius: 4px; }
.card-bai-viet-lon .post-thumbnail-link img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.4s ease; }
.card-bai-viet-lon:hover .post-thumbnail-link img { transform: scale(1.05); }
.card-bai-viet-lon .card-title { font-size: 18px; font-weight: 700; margin-top: 10px; line-height: 1.4; }
.card-bai-viet-lon .card-title a:hover { color: var(--bd-red); }
.card-bai-viet-lon .card-excerpt { font-size: 13px; color: var(--bd-text-secondary); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.card-bai-viet-nho { margin-bottom: 12px; }
.card-bai-viet-nho .post-thumbnail-link { display: block; overflow: hidden; border-radius: 4px; }
.card-bai-viet-nho .post-thumbnail-link img { width: 100%; height: 140px; object-fit: cover; transition: transform 0.4s ease; }
.card-bai-viet-nho:hover .post-thumbnail-link img { transform: scale(1.05); }
.card-bai-viet-nho .card-title { font-size: 14px; font-weight: 600; margin-top: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-bai-viet-nho .card-title a:hover { color: var(--bd-red); }

.card-bai-viet-thumb .post-thumbnail-link { display: block; overflow: hidden; border-radius: 4px; }
.card-bai-viet-thumb .post-thumbnail-link img { width: 100%; height: 100px; object-fit: cover; transition: transform 0.4s ease; }
.card-bai-viet-thumb:hover .post-thumbnail-link img { transform: scale(1.05); }
.card-bai-viet-thumb .card-title { font-size: 12px; font-weight: 600; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-bai-viet-thumb .card-title a:hover { color: var(--bd-red); }

.card-bai-viet-list { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bd-border-light); }
.card-bai-viet-list:last-child { border-bottom: none; }
.card-bai-viet-list .post-thumbnail-link img { width: 80px; height: 60px; object-fit: cover; border-radius: 3px; }
.card-bai-viet-list .card-body { flex: 1; padding: 0; }
.card-bai-viet-list .card-title { font-size: 13px; font-weight: 600; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-bai-viet-list .card-title a:hover { color: var(--bd-red); }
.card-bai-viet-list .card-excerpt { font-size: 12px; color: var(--bd-text-secondary); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-bai-viet-list .card-meta { font-size: var(--bd-fs-meta); color: var(--bd-text-secondary); margin-top: 4px; }

/* 9. THREE-COLUMN LAYOUT */
.home-three-col { padding: 20px 0; }
.tin-nong-widget { background: var(--bd-bg-white); padding: 15px; border-radius: 4px; border-left: 3px solid var(--bd-red); }
.tin-nong-widget .widget-title { color: var(--bd-red); font-size: 18px; font-weight: 700; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 1px solid var(--bd-border-light); }
.tin-nong-list { list-style: none; padding: 0; margin: 0; }
.tin-nong-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--bd-border-light); align-items: flex-start; }
.tin-nong-list li:last-child { border-bottom: none; }
.tin-nong-list .news-number { font-size: 20px; font-weight: 700; color: var(--bd-red); line-height: 1; min-width: 24px; }
.tin-nong-list .news-title { font-size: 13px; font-weight: 500; line-height: 1.4; }
.tin-nong-list .news-title a:hover { color: var(--bd-red); }

.lich-dau-bxh-widget { background: var(--bd-bg-white); border-radius: 4px; overflow: hidden; }
.lich-dau-bxh-widget .nav-tabs { border: none; display: flex; }
.lich-dau-bxh-widget .nav-tabs .nav-link { flex: 1; text-align: center; border: none; border-radius: 0; padding: 10px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--bd-text-primary); background: #E8E8E8; }
.lich-dau-bxh-widget .nav-tabs .nav-link.active { background: var(--bd-red); color: var(--bd-text-white); }
.lich-dau-bxh-widget .tab-content { padding: 15px; }

.match-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--bd-border-light); font-size: 13px; }
.match-row:last-child { border-bottom: none; }
.match-row .team-home { flex: 1; text-align: right; display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-weight: 600; }
.match-row .team-away { flex: 1; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.match-row .match-score-center { min-width: 60px; text-align: center; font-weight: 700; color: var(--bd-red); padding: 0 8px; }
.match-row .team-logo-sm { width: 20px; height: 20px; object-fit: contain; }
.match-row .match-date-label { font-size: 11px; color: var(--bd-red); text-align: center; padding: 6px 0; font-weight: 600; }

.bxh-table { width: 100%; font-size: 12px; }
.bxh-table thead th { background: #F5F5F5; padding: 8px 6px; font-weight: 600; text-align: center; border-bottom: 2px solid var(--bd-border); }
.bxh-table thead th:nth-child(2) { text-align: left; }
.bxh-table tbody td { padding: 6px; text-align: center; border-bottom: 1px solid var(--bd-border-light); }
.bxh-table tbody td:nth-child(2) { text-align: left; font-weight: 600; }
.bxh-table tbody tr:hover { background: rgba(226,26,34,0.03); }
.bxh-table .team-logo-xs { width: 16px; height: 16px; object-fit: contain; margin-right: 4px; vertical-align: middle; }

.du-doan-widget { background: var(--bd-predict-bg); border-radius: 8px; padding: 20px; text-align: center; }
.du-doan-widget .widget-title { font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.du-doan-widget .predict-teams { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 15px; }
.du-doan-widget .predict-team img { width: 50px; height: 50px; object-fit: contain; margin-bottom: 6px; }
.du-doan-widget .predict-team .team-name { font-size: 11px; font-weight: 600; }
.du-doan-widget .predict-draw { background: var(--bd-badge-upcoming); color: white; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; }
/* BongDa Theme - Custom Styles Part 3 */

/* 10. SINGLE POST */
.single-post-content { background: var(--bd-bg-white); padding: 25px; border-radius: 4px; }
.single-post-content .entry-title { font-size: var(--bd-fs-h1); font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.single-post-content .entry-meta { font-size: var(--bd-fs-meta); color: var(--bd-text-secondary); margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--bd-border-light); }
.single-post-content .entry-meta .source-badge { background: var(--bd-red); color: white; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; margin-right: 6px; }
.single-post-content .sapo { font-weight: 700; font-size: 15px; line-height: 1.6; margin-bottom: 20px; padding: 15px; background: #F9F9F9; border-left: 3px solid var(--bd-red); border-radius: 0 4px 4px 0; }
.single-post-content .entry-content { font-size: 15px; line-height: 1.8; }
.single-post-content .entry-content p { margin-bottom: 16px; }
.single-post-content .entry-content img { border-radius: 4px; margin: 15px 0; }
.single-post-content .entry-content h2 { font-size: var(--bd-fs-h2); margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--bd-red); }
.post-tags { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--bd-border-light); }
.post-tags .tag-label { font-weight: 600; font-size: 13px; margin-right: 8px; }
.post-tags a { display: inline-block; background: var(--bd-bg-body); padding: 4px 10px; border-radius: 20px; font-size: 12px; margin: 3px 2px; transition: var(--bd-transition); }
.post-tags a:hover { background: var(--bd-red); color: white; }
.related-posts { margin-top: 30px; }
.related-posts .section-title { font-size: 16px; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid var(--bd-red); margin-bottom: 15px; }

/* 11. CATEGORY PAGE */
.category-header { background: var(--bd-red); padding: 12px 20px; border-radius: 4px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.category-header h1 { color: var(--bd-text-white); font-size: 18px; font-weight: 700; text-transform: uppercase; margin: 0; }
.category-header .search-cat input { border: none; border-radius: 4px; padding: 6px 12px; font-size: 12px; width: 200px; }
.category-post-item { background: var(--bd-bg-white); border-radius: 4px; overflow: hidden; margin-bottom: 16px; transition: var(--bd-transition); }
.category-post-item:hover { box-shadow: var(--bd-shadow-hover); }
.category-post-item .post-thumb { width: 100%; height: 180px; object-fit: cover; }
.category-post-item .post-info { padding: 12px 16px; }
.category-post-item .post-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.category-post-item .post-info h3 a:hover { color: var(--bd-red); }
.category-post-item .post-excerpt { font-size: 13px; color: var(--bd-text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.category-post-item .post-meta-time { font-size: var(--bd-fs-meta); color: var(--bd-text-secondary); margin-top: 8px; }

/* 12. LÃƒÂ¡Ã‚Â»Ã…Â CH THI Ãƒâ€žÃ‚ÂÃƒÂ¡Ã‚ÂºÃ‚Â¤U */
.lich-dau-page { padding: 20px 0; }
.date-filter-bar { display: flex; gap: 4px; margin-bottom: 20px; overflow-x: auto; padding: 4px 0; }
.date-filter-bar .date-item { flex: 0 0 auto; padding: 8px 16px; text-align: center; border: 1px solid var(--bd-border); border-radius: 4px; cursor: pointer; transition: var(--bd-transition); min-width: 70px; background: var(--bd-bg-white); }
.date-filter-bar .date-item:hover, .date-filter-bar .date-item.active { background: var(--bd-red); color: white; border-color: var(--bd-red); }
.date-filter-bar .date-item .day-name { font-size: 11px; font-weight: 600; }
.date-filter-bar .date-item .day-number { font-size: 13px; font-weight: 700; }
.status-tabs { display: flex; gap: 2px; margin-bottom: 20px; background: #E8E8E8; border-radius: 4px; overflow: hidden; }
.status-tabs .tab-item { flex: 1; padding: 10px 16px; text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; cursor: pointer; background: transparent; border: none; transition: var(--bd-transition); }
.status-tabs .tab-item:hover, .status-tabs .tab-item.active { background: var(--bd-red); color: white; }
.league-group { margin-bottom: 20px; }
.league-group-header { background: #3D3D3D; color: white; padding: 10px 16px; display: flex; align-items: center; gap: 10px; border-radius: 4px 4px 0 0; }
.league-group-header img { width: 24px; height: 24px; object-fit: contain; }
.league-group-header .league-name { font-size: 14px; font-weight: 700; }
.league-group-body { background: var(--bd-bg-white); border-radius: 0 0 4px 4px; }
.lich-dau-match-row { display: grid; grid-template-columns: 120px 1fr 200px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--bd-border-light); font-size: 13px; }
.lich-dau-match-row:hover { background: rgba(0,0,0,0.02); }
.lich-dau-match-row:last-child { border-bottom: none; }
.lich-dau-match-row .round-time { font-size: 11px; color: var(--bd-text-secondary); }
.lich-dau-match-row .match-teams { display: flex; align-items: center; justify-content: center; gap: 8px; }
.lich-dau-match-row .team-name-row { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.lich-dau-match-row .team-name-row.home { justify-content: flex-end; flex: 1; text-align: right; }
.lich-dau-match-row .team-name-row.away { flex: 1; }
.lich-dau-match-row .match-vs { font-weight: 700; color: var(--bd-red); min-width: 40px; text-align: center; }
.btn-match-status { padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 600; border: none; color: white; }
.btn-match-status.live { background: #007BFF; }
.btn-match-status.upcoming { background: var(--bd-badge-upcoming); }
.btn-match-status.finished { background: var(--bd-badge-finished); }

/* 13. Ãƒâ€žÃ‚ÂÃƒÂ¡Ã‚Â»Ã‹Å“I BÃƒÆ’Ã¢â‚¬Å“NG */
.team-page-header { background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); color: white; padding: 30px 0; text-align: center; }
.team-page-header .team-logo-lg { width: 100px; height: 100px; object-fit: contain; margin-bottom: 12px; }
.team-page-header .team-name-lg { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; }
.team-page-header .team-sub-nav { margin-top: 15px; display: flex; justify-content: center; gap: 4px; }
.team-page-header .team-sub-nav a { color: rgba(255,255,255,0.7); padding: 8px 16px; font-size: 13px; font-weight: 600; border-radius: 4px; }
.team-page-header .team-sub-nav a:hover, .team-page-header .team-sub-nav a.active { background: var(--bd-red); color: white; }
.phong-do-widget { background: var(--bd-bg-white); padding: 15px; border-radius: 4px; }
.phong-do-badges { display: flex; gap: 6px; margin-bottom: 12px; }
.phong-do-badges .form-badge { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: white; }
.phong-do-badges .form-badge.win { background: var(--bd-badge-live); }
.phong-do-badges .form-badge.draw { background: var(--bd-badge-upcoming); }
.phong-do-badges .form-badge.loss { background: var(--bd-badge-canceled); }
.pitch-diagram { border-radius: 8px; padding: 20px; position: relative; min-height: 350px; }

/* 14. SIDEBAR & WIDGETS */
.widget-area .widget { background: var(--bd-bg-white); border-radius: 4px; margin-bottom: 20px; overflow: hidden; }
.widget-area .widget-title { background: var(--bd-red); color: var(--bd-text-white); padding: 10px 16px; font-size: 14px; font-weight: 700; text-transform: uppercase; margin: 0; }
.widget-post-list { list-style: none; padding: 12px; margin: 0; }
.widget-post-item { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--bd-border-light); }
.widget-post-item:last-child { border-bottom: none; }
.widget-post-item .post-number { font-size: 16px; font-weight: 700; color: var(--bd-red); min-width: 24px; }
.widget-post-item a { font-size: 13px; font-weight: 500; }
.widget-post-item a:hover { color: var(--bd-red); }

/* 15. FOOTER */
.site-footer { margin-top: 40px; }

/* Footer Categories - Danh mÃƒÂ¡Ã‚Â»Ã‚Â¥c bÃƒÆ’Ã‚Â i viÃƒÂ¡Ã‚ÂºÃ‚Â¿t (clone bongda.com.vn) */
.footer-categories { background: #fff; padding: 30px 0 20px; border-top: 1px solid #ddd; }
.categories-wrapper { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cat-pill {
    display: inline-block; padding: 4px 14px; border: 1px solid #333;
    border-radius: 20px; font-size: 12px; font-weight: 600;
    color: #333; background: transparent; text-transform: uppercase;
    letter-spacing: 0.3px; transition: all 0.2s ease; white-space: nowrap;
    line-height: 1.5;
}
.cat-pill:hover { color: var(--bd-red); border-color: var(--bd-red); background: transparent; }

/* Footer Tag Cloud */
.footer-tagcloud { background: #E8E8E8; padding: 25px 0; display: none; }
.tagcloud-wrapper { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { display: inline-block; background: var(--bd-bg-white); padding: 5px 12px; border-radius: 20px; font-size: 12px; transition: var(--bd-transition); border: 1px solid transparent; }
.tag-pill:hover { border-color: var(--bd-red); color: var(--bd-red); }
.footer-main { background: #1A1A1A; color: #CCC; padding: 40px 0; }
.footer-logo .logo-text { font-size: 24px; }
.footer-desc { font-size: 13px; color: #AAA; line-height: 1.6; }
.footer-heading { color: var(--bd-text-white); font-size: 16px; font-weight: 700; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--bd-red); }
.footer-info-list { list-style: none; padding: 0; margin: 0; }
.footer-info-list li { padding: 6px 0; font-size: 13px; color: #AAA; }
.footer-info-list li i { color: var(--bd-red); margin-right: 8px; width: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #CCC; font-size: 16px; transition: var(--bd-transition); }
.social-icon:hover { background: var(--bd-red); color: white; transform: translateY(-2px); }
.footer-bottom { background: #111; padding: 15px 0; font-size: 12px; color: #888; }

/* 16. PAGINATION */
.pagination-wrapper .nav-links { display: flex; gap: 4px; justify-content: center; }
.pagination-wrapper .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--bd-border); border-radius: 4px; font-size: 13px; font-weight: 600; background: var(--bd-bg-white); transition: var(--bd-transition); }
.pagination-wrapper .page-numbers:hover, .pagination-wrapper .page-numbers.current { background: var(--bd-red); color: white; border-color: var(--bd-red); }

/* 17. BREADCRUMB */
.bongda-breadcrumb { padding: 12px 0; margin-bottom: 15px; }
.bongda-breadcrumb .breadcrumb { background: transparent; padding: 0; font-size: 12px; }
.bongda-breadcrumb .breadcrumb-item a { color: var(--bd-link); }
.bongda-breadcrumb .breadcrumb-item a:hover { color: var(--bd-red); }
.bongda-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "\203A"; color: var(--bd-text-secondary); font-size: 16px; line-height: 1; }

/* 18. ANIMATIONS */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--bd-shadow-hover); }

/* 19. BACK TO TOP */
.btn-back-to-top { position: fixed; bottom: 30px; right: 30px; width: 40px; height: 40px; border-radius: 50%; background: var(--bd-red); color: white; border: none; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; box-shadow: var(--bd-shadow-hover); font-size: 18px; }
.btn-back-to-top:hover { background: var(--bd-red-dark); transform: translateY(-3px); }
.btn-back-to-top.show { display: flex; animation: fadeIn 0.3s ease; }

/* 20. RESPONSIVE */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link { padding: 10px 16px !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .navbar-nav .nav-link::after { display: none; }
    .match-banner .score { font-size: 40px; }
    .match-banner .team-logo { width: 60px; height: 60px; }
    .match-banner .team-name { font-size: 14px; }
    .lich-dau-match-row { grid-template-columns: 80px 1fr 120px; font-size: 12px; }
    .category-header { flex-direction: column; gap: 10px; }
    .category-header .search-cat input { width: 100%; }
}
@media (max-width: 767.98px) {
    :root { --bd-fs-h1: 22px; --bd-fs-h2: 18px; }
    .match-banner { padding: 20px 0 15px; }
    .match-banner .score { font-size: 32px; }
    .match-banner .team-logo { width: 48px; height: 48px; }
    .match-banner .team-name { font-size: 12px; }
    .section-header h2 { font-size: 14px; }
    .card-bai-viet-lon .post-thumbnail-link img { height: 200px; }
    .card-bai-viet-nho .post-thumbnail-link img { height: 110px; }
    .single-post-content { padding: 16px; }
    .single-post-content .entry-title { font-size: 20px; }
    .lich-dau-match-row { grid-template-columns: 1fr; gap: 8px; text-align: center; }
    .team-page-header .team-name-lg { font-size: 20px; }
    .footer-main { padding: 30px 0; }
    .btn-back-to-top { bottom: 20px; right: 20px; width: 36px; height: 36px; }
}
@media (max-width: 575.98px) {
    .match-banner-inner { gap: 15px; }
    .match-banner .score { font-size: 28px; }
    .ticker-card { min-width: 160px !important; }
}

/* 21. SIDEBAR MATCH + POST EXTRAS */
.match-mini-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--bd-border-light); font-size: 13px; }
.match-mini-row:last-child { border-bottom: none; }
.match-mini-row .team-abbr { font-weight: 600; flex: 1; }
.match-mini-row .team-abbr:last-child { text-align: right; }
.match-mini-row .score-mini { font-weight: 700; color: var(--bd-red); min-width: 40px; text-align: center; padding: 2px 8px; background: #F5F5F5; border-radius: 3px; }
.post-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); }
.post-overlay .cat-label { background: var(--bd-red); color: white; padding: 2px 8px; font-size: 11px; font-weight: 600; border-radius: 2px; }
.team-logo-sm { width: 20px; height: 20px; object-fit: contain; }
.card-title-sm { font-size: 12px; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.card-title-sm a:hover { color: var(--bd-red); }
.ad-placeholder { background: #F0F0F0; height: 250px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #999; border-radius: 4px; }
.widget-content { padding: 10px 12px; }

/* 22. KÃƒÂ¡Ã‚ÂºÃ‚Â¾T QUÃƒÂ¡Ã‚ÂºÃ‚Â¢ PAGE */
.lich-dau-page .lich-dau-match-row:hover { cursor: pointer; background: rgba(226,26,34,0.03); }
.lich-dau-page a.lich-dau-match-row:hover .team-name-row { color: var(--bd-red); }

/* 23. CARD POST THUMBNAIL LINK */
.post-thumbnail-link { display: block; overflow: hidden; border-radius: 4px; position: relative; }
.post-thumbnail-link img { width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-thumbnail-link:hover img { transform: scale(1.05); }
.post-meta-time { font-size: 11px; color: var(--bd-text-secondary); margin-top: 4px; }
.post-meta-time i { margin-right: 3px; }

/* --- Sidebar Widgets General --- */
.bd-sidebar-widget {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}
.bd-widget-header {
    padding: 12px 15px;
    display: flex;
    align-items: center;
}
.bd-widget-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}
.header-orange { background: #f39c12; }
.header-red { background: #E20007; }
.header-blue { background: #3498db; }
.header-dark { background: #333333; }

.border-bottom-orange { border-bottom: 2px solid #e67e22; }
.border-bottom-red { border-bottom: 2px solid #c0392b; }
.border-bottom-blue { border-bottom: 2px solid #2980b9; }
.border-bottom-dark { border-bottom: 2px solid #111111; }

.bd-widget-content {
    background: #fff;
}

/* --- Match Row Sidebar --- */
.bd-match-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background 0.2s;
    color: #333;
}
.bd-match-row:hover { background: #fdfdfd; }
.bd-match-row:last-child { border-bottom: none; }

.bd-team-home {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    text-align: right;
}
.bd-team-away {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
}
.bd-team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}
.bd-team-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 85px;
    color: #222;
}

.bd-match-center {
    text-align: center;
    min-width: 54px;
}
.bd-time-pill {
    display: inline-block;
    background: #2c3e50;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.2;
}
.bd-score-pill {
    display: inline-block;
    background: #E20007;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    line-height: 1.2;
}

/* --- Xem Them Button --- */
.bd-btn-xem-them {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    background: #f8f9fa;
    border-top: 1px solid #efefef;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
}
.bd-btn-xem-them:hover {
    background: #f0f0f0;
    color: #E20007;
}

/* --- Tin Nóng List --- */
.bd-tinnong-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tinnong-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}
.tinnong-item:last-child { border-bottom: none; }
.tinnong-num {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 900;
    color: #ccc;
    line-height: 1;
    min-width: 20px;
    text-align: center;
}
.tinnong-num.top-3 { color: #E20007; }

/* 21. SIDEBAR MATCH + POST EXTRAS */
.match-mini-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--bd-border-light); font-size: 13px; }
.match-mini-row:last-child { border-bottom: none; }
.match-mini-row .team-abbr { font-weight: 600; flex: 1; }
.match-mini-row .team-abbr:last-child { text-align: right; }
.match-mini-row .score-mini { font-weight: 700; color: var(--bd-red); min-width: 40px; text-align: center; padding: 2px 8px; background: #F5F5F5; border-radius: 3px; }
.post-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); }
.post-overlay .cat-label { background: var(--bd-red); color: white; padding: 2px 8px; font-size: 11px; font-weight: 600; border-radius: 2px; }
.team-logo-sm { width: 20px; height: 20px; object-fit: contain; }
.card-title-sm { font-size: 12px; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.card-title-sm a:hover { color: var(--bd-red); }
.ad-placeholder { background: #F0F0F0; height: 250px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #999; border-radius: 4px; }
.widget-content { padding: 10px 12px; }

/* 22. KÃƒÂ¡Ã‚ÂºÃ‚Â¾T QUÃƒÂ¡Ã‚ÂºÃ‚Â¢ PAGE */
.lich-dau-page .lich-dau-match-row:hover { cursor: pointer; background: rgba(226,26,34,0.03); }
.lich-dau-page a.lich-dau-match-row:hover .team-name-row { color: var(--bd-red); }

/* 23. CARD POST THUMBNAIL LINK */
.post-thumbnail-link { display: block; overflow: hidden; border-radius: 4px; position: relative; }
.post-thumbnail-link img { width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-thumbnail-link:hover img { transform: scale(1.05); }
.post-meta-time { font-size: 11px; color: var(--bd-text-secondary); margin-top: 4px; }
.post-meta-time i { margin-right: 3px; }

/* --- Sidebar Widgets General --- */
.bd-sidebar-widget {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}
.bd-widget-header {
    padding: 12px 15px;
    display: flex;
    align-items: center;
}
.bd-widget-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}
.header-orange { background: #f39c12; }
.header-red { background: #E20007; }
.header-blue { background: #3498db; }
.header-dark { background: #333333; }

.border-bottom-orange { border-bottom: 2px solid #e67e22; }
.border-bottom-red { border-bottom: 2px solid #c0392b; }
.border-bottom-blue { border-bottom: 2px solid #2980b9; }
.border-bottom-dark { border-bottom: 2px solid #111111; }

.bd-widget-content {
    background: #fff;
}

/* --- Match Row Sidebar --- */
.bd-match-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background 0.2s;
    color: #333;
}
.bd-match-row:hover { background: #fdfdfd; }
.bd-match-row:last-child { border-bottom: none; }

.bd-team-home {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    text-align: right;
}
.bd-team-away {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
}
.bd-team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}
.bd-team-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 85px;
    color: #222;
}

.bd-match-center {
    text-align: center;
    min-width: 54px;
}
.bd-time-pill {
    display: inline-block;
    background: #2c3e50;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.2;
}
.bd-score-pill {
    display: inline-block;
    background: #E20007;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    line-height: 1.2;
}

/* --- Xem Them Button --- */
.bd-btn-xem-them {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    background: #f8f9fa;
    border-top: 1px solid #efefef;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
}
.bd-btn-xem-them:hover {
    background: #f0f0f0;
    color: #E20007;
}

/* --- Tin Nóng List --- */
.bd-tinnong-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tinnong-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}
.tinnong-item:last-child { border-bottom: none; }
.tinnong-num {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 900;
    color: #ccc;
    line-height: 1;
    min-width: 20px;
    text-align: center;
}
.tinnong-num.top-3 { color: #E20007; }
.tinnong-link {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tinnong-link:hover { color: #E20007; }
.bd-forum-item:last-child {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
