/*
Theme Name: FreeKickGoal - Tin Bóng Đá
Theme URI: http://localhost/flavor-football
Author: Developer
Author URI: http://localhost
Description: Theme tin tức bóng đá phong cách VnExpress với menu giải đấu, lịch thi đấu, bảng xếp hạng
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flavor-football
Tags: news, sports, football, soccer
*/

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f1f1f1;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #c00;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER ===== */
.site-header {
    background: #fff;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.site-logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #b80000;
}

.site-logo h1 span {
    color: #333;
}

.header-search {
    position: relative;
}

.header-search input {
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 250px;
    font-size: 13px;
    outline: none;
}

.header-search input:focus {
    border-color: #b80000;
}

.header-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* Header Actions (icons) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-search-toggle,
.header-bell {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #333;
}

/* Mobile search visible */
.header-search.mobile-visible {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    z-index: 100;
}

.header-search.mobile-visible input {
    width: 100%;
}

/* Site tagline */
.site-tagline {
    display: none;
    font-size: 11px;
    color: #666;
}

/* ===== NAVIGATION (VnExpress style: white bar, text links) ===== */
.main-nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.main-nav .container {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    width: 100%;
    gap: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-menu > li > a:hover {
    color: #b80000;
}

.nav-menu > li.active > a {
    color: #b80000;
    font-weight: 700;
}

.nav-menu > li > a .arrow-down {
    font-size: 8px;
    margin-left: 3px;
    color: #999;
}

/* Dropdown */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 100;
}

.nav-menu > li:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, color 0.2s;
}

.sub-menu li a:hover {
    background: #f8f8f8;
    color: #b80000;
}

.sub-menu li:last-child a {
    border-bottom: none;
}

.mobile-league-picker,
.mobile-other-picker {
    display: none;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Mobile menu overlay (hidden by default) */
.mobile-menu-overlay {
    display: none;
}

/* ===== BREAKING NEWS BAR ===== */
.breaking-news {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.breaking-news .container {
    display: flex;
    align-items: center;
}

.breaking-label {
    background: #b80000;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-right: 15px;
    white-space: nowrap;
}

.breaking-news marquee {
    font-size: 13px;
    color: #333;
}

.breaking-news marquee a {
    margin-right: 30px;
}

/* ===== MAIN CONTENT ===== */
.site-main {
    padding: 20px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.featured-main {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.featured-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.featured-main .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 30px 20px 20px;
}

.featured-main .overlay h2 {
    font-size: 22px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
}

.featured-main .overlay .meta {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-side-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    flex: 1;
}

.featured-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-side-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
}

.featured-side-item .overlay h3 {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}

/* ===== ARTICLE LIST (VnExpress desktop style) ===== */
.section-title {
    font-size: 20px;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #b80000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title a {
    font-size: 13px;
    color: #b80000;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: start;
}

.article-item:first-child {
    padding-top: 0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-thumb {
    border-radius: 4px;
    overflow: hidden;
    height: 130px;
    flex-shrink: 0;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-item:hover .article-thumb img {
    transform: scale(1.03);
}

.article-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.article-title a {
    color: #333;
}

.article-title a:hover {
    color: #b80000;
}

.article-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-source {
    font-weight: 700;
    color: #333;
    font-style: italic;
}

.article-comment-count {
    color: #999;
    font-size: 13px;
    margin-left: 5px;
    white-space: nowrap;
}

.article-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-meta .category-tag {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 3px;
    color: #b80000;
    font-weight: 500;
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 16px;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #b80000;
}

/* Rankings Widget */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.standings-table th {
    background: #f8f8f8;
    padding: 8px 5px;
    text-align: center;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid #eee;
}

.standings-table th:first-child,
.standings-table td:first-child {
    text-align: left;
    padding-left: 10px;
}

.standings-table td {
    padding: 8px 5px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.standings-table tr:hover {
    background: #f9f9f9;
}

.standings-table .team-name {
    display: flex;
    align-items: center;
    gap: 5px;
}

.standings-table .team-logo {
    width: 16px;
    height: 16px;
}

/* Match Schedule Widget */
.match-list {
    display: flex;
    flex-direction: column;
}

.match-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.match-item:last-child {
    border-bottom: none;
}

.match-date {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
}

.match-score {
    background: #333;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
}

.match-score.live {
    background: #b80000;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Popular Posts Widget */
.popular-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.popular-list li:last-child {
    border-bottom: none;
}

.popular-number {
    font-size: 18px;
    font-weight: 700;
    color: #b80000;
    min-width: 25px;
}

.popular-list li a {
    font-size: 13px;
    line-height: 1.4;
}

.popular-list li a:hover {
    color: #b80000;
}

/* Social Follow Widgets */
.social-follow-widget {
    overflow: hidden;
}

.fanpage-frame {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    background: #f8f8f8;
}

.fanpage-fallback-card {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    color: #222;
    text-align: left;
}

.fanpage-fallback-card:hover {
    color: #1877f2;
}

.fanpage-fallback-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.fanpage-fallback-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.78));
    color: #fff;
}

.fanpage-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    font-family: Arial, sans-serif;
}

.fanpage-fallback-card strong,
.fanpage-fallback-card em {
    display: block;
}

.fanpage-fallback-card strong {
    font-size: 16px;
    line-height: 1.3;
}

.fanpage-fallback-card em {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-style: normal;
    line-height: 1.4;
}

.social-follow-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: opacity 0.2s, transform 0.2s;
}

.social-follow-link:hover {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-1px);
}

