
/* --- Reset & Base Styles --- */
:root {
    --primary-color: #000;
    --accent-color: #e74c3c;
    --bg-color: #f4f5f7;
    --text-color: #333;
    --meta-color: #888;
    --white: #ffffff;
    --container-width: 1200px;
    --header-height: 70px;
    --menu-height: 50px;
    --stat-home: #f1c40f;
    --stat-away: #0057b8;
    --win-color: #2ecc71;
    --draw-color: #95a5a6;
    --loss-color: #e74c3c;
    --stand-pill-bg: #f3f5f7;
}
html { scroll-behavior: smooth; }

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; }

/* --- Header Top (Logo + Search + Burger) --- */
.header-top {
    background-color: var(--white);
    height: var(--header-height);
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000; /* Header nền tảng */
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5px;
    width: 100%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: -1px;
}

/* --- Search Bar (Desktop) --- */
.search-wrapper {
    position: relative;
    width: 250px;
}

.search-wrapper input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #e1e4e8;
    border-radius: 50px;
    background-color: #f9f9f9;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #333;
}

.search-wrapper input:focus {
    background-color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.search-icon {
    position: absolute;
    left: 15px; top: 50%; transform: translateY(-50%);
    color: #999; width: 16px; height: 16px; pointer-events: none;
}

/* --- Mobile Toggle Button --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    cursor: pointer;
}
.mobile-toggle span {
    display: block; height: 2px; width: 100%; background-color: #333; border-radius: 2px;
}

/* --- MENU NAVIGATION (Đã tách khỏi Header) --- */
.nav-bar {
    background: var(--white);
    border-bottom: 1px solid #eee;
    z-index: 990;
}
@media (min-width: 992px) {
    .nav-bar {
height: var(--menu-height);
position: sticky;
top: var(--header-height); /* Dính ngay dưới Header Top */
    }
}

.nav-list {
    display: flex;
    height: 100%;
    align-items: center;
}

.nav-list > li { height: 100%; position: relative; margin-top: 1em }

.nav-list > li > a {
    display: flex; align-items: center; height: 100%; padding: 0 20px;
    font-size: 14px; font-weight: 600; color: #444; text-transform: uppercase;
    transition: color 0.2s, background 0.2s; white-space: nowrap;
    justify-content: space-between; 
}

.nav-list > li:hover > a { color: var(--accent-color); background-color: #f9f9f9; }
.has-child > a::after { content: '⮟'; font-size: 10px; margin-left: 6px; position: relative; top: -1px; }

/* Dropdown Desktop */
.dropdown {
    position: absolute; top: 100%; left: 0; background-color: var(--white);
    min-width: 220px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 2px solid var(--accent-color);
    visibility: hidden; opacity: 0; transform: translateY(10px);
    transition: all 0.2s ease; z-index: 1100;
}
.dropdown li { position: relative; border-bottom: 1px solid #f5f5f5; }
.dropdown a { display: block; padding: 12px 20px; font-size: 13px; color: #555; transition: 0.2s; }
.dropdown li:hover > a { background-color: #f9f9f9; color: var(--accent-color); padding-left: 25px; }

.sub-menu {
    position: absolute; top: 0; left: 100%; background-color: var(--white);
    min-width: 220px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 2px solid #eee; visibility: hidden; opacity: 0; transition: all 0.2s ease;
}
.dropdown .has-sub > a::after { content: '›'; float: right; font-size: 16px; line-height: 14px; font-weight: bold; }

@media (min-width: 992px) {
    .nav-list > li:hover .dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
    .dropdown li:hover > .sub-menu { visibility: visible; opacity: 1; }
}

.mobile-menu-header { display: none; }
.mobile-search-container { display: none; }

/* --- RESPONSIVE MOBILE MENU (FIXED Z-INDEX ISSUE) --- */
@media (max-width: 991px) {
    .header-inner .search-wrapper { display: none; }
    .mobile-toggle { display: flex; }
    .nav-bar {
position: fixed;
top: 0; right: 0; bottom: 0;
width: 300px;
height: 100vh !important;
z-index: 2000;
flex-direction: column;
box-shadow: -5px 0 20px rgba(0,0,0,0.1);
transform: translateX(100%);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
overflow-y: auto;
border: none;
padding-top: 0;
    }

    .nav-bar.active { transform: translateX(0); }

    .mobile-menu-header {
display: flex; justify-content: space-between; align-items: center;
padding: 20px; border-bottom: 1px solid #eee; background: #fff;
    }
    .mobile-menu-title { font-weight: 800; font-size: 20px; color: #000; }
    .mobile-close-btn { font-size: 28px; color: #333; cursor: pointer; line-height: 1; }

    /* Mobile Search */
    .mobile-search-container {
display: block; padding: 20px; border-bottom: 1px solid #eee; background: #f8f8f8;
    }
    .mobile-search-container .search-wrapper { width: 100%; }
    .mobile-search-container input { background: #fff; }

    /* Nav List Vertical */
    .nav-list { flex-direction: column; width: 100%; height: auto; }
    .nav-list > li { width: 100%; height: auto; border-bottom: 1px solid #f0f0f0; }
    .nav-list > li > a { padding: 15px 20px; font-size: 16px; height: auto; }
    
    /* Accordion Reset */
    .dropdown, .sub-menu {
position: static; visibility: visible; opacity: 1; transform: none;
box-shadow: none; border: none; display: none; width: 100%; padding-left: 0;
    }
    .dropdown { background: #fcfcfc; }
    .sub-menu { background: #f0f0f0; }
    
    .dropdown.show, .sub-menu.show { display: block; animation: slideIn 0.3s ease; }
    @keyframes slideIn { from {opacity: 0; transform: translateY(-10px);} to {opacity: 1; transform: translateY(0);} }

    .has-child > a::after, .dropdown .has-sub > a::after { content: '+'; font-size: 18px; font-weight: normal; }
    .has-child.open > a::after, .has-sub.open > a::after { content: '-'; }
}

/* Overlay - Nằm dưới Menu (2000) nhưng trên Header (1000) */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1500; 
    display: none; opacity: 0; transition: opacity 0.3s;
    backdrop-filter: blur(3px); /* Làm mờ nền */
}
.menu-overlay.active { display: block; opacity: 1; }

/* --- CONTENT STYLES (Fix Mobile Overflow) --- */
.page-single {
    display: block;   
    margin-top: 0em;
    align-items: start;
    width: 100%;
}
.page-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    margin-top: 0em;
    align-items: start;
    width: 100%;
}
@media (max-width: 992px) {
    .page-grid {
grid-template-columns: 1fr;
display: block;
    }
    .sidebar { display: none; }
}

.sidebar { height: 100%; }
.sidebar-sticky { position: sticky; top: 120px; transition: top 0.3s; }
.main-content { width: 100%; }

/* --- Main Content --- */
main { padding: 40px 0; }
.section-title {
    font-size: 28px; font-weight: 700; margin-bottom: 30px;
    border-left: 5px solid var(--accent-color); padding-left: 15px;
    background: #fff; display: inline-block; padding-right: 15px; line-height: 1.5;
}
.posts-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 25px; }
@media (min-width: 576px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .posts-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .page-grid .posts-grid { grid-template-columns: repeat(3, 1fr); } }

.related-section { margin-top: 40px; }
.related-title { font-size: 24px; font-weight: 800; margin-bottom: 25px; border-left: 5px solid var(--accent-color); padding-left: 15px; color: #111; }
.related-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card.hidden-match { display: none !important; }
.load-more-container { text-align: center; margin-top: 20px; }

.breadcrumb { font-size: 13px; color: #666; margin-bottom: 20px; display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: #555; font-weight: 500; border-bottom: 1px solid transparent; transition: all 0.2s; }
.breadcrumb a:hover { color: var(--accent-color); border-bottom-color: var(--accent-color); }
.breadcrumb .active { color: var(--accent-color); font-weight: 700; pointer-events: none; }

.match-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); padding: 25px; margin-bottom: 30px; margin-top: 10px; border: 1px solid #f0f0f0; width: 100%; }
.card-title { font-size: 22px; font-weight: 700; margin-bottom: 25px; color: #111; padding-bottom: 15px; border-bottom: 2px solid #f5f5f5; }

.match-header-box {
    background: linear-gradient(145deg, #1a1a1a, #2c3e50);
    color: #fff; border-radius: 12px; padding: 30px 10px;
    text-align: center; margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    width: 100%; 
}
.league-info { font-size: 12px; color: #bbb; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; word-wrap: break-word; }
.league-info-logo img { width: 60px; height: auto; border-radius: 5px; margin-bottom: 5px; }
.match-score-board { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: nowrap; }
.team-item { text-align: center; flex: 1; min-width: 0; }
.team-logo { width: 4.5rem; height: auto; border-radius: 10%; margin-bottom: 10px; object-fit: cover; padding: 1px; }
.team-name { display: block; font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-center { text-align: center; min-width: 100px; display: flex; flex-direction: column; align-items: center; }
.match-time-display { font-size: 36px; font-weight: 800; display: block; margin-bottom: 5px; line-height: 1; }
.ht-score { font-size: 13px; color: #ccc; margin-bottom: 8px; display: none; font-weight: 500; }
.ht-score.show { display: block; }
.btn-show-score {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: #fff; font-size: 12px; font-weight: 700;
    padding: 6px 14px; border-radius: 20px; cursor: pointer;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.btn-show-score.hide-state { background: transparent; border: 1px solid #666; color: #aaa; box-shadow: none; }
.match-footer-info { margin-top: 25px; font-size: inherit; color: #fff; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.video-container { width: 100%; padding-top: 56.25%; background: #000; position: relative; border-radius: 5px; margin-bottom: 30px; overflow: hidden; }
.video-container img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.play-btn-large { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: rgba(231, 76, 60, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.play-btn-large::after { content: '▶'; color: #fff; font-size: 24px; margin-left: 4px; }

.performance-grid { display: flex; gap: 20px; justify-content: space-between; margin-top: 15px; }
.perf-col { flex: 1; }
.perf-bar { display: flex; align-items: center; margin-bottom: 10px; font-size: 12px; color: #545454; border-radius: 4px; overflow: hidden; }
.perf-bar:hover { filter: brightness(1.1); cursor: pointer; }
.perf-label { padding: 6px 10px; flex: 1; font-weight: 600; text-align: left; }
.perf-val { padding: 6px 10px; background: rgba(0,0,0,0.1); font-weight: bold; min-width: 40px; text-align: center; }
.vote-summary { text-align: center; margin-bottom: 20px; font-size: 14px; color: #666; }
.vote-teams { display: flex; justify-content: space-around; align-items: center; margin-bottom: 20px; }
.perf-team { display: flex; align-items: center; gap: 10px; }
.perf-team img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.bg-green-light { background: linear-gradient(5deg, #58d68d, transparent); }
.bg-yellow { background: linear-gradient(5deg, #f1c40f, transparent); }
.bg-red { background: linear-gradient(5deg, #e74c3c, transparent); }

.stats-header { display: flex; justify-content: space-between; margin-bottom: 20px; padding: 0 10px; }
.stats-header-team { display:flex; align-items:center; gap:5px; }
.stats-header img { width: 40px; height: auto; border-radius: 10%; object-fit: cover; }
.possession-container { margin-bottom: 30px; padding: 0 10px; }
.possession-title { text-align: center; font-size: 12px; color: #666; margin-bottom: 5px; text-transform: uppercase; }
.stats-section-title { text-align: center; font-size: 12px; color: #333; margin-bottom: 5px; margin-top: 35px; text-transform: uppercase; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.possession-bar { display: flex; height: 20px; border-radius: 10px; overflow: hidden; background: #eee; }
.p-home { background: var(--stat-home); height: 100%; } .p-away { background: var(--stat-away); height: 100%; }
.stat-row { display: flex; align-items: center; margin-bottom: 12px; font-size: 14px; padding: 0 5px; }
.stat-val { width: 35px; font-weight: 700; text-align: center; font-size: 14px; }
.stat-label { flex: 1; text-align: center; color: #666; font-size: 12px; font-weight: 500; }

.lineup-container { display: flex; gap: 40px; }
@media (max-width: 768px) { .lineup-container { flex-direction: column; gap: 20px; } }
.lineup-col { flex: 1; }
.lineup-header { display: flex; justify-content: space-between; margin-bottom: 15px; border-bottom: 2px solid #eee; padding-bottom: 10px; gap: 5px; align-items: center; }
.lineup-header img { width: 40px; height: auto; border-radius: 10%; object-fit: cover; }
.lineup-header span { background: #f8f9fa; border-radius: 20px; margin-left: auto; padding: .2rem 1rem; font-weight: 500; }
.player-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #f0f0f0; }
.player-info { display: flex; align-items: center; gap: 12px; }
.p-num { width: 24px; height: 24px; background: #f4f5f7; color: #444; border: 1px solid #ddd; border-radius: 50%; text-align: center; line-height: 22px; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.p-position { font-weight: 600; }
.p-rating { padding: 2px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff; background: #95a5a6; box-shadow: 0 2px 4px rgba(0,0,0,.1); }
.bg-green { background: #2ecc71; } .bg-orange { background: #f39c12; }
.subs-title { margin-top: 20px; margin-bottom: 10px; font-size: 12px; color: #666; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.lineup-coach { background: #f4f5f7; border-radius: 5px; padding: 5px; margin: 20px 0 0 10px; display: flex; gap: 20px; }

.h2h-grid { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.h2h-team-stat { text-align: center; flex: 1; }
.h2h-team-stat img { width: 40px; height: auto; border-radius: 10%; object-fit: cover; }
.h2h-val { font-size: 28px; font-weight: 800; line-height: 1; display: block; margin-bottom: 5px; }
.h2h-label { font-size: 12px; color: #666; text-transform: uppercase; font-weight: 600; }
.h2h-visual-container { margin: 20px 0 30px 0; }
.h2h-bar { display: flex; height: 20px; border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.h-w { background: var(--stat-home); display: block; } .h-d { background: #bdc3c7; display: block; } .h-l { background: var(--stat-away); display: block; }
.h2h-legend { display: flex; justify-content: space-between; font-size: 11px; color: #666; }
.past-match-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: #fff; border: 1px solid #eee; border-radius: 8px; margin-bottom: 10px; font-size: 13px; }
.pm-score { font-weight: 700; color: #222; background: #f0f0f0; padding: 4px 10px; border-radius: 20px; }

.standings-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.standings-card { padding: 16px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; margin-bottom: 30px; }
.standings-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 13px; min-width: 600px; }
.standings-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
@media(max-width: 768px) { .standings-header { display: block; } }
.standings-title { font-size: 18px; font-weight: 800; color: #111; display: flex; align-items: center; gap: 10px; }
.standings-header-controls { display: flex; gap: 10px; align-items: center; }
.stand-tabs { display: flex; gap: 8px; align-items: center; }
.stand-tab { padding: 8px 14px; border-radius: 20px; background: var(--stand-pill-bg); color: #222; font-weight: 700; font-size: 13px; cursor: pointer; border: 1px solid transparent; transition: all .18s ease; }
.stand-tab.active { background: var(--stand-pill-active); color: var(--stand-pill-active-text); box-shadow: 0 6px 14px rgba(15,53,80,0.12); border-color: rgba(0,0,0,0.03); }
.standings-table th { color: #666; font-weight: 600; padding: 10px; font-size: 11px; text-transform: uppercase; text-align: center; }
.standings-table th.th-left { text-align: left; padding-left: 15px; }
.standings-table tbody tr { transition: background-color 0.2s; }
.standings-table tbody tr:hover td { background-color: #f5f5f5; }
.standings-table td { padding: 12px 10px; background: #fcfcfc; border-top: 1px solid #eee; border-bottom: 1px solid #eee; text-align: center; color: #555; }
.standings-table tr td:first-child { border-left: 1px solid #eee; border-top-left-radius: 6px; border-bottom-left-radius: 6px; font-weight: bold; }
.standings-table tr td:last-child { border-right: 1px solid #eee; border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
.team-cell { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #222; text-align: left; }
.form-badges { display: flex; gap: 3px; justify-content: center; }
.badge { width: 18px; height: 18px; line-height: 18px; border-radius: 3px; color: #fff; font-size: 9px; font-weight: bold; }
.b-w { background: var(--win-color); } .b-d { background: var(--draw-color); } .b-l { background: var(--loss-color); }
.team-logo-sm { width: 26px; height: 26px; object-fit: cover; border-radius: 4px; }
.pos-cell { width: 42px; font-weight: 800; color: #222; }
.standings-table tbody tr:nth-child(odd) td { background: var(--stand-row-alt); }
.standings-table tbody tr.highlight td { background: var(--stand-highlight); color: var(--stand-highlight-text); }
.standings-wrapper table.standings-table { min-width: 720px; }
.standings-wrapper table.standings-table thead th { text-align: center; font-size: 12px; color: #666; font-weight: 700; padding: 10px 12px; text-transform: uppercase; }
.standings-wrapper table.standings-table thead th.th-left { text-align: left; padding-left: 18px; }
.standings-wrapper table.standings-table tbody tr td.team-col { text-align: left; padding-left: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.standings-meta { display: block; }
@media (max-width: 880px) { .standings-meta { display: none; } .standings-wrapper table.standings-table { min-width: 640px; } }
@media (max-width: 576px) {
    .main-content { width: 100%; }
    .breadcrumb { padding: 0 15px; }
    .main-content h1 { font-size: 20px !important; word-wrap: break-word; padding: 0 15px; }
    .match-score-board { gap: 5px; }
    .team-logo { width: 2.5rem; height: auto; margin-bottom: 5px; }
    .team-name { font-size: 13px; }
    .match-time-display { font-size: 24px; }
    .score-center { min-width: 80px; }
    .btn-show-score { font-size: 11px; padding: 5px 10px; }
    .match-footer-info { flex-direction: column; gap: 5px; }
    .match-card { padding: 10px; }
}

.post-card {
    background: var(--white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.post-thumb { position: relative; width: 100%; padding-top: 56.25%; background-color: #333; overflow: hidden; display: block; }
.post-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; background: rgba(0,0,0,0.6); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; border: 2px solid #fff; opacity: 0.8;
}
.post-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 12px; color: var(--meta-color); margin-bottom: 8px; text-transform: none; font-weight: 600; display: flex; justify-content: space-between; }
.category-tag { color: var(--accent-color); }
.post-title { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: #222; }
.post-title:hover { color: var(--accent-color); }

.pagination { margin-top: 50px; text-align: center; }
.btn-load-more {
    background-color: var(--white); border: 1px solid #ddd; padding: 12px 35px;
    font-size: 15px; font-weight: 700; color: #555; cursor: pointer;
    border-radius: 30px; transition: all 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.btn-load-more:hover { background-color: var(--accent-color); color: #fff; border-color: var(--accent-color); transform: translateY(-2px); }

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-pagination {
    background-color: var(--white);
    border: 2px solid #ddd;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    min-width: 120px;
}
.btn-pagination:hover:not(:disabled) {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn-pagination:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    color: #999;
}
.page-info,
.page-status {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    padding: 0 15px;
}
.page-status { display: none; align-items: center; gap: 5px; }

@media (max-width: 576px) {
    .pagination-controls {
gap: 10px;
    }
    .btn-pagination {
padding: 10px 16px;
font-size: 13px;
min-width: 100px;
    }
    .page-info,
    .page-status {
font-size: 14px;
padding: 0 10px;
    }
}

/* --- NEW FAQ DESIGN (Clean & Beautiful) --- */
.faq-section { margin-top: 70px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-header { text-align: center; margin-bottom: 40px; font-size: 28px; font-weight: 800; color: #222; letter-spacing: -0.5px; }

.faq-item {
    background: #fff; border-radius: 12px; margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0; overflow: hidden; transition: all 0.3s ease;
}

.faq-item.active { border-color: var(--accent-color); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }

.faq-question {
    width: 100%; text-align: left; padding: 20px 24px;
    font-size: 16px; font-weight: 700; color: #2d3748; background: #fff;
    border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question:hover { color: var(--accent-color); background-color: #fcfcfc; }

.faq-icon {
    width: 24px; height: 24px; border-radius: 50%; background: #edf2f7; color: #4a5568;
    display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--accent-color); color: #fff; }

.faq-answer {
    max-height: 0; overflow: hidden; padding: 0 24px; color: #4a5568;
    font-size: 15px; line-height: 1.7; transition: all 0.3s ease-in-out; background-color: #fff;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 24px; opacity: 1; }

/* Footer */
footer { background-color: #1a1a1a; color: #aaa; padding: 60px 0 20px; margin-top: 60px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr; } }
.footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: 700; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: #fff; }
.copyright { border-top: 1px solid #333; padding-top: 20px; text-align: center; }

.bg-primary { background-color: #0d6efd !important; }
.bg-secondary { background-color: #6c757d !important; }
.bg-success { background-color: #198754 !important; }
.bg-danger { background-color: #dc3545 !important; }
.bg-warning { background-color: #ffc107 !important; }
.bg-info { background-color: #0dcaf0 !important; }
.bg-dark { background-color: #212529 !important; }
.bg-light { background-color: #f8f9fa !important; }