.fanpage-link {
    background: #1877f2;
}

.youtube-link {
    background: #b80000;
}

.youtube-channel-card {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px 12px;
    padding: 0 0 12px;
    border: none;
    border-radius: 6px;
    background: #fff;
    color: #222;
    overflow: hidden;
}

.youtube-channel-card:hover {
    color: #b80000;
}

.youtube-channel-card img {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    object-fit: cover;
    object-position: center;
}

.youtube-play {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 32px;
    border-radius: 6px;
    background: #ff0000;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-left: 12px;
}

.youtube-channel-info {
    align-self: center;
    padding: 0 12px 0 0;
}

.youtube-channel-card strong,
.youtube-channel-card em {
    display: block;
}

.youtube-channel-card strong {
    font-size: 15px;
    line-height: 1.3;
}

.youtube-channel-card em {
    margin-top: 3px;
    color: #777;
    font-size: 12px;
    font-style: normal;
    line-height: 1.4;
}

/* ===== SCHEDULE PAGE ===== */
.schedule-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.schedule-filters .filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.schedule-filters .filter-btn.active,
.schedule-filters .filter-btn:hover {
    background: #b80000;
    color: #fff;
    border-color: #b80000;
}

.schedule-day {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.schedule-day-header {
    background: #f8f8f8;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.schedule-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
    color: #333;
}

.schedule-match:last-child {
    border-bottom: none;
}

.schedule-match:hover {
    background: #fff7f7;
    color: #333;
}

.schedule-team-home {
    text-align: right;
    font-size: 14px;
}

.schedule-team-away {
    text-align: left;
    font-size: 14px;
}

.schedule-time {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.schedule-league {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.match-detail-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 24px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 6px;
}

.match-detail-team {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.match-detail-score {
    min-width: 110px;
    padding: 10px 16px;
    background: #222;
    color: #fff;
    border-radius: 4px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.match-live {
    color: #fff;
    background: #b80000;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 14px;
}

.match-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.match-detail-meta span,
.standing-detail-grid div {
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 4px;
}

.match-detail-meta span {
    padding: 7px 10px;
}

.standing-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.standing-detail-grid div {
    padding: 14px 10px;
    text-align: center;
}

.standing-detail-grid strong {
    display: block;
    color: #b80000;
    font-size: 22px;
    line-height: 1.2;
}

.standing-detail-grid span {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 12px;
}

/* ===== STANDINGS PAGE ===== */
.standings-tabs {
    margin-top: 30px;
}

.standings-full {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.standings-full table {
    width: 100%;
    border-collapse: collapse;
}

.standings-full th {
    background: #b80000;
    color: #fff;
    padding: 12px 10px;
    font-size: 12px;
    text-align: center;
}

.standings-full th:nth-child(2) {
    text-align: left;
}

.standings-full td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.standings-full td:nth-child(2) {
    text-align: left;
    font-weight: 500;
}

.standings-full tr:hover {
    background: #f9f9f9;
}

.standings-full tr.champions-league {
    border-left: 3px solid #004d99;
}

.standings-full tr.europa-league {
    border-left: 3px solid #f68e1e;
}

.standings-full tr.relegation {
    border-left: 3px solid #cc0000;
}

.standings-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 28px;
    color: #555;
    font-size: 14px;
}

.standings-legend span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

.legend-color.champions {
    background: #004d99;
}

.legend-color.europa {
    background: #f68e1e;
}

.legend-color.relegation {
    background: #cc0000;
}

/* ===== PAGINATION (VnExpress style: number boxes) ===== */
.pagination {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 25px;
    padding-top: 20px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.2s;
}

.pagination .current {
    background: #b80000;
    color: #fff;
    border-color: #b80000;
    font-weight: 600;
}

.pagination a:hover {
    background: #f5f5f5;
    border-color: #b80000;
    color: #b80000;
}

.pagination .prev,
.pagination .next {
    font-size: 16px;
}

/* ===== SINGLE POST DETAIL (VnExpress style) ===== */
.single-post-page {
    padding: 15px 0 40px;
}

.single-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.single-article {
    background: #fff;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.single-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #b80000;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 3px 10px;
    background: #fff5f5;
    border-radius: 3px;
    border: 1px solid #f0d0d0;
}

.single-category:hover {
    background: #b80000;
    color: #fff;
}

.single-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    margin-bottom: 15px;
}

.single-sapo {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid #b80000;
}

.single-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.single-meta-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.single-author img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.single-date {
    font-size: 13px;
    color: #999;
}

.single-meta-right {
    font-size: 13px;
    color: #666;
}

/* Social Share Top */
.single-share-top {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: #555;
    transition: all 0.2s;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
}

.share-btn:hover {
    border-color: #b80000;
    color: #b80000;
}

.share-btn.share-fb:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.share-btn.share-x:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.share-btn.share-ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: #dc2743;
}

.share-btn.share-link:hover {
    border-color: #b80000;
    color: #b80000;
}

.share-btn.share-link.copied {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
}

/* Featured Image */
.single-featured-image {
    margin: 0 0 25px;
    border-radius: 6px;
    overflow: hidden;
}

.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-featured-image figcaption {
    font-size: 13px;
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 10px 15px;
    background: #f9f9f9;
}

/* Article Body */
.single-body {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
}

.single-body p {
    margin-bottom: 20px;
}

.single-body h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #222;
}

.single-body h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: #333;
}

.single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.single-body blockquote {
    border-left: 4px solid #b80000;
    padding: 15px 20px;
    margin: 20px 0;
    background: #fafafa;
    font-style: italic;
    color: #555;
}

.single-body ul, .single-body ol {
    margin: 15px 0 15px 25px;
}

.single-body li {
    margin-bottom: 8px;
    list-style: disc;
}

.single-body a {
    color: #b80000;
    text-decoration: underline;
}

.vnexpress-inline-image {
    margin: 0 0 22px;
}

.vnexpress-inline-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.single-body strong {
    font-weight: 700;
    color: #222;
}

/* Tags */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.tag-item {
    display: inline-block;
    padding: 5px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    transition: all 0.2s;
}

.tag-item:hover {
    background: #b80000;
    color: #fff;
}

/* Social Hashtags */
.single-social-hashtags {
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid #eee;
    border-left: 4px solid #b80000;
    border-radius: 6px;
    background: #fffafa;
}

.hashtag-label {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.hashtag-post-link {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.hashtag-post-link span {
    font-weight: 700;
    color: #333;
}

.hashtag-post-link a {
    color: #b80000;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-decoration: underline;
}

.hashtag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hashtag-item {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 4px;
    background: #f3f3f3;
    color: #b80000;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

/* Share Bottom */
.single-share-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.single-share-bottom .share-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.single-share-bottom .share-btn {
    width: auto;
    height: auto;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-share-bottom .share-fb {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.single-share-bottom .share-fb:hover {
    background: #145db2;
}

.single-share-bottom .share-x {
    background: #000;
    color: #fff;
    border-color: #000;
}

.single-share-bottom .share-x:hover {
    background: #333;
}

.single-share-bottom .share-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: #dc2743;
}

.single-share-bottom .share-ig:hover {
    opacity: 0.9;
}

/* Author Box */
.single-author-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #eee;
}

.author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.author-bio {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Related Articles */
.single-related {
    margin-top: 30px;
    grid-column: 1;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.related-item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.related-thumb {
    display: block;
    height: 150px;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-thumb img {
    transform: scale(1.05);
}

.related-title {
    padding: 12px 15px 5px;
    font-size: 14px;
    line-height: 1.4;
}

.related-title a:hover {
    color: #b80000;
}

.related-date {
    display: block;
    padding: 0 15px 12px;
    font-size: 12px;
    color: #999;
}

/* Single Sidebar */
.single-sidebar {
    position: sticky;
    top: 80px;
    grid-row: 1 / 3;
    grid-column: 2;
}

/* Comments */
.single-comments {
    margin-top: 30px;
    grid-column: 1;
}

.single-comments .comments-area {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Responsive Single */
@media (max-width: 992px) {
    .single-content-wrapper {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
        grid-row: auto;
        grid-column: 1;
    }

    .single-title {
        font-size: 24px;
    }

    .single-body {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .single-article {
        padding: 20px 15px;
    }

    .single-title {
        font-size: 20px;
    }

    .single-sapo {
        font-size: 16px;
    }

    .single-body {
        font-size: 16px;
        line-height: 1.8;
    }

    .single-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .single-share-bottom {
        flex-wrap: wrap;
    }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: #333;
}

.breadcrumb a:hover {
    color: #b80000;
}

.breadcrumb .sep {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #999;
}

/* ===== PAGE TITLE ===== */
.page-main-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

/* ===== NEWS SUB-NAVIGATION (cấu trúc menu) ===== */
.news-subnav {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.subnav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.subnav-item {
    position: relative;
}

.subnav-item > a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.subnav-item > a:hover {
    color: #b80000;
    background: #fafafa;
}

.subnav-item.active > a {
    color: #b80000;
    border-bottom-color: #b80000;
    font-weight: 600;
}

.subnav-item > a .arrow-down {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.2s;
}

/* Dropdown */
.subnav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 0 0 6px 6px;
    border: 1px solid #e0e0e0;
    border-top: none;
    display: none;
    z-index: 50;
}

.subnav-item.has-dropdown:hover .subnav-dropdown {
    display: block;
}

.subnav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.subnav-dropdown li:last-child a {
    border-bottom: none;
}

.subnav-dropdown li a:hover {
    background: #f8f8f8;
    color: #b80000;
    padding-left: 24px;
}

.subnav-dropdown li.active a {
    color: #b80000;
    font-weight: 500;
    background: #fff5f5;
}

/* Total count in section title */
.section-title .total-count {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

/* News content area (full width for listing page) */
.news-content-area {
    max-width: 680px;
    background: #fff;
    padding: 0;
}

/* No posts */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 15px;
    background: #fff;
    border-radius: 6px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #222;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

.footer-widget ul li {
    padding: 5px 0;
}

.footer-widget ul li a {
    color: #aaa;
    font-size: 13px;
}

.footer-widget ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 12px;
    color: #888;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #333;
    color: #aaa;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon.social-fb:hover {
    background: #1877f2;
    color: #fff;
}

.social-icon.social-ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-icon.social-x:hover {
    background: #fff;
    color: #000;
}

/* ===== RESPONSIVE ===== */

/* --- TABLET (max 992px) --- */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-content-wrapper {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
        grid-row: auto;
        grid-column: 1;
    }

    .single-title {
        font-size: 24px;
    }

    .single-body {
        font-size: 16px;
    }
}

/* --- MOBILE (max 768px) --- */
@media (max-width: 768px) {

    /* Header Mobile */
    .site-header {
        border-bottom: 1px solid #eee;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }

    .header-top {
        padding: 8px 0;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #333;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        order: -1;
    }

    .site-logo {
        text-align: center;
        flex: 1;
    }

    .site-logo h1 {
        font-size: 20px;
    }

    .site-tagline {
        display: block;
        font-size: 11px;
        color: #666;
        margin-top: 2px;
    }

    .header-search {
        display: none;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .header-search-toggle,
    .header-bell {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #333;
        padding: 8px;
        cursor: pointer;
    }

    /* Navigation Mobile - Horizontal scroll breadcrumb kiểu VnExpress */
    .main-nav {
        background: #fff;
        border-bottom: 1px solid #eee;
        overflow: hidden;
    }

    .main-nav .container {
        padding: 0;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 0 8px;
        gap: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        position: static;
        background: transparent;
        box-shadow: none;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu > li {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-menu > li > a {
        display: flex;
        align-items: center;
        gap: 4px;
        min-height: 44px;
        padding: 0 12px;
        color: #333;
        font-size: 15px;
        font-weight: 400;
        border-bottom: 2px solid transparent;
        line-height: 1;
    }

    .nav-menu > li.active > a,
    .nav-menu > li > a:hover {
        color: #b80000;
        font-weight: 700;
        background: transparent;
        border-bottom-color: #b80000;
    }

    .nav-menu > li > a .arrow-down {
        font-size: 8px;
        color: #999;
    }

    .nav-menu > li > a .nav-icon {
        font-size: 16px;
    }

    /* Thêm separator "/" giữa menu items */
    .nav-menu > li::before {
        display: none;
    }

    .nav-menu > li:first-child::before {
        display: none;
    }

    /* Ẩn dropdown trên mobile nav */
    .nav-menu .sub-menu {
        display: none !important;
    }

    .mobile-league-picker,
    .mobile-other-picker {
        display: none;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        padding: 9px 12px 10px;
        background: #fff;
        border-top: 1px solid #f1f1f1;
        border-bottom: 1px solid #eee;
        box-shadow: 0 2px 5px rgba(0,0,0,0.04);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mobile-league-picker.active,
    .mobile-other-picker.active {
        display: flex;
    }

    .mobile-league-picker::-webkit-scrollbar,
    .mobile-other-picker::-webkit-scrollbar {
        display: none;
    }

    .mobile-league-picker a,
    .mobile-other-picker a {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid #e5e5e5;
        border-radius: 999px;
        background: #fafafa;
        color: #333;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
    }

    .mobile-league-picker a:hover,
    .mobile-league-picker a:focus,
    .mobile-other-picker a:hover,
    .mobile-other-picker a:focus {
        border-color: #b80000;
        background: #fff5f5;
        color: #b80000;
    }

    /* Mobile Overlay Menu */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-panel {
        position: absolute;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: #fff;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.15);
    }

    .mobile-menu-overlay.active .mobile-menu-panel {
        left: 0;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        font-weight: 700;
        font-size: 16px;
        color: #b80000;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 5px 10px;
    }

    .mobile-menu-list {
        padding: 10px 0;
    }

    .mobile-menu-list > li > a,
    .mobile-menu-list > li > .mobile-parent-link {
        display: block;
        padding: 14px 20px;
        font-size: 15px;
        color: #333;
        border-bottom: 1px solid #f5f5f5;
        cursor: pointer;
    }

    .mobile-menu-list > li > a:hover,
    .mobile-menu-list > li > .mobile-parent-link:hover {
        background: #f9f9f9;
        color: #b80000;
    }

    .mobile-sub-menu {
        display: none;
        background: #f9f9f9;
        border-top: 1px solid #eee;
    }

    .mobile-has-children.open .mobile-sub-menu {
        display: block;
    }

    .mobile-sub-menu li a {
        display: block;
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        color: #555;
        border-bottom: 1px solid #eee;
    }

    .mobile-sub-menu li a:hover {
        color: #b80000;
    }

    /* Featured Section Mobile */
    .featured-section {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 15px;
    }

    .featured-main img {
        min-height: 220px;
        border-radius: 0;
    }

    .featured-main {
        border-radius: 0;
        margin: 0 -15px;
    }

    .featured-main .overlay h2 {
        font-size: 18px;
    }

    .featured-side {
        display: none;
    }

    /* Article List Mobile - full width image + title below */
    .article-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px 0;
    }

    .article-thumb {
        height: 200px;
        border-radius: 0;
        margin: 0 -15px;
        width: calc(100% + 30px);
    }

    .article-title {
        font-size: 20px;
        font-weight: 700;
    }

    .article-excerpt {
        font-size: 15px;
        -webkit-line-clamp: 3;
    }

    /* Page title */
    .page-main-title {
        font-size: 20px;
    }

    /* Sub navigation */
    .news-subnav {
        border-radius: 0;
        margin: 0 -15px 15px;
        border-left: none;
        border-right: none;
    }

    .subnav-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .subnav-menu::-webkit-scrollbar {
        display: none;
    }

    .subnav-item > a {
        padding: 10px 14px;
        font-size: 13px;
    }

    .subnav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #eee;
        border-radius: 0;
    }

    .subnav-item.has-dropdown:hover .subnav-dropdown {
        display: none;
    }

    .subnav-item.has-dropdown.open .subnav-dropdown {
        display: block;
    }

    /* Single Post Mobile */
    .single-article {
        padding: 15px;
        border-radius: 0;
        margin: 0 -15px;
        box-shadow: none;
    }

    .single-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .single-sapo {
        font-size: 16px;
    }

    .single-body {
        font-size: 17px;
        line-height: 1.8;
    }

    .single-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .single-featured-image {
        margin: 0 -15px 20px;
        border-radius: 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .single-share-bottom {
        flex-wrap: wrap;
    }

    /* Pagination mobile */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Footer mobile */
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Schedule mobile */
    .schedule-match {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5px;
    }

    .schedule-team-home,
    .schedule-team-away {
        text-align: center;
    }

    /* Breadcrumb mobile */
    .breadcrumb {
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 0;
        font-size: 12px;
        -webkit-overflow-scrolling: touch;
    }
}

/* --- SMALL MOBILE (max 480px) --- */
@media (max-width: 480px) {
    .site-logo h1 {
        font-size: 18px;
    }

    .single-title {
        font-size: 20px;
    }

    .single-body {
        font-size: 16px;
    }

    .nav-menu > li > a {
        min-height: 42px;
        padding: 0 10px;
        font-size: 14px;
    }

    .article-thumb {
        height: 180px;
    }
}

/* ===== DESKTOP ONLY ===== */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .header-search-toggle,
    .header-bell {
        display: none;
    }

    .site-tagline {
        display: none;
    }

    .mobile-menu-overlay {
        display: none;
    }

    .nav-menu > li > a .nav-icon {
        display: none;
    }

    .nav-menu > li::before {
        display: none;
    }
}
